// Copyright 2017-2020 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import typesChain from './chain'; import typesSpec from './spec'; export function getChainTypes (specName: string, chainName: string): Record> { return { ...(typesSpec[specName as 'edgeware'] || {}), ...(typesChain[chainName as 'Beresheet'] || {}) }; } export { typesChain, typesSpec };