juno-network 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/confio/proofs.js +3 -29
- 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/bundle.js +47 -47
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +4 -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 +4 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +2 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +2 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +4 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/cosmwasm/bundle.js +17 -16
- package/main/codegen/cosmwasm/wasm/v1/authz.js +437 -0
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +21 -2
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +291 -4
- package/main/codegen/cosmwasm/wasm/v1/query.js +179 -3
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +65 -2
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +27 -0
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +89 -34
- package/main/codegen/cosmwasm/wasm/v1/tx.js +183 -23
- package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +19 -1
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +10 -0
- package/main/codegen/cosmwasm/wasm/v1/types.js +35 -29
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +8 -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/tx.js +1 -1
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/ibc/core/channel/v1/channel.js +4 -21
- package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/connection.js +3 -13
- package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +3 -19
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +3 -19
- package/main/codegen/index.js +34 -1
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +35 -0
- package/main/codegen/osmosis/client.js +67 -0
- package/main/codegen/osmosis/lcd.js +167 -0
- package/main/codegen/osmosis/rpc.query.js +134 -0
- package/main/codegen/osmosis/rpc.tx.js +133 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +48 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +118 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +63 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +242 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +111 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +151 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +400 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +119 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +75 -0
- package/main/codegen/router/bundle.js +25 -0
- package/main/codegen/router/lcd.js +164 -0
- package/main/codegen/router/rpc.query.js +131 -0
- package/main/codegen/router/v1/genesis.js +286 -0
- package/main/codegen/router/v1/query.js +76 -0
- package/main/codegen/router/v1/query.lcd.js +54 -0
- package/main/codegen/router/v1/query.rpc.Query.js +47 -0
- 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 +4 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +2 -29
- 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/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +2 -21
- 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 -21
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/cosmwasm/bundle.js +17 -16
- package/module/codegen/cosmwasm/wasm/v1/authz.js +346 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +11 -3
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +261 -2
- package/module/codegen/cosmwasm/wasm/v1/query.js +159 -2
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +22 -2
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +19 -1
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +55 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.js +161 -16
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +20 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +7 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -29
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +6 -63
- 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/tx.js +1 -1
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/ibc/core/channel/v1/channel.js +2 -21
- package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/connection.js +2 -13
- package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +2 -19
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +2 -19
- package/module/codegen/index.js +4 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +24 -0
- package/module/codegen/osmosis/client.js +36 -0
- package/module/codegen/osmosis/lcd.js +57 -0
- package/module/codegen/osmosis/rpc.query.js +39 -0
- package/module/codegen/osmosis/rpc.tx.js +30 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +37 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +91 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +38 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +207 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +33 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +150 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +371 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +105 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/router/bundle.js +14 -0
- package/module/codegen/router/lcd.js +55 -0
- package/module/codegen/router/rpc.query.js +37 -0
- package/module/codegen/router/v1/genesis.js +261 -0
- package/module/codegen/router/v1/query.js +63 -0
- package/module/codegen/router/v1/query.lcd.js +16 -0
- package/module/codegen/router/v1/query.rpc.Query.js +27 -0
- 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 -19
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +7 -7
- package/src/codegen/confio/proofs.ts +8 -80
- 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.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/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/bundle.ts +68 -68
- 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/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/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 -15
- 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_proto/cosmos.ts +2 -37
- package/src/codegen/cosmwasm/bundle.ts +24 -22
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +603 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +14 -4
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +1 -17
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +466 -72
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +27 -3
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +29 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +261 -33
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +91 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +23 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +18 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +238 -41
- package/src/codegen/cosmwasm/wasm/v1/types.ts +39 -91
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +8 -8
- 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 +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +0 -7
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +0 -15
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +1 -20
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +0 -7
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +6 -105
- package/src/codegen/ibc/core/channel/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/channel/v1/query.ts +0 -118
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +0 -5
- package/src/codegen/ibc/core/client/v1/client.ts +0 -32
- package/src/codegen/ibc/core/client/v1/genesis.ts +1 -13
- package/src/codegen/ibc/core/client/v1/query.ts +0 -35
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +0 -32
- package/src/codegen/ibc/core/connection/v1/connection.ts +4 -78
- package/src/codegen/ibc/core/connection/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/connection/v1/query.ts +0 -31
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +1 -26
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +0 -3
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +0 -41
- package/src/codegen/index.ts +4 -1
- package/src/codegen/juno/bundle.ts +31 -31
- package/src/codegen/juno/feeshare/v1/feeshare.ts +0 -14
- package/src/codegen/juno/feeshare/v1/genesis.ts +0 -16
- package/src/codegen/juno/feeshare/v1/query.ts +0 -25
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +0 -28
- package/src/codegen/juno/mint/genesis.ts +0 -3
- package/src/codegen/juno/mint/mint.ts +1 -7
- package/src/codegen/juno/mint/query.ts +0 -3
- package/src/codegen/osmosis/bundle.ts +32 -0
- package/src/codegen/osmosis/client.ts +45 -0
- package/src/codegen/osmosis/lcd.ts +59 -0
- package/src/codegen/osmosis/rpc.query.ts +41 -0
- package/src/codegen/osmosis/rpc.tx.ts +33 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +66 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +147 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +58 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +41 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +72 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +344 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +207 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +55 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +622 -0
- package/src/codegen/router/bundle.ts +16 -0
- package/src/codegen/router/lcd.ts +57 -0
- package/src/codegen/router/rpc.query.ts +39 -0
- package/src/codegen/router/v1/genesis.ts +406 -0
- package/src/codegen/router/v1/query.lcd.ts +22 -0
- package/src/codegen/router/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/router/v1/query.ts +99 -0
- 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
- package/types/codegen/confio/proofs.d.ts +8 -64
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
- package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
- package/types/codegen/cosmwasm/bundle.d.ts +386 -248
- package/types/codegen/cosmwasm/client.d.ts +31 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +2 -0
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +205 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +3 -2
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +1 -14
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +132 -41
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +74 -25
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +3 -1
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +9 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +41 -19
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +60 -29
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +13 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +11 -2
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +19 -61
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +0 -30
- package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
- package/types/codegen/google/protobuf/duration.d.ts +1 -14
- package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +0 -6
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +0 -13
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +1 -14
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +0 -4
- package/types/codegen/ibc/bundle.d.ts +750 -750
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +6 -76
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/channel/v1/query.d.ts +0 -71
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +0 -4
- package/types/codegen/ibc/core/client/v1/client.d.ts +0 -24
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +1 -8
- package/types/codegen/ibc/core/client/v1/query.d.ts +0 -25
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -21
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +4 -61
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -20
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +1 -18
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +0 -2
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +0 -31
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +5 -1
- package/types/codegen/juno/bundle.d.ts +284 -41
- package/types/codegen/juno/client.d.ts +54 -0
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +37 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +193 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.rpc.Query.d.ts +38 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +42 -0
- package/types/codegen/juno/feeshare/v1/tx.d.ts +113 -0
- package/types/codegen/juno/feeshare/v1/tx.registry.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/juno/lcd.d.ts +3 -0
- package/types/codegen/juno/mint/genesis.d.ts +0 -2
- package/types/codegen/juno/mint/mint.d.ts +1 -5
- package/types/codegen/juno/mint/query.d.ts +0 -3
- package/types/codegen/juno/rpc.query.d.ts +9 -0
- package/types/codegen/juno/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/bundle.d.ts +460 -0
- package/types/codegen/osmosis/client.d.ts +112 -0
- package/types/codegen/osmosis/lcd.d.ts +33 -0
- package/types/codegen/osmosis/rpc.query.d.ts +107 -0
- package/types/codegen/osmosis/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +24 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +43 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +16 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +105 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +33 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +84 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +197 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/router/bundle.d.ts +178 -0
- package/types/codegen/router/lcd.d.ts +31 -0
- package/types/codegen/router/rpc.query.d.ts +103 -0
- package/types/codegen/router/v1/genesis.d.ts +94 -0
- package/types/codegen/router/v1/query.d.ts +28 -0
- package/types/codegen/router/v1/query.lcd.d.ts +9 -0
- package/types/codegen/router/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/tendermint/abci/types.d.ts +8 -78
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +0 -32
- package/types/codegen/tendermint/types/types.d.ts +5 -36
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.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
|
|