ghost-portal/packages/apps-config/src/api/chain/index.ts
Antonio 6c3ea6b619
chore: replace spec-based with name-based declarations for KILT (#8696)
* Update type-definitions dependency and remove outdated type definitions

* Move KILT declarations from spec-based to name-based
2023-01-05 17:08:20 +02:00

18 lines
602 B
TypeScript

// Copyright 2017-2023 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
import kilt from './kilt';
// NOTE: The mapping is done from chain name in system.chain
const chain: Record<string, OverrideBundleDefinition> = {
'KILT Mashnet': kilt['KILT Mashnet'],
'KILT Peregrine': kilt['KILT Peregrine'],
'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'],
'KILT Spiritnet': kilt['KILT Spiritnet'],
'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop']
};
export default chain;