// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleType } from '@polkadot/types/types'; import typesChain from './chain'; import spec from './spec'; export * from './constants'; export * from './params'; export function getChainTypes (_specName: string, chainName: string): Record> { return { ...(typesChain[chainName as keyof typeof typesChain] || {}) }; } export const typesBundle: OverrideBundleType = { spec }; export { typesChain };