// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@pezkuwi/types/types'; // structs need to be in order /* eslint-disable sort-keys */ const logionDefault = { Address: 'MultiAddress', LookupSource: 'MultiAddress', PeerId: '(Vec)', AccountInfo: 'AccountInfoWithDualRefCount', TAssetBalance: 'u128', AssetId: 'u64', AssetDetails: { owner: 'AccountId', issuer: 'AccountId', admin: 'AccountId', freezer: 'AccountId', supply: 'Balance', deposit: 'DepositBalance', max_zombies: 'u32', min_balance: 'Balance', zombies: 'u32', accounts: 'u32', is_frozen: 'bool' }, AssetMetadata: { deposit: 'DepositBalance', name: 'Vec', symbol: 'Vec', decimals: 'u8' }, LocId: 'u128', LegalOfficerCaseOf: { owner: 'AccountId', requester: 'Requester', metadata: 'Vec', files: 'Vec', closed: 'bool', loc_type: 'LocType', links: 'Vec', void_info: 'Option>', replacer_of: 'Option', collection_last_block_submission: 'Option', collection_max_size: 'Option' }, MetadataItem: { name: 'Vec', value: 'Vec', submitter: 'AccountId' }, LocType: { _enum: [ 'Transaction', 'Identity', 'Collection' ] }, LocLink: { id: 'LocId', nature: 'Vec' }, File: { hash: 'Hash', nature: 'Vec', submitter: 'AccountId' }, LocVoidInfo: { replacer: 'Option' }, StorageVersion: { _enum: [ 'V1', 'V2MakeLocVoid', 'V3RequesterEnum', 'V4ItemSubmitter', 'V5Collection' ] }, Requester: { _enum: { None: null, Account: 'AccountId', Loc: 'LocId' } }, CollectionSize: 'u32', CollectionItemId: 'Hash', CollectionItem: { description: 'Vec' } }; const definitions: OverrideBundleDefinition = { types: [ { // on all versions minmax: [0, undefined], types: { ...logionDefault } } ] }; export default definitions;