mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 08:58:00 +00:00
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
// 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 definitions: OverrideBundleDefinition = {
|
|
types: [
|
|
{
|
|
// on all versions
|
|
minmax: [0, undefined],
|
|
types: {
|
|
Attestation: {
|
|
attester: 'AccountId',
|
|
ctypeHash: 'Hash',
|
|
delegationId: 'Option<DelegationNodeId>',
|
|
revoked: 'bool'
|
|
},
|
|
Balance: 'u128',
|
|
DelegationNode: {
|
|
owner: 'AccountId',
|
|
parent: 'Option<DelegationNodeId>',
|
|
permissions: 'Permissions',
|
|
revoked: 'bool',
|
|
rootId: 'DelegationNodeId'
|
|
},
|
|
DelegationNodeId: 'Hash',
|
|
DelegationRoot: {
|
|
ctypeHash: 'Hash',
|
|
owner: 'AccountId',
|
|
revoked: 'bool'
|
|
},
|
|
DidRecord: {
|
|
boxKey: 'Hash',
|
|
docRef: 'Option<Vec<u8>>',
|
|
signKey: 'Hash'
|
|
},
|
|
Index: 'u64',
|
|
Permissions: 'u32',
|
|
PublicBoxKey: 'Hash',
|
|
PublicSigningKey: 'Hash',
|
|
Signature: 'MultiSignature'
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|