juno-network 0.14.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/main/codegen/confio/proofs.js +29 -3
- 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 +21 -4
- 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 +21 -4
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/lcd.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
- package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
- package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +7 -1
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/lcd.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
- package/main/codegen/gaia/bundle.js +28 -0
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
- package/main/codegen/gaia/lcd.js +167 -0
- package/main/codegen/gaia/rpc.query.js +134 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +63 -8
- 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 +21 -4
- 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 +13 -3
- 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/lcd.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
- package/main/codegen/index.js +30 -19
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/lcd.js +1 -1
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +15 -15
- package/main/codegen/osmosis/lcd.js +1 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
- package/main/codegen/router/bundle.js +8 -8
- package/main/codegen/router/lcd.js +1 -1
- package/main/codegen/tendermint/abci/types.js +33 -4
- 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 +18 -4
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +29 -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/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +21 -2
- 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 +21 -2
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/lcd.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +7 -1
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/lcd.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
- package/module/codegen/gaia/bundle.js +17 -0
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
- package/module/codegen/gaia/lcd.js +57 -0
- package/module/codegen/gaia/rpc.query.js +39 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +63 -6
- 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 +21 -2
- 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 +13 -2
- 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/lcd.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
- package/module/codegen/index.js +2 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/lcd.js +1 -1
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +15 -15
- package/module/codegen/osmosis/lcd.js +1 -1
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
- package/module/codegen/router/bundle.js +8 -8
- package/module/codegen/router/lcd.js +1 -1
- package/module/codegen/tendermint/abci/types.js +33 -4
- 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 +19 -3
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +4 -4
- package/src/codegen/confio/proofs.ts +80 -8
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
- package/src/codegen/cosmos/bundle.ts +76 -76
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/gov/v1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
- 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/lcd.ts +1 -1
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -1
- package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
- package/src/codegen/cosmos_proto/cosmos.ts +37 -2
- package/src/codegen/cosmwasm/bundle.ts +14 -14
- package/src/codegen/cosmwasm/lcd.ts +1 -1
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
- package/src/codegen/gaia/bundle.ts +18 -0
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
- package/src/codegen/gaia/lcd.ts +59 -0
- package/src/codegen/gaia/rpc.query.ts +41 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +9 -9
- package/src/codegen/google/protobuf/any.ts +31 -0
- package/src/codegen/google/protobuf/descriptor.ts +641 -15
- package/src/codegen/google/protobuf/duration.ts +15 -1
- package/src/codegen/google/protobuf/timestamp.ts +13 -1
- package/src/codegen/helpers.ts +17 -17
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
- package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
- package/src/codegen/ibc/core/client/v1/client.ts +32 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/client/v1/query.ts +35 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
- package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -1
- package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
- package/src/codegen/ibc/lcd.ts +1 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
- package/src/codegen/index.ts +3 -2
- package/src/codegen/juno/bundle.ts +32 -32
- package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
- package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -1
- package/src/codegen/juno/feeshare/v1/query.ts +25 -0
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
- package/src/codegen/juno/lcd.ts +1 -1
- package/src/codegen/juno/mint/genesis.ts +3 -0
- package/src/codegen/juno/mint/mint.ts +7 -1
- package/src/codegen/juno/mint/query.lcd.ts +1 -1
- package/src/codegen/juno/mint/query.ts +3 -0
- package/src/codegen/osmosis/bundle.ts +24 -24
- package/src/codegen/osmosis/lcd.ts +1 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
- package/src/codegen/router/bundle.ts +12 -12
- package/src/codegen/router/lcd.ts +1 -1
- package/src/codegen/router/v1/genesis.ts +7 -0
- package/src/codegen/router/v1/query.lcd.ts +1 -1
- package/src/codegen/router/v1/query.ts +1 -0
- package/src/codegen/tendermint/abci/types.ts +109 -8
- package/src/codegen/tendermint/bundle.ts +21 -21
- package/src/codegen/tendermint/crypto/proof.ts +4 -1
- 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 +36 -0
- package/src/codegen/tendermint/types/types.ts +50 -6
- 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 +64 -8
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
- package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- 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 +27 -2
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
- package/types/codegen/cosmwasm/bundle.d.ts +10 -10
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
- package/types/codegen/gaia/bundle.d.ts +174 -0
- package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
- package/types/codegen/gaia/lcd.d.ts +33 -0
- package/types/codegen/gaia/rpc.query.d.ts +105 -0
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +30 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
- package/types/codegen/google/protobuf/duration.d.ts +14 -1
- package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
- package/types/codegen/ibc/bundle.d.ts +773 -773
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
- package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +2 -1
- package/types/codegen/juno/bundle.d.ts +141 -141
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
- package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
- package/types/codegen/juno/mint/genesis.d.ts +2 -0
- package/types/codegen/juno/mint/mint.d.ts +5 -1
- package/types/codegen/juno/mint/query.d.ts +3 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/bundle.d.ts +163 -116
- package/types/codegen/osmosis/client.d.ts +29 -4
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
- package/types/codegen/router/bundle.d.ts +27 -27
- package/types/codegen/router/v1/genesis.d.ts +6 -0
- package/types/codegen/router/v1/query.d.ts +1 -0
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
- package/types/codegen/tendermint/abci/types.d.ts +78 -8
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
- 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 +32 -0
- package/types/codegen/tendermint/types/types.d.ts +36 -5
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -42,7 +42,48 @@ export declare enum FieldDescriptorProto_Type {
|
|
42
42
|
TYPE_SINT64 = 18,
|
43
43
|
UNRECOGNIZED = -1
|
44
44
|
}
|
45
|
-
export declare
|
45
|
+
export declare enum FieldDescriptorProto_TypeSDKType {
|
46
|
+
/**
|
47
|
+
* TYPE_DOUBLE - 0 is reserved for errors.
|
48
|
+
* Order is weird for historical reasons.
|
49
|
+
*/
|
50
|
+
TYPE_DOUBLE = 1,
|
51
|
+
TYPE_FLOAT = 2,
|
52
|
+
/**
|
53
|
+
* TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
54
|
+
* negative values are likely.
|
55
|
+
*/
|
56
|
+
TYPE_INT64 = 3,
|
57
|
+
TYPE_UINT64 = 4,
|
58
|
+
/**
|
59
|
+
* TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
60
|
+
* negative values are likely.
|
61
|
+
*/
|
62
|
+
TYPE_INT32 = 5,
|
63
|
+
TYPE_FIXED64 = 6,
|
64
|
+
TYPE_FIXED32 = 7,
|
65
|
+
TYPE_BOOL = 8,
|
66
|
+
TYPE_STRING = 9,
|
67
|
+
/**
|
68
|
+
* TYPE_GROUP - Tag-delimited aggregate.
|
69
|
+
* Group type is deprecated and not supported in proto3. However, Proto3
|
70
|
+
* implementations should still be able to parse the group wire format and
|
71
|
+
* treat group fields as unknown fields.
|
72
|
+
*/
|
73
|
+
TYPE_GROUP = 10,
|
74
|
+
TYPE_MESSAGE = 11,
|
75
|
+
/** TYPE_BYTES - New in version 2. */
|
76
|
+
TYPE_BYTES = 12,
|
77
|
+
TYPE_UINT32 = 13,
|
78
|
+
TYPE_ENUM = 14,
|
79
|
+
TYPE_SFIXED32 = 15,
|
80
|
+
TYPE_SFIXED64 = 16,
|
81
|
+
/** TYPE_SINT32 - Uses ZigZag encoding. */
|
82
|
+
TYPE_SINT32 = 17,
|
83
|
+
/** TYPE_SINT64 - Uses ZigZag encoding. */
|
84
|
+
TYPE_SINT64 = 18,
|
85
|
+
UNRECOGNIZED = -1
|
86
|
+
}
|
46
87
|
export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type;
|
47
88
|
export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string;
|
48
89
|
export declare enum FieldDescriptorProto_Label {
|
@@ -52,7 +93,13 @@ export declare enum FieldDescriptorProto_Label {
|
|
52
93
|
LABEL_REPEATED = 3,
|
53
94
|
UNRECOGNIZED = -1
|
54
95
|
}
|
55
|
-
export declare
|
96
|
+
export declare enum FieldDescriptorProto_LabelSDKType {
|
97
|
+
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
98
|
+
LABEL_OPTIONAL = 1,
|
99
|
+
LABEL_REQUIRED = 2,
|
100
|
+
LABEL_REPEATED = 3,
|
101
|
+
UNRECOGNIZED = -1
|
102
|
+
}
|
56
103
|
export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label;
|
57
104
|
export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string;
|
58
105
|
/** Generated classes can be optimized for speed or code size. */
|
@@ -68,7 +115,19 @@ export declare enum FileOptions_OptimizeMode {
|
|
68
115
|
LITE_RUNTIME = 3,
|
69
116
|
UNRECOGNIZED = -1
|
70
117
|
}
|
71
|
-
|
118
|
+
/** Generated classes can be optimized for speed or code size. */
|
119
|
+
export declare enum FileOptions_OptimizeModeSDKType {
|
120
|
+
/**
|
121
|
+
* SPEED - Generate complete code for parsing, serialization,
|
122
|
+
* etc.
|
123
|
+
*/
|
124
|
+
SPEED = 1,
|
125
|
+
/** CODE_SIZE - Use ReflectionOps to implement these methods. */
|
126
|
+
CODE_SIZE = 2,
|
127
|
+
/** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
|
128
|
+
LITE_RUNTIME = 3,
|
129
|
+
UNRECOGNIZED = -1
|
130
|
+
}
|
72
131
|
export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode;
|
73
132
|
export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string;
|
74
133
|
export declare enum FieldOptions_CType {
|
@@ -78,7 +137,13 @@ export declare enum FieldOptions_CType {
|
|
78
137
|
STRING_PIECE = 2,
|
79
138
|
UNRECOGNIZED = -1
|
80
139
|
}
|
81
|
-
export declare
|
140
|
+
export declare enum FieldOptions_CTypeSDKType {
|
141
|
+
/** STRING - Default mode. */
|
142
|
+
STRING = 0,
|
143
|
+
CORD = 1,
|
144
|
+
STRING_PIECE = 2,
|
145
|
+
UNRECOGNIZED = -1
|
146
|
+
}
|
82
147
|
export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType;
|
83
148
|
export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string;
|
84
149
|
export declare enum FieldOptions_JSType {
|
@@ -90,7 +155,15 @@ export declare enum FieldOptions_JSType {
|
|
90
155
|
JS_NUMBER = 2,
|
91
156
|
UNRECOGNIZED = -1
|
92
157
|
}
|
93
|
-
export declare
|
158
|
+
export declare enum FieldOptions_JSTypeSDKType {
|
159
|
+
/** JS_NORMAL - Use the default type. */
|
160
|
+
JS_NORMAL = 0,
|
161
|
+
/** JS_STRING - Use JavaScript strings. */
|
162
|
+
JS_STRING = 1,
|
163
|
+
/** JS_NUMBER - Use JavaScript numbers. */
|
164
|
+
JS_NUMBER = 2,
|
165
|
+
UNRECOGNIZED = -1
|
166
|
+
}
|
94
167
|
export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType;
|
95
168
|
export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string;
|
96
169
|
/**
|
@@ -106,7 +179,19 @@ export declare enum MethodOptions_IdempotencyLevel {
|
|
106
179
|
IDEMPOTENT = 2,
|
107
180
|
UNRECOGNIZED = -1
|
108
181
|
}
|
109
|
-
|
182
|
+
/**
|
183
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
184
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
185
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
186
|
+
*/
|
187
|
+
export declare enum MethodOptions_IdempotencyLevelSDKType {
|
188
|
+
IDEMPOTENCY_UNKNOWN = 0,
|
189
|
+
/** NO_SIDE_EFFECTS - implies idempotent */
|
190
|
+
NO_SIDE_EFFECTS = 1,
|
191
|
+
/** IDEMPOTENT - idempotent, but may have side effects */
|
192
|
+
IDEMPOTENT = 2,
|
193
|
+
UNRECOGNIZED = -1
|
194
|
+
}
|
110
195
|
export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel;
|
111
196
|
export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string;
|
112
197
|
/**
|
@@ -158,17 +243,35 @@ export interface FileDescriptorProto {
|
|
158
243
|
}
|
159
244
|
/** Describes a complete .proto file. */
|
160
245
|
export interface FileDescriptorProtoSDKType {
|
246
|
+
/** file name, relative to root of source tree */
|
161
247
|
name: string;
|
162
248
|
package: string;
|
249
|
+
/** Names of files imported by this file. */
|
163
250
|
dependency: string[];
|
251
|
+
/** Indexes of the public imported files in the dependency list above. */
|
164
252
|
public_dependency: number[];
|
253
|
+
/**
|
254
|
+
* Indexes of the weak imported files in the dependency list.
|
255
|
+
* For Google-internal migration only. Do not use.
|
256
|
+
*/
|
165
257
|
weak_dependency: number[];
|
258
|
+
/** All top-level definitions in this file. */
|
166
259
|
message_type: DescriptorProtoSDKType[];
|
167
260
|
enum_type: EnumDescriptorProtoSDKType[];
|
168
261
|
service: ServiceDescriptorProtoSDKType[];
|
169
262
|
extension: FieldDescriptorProtoSDKType[];
|
170
263
|
options?: FileOptionsSDKType;
|
264
|
+
/**
|
265
|
+
* This field contains optional information about the original source code.
|
266
|
+
* You may safely remove this entire field without harming runtime
|
267
|
+
* functionality of the descriptors -- the information is needed only by
|
268
|
+
* development tools.
|
269
|
+
*/
|
171
270
|
source_code_info?: SourceCodeInfoSDKType;
|
271
|
+
/**
|
272
|
+
* The syntax of the proto file.
|
273
|
+
* The supported values are "proto2" and "proto3".
|
274
|
+
*/
|
172
275
|
syntax: string;
|
173
276
|
}
|
174
277
|
/** Describes a message type. */
|
@@ -199,6 +302,10 @@ export interface DescriptorProtoSDKType {
|
|
199
302
|
oneof_decl: OneofDescriptorProtoSDKType[];
|
200
303
|
options?: MessageOptionsSDKType;
|
201
304
|
reserved_range: DescriptorProto_ReservedRangeSDKType[];
|
305
|
+
/**
|
306
|
+
* Reserved field names, which may not be used by fields in the same message.
|
307
|
+
* A given name may only be reserved once.
|
308
|
+
*/
|
202
309
|
reserved_name: string[];
|
203
310
|
}
|
204
311
|
export interface DescriptorProto_ExtensionRange {
|
@@ -209,7 +316,9 @@ export interface DescriptorProto_ExtensionRange {
|
|
209
316
|
options?: ExtensionRangeOptions;
|
210
317
|
}
|
211
318
|
export interface DescriptorProto_ExtensionRangeSDKType {
|
319
|
+
/** Inclusive. */
|
212
320
|
start: number;
|
321
|
+
/** Exclusive. */
|
213
322
|
end: number;
|
214
323
|
options?: ExtensionRangeOptionsSDKType;
|
215
324
|
}
|
@@ -230,7 +339,9 @@ export interface DescriptorProto_ReservedRange {
|
|
230
339
|
* not overlap.
|
231
340
|
*/
|
232
341
|
export interface DescriptorProto_ReservedRangeSDKType {
|
342
|
+
/** Inclusive. */
|
233
343
|
start: number;
|
344
|
+
/** Exclusive. */
|
234
345
|
end: number;
|
235
346
|
}
|
236
347
|
export interface ExtensionRangeOptions {
|
@@ -238,6 +349,7 @@ export interface ExtensionRangeOptions {
|
|
238
349
|
uninterpretedOption: UninterpretedOption[];
|
239
350
|
}
|
240
351
|
export interface ExtensionRangeOptionsSDKType {
|
352
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
241
353
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
242
354
|
}
|
243
355
|
/** Describes a field within a message. */
|
@@ -289,12 +401,44 @@ export interface FieldDescriptorProto {
|
|
289
401
|
export interface FieldDescriptorProtoSDKType {
|
290
402
|
name: string;
|
291
403
|
number: number;
|
292
|
-
label:
|
293
|
-
|
404
|
+
label: FieldDescriptorProto_LabelSDKType;
|
405
|
+
/**
|
406
|
+
* If type_name is set, this need not be set. If both this and type_name
|
407
|
+
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
408
|
+
*/
|
409
|
+
type: FieldDescriptorProto_TypeSDKType;
|
410
|
+
/**
|
411
|
+
* For message and enum types, this is the name of the type. If the name
|
412
|
+
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
413
|
+
* rules are used to find the type (i.e. first the nested types within this
|
414
|
+
* message are searched, then within the parent, on up to the root
|
415
|
+
* namespace).
|
416
|
+
*/
|
294
417
|
type_name: string;
|
418
|
+
/**
|
419
|
+
* For extensions, this is the name of the type being extended. It is
|
420
|
+
* resolved in the same manner as type_name.
|
421
|
+
*/
|
295
422
|
extendee: string;
|
423
|
+
/**
|
424
|
+
* For numeric types, contains the original text representation of the value.
|
425
|
+
* For booleans, "true" or "false".
|
426
|
+
* For strings, contains the default text contents (not escaped in any way).
|
427
|
+
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
428
|
+
* TODO(kenton): Base-64 encode?
|
429
|
+
*/
|
296
430
|
default_value: string;
|
431
|
+
/**
|
432
|
+
* If set, gives the index of a oneof in the containing type's oneof_decl
|
433
|
+
* list. This field is a member of that oneof.
|
434
|
+
*/
|
297
435
|
oneof_index: number;
|
436
|
+
/**
|
437
|
+
* JSON name of this field. The value is set by protocol compiler. If the
|
438
|
+
* user has set a "json_name" option on this field, that option's value
|
439
|
+
* will be used. Otherwise, it's deduced from the field's name by converting
|
440
|
+
* it to camelCase.
|
441
|
+
*/
|
298
442
|
json_name: string;
|
299
443
|
options?: FieldOptionsSDKType;
|
300
444
|
}
|
@@ -330,7 +474,16 @@ export interface EnumDescriptorProtoSDKType {
|
|
330
474
|
name: string;
|
331
475
|
value: EnumValueDescriptorProtoSDKType[];
|
332
476
|
options?: EnumOptionsSDKType;
|
477
|
+
/**
|
478
|
+
* Range of reserved numeric values. Reserved numeric values may not be used
|
479
|
+
* by enum values in the same enum declaration. Reserved ranges may not
|
480
|
+
* overlap.
|
481
|
+
*/
|
333
482
|
reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[];
|
483
|
+
/**
|
484
|
+
* Reserved enum value names, which may not be reused. A given name may only
|
485
|
+
* be reserved once.
|
486
|
+
*/
|
334
487
|
reserved_name: string[];
|
335
488
|
}
|
336
489
|
/**
|
@@ -356,7 +509,9 @@ export interface EnumDescriptorProto_EnumReservedRange {
|
|
356
509
|
* domain.
|
357
510
|
*/
|
358
511
|
export interface EnumDescriptorProto_EnumReservedRangeSDKType {
|
512
|
+
/** Inclusive. */
|
359
513
|
start: number;
|
514
|
+
/** Inclusive. */
|
360
515
|
end: number;
|
361
516
|
}
|
362
517
|
/** Describes a value within an enum. */
|
@@ -401,10 +556,16 @@ export interface MethodDescriptorProto {
|
|
401
556
|
/** Describes a method of a service. */
|
402
557
|
export interface MethodDescriptorProtoSDKType {
|
403
558
|
name: string;
|
559
|
+
/**
|
560
|
+
* Input and output type names. These are resolved in the same way as
|
561
|
+
* FieldDescriptorProto.type_name, but must refer to a message type.
|
562
|
+
*/
|
404
563
|
input_type: string;
|
405
564
|
output_type: string;
|
406
565
|
options?: MethodOptionsSDKType;
|
566
|
+
/** Identifies if client streams multiple client messages */
|
407
567
|
client_streaming: boolean;
|
568
|
+
/** Identifies if server streams multiple server messages */
|
408
569
|
server_streaming: boolean;
|
409
570
|
}
|
410
571
|
export interface FileOptions {
|
@@ -525,27 +686,120 @@ export interface FileOptions {
|
|
525
686
|
uninterpretedOption: UninterpretedOption[];
|
526
687
|
}
|
527
688
|
export interface FileOptionsSDKType {
|
689
|
+
/**
|
690
|
+
* Sets the Java package where classes generated from this .proto will be
|
691
|
+
* placed. By default, the proto package is used, but this is often
|
692
|
+
* inappropriate because proto packages do not normally start with backwards
|
693
|
+
* domain names.
|
694
|
+
*/
|
528
695
|
java_package: string;
|
696
|
+
/**
|
697
|
+
* If set, all the classes from the .proto file are wrapped in a single
|
698
|
+
* outer class with the given name. This applies to both Proto1
|
699
|
+
* (equivalent to the old "--one_java_file" option) and Proto2 (where
|
700
|
+
* a .proto always translates to a single class, but you may want to
|
701
|
+
* explicitly choose the class name).
|
702
|
+
*/
|
529
703
|
java_outer_classname: string;
|
704
|
+
/**
|
705
|
+
* If set true, then the Java code generator will generate a separate .java
|
706
|
+
* file for each top-level message, enum, and service defined in the .proto
|
707
|
+
* file. Thus, these types will *not* be nested inside the outer class
|
708
|
+
* named by java_outer_classname. However, the outer class will still be
|
709
|
+
* generated to contain the file's getDescriptor() method as well as any
|
710
|
+
* top-level extensions defined in the file.
|
711
|
+
*/
|
530
712
|
java_multiple_files: boolean;
|
713
|
+
/** This option does nothing. */
|
531
714
|
/** @deprecated */
|
532
715
|
java_generate_equals_and_hash: boolean;
|
716
|
+
/**
|
717
|
+
* If set true, then the Java2 code generator will generate code that
|
718
|
+
* throws an exception whenever an attempt is made to assign a non-UTF-8
|
719
|
+
* byte sequence to a string field.
|
720
|
+
* Message reflection will do the same.
|
721
|
+
* However, an extension field still accepts non-UTF-8 byte sequences.
|
722
|
+
* This option has no effect on when used with the lite runtime.
|
723
|
+
*/
|
533
724
|
java_string_check_utf8: boolean;
|
534
|
-
optimize_for:
|
725
|
+
optimize_for: FileOptions_OptimizeModeSDKType;
|
726
|
+
/**
|
727
|
+
* Sets the Go package where structs generated from this .proto will be
|
728
|
+
* placed. If omitted, the Go package will be derived from the following:
|
729
|
+
* - The basename of the package import path, if provided.
|
730
|
+
* - Otherwise, the package statement in the .proto file, if present.
|
731
|
+
* - Otherwise, the basename of the .proto file, without extension.
|
732
|
+
*/
|
535
733
|
go_package: string;
|
734
|
+
/**
|
735
|
+
* Should generic services be generated in each language? "Generic" services
|
736
|
+
* are not specific to any particular RPC system. They are generated by the
|
737
|
+
* main code generators in each language (without additional plugins).
|
738
|
+
* Generic services were the only kind of service generation supported by
|
739
|
+
* early versions of google.protobuf.
|
740
|
+
*
|
741
|
+
* Generic services are now considered deprecated in favor of using plugins
|
742
|
+
* that generate code specific to your particular RPC system. Therefore,
|
743
|
+
* these default to false. Old code which depends on generic services should
|
744
|
+
* explicitly set them to true.
|
745
|
+
*/
|
536
746
|
cc_generic_services: boolean;
|
537
747
|
java_generic_services: boolean;
|
538
748
|
py_generic_services: boolean;
|
539
749
|
php_generic_services: boolean;
|
750
|
+
/**
|
751
|
+
* Is this file deprecated?
|
752
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
753
|
+
* for everything in the file, or it will be completely ignored; in the very
|
754
|
+
* least, this is a formalization for deprecating files.
|
755
|
+
*/
|
540
756
|
deprecated: boolean;
|
757
|
+
/**
|
758
|
+
* Enables the use of arenas for the proto messages in this file. This applies
|
759
|
+
* only to generated classes for C++.
|
760
|
+
*/
|
541
761
|
cc_enable_arenas: boolean;
|
762
|
+
/**
|
763
|
+
* Sets the objective c class prefix which is prepended to all objective c
|
764
|
+
* generated classes from this .proto. There is no default.
|
765
|
+
*/
|
542
766
|
objc_class_prefix: string;
|
767
|
+
/** Namespace for generated classes; defaults to the package. */
|
543
768
|
csharp_namespace: string;
|
769
|
+
/**
|
770
|
+
* By default Swift generators will take the proto package and CamelCase it
|
771
|
+
* replacing '.' with underscore and use that to prefix the types/symbols
|
772
|
+
* defined. When this options is provided, they will use this value instead
|
773
|
+
* to prefix the types/symbols defined.
|
774
|
+
*/
|
544
775
|
swift_prefix: string;
|
776
|
+
/**
|
777
|
+
* Sets the php class prefix which is prepended to all php generated classes
|
778
|
+
* from this .proto. Default is empty.
|
779
|
+
*/
|
545
780
|
php_class_prefix: string;
|
781
|
+
/**
|
782
|
+
* Use this option to change the namespace of php generated classes. Default
|
783
|
+
* is empty. When this option is empty, the package name will be used for
|
784
|
+
* determining the namespace.
|
785
|
+
*/
|
546
786
|
php_namespace: string;
|
787
|
+
/**
|
788
|
+
* Use this option to change the namespace of php generated metadata classes.
|
789
|
+
* Default is empty. When this option is empty, the proto file name will be
|
790
|
+
* used for determining the namespace.
|
791
|
+
*/
|
547
792
|
php_metadata_namespace: string;
|
793
|
+
/**
|
794
|
+
* Use this option to change the package of ruby generated classes. Default
|
795
|
+
* is empty. When this option is not set, the package name will be used for
|
796
|
+
* determining the ruby package.
|
797
|
+
*/
|
548
798
|
ruby_package: string;
|
799
|
+
/**
|
800
|
+
* The parser stores options it doesn't recognize here.
|
801
|
+
* See the documentation for the "Options" section above.
|
802
|
+
*/
|
549
803
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
550
804
|
}
|
551
805
|
export interface MessageOptions {
|
@@ -611,10 +865,65 @@ export interface MessageOptions {
|
|
611
865
|
uninterpretedOption: UninterpretedOption[];
|
612
866
|
}
|
613
867
|
export interface MessageOptionsSDKType {
|
868
|
+
/**
|
869
|
+
* Set true to use the old proto1 MessageSet wire format for extensions.
|
870
|
+
* This is provided for backwards-compatibility with the MessageSet wire
|
871
|
+
* format. You should not use this for any other reason: It's less
|
872
|
+
* efficient, has fewer features, and is more complicated.
|
873
|
+
*
|
874
|
+
* The message must be defined exactly as follows:
|
875
|
+
* message Foo {
|
876
|
+
* option message_set_wire_format = true;
|
877
|
+
* extensions 4 to max;
|
878
|
+
* }
|
879
|
+
* Note that the message cannot have any defined fields; MessageSets only
|
880
|
+
* have extensions.
|
881
|
+
*
|
882
|
+
* All extensions of your type must be singular messages; e.g. they cannot
|
883
|
+
* be int32s, enums, or repeated messages.
|
884
|
+
*
|
885
|
+
* Because this is an option, the above two restrictions are not enforced by
|
886
|
+
* the protocol compiler.
|
887
|
+
*/
|
614
888
|
message_set_wire_format: boolean;
|
889
|
+
/**
|
890
|
+
* Disables the generation of the standard "descriptor()" accessor, which can
|
891
|
+
* conflict with a field of the same name. This is meant to make migration
|
892
|
+
* from proto1 easier; new code should avoid fields named "descriptor".
|
893
|
+
*/
|
615
894
|
no_standard_descriptor_accessor: boolean;
|
895
|
+
/**
|
896
|
+
* Is this message deprecated?
|
897
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
898
|
+
* for the message, or it will be completely ignored; in the very least,
|
899
|
+
* this is a formalization for deprecating messages.
|
900
|
+
*/
|
616
901
|
deprecated: boolean;
|
902
|
+
/**
|
903
|
+
* Whether the message is an automatically generated map entry type for the
|
904
|
+
* maps field.
|
905
|
+
*
|
906
|
+
* For maps fields:
|
907
|
+
* map<KeyType, ValueType> map_field = 1;
|
908
|
+
* The parsed descriptor looks like:
|
909
|
+
* message MapFieldEntry {
|
910
|
+
* option map_entry = true;
|
911
|
+
* optional KeyType key = 1;
|
912
|
+
* optional ValueType value = 2;
|
913
|
+
* }
|
914
|
+
* repeated MapFieldEntry map_field = 1;
|
915
|
+
*
|
916
|
+
* Implementations may choose not to generate the map_entry=true message, but
|
917
|
+
* use a native map in the target language to hold the keys and values.
|
918
|
+
* The reflection APIs in such implementations still need to work as
|
919
|
+
* if the field is a repeated message field.
|
920
|
+
*
|
921
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
922
|
+
* instead. The option should only be implicitly set by the proto compiler
|
923
|
+
* parser.
|
924
|
+
*/
|
617
925
|
map_entry: boolean;
|
926
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
618
927
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
619
928
|
}
|
620
929
|
export interface FieldOptions {
|
@@ -691,12 +1000,76 @@ export interface FieldOptions {
|
|
691
1000
|
uninterpretedOption: UninterpretedOption[];
|
692
1001
|
}
|
693
1002
|
export interface FieldOptionsSDKType {
|
694
|
-
|
1003
|
+
/**
|
1004
|
+
* The ctype option instructs the C++ code generator to use a different
|
1005
|
+
* representation of the field than it normally would. See the specific
|
1006
|
+
* options below. This option is not yet implemented in the open source
|
1007
|
+
* release -- sorry, we'll try to include it in a future version!
|
1008
|
+
*/
|
1009
|
+
ctype: FieldOptions_CTypeSDKType;
|
1010
|
+
/**
|
1011
|
+
* The packed option can be enabled for repeated primitive fields to enable
|
1012
|
+
* a more efficient representation on the wire. Rather than repeatedly
|
1013
|
+
* writing the tag and type for each element, the entire array is encoded as
|
1014
|
+
* a single length-delimited blob. In proto3, only explicit setting it to
|
1015
|
+
* false will avoid using packed encoding.
|
1016
|
+
*/
|
695
1017
|
packed: boolean;
|
696
|
-
|
1018
|
+
/**
|
1019
|
+
* The jstype option determines the JavaScript type used for values of the
|
1020
|
+
* field. The option is permitted only for 64 bit integral and fixed types
|
1021
|
+
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
1022
|
+
* is represented as JavaScript string, which avoids loss of precision that
|
1023
|
+
* can happen when a large value is converted to a floating point JavaScript.
|
1024
|
+
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
1025
|
+
* use the JavaScript "number" type. The behavior of the default option
|
1026
|
+
* JS_NORMAL is implementation dependent.
|
1027
|
+
*
|
1028
|
+
* This option is an enum to permit additional types to be added, e.g.
|
1029
|
+
* goog.math.Integer.
|
1030
|
+
*/
|
1031
|
+
jstype: FieldOptions_JSTypeSDKType;
|
1032
|
+
/**
|
1033
|
+
* Should this field be parsed lazily? Lazy applies only to message-type
|
1034
|
+
* fields. It means that when the outer message is initially parsed, the
|
1035
|
+
* inner message's contents will not be parsed but instead stored in encoded
|
1036
|
+
* form. The inner message will actually be parsed when it is first accessed.
|
1037
|
+
*
|
1038
|
+
* This is only a hint. Implementations are free to choose whether to use
|
1039
|
+
* eager or lazy parsing regardless of the value of this option. However,
|
1040
|
+
* setting this option true suggests that the protocol author believes that
|
1041
|
+
* using lazy parsing on this field is worth the additional bookkeeping
|
1042
|
+
* overhead typically needed to implement it.
|
1043
|
+
*
|
1044
|
+
* This option does not affect the public interface of any generated code;
|
1045
|
+
* all method signatures remain the same. Furthermore, thread-safety of the
|
1046
|
+
* interface is not affected by this option; const methods remain safe to
|
1047
|
+
* call from multiple threads concurrently, while non-const methods continue
|
1048
|
+
* to require exclusive access.
|
1049
|
+
*
|
1050
|
+
*
|
1051
|
+
* Note that implementations may choose not to check required fields within
|
1052
|
+
* a lazy sub-message. That is, calling IsInitialized() on the outer message
|
1053
|
+
* may return true even if the inner message has missing required fields.
|
1054
|
+
* This is necessary because otherwise the inner message would have to be
|
1055
|
+
* parsed in order to perform the check, defeating the purpose of lazy
|
1056
|
+
* parsing. An implementation which chooses not to check required fields
|
1057
|
+
* must be consistent about it. That is, for any particular sub-message, the
|
1058
|
+
* implementation must either *always* check its required fields, or *never*
|
1059
|
+
* check its required fields, regardless of whether or not the message has
|
1060
|
+
* been parsed.
|
1061
|
+
*/
|
697
1062
|
lazy: boolean;
|
1063
|
+
/**
|
1064
|
+
* Is this field deprecated?
|
1065
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
1066
|
+
* for accessors, or it will be completely ignored; in the very least, this
|
1067
|
+
* is a formalization for deprecating fields.
|
1068
|
+
*/
|
698
1069
|
deprecated: boolean;
|
1070
|
+
/** For Google-internal migration only. Do not use. */
|
699
1071
|
weak: boolean;
|
1072
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
700
1073
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
701
1074
|
}
|
702
1075
|
export interface OneofOptions {
|
@@ -704,6 +1077,7 @@ export interface OneofOptions {
|
|
704
1077
|
uninterpretedOption: UninterpretedOption[];
|
705
1078
|
}
|
706
1079
|
export interface OneofOptionsSDKType {
|
1080
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
707
1081
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
708
1082
|
}
|
709
1083
|
export interface EnumOptions {
|
@@ -723,8 +1097,19 @@ export interface EnumOptions {
|
|
723
1097
|
uninterpretedOption: UninterpretedOption[];
|
724
1098
|
}
|
725
1099
|
export interface EnumOptionsSDKType {
|
1100
|
+
/**
|
1101
|
+
* Set this option to true to allow mapping different tag names to the same
|
1102
|
+
* value.
|
1103
|
+
*/
|
726
1104
|
allow_alias: boolean;
|
1105
|
+
/**
|
1106
|
+
* Is this enum deprecated?
|
1107
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
1108
|
+
* for the enum, or it will be completely ignored; in the very least, this
|
1109
|
+
* is a formalization for deprecating enums.
|
1110
|
+
*/
|
727
1111
|
deprecated: boolean;
|
1112
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
728
1113
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
729
1114
|
}
|
730
1115
|
export interface EnumValueOptions {
|
@@ -739,7 +1124,14 @@ export interface EnumValueOptions {
|
|
739
1124
|
uninterpretedOption: UninterpretedOption[];
|
740
1125
|
}
|
741
1126
|
export interface EnumValueOptionsSDKType {
|
1127
|
+
/**
|
1128
|
+
* Is this enum value deprecated?
|
1129
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
1130
|
+
* for the enum value, or it will be completely ignored; in the very least,
|
1131
|
+
* this is a formalization for deprecating enum values.
|
1132
|
+
*/
|
742
1133
|
deprecated: boolean;
|
1134
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
743
1135
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
744
1136
|
}
|
745
1137
|
export interface ServiceOptions {
|
@@ -754,7 +1146,14 @@ export interface ServiceOptions {
|
|
754
1146
|
uninterpretedOption: UninterpretedOption[];
|
755
1147
|
}
|
756
1148
|
export interface ServiceOptionsSDKType {
|
1149
|
+
/**
|
1150
|
+
* Is this service deprecated?
|
1151
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
1152
|
+
* for the service, or it will be completely ignored; in the very least,
|
1153
|
+
* this is a formalization for deprecating services.
|
1154
|
+
*/
|
757
1155
|
deprecated: boolean;
|
1156
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
758
1157
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
759
1158
|
}
|
760
1159
|
export interface MethodOptions {
|
@@ -770,8 +1169,15 @@ export interface MethodOptions {
|
|
770
1169
|
uninterpretedOption: UninterpretedOption[];
|
771
1170
|
}
|
772
1171
|
export interface MethodOptionsSDKType {
|
1172
|
+
/**
|
1173
|
+
* Is this method deprecated?
|
1174
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
1175
|
+
* for the method, or it will be completely ignored; in the very least,
|
1176
|
+
* this is a formalization for deprecating methods.
|
1177
|
+
*/
|
773
1178
|
deprecated: boolean;
|
774
|
-
idempotency_level:
|
1179
|
+
idempotency_level: MethodOptions_IdempotencyLevelSDKType;
|
1180
|
+
/** The parser stores options it doesn't recognize here. See above. */
|
775
1181
|
uninterpreted_option: UninterpretedOptionSDKType[];
|
776
1182
|
}
|
777
1183
|
/**
|
@@ -805,6 +1211,10 @@ export interface UninterpretedOption {
|
|
805
1211
|
*/
|
806
1212
|
export interface UninterpretedOptionSDKType {
|
807
1213
|
name: UninterpretedOption_NamePartSDKType[];
|
1214
|
+
/**
|
1215
|
+
* The value of the uninterpreted option, in whatever type the tokenizer
|
1216
|
+
* identified it as during parsing. Exactly one of these should be set.
|
1217
|
+
*/
|
808
1218
|
identifier_value: string;
|
809
1219
|
positive_int_value: Long;
|
810
1220
|
negative_int_value: Long;
|
@@ -891,6 +1301,51 @@ export interface SourceCodeInfo {
|
|
891
1301
|
* FileDescriptorProto was generated.
|
892
1302
|
*/
|
893
1303
|
export interface SourceCodeInfoSDKType {
|
1304
|
+
/**
|
1305
|
+
* A Location identifies a piece of source code in a .proto file which
|
1306
|
+
* corresponds to a particular definition. This information is intended
|
1307
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
1308
|
+
* tools.
|
1309
|
+
*
|
1310
|
+
* For example, say we have a file like:
|
1311
|
+
* message Foo {
|
1312
|
+
* optional string foo = 1;
|
1313
|
+
* }
|
1314
|
+
* Let's look at just the field definition:
|
1315
|
+
* optional string foo = 1;
|
1316
|
+
* ^ ^^ ^^ ^ ^^^
|
1317
|
+
* a bc de f ghi
|
1318
|
+
* We have the following locations:
|
1319
|
+
* span path represents
|
1320
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
1321
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
1322
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
1323
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
1324
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
1325
|
+
*
|
1326
|
+
* Notes:
|
1327
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
1328
|
+
* particular index within it). This is used whenever a set of elements are
|
1329
|
+
* logically enclosed in a single code segment. For example, an entire
|
1330
|
+
* extend block (possibly containing multiple extension definitions) will
|
1331
|
+
* have an outer location whose path refers to the "extensions" repeated
|
1332
|
+
* field without an index.
|
1333
|
+
* - Multiple locations may have the same path. This happens when a single
|
1334
|
+
* logical declaration is spread out across multiple places. The most
|
1335
|
+
* obvious example is the "extend" block again -- there may be multiple
|
1336
|
+
* extend blocks in the same scope, each of which will have the same path.
|
1337
|
+
* - A location's span is not always a subset of its parent's span. For
|
1338
|
+
* example, the "extendee" of an extension declaration appears at the
|
1339
|
+
* beginning of the "extend" block and is shared by all extensions within
|
1340
|
+
* the block.
|
1341
|
+
* - Just because a location's span is a subset of some other location's span
|
1342
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
1343
|
+
* both a type and a field in a single declaration. Thus, the locations
|
1344
|
+
* corresponding to the type and field and their components will overlap.
|
1345
|
+
* - Code which tries to interpret locations should probably be designed to
|
1346
|
+
* ignore those that it doesn't understand, as more types of locations could
|
1347
|
+
* be recorded in the future.
|
1348
|
+
*/
|
894
1349
|
location: SourceCodeInfo_LocationSDKType[];
|
895
1350
|
}
|
896
1351
|
export interface SourceCodeInfo_Location {
|
@@ -982,8 +1437,89 @@ export interface SourceCodeInfo_Location {
|
|
982
1437
|
leadingDetachedComments: string[];
|
983
1438
|
}
|
984
1439
|
export interface SourceCodeInfo_LocationSDKType {
|
1440
|
+
/**
|
1441
|
+
* Identifies which part of the FileDescriptorProto was defined at this
|
1442
|
+
* location.
|
1443
|
+
*
|
1444
|
+
* Each element is a field number or an index. They form a path from
|
1445
|
+
* the root FileDescriptorProto to the place where the definition. For
|
1446
|
+
* example, this path:
|
1447
|
+
* [ 4, 3, 2, 7, 1 ]
|
1448
|
+
* refers to:
|
1449
|
+
* file.message_type(3) // 4, 3
|
1450
|
+
* .field(7) // 2, 7
|
1451
|
+
* .name() // 1
|
1452
|
+
* This is because FileDescriptorProto.message_type has field number 4:
|
1453
|
+
* repeated DescriptorProto message_type = 4;
|
1454
|
+
* and DescriptorProto.field has field number 2:
|
1455
|
+
* repeated FieldDescriptorProto field = 2;
|
1456
|
+
* and FieldDescriptorProto.name has field number 1:
|
1457
|
+
* optional string name = 1;
|
1458
|
+
*
|
1459
|
+
* Thus, the above path gives the location of a field name. If we removed
|
1460
|
+
* the last element:
|
1461
|
+
* [ 4, 3, 2, 7 ]
|
1462
|
+
* this path refers to the whole field declaration (from the beginning
|
1463
|
+
* of the label to the terminating semicolon).
|
1464
|
+
*/
|
985
1465
|
path: number[];
|
1466
|
+
/**
|
1467
|
+
* Always has exactly three or four elements: start line, start column,
|
1468
|
+
* end line (optional, otherwise assumed same as start line), end column.
|
1469
|
+
* These are packed into a single field for efficiency. Note that line
|
1470
|
+
* and column numbers are zero-based -- typically you will want to add
|
1471
|
+
* 1 to each before displaying to a user.
|
1472
|
+
*/
|
986
1473
|
span: number[];
|
1474
|
+
/**
|
1475
|
+
* If this SourceCodeInfo represents a complete declaration, these are any
|
1476
|
+
* comments appearing before and after the declaration which appear to be
|
1477
|
+
* attached to the declaration.
|
1478
|
+
*
|
1479
|
+
* A series of line comments appearing on consecutive lines, with no other
|
1480
|
+
* tokens appearing on those lines, will be treated as a single comment.
|
1481
|
+
*
|
1482
|
+
* leading_detached_comments will keep paragraphs of comments that appear
|
1483
|
+
* before (but not connected to) the current element. Each paragraph,
|
1484
|
+
* separated by empty lines, will be one comment element in the repeated
|
1485
|
+
* field.
|
1486
|
+
*
|
1487
|
+
* Only the comment content is provided; comment markers (e.g. //) are
|
1488
|
+
* stripped out. For block comments, leading whitespace and an asterisk
|
1489
|
+
* will be stripped from the beginning of each line other than the first.
|
1490
|
+
* Newlines are included in the output.
|
1491
|
+
*
|
1492
|
+
* Examples:
|
1493
|
+
*
|
1494
|
+
* optional int32 foo = 1; // Comment attached to foo.
|
1495
|
+
* // Comment attached to bar.
|
1496
|
+
* optional int32 bar = 2;
|
1497
|
+
*
|
1498
|
+
* optional string baz = 3;
|
1499
|
+
* // Comment attached to baz.
|
1500
|
+
* // Another line attached to baz.
|
1501
|
+
*
|
1502
|
+
* // Comment attached to qux.
|
1503
|
+
* //
|
1504
|
+
* // Another line attached to qux.
|
1505
|
+
* optional double qux = 4;
|
1506
|
+
*
|
1507
|
+
* // Detached comment for corge. This is not leading or trailing comments
|
1508
|
+
* // to qux or corge because there are blank lines separating it from
|
1509
|
+
* // both.
|
1510
|
+
*
|
1511
|
+
* // Detached comment for corge paragraph 2.
|
1512
|
+
*
|
1513
|
+
* optional string corge = 5;
|
1514
|
+
* /* Block comment attached
|
1515
|
+
* * to corge. Leading asterisks
|
1516
|
+
* * will be removed. *\/
|
1517
|
+
* /* Block comment attached to
|
1518
|
+
* * grault. *\/
|
1519
|
+
* optional int32 grault = 6;
|
1520
|
+
*
|
1521
|
+
* // ignored detached comments.
|
1522
|
+
*/
|
987
1523
|
leading_comments: string;
|
988
1524
|
trailing_comments: string;
|
989
1525
|
leading_detached_comments: string[];
|
@@ -1006,6 +1542,10 @@ export interface GeneratedCodeInfo {
|
|
1006
1542
|
* source file, but may contain references to different source .proto files.
|
1007
1543
|
*/
|
1008
1544
|
export interface GeneratedCodeInfoSDKType {
|
1545
|
+
/**
|
1546
|
+
* An Annotation connects some span of text in generated code to an element
|
1547
|
+
* of its generating .proto file.
|
1548
|
+
*/
|
1009
1549
|
annotation: GeneratedCodeInfo_AnnotationSDKType[];
|
1010
1550
|
}
|
1011
1551
|
export interface GeneratedCodeInfo_Annotation {
|
@@ -1029,9 +1569,23 @@ export interface GeneratedCodeInfo_Annotation {
|
|
1029
1569
|
end: number;
|
1030
1570
|
}
|
1031
1571
|
export interface GeneratedCodeInfo_AnnotationSDKType {
|
1572
|
+
/**
|
1573
|
+
* Identifies the element in the original source .proto file. This field
|
1574
|
+
* is formatted the same as SourceCodeInfo.Location.path.
|
1575
|
+
*/
|
1032
1576
|
path: number[];
|
1577
|
+
/** Identifies the filesystem path to the original source .proto. */
|
1033
1578
|
source_file: string;
|
1579
|
+
/**
|
1580
|
+
* Identifies the starting offset in bytes in the generated code
|
1581
|
+
* that relates to the identified object.
|
1582
|
+
*/
|
1034
1583
|
begin: number;
|
1584
|
+
/**
|
1585
|
+
* Identifies the ending offset in bytes in the generated code that
|
1586
|
+
* relates to the identified offset. The end offset should be one past
|
1587
|
+
* the last relevant byte (so the length of the text = end - begin).
|
1588
|
+
*/
|
1035
1589
|
end: number;
|
1036
1590
|
}
|
1037
1591
|
export declare const FileDescriptorSet: {
|