bitbadgesjs-sdk 0.0.6 → 0.1.0
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/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 +1 -1
- package/dist/eip712/payload/samples/getSampleMsg.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/transactions/messages/base.d.ts +3 -3
- package/dist/transactions/messages/base.d.ts.map +1 -1
- package/dist/transactions/messages/base.js +6 -9
- package/dist/transactions/messages/base.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.d.ts +12 -5
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js +26 -14
- package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.d.ts +24 -6
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js +75 -43
- 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 +32 -21
- package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.d.ts +14 -6
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js +35 -23
- package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.d.ts +22 -6
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js +118 -55
- package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.d.ts +11 -6
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js +108 -52
- package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.d.ts +23 -6
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js +71 -31
- 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 +14 -4
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.d.ts.map +1 -1
- package/dist/transactions/messages/bitbadges/protocols/msgSetCollectionForProtocol.js +36 -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/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/{proto-types → types}/badges/string-numbers.d.ts +2 -2
- package/dist/types/badges/string-numbers.d.ts.map +1 -0
- package/dist/types/badges/string-numbers.js.map +1 -0
- package/dist/types/badges/typeutils/approvals.d.ts +320 -0
- package/dist/types/badges/typeutils/approvals.d.ts.map +1 -0
- package/dist/types/badges/typeutils/approvals.js +690 -0
- package/dist/types/badges/typeutils/approvals.js.map +1 -0
- package/dist/types/badges/typeutils/permissions.d.ts +230 -0
- package/dist/types/badges/typeutils/permissions.d.ts.map +1 -0
- package/dist/types/badges/typeutils/permissions.js +675 -0
- package/dist/types/badges/typeutils/permissions.js.map +1 -0
- package/dist/types/badges/typeutils/typeUtils.d.ts +411 -0
- package/dist/types/badges/typeutils/typeUtils.d.ts.map +1 -0
- package/dist/types/badges/typeutils/typeUtils.js +1086 -0
- package/dist/types/badges/typeutils/typeUtils.js.map +1 -0
- package/dist/{proto-types → types}/base.d.ts +1 -1
- package/dist/types/base.d.ts.map +1 -0
- package/dist/types/base.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 +24 -0
- package/dist/types/protocols/types.d.ts.map +1 -0
- package/dist/types/protocols/types.js +50 -0
- package/dist/types/protocols/types.js.map +1 -0
- package/dist/types/txRaw.d.ts.map +1 -0
- package/dist/types/txRaw.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/addressLists.d.ts +1 -4
- package/dist/utils/addressLists.d.ts.map +1 -1
- package/dist/utils/addressLists.js +28 -44
- package/dist/utils/addressLists.js.map +1 -1
- package/dist/utils/aliases.d.ts +1 -1
- package/dist/utils/aliases.d.ts.map +1 -1
- package/dist/utils/api-sdk.d.ts +40 -45
- package/dist/utils/api-sdk.d.ts.map +1 -1
- package/dist/utils/api-sdk.js +84 -137
- package/dist/utils/api-sdk.js.map +1 -1
- package/dist/utils/api-utils.d.ts +3 -2
- package/dist/utils/api-utils.d.ts.map +1 -1
- package/dist/utils/api-utils.js +19 -37
- package/dist/utils/api-utils.js.map +1 -1
- package/dist/utils/approved_transfers_casts.d.ts.map +1 -1
- package/dist/utils/approved_transfers_casts.js +27 -24
- package/dist/utils/approved_transfers_casts.js.map +1 -1
- package/dist/utils/badgeMetadata.d.ts +4 -4
- package/dist/utils/badgeMetadata.d.ts.map +1 -1
- package/dist/utils/badgeMetadata.js +19 -17
- package/dist/utils/badgeMetadata.js.map +1 -1
- package/dist/utils/balances.d.ts +12 -16
- package/dist/utils/balances.d.ts.map +1 -1
- package/dist/utils/balances.js +119 -141
- package/dist/utils/balances.js.map +1 -1
- package/dist/utils/batch-utils.d.ts +11 -4
- package/dist/utils/batch-utils.d.ts.map +1 -1
- package/dist/utils/batch-utils.js +41 -20
- package/dist/utils/batch-utils.js.map +1 -1
- package/dist/utils/chains.d.ts +0 -2
- package/dist/utils/chains.d.ts.map +1 -1
- package/dist/utils/chains.js +12 -15
- 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/display.d.ts +1 -1
- package/dist/utils/display.d.ts.map +1 -1
- package/dist/utils/display.js +7 -5
- package/dist/utils/display.js.map +1 -1
- package/dist/utils/distribution.d.ts +4 -4
- package/dist/utils/distribution.d.ts.map +1 -1
- package/dist/utils/distribution.js +32 -31
- 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 +20 -19
- package/dist/utils/firstMatches.js.map +1 -1
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/math.d.ts +8 -2
- package/dist/utils/math.d.ts.map +1 -1
- package/dist/utils/math.js +63 -15
- package/dist/utils/math.js.map +1 -1
- package/dist/utils/metadataIds.d.ts +2 -2
- package/dist/utils/metadataIds.d.ts.map +1 -1
- package/dist/utils/metadataIds.js +8 -8
- 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.map +1 -1
- package/dist/utils/overlaps.js +67 -67
- package/dist/utils/overlaps.js.map +1 -1
- package/dist/utils/permission_checks.d.ts +10 -10
- package/dist/utils/permission_checks.d.ts.map +1 -1
- package/dist/utils/permission_checks.js +58 -57
- package/dist/utils/permission_checks.js.map +1 -1
- package/dist/utils/permissions.d.ts +2 -2
- package/dist/utils/permissions.d.ts.map +1 -1
- package/dist/utils/permissions.js +20 -18
- package/dist/utils/permissions.js.map +1 -1
- package/dist/utils/types/activity.d.ts +51 -74
- package/dist/utils/types/activity.d.ts.map +1 -1
- package/dist/utils/types/activity.js +118 -105
- package/dist/utils/types/activity.js.map +1 -1
- package/dist/utils/types/api.d.ts +349 -134
- package/dist/utils/types/api.d.ts.map +1 -1
- package/dist/utils/types/api.js +512 -248
- 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 +263 -26
- package/dist/utils/types/collections.d.ts.map +1 -1
- package/dist/utils/types/collections.js +717 -99
- package/dist/utils/types/collections.js.map +1 -1
- package/dist/utils/types/db.d.ts +434 -187
- package/dist/utils/types/db.d.ts.map +1 -1
- package/dist/utils/types/db.js +859 -502
- 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 +77 -9
- package/dist/utils/types/metadata.d.ts.map +1 -1
- package/dist/utils/types/metadata.js +133 -18
- 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 +11 -5
- package/dist/utils/types/transfers.d.ts.map +1 -1
- package/dist/utils/types/transfers.js +22 -13
- package/dist/utils/types/transfers.js.map +1 -1
- package/dist/utils/types/types.d.ts +6 -6
- package/dist/utils/types/types.d.ts.map +1 -1
- package/dist/utils/types/types.js +3 -6
- package/dist/utils/types/types.js.map +1 -1
- package/dist/utils/types/users.d.ts +125 -15
- package/dist/utils/types/users.d.ts.map +1 -1
- package/dist/utils/types/users.js +275 -57
- package/dist/utils/types/users.js.map +1 -1
- package/dist/utils/uintRanges.d.ts +10 -14
- package/dist/utils/uintRanges.d.ts.map +1 -1
- package/dist/utils/uintRanges.js +53 -65
- package/dist/utils/uintRanges.js.map +1 -1
- package/dist/utils/update_checks.d.ts +2 -2
- package/dist/utils/update_checks.d.ts.map +1 -1
- package/dist/utils/update_checks.js +247 -185
- package/dist/utils/update_checks.js.map +1 -1
- package/dist/utils/userApprovals.d.ts.map +1 -1
- package/dist/utils/userApprovals.js +19 -34
- package/dist/utils/userApprovals.js.map +1 -1
- package/dist/utils/validate_permissions_updates.d.ts +2 -2
- package/dist/utils/validate_permissions_updates.d.ts.map +1 -1
- package/dist/utils/validate_permissions_updates.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.map +0 -1
- 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/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/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/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/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/{proto-types → types}/badges/aminoRegistry.js +0 -0
- /package/dist/{proto-types → types}/badges/string-numbers.js +0 -0
- /package/dist/{proto-types → types}/base.js +0 -0
- /package/dist/{proto-types → types}/protocols/aminoRegistry.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,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JsonObject } from "@bufbuild/protobuf";
|
|
2
2
|
import { ChallengeParams } from "blockin";
|
|
3
3
|
import MerkleTree from "merkletreejs";
|
|
4
4
|
import { Options as MerkleTreeJsOptions } from "merkletreejs/dist/MerkleTree";
|
|
5
|
-
import
|
|
6
|
-
import { BatchBadgeDetails } from "../batch-utils";
|
|
7
|
-
import { CosmosCoin } from "./coin";
|
|
5
|
+
import { AddressList, AmountTrackerIdDetails, BadgeMetadataTimeline, Balance, BaseNumberTypeClass, CollectionApproval, CollectionMetadataTimeline, CollectionPermissions, CustomDataTimeline, IsArchivedTimeline, ManagerTimeline, MerkleChallenge, NumberType, NumberTypeConvertible, OffChainBalancesMetadataTimeline, StandardsTimeline, UintRange, UserBalanceStore, UserIncomingApproval, UserOutgoingApproval, UserPermissions, iAddressList, iAmountTrackerIdDetails, iBadgeMetadataTimeline, iBalance, iCollectionApproval, iCollectionMetadataTimeline, iCollectionPermissions, iCustomDataTimeline, iIsArchivedTimeline, iManagerTimeline, iMerkleChallenge, iOffChainBalancesMetadataTimeline, iProtocol, iStandardsTimeline, iUserBalanceStore } from "../..";
|
|
6
|
+
import { BatchBadgeDetails, iBatchBadgeDetails } from "../batch-utils";
|
|
7
|
+
import { CosmosCoin, iCosmosCoin } from "./coin";
|
|
8
8
|
import { UserPermissionsWithDetails } from "./collections";
|
|
9
|
-
import { DocsCache } from "./indexer";
|
|
10
9
|
import { Metadata } from "./metadata";
|
|
11
|
-
import { JSPrimitiveNumberType, NumberType } from "../..";
|
|
12
10
|
import { OffChainBalancesMap } from "./transfers";
|
|
13
11
|
import { SupportedChain } from "./types";
|
|
14
12
|
import { UserIncomingApprovalWithDetails, UserOutgoingApprovalWithDetails } from "./users";
|
|
@@ -16,7 +14,32 @@ export interface Doc {
|
|
|
16
14
|
_docId: string;
|
|
17
15
|
_id?: string;
|
|
18
16
|
}
|
|
19
|
-
export interface
|
|
17
|
+
export interface iCollectionDoc<T extends NumberType> extends Doc {
|
|
18
|
+
collectionId: T;
|
|
19
|
+
collectionMetadataTimeline: iCollectionMetadataTimeline<T>[];
|
|
20
|
+
badgeMetadataTimeline: iBadgeMetadataTimeline<T>[];
|
|
21
|
+
balancesType: "Standard" | "Off-Chain - Indexed" | "Inherited" | "Off-Chain - Non-Indexed";
|
|
22
|
+
offChainBalancesMetadataTimeline: iOffChainBalancesMetadataTimeline<T>[];
|
|
23
|
+
customDataTimeline: iCustomDataTimeline<T>[];
|
|
24
|
+
managerTimeline: iManagerTimeline<T>[];
|
|
25
|
+
collectionPermissions: iCollectionPermissions<T>;
|
|
26
|
+
collectionApprovals: iCollectionApproval<T>[];
|
|
27
|
+
standardsTimeline: iStandardsTimeline<T>[];
|
|
28
|
+
isArchivedTimeline: iIsArchivedTimeline<T>[];
|
|
29
|
+
defaultBalances: iUserBalanceStore<T>;
|
|
30
|
+
createdBy: string;
|
|
31
|
+
createdBlock: T;
|
|
32
|
+
createdTimestamp: T;
|
|
33
|
+
updateHistory: {
|
|
34
|
+
txHash: string;
|
|
35
|
+
block: T;
|
|
36
|
+
blockTimestamp: T;
|
|
37
|
+
}[];
|
|
38
|
+
aliasAddress: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class CollectionDoc<T extends NumberType> extends BaseNumberTypeClass implements iCollectionDoc<T>, NumberTypeConvertible<CollectionDoc<T>, T> {
|
|
41
|
+
_docId: string;
|
|
42
|
+
_id?: string;
|
|
20
43
|
collectionId: T;
|
|
21
44
|
collectionMetadataTimeline: CollectionMetadataTimeline<T>[];
|
|
22
45
|
badgeMetadataTimeline: BadgeMetadataTimeline<T>[];
|
|
@@ -38,22 +61,35 @@ export interface CollectionInfoBase<T extends NumberType> {
|
|
|
38
61
|
blockTimestamp: T;
|
|
39
62
|
}[];
|
|
40
63
|
aliasAddress: string;
|
|
64
|
+
constructor(data: iCollectionDoc<T>);
|
|
65
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): CollectionDoc<U>;
|
|
41
66
|
}
|
|
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> {
|
|
67
|
+
export interface iAccountDoc<T extends NumberType> extends Doc {
|
|
45
68
|
publicKey: string;
|
|
69
|
+
accountNumber: T;
|
|
46
70
|
pubKeyType: string;
|
|
47
71
|
cosmosAddress: string;
|
|
48
72
|
ethAddress: string;
|
|
49
73
|
solAddress: string;
|
|
50
74
|
btcAddress: string;
|
|
75
|
+
sequence: T;
|
|
76
|
+
balance?: iCosmosCoin<T>;
|
|
77
|
+
}
|
|
78
|
+
export declare class AccountDoc<T extends NumberType> extends BaseNumberTypeClass implements iAccountDoc<T>, NumberTypeConvertible<AccountDoc<T>, T> {
|
|
79
|
+
_docId: string;
|
|
80
|
+
_id?: string;
|
|
81
|
+
publicKey: string;
|
|
51
82
|
accountNumber: T;
|
|
52
|
-
|
|
83
|
+
pubKeyType: string;
|
|
84
|
+
cosmosAddress: string;
|
|
85
|
+
ethAddress: string;
|
|
86
|
+
solAddress: string;
|
|
87
|
+
btcAddress: string;
|
|
88
|
+
sequence: T;
|
|
53
89
|
balance?: CosmosCoin<T>;
|
|
90
|
+
constructor(data: iAccountDoc<T>);
|
|
91
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AccountDoc<U>;
|
|
54
92
|
}
|
|
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
93
|
export interface CustomLink {
|
|
58
94
|
title: string;
|
|
59
95
|
url: string;
|
|
@@ -70,7 +106,48 @@ export interface CustomListPage {
|
|
|
70
106
|
description: string;
|
|
71
107
|
items: AddressListId[];
|
|
72
108
|
}
|
|
73
|
-
export interface
|
|
109
|
+
export interface iProfileDoc<T extends NumberType> extends Doc {
|
|
110
|
+
fetchedProfile?: boolean;
|
|
111
|
+
seenActivity?: T;
|
|
112
|
+
createdAt?: T;
|
|
113
|
+
discord?: string;
|
|
114
|
+
twitter?: string;
|
|
115
|
+
github?: string;
|
|
116
|
+
telegram?: string;
|
|
117
|
+
readme?: string;
|
|
118
|
+
customLinks?: CustomLink[];
|
|
119
|
+
hiddenBadges?: iBatchBadgeDetails<T>[];
|
|
120
|
+
hiddenLists?: string[];
|
|
121
|
+
customPages?: {
|
|
122
|
+
badges: CustomPage<T>[];
|
|
123
|
+
lists: CustomListPage[];
|
|
124
|
+
};
|
|
125
|
+
watchlists?: {
|
|
126
|
+
badges: CustomPage<T>[];
|
|
127
|
+
lists: CustomListPage[];
|
|
128
|
+
};
|
|
129
|
+
profilePicUrl?: string;
|
|
130
|
+
username?: string;
|
|
131
|
+
latestSignedInChain?: SupportedChain;
|
|
132
|
+
solAddress?: string;
|
|
133
|
+
notifications?: {
|
|
134
|
+
email?: string;
|
|
135
|
+
emailVerification?: {
|
|
136
|
+
verified?: boolean;
|
|
137
|
+
token?: string;
|
|
138
|
+
expiry?: T;
|
|
139
|
+
antiPhishingCode?: string;
|
|
140
|
+
};
|
|
141
|
+
preferences?: {
|
|
142
|
+
listActivity?: boolean;
|
|
143
|
+
transferActivity?: boolean;
|
|
144
|
+
claimAlerts?: boolean;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
export declare class ProfileDoc<T extends NumberType> extends BaseNumberTypeClass implements iProfileDoc<T>, NumberTypeConvertible<ProfileDoc<T>, T> {
|
|
149
|
+
_docId: string;
|
|
150
|
+
_id?: string;
|
|
74
151
|
fetchedProfile?: boolean;
|
|
75
152
|
seenActivity?: T;
|
|
76
153
|
createdAt?: T;
|
|
@@ -108,13 +185,27 @@ export interface ProfileInfoBase<T extends NumberType> {
|
|
|
108
185
|
claimAlerts?: boolean;
|
|
109
186
|
};
|
|
110
187
|
};
|
|
188
|
+
constructor(data: iProfileDoc<T>);
|
|
189
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ProfileDoc<U>;
|
|
111
190
|
}
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
191
|
+
export interface iQueueDoc<T extends NumberType> extends Doc {
|
|
192
|
+
uri: string;
|
|
193
|
+
collectionId: T;
|
|
194
|
+
loadBalanceId: T;
|
|
195
|
+
refreshRequestTime: T;
|
|
196
|
+
numRetries: T;
|
|
197
|
+
lastFetchedAt?: T;
|
|
198
|
+
error?: string;
|
|
199
|
+
deletedAt?: T;
|
|
200
|
+
nextFetchTime?: T;
|
|
201
|
+
emailMessage?: string;
|
|
202
|
+
recipientAddress?: string;
|
|
203
|
+
activityDocId?: string;
|
|
204
|
+
notificationType?: string;
|
|
116
205
|
}
|
|
117
|
-
export
|
|
206
|
+
export declare class QueueDoc<T extends NumberType> extends BaseNumberTypeClass implements iQueueDoc<T>, NumberTypeConvertible<QueueDoc<T>, T> {
|
|
207
|
+
_docId: string;
|
|
208
|
+
_id?: string;
|
|
118
209
|
uri: string;
|
|
119
210
|
collectionId: T;
|
|
120
211
|
loadBalanceId: T;
|
|
@@ -128,36 +219,55 @@ export interface QueueInfoBase<T extends NumberType> {
|
|
|
128
219
|
recipientAddress?: string;
|
|
129
220
|
activityDocId?: string;
|
|
130
221
|
notificationType?: string;
|
|
222
|
+
constructor(data: iQueueDoc<T>);
|
|
223
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): QueueDoc<U>;
|
|
224
|
+
}
|
|
225
|
+
export interface IndexerStatus {
|
|
226
|
+
status: StatusDoc<bigint>;
|
|
131
227
|
}
|
|
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> {
|
|
228
|
+
export interface iLatestBlockStatus<T extends NumberType> {
|
|
135
229
|
height: T;
|
|
136
230
|
txIndex: T;
|
|
137
231
|
timestamp: T;
|
|
138
232
|
}
|
|
139
|
-
export declare
|
|
140
|
-
|
|
141
|
-
|
|
233
|
+
export declare class LatestBlockStatus<T extends NumberType> extends BaseNumberTypeClass implements iLatestBlockStatus<T>, NumberTypeConvertible<LatestBlockStatus<T>, T> {
|
|
234
|
+
height: T;
|
|
235
|
+
txIndex: T;
|
|
236
|
+
timestamp: T;
|
|
237
|
+
constructor(data: iLatestBlockStatus<T>);
|
|
238
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): LatestBlockStatus<U>;
|
|
239
|
+
}
|
|
240
|
+
export interface iStatusDoc<T extends NumberType> extends Doc {
|
|
241
|
+
block: iLatestBlockStatus<T>;
|
|
142
242
|
nextCollectionId: T;
|
|
143
243
|
gasPrice: number;
|
|
244
|
+
lastXGasAmounts: T[];
|
|
144
245
|
lastXGasLimits: T[];
|
|
246
|
+
}
|
|
247
|
+
export declare class StatusDoc<T extends NumberType> extends BaseNumberTypeClass implements iStatusDoc<T>, NumberTypeConvertible<StatusDoc<T>, T> {
|
|
248
|
+
_docId: string;
|
|
249
|
+
_id?: string;
|
|
250
|
+
block: LatestBlockStatus<T>;
|
|
251
|
+
nextCollectionId: T;
|
|
252
|
+
gasPrice: number;
|
|
145
253
|
lastXGasAmounts: T[];
|
|
254
|
+
lastXGasLimits: T[];
|
|
255
|
+
constructor(data: iStatusDoc<T>);
|
|
256
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): StatusDoc<U>;
|
|
146
257
|
}
|
|
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> {
|
|
258
|
+
export interface iAddressListEditKey<T extends NumberType> {
|
|
150
259
|
key: string;
|
|
151
260
|
expirationDate: T;
|
|
152
261
|
mustSignIn?: boolean;
|
|
153
262
|
}
|
|
154
|
-
export
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
263
|
+
export declare class AddressListEditKey<T extends NumberType> extends BaseNumberTypeClass implements iAddressListEditKey<T>, NumberTypeConvertible<AddressListEditKey<T>, T> {
|
|
264
|
+
key: string;
|
|
265
|
+
expirationDate: T;
|
|
266
|
+
mustSignIn?: boolean;
|
|
267
|
+
constructor(data: iAddressListEditKey<T>);
|
|
268
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AddressListEditKey<U>;
|
|
158
269
|
}
|
|
159
|
-
export
|
|
160
|
-
export interface AddressListInfoBase<T extends NumberType> extends AddressList {
|
|
270
|
+
export interface iAddressListDoc<T extends NumberType> extends iAddressList, Doc {
|
|
161
271
|
createdBy: string;
|
|
162
272
|
updateHistory: {
|
|
163
273
|
txHash: string;
|
|
@@ -166,43 +276,123 @@ export interface AddressListInfoBase<T extends NumberType> extends AddressList {
|
|
|
166
276
|
}[];
|
|
167
277
|
createdBlock: T;
|
|
168
278
|
lastUpdated: T;
|
|
279
|
+
nsfw?: {
|
|
280
|
+
reason: string;
|
|
281
|
+
};
|
|
282
|
+
reported?: {
|
|
283
|
+
reason: string;
|
|
284
|
+
};
|
|
169
285
|
private?: boolean;
|
|
170
286
|
viewableWithLink?: boolean;
|
|
171
|
-
editKeys?:
|
|
287
|
+
editKeys?: iAddressListEditKey<T>[];
|
|
288
|
+
}
|
|
289
|
+
export declare class AddressListDoc<T extends NumberType> extends AddressList implements NumberTypeConvertible<AddressListDoc<T>, T>, iAddressListDoc<T> {
|
|
290
|
+
_docId: string;
|
|
291
|
+
_id?: string;
|
|
292
|
+
createdBy: string;
|
|
293
|
+
updateHistory: {
|
|
294
|
+
txHash: string;
|
|
295
|
+
block: T;
|
|
296
|
+
blockTimestamp: T;
|
|
297
|
+
}[];
|
|
298
|
+
createdBlock: T;
|
|
299
|
+
lastUpdated: T;
|
|
172
300
|
nsfw?: {
|
|
173
301
|
reason: string;
|
|
174
302
|
};
|
|
175
303
|
reported?: {
|
|
176
304
|
reason: string;
|
|
177
305
|
};
|
|
306
|
+
private?: boolean;
|
|
307
|
+
viewableWithLink?: boolean;
|
|
308
|
+
editKeys?: AddressListEditKey<T>[];
|
|
309
|
+
constructor(data: iAddressListDoc<T>);
|
|
310
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AddressListDoc<U>;
|
|
178
311
|
}
|
|
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> {
|
|
312
|
+
export interface iBalanceDoc<T extends NumberType> extends iUserBalanceStore<T>, Doc {
|
|
183
313
|
collectionId: T;
|
|
184
314
|
cosmosAddress: string;
|
|
185
315
|
onChain: boolean;
|
|
186
316
|
uri?: string;
|
|
187
317
|
fetchedAt?: T;
|
|
188
318
|
fetchedAtBlock?: T;
|
|
319
|
+
isPermanent?: boolean;
|
|
189
320
|
contentHash?: string;
|
|
321
|
+
updateHistory: {
|
|
322
|
+
txHash: string;
|
|
323
|
+
block: T;
|
|
324
|
+
blockTimestamp: T;
|
|
325
|
+
}[];
|
|
326
|
+
}
|
|
327
|
+
export declare function convertClassPropertiesToJson(obj: any): JsonObject;
|
|
328
|
+
export declare class BalanceDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<BalanceDoc<T>, T>, iBalanceDoc<T> {
|
|
329
|
+
_docId: string;
|
|
330
|
+
_id?: string;
|
|
331
|
+
collectionId: T;
|
|
332
|
+
cosmosAddress: string;
|
|
333
|
+
onChain: boolean;
|
|
334
|
+
uri?: string;
|
|
335
|
+
fetchedAt?: T;
|
|
336
|
+
fetchedAtBlock?: T;
|
|
190
337
|
isPermanent?: boolean;
|
|
338
|
+
contentHash?: string;
|
|
191
339
|
updateHistory: {
|
|
192
340
|
txHash: string;
|
|
193
341
|
block: T;
|
|
194
342
|
blockTimestamp: T;
|
|
195
343
|
}[];
|
|
344
|
+
balances: Balance<T>[];
|
|
345
|
+
incomingApprovals: UserIncomingApproval<T>[];
|
|
346
|
+
outgoingApprovals: UserOutgoingApproval<T>[];
|
|
347
|
+
userPermissions: UserPermissions<T>;
|
|
348
|
+
autoApproveSelfInitiatedIncomingTransfers: boolean;
|
|
349
|
+
autoApproveSelfInitiatedOutgoingTransfers: boolean;
|
|
350
|
+
constructor(data: iBalanceDoc<T> & Doc & iUserBalanceStore<T>);
|
|
351
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BalanceDoc<U>;
|
|
352
|
+
}
|
|
353
|
+
export interface iBalanceDocWithDetails<T extends NumberType> extends iBalanceDoc<T> {
|
|
354
|
+
outgoingApprovals: UserOutgoingApprovalWithDetails<T>[];
|
|
355
|
+
incomingApprovals: UserIncomingApprovalWithDetails<T>[];
|
|
356
|
+
userPermissions: UserPermissionsWithDetails<T>;
|
|
196
357
|
}
|
|
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> {
|
|
358
|
+
export declare class BalanceDocWithDetails<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<BalanceDocWithDetails<T>, T>, iBalanceDocWithDetails<T> {
|
|
200
359
|
outgoingApprovals: UserOutgoingApprovalWithDetails<T>[];
|
|
201
360
|
incomingApprovals: UserIncomingApprovalWithDetails<T>[];
|
|
202
361
|
userPermissions: UserPermissionsWithDetails<T>;
|
|
362
|
+
_docId: string;
|
|
363
|
+
_id?: string;
|
|
364
|
+
collectionId: T;
|
|
365
|
+
cosmosAddress: string;
|
|
366
|
+
onChain: boolean;
|
|
367
|
+
uri?: string;
|
|
368
|
+
fetchedAt?: T;
|
|
369
|
+
fetchedAtBlock?: T;
|
|
370
|
+
isPermanent?: boolean;
|
|
371
|
+
contentHash?: string;
|
|
372
|
+
updateHistory: {
|
|
373
|
+
txHash: string;
|
|
374
|
+
block: T;
|
|
375
|
+
blockTimestamp: T;
|
|
376
|
+
}[];
|
|
377
|
+
balances: Balance<T>[];
|
|
378
|
+
autoApproveSelfInitiatedIncomingTransfers: boolean;
|
|
379
|
+
autoApproveSelfInitiatedOutgoingTransfers: boolean;
|
|
380
|
+
constructor(data: iBalanceDocWithDetails<T>);
|
|
381
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BalanceDocWithDetails<U>;
|
|
203
382
|
}
|
|
204
|
-
export
|
|
205
|
-
|
|
383
|
+
export interface iPasswordDoc<T extends NumberType> extends Doc {
|
|
384
|
+
cid: string;
|
|
385
|
+
createdBy: string;
|
|
386
|
+
docClaimedByCollection: boolean;
|
|
387
|
+
collectionId: T;
|
|
388
|
+
claimedUsers: {
|
|
389
|
+
[cosmosAddress: string]: T;
|
|
390
|
+
};
|
|
391
|
+
challengeDetails?: iChallengeDetails<T>;
|
|
392
|
+
}
|
|
393
|
+
export declare class PasswordDoc<T extends NumberType> extends BaseNumberTypeClass implements iPasswordDoc<T>, NumberTypeConvertible<PasswordDoc<T>, T> {
|
|
394
|
+
_docId: string;
|
|
395
|
+
_id?: string;
|
|
206
396
|
cid: string;
|
|
207
397
|
createdBy: string;
|
|
208
398
|
docClaimedByCollection: boolean;
|
|
@@ -211,15 +401,24 @@ export interface PasswordInfoBase<T extends NumberType> {
|
|
|
211
401
|
[cosmosAddress: string]: T;
|
|
212
402
|
};
|
|
213
403
|
challengeDetails?: ChallengeDetails<T>;
|
|
404
|
+
constructor(data: iPasswordDoc<T>);
|
|
405
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): PasswordDoc<U>;
|
|
214
406
|
}
|
|
215
|
-
export type PasswordDoc<T extends NumberType> = PasswordInfoBase<T> & Doc;
|
|
216
|
-
export declare function convertPasswordDoc<T extends NumberType, U extends NumberType>(item: PasswordDoc<T>, convertFunction: (item: T) => U): PasswordDoc<U>;
|
|
217
407
|
export interface LeavesDetails {
|
|
218
408
|
leaves: string[];
|
|
219
409
|
isHashed: boolean;
|
|
220
410
|
preimages?: string[];
|
|
221
411
|
}
|
|
222
|
-
export interface
|
|
412
|
+
export interface iChallengeDetails<T extends NumberType> {
|
|
413
|
+
leavesDetails: LeavesDetails;
|
|
414
|
+
tree?: MerkleTree;
|
|
415
|
+
treeOptions?: MerkleTreeJsOptions;
|
|
416
|
+
numLeaves?: T;
|
|
417
|
+
currCode?: T;
|
|
418
|
+
hasPassword?: boolean;
|
|
419
|
+
password?: string;
|
|
420
|
+
}
|
|
421
|
+
export declare class ChallengeDetails<T extends NumberType> extends BaseNumberTypeClass implements iChallengeDetails<T>, NumberTypeConvertible<ChallengeDetails<T>, T> {
|
|
223
422
|
leavesDetails: LeavesDetails;
|
|
224
423
|
tree?: MerkleTree;
|
|
225
424
|
treeOptions?: MerkleTreeJsOptions;
|
|
@@ -227,84 +426,189 @@ export interface ChallengeDetails<T extends NumberType> {
|
|
|
227
426
|
currCode?: T;
|
|
228
427
|
hasPassword?: boolean;
|
|
229
428
|
password?: string;
|
|
429
|
+
constructor(data: iChallengeDetails<T>);
|
|
430
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ChallengeDetails<U>;
|
|
230
431
|
}
|
|
231
|
-
export
|
|
232
|
-
|
|
432
|
+
export interface iApprovalTrackerDoc<T extends NumberType> extends iAmountTrackerIdDetails<T>, Doc {
|
|
433
|
+
numTransfers: T;
|
|
434
|
+
amounts: iBalance<T>[];
|
|
435
|
+
}
|
|
436
|
+
export declare class ApprovalTrackerDoc<T extends NumberType> extends AmountTrackerIdDetails<T> implements NumberTypeConvertible<ApprovalTrackerDoc<T>, T>, iApprovalTrackerDoc<T>, Doc {
|
|
437
|
+
_docId: string;
|
|
438
|
+
_id?: string;
|
|
233
439
|
numTransfers: T;
|
|
234
440
|
amounts: Balance<T>[];
|
|
441
|
+
constructor(data: iApprovalTrackerDoc<T> & Doc & iAmountTrackerIdDetails<T>);
|
|
442
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ApprovalTrackerDoc<U>;
|
|
235
443
|
}
|
|
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> {
|
|
444
|
+
export interface iChallengeTrackerIdDetails<T extends NumberType> {
|
|
239
445
|
collectionId: T;
|
|
240
446
|
challengeId: string;
|
|
241
447
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
242
448
|
approverAddress: string;
|
|
243
449
|
}
|
|
244
|
-
export declare
|
|
245
|
-
export interface MerkleChallengeInfoBase<T extends NumberType> {
|
|
450
|
+
export declare class ChallengeTrackerIdDetails<T extends NumberType> extends BaseNumberTypeClass implements iChallengeTrackerIdDetails<T>, NumberTypeConvertible<ChallengeTrackerIdDetails<T>, T> {
|
|
246
451
|
collectionId: T;
|
|
247
452
|
challengeId: string;
|
|
248
453
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
249
454
|
approverAddress: string;
|
|
250
|
-
|
|
455
|
+
constructor(data: iChallengeTrackerIdDetails<T>);
|
|
456
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ChallengeTrackerIdDetails<U>;
|
|
251
457
|
}
|
|
252
|
-
export
|
|
253
|
-
export declare function convertMerkleChallengeDoc<T extends NumberType, U extends NumberType>(item: MerkleChallengeDoc<T>, convertFunction: (item: T) => U): MerkleChallengeDoc<U>;
|
|
254
|
-
export interface MerkleChallengeIdDetails<T extends NumberType> {
|
|
458
|
+
export interface iMerkleChallengeDoc<T extends NumberType> extends Doc {
|
|
255
459
|
collectionId: T;
|
|
256
460
|
challengeId: string;
|
|
257
461
|
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
258
462
|
approverAddress: string;
|
|
463
|
+
usedLeafIndices: T[];
|
|
259
464
|
}
|
|
260
|
-
export declare
|
|
261
|
-
|
|
465
|
+
export declare class MerkleChallengeDoc<T extends NumberType> extends BaseNumberTypeClass implements iMerkleChallengeDoc<T>, NumberTypeConvertible<MerkleChallengeDoc<T>, T> {
|
|
466
|
+
_docId: string;
|
|
467
|
+
_id?: string;
|
|
468
|
+
collectionId: T;
|
|
469
|
+
challengeId: string;
|
|
470
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
471
|
+
approverAddress: string;
|
|
472
|
+
usedLeafIndices: T[];
|
|
473
|
+
constructor(data: iMerkleChallengeDoc<T>);
|
|
474
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): MerkleChallengeDoc<U>;
|
|
475
|
+
}
|
|
476
|
+
export interface iMerkleChallengeIdDetails<T extends NumberType> {
|
|
477
|
+
collectionId: T;
|
|
478
|
+
challengeId: string;
|
|
479
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
480
|
+
approverAddress: string;
|
|
481
|
+
usedLeafIndices: T[];
|
|
482
|
+
}
|
|
483
|
+
export declare class MerkleChallengeIdDetails<T extends NumberType> extends BaseNumberTypeClass implements iMerkleChallengeIdDetails<T>, NumberTypeConvertible<MerkleChallengeIdDetails<T>, T> {
|
|
484
|
+
collectionId: T;
|
|
485
|
+
challengeId: string;
|
|
486
|
+
challengeLevel: "collection" | "incoming" | "outgoing" | "";
|
|
487
|
+
approverAddress: string;
|
|
488
|
+
usedLeafIndices: T[];
|
|
489
|
+
constructor(data: iMerkleChallengeIdDetails<T>);
|
|
490
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): MerkleChallengeIdDetails<U>;
|
|
491
|
+
}
|
|
492
|
+
export declare class MerkleChallengeWithDetails<T extends NumberType> extends MerkleChallenge<T> implements NumberTypeConvertible<MerkleChallengeWithDetails<T>, T> {
|
|
262
493
|
details?: ApprovalInfoDetails<T>;
|
|
494
|
+
constructor(data: iMerkleChallenge<T> & {
|
|
495
|
+
details?: ApprovalInfoDetails<T>;
|
|
496
|
+
});
|
|
497
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): MerkleChallengeWithDetails<U>;
|
|
263
498
|
}
|
|
264
|
-
export
|
|
265
|
-
export interface ApprovalInfoDetails<T extends NumberType> {
|
|
499
|
+
export interface iApprovalInfoDetails<T extends NumberType> {
|
|
266
500
|
name: string;
|
|
267
501
|
description: string;
|
|
268
502
|
hasPassword?: boolean;
|
|
269
503
|
password?: string;
|
|
270
|
-
challengeDetails
|
|
504
|
+
challengeDetails?: iChallengeDetails<T>;
|
|
505
|
+
}
|
|
506
|
+
export declare class ApprovalInfoDetails<T extends NumberType> extends BaseNumberTypeClass implements iApprovalInfoDetails<T>, NumberTypeConvertible<ApprovalInfoDetails<T>, T> {
|
|
507
|
+
name: string;
|
|
508
|
+
description: string;
|
|
509
|
+
hasPassword?: boolean;
|
|
510
|
+
password?: string;
|
|
511
|
+
challengeDetails?: ChallengeDetails<T>;
|
|
512
|
+
constructor(data: iApprovalInfoDetails<T>);
|
|
513
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ApprovalInfoDetails<U>;
|
|
271
514
|
}
|
|
272
|
-
export
|
|
273
|
-
export interface FetchInfoBase<T extends NumberType> {
|
|
515
|
+
export interface iFetchDoc<T extends NumberType> extends Doc {
|
|
274
516
|
content?: Metadata<T> | ApprovalInfoDetails<T> | OffChainBalancesMap<T>;
|
|
275
517
|
fetchedAt: T;
|
|
276
518
|
fetchedAtBlock: T;
|
|
277
519
|
db: 'ApprovalInfo' | 'Metadata' | 'Balances';
|
|
278
520
|
isPermanent: boolean;
|
|
279
521
|
}
|
|
280
|
-
export
|
|
281
|
-
|
|
282
|
-
|
|
522
|
+
export declare class FetchDoc<T extends NumberType> extends BaseNumberTypeClass implements iFetchDoc<T>, NumberTypeConvertible<FetchDoc<T>, T> {
|
|
523
|
+
_docId: string;
|
|
524
|
+
_id?: string;
|
|
525
|
+
content?: Metadata<T> | ApprovalInfoDetails<T> | OffChainBalancesMap<T>;
|
|
526
|
+
fetchedAt: T;
|
|
527
|
+
fetchedAtBlock: T;
|
|
528
|
+
db: 'ApprovalInfo' | 'Metadata' | 'Balances';
|
|
529
|
+
isPermanent: boolean;
|
|
530
|
+
constructor(data: iFetchDoc<T>);
|
|
531
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): FetchDoc<U>;
|
|
532
|
+
}
|
|
533
|
+
export interface iRefreshDoc<T extends NumberType> extends Doc {
|
|
534
|
+
collectionId: T;
|
|
535
|
+
refreshRequestTime: T;
|
|
536
|
+
}
|
|
537
|
+
export declare class RefreshDoc<T extends NumberType> extends BaseNumberTypeClass implements iRefreshDoc<T>, NumberTypeConvertible<RefreshDoc<T>, T> {
|
|
538
|
+
_docId: string;
|
|
539
|
+
_id?: string;
|
|
283
540
|
collectionId: T;
|
|
284
541
|
refreshRequestTime: T;
|
|
542
|
+
constructor(data: iRefreshDoc<T>);
|
|
543
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): RefreshDoc<U>;
|
|
285
544
|
}
|
|
286
|
-
export type RefreshDoc<T extends NumberType> = RefreshInfoBase<T> & Doc;
|
|
287
|
-
export declare function convertRefreshDoc<T extends NumberType, U extends NumberType>(item: RefreshDoc<T>, convertFunction: (item: T) => U): RefreshDoc<U>;
|
|
288
545
|
export interface ErrorDoc {
|
|
289
546
|
_docId: string;
|
|
290
547
|
_id?: string;
|
|
291
548
|
error: string;
|
|
292
549
|
function: string;
|
|
293
|
-
docs?: DocsCache;
|
|
294
550
|
}
|
|
295
|
-
export interface
|
|
551
|
+
export interface iAirdropDoc<T extends NumberType> extends Doc {
|
|
296
552
|
airdropped: boolean;
|
|
297
553
|
timestamp: T;
|
|
298
554
|
hash?: string;
|
|
299
555
|
}
|
|
300
|
-
export
|
|
301
|
-
|
|
302
|
-
|
|
556
|
+
export declare class AirdropDoc<T extends NumberType> extends BaseNumberTypeClass implements iAirdropDoc<T>, NumberTypeConvertible<AirdropDoc<T>, T> {
|
|
557
|
+
_docId: string;
|
|
558
|
+
_id?: string;
|
|
559
|
+
airdropped: boolean;
|
|
560
|
+
timestamp: T;
|
|
561
|
+
hash?: string;
|
|
562
|
+
constructor(data: iAirdropDoc<T>);
|
|
563
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): AirdropDoc<U>;
|
|
564
|
+
}
|
|
565
|
+
export interface iIPFSTotalsDoc<T extends NumberType> extends Doc {
|
|
566
|
+
bytesUploaded: T;
|
|
567
|
+
}
|
|
568
|
+
export declare class IPFSTotalsDoc<T extends NumberType> extends BaseNumberTypeClass implements iIPFSTotalsDoc<T>, NumberTypeConvertible<IPFSTotalsDoc<T>, T> {
|
|
569
|
+
_docId: string;
|
|
570
|
+
_id?: string;
|
|
303
571
|
bytesUploaded: T;
|
|
572
|
+
constructor(data: iIPFSTotalsDoc<T>);
|
|
573
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): IPFSTotalsDoc<U>;
|
|
574
|
+
}
|
|
575
|
+
export interface iComplianceDoc<T extends NumberType> extends Doc {
|
|
576
|
+
badges: {
|
|
577
|
+
nsfw: {
|
|
578
|
+
collectionId: T;
|
|
579
|
+
badgeIds: UintRange<T>[];
|
|
580
|
+
reason: string;
|
|
581
|
+
}[];
|
|
582
|
+
reported: {
|
|
583
|
+
collectionId: T;
|
|
584
|
+
badgeIds: UintRange<T>[];
|
|
585
|
+
reason: string;
|
|
586
|
+
}[];
|
|
587
|
+
};
|
|
588
|
+
addressLists: {
|
|
589
|
+
nsfw: {
|
|
590
|
+
listId: AddressListId;
|
|
591
|
+
reason: string;
|
|
592
|
+
}[];
|
|
593
|
+
reported: {
|
|
594
|
+
listId: AddressListId;
|
|
595
|
+
reason: string;
|
|
596
|
+
}[];
|
|
597
|
+
};
|
|
598
|
+
accounts: {
|
|
599
|
+
nsfw: {
|
|
600
|
+
cosmosAddress: string;
|
|
601
|
+
reason: string;
|
|
602
|
+
}[];
|
|
603
|
+
reported: {
|
|
604
|
+
cosmosAddress: string;
|
|
605
|
+
reason: string;
|
|
606
|
+
}[];
|
|
607
|
+
};
|
|
304
608
|
}
|
|
305
|
-
export
|
|
306
|
-
|
|
307
|
-
|
|
609
|
+
export declare class ComplianceDoc<T extends NumberType> extends BaseNumberTypeClass implements iComplianceDoc<T>, NumberTypeConvertible<ComplianceDoc<T>, T> {
|
|
610
|
+
_docId: string;
|
|
611
|
+
_id?: string;
|
|
308
612
|
badges: {
|
|
309
613
|
nsfw: {
|
|
310
614
|
collectionId: T;
|
|
@@ -337,10 +641,22 @@ export interface ComplianceInfoBase<T extends NumberType> {
|
|
|
337
641
|
reason: string;
|
|
338
642
|
}[];
|
|
339
643
|
};
|
|
644
|
+
constructor(data: iComplianceDoc<T>);
|
|
645
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ComplianceDoc<U>;
|
|
646
|
+
}
|
|
647
|
+
export interface iBlockinAuthSignatureDoc<T extends NumberType> extends Doc {
|
|
648
|
+
signature: string;
|
|
649
|
+
name: string;
|
|
650
|
+
description: string;
|
|
651
|
+
image: string;
|
|
652
|
+
cosmosAddress: string;
|
|
653
|
+
params: ChallengeParams<T>;
|
|
654
|
+
createdAt: T;
|
|
655
|
+
deletedAt?: T;
|
|
340
656
|
}
|
|
341
|
-
export
|
|
342
|
-
|
|
343
|
-
|
|
657
|
+
export declare class BlockinAuthSignatureDoc<T extends NumberType> extends BaseNumberTypeClass implements iBlockinAuthSignatureDoc<T>, NumberTypeConvertible<BlockinAuthSignatureDoc<T>, T> {
|
|
658
|
+
_docId: string;
|
|
659
|
+
_id?: string;
|
|
344
660
|
signature: string;
|
|
345
661
|
name: string;
|
|
346
662
|
description: string;
|
|
@@ -349,123 +665,54 @@ export interface BlockinAuthSignatureInfoBase<T extends NumberType> {
|
|
|
349
665
|
params: ChallengeParams<T>;
|
|
350
666
|
createdAt: T;
|
|
351
667
|
deletedAt?: T;
|
|
668
|
+
constructor(data: iBlockinAuthSignatureDoc<T>);
|
|
669
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): BlockinAuthSignatureDoc<U>;
|
|
352
670
|
}
|
|
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> {
|
|
671
|
+
export interface iFollowDetailsDoc<T extends NumberType> extends Doc {
|
|
356
672
|
cosmosAddress: string;
|
|
673
|
+
followingCount: T;
|
|
674
|
+
followersCount: T;
|
|
675
|
+
followers: string[];
|
|
676
|
+
following: string[];
|
|
357
677
|
followingCollectionId: T;
|
|
678
|
+
}
|
|
679
|
+
export declare class FollowDetailsDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<FollowDetailsDoc<T>, T>, iFollowDetailsDoc<T> {
|
|
680
|
+
_docId: string;
|
|
681
|
+
_id?: string;
|
|
682
|
+
cosmosAddress: string;
|
|
358
683
|
followingCount: T;
|
|
359
684
|
followersCount: T;
|
|
360
685
|
followers: string[];
|
|
361
686
|
following: string[];
|
|
687
|
+
followingCollectionId: T;
|
|
688
|
+
constructor(data: iFollowDetailsDoc<T>);
|
|
689
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): FollowDetailsDoc<U>;
|
|
690
|
+
}
|
|
691
|
+
export interface iProtocolDoc<T extends NumberType> extends iProtocol, Doc {
|
|
692
|
+
}
|
|
693
|
+
export declare class ProtocolDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<ProtocolDoc<T>, T>, iProtocolDoc<T> {
|
|
694
|
+
_docId: string;
|
|
695
|
+
_id?: string;
|
|
696
|
+
name: string;
|
|
697
|
+
uri: string;
|
|
698
|
+
customData: string;
|
|
699
|
+
createdBy: string;
|
|
700
|
+
isFrozen: boolean;
|
|
701
|
+
constructor(data: iProtocolDoc<T>);
|
|
702
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): ProtocolDoc<U>;
|
|
362
703
|
}
|
|
363
|
-
export
|
|
364
|
-
|
|
365
|
-
|
|
704
|
+
export interface iUserProtocolCollectionsDoc<T extends NumberType> extends Doc {
|
|
705
|
+
protocols: {
|
|
706
|
+
[protocolName: string]: T;
|
|
707
|
+
};
|
|
366
708
|
}
|
|
367
|
-
export
|
|
368
|
-
|
|
369
|
-
|
|
709
|
+
export declare class UserProtocolCollectionsDoc<T extends NumberType> extends BaseNumberTypeClass implements NumberTypeConvertible<UserProtocolCollectionsDoc<T>, T>, iUserProtocolCollectionsDoc<T> {
|
|
710
|
+
_docId: string;
|
|
711
|
+
_id?: string;
|
|
370
712
|
protocols: {
|
|
371
713
|
[protocolName: string]: T;
|
|
372
714
|
};
|
|
715
|
+
constructor(data: iUserProtocolCollectionsDoc<T>);
|
|
716
|
+
convert<U extends NumberType>(convertFunction: (item: NumberType) => U): UserProtocolCollectionsDoc<U>;
|
|
373
717
|
}
|
|
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
718
|
//# sourceMappingURL=db.d.ts.map
|