@bze/bzejs 0.0.9 → 0.0.10
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/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +15 -0
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/main/codegen/beezee/cointrunk/article.js +1 -1
- package/main/codegen/beezee/cointrunk/events.js +1 -1
- package/main/codegen/beezee/cointrunk/genesis.js +1 -1
- package/main/codegen/beezee/cointrunk/publisher.js +1 -1
- package/main/codegen/bze/bundle.js +34 -34
- package/main/codegen/confio/proofs.js +1145 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/bundle.js +213 -213
- package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/events.js +1 -1
- package/main/codegen/cosmos/group/v1/genesis.js +1 -1
- package/main/codegen/cosmos/group/v1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/tx.js +1 -7
- package/main/codegen/cosmos/group/v1/types.js +4 -38
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -10
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/main/codegen/cosmos_proto/bundle.js +2 -2
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +9 -9
- package/main/codegen/google/protobuf/descriptor.js +6 -63
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +82 -0
- package/main/codegen/ibc/applications/transfer/v1/query.js +291 -0
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +114 -0
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +75 -0
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +124 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +61 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.js +141 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +44 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +35 -0
- package/main/codegen/ibc/applications/transfer/v2/packet.js +83 -0
- package/main/codegen/ibc/bundle.js +116 -0
- package/main/codegen/ibc/client.js +67 -0
- package/main/codegen/ibc/core/channel/v1/channel.js +596 -0
- package/main/codegen/ibc/core/channel/v1/genesis.js +252 -0
- package/main/codegen/ibc/core/channel/v1/query.js +1749 -0
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +406 -0
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +204 -0
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +508 -0
- package/main/codegen/ibc/core/channel/v1/tx.js +1101 -0
- package/main/codegen/ibc/core/channel/v1/tx.registry.js +206 -0
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +125 -0
- package/main/codegen/ibc/core/client/v1/client.js +459 -0
- package/main/codegen/ibc/core/client/v1/genesis.js +250 -0
- package/main/codegen/ibc/core/client/v1/query.js +841 -0
- package/main/codegen/ibc/core/client/v1/query.lcd.js +263 -0
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +142 -0
- package/main/codegen/ibc/core/client/v1/tx.amino.js +148 -0
- package/main/codegen/ibc/core/client/v1/tx.js +411 -0
- package/main/codegen/ibc/core/client/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/commitment/v1/commitment.js +234 -0
- package/main/codegen/ibc/core/connection/v1/connection.js +532 -0
- package/main/codegen/ibc/core/connection/v1/genesis.js +102 -0
- package/main/codegen/ibc/core/connection/v1/query.js +615 -0
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +170 -0
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +100 -0
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +268 -0
- package/main/codegen/ibc/core/connection/v1/tx.js +568 -0
- package/main/codegen/ibc/core/connection/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/port/v1/query.js +133 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +45 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +69 -0
- package/main/codegen/ibc/lcd.js +341 -0
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +66 -0
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +434 -0
- package/main/codegen/ibc/rpc.query.js +280 -0
- package/main/codegen/ibc/rpc.tx.js +256 -0
- package/main/codegen/ics23/bundle.js +15 -0
- package/main/codegen/index.js +58 -25
- package/main/codegen/tendermint/abci/types.js +4 -33
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +2 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/module/codegen/beezee/cointrunk/article.js +1 -1
- package/module/codegen/beezee/cointrunk/events.js +1 -1
- package/module/codegen/beezee/cointrunk/genesis.js +1 -1
- package/module/codegen/beezee/cointrunk/publisher.js +1 -1
- package/module/codegen/bze/bundle.js +34 -34
- package/module/codegen/confio/proofs.js +1051 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/bundle.js +213 -213
- package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/events.js +1 -1
- package/module/codegen/cosmos/group/v1/genesis.js +1 -1
- package/module/codegen/cosmos/group/v1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/tx.js +1 -8
- package/module/codegen/cosmos/group/v1/types.js +4 -42
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -11
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -14
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -10
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -20
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -19
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/module/codegen/cosmos_proto/bundle.js +2 -2
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +9 -9
- package/module/codegen/google/protobuf/descriptor.js +6 -65
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +59 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +263 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +39 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +47 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +114 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +57 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +130 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +74 -0
- package/module/codegen/ibc/bundle.js +106 -0
- package/module/codegen/ibc/client.js +42 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +554 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +161 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1612 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +138 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +137 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +522 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1072 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +195 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +71 -0
- package/module/codegen/ibc/core/client/v1/client.js +418 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +191 -0
- package/module/codegen/ibc/core/client/v1/query.js +791 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +88 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +92 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +395 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +197 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +457 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +67 -0
- package/module/codegen/ibc/core/connection/v1/query.js +571 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +56 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +65 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +266 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +537 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/port/v1/query.js +123 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +60 -0
- package/module/codegen/ibc/lcd.js +123 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +395 -0
- package/module/codegen/ibc/rpc.query.js +87 -0
- package/module/codegen/ibc/rpc.tx.js +64 -0
- package/module/codegen/ics23/bundle.js +5 -0
- package/module/codegen/index.js +6 -3
- package/module/codegen/tendermint/abci/types.js +4 -33
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +3 -21
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +1 -1
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +3 -0
- package/src/codegen/beezee/burner/query.ts +0 -1
- package/src/codegen/beezee/burner/tx.amino.ts +3 -3
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
- package/src/codegen/beezee/cointrunk/article.ts +1 -1
- package/src/codegen/beezee/cointrunk/events.ts +1 -1
- package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
- package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
- package/src/codegen/beezee/cointrunk/query.ts +0 -1
- package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
- package/src/codegen/bze/bundle.ts +48 -48
- package/src/codegen/confio/proofs.ts +1451 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +0 -18
- package/src/codegen/cosmos/app/v1alpha1/module.ts +0 -67
- package/src/codegen/cosmos/app/v1alpha1/query.ts +0 -1
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/auth/v1beta1/query.ts +0 -7
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
- package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
- package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +9 -10
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
- package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +0 -2
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1 -6
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +0 -3
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1 -15
- package/src/codegen/cosmos/bundle.ts +328 -328
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +1 -10
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +0 -6
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +0 -1
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +0 -34
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +0 -8
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
- package/src/codegen/cosmos/gov/v1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
- package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/group/v1/events.ts +3 -16
- package/src/codegen/cosmos/group/v1/genesis.ts +1 -25
- package/src/codegen/cosmos/group/v1/query.ts +1 -61
- package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
- package/src/codegen/cosmos/group/v1/tx.ts +5 -121
- package/src/codegen/cosmos/group/v1/types.ts +8 -205
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +0 -14
- package/src/codegen/cosmos/mint/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +0 -22
- package/src/codegen/cosmos/nft/v1beta1/query.ts +0 -1
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/orm/v1/orm.ts +0 -71
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +2 -70
- package/src/codegen/cosmos/params/v1beta1/query.ts +0 -4
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +0 -20
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +1 -21
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
- package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -16
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
- package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
- package/src/codegen/cosmos_proto/bundle.ts +2 -2
- package/src/codegen/cosmos_proto/cosmos.ts +2 -37
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/api/http.ts +0 -66
- package/src/codegen/google/bundle.ts +13 -13
- package/src/codegen/google/protobuf/any.ts +0 -31
- package/src/codegen/google/protobuf/descriptor.ts +12 -638
- package/src/codegen/google/protobuf/duration.ts +1 -15
- package/src/codegen/google/protobuf/timestamp.ts +1 -13
- package/src/codegen/helpers.ts +3 -1
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +65 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +362 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +167 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +24 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +198 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +108 -0
- package/src/codegen/ibc/bundle.ts +137 -0
- package/src/codegen/ibc/client.ts +54 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +826 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2326 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +117 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1487 -0
- package/src/codegen/ibc/core/client/v1/client.ts +597 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +276 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +141 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1095 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +54 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +571 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +685 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +96 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +102 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +805 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +770 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/ibc/core/port/v1/query.ts +185 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +92 -0
- package/src/codegen/ibc/lcd.ts +125 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +79 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +585 -0
- package/src/codegen/ibc/rpc.query.ts +89 -0
- package/src/codegen/ibc/rpc.tx.ts +67 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +6 -3
- package/src/codegen/tendermint/abci/types.ts +8 -109
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/proof.ts +1 -4
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +0 -36
- package/src/codegen/tendermint/types/types.ts +6 -50
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
|
@@ -48,54 +48,7 @@ export enum FieldDescriptorProto_Type {
|
|
|
48
48
|
TYPE_SINT64 = 18,
|
|
49
49
|
UNRECOGNIZED = -1,
|
|
50
50
|
}
|
|
51
|
-
export
|
|
52
|
-
/**
|
|
53
|
-
* TYPE_DOUBLE - 0 is reserved for errors.
|
|
54
|
-
* Order is weird for historical reasons.
|
|
55
|
-
*/
|
|
56
|
-
TYPE_DOUBLE = 1,
|
|
57
|
-
TYPE_FLOAT = 2,
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
61
|
-
* negative values are likely.
|
|
62
|
-
*/
|
|
63
|
-
TYPE_INT64 = 3,
|
|
64
|
-
TYPE_UINT64 = 4,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
68
|
-
* negative values are likely.
|
|
69
|
-
*/
|
|
70
|
-
TYPE_INT32 = 5,
|
|
71
|
-
TYPE_FIXED64 = 6,
|
|
72
|
-
TYPE_FIXED32 = 7,
|
|
73
|
-
TYPE_BOOL = 8,
|
|
74
|
-
TYPE_STRING = 9,
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* TYPE_GROUP - Tag-delimited aggregate.
|
|
78
|
-
* Group type is deprecated and not supported in proto3. However, Proto3
|
|
79
|
-
* implementations should still be able to parse the group wire format and
|
|
80
|
-
* treat group fields as unknown fields.
|
|
81
|
-
*/
|
|
82
|
-
TYPE_GROUP = 10,
|
|
83
|
-
TYPE_MESSAGE = 11,
|
|
84
|
-
|
|
85
|
-
/** TYPE_BYTES - New in version 2. */
|
|
86
|
-
TYPE_BYTES = 12,
|
|
87
|
-
TYPE_UINT32 = 13,
|
|
88
|
-
TYPE_ENUM = 14,
|
|
89
|
-
TYPE_SFIXED32 = 15,
|
|
90
|
-
TYPE_SFIXED64 = 16,
|
|
91
|
-
|
|
92
|
-
/** TYPE_SINT32 - Uses ZigZag encoding. */
|
|
93
|
-
TYPE_SINT32 = 17,
|
|
94
|
-
|
|
95
|
-
/** TYPE_SINT64 - Uses ZigZag encoding. */
|
|
96
|
-
TYPE_SINT64 = 18,
|
|
97
|
-
UNRECOGNIZED = -1,
|
|
98
|
-
}
|
|
51
|
+
export const FieldDescriptorProto_TypeSDKType = FieldDescriptorProto_Type;
|
|
99
52
|
export function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type {
|
|
100
53
|
switch (object) {
|
|
101
54
|
case 1:
|
|
@@ -244,13 +197,7 @@ export enum FieldDescriptorProto_Label {
|
|
|
244
197
|
LABEL_REPEATED = 3,
|
|
245
198
|
UNRECOGNIZED = -1,
|
|
246
199
|
}
|
|
247
|
-
export
|
|
248
|
-
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
|
249
|
-
LABEL_OPTIONAL = 1,
|
|
250
|
-
LABEL_REQUIRED = 2,
|
|
251
|
-
LABEL_REPEATED = 3,
|
|
252
|
-
UNRECOGNIZED = -1,
|
|
253
|
-
}
|
|
200
|
+
export const FieldDescriptorProto_LabelSDKType = FieldDescriptorProto_Label;
|
|
254
201
|
export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label {
|
|
255
202
|
switch (object) {
|
|
256
203
|
case 1:
|
|
@@ -303,22 +250,7 @@ export enum FileOptions_OptimizeMode {
|
|
|
303
250
|
LITE_RUNTIME = 3,
|
|
304
251
|
UNRECOGNIZED = -1,
|
|
305
252
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
export enum FileOptions_OptimizeModeSDKType {
|
|
309
|
-
/**
|
|
310
|
-
* SPEED - Generate complete code for parsing, serialization,
|
|
311
|
-
* etc.
|
|
312
|
-
*/
|
|
313
|
-
SPEED = 1,
|
|
314
|
-
|
|
315
|
-
/** CODE_SIZE - Use ReflectionOps to implement these methods. */
|
|
316
|
-
CODE_SIZE = 2,
|
|
317
|
-
|
|
318
|
-
/** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
|
|
319
|
-
LITE_RUNTIME = 3,
|
|
320
|
-
UNRECOGNIZED = -1,
|
|
321
|
-
}
|
|
253
|
+
export const FileOptions_OptimizeModeSDKType = FileOptions_OptimizeMode;
|
|
322
254
|
export function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode {
|
|
323
255
|
switch (object) {
|
|
324
256
|
case 1:
|
|
@@ -362,13 +294,7 @@ export enum FieldOptions_CType {
|
|
|
362
294
|
STRING_PIECE = 2,
|
|
363
295
|
UNRECOGNIZED = -1,
|
|
364
296
|
}
|
|
365
|
-
export
|
|
366
|
-
/** STRING - Default mode. */
|
|
367
|
-
STRING = 0,
|
|
368
|
-
CORD = 1,
|
|
369
|
-
STRING_PIECE = 2,
|
|
370
|
-
UNRECOGNIZED = -1,
|
|
371
|
-
}
|
|
297
|
+
export const FieldOptions_CTypeSDKType = FieldOptions_CType;
|
|
372
298
|
export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType {
|
|
373
299
|
switch (object) {
|
|
374
300
|
case 0:
|
|
@@ -416,17 +342,7 @@ export enum FieldOptions_JSType {
|
|
|
416
342
|
JS_NUMBER = 2,
|
|
417
343
|
UNRECOGNIZED = -1,
|
|
418
344
|
}
|
|
419
|
-
export
|
|
420
|
-
/** JS_NORMAL - Use the default type. */
|
|
421
|
-
JS_NORMAL = 0,
|
|
422
|
-
|
|
423
|
-
/** JS_STRING - Use JavaScript strings. */
|
|
424
|
-
JS_STRING = 1,
|
|
425
|
-
|
|
426
|
-
/** JS_NUMBER - Use JavaScript numbers. */
|
|
427
|
-
JS_NUMBER = 2,
|
|
428
|
-
UNRECOGNIZED = -1,
|
|
429
|
-
}
|
|
345
|
+
export const FieldOptions_JSTypeSDKType = FieldOptions_JSType;
|
|
430
346
|
export function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType {
|
|
431
347
|
switch (object) {
|
|
432
348
|
case 0:
|
|
@@ -479,22 +395,7 @@ export enum MethodOptions_IdempotencyLevel {
|
|
|
479
395
|
IDEMPOTENT = 2,
|
|
480
396
|
UNRECOGNIZED = -1,
|
|
481
397
|
}
|
|
482
|
-
|
|
483
|
-
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
484
|
-
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
485
|
-
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
486
|
-
*/
|
|
487
|
-
|
|
488
|
-
export enum MethodOptions_IdempotencyLevelSDKType {
|
|
489
|
-
IDEMPOTENCY_UNKNOWN = 0,
|
|
490
|
-
|
|
491
|
-
/** NO_SIDE_EFFECTS - implies idempotent */
|
|
492
|
-
NO_SIDE_EFFECTS = 1,
|
|
493
|
-
|
|
494
|
-
/** IDEMPOTENT - idempotent, but may have side effects */
|
|
495
|
-
IDEMPOTENT = 2,
|
|
496
|
-
UNRECOGNIZED = -1,
|
|
497
|
-
}
|
|
398
|
+
export const MethodOptions_IdempotencyLevelSDKType = MethodOptions_IdempotencyLevel;
|
|
498
399
|
export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel {
|
|
499
400
|
switch (object) {
|
|
500
401
|
case 0:
|
|
@@ -590,41 +491,17 @@ export interface FileDescriptorProto {
|
|
|
590
491
|
/** Describes a complete .proto file. */
|
|
591
492
|
|
|
592
493
|
export interface FileDescriptorProtoSDKType {
|
|
593
|
-
/** file name, relative to root of source tree */
|
|
594
494
|
name: string;
|
|
595
495
|
package: string;
|
|
596
|
-
/** Names of files imported by this file. */
|
|
597
|
-
|
|
598
496
|
dependency: string[];
|
|
599
|
-
/** Indexes of the public imported files in the dependency list above. */
|
|
600
|
-
|
|
601
497
|
public_dependency: number[];
|
|
602
|
-
/**
|
|
603
|
-
* Indexes of the weak imported files in the dependency list.
|
|
604
|
-
* For Google-internal migration only. Do not use.
|
|
605
|
-
*/
|
|
606
|
-
|
|
607
498
|
weak_dependency: number[];
|
|
608
|
-
/** All top-level definitions in this file. */
|
|
609
|
-
|
|
610
499
|
message_type: DescriptorProtoSDKType[];
|
|
611
500
|
enum_type: EnumDescriptorProtoSDKType[];
|
|
612
501
|
service: ServiceDescriptorProtoSDKType[];
|
|
613
502
|
extension: FieldDescriptorProtoSDKType[];
|
|
614
503
|
options?: FileOptionsSDKType;
|
|
615
|
-
/**
|
|
616
|
-
* This field contains optional information about the original source code.
|
|
617
|
-
* You may safely remove this entire field without harming runtime
|
|
618
|
-
* functionality of the descriptors -- the information is needed only by
|
|
619
|
-
* development tools.
|
|
620
|
-
*/
|
|
621
|
-
|
|
622
504
|
source_code_info?: SourceCodeInfoSDKType;
|
|
623
|
-
/**
|
|
624
|
-
* The syntax of the proto file.
|
|
625
|
-
* The supported values are "proto2" and "proto3".
|
|
626
|
-
*/
|
|
627
|
-
|
|
628
505
|
syntax: string;
|
|
629
506
|
}
|
|
630
507
|
/** Describes a message type. */
|
|
@@ -658,11 +535,6 @@ export interface DescriptorProtoSDKType {
|
|
|
658
535
|
oneof_decl: OneofDescriptorProtoSDKType[];
|
|
659
536
|
options?: MessageOptionsSDKType;
|
|
660
537
|
reserved_range: DescriptorProto_ReservedRangeSDKType[];
|
|
661
|
-
/**
|
|
662
|
-
* Reserved field names, which may not be used by fields in the same message.
|
|
663
|
-
* A given name may only be reserved once.
|
|
664
|
-
*/
|
|
665
|
-
|
|
666
538
|
reserved_name: string[];
|
|
667
539
|
}
|
|
668
540
|
export interface DescriptorProto_ExtensionRange {
|
|
@@ -674,10 +546,7 @@ export interface DescriptorProto_ExtensionRange {
|
|
|
674
546
|
options?: ExtensionRangeOptions;
|
|
675
547
|
}
|
|
676
548
|
export interface DescriptorProto_ExtensionRangeSDKType {
|
|
677
|
-
/** Inclusive. */
|
|
678
549
|
start: number;
|
|
679
|
-
/** Exclusive. */
|
|
680
|
-
|
|
681
550
|
end: number;
|
|
682
551
|
options?: ExtensionRangeOptionsSDKType;
|
|
683
552
|
}
|
|
@@ -701,10 +570,7 @@ export interface DescriptorProto_ReservedRange {
|
|
|
701
570
|
*/
|
|
702
571
|
|
|
703
572
|
export interface DescriptorProto_ReservedRangeSDKType {
|
|
704
|
-
/** Inclusive. */
|
|
705
573
|
start: number;
|
|
706
|
-
/** Exclusive. */
|
|
707
|
-
|
|
708
574
|
end: number;
|
|
709
575
|
}
|
|
710
576
|
export interface ExtensionRangeOptions {
|
|
@@ -712,7 +578,6 @@ export interface ExtensionRangeOptions {
|
|
|
712
578
|
uninterpretedOption: UninterpretedOption[];
|
|
713
579
|
}
|
|
714
580
|
export interface ExtensionRangeOptionsSDKType {
|
|
715
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
716
581
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
717
582
|
}
|
|
718
583
|
/** Describes a field within a message. */
|
|
@@ -772,50 +637,12 @@ export interface FieldDescriptorProto {
|
|
|
772
637
|
export interface FieldDescriptorProtoSDKType {
|
|
773
638
|
name: string;
|
|
774
639
|
number: number;
|
|
775
|
-
label:
|
|
776
|
-
|
|
777
|
-
* If type_name is set, this need not be set. If both this and type_name
|
|
778
|
-
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
779
|
-
*/
|
|
780
|
-
|
|
781
|
-
type: FieldDescriptorProto_TypeSDKType;
|
|
782
|
-
/**
|
|
783
|
-
* For message and enum types, this is the name of the type. If the name
|
|
784
|
-
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
785
|
-
* rules are used to find the type (i.e. first the nested types within this
|
|
786
|
-
* message are searched, then within the parent, on up to the root
|
|
787
|
-
* namespace).
|
|
788
|
-
*/
|
|
789
|
-
|
|
640
|
+
label: FieldDescriptorProto_Label;
|
|
641
|
+
type: FieldDescriptorProto_Type;
|
|
790
642
|
type_name: string;
|
|
791
|
-
/**
|
|
792
|
-
* For extensions, this is the name of the type being extended. It is
|
|
793
|
-
* resolved in the same manner as type_name.
|
|
794
|
-
*/
|
|
795
|
-
|
|
796
643
|
extendee: string;
|
|
797
|
-
/**
|
|
798
|
-
* For numeric types, contains the original text representation of the value.
|
|
799
|
-
* For booleans, "true" or "false".
|
|
800
|
-
* For strings, contains the default text contents (not escaped in any way).
|
|
801
|
-
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
802
|
-
* TODO(kenton): Base-64 encode?
|
|
803
|
-
*/
|
|
804
|
-
|
|
805
644
|
default_value: string;
|
|
806
|
-
/**
|
|
807
|
-
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
808
|
-
* list. This field is a member of that oneof.
|
|
809
|
-
*/
|
|
810
|
-
|
|
811
645
|
oneof_index: number;
|
|
812
|
-
/**
|
|
813
|
-
* JSON name of this field. The value is set by protocol compiler. If the
|
|
814
|
-
* user has set a "json_name" option on this field, that option's value
|
|
815
|
-
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
816
|
-
* it to camelCase.
|
|
817
|
-
*/
|
|
818
|
-
|
|
819
646
|
json_name: string;
|
|
820
647
|
options?: FieldOptionsSDKType;
|
|
821
648
|
}
|
|
@@ -857,18 +684,7 @@ export interface EnumDescriptorProtoSDKType {
|
|
|
857
684
|
name: string;
|
|
858
685
|
value: EnumValueDescriptorProtoSDKType[];
|
|
859
686
|
options?: EnumOptionsSDKType;
|
|
860
|
-
/**
|
|
861
|
-
* Range of reserved numeric values. Reserved numeric values may not be used
|
|
862
|
-
* by enum values in the same enum declaration. Reserved ranges may not
|
|
863
|
-
* overlap.
|
|
864
|
-
*/
|
|
865
|
-
|
|
866
687
|
reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[];
|
|
867
|
-
/**
|
|
868
|
-
* Reserved enum value names, which may not be reused. A given name may only
|
|
869
|
-
* be reserved once.
|
|
870
|
-
*/
|
|
871
|
-
|
|
872
688
|
reserved_name: string[];
|
|
873
689
|
}
|
|
874
690
|
/**
|
|
@@ -897,10 +713,7 @@ export interface EnumDescriptorProto_EnumReservedRange {
|
|
|
897
713
|
*/
|
|
898
714
|
|
|
899
715
|
export interface EnumDescriptorProto_EnumReservedRangeSDKType {
|
|
900
|
-
/** Inclusive. */
|
|
901
716
|
start: number;
|
|
902
|
-
/** Inclusive. */
|
|
903
|
-
|
|
904
717
|
end: number;
|
|
905
718
|
}
|
|
906
719
|
/** Describes a value within an enum. */
|
|
@@ -954,19 +767,10 @@ export interface MethodDescriptorProto {
|
|
|
954
767
|
|
|
955
768
|
export interface MethodDescriptorProtoSDKType {
|
|
956
769
|
name: string;
|
|
957
|
-
/**
|
|
958
|
-
* Input and output type names. These are resolved in the same way as
|
|
959
|
-
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
960
|
-
*/
|
|
961
|
-
|
|
962
770
|
input_type: string;
|
|
963
771
|
output_type: string;
|
|
964
772
|
options?: MethodOptionsSDKType;
|
|
965
|
-
/** Identifies if client streams multiple client messages */
|
|
966
|
-
|
|
967
773
|
client_streaming: boolean;
|
|
968
|
-
/** Identifies if server streams multiple server messages */
|
|
969
|
-
|
|
970
774
|
server_streaming: boolean;
|
|
971
775
|
}
|
|
972
776
|
export interface FileOptions {
|
|
@@ -1104,137 +908,28 @@ export interface FileOptions {
|
|
|
1104
908
|
uninterpretedOption: UninterpretedOption[];
|
|
1105
909
|
}
|
|
1106
910
|
export interface FileOptionsSDKType {
|
|
1107
|
-
/**
|
|
1108
|
-
* Sets the Java package where classes generated from this .proto will be
|
|
1109
|
-
* placed. By default, the proto package is used, but this is often
|
|
1110
|
-
* inappropriate because proto packages do not normally start with backwards
|
|
1111
|
-
* domain names.
|
|
1112
|
-
*/
|
|
1113
911
|
java_package: string;
|
|
1114
|
-
/**
|
|
1115
|
-
* If set, all the classes from the .proto file are wrapped in a single
|
|
1116
|
-
* outer class with the given name. This applies to both Proto1
|
|
1117
|
-
* (equivalent to the old "--one_java_file" option) and Proto2 (where
|
|
1118
|
-
* a .proto always translates to a single class, but you may want to
|
|
1119
|
-
* explicitly choose the class name).
|
|
1120
|
-
*/
|
|
1121
|
-
|
|
1122
912
|
java_outer_classname: string;
|
|
1123
|
-
/**
|
|
1124
|
-
* If set true, then the Java code generator will generate a separate .java
|
|
1125
|
-
* file for each top-level message, enum, and service defined in the .proto
|
|
1126
|
-
* file. Thus, these types will *not* be nested inside the outer class
|
|
1127
|
-
* named by java_outer_classname. However, the outer class will still be
|
|
1128
|
-
* generated to contain the file's getDescriptor() method as well as any
|
|
1129
|
-
* top-level extensions defined in the file.
|
|
1130
|
-
*/
|
|
1131
|
-
|
|
1132
913
|
java_multiple_files: boolean;
|
|
1133
|
-
/** This option does nothing. */
|
|
1134
|
-
|
|
1135
914
|
/** @deprecated */
|
|
1136
915
|
|
|
1137
916
|
java_generate_equals_and_hash: boolean;
|
|
1138
|
-
/**
|
|
1139
|
-
* If set true, then the Java2 code generator will generate code that
|
|
1140
|
-
* throws an exception whenever an attempt is made to assign a non-UTF-8
|
|
1141
|
-
* byte sequence to a string field.
|
|
1142
|
-
* Message reflection will do the same.
|
|
1143
|
-
* However, an extension field still accepts non-UTF-8 byte sequences.
|
|
1144
|
-
* This option has no effect on when used with the lite runtime.
|
|
1145
|
-
*/
|
|
1146
|
-
|
|
1147
917
|
java_string_check_utf8: boolean;
|
|
1148
|
-
optimize_for:
|
|
1149
|
-
/**
|
|
1150
|
-
* Sets the Go package where structs generated from this .proto will be
|
|
1151
|
-
* placed. If omitted, the Go package will be derived from the following:
|
|
1152
|
-
* - The basename of the package import path, if provided.
|
|
1153
|
-
* - Otherwise, the package statement in the .proto file, if present.
|
|
1154
|
-
* - Otherwise, the basename of the .proto file, without extension.
|
|
1155
|
-
*/
|
|
1156
|
-
|
|
918
|
+
optimize_for: FileOptions_OptimizeMode;
|
|
1157
919
|
go_package: string;
|
|
1158
|
-
/**
|
|
1159
|
-
* Should generic services be generated in each language? "Generic" services
|
|
1160
|
-
* are not specific to any particular RPC system. They are generated by the
|
|
1161
|
-
* main code generators in each language (without additional plugins).
|
|
1162
|
-
* Generic services were the only kind of service generation supported by
|
|
1163
|
-
* early versions of google.protobuf.
|
|
1164
|
-
*
|
|
1165
|
-
* Generic services are now considered deprecated in favor of using plugins
|
|
1166
|
-
* that generate code specific to your particular RPC system. Therefore,
|
|
1167
|
-
* these default to false. Old code which depends on generic services should
|
|
1168
|
-
* explicitly set them to true.
|
|
1169
|
-
*/
|
|
1170
|
-
|
|
1171
920
|
cc_generic_services: boolean;
|
|
1172
921
|
java_generic_services: boolean;
|
|
1173
922
|
py_generic_services: boolean;
|
|
1174
923
|
php_generic_services: boolean;
|
|
1175
|
-
/**
|
|
1176
|
-
* Is this file deprecated?
|
|
1177
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1178
|
-
* for everything in the file, or it will be completely ignored; in the very
|
|
1179
|
-
* least, this is a formalization for deprecating files.
|
|
1180
|
-
*/
|
|
1181
|
-
|
|
1182
924
|
deprecated: boolean;
|
|
1183
|
-
/**
|
|
1184
|
-
* Enables the use of arenas for the proto messages in this file. This applies
|
|
1185
|
-
* only to generated classes for C++.
|
|
1186
|
-
*/
|
|
1187
|
-
|
|
1188
925
|
cc_enable_arenas: boolean;
|
|
1189
|
-
/**
|
|
1190
|
-
* Sets the objective c class prefix which is prepended to all objective c
|
|
1191
|
-
* generated classes from this .proto. There is no default.
|
|
1192
|
-
*/
|
|
1193
|
-
|
|
1194
926
|
objc_class_prefix: string;
|
|
1195
|
-
/** Namespace for generated classes; defaults to the package. */
|
|
1196
|
-
|
|
1197
927
|
csharp_namespace: string;
|
|
1198
|
-
/**
|
|
1199
|
-
* By default Swift generators will take the proto package and CamelCase it
|
|
1200
|
-
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
1201
|
-
* defined. When this options is provided, they will use this value instead
|
|
1202
|
-
* to prefix the types/symbols defined.
|
|
1203
|
-
*/
|
|
1204
|
-
|
|
1205
928
|
swift_prefix: string;
|
|
1206
|
-
/**
|
|
1207
|
-
* Sets the php class prefix which is prepended to all php generated classes
|
|
1208
|
-
* from this .proto. Default is empty.
|
|
1209
|
-
*/
|
|
1210
|
-
|
|
1211
929
|
php_class_prefix: string;
|
|
1212
|
-
/**
|
|
1213
|
-
* Use this option to change the namespace of php generated classes. Default
|
|
1214
|
-
* is empty. When this option is empty, the package name will be used for
|
|
1215
|
-
* determining the namespace.
|
|
1216
|
-
*/
|
|
1217
|
-
|
|
1218
930
|
php_namespace: string;
|
|
1219
|
-
/**
|
|
1220
|
-
* Use this option to change the namespace of php generated metadata classes.
|
|
1221
|
-
* Default is empty. When this option is empty, the proto file name will be
|
|
1222
|
-
* used for determining the namespace.
|
|
1223
|
-
*/
|
|
1224
|
-
|
|
1225
931
|
php_metadata_namespace: string;
|
|
1226
|
-
/**
|
|
1227
|
-
* Use this option to change the package of ruby generated classes. Default
|
|
1228
|
-
* is empty. When this option is not set, the package name will be used for
|
|
1229
|
-
* determining the ruby package.
|
|
1230
|
-
*/
|
|
1231
|
-
|
|
1232
932
|
ruby_package: string;
|
|
1233
|
-
/**
|
|
1234
|
-
* The parser stores options it doesn't recognize here.
|
|
1235
|
-
* See the documentation for the "Options" section above.
|
|
1236
|
-
*/
|
|
1237
|
-
|
|
1238
933
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1239
934
|
}
|
|
1240
935
|
export interface MessageOptions {
|
|
@@ -1304,69 +999,10 @@ export interface MessageOptions {
|
|
|
1304
999
|
uninterpretedOption: UninterpretedOption[];
|
|
1305
1000
|
}
|
|
1306
1001
|
export interface MessageOptionsSDKType {
|
|
1307
|
-
/**
|
|
1308
|
-
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
1309
|
-
* This is provided for backwards-compatibility with the MessageSet wire
|
|
1310
|
-
* format. You should not use this for any other reason: It's less
|
|
1311
|
-
* efficient, has fewer features, and is more complicated.
|
|
1312
|
-
*
|
|
1313
|
-
* The message must be defined exactly as follows:
|
|
1314
|
-
* message Foo {
|
|
1315
|
-
* option message_set_wire_format = true;
|
|
1316
|
-
* extensions 4 to max;
|
|
1317
|
-
* }
|
|
1318
|
-
* Note that the message cannot have any defined fields; MessageSets only
|
|
1319
|
-
* have extensions.
|
|
1320
|
-
*
|
|
1321
|
-
* All extensions of your type must be singular messages; e.g. they cannot
|
|
1322
|
-
* be int32s, enums, or repeated messages.
|
|
1323
|
-
*
|
|
1324
|
-
* Because this is an option, the above two restrictions are not enforced by
|
|
1325
|
-
* the protocol compiler.
|
|
1326
|
-
*/
|
|
1327
1002
|
message_set_wire_format: boolean;
|
|
1328
|
-
/**
|
|
1329
|
-
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
1330
|
-
* conflict with a field of the same name. This is meant to make migration
|
|
1331
|
-
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
1332
|
-
*/
|
|
1333
|
-
|
|
1334
1003
|
no_standard_descriptor_accessor: boolean;
|
|
1335
|
-
/**
|
|
1336
|
-
* Is this message deprecated?
|
|
1337
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1338
|
-
* for the message, or it will be completely ignored; in the very least,
|
|
1339
|
-
* this is a formalization for deprecating messages.
|
|
1340
|
-
*/
|
|
1341
|
-
|
|
1342
1004
|
deprecated: boolean;
|
|
1343
|
-
/**
|
|
1344
|
-
* Whether the message is an automatically generated map entry type for the
|
|
1345
|
-
* maps field.
|
|
1346
|
-
*
|
|
1347
|
-
* For maps fields:
|
|
1348
|
-
* map<KeyType, ValueType> map_field = 1;
|
|
1349
|
-
* The parsed descriptor looks like:
|
|
1350
|
-
* message MapFieldEntry {
|
|
1351
|
-
* option map_entry = true;
|
|
1352
|
-
* optional KeyType key = 1;
|
|
1353
|
-
* optional ValueType value = 2;
|
|
1354
|
-
* }
|
|
1355
|
-
* repeated MapFieldEntry map_field = 1;
|
|
1356
|
-
*
|
|
1357
|
-
* Implementations may choose not to generate the map_entry=true message, but
|
|
1358
|
-
* use a native map in the target language to hold the keys and values.
|
|
1359
|
-
* The reflection APIs in such implementations still need to work as
|
|
1360
|
-
* if the field is a repeated message field.
|
|
1361
|
-
*
|
|
1362
|
-
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
|
1363
|
-
* instead. The option should only be implicitly set by the proto compiler
|
|
1364
|
-
* parser.
|
|
1365
|
-
*/
|
|
1366
|
-
|
|
1367
1005
|
map_entry: boolean;
|
|
1368
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1369
|
-
|
|
1370
1006
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1371
1007
|
}
|
|
1372
1008
|
export interface FieldOptions {
|
|
@@ -1449,82 +1085,12 @@ export interface FieldOptions {
|
|
|
1449
1085
|
uninterpretedOption: UninterpretedOption[];
|
|
1450
1086
|
}
|
|
1451
1087
|
export interface FieldOptionsSDKType {
|
|
1452
|
-
|
|
1453
|
-
* The ctype option instructs the C++ code generator to use a different
|
|
1454
|
-
* representation of the field than it normally would. See the specific
|
|
1455
|
-
* options below. This option is not yet implemented in the open source
|
|
1456
|
-
* release -- sorry, we'll try to include it in a future version!
|
|
1457
|
-
*/
|
|
1458
|
-
ctype: FieldOptions_CTypeSDKType;
|
|
1459
|
-
/**
|
|
1460
|
-
* The packed option can be enabled for repeated primitive fields to enable
|
|
1461
|
-
* a more efficient representation on the wire. Rather than repeatedly
|
|
1462
|
-
* writing the tag and type for each element, the entire array is encoded as
|
|
1463
|
-
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
1464
|
-
* false will avoid using packed encoding.
|
|
1465
|
-
*/
|
|
1466
|
-
|
|
1088
|
+
ctype: FieldOptions_CType;
|
|
1467
1089
|
packed: boolean;
|
|
1468
|
-
|
|
1469
|
-
* The jstype option determines the JavaScript type used for values of the
|
|
1470
|
-
* field. The option is permitted only for 64 bit integral and fixed types
|
|
1471
|
-
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
|
1472
|
-
* is represented as JavaScript string, which avoids loss of precision that
|
|
1473
|
-
* can happen when a large value is converted to a floating point JavaScript.
|
|
1474
|
-
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
|
1475
|
-
* use the JavaScript "number" type. The behavior of the default option
|
|
1476
|
-
* JS_NORMAL is implementation dependent.
|
|
1477
|
-
*
|
|
1478
|
-
* This option is an enum to permit additional types to be added, e.g.
|
|
1479
|
-
* goog.math.Integer.
|
|
1480
|
-
*/
|
|
1481
|
-
|
|
1482
|
-
jstype: FieldOptions_JSTypeSDKType;
|
|
1483
|
-
/**
|
|
1484
|
-
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
1485
|
-
* fields. It means that when the outer message is initially parsed, the
|
|
1486
|
-
* inner message's contents will not be parsed but instead stored in encoded
|
|
1487
|
-
* form. The inner message will actually be parsed when it is first accessed.
|
|
1488
|
-
*
|
|
1489
|
-
* This is only a hint. Implementations are free to choose whether to use
|
|
1490
|
-
* eager or lazy parsing regardless of the value of this option. However,
|
|
1491
|
-
* setting this option true suggests that the protocol author believes that
|
|
1492
|
-
* using lazy parsing on this field is worth the additional bookkeeping
|
|
1493
|
-
* overhead typically needed to implement it.
|
|
1494
|
-
*
|
|
1495
|
-
* This option does not affect the public interface of any generated code;
|
|
1496
|
-
* all method signatures remain the same. Furthermore, thread-safety of the
|
|
1497
|
-
* interface is not affected by this option; const methods remain safe to
|
|
1498
|
-
* call from multiple threads concurrently, while non-const methods continue
|
|
1499
|
-
* to require exclusive access.
|
|
1500
|
-
*
|
|
1501
|
-
*
|
|
1502
|
-
* Note that implementations may choose not to check required fields within
|
|
1503
|
-
* a lazy sub-message. That is, calling IsInitialized() on the outer message
|
|
1504
|
-
* may return true even if the inner message has missing required fields.
|
|
1505
|
-
* This is necessary because otherwise the inner message would have to be
|
|
1506
|
-
* parsed in order to perform the check, defeating the purpose of lazy
|
|
1507
|
-
* parsing. An implementation which chooses not to check required fields
|
|
1508
|
-
* must be consistent about it. That is, for any particular sub-message, the
|
|
1509
|
-
* implementation must either *always* check its required fields, or *never*
|
|
1510
|
-
* check its required fields, regardless of whether or not the message has
|
|
1511
|
-
* been parsed.
|
|
1512
|
-
*/
|
|
1513
|
-
|
|
1090
|
+
jstype: FieldOptions_JSType;
|
|
1514
1091
|
lazy: boolean;
|
|
1515
|
-
/**
|
|
1516
|
-
* Is this field deprecated?
|
|
1517
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1518
|
-
* for accessors, or it will be completely ignored; in the very least, this
|
|
1519
|
-
* is a formalization for deprecating fields.
|
|
1520
|
-
*/
|
|
1521
|
-
|
|
1522
1092
|
deprecated: boolean;
|
|
1523
|
-
/** For Google-internal migration only. Do not use. */
|
|
1524
|
-
|
|
1525
1093
|
weak: boolean;
|
|
1526
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1527
|
-
|
|
1528
1094
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1529
1095
|
}
|
|
1530
1096
|
export interface OneofOptions {
|
|
@@ -1532,7 +1098,6 @@ export interface OneofOptions {
|
|
|
1532
1098
|
uninterpretedOption: UninterpretedOption[];
|
|
1533
1099
|
}
|
|
1534
1100
|
export interface OneofOptionsSDKType {
|
|
1535
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1536
1101
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1537
1102
|
}
|
|
1538
1103
|
export interface EnumOptions {
|
|
@@ -1554,21 +1119,8 @@ export interface EnumOptions {
|
|
|
1554
1119
|
uninterpretedOption: UninterpretedOption[];
|
|
1555
1120
|
}
|
|
1556
1121
|
export interface EnumOptionsSDKType {
|
|
1557
|
-
/**
|
|
1558
|
-
* Set this option to true to allow mapping different tag names to the same
|
|
1559
|
-
* value.
|
|
1560
|
-
*/
|
|
1561
1122
|
allow_alias: boolean;
|
|
1562
|
-
/**
|
|
1563
|
-
* Is this enum deprecated?
|
|
1564
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1565
|
-
* for the enum, or it will be completely ignored; in the very least, this
|
|
1566
|
-
* is a formalization for deprecating enums.
|
|
1567
|
-
*/
|
|
1568
|
-
|
|
1569
1123
|
deprecated: boolean;
|
|
1570
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1571
|
-
|
|
1572
1124
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1573
1125
|
}
|
|
1574
1126
|
export interface EnumValueOptions {
|
|
@@ -1584,15 +1136,7 @@ export interface EnumValueOptions {
|
|
|
1584
1136
|
uninterpretedOption: UninterpretedOption[];
|
|
1585
1137
|
}
|
|
1586
1138
|
export interface EnumValueOptionsSDKType {
|
|
1587
|
-
/**
|
|
1588
|
-
* Is this enum value deprecated?
|
|
1589
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1590
|
-
* for the enum value, or it will be completely ignored; in the very least,
|
|
1591
|
-
* this is a formalization for deprecating enum values.
|
|
1592
|
-
*/
|
|
1593
1139
|
deprecated: boolean;
|
|
1594
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1595
|
-
|
|
1596
1140
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1597
1141
|
}
|
|
1598
1142
|
export interface ServiceOptions {
|
|
@@ -1608,15 +1152,7 @@ export interface ServiceOptions {
|
|
|
1608
1152
|
uninterpretedOption: UninterpretedOption[];
|
|
1609
1153
|
}
|
|
1610
1154
|
export interface ServiceOptionsSDKType {
|
|
1611
|
-
/**
|
|
1612
|
-
* Is this service deprecated?
|
|
1613
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1614
|
-
* for the service, or it will be completely ignored; in the very least,
|
|
1615
|
-
* this is a formalization for deprecating services.
|
|
1616
|
-
*/
|
|
1617
1155
|
deprecated: boolean;
|
|
1618
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1619
|
-
|
|
1620
1156
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1621
1157
|
}
|
|
1622
1158
|
export interface MethodOptions {
|
|
@@ -1633,16 +1169,8 @@ export interface MethodOptions {
|
|
|
1633
1169
|
uninterpretedOption: UninterpretedOption[];
|
|
1634
1170
|
}
|
|
1635
1171
|
export interface MethodOptionsSDKType {
|
|
1636
|
-
/**
|
|
1637
|
-
* Is this method deprecated?
|
|
1638
|
-
* Depending on the target platform, this can emit Deprecated annotations
|
|
1639
|
-
* for the method, or it will be completely ignored; in the very least,
|
|
1640
|
-
* this is a formalization for deprecating methods.
|
|
1641
|
-
*/
|
|
1642
1172
|
deprecated: boolean;
|
|
1643
|
-
idempotency_level:
|
|
1644
|
-
/** The parser stores options it doesn't recognize here. See above. */
|
|
1645
|
-
|
|
1173
|
+
idempotency_level: MethodOptions_IdempotencyLevel;
|
|
1646
1174
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
|
1647
1175
|
}
|
|
1648
1176
|
/**
|
|
@@ -1679,11 +1207,6 @@ export interface UninterpretedOption {
|
|
|
1679
1207
|
|
|
1680
1208
|
export interface UninterpretedOptionSDKType {
|
|
1681
1209
|
name: UninterpretedOption_NamePartSDKType[];
|
|
1682
|
-
/**
|
|
1683
|
-
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
1684
|
-
* identified it as during parsing. Exactly one of these should be set.
|
|
1685
|
-
*/
|
|
1686
|
-
|
|
1687
1210
|
identifier_value: string;
|
|
1688
1211
|
positive_int_value: Long;
|
|
1689
1212
|
negative_int_value: Long;
|
|
@@ -1774,51 +1297,6 @@ export interface SourceCodeInfo {
|
|
|
1774
1297
|
*/
|
|
1775
1298
|
|
|
1776
1299
|
export interface SourceCodeInfoSDKType {
|
|
1777
|
-
/**
|
|
1778
|
-
* A Location identifies a piece of source code in a .proto file which
|
|
1779
|
-
* corresponds to a particular definition. This information is intended
|
|
1780
|
-
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
1781
|
-
* tools.
|
|
1782
|
-
*
|
|
1783
|
-
* For example, say we have a file like:
|
|
1784
|
-
* message Foo {
|
|
1785
|
-
* optional string foo = 1;
|
|
1786
|
-
* }
|
|
1787
|
-
* Let's look at just the field definition:
|
|
1788
|
-
* optional string foo = 1;
|
|
1789
|
-
* ^ ^^ ^^ ^ ^^^
|
|
1790
|
-
* a bc de f ghi
|
|
1791
|
-
* We have the following locations:
|
|
1792
|
-
* span path represents
|
|
1793
|
-
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
1794
|
-
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
1795
|
-
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
1796
|
-
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
1797
|
-
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
1798
|
-
*
|
|
1799
|
-
* Notes:
|
|
1800
|
-
* - A location may refer to a repeated field itself (i.e. not to any
|
|
1801
|
-
* particular index within it). This is used whenever a set of elements are
|
|
1802
|
-
* logically enclosed in a single code segment. For example, an entire
|
|
1803
|
-
* extend block (possibly containing multiple extension definitions) will
|
|
1804
|
-
* have an outer location whose path refers to the "extensions" repeated
|
|
1805
|
-
* field without an index.
|
|
1806
|
-
* - Multiple locations may have the same path. This happens when a single
|
|
1807
|
-
* logical declaration is spread out across multiple places. The most
|
|
1808
|
-
* obvious example is the "extend" block again -- there may be multiple
|
|
1809
|
-
* extend blocks in the same scope, each of which will have the same path.
|
|
1810
|
-
* - A location's span is not always a subset of its parent's span. For
|
|
1811
|
-
* example, the "extendee" of an extension declaration appears at the
|
|
1812
|
-
* beginning of the "extend" block and is shared by all extensions within
|
|
1813
|
-
* the block.
|
|
1814
|
-
* - Just because a location's span is a subset of some other location's span
|
|
1815
|
-
* does not mean that it is a descendant. For example, a "group" defines
|
|
1816
|
-
* both a type and a field in a single declaration. Thus, the locations
|
|
1817
|
-
* corresponding to the type and field and their components will overlap.
|
|
1818
|
-
* - Code which tries to interpret locations should probably be designed to
|
|
1819
|
-
* ignore those that it doesn't understand, as more types of locations could
|
|
1820
|
-
* be recorded in the future.
|
|
1821
|
-
*/
|
|
1822
1300
|
location: SourceCodeInfo_LocationSDKType[];
|
|
1823
1301
|
}
|
|
1824
1302
|
export interface SourceCodeInfo_Location {
|
|
@@ -1912,91 +1390,8 @@ export interface SourceCodeInfo_Location {
|
|
|
1912
1390
|
leadingDetachedComments: string[];
|
|
1913
1391
|
}
|
|
1914
1392
|
export interface SourceCodeInfo_LocationSDKType {
|
|
1915
|
-
/**
|
|
1916
|
-
* Identifies which part of the FileDescriptorProto was defined at this
|
|
1917
|
-
* location.
|
|
1918
|
-
*
|
|
1919
|
-
* Each element is a field number or an index. They form a path from
|
|
1920
|
-
* the root FileDescriptorProto to the place where the definition. For
|
|
1921
|
-
* example, this path:
|
|
1922
|
-
* [ 4, 3, 2, 7, 1 ]
|
|
1923
|
-
* refers to:
|
|
1924
|
-
* file.message_type(3) // 4, 3
|
|
1925
|
-
* .field(7) // 2, 7
|
|
1926
|
-
* .name() // 1
|
|
1927
|
-
* This is because FileDescriptorProto.message_type has field number 4:
|
|
1928
|
-
* repeated DescriptorProto message_type = 4;
|
|
1929
|
-
* and DescriptorProto.field has field number 2:
|
|
1930
|
-
* repeated FieldDescriptorProto field = 2;
|
|
1931
|
-
* and FieldDescriptorProto.name has field number 1:
|
|
1932
|
-
* optional string name = 1;
|
|
1933
|
-
*
|
|
1934
|
-
* Thus, the above path gives the location of a field name. If we removed
|
|
1935
|
-
* the last element:
|
|
1936
|
-
* [ 4, 3, 2, 7 ]
|
|
1937
|
-
* this path refers to the whole field declaration (from the beginning
|
|
1938
|
-
* of the label to the terminating semicolon).
|
|
1939
|
-
*/
|
|
1940
1393
|
path: number[];
|
|
1941
|
-
/**
|
|
1942
|
-
* Always has exactly three or four elements: start line, start column,
|
|
1943
|
-
* end line (optional, otherwise assumed same as start line), end column.
|
|
1944
|
-
* These are packed into a single field for efficiency. Note that line
|
|
1945
|
-
* and column numbers are zero-based -- typically you will want to add
|
|
1946
|
-
* 1 to each before displaying to a user.
|
|
1947
|
-
*/
|
|
1948
|
-
|
|
1949
1394
|
span: number[];
|
|
1950
|
-
/**
|
|
1951
|
-
* If this SourceCodeInfo represents a complete declaration, these are any
|
|
1952
|
-
* comments appearing before and after the declaration which appear to be
|
|
1953
|
-
* attached to the declaration.
|
|
1954
|
-
*
|
|
1955
|
-
* A series of line comments appearing on consecutive lines, with no other
|
|
1956
|
-
* tokens appearing on those lines, will be treated as a single comment.
|
|
1957
|
-
*
|
|
1958
|
-
* leading_detached_comments will keep paragraphs of comments that appear
|
|
1959
|
-
* before (but not connected to) the current element. Each paragraph,
|
|
1960
|
-
* separated by empty lines, will be one comment element in the repeated
|
|
1961
|
-
* field.
|
|
1962
|
-
*
|
|
1963
|
-
* Only the comment content is provided; comment markers (e.g. //) are
|
|
1964
|
-
* stripped out. For block comments, leading whitespace and an asterisk
|
|
1965
|
-
* will be stripped from the beginning of each line other than the first.
|
|
1966
|
-
* Newlines are included in the output.
|
|
1967
|
-
*
|
|
1968
|
-
* Examples:
|
|
1969
|
-
*
|
|
1970
|
-
* optional int32 foo = 1; // Comment attached to foo.
|
|
1971
|
-
* // Comment attached to bar.
|
|
1972
|
-
* optional int32 bar = 2;
|
|
1973
|
-
*
|
|
1974
|
-
* optional string baz = 3;
|
|
1975
|
-
* // Comment attached to baz.
|
|
1976
|
-
* // Another line attached to baz.
|
|
1977
|
-
*
|
|
1978
|
-
* // Comment attached to qux.
|
|
1979
|
-
* //
|
|
1980
|
-
* // Another line attached to qux.
|
|
1981
|
-
* optional double qux = 4;
|
|
1982
|
-
*
|
|
1983
|
-
* // Detached comment for corge. This is not leading or trailing comments
|
|
1984
|
-
* // to qux or corge because there are blank lines separating it from
|
|
1985
|
-
* // both.
|
|
1986
|
-
*
|
|
1987
|
-
* // Detached comment for corge paragraph 2.
|
|
1988
|
-
*
|
|
1989
|
-
* optional string corge = 5;
|
|
1990
|
-
* /* Block comment attached
|
|
1991
|
-
* * to corge. Leading asterisks
|
|
1992
|
-
* * will be removed. *\/
|
|
1993
|
-
* /* Block comment attached to
|
|
1994
|
-
* * grault. *\/
|
|
1995
|
-
* optional int32 grault = 6;
|
|
1996
|
-
*
|
|
1997
|
-
* // ignored detached comments.
|
|
1998
|
-
*/
|
|
1999
|
-
|
|
2000
1395
|
leading_comments: string;
|
|
2001
1396
|
trailing_comments: string;
|
|
2002
1397
|
leading_detached_comments: string[];
|
|
@@ -2021,10 +1416,6 @@ export interface GeneratedCodeInfo {
|
|
|
2021
1416
|
*/
|
|
2022
1417
|
|
|
2023
1418
|
export interface GeneratedCodeInfoSDKType {
|
|
2024
|
-
/**
|
|
2025
|
-
* An Annotation connects some span of text in generated code to an element
|
|
2026
|
-
* of its generating .proto file.
|
|
2027
|
-
*/
|
|
2028
1419
|
annotation: GeneratedCodeInfo_AnnotationSDKType[];
|
|
2029
1420
|
}
|
|
2030
1421
|
export interface GeneratedCodeInfo_Annotation {
|
|
@@ -2051,26 +1442,9 @@ export interface GeneratedCodeInfo_Annotation {
|
|
|
2051
1442
|
end: number;
|
|
2052
1443
|
}
|
|
2053
1444
|
export interface GeneratedCodeInfo_AnnotationSDKType {
|
|
2054
|
-
/**
|
|
2055
|
-
* Identifies the element in the original source .proto file. This field
|
|
2056
|
-
* is formatted the same as SourceCodeInfo.Location.path.
|
|
2057
|
-
*/
|
|
2058
1445
|
path: number[];
|
|
2059
|
-
/** Identifies the filesystem path to the original source .proto. */
|
|
2060
|
-
|
|
2061
1446
|
source_file: string;
|
|
2062
|
-
/**
|
|
2063
|
-
* Identifies the starting offset in bytes in the generated code
|
|
2064
|
-
* that relates to the identified object.
|
|
2065
|
-
*/
|
|
2066
|
-
|
|
2067
1447
|
begin: number;
|
|
2068
|
-
/**
|
|
2069
|
-
* Identifies the ending offset in bytes in the generated code that
|
|
2070
|
-
* relates to the identified offset. The end offset should be one past
|
|
2071
|
-
* the last relevant byte (so the length of the text = end - begin).
|
|
2072
|
-
*/
|
|
2073
|
-
|
|
2074
1448
|
end: number;
|
|
2075
1449
|
}
|
|
2076
1450
|
|