mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 05:27:56 +00:00
32 lines
823 B
TypeScript
32 lines
823 B
TypeScript
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
|
|
|
import * as typeDefs from '@zeitgeistpm/type-defs';
|
|
|
|
import { typesFromDefs } from '../util.js';
|
|
|
|
const bundle = {
|
|
alias: {
|
|
tokens: {
|
|
AccountData: 'TokensAccountData'
|
|
}
|
|
},
|
|
types: [{
|
|
minmax: [0, undefined],
|
|
types: {
|
|
// the cast here is needed to make the build happy,
|
|
// however the output is actually correct as well...
|
|
...typesFromDefs(typeDefs as unknown as Record<string, { types: Record<string, any> }>),
|
|
TokensAccountData: {
|
|
free: 'Balance',
|
|
frozen: 'Balance',
|
|
reserved: 'Balance'
|
|
}
|
|
}
|
|
}]
|
|
};
|
|
|
|
export default bundle as never as OverrideBundleDefinition;
|