decentralcardgame-cardchain-client-ts 0.0.31 → 0.0.33
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/lib/index.d.ts +78 -78
- package/lib/index.js +25 -25
- package/package.json +12 -1
- package/cardchain.cardchain/index.ts +0 -6
- package/cardchain.cardchain/module.ts +0 -1869
- package/cardchain.cardchain/registry.ts +0 -111
- package/cardchain.cardchain/rest.ts +0 -655
- package/cardchain.cardchain/types.ts +0 -63
- package/cardchain.featureflag/index.ts +0 -6
- package/cardchain.featureflag/module.ts +0 -165
- package/cardchain.featureflag/registry.ts +0 -11
- package/cardchain.featureflag/rest.ts +0 -256
- package/cardchain.featureflag/types.ts +0 -9
- package/client.ts +0 -164
- package/cosmos.auth.v1beta1/index.ts +0 -6
- package/cosmos.auth.v1beta1/module.ts +0 -136
- package/cosmos.auth.v1beta1/registry.ts +0 -9
- package/cosmos.auth.v1beta1/rest.ts +0 -403
- package/cosmos.auth.v1beta1/types.ts +0 -13
- package/cosmos.authz.v1beta1/index.ts +0 -6
- package/cosmos.authz.v1beta1/module.ts +0 -206
- package/cosmos.authz.v1beta1/registry.ts +0 -13
- package/cosmos.authz.v1beta1/rest.ts +0 -256
- package/cosmos.authz.v1beta1/types.ts +0 -17
- package/cosmos.bank.v1beta1/index.ts +0 -6
- package/cosmos.bank.v1beta1/module.ts +0 -247
- package/cosmos.bank.v1beta1/registry.ts +0 -15
- package/cosmos.bank.v1beta1/rest.ts +0 -466
- package/cosmos.bank.v1beta1/types.ts +0 -25
- package/cosmos.base.node.v1beta1/index.ts +0 -6
- package/cosmos.base.node.v1beta1/module.ts +0 -95
- package/cosmos.base.node.v1beta1/registry.ts +0 -7
- package/cosmos.base.node.v1beta1/rest.ts +0 -235
- package/cosmos.base.node.v1beta1/types.ts +0 -5
- package/cosmos.base.tendermint.v1beta1/index.ts +0 -6
- package/cosmos.base.tendermint.v1beta1/module.ts +0 -109
- package/cosmos.base.tendermint.v1beta1/registry.ts +0 -7
- package/cosmos.base.tendermint.v1beta1/rest.ts +0 -340
- package/cosmos.base.tendermint.v1beta1/types.ts +0 -19
- package/cosmos.circuit.v1/index.ts +0 -6
- package/cosmos.circuit.v1/module.ts +0 -198
- package/cosmos.circuit.v1/registry.ts +0 -13
- package/cosmos.circuit.v1/rest.ts +0 -256
- package/cosmos.circuit.v1/types.ts +0 -9
- package/cosmos.consensus.v1/index.ts +0 -6
- package/cosmos.consensus.v1/module.ts +0 -128
- package/cosmos.consensus.v1/registry.ts +0 -9
- package/cosmos.consensus.v1/rest.ts +0 -214
- package/cosmos.consensus.v1/types.ts +0 -5
- package/cosmos.crisis.v1beta1/index.ts +0 -6
- package/cosmos.crisis.v1beta1/module.ts +0 -161
- package/cosmos.crisis.v1beta1/registry.ts +0 -11
- package/cosmos.crisis.v1beta1/rest.ts +0 -193
- package/cosmos.crisis.v1beta1/types.ts +0 -5
- package/cosmos.distribution.v1beta1/index.ts +0 -6
- package/cosmos.distribution.v1beta1/module.ts +0 -364
- package/cosmos.distribution.v1beta1/registry.ts +0 -21
- package/cosmos.distribution.v1beta1/rest.ts +0 -403
- package/cosmos.distribution.v1beta1/types.ts +0 -43
- package/cosmos.evidence.v1beta1/index.ts +0 -6
- package/cosmos.evidence.v1beta1/module.ts +0 -130
- package/cosmos.evidence.v1beta1/registry.ts +0 -9
- package/cosmos.evidence.v1beta1/rest.ts +0 -235
- package/cosmos.evidence.v1beta1/types.ts +0 -7
- package/cosmos.feegrant.v1beta1/index.ts +0 -6
- package/cosmos.feegrant.v1beta1/module.ts +0 -202
- package/cosmos.feegrant.v1beta1/registry.ts +0 -13
- package/cosmos.feegrant.v1beta1/rest.ts +0 -256
- package/cosmos.feegrant.v1beta1/types.ts +0 -13
- package/cosmos.gov.v1/index.ts +0 -6
- package/cosmos.gov.v1/module.ts +0 -344
- package/cosmos.gov.v1/registry.ts +0 -21
- package/cosmos.gov.v1/rest.ts +0 -382
- package/cosmos.gov.v1/types.ts +0 -23
- package/cosmos.gov.v1beta1/index.ts +0 -6
- package/cosmos.gov.v1beta1/module.ts +0 -245
- package/cosmos.gov.v1beta1/registry.ts +0 -15
- package/cosmos.gov.v1beta1/rest.ts +0 -361
- package/cosmos.gov.v1beta1/types.ts +0 -23
- package/cosmos.group.v1/index.ts +0 -6
- package/cosmos.group.v1/module.ts +0 -599
- package/cosmos.group.v1/registry.ts +0 -35
- package/cosmos.group.v1/rest.ts +0 -487
- package/cosmos.group.v1/types.ts +0 -47
- package/cosmos.mint.v1beta1/index.ts +0 -6
- package/cosmos.mint.v1beta1/module.ts +0 -132
- package/cosmos.mint.v1beta1/registry.ts +0 -9
- package/cosmos.mint.v1beta1/rest.ts +0 -256
- package/cosmos.mint.v1beta1/types.ts +0 -9
- package/cosmos.nft.v1beta1/index.ts +0 -6
- package/cosmos.nft.v1beta1/module.ts +0 -140
- package/cosmos.nft.v1beta1/registry.ts +0 -9
- package/cosmos.nft.v1beta1/rest.ts +0 -340
- package/cosmos.nft.v1beta1/types.ts +0 -17
- package/cosmos.params.v1beta1/index.ts +0 -6
- package/cosmos.params.v1beta1/module.ts +0 -101
- package/cosmos.params.v1beta1/registry.ts +0 -7
- package/cosmos.params.v1beta1/rest.ts +0 -235
- package/cosmos.params.v1beta1/types.ts +0 -11
- package/cosmos.slashing.v1beta1/index.ts +0 -6
- package/cosmos.slashing.v1beta1/module.ts +0 -171
- package/cosmos.slashing.v1beta1/registry.ts +0 -11
- package/cosmos.slashing.v1beta1/rest.ts +0 -256
- package/cosmos.slashing.v1beta1/types.ts +0 -15
- package/cosmos.staking.v1beta1/index.ts +0 -6
- package/cosmos.staking.v1beta1/module.ts +0 -374
- package/cosmos.staking.v1beta1/registry.ts +0 -21
- package/cosmos.staking.v1beta1/rest.ts +0 -487
- package/cosmos.staking.v1beta1/types.ts +0 -53
- package/cosmos.tx.v1beta1/index.ts +0 -6
- package/cosmos.tx.v1beta1/module.ts +0 -121
- package/cosmos.tx.v1beta1/registry.ts +0 -7
- package/cosmos.tx.v1beta1/rest.ts +0 -382
- package/cosmos.tx.v1beta1/types.ts +0 -31
- package/cosmos.upgrade.v1beta1/index.ts +0 -6
- package/cosmos.upgrade.v1beta1/module.ts +0 -169
- package/cosmos.upgrade.v1beta1/registry.ts +0 -11
- package/cosmos.upgrade.v1beta1/rest.ts +0 -298
- package/cosmos.upgrade.v1beta1/types.ts +0 -13
- package/cosmos.vesting.v1beta1/index.ts +0 -6
- package/cosmos.vesting.v1beta1/module.ts +0 -206
- package/cosmos.vesting.v1beta1/registry.ts +0 -13
- package/cosmos.vesting.v1beta1/rest.ts +0 -193
- package/cosmos.vesting.v1beta1/types.ts +0 -17
- package/env.ts +0 -7
- package/helpers.ts +0 -32
- package/ibc.applications.fee.v1/index.ts +0 -6
- package/ibc.applications.fee.v1/module.ts +0 -247
- package/ibc.applications.fee.v1/registry.ts +0 -15
- package/ibc.applications.fee.v1/rest.ts +0 -403
- package/ibc.applications.fee.v1/types.ts +0 -25
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -6
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -196
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -13
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -235
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -7
- package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -6
- package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -165
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -11
- package/ibc.applications.interchain_accounts.host.v1/rest.ts +0 -214
- package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -9
- package/ibc.applications.transfer.v1/index.ts +0 -6
- package/ibc.applications.transfer.v1/module.ts +0 -169
- package/ibc.applications.transfer.v1/registry.ts +0 -11
- package/ibc.applications.transfer.v1/rest.ts +0 -319
- package/ibc.applications.transfer.v1/types.ts +0 -13
- package/ibc.core.channel.v1/index.ts +0 -6
- package/ibc.core.channel.v1/module.ts +0 -748
- package/ibc.core.channel.v1/registry.ts +0 -45
- package/ibc.core.channel.v1/rest.ts +0 -550
- package/ibc.core.channel.v1/types.ts +0 -31
- package/ibc.core.client.v1/index.ts +0 -6
- package/ibc.core.client.v1/module.ts +0 -344
- package/ibc.core.client.v1/registry.ts +0 -21
- package/ibc.core.client.v1/rest.ts +0 -403
- package/ibc.core.client.v1/types.ts +0 -23
- package/ibc.core.connection.v1/index.ts +0 -6
- package/ibc.core.connection.v1/module.ts +0 -274
- package/ibc.core.connection.v1/registry.ts +0 -17
- package/ibc.core.connection.v1/rest.ts +0 -319
- package/ibc.core.connection.v1/types.ts +0 -19
- package/index.ts +0 -81
- package/modules.ts +0 -5
- package/tsconfig.json +0 -13
- package/types/amino/amino.ts +0 -9
- package/types/capability/v1/capability.ts +0 -263
- package/types/capability/v1/genesis.ts +0 -220
- package/types/cardchain/cardchain/card.ts +0 -712
- package/types/cardchain/cardchain/card_content.ts +0 -116
- package/types/cardchain/cardchain/card_with_image.ts +0 -134
- package/types/cardchain/cardchain/council.ts +0 -502
- package/types/cardchain/cardchain/encounter.ts +0 -307
- package/types/cardchain/cardchain/encounter_with_image.ts +0 -119
- package/types/cardchain/cardchain/genesis.ts +0 -403
- package/types/cardchain/cardchain/image.ts +0 -122
- package/types/cardchain/cardchain/match.ts +0 -453
- package/types/cardchain/cardchain/module/module.ts +0 -99
- package/types/cardchain/cardchain/params.ts +0 -544
- package/types/cardchain/cardchain/query.ts +0 -3786
- package/types/cardchain/cardchain/running_average.ts +0 -116
- package/types/cardchain/cardchain/sell_offer.ts +0 -224
- package/types/cardchain/cardchain/server.ts +0 -144
- package/types/cardchain/cardchain/set.ts +0 -537
- package/types/cardchain/cardchain/set_with_artwork.ts +0 -142
- package/types/cardchain/cardchain/tx.ts +0 -8053
- package/types/cardchain/cardchain/user.ts +0 -955
- package/types/cardchain/cardchain/voting.ts +0 -328
- package/types/cardchain/cardchain/voting_results.ts +0 -227
- package/types/cardchain/cardchain/zealy.ts +0 -116
- package/types/cardchain/featureflag/flag.ts +0 -133
- package/types/cardchain/featureflag/genesis.ts +0 -226
- package/types/cardchain/featureflag/module/module.ts +0 -99
- package/types/cardchain/featureflag/params.ts +0 -78
- package/types/cardchain/featureflag/query.ts +0 -445
- package/types/cardchain/featureflag/tx.ts +0 -373
- package/types/cosmos/app/runtime/v1alpha1/module.ts +0 -389
- package/types/cosmos/app/v1alpha1/config.ts +0 -346
- package/types/cosmos/app/v1alpha1/module.ts +0 -348
- package/types/cosmos/app/v1alpha1/query.ts +0 -175
- package/types/cosmos/auth/module/v1/module.ts +0 -229
- package/types/cosmos/auth/v1beta1/auth.ts +0 -531
- package/types/cosmos/auth/v1beta1/genesis.ts +0 -125
- package/types/cosmos/auth/v1beta1/query.ts +0 -1564
- package/types/cosmos/auth/v1beta1/tx.ts +0 -213
- package/types/cosmos/authz/module/v1/module.ts +0 -78
- package/types/cosmos/authz/v1beta1/authz.ts +0 -411
- package/types/cosmos/authz/v1beta1/event.ts +0 -241
- package/types/cosmos/authz/v1beta1/genesis.ts +0 -101
- package/types/cosmos/authz/v1beta1/query.ts +0 -643
- package/types/cosmos/authz/v1beta1/tx.ts +0 -574
- package/types/cosmos/autocli/v1/options.ts +0 -1049
- package/types/cosmos/autocli/v1/query.ts +0 -291
- package/types/cosmos/bank/module/v1/module.ts +0 -150
- package/types/cosmos/bank/v1beta1/authz.ts +0 -129
- package/types/cosmos/bank/v1beta1/bank.ts +0 -775
- package/types/cosmos/bank/v1beta1/genesis.ts +0 -277
- package/types/cosmos/bank/v1beta1/query.ts +0 -2424
- package/types/cosmos/bank/v1beta1/tx.ts +0 -697
- package/types/cosmos/base/abci/v1beta1/abci.ts +0 -1469
- package/types/cosmos/base/node/v1beta1/query.ts +0 -485
- package/types/cosmos/base/query/v1beta1/pagination.ts +0 -336
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +0 -328
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2092
- package/types/cosmos/base/tendermint/v1beta1/query.ts +0 -2025
- package/types/cosmos/base/tendermint/v1beta1/types.ts +0 -548
- package/types/cosmos/base/v1beta1/coin.ts +0 -209
- package/types/cosmos/circuit/module/v1/module.ts +0 -99
- package/types/cosmos/circuit/v1/query.ts +0 -476
- package/types/cosmos/circuit/v1/tx.ts +0 -576
- package/types/cosmos/circuit/v1/types.ts +0 -362
- package/types/cosmos/consensus/module/v1/module.ts +0 -99
- package/types/cosmos/consensus/v1/query.ts +0 -181
- package/types/cosmos/consensus/v1/tx.ts +0 -271
- package/types/cosmos/crisis/module/v1/module.ts +0 -119
- package/types/cosmos/crisis/v1beta1/genesis.ts +0 -105
- package/types/cosmos/crisis/v1beta1/tx.ts +0 -367
- package/types/cosmos/crypto/ed25519/keys.ts +0 -195
- package/types/cosmos/crypto/hd/v1/hd.ts +0 -178
- package/types/cosmos/crypto/keyring/v1/record.ts +0 -440
- package/types/cosmos/crypto/multisig/keys.ts +0 -124
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -218
- package/types/cosmos/crypto/secp256k1/keys.ts +0 -192
- package/types/cosmos/crypto/secp256r1/keys.ts +0 -193
- package/types/cosmos/distribution/module/v1/module.ts +0 -118
- package/types/cosmos/distribution/v1beta1/distribution.ts +0 -1177
- package/types/cosmos/distribution/v1beta1/genesis.ts +0 -1028
- package/types/cosmos/distribution/v1beta1/query.ts +0 -1700
- package/types/cosmos/distribution/v1beta1/tx.ts +0 -1178
- package/types/cosmos/evidence/module/v1/module.ts +0 -78
- package/types/cosmos/evidence/v1beta1/evidence.ts +0 -194
- package/types/cosmos/evidence/v1beta1/genesis.ts +0 -98
- package/types/cosmos/evidence/v1beta1/query.ts +0 -414
- package/types/cosmos/evidence/v1beta1/tx.ts +0 -243
- package/types/cosmos/feegrant/module/v1/module.ts +0 -78
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +0 -513
- package/types/cosmos/feegrant/v1beta1/genesis.ts +0 -101
- package/types/cosmos/feegrant/v1beta1/query.ts +0 -597
- package/types/cosmos/feegrant/v1beta1/tx.ts +0 -496
- package/types/cosmos/genutil/module/v1/module.ts +0 -78
- package/types/cosmos/genutil/v1beta1/genesis.ts +0 -122
- package/types/cosmos/gov/module/v1/module.ts +0 -133
- package/types/cosmos/gov/v1/genesis.ts +0 -313
- package/types/cosmos/gov/v1/gov.ts +0 -1712
- package/types/cosmos/gov/v1/query.ts +0 -1605
- package/types/cosmos/gov/v1/tx.ts +0 -1387
- package/types/cosmos/gov/v1beta1/genesis.ts +0 -241
- package/types/cosmos/gov/v1beta1/gov.ts +0 -1273
- package/types/cosmos/gov/v1beta1/query.ts +0 -1441
- package/types/cosmos/gov/v1beta1/tx.ts +0 -738
- package/types/cosmos/group/module/v1/module.ts +0 -141
- package/types/cosmos/group/v1/events.ts +0 -795
- package/types/cosmos/group/v1/genesis.ts +0 -265
- package/types/cosmos/group/v1/query.ts +0 -2441
- package/types/cosmos/group/v1/tx.ts +0 -2631
- package/types/cosmos/group/v1/types.ts +0 -1850
- package/types/cosmos/ics23/v1/proofs.ts +0 -1731
- package/types/cosmos/mint/module/v1/module.ts +0 -118
- package/types/cosmos/mint/v1beta1/genesis.ts +0 -126
- package/types/cosmos/mint/v1beta1/mint.ts +0 -293
- package/types/cosmos/mint/v1beta1/query.ts +0 -453
- package/types/cosmos/mint/v1beta1/tx.ts +0 -213
- package/types/cosmos/msg/textual/v1/textual.ts +0 -9
- package/types/cosmos/msg/v1/msg.ts +0 -9
- package/types/cosmos/nft/module/v1/module.ts +0 -78
- package/types/cosmos/nft/v1beta1/event.ts +0 -359
- package/types/cosmos/nft/v1beta1/genesis.ts +0 -204
- package/types/cosmos/nft/v1beta1/nft.ts +0 -348
- package/types/cosmos/nft/v1beta1/query.ts +0 -1173
- package/types/cosmos/nft/v1beta1/tx.ts +0 -228
- package/types/cosmos/orm/module/v1alpha1/module.ts +0 -82
- package/types/cosmos/orm/query/v1alpha1/query.ts +0 -933
- package/types/cosmos/orm/v1/orm.ts +0 -453
- package/types/cosmos/orm/v1alpha1/schema.ts +0 -321
- package/types/cosmos/params/module/v1/module.ts +0 -78
- package/types/cosmos/params/v1beta1/params.ts +0 -236
- package/types/cosmos/params/v1beta1/query.ts +0 -439
- package/types/cosmos/query/v1/query.ts +0 -9
- package/types/cosmos/reflection/v1/reflection.ts +0 -179
- package/types/cosmos/slashing/module/v1/module.ts +0 -99
- package/types/cosmos/slashing/v1beta1/genesis.ts +0 -424
- package/types/cosmos/slashing/v1beta1/query.ts +0 -487
- package/types/cosmos/slashing/v1beta1/slashing.ts +0 -422
- package/types/cosmos/slashing/v1beta1/tx.ts +0 -336
- package/types/cosmos/staking/module/v1/module.ts +0 -161
- package/types/cosmos/staking/v1beta1/authz.ts +0 -306
- package/types/cosmos/staking/v1beta1/genesis.ts +0 -377
- package/types/cosmos/staking/v1beta1/query.ts +0 -2540
- package/types/cosmos/staking/v1beta1/staking.ts +0 -2576
- package/types/cosmos/staking/v1beta1/tx.ts +0 -1433
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +0 -205
- package/types/cosmos/store/snapshots/v1/snapshot.ts +0 -746
- package/types/cosmos/store/streaming/abci/grpc.ts +0 -367
- package/types/cosmos/store/v1beta1/commit_info.ts +0 -370
- package/types/cosmos/store/v1beta1/listening.ts +0 -301
- package/types/cosmos/tx/config/v1/config.ts +0 -125
- package/types/cosmos/tx/signing/v1beta1/signing.ts +0 -630
- package/types/cosmos/tx/v1beta1/service.ts +0 -1889
- package/types/cosmos/tx/v1beta1/tx.ts +0 -1657
- package/types/cosmos/upgrade/module/v1/module.ts +0 -99
- package/types/cosmos/upgrade/v1beta1/query.ts +0 -819
- package/types/cosmos/upgrade/v1beta1/tx.ts +0 -340
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +0 -525
- package/types/cosmos/vesting/module/v1/module.ts +0 -78
- package/types/cosmos/vesting/v1beta1/tx.ts +0 -640
- package/types/cosmos/vesting/v1beta1/vesting.ts +0 -624
- package/types/cosmos_proto/cosmos.ts +0 -307
- package/types/gogoproto/gogo.ts +0 -9
- package/types/google/api/annotations.ts +0 -9
- package/types/google/api/http.ts +0 -770
- package/types/google/protobuf/any.ts +0 -259
- package/types/google/protobuf/descriptor.ts +0 -6642
- package/types/google/protobuf/duration.ts +0 -200
- package/types/google/protobuf/timestamp.ts +0 -229
- package/types/ibc/applications/fee/v1/ack.ts +0 -166
- package/types/ibc/applications/fee/v1/fee.ts +0 -403
- package/types/ibc/applications/fee/v1/genesis.ts +0 -571
- package/types/ibc/applications/fee/v1/metadata.ts +0 -122
- package/types/ibc/applications/fee/v1/query.ts +0 -1757
- package/types/ibc/applications/fee/v1/tx.ts +0 -781
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -104
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -333
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -619
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -590
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +0 -242
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +0 -175
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -416
- package/types/ibc/applications/interchain_accounts/v1/account.ts +0 -120
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +0 -199
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +0 -264
- package/types/ibc/applications/transfer/v1/authz.ts +0 -254
- package/types/ibc/applications/transfer/v1/genesis.ts +0 -165
- package/types/ibc/applications/transfer/v1/query.ts +0 -934
- package/types/ibc/applications/transfer/v1/transfer.ts +0 -220
- package/types/ibc/applications/transfer/v1/tx.ts +0 -505
- package/types/ibc/applications/transfer/v2/packet.ts +0 -177
- package/types/ibc/core/channel/v1/channel.ts +0 -1358
- package/types/ibc/core/channel/v1/genesis.ts +0 -377
- package/types/ibc/core/channel/v1/query.ts +0 -3781
- package/types/ibc/core/channel/v1/tx.ts +0 -4424
- package/types/ibc/core/channel/v1/upgrade.ts +0 -348
- package/types/ibc/core/client/v1/client.ts +0 -753
- package/types/ibc/core/client/v1/genesis.ts +0 -423
- package/types/ibc/core/client/v1/query.ts +0 -1898
- package/types/ibc/core/client/v1/tx.ts +0 -1301
- package/types/ibc/core/commitment/v1/commitment.ts +0 -336
- package/types/ibc/core/connection/v1/connection.ts +0 -840
- package/types/ibc/core/connection/v1/genesis.ts +0 -172
- package/types/ibc/core/connection/v1/query.ts +0 -1243
- package/types/ibc/core/connection/v1/tx.ts +0 -1352
- package/types/ibc/core/types/v1/genesis.ts +0 -150
- package/types/ibc/lightclients/localhost/v2/localhost.ts +0 -102
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +0 -1765
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +0 -945
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +0 -853
- package/types/ibc/lightclients/wasm/v1/genesis.ts +0 -192
- package/types/ibc/lightclients/wasm/v1/query.ts +0 -377
- package/types/ibc/lightclients/wasm/v1/tx.ts +0 -550
- package/types/ibc/lightclients/wasm/v1/wasm.ts +0 -370
- package/types/tendermint/abci/types.ts +0 -6103
- package/types/tendermint/crypto/keys.ts +0 -142
- package/types/tendermint/crypto/proof.ts +0 -533
- package/types/tendermint/libs/bits/types.ts +0 -139
- package/types/tendermint/p2p/types.ts +0 -544
- package/types/tendermint/types/block.ts +0 -158
- package/types/tendermint/types/evidence.ts +0 -502
- package/types/tendermint/types/params.ts +0 -701
- package/types/tendermint/types/types.ts +0 -2133
- package/types/tendermint/types/validator.ts +0 -424
- package/types/tendermint/version/types.ts +0 -218
- package/types.d.ts +0 -21
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.6.1
|
|
4
|
-
// protoc unknown
|
|
5
|
-
// source: cosmos/orm/v1/orm.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "cosmos.orm.v1";
|
|
11
|
-
|
|
12
|
-
/** TableDescriptor describes an ORM table. */
|
|
13
|
-
export interface TableDescriptor {
|
|
14
|
-
/** primary_key defines the primary key for the table. */
|
|
15
|
-
primaryKey:
|
|
16
|
-
| PrimaryKeyDescriptor
|
|
17
|
-
| undefined;
|
|
18
|
-
/** index defines one or more secondary indexes. */
|
|
19
|
-
index: SecondaryIndexDescriptor[];
|
|
20
|
-
/**
|
|
21
|
-
* id is a non-zero integer ID that must be unique within the
|
|
22
|
-
* tables and singletons in this file. It may be deprecated in the future when this
|
|
23
|
-
* can be auto-generated.
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/** PrimaryKeyDescriptor describes a table primary key. */
|
|
29
|
-
export interface PrimaryKeyDescriptor {
|
|
30
|
-
/**
|
|
31
|
-
* fields is a comma-separated list of fields in the primary key. Spaces are
|
|
32
|
-
* not allowed. Supported field types, their encodings, and any applicable constraints
|
|
33
|
-
* are described below.
|
|
34
|
-
* - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that
|
|
35
|
-
* is suitable for sorted iteration (not varint encoding). This type is
|
|
36
|
-
* well-suited for small integers.
|
|
37
|
-
* - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that
|
|
38
|
-
* is suitable for sorted iteration (not varint encoding). This type is
|
|
39
|
-
* well-suited for small integers such as auto-incrementing sequences.
|
|
40
|
-
* - fixed32, fixed64 are encoded as big-endian fixed width bytes and support
|
|
41
|
-
* sorted iteration. These types are well-suited for encoding fixed with
|
|
42
|
-
* decimals as integers.
|
|
43
|
-
* - string's are encoded as raw bytes in terminal key segments and null-terminated
|
|
44
|
-
* in non-terminal segments. Null characters are thus forbidden in strings.
|
|
45
|
-
* string fields support sorted iteration.
|
|
46
|
-
* - bytes are encoded as raw bytes in terminal segments and length-prefixed
|
|
47
|
-
* with a 32-bit unsigned varint in non-terminal segments.
|
|
48
|
-
* - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with
|
|
49
|
-
* an encoding that enables sorted iteration.
|
|
50
|
-
* - google.protobuf.Timestamp is encoded such that values with only seconds occupy 6 bytes,
|
|
51
|
-
* values including nanos occupy 9 bytes, and nil values occupy 1 byte. When iterating, nil
|
|
52
|
-
* values will always be ordered last. Seconds and nanos values must conform to the officially
|
|
53
|
-
* specified ranges of 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z and 0 to 999,999,999 respectively.
|
|
54
|
-
* - google.protobuf.Duration is encoded as 12 bytes using an encoding that enables sorted iteration.
|
|
55
|
-
* - enum fields are encoded using varint encoding and do not support sorted
|
|
56
|
-
* iteration.
|
|
57
|
-
* - bool fields are encoded as a single byte 0 or 1.
|
|
58
|
-
*
|
|
59
|
-
* All other fields types are unsupported in keys including repeated and
|
|
60
|
-
* oneof fields.
|
|
61
|
-
*
|
|
62
|
-
* Primary keys are prefixed by the varint encoded table id and the byte 0x0
|
|
63
|
-
* plus any additional prefix specified by the schema.
|
|
64
|
-
*/
|
|
65
|
-
fields: string;
|
|
66
|
-
/**
|
|
67
|
-
* auto_increment specifies that the primary key is generated by an
|
|
68
|
-
* auto-incrementing integer. If this is set to true fields must only
|
|
69
|
-
* contain one field of that is of type uint64.
|
|
70
|
-
*/
|
|
71
|
-
autoIncrement: boolean;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/** PrimaryKeyDescriptor describes a table secondary index. */
|
|
75
|
-
export interface SecondaryIndexDescriptor {
|
|
76
|
-
/**
|
|
77
|
-
* fields is a comma-separated list of fields in the index. The supported
|
|
78
|
-
* field types are the same as those for PrimaryKeyDescriptor.fields.
|
|
79
|
-
* Index keys are prefixed by the varint encoded table id and the varint
|
|
80
|
-
* encoded index id plus any additional prefix specified by the schema.
|
|
81
|
-
*
|
|
82
|
-
* In addition the field segments, non-unique index keys are suffixed with
|
|
83
|
-
* any additional primary key fields not present in the index fields so that the
|
|
84
|
-
* primary key can be reconstructed. Unique indexes instead of being suffixed
|
|
85
|
-
* store the remaining primary key fields in the value..
|
|
86
|
-
*/
|
|
87
|
-
fields: string;
|
|
88
|
-
/**
|
|
89
|
-
* id is a non-zero integer ID that must be unique within the indexes for this
|
|
90
|
-
* table and less than 32768. It may be deprecated in the future when this can
|
|
91
|
-
* be auto-generated.
|
|
92
|
-
*/
|
|
93
|
-
id: number;
|
|
94
|
-
/** unique specifies that this an unique index. */
|
|
95
|
-
unique: boolean;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/** TableDescriptor describes an ORM singleton table which has at most one instance. */
|
|
99
|
-
export interface SingletonDescriptor {
|
|
100
|
-
/**
|
|
101
|
-
* id is a non-zero integer ID that must be unique within the
|
|
102
|
-
* tables and singletons in this file. It may be deprecated in the future when this
|
|
103
|
-
* can be auto-generated.
|
|
104
|
-
*/
|
|
105
|
-
id: number;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function createBaseTableDescriptor(): TableDescriptor {
|
|
109
|
-
return { primaryKey: undefined, index: [], id: 0 };
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export const TableDescriptor: MessageFns<TableDescriptor> = {
|
|
113
|
-
encode(message: TableDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
114
|
-
if (message.primaryKey !== undefined) {
|
|
115
|
-
PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).join();
|
|
116
|
-
}
|
|
117
|
-
for (const v of message.index) {
|
|
118
|
-
SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).join();
|
|
119
|
-
}
|
|
120
|
-
if (message.id !== 0) {
|
|
121
|
-
writer.uint32(24).uint32(message.id);
|
|
122
|
-
}
|
|
123
|
-
return writer;
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TableDescriptor {
|
|
127
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
128
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
129
|
-
const message = createBaseTableDescriptor();
|
|
130
|
-
while (reader.pos < end) {
|
|
131
|
-
const tag = reader.uint32();
|
|
132
|
-
switch (tag >>> 3) {
|
|
133
|
-
case 1: {
|
|
134
|
-
if (tag !== 10) {
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32());
|
|
139
|
-
continue;
|
|
140
|
-
}
|
|
141
|
-
case 2: {
|
|
142
|
-
if (tag !== 18) {
|
|
143
|
-
break;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32()));
|
|
147
|
-
continue;
|
|
148
|
-
}
|
|
149
|
-
case 3: {
|
|
150
|
-
if (tag !== 24) {
|
|
151
|
-
break;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
message.id = reader.uint32();
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
reader.skip(tag & 7);
|
|
162
|
-
}
|
|
163
|
-
return message;
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
fromJSON(object: any): TableDescriptor {
|
|
167
|
-
return {
|
|
168
|
-
primaryKey: isSet(object.primaryKey) ? PrimaryKeyDescriptor.fromJSON(object.primaryKey) : undefined,
|
|
169
|
-
index: globalThis.Array.isArray(object?.index)
|
|
170
|
-
? object.index.map((e: any) => SecondaryIndexDescriptor.fromJSON(e))
|
|
171
|
-
: [],
|
|
172
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
173
|
-
};
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
toJSON(message: TableDescriptor): unknown {
|
|
177
|
-
const obj: any = {};
|
|
178
|
-
if (message.primaryKey !== undefined) {
|
|
179
|
-
obj.primaryKey = PrimaryKeyDescriptor.toJSON(message.primaryKey);
|
|
180
|
-
}
|
|
181
|
-
if (message.index?.length) {
|
|
182
|
-
obj.index = message.index.map((e) => SecondaryIndexDescriptor.toJSON(e));
|
|
183
|
-
}
|
|
184
|
-
if (message.id !== 0) {
|
|
185
|
-
obj.id = Math.round(message.id);
|
|
186
|
-
}
|
|
187
|
-
return obj;
|
|
188
|
-
},
|
|
189
|
-
|
|
190
|
-
create<I extends Exact<DeepPartial<TableDescriptor>, I>>(base?: I): TableDescriptor {
|
|
191
|
-
return TableDescriptor.fromPartial(base ?? ({} as any));
|
|
192
|
-
},
|
|
193
|
-
fromPartial<I extends Exact<DeepPartial<TableDescriptor>, I>>(object: I): TableDescriptor {
|
|
194
|
-
const message = createBaseTableDescriptor();
|
|
195
|
-
message.primaryKey = (object.primaryKey !== undefined && object.primaryKey !== null)
|
|
196
|
-
? PrimaryKeyDescriptor.fromPartial(object.primaryKey)
|
|
197
|
-
: undefined;
|
|
198
|
-
message.index = object.index?.map((e) => SecondaryIndexDescriptor.fromPartial(e)) || [];
|
|
199
|
-
message.id = object.id ?? 0;
|
|
200
|
-
return message;
|
|
201
|
-
},
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor {
|
|
205
|
-
return { fields: "", autoIncrement: false };
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export const PrimaryKeyDescriptor: MessageFns<PrimaryKeyDescriptor> = {
|
|
209
|
-
encode(message: PrimaryKeyDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
210
|
-
if (message.fields !== "") {
|
|
211
|
-
writer.uint32(10).string(message.fields);
|
|
212
|
-
}
|
|
213
|
-
if (message.autoIncrement !== false) {
|
|
214
|
-
writer.uint32(16).bool(message.autoIncrement);
|
|
215
|
-
}
|
|
216
|
-
return writer;
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PrimaryKeyDescriptor {
|
|
220
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
221
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
222
|
-
const message = createBasePrimaryKeyDescriptor();
|
|
223
|
-
while (reader.pos < end) {
|
|
224
|
-
const tag = reader.uint32();
|
|
225
|
-
switch (tag >>> 3) {
|
|
226
|
-
case 1: {
|
|
227
|
-
if (tag !== 10) {
|
|
228
|
-
break;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
message.fields = reader.string();
|
|
232
|
-
continue;
|
|
233
|
-
}
|
|
234
|
-
case 2: {
|
|
235
|
-
if (tag !== 16) {
|
|
236
|
-
break;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
message.autoIncrement = reader.bool();
|
|
240
|
-
continue;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
244
|
-
break;
|
|
245
|
-
}
|
|
246
|
-
reader.skip(tag & 7);
|
|
247
|
-
}
|
|
248
|
-
return message;
|
|
249
|
-
},
|
|
250
|
-
|
|
251
|
-
fromJSON(object: any): PrimaryKeyDescriptor {
|
|
252
|
-
return {
|
|
253
|
-
fields: isSet(object.fields) ? globalThis.String(object.fields) : "",
|
|
254
|
-
autoIncrement: isSet(object.autoIncrement) ? globalThis.Boolean(object.autoIncrement) : false,
|
|
255
|
-
};
|
|
256
|
-
},
|
|
257
|
-
|
|
258
|
-
toJSON(message: PrimaryKeyDescriptor): unknown {
|
|
259
|
-
const obj: any = {};
|
|
260
|
-
if (message.fields !== "") {
|
|
261
|
-
obj.fields = message.fields;
|
|
262
|
-
}
|
|
263
|
-
if (message.autoIncrement !== false) {
|
|
264
|
-
obj.autoIncrement = message.autoIncrement;
|
|
265
|
-
}
|
|
266
|
-
return obj;
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
create<I extends Exact<DeepPartial<PrimaryKeyDescriptor>, I>>(base?: I): PrimaryKeyDescriptor {
|
|
270
|
-
return PrimaryKeyDescriptor.fromPartial(base ?? ({} as any));
|
|
271
|
-
},
|
|
272
|
-
fromPartial<I extends Exact<DeepPartial<PrimaryKeyDescriptor>, I>>(object: I): PrimaryKeyDescriptor {
|
|
273
|
-
const message = createBasePrimaryKeyDescriptor();
|
|
274
|
-
message.fields = object.fields ?? "";
|
|
275
|
-
message.autoIncrement = object.autoIncrement ?? false;
|
|
276
|
-
return message;
|
|
277
|
-
},
|
|
278
|
-
};
|
|
279
|
-
|
|
280
|
-
function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor {
|
|
281
|
-
return { fields: "", id: 0, unique: false };
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export const SecondaryIndexDescriptor: MessageFns<SecondaryIndexDescriptor> = {
|
|
285
|
-
encode(message: SecondaryIndexDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
286
|
-
if (message.fields !== "") {
|
|
287
|
-
writer.uint32(10).string(message.fields);
|
|
288
|
-
}
|
|
289
|
-
if (message.id !== 0) {
|
|
290
|
-
writer.uint32(16).uint32(message.id);
|
|
291
|
-
}
|
|
292
|
-
if (message.unique !== false) {
|
|
293
|
-
writer.uint32(24).bool(message.unique);
|
|
294
|
-
}
|
|
295
|
-
return writer;
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SecondaryIndexDescriptor {
|
|
299
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
300
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
301
|
-
const message = createBaseSecondaryIndexDescriptor();
|
|
302
|
-
while (reader.pos < end) {
|
|
303
|
-
const tag = reader.uint32();
|
|
304
|
-
switch (tag >>> 3) {
|
|
305
|
-
case 1: {
|
|
306
|
-
if (tag !== 10) {
|
|
307
|
-
break;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
message.fields = reader.string();
|
|
311
|
-
continue;
|
|
312
|
-
}
|
|
313
|
-
case 2: {
|
|
314
|
-
if (tag !== 16) {
|
|
315
|
-
break;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
message.id = reader.uint32();
|
|
319
|
-
continue;
|
|
320
|
-
}
|
|
321
|
-
case 3: {
|
|
322
|
-
if (tag !== 24) {
|
|
323
|
-
break;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
message.unique = reader.bool();
|
|
327
|
-
continue;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
331
|
-
break;
|
|
332
|
-
}
|
|
333
|
-
reader.skip(tag & 7);
|
|
334
|
-
}
|
|
335
|
-
return message;
|
|
336
|
-
},
|
|
337
|
-
|
|
338
|
-
fromJSON(object: any): SecondaryIndexDescriptor {
|
|
339
|
-
return {
|
|
340
|
-
fields: isSet(object.fields) ? globalThis.String(object.fields) : "",
|
|
341
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
342
|
-
unique: isSet(object.unique) ? globalThis.Boolean(object.unique) : false,
|
|
343
|
-
};
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
toJSON(message: SecondaryIndexDescriptor): unknown {
|
|
347
|
-
const obj: any = {};
|
|
348
|
-
if (message.fields !== "") {
|
|
349
|
-
obj.fields = message.fields;
|
|
350
|
-
}
|
|
351
|
-
if (message.id !== 0) {
|
|
352
|
-
obj.id = Math.round(message.id);
|
|
353
|
-
}
|
|
354
|
-
if (message.unique !== false) {
|
|
355
|
-
obj.unique = message.unique;
|
|
356
|
-
}
|
|
357
|
-
return obj;
|
|
358
|
-
},
|
|
359
|
-
|
|
360
|
-
create<I extends Exact<DeepPartial<SecondaryIndexDescriptor>, I>>(base?: I): SecondaryIndexDescriptor {
|
|
361
|
-
return SecondaryIndexDescriptor.fromPartial(base ?? ({} as any));
|
|
362
|
-
},
|
|
363
|
-
fromPartial<I extends Exact<DeepPartial<SecondaryIndexDescriptor>, I>>(object: I): SecondaryIndexDescriptor {
|
|
364
|
-
const message = createBaseSecondaryIndexDescriptor();
|
|
365
|
-
message.fields = object.fields ?? "";
|
|
366
|
-
message.id = object.id ?? 0;
|
|
367
|
-
message.unique = object.unique ?? false;
|
|
368
|
-
return message;
|
|
369
|
-
},
|
|
370
|
-
};
|
|
371
|
-
|
|
372
|
-
function createBaseSingletonDescriptor(): SingletonDescriptor {
|
|
373
|
-
return { id: 0 };
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export const SingletonDescriptor: MessageFns<SingletonDescriptor> = {
|
|
377
|
-
encode(message: SingletonDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
378
|
-
if (message.id !== 0) {
|
|
379
|
-
writer.uint32(8).uint32(message.id);
|
|
380
|
-
}
|
|
381
|
-
return writer;
|
|
382
|
-
},
|
|
383
|
-
|
|
384
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SingletonDescriptor {
|
|
385
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
386
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
387
|
-
const message = createBaseSingletonDescriptor();
|
|
388
|
-
while (reader.pos < end) {
|
|
389
|
-
const tag = reader.uint32();
|
|
390
|
-
switch (tag >>> 3) {
|
|
391
|
-
case 1: {
|
|
392
|
-
if (tag !== 8) {
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
message.id = reader.uint32();
|
|
397
|
-
continue;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
401
|
-
break;
|
|
402
|
-
}
|
|
403
|
-
reader.skip(tag & 7);
|
|
404
|
-
}
|
|
405
|
-
return message;
|
|
406
|
-
},
|
|
407
|
-
|
|
408
|
-
fromJSON(object: any): SingletonDescriptor {
|
|
409
|
-
return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
|
|
410
|
-
},
|
|
411
|
-
|
|
412
|
-
toJSON(message: SingletonDescriptor): unknown {
|
|
413
|
-
const obj: any = {};
|
|
414
|
-
if (message.id !== 0) {
|
|
415
|
-
obj.id = Math.round(message.id);
|
|
416
|
-
}
|
|
417
|
-
return obj;
|
|
418
|
-
},
|
|
419
|
-
|
|
420
|
-
create<I extends Exact<DeepPartial<SingletonDescriptor>, I>>(base?: I): SingletonDescriptor {
|
|
421
|
-
return SingletonDescriptor.fromPartial(base ?? ({} as any));
|
|
422
|
-
},
|
|
423
|
-
fromPartial<I extends Exact<DeepPartial<SingletonDescriptor>, I>>(object: I): SingletonDescriptor {
|
|
424
|
-
const message = createBaseSingletonDescriptor();
|
|
425
|
-
message.id = object.id ?? 0;
|
|
426
|
-
return message;
|
|
427
|
-
},
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
431
|
-
|
|
432
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
433
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
434
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
435
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
436
|
-
: Partial<T>;
|
|
437
|
-
|
|
438
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
439
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
440
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
441
|
-
|
|
442
|
-
function isSet(value: any): boolean {
|
|
443
|
-
return value !== null && value !== undefined;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export interface MessageFns<T> {
|
|
447
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
448
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
449
|
-
fromJSON(object: any): T;
|
|
450
|
-
toJSON(message: T): unknown;
|
|
451
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
452
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
453
|
-
}
|