bitbadgesjs-sdk 0.0.7 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/amino/objectConverter.d.ts +1 -1
- package/dist/amino/objectConverter.d.ts.map +1 -1
- package/dist/amino/registry.js +3 -3
- package/dist/amino/registry.js.map +1 -1
- package/dist/eip712/payload/createTypedData.d.ts +1 -1
- package/dist/eip712/payload/createTypedData.d.ts.map +1 -1
- package/dist/eip712/payload/createTypes/parseMessage.d.ts +1 -1
- package/dist/eip712/payload/createTypes/parseMessage.d.ts.map +1 -1
- package/dist/eip712/payload/createTypes/parseMessage.js.map +1 -1
- package/dist/eip712/payload/createTypes/parsePayload.d.ts +1 -1
- package/dist/eip712/payload/createTypes/parsePayload.d.ts.map +1 -1
- package/dist/eip712/payload/createTypes/parsePayload.js.map +1 -1
- package/dist/eip712/payload/flattenPayload.d.ts +1 -1
- package/dist/eip712/payload/flattenPayload.d.ts.map +1 -1
- package/dist/eip712/payload/samples/getSampleMsg.js +8 -8
- package/dist/eip712/payload/samples/getSampleMsg.js.map +1 -1
- package/dist/index.d.ts +14 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -12
- package/dist/index.js.map +1 -1
- package/dist/transactions/messages/base.d.ts +7 -3
- package/dist/transactions/messages/base.d.ts.map +1 -1
- package/dist/transactions/messages/base.js +20 -13
- package/dist/transactions/messages/base.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.d.ts +13 -5
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js +27 -14
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.d.ts +29 -6
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js +81 -44
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.d.ts +14 -6
- package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js +33 -21
- package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.d.ts +16 -6
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js +38 -24
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.d.ts +27 -6
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js +121 -55
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.d.ts +16 -6
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js +112 -52
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.d.ts +26 -6
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js +75 -32
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgCreateProtocol.d.ts +15 -3
- package/dist/transactions/messages/bitbadges/protocols/msgCreateProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgCreateProtocol.js +35 -6
- package/dist/transactions/messages/bitbadges/protocols/msgCreateProtocol.js.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgDeleteProtocol.d.ts +12 -5
- package/dist/transactions/messages/bitbadges/protocols/msgDeleteProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgDeleteProtocol.js +26 -6
- package/dist/transactions/messages/bitbadges/protocols/msgDeleteProtocol.js.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.d.ts +15 -4
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.js +37 -6
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.js.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgUnsetCollectionForProtocol.d.ts +12 -3
- package/dist/transactions/messages/bitbadges/protocols/msgUnsetCollectionForProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgUnsetCollectionForProtocol.js +26 -6
- package/dist/transactions/messages/bitbadges/protocols/msgUnsetCollectionForProtocol.js.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgUpdateProtocol.d.ts +15 -3
- package/dist/transactions/messages/bitbadges/protocols/msgUpdateProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgUpdateProtocol.js +35 -6
- package/dist/transactions/messages/bitbadges/protocols/msgUpdateProtocol.js.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.d.ts +14 -3
- package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js +32 -6
- package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.d.ts +14 -3
- package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js +32 -11
- package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgStoreCodeCompat.d.ts +15 -2
- package/dist/transactions/messages/bitbadges/wasmx/msgStoreCodeCompat.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/wasmx/msgStoreCodeCompat.js +26 -9
- package/dist/transactions/messages/bitbadges/wasmx/msgStoreCodeCompat.js.map +1 -1
- package/dist/transactions/messages/common.d.ts +1 -1
- package/dist/transactions/messages/common.d.ts.map +1 -1
- package/dist/transactions/messages/msgSend.d.ts +2 -2
- package/dist/transactions/messages/msgSend.d.ts.map +1 -1
- package/dist/transactions/messages/transaction.d.ts +2 -2
- package/dist/transactions/messages/transaction.d.ts.map +1 -1
- package/dist/transactions/messages/transaction.js +1 -1
- package/dist/transactions/messages/transaction.js.map +1 -1
- package/dist/transactions/messages/txRaw.d.ts +2 -2
- package/dist/transactions/messages/txRaw.d.ts.map +1 -1
- package/dist/transactions/messages/txRaw.js.map +1 -1
- package/dist/transactions/messages/web3Extension.d.ts +2 -2
- package/dist/transactions/messages/web3Extension.d.ts.map +1 -1
- package/dist/transactions/messages/web3Extension.js +4 -4
- package/dist/transactions/messages/web3Extension.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/badges/addressLists.d.ts +42 -0
- package/dist/types/badges/addressLists.d.ts.map +1 -0
- package/dist/types/badges/addressLists.js +308 -0
- package/dist/types/badges/addressLists.js.map +1 -0
- package/dist/types/badges/aminoRegistry.d.ts +3 -0
- package/dist/types/badges/aminoRegistry.d.ts.map +1 -0
- package/dist/types/badges/aminoRegistry.js.map +1 -0
- package/dist/types/badges/approvals.d.ts +307 -0
- package/dist/types/badges/approvals.d.ts.map +1 -0
- package/dist/types/badges/approvals.js +725 -0
- package/dist/types/badges/approvals.js.map +1 -0
- package/dist/types/badges/permissions.d.ts +367 -0
- package/dist/types/badges/permissions.d.ts.map +1 -0
- package/dist/types/badges/permissions.js +2040 -0
- package/dist/types/badges/permissions.js.map +1 -0
- package/dist/types/badges/typeUtils.d.ts +425 -0
- package/dist/types/badges/typeUtils.d.ts.map +1 -0
- package/dist/types/badges/typeUtils.js +1376 -0
- package/dist/types/badges/typeUtils.js.map +1 -0
- package/dist/types/badges/userBalances.d.ts +79 -0
- package/dist/types/badges/userBalances.d.ts.map +1 -0
- package/dist/types/badges/userBalances.js +154 -0
- package/dist/types/badges/userBalances.js.map +1 -0
- package/dist/types/base.d.ts +61 -0
- package/dist/types/base.d.ts.map +1 -0
- package/dist/types/base.js +206 -0
- package/dist/types/base.js.map +1 -0
- package/dist/types/math.d.ts +12 -0
- package/dist/types/math.d.ts.map +1 -0
- package/dist/types/math.js +84 -0
- package/dist/types/math.js.map +1 -0
- package/dist/types/protocols/aminoRegistry.d.ts +3 -0
- package/dist/types/protocols/aminoRegistry.d.ts.map +1 -0
- package/dist/types/protocols/aminoRegistry.js.map +1 -0
- package/dist/types/protocols/types.d.ts +50 -0
- package/dist/types/protocols/types.d.ts.map +1 -0
- package/dist/types/protocols/types.js +94 -0
- package/dist/types/protocols/types.js.map +1 -0
- package/dist/{proto-types/badges → types}/string-numbers.d.ts +2 -2
- package/dist/types/string-numbers.d.ts.map +1 -0
- package/dist/types/string-numbers.js.map +1 -0
- package/dist/types/txRaw.d.ts.map +1 -0
- package/dist/types/txRaw.js.map +1 -0
- package/dist/types/types.d.ts +27 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/{utils/types → types}/types.js +1 -22
- package/dist/types/types.js.map +1 -0
- package/dist/{proto-types → types}/utils.d.ts +2 -1
- package/dist/types/utils.d.ts.map +1 -0
- package/dist/types/utils.js.map +1 -0
- package/dist/types/wasmx/aminoRegistry.d.ts +3 -0
- package/dist/types/wasmx/aminoRegistry.d.ts.map +1 -0
- package/dist/types/wasmx/aminoRegistry.js.map +1 -0
- package/dist/{proto-types → types}/web3Extension.d.ts +1 -1
- package/dist/types/web3Extension.d.ts.map +1 -0
- package/dist/{proto-types → types}/web3Extension.js +3 -3
- package/dist/types/web3Extension.js.map +1 -0
- package/dist/utils/aliases.d.ts +1 -1
- package/dist/utils/aliases.d.ts.map +1 -1
- package/dist/utils/api/BitBadgesAddressList.d.ts +96 -0
- package/dist/utils/api/BitBadgesAddressList.d.ts.map +1 -0
- package/dist/utils/api/BitBadgesAddressList.js +139 -0
- package/dist/utils/api/BitBadgesAddressList.js.map +1 -0
- package/dist/utils/api/BitBadgesApi.d.ts +52 -0
- package/dist/utils/api/BitBadgesApi.d.ts.map +1 -0
- package/dist/utils/api/BitBadgesApi.js +345 -0
- package/dist/utils/api/BitBadgesApi.js.map +1 -0
- package/dist/utils/api/BitBadgesCollection.d.ts +314 -0
- package/dist/utils/api/BitBadgesCollection.d.ts.map +1 -0
- package/dist/utils/api/BitBadgesCollection.js +765 -0
- package/dist/utils/api/BitBadgesCollection.js.map +1 -0
- package/dist/utils/api/BitBadgesUserInfo.d.ts +210 -0
- package/dist/utils/api/BitBadgesUserInfo.d.ts.map +1 -0
- package/dist/utils/api/BitBadgesUserInfo.js +383 -0
- package/dist/utils/api/BitBadgesUserInfo.js.map +1 -0
- package/dist/utils/approved_transfers_casts.d.ts +1 -1
- package/dist/utils/approved_transfers_casts.d.ts.map +1 -1
- package/dist/utils/approved_transfers_casts.js +30 -27
- package/dist/utils/approved_transfers_casts.js.map +1 -1
- package/dist/utils/badgeMetadata.d.ts +6 -8
- package/dist/utils/badgeMetadata.d.ts.map +1 -1
- package/dist/utils/badgeMetadata.js +28 -33
- package/dist/utils/badgeMetadata.js.map +1 -1
- package/dist/utils/balances.d.ts +15 -19
- package/dist/utils/balances.d.ts.map +1 -1
- package/dist/utils/balances.js +120 -151
- package/dist/utils/balances.js.map +1 -1
- package/dist/utils/batch-utils.d.ts +13 -4
- package/dist/utils/batch-utils.d.ts.map +1 -1
- package/dist/utils/batch-utils.js +45 -22
- package/dist/utils/batch-utils.js.map +1 -1
- package/dist/utils/chains.d.ts +1 -13
- package/dist/utils/chains.d.ts.map +1 -1
- package/dist/utils/chains.js +9 -151
- package/dist/utils/chains.js.map +1 -1
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/constants.js +5 -4
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/converter.d.ts +10 -0
- package/dist/utils/converter.d.ts.map +1 -1
- package/dist/utils/converter.js +140 -1
- package/dist/utils/converter.js.map +1 -1
- package/dist/utils/display.d.ts +2 -2
- package/dist/utils/display.d.ts.map +1 -1
- package/dist/utils/display.js +10 -7
- package/dist/utils/display.js.map +1 -1
- package/dist/utils/distribution.d.ts +5 -4
- package/dist/utils/distribution.d.ts.map +1 -1
- package/dist/utils/distribution.js +38 -34
- package/dist/utils/distribution.js.map +1 -1
- package/dist/utils/firstMatches.d.ts +2 -2
- package/dist/utils/firstMatches.d.ts.map +1 -1
- package/dist/utils/firstMatches.js +33 -32
- package/dist/utils/firstMatches.js.map +1 -1
- package/dist/utils/index.d.ts +10 -15
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +10 -15
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/metadataIds.d.ts +1 -7
- package/dist/utils/metadataIds.d.ts.map +1 -1
- package/dist/utils/metadataIds.js +7 -89
- package/dist/utils/metadataIds.js.map +1 -1
- package/dist/utils/node-rest-api/balances.d.ts +1 -1
- package/dist/utils/node-rest-api/balances.d.ts.map +1 -1
- package/dist/utils/node-rest-api/gov.d.ts +1 -1
- package/dist/utils/node-rest-api/gov.d.ts.map +1 -1
- package/dist/utils/node-rest-api/staking.d.ts +1 -1
- package/dist/utils/node-rest-api/staking.d.ts.map +1 -1
- package/dist/utils/overlaps.d.ts +1 -1
- package/dist/utils/overlaps.d.ts.map +1 -1
- package/dist/utils/overlaps.js +75 -74
- package/dist/utils/overlaps.js.map +1 -1
- package/dist/utils/types/activity.d.ts +52 -74
- package/dist/utils/types/activity.d.ts.map +1 -1
- package/dist/utils/types/activity.js +120 -106
- package/dist/utils/types/activity.js.map +1 -1
- package/dist/utils/types/api.d.ts +259 -295
- package/dist/utils/types/api.d.ts.map +1 -1
- package/dist/utils/types/api.js +328 -251
- package/dist/utils/types/api.js.map +1 -1
- package/dist/utils/types/coin.d.ts +9 -3
- package/dist/utils/types/coin.d.ts.map +1 -1
- package/dist/utils/types/coin.js +17 -9
- package/dist/utils/types/coin.js.map +1 -1
- package/dist/utils/types/collections.d.ts +100 -72
- package/dist/utils/types/collections.d.ts.map +1 -1
- package/dist/utils/types/collections.js +265 -108
- package/dist/utils/types/collections.js.map +1 -1
- package/dist/utils/types/db.d.ts +423 -214
- package/dist/utils/types/db.d.ts.map +1 -1
- package/dist/utils/types/db.js +795 -505
- package/dist/utils/types/db.js.map +1 -1
- package/dist/utils/types/indexer.d.ts +2 -2
- package/dist/utils/types/indexer.d.ts.map +1 -1
- package/dist/utils/types/metadata.d.ts +45 -17
- package/dist/utils/types/metadata.d.ts.map +1 -1
- package/dist/utils/types/metadata.js +68 -19
- package/dist/utils/types/metadata.js.map +1 -1
- package/dist/utils/types/routes.d.ts +49 -47
- package/dist/utils/types/routes.d.ts.map +1 -1
- package/dist/utils/types/routes.js +50 -93
- package/dist/utils/types/routes.js.map +1 -1
- package/dist/utils/types/schemas.d.ts +120 -0
- package/dist/utils/types/schemas.d.ts.map +1 -0
- package/dist/utils/types/schemas.js +261 -0
- package/dist/utils/types/schemas.js.map +1 -0
- package/dist/utils/types/transfers.d.ts +15 -5
- package/dist/utils/types/transfers.d.ts.map +1 -1
- package/dist/utils/types/transfers.js +24 -14
- package/dist/utils/types/transfers.js.map +1 -1
- package/dist/utils/userApprovals.d.ts +1 -1
- package/dist/utils/userApprovals.d.ts.map +1 -1
- package/dist/utils/userApprovals.js +22 -37
- package/dist/utils/userApprovals.js.map +1 -1
- package/package.json +8 -16
- package/dist/proto-types/badges/aminoRegistry.d.ts +0 -3
- package/dist/proto-types/badges/aminoRegistry.d.ts.map +0 -1
- package/dist/proto-types/badges/aminoRegistry.js.map +0 -1
- package/dist/proto-types/badges/string-numbers.d.ts.map +0 -1
- package/dist/proto-types/badges/string-numbers.js.map +0 -1
- package/dist/proto-types/badges/typeutils/approvals.d.ts +0 -127
- package/dist/proto-types/badges/typeutils/approvals.d.ts.map +0 -1
- package/dist/proto-types/badges/typeutils/approvals.js +0 -209
- package/dist/proto-types/badges/typeutils/approvals.js.map +0 -1
- package/dist/proto-types/badges/typeutils/permissions.d.ts +0 -88
- package/dist/proto-types/badges/typeutils/permissions.d.ts.map +0 -1
- package/dist/proto-types/badges/typeutils/permissions.js +0 -124
- package/dist/proto-types/badges/typeutils/permissions.js.map +0 -1
- package/dist/proto-types/badges/typeutils/typeUtils.d.ts +0 -119
- package/dist/proto-types/badges/typeutils/typeUtils.d.ts.map +0 -1
- package/dist/proto-types/badges/typeutils/typeUtils.js +0 -146
- package/dist/proto-types/badges/typeutils/typeUtils.js.map +0 -1
- package/dist/proto-types/base.d.ts +0 -6
- package/dist/proto-types/base.d.ts.map +0 -1
- package/dist/proto-types/base.js +0 -11
- package/dist/proto-types/base.js.map +0 -1
- package/dist/proto-types/protocols/aminoRegistry.d.ts +0 -3
- package/dist/proto-types/protocols/aminoRegistry.d.ts.map +0 -1
- package/dist/proto-types/protocols/aminoRegistry.js.map +0 -1
- package/dist/proto-types/protocols/types.d.ts +0 -8
- package/dist/proto-types/protocols/types.d.ts.map +0 -1
- package/dist/proto-types/protocols/types.js +0 -3
- package/dist/proto-types/protocols/types.js.map +0 -1
- package/dist/proto-types/txRaw.d.ts.map +0 -1
- package/dist/proto-types/txRaw.js.map +0 -1
- package/dist/proto-types/utils.d.ts.map +0 -1
- package/dist/proto-types/utils.js.map +0 -1
- package/dist/proto-types/wasmx/aminoRegistry.d.ts +0 -3
- package/dist/proto-types/wasmx/aminoRegistry.d.ts.map +0 -1
- package/dist/proto-types/wasmx/aminoRegistry.js.map +0 -1
- package/dist/proto-types/web3Extension.d.ts.map +0 -1
- package/dist/proto-types/web3Extension.js.map +0 -1
- package/dist/utils/addressLists.d.ts +0 -9
- package/dist/utils/addressLists.d.ts.map +0 -1
- package/dist/utils/addressLists.js +0 -218
- package/dist/utils/addressLists.js.map +0 -1
- package/dist/utils/api-sdk.d.ts +0 -65
- package/dist/utils/api-sdk.d.ts.map +0 -1
- package/dist/utils/api-sdk.js +0 -540
- package/dist/utils/api-sdk.js.map +0 -1
- package/dist/utils/api-utils.d.ts +0 -5
- package/dist/utils/api-utils.d.ts.map +0 -1
- package/dist/utils/api-utils.js +0 -185
- package/dist/utils/api-utils.js.map +0 -1
- package/dist/utils/collections.d.ts +0 -7
- package/dist/utils/collections.d.ts.map +0 -1
- package/dist/utils/collections.js +0 -99
- package/dist/utils/collections.js.map +0 -1
- package/dist/utils/math.d.ts +0 -3
- package/dist/utils/math.d.ts.map +0 -1
- package/dist/utils/math.js +0 -27
- package/dist/utils/math.js.map +0 -1
- package/dist/utils/permission_checks.d.ts +0 -51
- package/dist/utils/permission_checks.d.ts.map +0 -1
- package/dist/utils/permission_checks.js +0 -329
- package/dist/utils/permission_checks.js.map +0 -1
- package/dist/utils/permissions.d.ts +0 -17
- package/dist/utils/permissions.d.ts.map +0 -1
- package/dist/utils/permissions.js +0 -278
- package/dist/utils/permissions.js.map +0 -1
- package/dist/utils/timeline_helpers.d.ts +0 -30
- package/dist/utils/timeline_helpers.d.ts.map +0 -1
- package/dist/utils/timeline_helpers.js +0 -74
- package/dist/utils/timeline_helpers.js.map +0 -1
- package/dist/utils/timelines.d.ts +0 -32
- package/dist/utils/timelines.d.ts.map +0 -1
- package/dist/utils/timelines.js +0 -106
- package/dist/utils/timelines.js.map +0 -1
- package/dist/utils/types/types.d.ts +0 -42
- package/dist/utils/types/types.d.ts.map +0 -1
- package/dist/utils/types/types.js.map +0 -1
- package/dist/utils/types/users.d.ts +0 -53
- package/dist/utils/types/users.d.ts.map +0 -1
- package/dist/utils/types/users.js +0 -67
- package/dist/utils/types/users.js.map +0 -1
- package/dist/utils/types/utils.d.ts +0 -2
- package/dist/utils/types/utils.d.ts.map +0 -1
- package/dist/utils/types/utils.js +0 -26
- package/dist/utils/types/utils.js.map +0 -1
- package/dist/utils/uintRanges.d.ts +0 -16
- package/dist/utils/uintRanges.d.ts.map +0 -1
- package/dist/utils/uintRanges.js +0 -194
- package/dist/utils/uintRanges.js.map +0 -1
- package/dist/utils/update_checks.d.ts +0 -15
- package/dist/utils/update_checks.d.ts.map +0 -1
- package/dist/utils/update_checks.js +0 -503
- package/dist/utils/update_checks.js.map +0 -1
- package/dist/utils/utils/compare.d.ts +0 -2
- package/dist/utils/utils/compare.d.ts.map +0 -1
- package/dist/utils/utils/compare.js +0 -42
- package/dist/utils/utils/compare.js.map +0 -1
- package/dist/utils/validate_permissions_updates.d.ts +0 -11
- package/dist/utils/validate_permissions_updates.d.ts.map +0 -1
- package/dist/utils/validate_permissions_updates.js +0 -227
- package/dist/utils/validate_permissions_updates.js.map +0 -1
- /package/dist/{proto-types → types}/badges/aminoRegistry.js +0 -0
- /package/dist/{proto-types → types}/protocols/aminoRegistry.js +0 -0
- /package/dist/{proto-types/badges → types}/string-numbers.js +0 -0
- /package/dist/{proto-types → types}/txRaw.d.ts +0 -0
- /package/dist/{proto-types → types}/txRaw.js +0 -0
- /package/dist/{proto-types → types}/utils.js +0 -0
- /package/dist/{proto-types → types}/wasmx/aminoRegistry.js +0 -0
package/dist/utils/types/db.d.ts
CHANGED
|
@@ -1,22 +1,43 @@
|
|
|
1
|
-
import { AddressList, AmountTrackerIdDetails, BadgeMetadataTimeline, Balance, CollectionApproval, CollectionMetadataTimeline, CollectionPermissions, CustomDataTimeline, IsArchivedTimeline, ManagerTimeline, MerkleChallenge, OffChainBalancesMetadataTimeline, Protocol, StandardsTimeline, UintRange, UserBalanceStore } from "../..";
|
|
2
1
|
import { ChallengeParams } from "blockin";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import { NumberType } from "../../types/string-numbers";
|
|
3
|
+
import { CollectionApproval, UserIncomingApproval, UserIncomingApprovalWithDetails, UserOutgoingApproval, UserOutgoingApprovalWithDetails, iCollectionApproval } from "../../types/badges/approvals";
|
|
4
|
+
import { BaseNumberTypeClass, CustomType, CustomTypeClass, Doc, NumberTypeConvertible } from "../../types/base";
|
|
5
|
+
import { CollectionPermissions, UserPermissions, UserPermissionsWithDetails, iCollectionPermissions } from "../../types/badges/permissions";
|
|
6
|
+
import { AddressList, AmountTrackerIdDetails, BadgeMetadataTimeline, Balance, CollectionMetadataTimeline, CustomDataTimeline, IsArchivedTimeline, ManagerTimeline, OffChainBalancesMetadataTimeline, StandardsTimeline, UintRange, iAddressList, iAmountTrackerIdDetails, iBadgeMetadataTimeline, iBalance, iCollectionMetadataTimeline, iCustomDataTimeline, iIsArchivedTimeline, iManagerTimeline, iOffChainBalancesMetadataTimeline, iStandardsTimeline } from "../../types/badges/typeUtils";
|
|
7
|
+
import { iProtocol } from "../../types/protocols/types";
|
|
8
|
+
import { BatchBadgeDetails, iBatchBadgeDetails } from "../batch-utils";
|
|
9
|
+
import { CosmosCoin, iCosmosCoin } from "./coin";
|
|
10
|
+
import { ApprovalInfoDetails, ChallengeDetails, iChallengeDetails } from "./collections";
|
|
10
11
|
import { Metadata } from "./metadata";
|
|
11
|
-
import { JSPrimitiveNumberType, NumberType } from "../..";
|
|
12
12
|
import { OffChainBalancesMap } from "./transfers";
|
|
13
|
-
import { SupportedChain } from "
|
|
14
|
-
import {
|
|
15
|
-
export interface Doc {
|
|
13
|
+
import { SupportedChain } from "../../types/types";
|
|
14
|
+
import { UserBalanceStore, iUserBalanceStore } from "../../types/badges/userBalances";
|
|
15
|
+
export interface iCollectionDoc<T extends NumberType> extends Doc {
|
|
16
|
+
collectionId: T;
|
|
17
|
+
collectionMetadataTimeline: iCollectionMetadataTimeline<T>[];
|
|
18
|
+
badgeMetadataTimeline: iBadgeMetadataTimeline<T>[];
|
|
19
|
+
balancesType: "Standard" | "Off-Chain - Indexed" | "Inherited" | "Off-Chain - Non-Indexed";
|
|
20
|
+
offChainBalancesMetadataTimeline: iOffChainBalancesMetadataTimeline<T>[];
|
|
21
|
+
customDataTimeline: iCustomDataTimeline<T>[];
|
|
22
|
+
managerTimeline: iManagerTimeline<T>[];
|
|
23
|
+
collectionPermissions: iCollectionPermissions<T>;
|
|
24
|
+
collectionApprovals: iCollectionApproval<T>[];
|
|
25
|
+
standardsTimeline: iStandardsTimeline<T>[];
|
|
26
|
+
isArchivedTimeline: iIsArchivedTimeline<T>[];
|
|
27
|
+
defaultBalances: iUserBalanceStore<T>;
|
|
28
|
+
createdBy: string;
|
|
29
|
+
createdBlock: T;
|
|
30
|
+
createdTimestamp: T;
|
|
31
|
+
updateHistory: {
|
|
32
|
+
txHash: string;
|
|
33
|
+
block: T;
|
|
34
|
+
blockTimestamp: T;
|
|
35
|
+
}[];
|
|
36
|
+
aliasAddress: string;
|
|
37
|
+
}
|
|
38
|
+
export declare class CollectionDoc<T extends NumberType> extends BaseNumberTypeClass implements iCollectionDoc<T>, NumberTypeConvertible<CollectionDoc<T>, T> {
|
|
16
39
|
_docId: string;
|
|
17
40
|
_id?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CollectionInfoBase<T extends NumberType> {
|
|
20
41
|
collectionId: T;
|
|
21
42
|
collectionMetadataTimeline: CollectionMetadataTimeline<T>[];
|
|
22
43
|
badgeMetadataTimeline: BadgeMetadataTimeline<T>[];
|
|
@@ -38,39 +59,106 @@ export interface CollectionInfoBase<T extends NumberType> {
|
|
|
38
59
|
blockTimestamp: T;
|
|
39
60
|
}[];
|
|
40
61
|
aliasAddress: string;
|
|
62
|
+
constructor(data: iCollectionDoc<T>);
|
|
63
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): CollectionDoc<U>;
|
|
41
64
|
}
|
|
42
|
-
export
|
|
43
|
-
export declare function convertCollectionDoc<T extends NumberType, U extends NumberType>(item: CollectionDoc<T>, convertFunction: (item: T) => U): CollectionDoc<U>;
|
|
44
|
-
export interface AccountInfoBase<T extends NumberType> {
|
|
65
|
+
export interface iAccountDoc<T extends NumberType> extends Doc {
|
|
45
66
|
publicKey: string;
|
|
67
|
+
accountNumber: T;
|
|
46
68
|
pubKeyType: string;
|
|
47
69
|
cosmosAddress: string;
|
|
48
70
|
ethAddress: string;
|
|
49
71
|
solAddress: string;
|
|
50
72
|
btcAddress: string;
|
|
73
|
+
sequence: T;
|
|
74
|
+
balance?: iCosmosCoin<T>;
|
|
75
|
+
}
|
|
76
|
+
export declare class AccountDoc<T extends NumberType> extends BaseNumberTypeClass implements iAccountDoc<T>, NumberTypeConvertible<AccountDoc<T>, T> {
|
|
77
|
+
_docId: string;
|
|
78
|
+
_id?: string;
|
|
79
|
+
publicKey: string;
|
|
51
80
|
accountNumber: T;
|
|
52
|
-
|
|
81
|
+
pubKeyType: string;
|
|
82
|
+
cosmosAddress: string;
|
|
83
|
+
ethAddress: string;
|
|
84
|
+
solAddress: string;
|
|
85
|
+
btcAddress: string;
|
|
86
|
+
sequence: T;
|
|
53
87
|
balance?: CosmosCoin<T>;
|
|
88
|
+
constructor(data: iAccountDoc<T>);
|
|
89
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AccountDoc<U>;
|
|
54
90
|
}
|
|
55
|
-
export type AccountDoc<T extends NumberType> = AccountInfoBase<T> & Doc;
|
|
56
|
-
export declare function convertAccountDoc<T extends NumberType, U extends NumberType>(item: AccountDoc<T>, convertFunction: (item: T) => U): AccountDoc<U>;
|
|
57
91
|
export interface CustomLink {
|
|
58
92
|
title: string;
|
|
59
93
|
url: string;
|
|
60
94
|
image: string;
|
|
61
95
|
}
|
|
62
|
-
export interface
|
|
96
|
+
export interface iCustomPage<T extends NumberType> {
|
|
97
|
+
title: string;
|
|
98
|
+
description: string;
|
|
99
|
+
items: BatchBadgeDetails<T>[];
|
|
100
|
+
}
|
|
101
|
+
export declare class CustomPage<T extends NumberType> extends BaseNumberTypeClass implements iCustomPage<T>, NumberTypeConvertible<CustomPage<T>, T> {
|
|
63
102
|
title: string;
|
|
64
103
|
description: string;
|
|
65
104
|
items: BatchBadgeDetails<T>[];
|
|
105
|
+
constructor(data: iCustomPage<T>);
|
|
106
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): CustomPage<U>;
|
|
66
107
|
}
|
|
67
108
|
export type AddressListId = string;
|
|
68
|
-
export interface
|
|
109
|
+
export interface iCustomListPage {
|
|
69
110
|
title: string;
|
|
70
111
|
description: string;
|
|
71
112
|
items: AddressListId[];
|
|
72
113
|
}
|
|
73
|
-
export
|
|
114
|
+
export declare class CustomListPage extends CustomTypeClass implements iCustomListPage, CustomType<CustomListPage> {
|
|
115
|
+
title: string;
|
|
116
|
+
description: string;
|
|
117
|
+
items: AddressListId[];
|
|
118
|
+
constructor(data: iCustomListPage);
|
|
119
|
+
}
|
|
120
|
+
export interface iProfileDoc<T extends NumberType> extends Doc {
|
|
121
|
+
fetchedProfile?: boolean;
|
|
122
|
+
seenActivity?: T;
|
|
123
|
+
createdAt?: T;
|
|
124
|
+
discord?: string;
|
|
125
|
+
twitter?: string;
|
|
126
|
+
github?: string;
|
|
127
|
+
telegram?: string;
|
|
128
|
+
readme?: string;
|
|
129
|
+
customLinks?: CustomLink[];
|
|
130
|
+
hiddenBadges?: iBatchBadgeDetails<T>[];
|
|
131
|
+
hiddenLists?: string[];
|
|
132
|
+
customPages?: {
|
|
133
|
+
badges: CustomPage<T>[];
|
|
134
|
+
lists: CustomListPage[];
|
|
135
|
+
};
|
|
136
|
+
watchlists?: {
|
|
137
|
+
badges: CustomPage<T>[];
|
|
138
|
+
lists: CustomListPage[];
|
|
139
|
+
};
|
|
140
|
+
profilePicUrl?: string;
|
|
141
|
+
username?: string;
|
|
142
|
+
latestSignedInChain?: SupportedChain;
|
|
143
|
+
solAddress?: string;
|
|
144
|
+
notifications?: {
|
|
145
|
+
email?: string;
|
|
146
|
+
emailVerification?: {
|
|
147
|
+
verified?: boolean;
|
|
148
|
+
token?: string;
|
|
149
|
+
expiry?: T;
|
|
150
|
+
antiPhishingCode?: string;
|
|
151
|
+
};
|
|
152
|
+
preferences?: {
|
|
153
|
+
listActivity?: boolean;
|
|
154
|
+
transferActivity?: boolean;
|
|
155
|
+
claimAlerts?: boolean;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export declare class ProfileDoc<T extends NumberType> extends BaseNumberTypeClass implements iProfileDoc<T>, NumberTypeConvertible<ProfileDoc<T>, T> {
|
|
160
|
+
_docId: string;
|
|
161
|
+
_id?: string;
|
|
74
162
|
fetchedProfile?: boolean;
|
|
75
163
|
seenActivity?: T;
|
|
76
164
|
createdAt?: T;
|
|
@@ -108,13 +196,27 @@ export interface ProfileInfoBase<T extends NumberType> {
|
|
|
108
196
|
claimAlerts?: boolean;
|
|
109
197
|
};
|
|
110
198
|
};
|
|
199
|
+
constructor(data: iProfileDoc<T>);
|
|
200
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ProfileDoc<U>;
|
|
111
201
|
}
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
202
|
+
export interface iQueueDoc<T extends NumberType> extends Doc {
|
|
203
|
+
uri: string;
|
|
204
|
+
collectionId: T;
|
|
205
|
+
loadBalanceId: T;
|
|
206
|
+
refreshRequestTime: T;
|
|
207
|
+
numRetries: T;
|
|
208
|
+
lastFetchedAt?: T;
|
|
209
|
+
error?: string;
|
|
210
|
+
deletedAt?: T;
|
|
211
|
+
nextFetchTime?: T;
|
|
212
|
+
emailMessage?: string;
|
|
213
|
+
recipientAddress?: string;
|
|
214
|
+
activityDocId?: string;
|
|
215
|
+
notificationType?: string;
|
|
116
216
|
}
|
|
117
|
-
export
|
|
217
|
+
export declare class QueueDoc<T extends NumberType> extends BaseNumberTypeClass implements iQueueDoc<T>, NumberTypeConvertible<QueueDoc<T>, T> {
|
|
218
|
+
_docId: string;
|
|
219
|
+
_id?: string;
|
|
118
220
|
uri: string;
|
|
119
221
|
collectionId: T;
|
|
120
222
|
loadBalanceId: T;
|
|
@@ -128,36 +230,55 @@ export interface QueueInfoBase<T extends NumberType> {
|
|
|
128
230
|
recipientAddress?: string;
|
|
129
231
|
activityDocId?: string;
|
|
130
232
|
notificationType?: string;
|
|
233
|
+
constructor(data: iQueueDoc<T>);
|
|
234
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): QueueDoc<U>;
|
|
235
|
+
}
|
|
236
|
+
export interface indexerStatus {
|
|
237
|
+
status: StatusDoc<bigint>;
|
|
131
238
|
}
|
|
132
|
-
export
|
|
133
|
-
export declare function convertQueueDoc<T extends NumberType, U extends NumberType>(item: QueueDoc<T>, convertFunction: (item: T) => U): QueueDoc<U>;
|
|
134
|
-
export interface LatestBlockStatus<T extends NumberType> {
|
|
239
|
+
export interface iLatestBlockStatus<T extends NumberType> {
|
|
135
240
|
height: T;
|
|
136
241
|
txIndex: T;
|
|
137
242
|
timestamp: T;
|
|
138
243
|
}
|
|
139
|
-
export declare
|
|
140
|
-
|
|
141
|
-
|
|
244
|
+
export declare class LatestBlockStatus<T extends NumberType> extends BaseNumberTypeClass implements iLatestBlockStatus<T>, NumberTypeConvertible<LatestBlockStatus<T>, T> {
|
|
245
|
+
height: T;
|
|
246
|
+
txIndex: T;
|
|
247
|
+
timestamp: T;
|
|
248
|
+
constructor(data: iLatestBlockStatus<T>);
|
|
249
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): LatestBlockStatus<U>;
|
|
250
|
+
}
|
|
251
|
+
export interface iStatusDoc<T extends NumberType> extends Doc {
|
|
252
|
+
block: iLatestBlockStatus<T>;
|
|
142
253
|
nextCollectionId: T;
|
|
143
254
|
gasPrice: number;
|
|
255
|
+
lastXGasAmounts: T[];
|
|
144
256
|
lastXGasLimits: T[];
|
|
257
|
+
}
|
|
258
|
+
export declare class StatusDoc<T extends NumberType> extends BaseNumberTypeClass implements iStatusDoc<T>, NumberTypeConvertible<StatusDoc<T>, T> {
|
|
259
|
+
_docId: string;
|
|
260
|
+
_id?: string;
|
|
261
|
+
block: LatestBlockStatus<T>;
|
|
262
|
+
nextCollectionId: T;
|
|
263
|
+
gasPrice: number;
|
|
145
264
|
lastXGasAmounts: T[];
|
|
265
|
+
lastXGasLimits: T[];
|
|
266
|
+
constructor(data: iStatusDoc<T>);
|
|
267
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): StatusDoc<U>;
|
|
146
268
|
}
|
|
147
|
-
export
|
|
148
|
-
export declare function convertStatusDoc<T extends NumberType, U extends NumberType>(item: StatusDoc<T>, convertFunction: (item: T) => U): StatusDoc<U>;
|
|
149
|
-
export interface AddressListEditKey<T extends NumberType> {
|
|
269
|
+
export interface iAddressListEditKey<T extends NumberType> {
|
|
150
270
|
key: string;
|
|
151
271
|
expirationDate: T;
|
|
152
272
|
mustSignIn?: boolean;
|
|
153
273
|
}
|
|
154
|
-
export
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
274
|
+
export declare class AddressListEditKey<T extends NumberType> extends BaseNumberTypeClass implements iAddressListEditKey<T>, NumberTypeConvertible<AddressListEditKey<T>, T> {
|
|
275
|
+
key: string;
|
|
276
|
+
expirationDate: T;
|
|
277
|
+
mustSignIn?: boolean;
|
|
278
|
+
constructor(data: iAddressListEditKey<T>);
|
|
279
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AddressListEditKey<U>;
|
|
158
280
|
}
|
|
159
|
-
export
|
|
160
|
-
export interface AddressListInfoBase<T extends NumberType> extends AddressList {
|
|
281
|
+
export interface iAddressListDoc<T extends NumberType> extends iAddressList, Doc {
|
|
161
282
|
createdBy: string;
|
|
162
283
|
updateHistory: {
|
|
163
284
|
txHash: string;
|
|
@@ -166,43 +287,122 @@ export interface AddressListInfoBase<T extends NumberType> extends AddressList {
|
|
|
166
287
|
}[];
|
|
167
288
|
createdBlock: T;
|
|
168
289
|
lastUpdated: T;
|
|
290
|
+
nsfw?: {
|
|
291
|
+
reason: string;
|
|
292
|
+
};
|
|
293
|
+
reported?: {
|
|
294
|
+
reason: string;
|
|
295
|
+
};
|
|
169
296
|
private?: boolean;
|
|
170
297
|
viewableWithLink?: boolean;
|
|
171
|
-
editKeys?:
|
|
298
|
+
editKeys?: iAddressListEditKey<T>[];
|
|
299
|
+
}
|
|
300
|
+
export declare class AddressListDoc<T extends NumberType> extends AddressList implements NumberTypeConvertible<AddressListDoc<T>, T>, iAddressListDoc<T> {
|
|
301
|
+
_docId: string;
|
|
302
|
+
_id?: string;
|
|
303
|
+
createdBy: string;
|
|
304
|
+
updateHistory: {
|
|
305
|
+
txHash: string;
|
|
306
|
+
block: T;
|
|
307
|
+
blockTimestamp: T;
|
|
308
|
+
}[];
|
|
309
|
+
createdBlock: T;
|
|
310
|
+
lastUpdated: T;
|
|
172
311
|
nsfw?: {
|
|
173
312
|
reason: string;
|
|
174
313
|
};
|
|
175
314
|
reported?: {
|
|
176
315
|
reason: string;
|
|
177
316
|
};
|
|
317
|
+
private?: boolean;
|
|
318
|
+
viewableWithLink?: boolean;
|
|
319
|
+
editKeys?: AddressListEditKey<T>[];
|
|
320
|
+
constructor(data: iAddressListDoc<T>);
|
|
321
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AddressListDoc<U>;
|
|
178
322
|
}
|
|
179
|
-
export
|
|
180
|
-
export type AddressListDoc<T extends NumberType> = AddressListInfoBase<T> & Doc;
|
|
181
|
-
export declare function convertAddressListDoc<T extends NumberType, U extends NumberType>(item: AddressListDoc<T>, convertFunction: (item: T) => U): AddressListDoc<U>;
|
|
182
|
-
export interface BalanceInfoBase<T extends NumberType> extends UserBalanceStore<T> {
|
|
323
|
+
export interface iBalanceDoc<T extends NumberType> extends iUserBalanceStore<T>, Doc {
|
|
183
324
|
collectionId: T;
|
|
184
325
|
cosmosAddress: string;
|
|
185
326
|
onChain: boolean;
|
|
186
327
|
uri?: string;
|
|
187
328
|
fetchedAt?: T;
|
|
188
329
|
fetchedAtBlock?: T;
|
|
330
|
+
isPermanent?: boolean;
|
|
189
331
|
contentHash?: string;
|
|
332
|
+
updateHistory: {
|
|
333
|
+
txHash: string;
|
|
334
|
+
block: T;
|
|
335
|
+
blockTimestamp: T;
|
|
336
|
+
}[];
|
|
337
|
+
}
|
|
338
|
+
export declare class BalanceDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<BalanceDoc<T>, T>, iBalanceDoc<T> {
|
|
339
|
+
_docId: string;
|
|
340
|
+
_id?: string;
|
|
341
|
+
collectionId: T;
|
|
342
|
+
cosmosAddress: string;
|
|
343
|
+
onChain: boolean;
|
|
344
|
+
uri?: string;
|
|
345
|
+
fetchedAt?: T;
|
|
346
|
+
fetchedAtBlock?: T;
|
|
190
347
|
isPermanent?: boolean;
|
|
348
|
+
contentHash?: string;
|
|
191
349
|
updateHistory: {
|
|
192
350
|
txHash: string;
|
|
193
351
|
block: T;
|
|
194
352
|
blockTimestamp: T;
|
|
195
353
|
}[];
|
|
354
|
+
balances: Balance<T>[];
|
|
355
|
+
incomingApprovals: UserIncomingApproval<T>[];
|
|
356
|
+
outgoingApprovals: UserOutgoingApproval<T>[];
|
|
357
|
+
userPermissions: UserPermissions<T>;
|
|
358
|
+
autoApproveSelfInitiatedIncomingTransfers: boolean;
|
|
359
|
+
autoApproveSelfInitiatedOutgoingTransfers: boolean;
|
|
360
|
+
constructor(data: iBalanceDoc<T> & Doc & iUserBalanceStore<T>);
|
|
361
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BalanceDoc<U>;
|
|
362
|
+
}
|
|
363
|
+
export interface iBalanceDocWithDetails<T extends NumberType> extends iBalanceDoc<T> {
|
|
364
|
+
outgoingApprovals: UserOutgoingApprovalWithDetails<T>[];
|
|
365
|
+
incomingApprovals: UserIncomingApprovalWithDetails<T>[];
|
|
366
|
+
userPermissions: UserPermissionsWithDetails<T>;
|
|
196
367
|
}
|
|
197
|
-
export
|
|
198
|
-
export declare function convertBalanceDoc<T extends NumberType, U extends NumberType>(item: BalanceDoc<T>, convertFunction: (item: T) => U): BalanceDoc<U>;
|
|
199
|
-
export interface BalanceDocWithDetails<T extends NumberType> extends BalanceDoc<T> {
|
|
368
|
+
export declare class BalanceDocWithDetails<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<BalanceDocWithDetails<T>, T>, iBalanceDocWithDetails<T> {
|
|
200
369
|
outgoingApprovals: UserOutgoingApprovalWithDetails<T>[];
|
|
201
370
|
incomingApprovals: UserIncomingApprovalWithDetails<T>[];
|
|
202
371
|
userPermissions: UserPermissionsWithDetails<T>;
|
|
372
|
+
_docId: string;
|
|
373
|
+
_id?: string;
|
|
374
|
+
collectionId: T;
|
|
375
|
+
cosmosAddress: string;
|
|
376
|
+
onChain: boolean;
|
|
377
|
+
uri?: string;
|
|
378
|
+
fetchedAt?: T;
|
|
379
|
+
fetchedAtBlock?: T;
|
|
380
|
+
isPermanent?: boolean;
|
|
381
|
+
contentHash?: string;
|
|
382
|
+
updateHistory: {
|
|
383
|
+
txHash: string;
|
|
384
|
+
block: T;
|
|
385
|
+
blockTimestamp: T;
|
|
386
|
+
}[];
|
|
387
|
+
balances: Balance<T>[];
|
|
388
|
+
autoApproveSelfInitiatedIncomingTransfers: boolean;
|
|
389
|
+
autoApproveSelfInitiatedOutgoingTransfers: boolean;
|
|
390
|
+
constructor(data: iBalanceDocWithDetails<T>);
|
|
391
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BalanceDocWithDetails<U>;
|
|
203
392
|
}
|
|
204
|
-
export
|
|
205
|
-
|
|
393
|
+
export interface iPasswordDoc<T extends NumberType> extends Doc {
|
|
394
|
+
cid: string;
|
|
395
|
+
createdBy: string;
|
|
396
|
+
docClaimedByCollection: boolean;
|
|
397
|
+
collectionId: T;
|
|
398
|
+
claimedUsers: {
|
|
399
|
+
[cosmosAddress: string]: T;
|
|
400
|
+
};
|
|
401
|
+
challengeDetails?: iChallengeDetails<T>;
|
|
402
|
+
}
|
|
403
|
+
export declare class PasswordDoc<T extends NumberType> extends BaseNumberTypeClass implements iPasswordDoc<T>, NumberTypeConvertible<PasswordDoc<T>, T> {
|
|
404
|
+
_docId: string;
|
|
405
|
+
_id?: string;
|
|
206
406
|
cid: string;
|
|
207
407
|
createdBy: string;
|
|
208
408
|
docClaimedByCollection: boolean;
|
|
@@ -211,100 +411,166 @@ export interface PasswordInfoBase<T extends NumberType> {
|
|
|
211
411
|
[cosmosAddress: string]: T;
|
|
212
412
|
};
|
|
213
413
|
challengeDetails?: ChallengeDetails<T>;
|
|
414
|
+
constructor(data: iPasswordDoc<T>);
|
|
415
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): PasswordDoc<U>;
|
|
416
|
+
}
|
|
417
|
+
export interface iApprovalTrackerDoc<T extends NumberType> extends iAmountTrackerIdDetails<T>, Doc {
|
|
418
|
+
numTransfers: T;
|
|
419
|
+
amounts: iBalance<T>[];
|
|
214
420
|
}
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
leaves: string[];
|
|
219
|
-
isHashed: boolean;
|
|
220
|
-
preimages?: string[];
|
|
221
|
-
}
|
|
222
|
-
export interface ChallengeDetails<T extends NumberType> {
|
|
223
|
-
leavesDetails: LeavesDetails;
|
|
224
|
-
tree?: MerkleTree;
|
|
225
|
-
treeOptions?: MerkleTreeJsOptions;
|
|
226
|
-
numLeaves?: T;
|
|
227
|
-
currCode?: T;
|
|
228
|
-
hasPassword?: boolean;
|
|
229
|
-
password?: string;
|
|
230
|
-
}
|
|
231
|
-
export declare function convertChallengeDetails<T extends NumberType, U extends NumberType>(item: ChallengeDetails<T>, convertFunction: (item: T) => U): ChallengeDetails<U>;
|
|
232
|
-
export interface ApprovalTrackerInfoBase<T extends NumberType> extends AmountTrackerIdDetails<T> {
|
|
421
|
+
export declare class ApprovalTrackerDoc<T extends NumberType> extends AmountTrackerIdDetails<T> implements NumberTypeConvertible<ApprovalTrackerDoc<T>, T>, iApprovalTrackerDoc<T>, Doc {
|
|
422
|
+
_docId: string;
|
|
423
|
+
_id?: string;
|
|
233
424
|
numTransfers: T;
|
|
234
425
|
amounts: Balance<T>[];
|
|
426
|
+
constructor(data: iApprovalTrackerDoc<T> & Doc & iAmountTrackerIdDetails<T>);
|
|
427
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ApprovalTrackerDoc<U>;
|
|
428
|
+
}
|
|
429
|
+
export interface iChallengeTrackerIdDetails<T extends NumberType> {
|
|
430
|
+
collectionId: T;
|
|
431
|
+
challengeId: string;
|
|
432
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
433
|
+
approverAddress: string;
|
|
235
434
|
}
|
|
236
|
-
export
|
|
237
|
-
export declare function convertApprovalTrackerDoc<T extends NumberType, U extends NumberType>(item: ApprovalTrackerDoc<T>, convertFunction: (item: T) => U): ApprovalTrackerDoc<U>;
|
|
238
|
-
export interface ChallengeTrackerIdDetails<T extends NumberType> {
|
|
435
|
+
export declare class ChallengeTrackerIdDetails<T extends NumberType> extends BaseNumberTypeClass implements iChallengeTrackerIdDetails<T>, NumberTypeConvertible<ChallengeTrackerIdDetails<T>, T> {
|
|
239
436
|
collectionId: T;
|
|
240
437
|
challengeId: string;
|
|
241
438
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
242
439
|
approverAddress: string;
|
|
440
|
+
constructor(data: iChallengeTrackerIdDetails<T>);
|
|
441
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ChallengeTrackerIdDetails<U>;
|
|
243
442
|
}
|
|
244
|
-
export
|
|
245
|
-
export interface MerkleChallengeInfoBase<T extends NumberType> {
|
|
443
|
+
export interface iMerkleChallengeDoc<T extends NumberType> extends Doc {
|
|
246
444
|
collectionId: T;
|
|
247
445
|
challengeId: string;
|
|
248
446
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
249
447
|
approverAddress: string;
|
|
250
|
-
usedLeafIndices:
|
|
448
|
+
usedLeafIndices: T[];
|
|
251
449
|
}
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
450
|
+
export declare class MerkleChallengeDoc<T extends NumberType> extends BaseNumberTypeClass implements iMerkleChallengeDoc<T>, NumberTypeConvertible<MerkleChallengeDoc<T>, T> {
|
|
451
|
+
_docId: string;
|
|
452
|
+
_id?: string;
|
|
255
453
|
collectionId: T;
|
|
256
454
|
challengeId: string;
|
|
257
455
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
258
456
|
approverAddress: string;
|
|
457
|
+
usedLeafIndices: T[];
|
|
458
|
+
constructor(data: iMerkleChallengeDoc<T>);
|
|
459
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): MerkleChallengeDoc<U>;
|
|
259
460
|
}
|
|
260
|
-
export
|
|
261
|
-
|
|
262
|
-
|
|
461
|
+
export interface iMerkleChallengeIdDetails<T extends NumberType> {
|
|
462
|
+
collectionId: T;
|
|
463
|
+
challengeId: string;
|
|
464
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
465
|
+
approverAddress: string;
|
|
466
|
+
usedLeafIndices: T[];
|
|
263
467
|
}
|
|
264
|
-
export declare
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
468
|
+
export declare class MerkleChallengeIdDetails<T extends NumberType> extends BaseNumberTypeClass implements iMerkleChallengeIdDetails<T>, NumberTypeConvertible<MerkleChallengeIdDetails<T>, T> {
|
|
469
|
+
collectionId: T;
|
|
470
|
+
challengeId: string;
|
|
471
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
472
|
+
approverAddress: string;
|
|
473
|
+
usedLeafIndices: T[];
|
|
474
|
+
constructor(data: iMerkleChallengeIdDetails<T>);
|
|
475
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): MerkleChallengeIdDetails<U>;
|
|
271
476
|
}
|
|
272
|
-
export
|
|
273
|
-
export interface FetchInfoBase<T extends NumberType> {
|
|
477
|
+
export interface iFetchDoc<T extends NumberType> extends Doc {
|
|
274
478
|
content?: Metadata<T> | ApprovalInfoDetails<T> | OffChainBalancesMap<T>;
|
|
275
479
|
fetchedAt: T;
|
|
276
480
|
fetchedAtBlock: T;
|
|
277
481
|
db: 'ApprovalInfo' | 'Metadata' | 'Balances';
|
|
278
482
|
isPermanent: boolean;
|
|
279
483
|
}
|
|
280
|
-
export
|
|
281
|
-
|
|
282
|
-
|
|
484
|
+
export declare class FetchDoc<T extends NumberType> extends BaseNumberTypeClass implements iFetchDoc<T>, NumberTypeConvertible<FetchDoc<T>, T> {
|
|
485
|
+
_docId: string;
|
|
486
|
+
_id?: string;
|
|
487
|
+
content?: Metadata<T> | ApprovalInfoDetails<T> | OffChainBalancesMap<T>;
|
|
488
|
+
fetchedAt: T;
|
|
489
|
+
fetchedAtBlock: T;
|
|
490
|
+
db: 'ApprovalInfo' | 'Metadata' | 'Balances';
|
|
491
|
+
isPermanent: boolean;
|
|
492
|
+
constructor(data: iFetchDoc<T>);
|
|
493
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): FetchDoc<U>;
|
|
494
|
+
}
|
|
495
|
+
export interface iRefreshDoc<T extends NumberType> extends Doc {
|
|
283
496
|
collectionId: T;
|
|
284
497
|
refreshRequestTime: T;
|
|
285
498
|
}
|
|
286
|
-
export
|
|
287
|
-
|
|
499
|
+
export declare class RefreshDoc<T extends NumberType> extends BaseNumberTypeClass implements iRefreshDoc<T>, NumberTypeConvertible<RefreshDoc<T>, T> {
|
|
500
|
+
_docId: string;
|
|
501
|
+
_id?: string;
|
|
502
|
+
collectionId: T;
|
|
503
|
+
refreshRequestTime: T;
|
|
504
|
+
constructor(data: iRefreshDoc<T>);
|
|
505
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): RefreshDoc<U>;
|
|
506
|
+
}
|
|
288
507
|
export interface ErrorDoc {
|
|
289
508
|
_docId: string;
|
|
290
509
|
_id?: string;
|
|
291
510
|
error: string;
|
|
292
511
|
function: string;
|
|
293
|
-
docs?: DocsCache;
|
|
294
512
|
}
|
|
295
|
-
export interface
|
|
513
|
+
export interface iAirdropDoc<T extends NumberType> extends Doc {
|
|
514
|
+
airdropped: boolean;
|
|
515
|
+
timestamp: T;
|
|
516
|
+
hash?: string;
|
|
517
|
+
}
|
|
518
|
+
export declare class AirdropDoc<T extends NumberType> extends BaseNumberTypeClass implements iAirdropDoc<T>, NumberTypeConvertible<AirdropDoc<T>, T> {
|
|
519
|
+
_docId: string;
|
|
520
|
+
_id?: string;
|
|
296
521
|
airdropped: boolean;
|
|
297
522
|
timestamp: T;
|
|
298
523
|
hash?: string;
|
|
524
|
+
constructor(data: iAirdropDoc<T>);
|
|
525
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AirdropDoc<U>;
|
|
526
|
+
}
|
|
527
|
+
export interface iIPFSTotalsDoc<T extends NumberType> extends Doc {
|
|
528
|
+
bytesUploaded: T;
|
|
299
529
|
}
|
|
300
|
-
export
|
|
301
|
-
|
|
302
|
-
|
|
530
|
+
export declare class IPFSTotalsDoc<T extends NumberType> extends BaseNumberTypeClass implements iIPFSTotalsDoc<T>, NumberTypeConvertible<IPFSTotalsDoc<T>, T> {
|
|
531
|
+
_docId: string;
|
|
532
|
+
_id?: string;
|
|
303
533
|
bytesUploaded: T;
|
|
534
|
+
constructor(data: iIPFSTotalsDoc<T>);
|
|
535
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): IPFSTotalsDoc<U>;
|
|
536
|
+
}
|
|
537
|
+
export interface iComplianceDoc<T extends NumberType> extends Doc {
|
|
538
|
+
badges: {
|
|
539
|
+
nsfw: {
|
|
540
|
+
collectionId: T;
|
|
541
|
+
badgeIds: UintRange<T>[];
|
|
542
|
+
reason: string;
|
|
543
|
+
}[];
|
|
544
|
+
reported: {
|
|
545
|
+
collectionId: T;
|
|
546
|
+
badgeIds: UintRange<T>[];
|
|
547
|
+
reason: string;
|
|
548
|
+
}[];
|
|
549
|
+
};
|
|
550
|
+
addressLists: {
|
|
551
|
+
nsfw: {
|
|
552
|
+
listId: AddressListId;
|
|
553
|
+
reason: string;
|
|
554
|
+
}[];
|
|
555
|
+
reported: {
|
|
556
|
+
listId: AddressListId;
|
|
557
|
+
reason: string;
|
|
558
|
+
}[];
|
|
559
|
+
};
|
|
560
|
+
accounts: {
|
|
561
|
+
nsfw: {
|
|
562
|
+
cosmosAddress: string;
|
|
563
|
+
reason: string;
|
|
564
|
+
}[];
|
|
565
|
+
reported: {
|
|
566
|
+
cosmosAddress: string;
|
|
567
|
+
reason: string;
|
|
568
|
+
}[];
|
|
569
|
+
};
|
|
304
570
|
}
|
|
305
|
-
export
|
|
306
|
-
|
|
307
|
-
|
|
571
|
+
export declare class ComplianceDoc<T extends NumberType> extends BaseNumberTypeClass implements iComplianceDoc<T>, NumberTypeConvertible<ComplianceDoc<T>, T> {
|
|
572
|
+
_docId: string;
|
|
573
|
+
_id?: string;
|
|
308
574
|
badges: {
|
|
309
575
|
nsfw: {
|
|
310
576
|
collectionId: T;
|
|
@@ -337,10 +603,22 @@ export interface ComplianceInfoBase<T extends NumberType> {
|
|
|
337
603
|
reason: string;
|
|
338
604
|
}[];
|
|
339
605
|
};
|
|
606
|
+
constructor(data: iComplianceDoc<T>);
|
|
607
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ComplianceDoc<U>;
|
|
608
|
+
}
|
|
609
|
+
export interface iBlockinAuthSignatureDoc<T extends NumberType> extends Doc {
|
|
610
|
+
signature: string;
|
|
611
|
+
name: string;
|
|
612
|
+
description: string;
|
|
613
|
+
image: string;
|
|
614
|
+
cosmosAddress: string;
|
|
615
|
+
params: ChallengeParams<T>;
|
|
616
|
+
createdAt: T;
|
|
617
|
+
deletedAt?: T;
|
|
340
618
|
}
|
|
341
|
-
export
|
|
342
|
-
|
|
343
|
-
|
|
619
|
+
export declare class BlockinAuthSignatureDoc<T extends NumberType> extends BaseNumberTypeClass implements iBlockinAuthSignatureDoc<T>, NumberTypeConvertible<BlockinAuthSignatureDoc<T>, T> {
|
|
620
|
+
_docId: string;
|
|
621
|
+
_id?: string;
|
|
344
622
|
signature: string;
|
|
345
623
|
name: string;
|
|
346
624
|
description: string;
|
|
@@ -349,123 +627,54 @@ export interface BlockinAuthSignatureInfoBase<T extends NumberType> {
|
|
|
349
627
|
params: ChallengeParams<T>;
|
|
350
628
|
createdAt: T;
|
|
351
629
|
deletedAt?: T;
|
|
630
|
+
constructor(data: iBlockinAuthSignatureDoc<T>);
|
|
631
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BlockinAuthSignatureDoc<U>;
|
|
352
632
|
}
|
|
353
|
-
export
|
|
354
|
-
export declare function convertBlockinAuthSignatureDoc<T extends NumberType, U extends NumberType>(item: BlockinAuthSignatureDoc<T>, convertFunction: (item: T) => U): BlockinAuthSignatureDoc<U>;
|
|
355
|
-
export interface FollowDetailsInfoBase<T extends NumberType> {
|
|
633
|
+
export interface iFollowDetailsDoc<T extends NumberType> extends Doc {
|
|
356
634
|
cosmosAddress: string;
|
|
635
|
+
followingCount: T;
|
|
636
|
+
followersCount: T;
|
|
637
|
+
followers: string[];
|
|
638
|
+
following: string[];
|
|
357
639
|
followingCollectionId: T;
|
|
640
|
+
}
|
|
641
|
+
export declare class FollowDetailsDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<FollowDetailsDoc<T>, T>, iFollowDetailsDoc<T> {
|
|
642
|
+
_docId: string;
|
|
643
|
+
_id?: string;
|
|
644
|
+
cosmosAddress: string;
|
|
358
645
|
followingCount: T;
|
|
359
646
|
followersCount: T;
|
|
360
647
|
followers: string[];
|
|
361
648
|
following: string[];
|
|
649
|
+
followingCollectionId: T;
|
|
650
|
+
constructor(data: iFollowDetailsDoc<T>);
|
|
651
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): FollowDetailsDoc<U>;
|
|
362
652
|
}
|
|
363
|
-
export
|
|
364
|
-
export declare function convertFollowDetailsDoc<T extends NumberType, U extends NumberType>(item: FollowDetailsDoc<T>, convertFunction: (item: T) => U): FollowDetailsDoc<U>;
|
|
365
|
-
export interface ProtocolInfoBase<T extends NumberType> extends Protocol {
|
|
653
|
+
export interface iProtocolDoc<T extends NumberType> extends iProtocol, Doc {
|
|
366
654
|
}
|
|
367
|
-
export
|
|
368
|
-
|
|
369
|
-
|
|
655
|
+
export declare class ProtocolDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<ProtocolDoc<T>, T>, iProtocolDoc<T> {
|
|
656
|
+
_docId: string;
|
|
657
|
+
_id?: string;
|
|
658
|
+
name: string;
|
|
659
|
+
uri: string;
|
|
660
|
+
customData: string;
|
|
661
|
+
createdBy: string;
|
|
662
|
+
isFrozen: boolean;
|
|
663
|
+
constructor(data: iProtocolDoc<T>);
|
|
664
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ProtocolDoc<U>;
|
|
665
|
+
}
|
|
666
|
+
export interface iUserProtocolCollectionsDoc<T extends NumberType> extends Doc {
|
|
667
|
+
protocols: {
|
|
668
|
+
[protocolName: string]: T;
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
export declare class UserProtocolCollectionsDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<UserProtocolCollectionsDoc<T>, T>, iUserProtocolCollectionsDoc<T> {
|
|
672
|
+
_docId: string;
|
|
673
|
+
_id?: string;
|
|
370
674
|
protocols: {
|
|
371
675
|
[protocolName: string]: T;
|
|
372
676
|
};
|
|
677
|
+
constructor(data: iUserProtocolCollectionsDoc<T>);
|
|
678
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): UserProtocolCollectionsDoc<U>;
|
|
373
679
|
}
|
|
374
|
-
export type UserProtocolCollectionsDoc<T extends NumberType> = UserProtocolCollectionsInfoBase<T> & Doc;
|
|
375
|
-
export declare function convertUserProtocolCollectionsDoc<T extends NumberType, U extends NumberType>(item: UserProtocolCollectionsDoc<T>, convertFunction: (item: T) => U): UserProtocolCollectionsDoc<U>;
|
|
376
|
-
export declare const ProtocolSchema: mongoose.Schema<ProtocolDoc<JSPrimitiveNumberType>, mongoose.Model<ProtocolDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, ProtocolDoc<JSPrimitiveNumberType>> & ProtocolInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
377
|
-
_id: string;
|
|
378
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ProtocolDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<ProtocolDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<ProtocolDoc<JSPrimitiveNumberType>> & Required<{
|
|
379
|
-
_id: string;
|
|
380
|
-
}>>;
|
|
381
|
-
export declare const UserProtocolCollectionsSchema: mongoose.Schema<UserProtocolCollectionsDoc<JSPrimitiveNumberType>, mongoose.Model<UserProtocolCollectionsDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, UserProtocolCollectionsDoc<JSPrimitiveNumberType>> & UserProtocolCollectionsInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
382
|
-
_id: string;
|
|
383
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, UserProtocolCollectionsDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<UserProtocolCollectionsDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<UserProtocolCollectionsDoc<JSPrimitiveNumberType>> & Required<{
|
|
384
|
-
_id: string;
|
|
385
|
-
}>>;
|
|
386
|
-
export declare const CollectionSchema: mongoose.Schema<CollectionDoc<JSPrimitiveNumberType>, mongoose.Model<CollectionDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, CollectionDoc<JSPrimitiveNumberType>> & CollectionInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
387
|
-
_id: string;
|
|
388
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<CollectionDoc<JSPrimitiveNumberType>> & Required<{
|
|
389
|
-
_id: string;
|
|
390
|
-
}>>;
|
|
391
|
-
export declare const AccountSchema: mongoose.Schema<AccountDoc<JSPrimitiveNumberType>, mongoose.Model<AccountDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, AccountDoc<JSPrimitiveNumberType>> & AccountInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
392
|
-
_id: string;
|
|
393
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, AccountDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<AccountDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<AccountDoc<JSPrimitiveNumberType>> & Required<{
|
|
394
|
-
_id: string;
|
|
395
|
-
}>>;
|
|
396
|
-
export declare const ProfileSchema: mongoose.Schema<ProfileDoc<JSPrimitiveNumberType>, mongoose.Model<ProfileDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, ProfileDoc<JSPrimitiveNumberType>> & ProfileInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
397
|
-
_id: string;
|
|
398
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ProfileDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<ProfileDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<ProfileDoc<JSPrimitiveNumberType>> & Required<{
|
|
399
|
-
_id: string;
|
|
400
|
-
}>>;
|
|
401
|
-
export declare const QueueSchema: mongoose.Schema<QueueDoc<JSPrimitiveNumberType>, mongoose.Model<QueueDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, QueueDoc<JSPrimitiveNumberType>> & QueueInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
402
|
-
_id: string;
|
|
403
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, QueueDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<QueueDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<QueueDoc<JSPrimitiveNumberType>> & Required<{
|
|
404
|
-
_id: string;
|
|
405
|
-
}>>;
|
|
406
|
-
export declare const StatusSchema: mongoose.Schema<StatusDoc<JSPrimitiveNumberType>, mongoose.Model<StatusDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, StatusDoc<JSPrimitiveNumberType>> & StatusInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
407
|
-
_id: string;
|
|
408
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, StatusDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<StatusDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<StatusDoc<JSPrimitiveNumberType>> & Required<{
|
|
409
|
-
_id: string;
|
|
410
|
-
}>>;
|
|
411
|
-
export declare const AddressListSchema: mongoose.Schema<AddressListDoc<JSPrimitiveNumberType>, mongoose.Model<AddressListDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, AddressListDoc<JSPrimitiveNumberType>> & AddressListInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
412
|
-
_id: string;
|
|
413
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, AddressListDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<AddressListDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<AddressListDoc<JSPrimitiveNumberType>> & Required<{
|
|
414
|
-
_id: string;
|
|
415
|
-
}>>;
|
|
416
|
-
export declare const BalanceSchema: mongoose.Schema<BalanceDoc<JSPrimitiveNumberType>, mongoose.Model<BalanceDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, BalanceDoc<JSPrimitiveNumberType>> & BalanceInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
417
|
-
_id: string;
|
|
418
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, BalanceDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<BalanceDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<BalanceDoc<JSPrimitiveNumberType>> & Required<{
|
|
419
|
-
_id: string;
|
|
420
|
-
}>>;
|
|
421
|
-
export declare const PasswordSchema: mongoose.Schema<PasswordDoc<JSPrimitiveNumberType>, mongoose.Model<PasswordDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, PasswordDoc<JSPrimitiveNumberType>> & PasswordInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
422
|
-
_id: string;
|
|
423
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PasswordDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<PasswordDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<PasswordDoc<JSPrimitiveNumberType>> & Required<{
|
|
424
|
-
_id: string;
|
|
425
|
-
}>>;
|
|
426
|
-
export declare const ChallengeSchema: mongoose.Schema<MerkleChallengeDoc<JSPrimitiveNumberType>, mongoose.Model<MerkleChallengeDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, MerkleChallengeDoc<JSPrimitiveNumberType>> & MerkleChallengeInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
427
|
-
_id: string;
|
|
428
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, MerkleChallengeDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<MerkleChallengeDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<MerkleChallengeDoc<JSPrimitiveNumberType>> & Required<{
|
|
429
|
-
_id: string;
|
|
430
|
-
}>>;
|
|
431
|
-
export declare const ApprovalTrackerSchema: mongoose.Schema<ApprovalTrackerDoc<JSPrimitiveNumberType>, mongoose.Model<ApprovalTrackerDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, ApprovalTrackerDoc<JSPrimitiveNumberType>> & ApprovalTrackerInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
432
|
-
_id: string;
|
|
433
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ApprovalTrackerDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<ApprovalTrackerDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<ApprovalTrackerDoc<JSPrimitiveNumberType>> & Required<{
|
|
434
|
-
_id: string;
|
|
435
|
-
}>>;
|
|
436
|
-
export declare const FetchSchema: mongoose.Schema<FetchDoc<JSPrimitiveNumberType>, mongoose.Model<FetchDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, FetchDoc<JSPrimitiveNumberType>> & FetchInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
437
|
-
_id: string;
|
|
438
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, FetchDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<FetchDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<FetchDoc<JSPrimitiveNumberType>> & Required<{
|
|
439
|
-
_id: string;
|
|
440
|
-
}>>;
|
|
441
|
-
export declare const RefreshSchema: mongoose.Schema<RefreshDoc<JSPrimitiveNumberType>, mongoose.Model<RefreshDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, RefreshDoc<JSPrimitiveNumberType>> & RefreshInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
442
|
-
_id: string;
|
|
443
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RefreshDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<RefreshDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<RefreshDoc<JSPrimitiveNumberType>> & Required<{
|
|
444
|
-
_id: string;
|
|
445
|
-
}>>;
|
|
446
|
-
export declare const AirdropSchema: mongoose.Schema<AirdropDoc<JSPrimitiveNumberType>, mongoose.Model<AirdropDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, AirdropDoc<JSPrimitiveNumberType>> & AirdropInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
447
|
-
_id: string;
|
|
448
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, AirdropDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<AirdropDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<AirdropDoc<JSPrimitiveNumberType>> & Required<{
|
|
449
|
-
_id: string;
|
|
450
|
-
}>>;
|
|
451
|
-
export declare const IPFSTotalsSchema: mongoose.Schema<IPFSTotalsDoc<JSPrimitiveNumberType>, mongoose.Model<IPFSTotalsDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, IPFSTotalsDoc<JSPrimitiveNumberType>> & IPFSTotalsInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
452
|
-
_id: string;
|
|
453
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPFSTotalsDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPFSTotalsDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<IPFSTotalsDoc<JSPrimitiveNumberType>> & Required<{
|
|
454
|
-
_id: string;
|
|
455
|
-
}>>;
|
|
456
|
-
export declare const ComplianceSchema: mongoose.Schema<ComplianceDoc<JSPrimitiveNumberType>, mongoose.Model<ComplianceDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, ComplianceDoc<JSPrimitiveNumberType>> & ComplianceInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
457
|
-
_id: string;
|
|
458
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ComplianceDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<ComplianceDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<ComplianceDoc<JSPrimitiveNumberType>> & Required<{
|
|
459
|
-
_id: string;
|
|
460
|
-
}>>;
|
|
461
|
-
export declare const BlockinAuthSignatureSchema: mongoose.Schema<BlockinAuthSignatureDoc<JSPrimitiveNumberType>, mongoose.Model<BlockinAuthSignatureDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, BlockinAuthSignatureDoc<JSPrimitiveNumberType>> & BlockinAuthSignatureInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
462
|
-
_id: string;
|
|
463
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, BlockinAuthSignatureDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<BlockinAuthSignatureDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<BlockinAuthSignatureDoc<JSPrimitiveNumberType>> & Required<{
|
|
464
|
-
_id: string;
|
|
465
|
-
}>>;
|
|
466
|
-
export declare const FollowDetailsSchema: mongoose.Schema<FollowDetailsDoc<JSPrimitiveNumberType>, mongoose.Model<FollowDetailsDoc<JSPrimitiveNumberType>, any, any, any, mongoose.Document<unknown, any, FollowDetailsDoc<JSPrimitiveNumberType>> & FollowDetailsInfoBase<JSPrimitiveNumberType> & Doc & Required<{
|
|
467
|
-
_id: string;
|
|
468
|
-
}>, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, FollowDetailsDoc<JSPrimitiveNumberType>, mongoose.Document<unknown, {}, mongoose.FlatRecord<FollowDetailsDoc<JSPrimitiveNumberType>>> & mongoose.FlatRecord<FollowDetailsDoc<JSPrimitiveNumberType>> & Required<{
|
|
469
|
-
_id: string;
|
|
470
|
-
}>>;
|
|
471
680
|
//# sourceMappingURL=db.d.ts.map
|