Update Subsocial types (#6564)
* Update @subsocial/types * Add suport for subId externl link on accounts page * Revert "Change order" This reverts commit 2af96cc1153c07085ddc4b7d0cac94b2bf813b5a. * Update @subsocial/types * yarn.lock * Small fix * Update subsocial types
This commit is contained in:
parent
cf2eb47736
commit
3fb20ec3c3
@ -32,7 +32,7 @@
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
"@snowfork/snowbridge-types": "0.2.6",
|
||||
"@sora-substrate/type-definitions": "1.6.19",
|
||||
"@subsocial/types": "0.6.4-dev.2",
|
||||
"@subsocial/types": "0.6.5-dev.6",
|
||||
"@zeitgeistpm/type-defs": "0.3.5",
|
||||
"@zeroio/type-definitions": "0.0.11",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@ -1,23 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
import { types } from '@subsocial/types/substrate/preparedTypes';
|
||||
|
||||
import * as subsocialDefinitions from '@subsocial/types/substrate/interfaces/definitions';
|
||||
|
||||
import { typesFromDefs } from '../util';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: typesFromDefs(subsocialDefinitions)
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
export default { types };
|
||||
|
||||
26
yarn.lock
26
yarn.lock
@ -2832,7 +2832,7 @@ __metadata:
|
||||
"@polymathnetwork/polymesh-types": 0.0.2
|
||||
"@snowfork/snowbridge-types": 0.2.6
|
||||
"@sora-substrate/type-definitions": 1.6.19
|
||||
"@subsocial/types": 0.6.4-dev.2
|
||||
"@subsocial/types": 0.6.5-dev.6
|
||||
"@zeitgeistpm/type-defs": 0.3.5
|
||||
"@zeroio/type-definitions": 0.0.11
|
||||
i18next: ^21.4.0
|
||||
@ -3747,22 +3747,24 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@subsocial/types@npm:0.6.4-dev.2":
|
||||
version: 0.6.4-dev.2
|
||||
resolution: "@subsocial/types@npm:0.6.4-dev.2"
|
||||
"@subsocial/types@npm:0.6.5-dev.6":
|
||||
version: 0.6.5-dev.6
|
||||
resolution: "@subsocial/types@npm:0.6.5-dev.6"
|
||||
dependencies:
|
||||
"@polkadot/types": ^6.0.5
|
||||
"@polkadot/types-known": ^6.0.5
|
||||
"@subsocial/utils": ^0.6.4-dev.2
|
||||
"@polkadot/types": 6.6.1
|
||||
"@polkadot/types-known": 6.6.1
|
||||
"@polkadot/types-support": 6.6.1
|
||||
"@subsocial/utils": ^0.6.5-dev.6
|
||||
cids: ^0.7.1
|
||||
checksum: 8c0204ef5c5553b0819bdef173679109ef9e3afa920bc75e1555be8217e86d6301b3543e597e0c45cf5cc7163a4f6f3dd5316311c8f0a74e14fc5b47765424c6
|
||||
checksum: 008f1a15c95ad87c71da1aa7cdedee99eb99566201a5cfc2a33bd1eec51e1acffea7840d049c1a5868efed7d37548d61fe5ca9bd50dcfa73d894938f93cb4ed5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@subsocial/utils@npm:^0.6.4-dev.2":
|
||||
version: 0.6.4-rn.2
|
||||
resolution: "@subsocial/utils@npm:0.6.4-rn.2"
|
||||
"@subsocial/utils@npm:^0.6.5-dev.6":
|
||||
version: 0.6.5-dev.6
|
||||
resolution: "@subsocial/utils@npm:0.6.5-dev.6"
|
||||
dependencies:
|
||||
"@polkadot/util-crypto": 6.6.1
|
||||
"@sindresorhus/slugify": ^1.1.0
|
||||
bn.js: ^5.1.1
|
||||
chalk: ^3.0.0
|
||||
@ -3775,7 +3777,7 @@ __metadata:
|
||||
remark-gfm: ^1.0.0
|
||||
remark-html: ^13.0.1
|
||||
strip-markdown: ^4.0.0
|
||||
checksum: f050f6a1712f863e347b86102b6473a2442a46dfa897a47cec47121647181125c4e380f0ecaf8370f57f4d8b760d86082fe0096951610f92fe24472a83028986
|
||||
checksum: 814102ef59c055023f4bd86e77a942aba9e9573b52a3d332a9af911ed05b97bc9e0fcc459322581cbace6916e89d26d19a9c97c666fb2d4191f4c379d04eb9c9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user