diff --git a/packages/apps-config/src/api/spec/zero.ts b/packages/apps-config/src/api/spec/zero.ts index 3577e29db5..f0b3fe6d67 100644 --- a/packages/apps-config/src/api/spec/zero.ts +++ b/packages/apps-config/src/api/spec/zero.ts @@ -14,6 +14,13 @@ const definitions: OverrideBundleDefinition = { types: { Address: 'MultiAddress', LookupSource: 'MultiAddress', + AccountInfo: 'AccountInfoWithDualRefCount', + AccountInfoWithDualRefCount: { + nonce: 'Index', + consumers: 'RefCount', + providers: 'RefCount', + data: 'AccountData' + }, Campaign: { id: 'Hash', owner: 'AccountId', @@ -27,7 +34,7 @@ const definitions: OverrideBundleDefinition = { cid: 'Vec', created: 'Timestamp' }, - Governance: { + Proposal: { proposal_id: 'Hash', campaign_id: 'Hash', purpose: 'Vec', @@ -37,7 +44,32 @@ const definitions: OverrideBundleDefinition = { status: 'u8' }, EventMessage: 'Vec', - Nonce: 'u64' + Nonce: 'u64', + Entity: { + account: 'AccountId', + index: 'u128', + cid: 'Vec', + created: 'BlockNumber', + mutated: 'BlockNumber' + }, + EntityProperty: { + value: 'u64', + mutated: 'BlockNumber' + }, + Item: { + ItemId: 'ItemId', + ItemInfo: 'ItemInfo' + }, + ItemId: 'Hash', + ItemInfo: { + dob: 'u64', + dna: 'Hash' + }, + CID: 'Vec', + HypaspaceInfo: 'Hash', + HypaspaceMetadata: { + name: 'Vec' + } } } ]