decentralcardgame-cardchain-client-ts 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/lib/index.d.ts +78 -78
  2. package/lib/index.js +23 -23
  3. package/package.json +5 -2
  4. package/cardchain.cardchain/index.ts +0 -6
  5. package/cardchain.cardchain/module.ts +0 -1869
  6. package/cardchain.cardchain/registry.ts +0 -111
  7. package/cardchain.cardchain/rest.ts +0 -655
  8. package/cardchain.cardchain/types.ts +0 -63
  9. package/cardchain.featureflag/index.ts +0 -6
  10. package/cardchain.featureflag/module.ts +0 -165
  11. package/cardchain.featureflag/registry.ts +0 -11
  12. package/cardchain.featureflag/rest.ts +0 -256
  13. package/cardchain.featureflag/types.ts +0 -9
  14. package/client.ts +0 -164
  15. package/cosmos.auth.v1beta1/index.ts +0 -6
  16. package/cosmos.auth.v1beta1/module.ts +0 -136
  17. package/cosmos.auth.v1beta1/registry.ts +0 -9
  18. package/cosmos.auth.v1beta1/rest.ts +0 -403
  19. package/cosmos.auth.v1beta1/types.ts +0 -13
  20. package/cosmos.authz.v1beta1/index.ts +0 -6
  21. package/cosmos.authz.v1beta1/module.ts +0 -206
  22. package/cosmos.authz.v1beta1/registry.ts +0 -13
  23. package/cosmos.authz.v1beta1/rest.ts +0 -256
  24. package/cosmos.authz.v1beta1/types.ts +0 -17
  25. package/cosmos.bank.v1beta1/index.ts +0 -6
  26. package/cosmos.bank.v1beta1/module.ts +0 -247
  27. package/cosmos.bank.v1beta1/registry.ts +0 -15
  28. package/cosmos.bank.v1beta1/rest.ts +0 -466
  29. package/cosmos.bank.v1beta1/types.ts +0 -25
  30. package/cosmos.base.node.v1beta1/index.ts +0 -6
  31. package/cosmos.base.node.v1beta1/module.ts +0 -95
  32. package/cosmos.base.node.v1beta1/registry.ts +0 -7
  33. package/cosmos.base.node.v1beta1/rest.ts +0 -235
  34. package/cosmos.base.node.v1beta1/types.ts +0 -5
  35. package/cosmos.base.tendermint.v1beta1/index.ts +0 -6
  36. package/cosmos.base.tendermint.v1beta1/module.ts +0 -109
  37. package/cosmos.base.tendermint.v1beta1/registry.ts +0 -7
  38. package/cosmos.base.tendermint.v1beta1/rest.ts +0 -340
  39. package/cosmos.base.tendermint.v1beta1/types.ts +0 -19
  40. package/cosmos.circuit.v1/index.ts +0 -6
  41. package/cosmos.circuit.v1/module.ts +0 -198
  42. package/cosmos.circuit.v1/registry.ts +0 -13
  43. package/cosmos.circuit.v1/rest.ts +0 -256
  44. package/cosmos.circuit.v1/types.ts +0 -9
  45. package/cosmos.consensus.v1/index.ts +0 -6
  46. package/cosmos.consensus.v1/module.ts +0 -128
  47. package/cosmos.consensus.v1/registry.ts +0 -9
  48. package/cosmos.consensus.v1/rest.ts +0 -214
  49. package/cosmos.consensus.v1/types.ts +0 -5
  50. package/cosmos.crisis.v1beta1/index.ts +0 -6
  51. package/cosmos.crisis.v1beta1/module.ts +0 -161
  52. package/cosmos.crisis.v1beta1/registry.ts +0 -11
  53. package/cosmos.crisis.v1beta1/rest.ts +0 -193
  54. package/cosmos.crisis.v1beta1/types.ts +0 -5
  55. package/cosmos.distribution.v1beta1/index.ts +0 -6
  56. package/cosmos.distribution.v1beta1/module.ts +0 -364
  57. package/cosmos.distribution.v1beta1/registry.ts +0 -21
  58. package/cosmos.distribution.v1beta1/rest.ts +0 -403
  59. package/cosmos.distribution.v1beta1/types.ts +0 -43
  60. package/cosmos.evidence.v1beta1/index.ts +0 -6
  61. package/cosmos.evidence.v1beta1/module.ts +0 -130
  62. package/cosmos.evidence.v1beta1/registry.ts +0 -9
  63. package/cosmos.evidence.v1beta1/rest.ts +0 -235
  64. package/cosmos.evidence.v1beta1/types.ts +0 -7
  65. package/cosmos.feegrant.v1beta1/index.ts +0 -6
  66. package/cosmos.feegrant.v1beta1/module.ts +0 -202
  67. package/cosmos.feegrant.v1beta1/registry.ts +0 -13
  68. package/cosmos.feegrant.v1beta1/rest.ts +0 -256
  69. package/cosmos.feegrant.v1beta1/types.ts +0 -13
  70. package/cosmos.gov.v1/index.ts +0 -6
  71. package/cosmos.gov.v1/module.ts +0 -344
  72. package/cosmos.gov.v1/registry.ts +0 -21
  73. package/cosmos.gov.v1/rest.ts +0 -382
  74. package/cosmos.gov.v1/types.ts +0 -23
  75. package/cosmos.gov.v1beta1/index.ts +0 -6
  76. package/cosmos.gov.v1beta1/module.ts +0 -245
  77. package/cosmos.gov.v1beta1/registry.ts +0 -15
  78. package/cosmos.gov.v1beta1/rest.ts +0 -361
  79. package/cosmos.gov.v1beta1/types.ts +0 -23
  80. package/cosmos.group.v1/index.ts +0 -6
  81. package/cosmos.group.v1/module.ts +0 -599
  82. package/cosmos.group.v1/registry.ts +0 -35
  83. package/cosmos.group.v1/rest.ts +0 -487
  84. package/cosmos.group.v1/types.ts +0 -47
  85. package/cosmos.mint.v1beta1/index.ts +0 -6
  86. package/cosmos.mint.v1beta1/module.ts +0 -132
  87. package/cosmos.mint.v1beta1/registry.ts +0 -9
  88. package/cosmos.mint.v1beta1/rest.ts +0 -256
  89. package/cosmos.mint.v1beta1/types.ts +0 -9
  90. package/cosmos.nft.v1beta1/index.ts +0 -6
  91. package/cosmos.nft.v1beta1/module.ts +0 -140
  92. package/cosmos.nft.v1beta1/registry.ts +0 -9
  93. package/cosmos.nft.v1beta1/rest.ts +0 -340
  94. package/cosmos.nft.v1beta1/types.ts +0 -17
  95. package/cosmos.params.v1beta1/index.ts +0 -6
  96. package/cosmos.params.v1beta1/module.ts +0 -101
  97. package/cosmos.params.v1beta1/registry.ts +0 -7
  98. package/cosmos.params.v1beta1/rest.ts +0 -235
  99. package/cosmos.params.v1beta1/types.ts +0 -11
  100. package/cosmos.slashing.v1beta1/index.ts +0 -6
  101. package/cosmos.slashing.v1beta1/module.ts +0 -171
  102. package/cosmos.slashing.v1beta1/registry.ts +0 -11
  103. package/cosmos.slashing.v1beta1/rest.ts +0 -256
  104. package/cosmos.slashing.v1beta1/types.ts +0 -15
  105. package/cosmos.staking.v1beta1/index.ts +0 -6
  106. package/cosmos.staking.v1beta1/module.ts +0 -374
  107. package/cosmos.staking.v1beta1/registry.ts +0 -21
  108. package/cosmos.staking.v1beta1/rest.ts +0 -487
  109. package/cosmos.staking.v1beta1/types.ts +0 -53
  110. package/cosmos.tx.v1beta1/index.ts +0 -6
  111. package/cosmos.tx.v1beta1/module.ts +0 -121
  112. package/cosmos.tx.v1beta1/registry.ts +0 -7
  113. package/cosmos.tx.v1beta1/rest.ts +0 -382
  114. package/cosmos.tx.v1beta1/types.ts +0 -31
  115. package/cosmos.upgrade.v1beta1/index.ts +0 -6
  116. package/cosmos.upgrade.v1beta1/module.ts +0 -169
  117. package/cosmos.upgrade.v1beta1/registry.ts +0 -11
  118. package/cosmos.upgrade.v1beta1/rest.ts +0 -298
  119. package/cosmos.upgrade.v1beta1/types.ts +0 -13
  120. package/cosmos.vesting.v1beta1/index.ts +0 -6
  121. package/cosmos.vesting.v1beta1/module.ts +0 -206
  122. package/cosmos.vesting.v1beta1/registry.ts +0 -13
  123. package/cosmos.vesting.v1beta1/rest.ts +0 -193
  124. package/cosmos.vesting.v1beta1/types.ts +0 -17
  125. package/env.ts +0 -7
  126. package/helpers.ts +0 -32
  127. package/ibc.applications.fee.v1/index.ts +0 -6
  128. package/ibc.applications.fee.v1/module.ts +0 -247
  129. package/ibc.applications.fee.v1/registry.ts +0 -15
  130. package/ibc.applications.fee.v1/rest.ts +0 -403
  131. package/ibc.applications.fee.v1/types.ts +0 -25
  132. package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -6
  133. package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -196
  134. package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -13
  135. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -235
  136. package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -7
  137. package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -6
  138. package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -165
  139. package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -11
  140. package/ibc.applications.interchain_accounts.host.v1/rest.ts +0 -214
  141. package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -9
  142. package/ibc.applications.transfer.v1/index.ts +0 -6
  143. package/ibc.applications.transfer.v1/module.ts +0 -169
  144. package/ibc.applications.transfer.v1/registry.ts +0 -11
  145. package/ibc.applications.transfer.v1/rest.ts +0 -319
  146. package/ibc.applications.transfer.v1/types.ts +0 -13
  147. package/ibc.core.channel.v1/index.ts +0 -6
  148. package/ibc.core.channel.v1/module.ts +0 -748
  149. package/ibc.core.channel.v1/registry.ts +0 -45
  150. package/ibc.core.channel.v1/rest.ts +0 -550
  151. package/ibc.core.channel.v1/types.ts +0 -31
  152. package/ibc.core.client.v1/index.ts +0 -6
  153. package/ibc.core.client.v1/module.ts +0 -344
  154. package/ibc.core.client.v1/registry.ts +0 -21
  155. package/ibc.core.client.v1/rest.ts +0 -403
  156. package/ibc.core.client.v1/types.ts +0 -23
  157. package/ibc.core.connection.v1/index.ts +0 -6
  158. package/ibc.core.connection.v1/module.ts +0 -274
  159. package/ibc.core.connection.v1/registry.ts +0 -17
  160. package/ibc.core.connection.v1/rest.ts +0 -319
  161. package/ibc.core.connection.v1/types.ts +0 -19
  162. package/index.ts +0 -81
  163. package/modules.ts +0 -5
  164. package/tsconfig.json +0 -13
  165. package/types/amino/amino.ts +0 -9
  166. package/types/capability/v1/capability.ts +0 -263
  167. package/types/capability/v1/genesis.ts +0 -220
  168. package/types/cardchain/cardchain/card.ts +0 -712
  169. package/types/cardchain/cardchain/card_content.ts +0 -116
  170. package/types/cardchain/cardchain/card_with_image.ts +0 -134
  171. package/types/cardchain/cardchain/council.ts +0 -502
  172. package/types/cardchain/cardchain/encounter.ts +0 -307
  173. package/types/cardchain/cardchain/encounter_with_image.ts +0 -119
  174. package/types/cardchain/cardchain/genesis.ts +0 -403
  175. package/types/cardchain/cardchain/image.ts +0 -122
  176. package/types/cardchain/cardchain/match.ts +0 -453
  177. package/types/cardchain/cardchain/module/module.ts +0 -99
  178. package/types/cardchain/cardchain/params.ts +0 -544
  179. package/types/cardchain/cardchain/query.ts +0 -3786
  180. package/types/cardchain/cardchain/running_average.ts +0 -116
  181. package/types/cardchain/cardchain/sell_offer.ts +0 -224
  182. package/types/cardchain/cardchain/server.ts +0 -144
  183. package/types/cardchain/cardchain/set.ts +0 -537
  184. package/types/cardchain/cardchain/set_with_artwork.ts +0 -142
  185. package/types/cardchain/cardchain/tx.ts +0 -8053
  186. package/types/cardchain/cardchain/user.ts +0 -955
  187. package/types/cardchain/cardchain/voting.ts +0 -328
  188. package/types/cardchain/cardchain/voting_results.ts +0 -227
  189. package/types/cardchain/cardchain/zealy.ts +0 -116
  190. package/types/cardchain/featureflag/flag.ts +0 -133
  191. package/types/cardchain/featureflag/genesis.ts +0 -226
  192. package/types/cardchain/featureflag/module/module.ts +0 -99
  193. package/types/cardchain/featureflag/params.ts +0 -78
  194. package/types/cardchain/featureflag/query.ts +0 -445
  195. package/types/cardchain/featureflag/tx.ts +0 -373
  196. package/types/cosmos/app/runtime/v1alpha1/module.ts +0 -389
  197. package/types/cosmos/app/v1alpha1/config.ts +0 -346
  198. package/types/cosmos/app/v1alpha1/module.ts +0 -348
  199. package/types/cosmos/app/v1alpha1/query.ts +0 -175
  200. package/types/cosmos/auth/module/v1/module.ts +0 -229
  201. package/types/cosmos/auth/v1beta1/auth.ts +0 -531
  202. package/types/cosmos/auth/v1beta1/genesis.ts +0 -125
  203. package/types/cosmos/auth/v1beta1/query.ts +0 -1564
  204. package/types/cosmos/auth/v1beta1/tx.ts +0 -213
  205. package/types/cosmos/authz/module/v1/module.ts +0 -78
  206. package/types/cosmos/authz/v1beta1/authz.ts +0 -411
  207. package/types/cosmos/authz/v1beta1/event.ts +0 -241
  208. package/types/cosmos/authz/v1beta1/genesis.ts +0 -101
  209. package/types/cosmos/authz/v1beta1/query.ts +0 -643
  210. package/types/cosmos/authz/v1beta1/tx.ts +0 -574
  211. package/types/cosmos/autocli/v1/options.ts +0 -1049
  212. package/types/cosmos/autocli/v1/query.ts +0 -291
  213. package/types/cosmos/bank/module/v1/module.ts +0 -150
  214. package/types/cosmos/bank/v1beta1/authz.ts +0 -129
  215. package/types/cosmos/bank/v1beta1/bank.ts +0 -775
  216. package/types/cosmos/bank/v1beta1/genesis.ts +0 -277
  217. package/types/cosmos/bank/v1beta1/query.ts +0 -2424
  218. package/types/cosmos/bank/v1beta1/tx.ts +0 -697
  219. package/types/cosmos/base/abci/v1beta1/abci.ts +0 -1469
  220. package/types/cosmos/base/node/v1beta1/query.ts +0 -485
  221. package/types/cosmos/base/query/v1beta1/pagination.ts +0 -336
  222. package/types/cosmos/base/reflection/v1beta1/reflection.ts +0 -328
  223. package/types/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2092
  224. package/types/cosmos/base/tendermint/v1beta1/query.ts +0 -2025
  225. package/types/cosmos/base/tendermint/v1beta1/types.ts +0 -548
  226. package/types/cosmos/base/v1beta1/coin.ts +0 -209
  227. package/types/cosmos/circuit/module/v1/module.ts +0 -99
  228. package/types/cosmos/circuit/v1/query.ts +0 -476
  229. package/types/cosmos/circuit/v1/tx.ts +0 -576
  230. package/types/cosmos/circuit/v1/types.ts +0 -362
  231. package/types/cosmos/consensus/module/v1/module.ts +0 -99
  232. package/types/cosmos/consensus/v1/query.ts +0 -181
  233. package/types/cosmos/consensus/v1/tx.ts +0 -271
  234. package/types/cosmos/crisis/module/v1/module.ts +0 -119
  235. package/types/cosmos/crisis/v1beta1/genesis.ts +0 -105
  236. package/types/cosmos/crisis/v1beta1/tx.ts +0 -367
  237. package/types/cosmos/crypto/ed25519/keys.ts +0 -195
  238. package/types/cosmos/crypto/hd/v1/hd.ts +0 -178
  239. package/types/cosmos/crypto/keyring/v1/record.ts +0 -440
  240. package/types/cosmos/crypto/multisig/keys.ts +0 -124
  241. package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -218
  242. package/types/cosmos/crypto/secp256k1/keys.ts +0 -192
  243. package/types/cosmos/crypto/secp256r1/keys.ts +0 -193
  244. package/types/cosmos/distribution/module/v1/module.ts +0 -118
  245. package/types/cosmos/distribution/v1beta1/distribution.ts +0 -1177
  246. package/types/cosmos/distribution/v1beta1/genesis.ts +0 -1028
  247. package/types/cosmos/distribution/v1beta1/query.ts +0 -1700
  248. package/types/cosmos/distribution/v1beta1/tx.ts +0 -1178
  249. package/types/cosmos/evidence/module/v1/module.ts +0 -78
  250. package/types/cosmos/evidence/v1beta1/evidence.ts +0 -194
  251. package/types/cosmos/evidence/v1beta1/genesis.ts +0 -98
  252. package/types/cosmos/evidence/v1beta1/query.ts +0 -414
  253. package/types/cosmos/evidence/v1beta1/tx.ts +0 -243
  254. package/types/cosmos/feegrant/module/v1/module.ts +0 -78
  255. package/types/cosmos/feegrant/v1beta1/feegrant.ts +0 -513
  256. package/types/cosmos/feegrant/v1beta1/genesis.ts +0 -101
  257. package/types/cosmos/feegrant/v1beta1/query.ts +0 -597
  258. package/types/cosmos/feegrant/v1beta1/tx.ts +0 -496
  259. package/types/cosmos/genutil/module/v1/module.ts +0 -78
  260. package/types/cosmos/genutil/v1beta1/genesis.ts +0 -122
  261. package/types/cosmos/gov/module/v1/module.ts +0 -133
  262. package/types/cosmos/gov/v1/genesis.ts +0 -313
  263. package/types/cosmos/gov/v1/gov.ts +0 -1712
  264. package/types/cosmos/gov/v1/query.ts +0 -1605
  265. package/types/cosmos/gov/v1/tx.ts +0 -1387
  266. package/types/cosmos/gov/v1beta1/genesis.ts +0 -241
  267. package/types/cosmos/gov/v1beta1/gov.ts +0 -1273
  268. package/types/cosmos/gov/v1beta1/query.ts +0 -1441
  269. package/types/cosmos/gov/v1beta1/tx.ts +0 -738
  270. package/types/cosmos/group/module/v1/module.ts +0 -141
  271. package/types/cosmos/group/v1/events.ts +0 -795
  272. package/types/cosmos/group/v1/genesis.ts +0 -265
  273. package/types/cosmos/group/v1/query.ts +0 -2441
  274. package/types/cosmos/group/v1/tx.ts +0 -2631
  275. package/types/cosmos/group/v1/types.ts +0 -1850
  276. package/types/cosmos/ics23/v1/proofs.ts +0 -1731
  277. package/types/cosmos/mint/module/v1/module.ts +0 -118
  278. package/types/cosmos/mint/v1beta1/genesis.ts +0 -126
  279. package/types/cosmos/mint/v1beta1/mint.ts +0 -293
  280. package/types/cosmos/mint/v1beta1/query.ts +0 -453
  281. package/types/cosmos/mint/v1beta1/tx.ts +0 -213
  282. package/types/cosmos/msg/textual/v1/textual.ts +0 -9
  283. package/types/cosmos/msg/v1/msg.ts +0 -9
  284. package/types/cosmos/nft/module/v1/module.ts +0 -78
  285. package/types/cosmos/nft/v1beta1/event.ts +0 -359
  286. package/types/cosmos/nft/v1beta1/genesis.ts +0 -204
  287. package/types/cosmos/nft/v1beta1/nft.ts +0 -348
  288. package/types/cosmos/nft/v1beta1/query.ts +0 -1173
  289. package/types/cosmos/nft/v1beta1/tx.ts +0 -228
  290. package/types/cosmos/orm/module/v1alpha1/module.ts +0 -82
  291. package/types/cosmos/orm/query/v1alpha1/query.ts +0 -933
  292. package/types/cosmos/orm/v1/orm.ts +0 -453
  293. package/types/cosmos/orm/v1alpha1/schema.ts +0 -321
  294. package/types/cosmos/params/module/v1/module.ts +0 -78
  295. package/types/cosmos/params/v1beta1/params.ts +0 -236
  296. package/types/cosmos/params/v1beta1/query.ts +0 -439
  297. package/types/cosmos/query/v1/query.ts +0 -9
  298. package/types/cosmos/reflection/v1/reflection.ts +0 -179
  299. package/types/cosmos/slashing/module/v1/module.ts +0 -99
  300. package/types/cosmos/slashing/v1beta1/genesis.ts +0 -424
  301. package/types/cosmos/slashing/v1beta1/query.ts +0 -487
  302. package/types/cosmos/slashing/v1beta1/slashing.ts +0 -422
  303. package/types/cosmos/slashing/v1beta1/tx.ts +0 -336
  304. package/types/cosmos/staking/module/v1/module.ts +0 -161
  305. package/types/cosmos/staking/v1beta1/authz.ts +0 -306
  306. package/types/cosmos/staking/v1beta1/genesis.ts +0 -377
  307. package/types/cosmos/staking/v1beta1/query.ts +0 -2540
  308. package/types/cosmos/staking/v1beta1/staking.ts +0 -2576
  309. package/types/cosmos/staking/v1beta1/tx.ts +0 -1433
  310. package/types/cosmos/store/internal/kv/v1beta1/kv.ts +0 -205
  311. package/types/cosmos/store/snapshots/v1/snapshot.ts +0 -746
  312. package/types/cosmos/store/streaming/abci/grpc.ts +0 -367
  313. package/types/cosmos/store/v1beta1/commit_info.ts +0 -370
  314. package/types/cosmos/store/v1beta1/listening.ts +0 -301
  315. package/types/cosmos/tx/config/v1/config.ts +0 -125
  316. package/types/cosmos/tx/signing/v1beta1/signing.ts +0 -630
  317. package/types/cosmos/tx/v1beta1/service.ts +0 -1889
  318. package/types/cosmos/tx/v1beta1/tx.ts +0 -1657
  319. package/types/cosmos/upgrade/module/v1/module.ts +0 -99
  320. package/types/cosmos/upgrade/v1beta1/query.ts +0 -819
  321. package/types/cosmos/upgrade/v1beta1/tx.ts +0 -340
  322. package/types/cosmos/upgrade/v1beta1/upgrade.ts +0 -525
  323. package/types/cosmos/vesting/module/v1/module.ts +0 -78
  324. package/types/cosmos/vesting/v1beta1/tx.ts +0 -640
  325. package/types/cosmos/vesting/v1beta1/vesting.ts +0 -624
  326. package/types/cosmos_proto/cosmos.ts +0 -307
  327. package/types/gogoproto/gogo.ts +0 -9
  328. package/types/google/api/annotations.ts +0 -9
  329. package/types/google/api/http.ts +0 -770
  330. package/types/google/protobuf/any.ts +0 -259
  331. package/types/google/protobuf/descriptor.ts +0 -6642
  332. package/types/google/protobuf/duration.ts +0 -200
  333. package/types/google/protobuf/timestamp.ts +0 -229
  334. package/types/ibc/applications/fee/v1/ack.ts +0 -166
  335. package/types/ibc/applications/fee/v1/fee.ts +0 -403
  336. package/types/ibc/applications/fee/v1/genesis.ts +0 -571
  337. package/types/ibc/applications/fee/v1/metadata.ts +0 -122
  338. package/types/ibc/applications/fee/v1/query.ts +0 -1757
  339. package/types/ibc/applications/fee/v1/tx.ts +0 -781
  340. package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -104
  341. package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -333
  342. package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -619
  343. package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -590
  344. package/types/ibc/applications/interchain_accounts/host/v1/host.ts +0 -242
  345. package/types/ibc/applications/interchain_accounts/host/v1/query.ts +0 -175
  346. package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -416
  347. package/types/ibc/applications/interchain_accounts/v1/account.ts +0 -120
  348. package/types/ibc/applications/interchain_accounts/v1/metadata.ts +0 -199
  349. package/types/ibc/applications/interchain_accounts/v1/packet.ts +0 -264
  350. package/types/ibc/applications/transfer/v1/authz.ts +0 -254
  351. package/types/ibc/applications/transfer/v1/genesis.ts +0 -165
  352. package/types/ibc/applications/transfer/v1/query.ts +0 -934
  353. package/types/ibc/applications/transfer/v1/transfer.ts +0 -220
  354. package/types/ibc/applications/transfer/v1/tx.ts +0 -505
  355. package/types/ibc/applications/transfer/v2/packet.ts +0 -177
  356. package/types/ibc/core/channel/v1/channel.ts +0 -1358
  357. package/types/ibc/core/channel/v1/genesis.ts +0 -377
  358. package/types/ibc/core/channel/v1/query.ts +0 -3781
  359. package/types/ibc/core/channel/v1/tx.ts +0 -4424
  360. package/types/ibc/core/channel/v1/upgrade.ts +0 -348
  361. package/types/ibc/core/client/v1/client.ts +0 -753
  362. package/types/ibc/core/client/v1/genesis.ts +0 -423
  363. package/types/ibc/core/client/v1/query.ts +0 -1898
  364. package/types/ibc/core/client/v1/tx.ts +0 -1301
  365. package/types/ibc/core/commitment/v1/commitment.ts +0 -336
  366. package/types/ibc/core/connection/v1/connection.ts +0 -840
  367. package/types/ibc/core/connection/v1/genesis.ts +0 -172
  368. package/types/ibc/core/connection/v1/query.ts +0 -1243
  369. package/types/ibc/core/connection/v1/tx.ts +0 -1352
  370. package/types/ibc/core/types/v1/genesis.ts +0 -150
  371. package/types/ibc/lightclients/localhost/v2/localhost.ts +0 -102
  372. package/types/ibc/lightclients/solomachine/v2/solomachine.ts +0 -1765
  373. package/types/ibc/lightclients/solomachine/v3/solomachine.ts +0 -945
  374. package/types/ibc/lightclients/tendermint/v1/tendermint.ts +0 -853
  375. package/types/ibc/lightclients/wasm/v1/genesis.ts +0 -192
  376. package/types/ibc/lightclients/wasm/v1/query.ts +0 -377
  377. package/types/ibc/lightclients/wasm/v1/tx.ts +0 -550
  378. package/types/ibc/lightclients/wasm/v1/wasm.ts +0 -370
  379. package/types/tendermint/abci/types.ts +0 -6103
  380. package/types/tendermint/crypto/keys.ts +0 -142
  381. package/types/tendermint/crypto/proof.ts +0 -533
  382. package/types/tendermint/libs/bits/types.ts +0 -139
  383. package/types/tendermint/p2p/types.ts +0 -544
  384. package/types/tendermint/types/block.ts +0 -158
  385. package/types/tendermint/types/evidence.ts +0 -502
  386. package/types/tendermint/types/params.ts +0 -701
  387. package/types/tendermint/types/types.ts +0 -2133
  388. package/types/tendermint/types/validator.ts +0 -424
  389. package/types/tendermint/version/types.ts +0 -218
  390. package/types.d.ts +0 -21
@@ -1,346 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v2.6.1
4
- // protoc unknown
5
- // source: cosmos/app/v1alpha1/config.proto
6
-
7
- /* eslint-disable */
8
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
9
- import { Any } from "../../../google/protobuf/any";
10
-
11
- export const protobufPackage = "cosmos.app.v1alpha1";
12
-
13
- /**
14
- * Config represents the configuration for a Cosmos SDK ABCI app.
15
- * It is intended that all state machine logic including the version of
16
- * baseapp and tx handlers (and possibly even Tendermint) that an app needs
17
- * can be described in a config object. For compatibility, the framework should
18
- * allow a mixture of declarative and imperative app wiring, however, apps
19
- * that strive for the maximum ease of maintainability should be able to describe
20
- * their state machine with a config object alone.
21
- */
22
- export interface Config {
23
- /** modules are the module configurations for the app. */
24
- modules: ModuleConfig[];
25
- /**
26
- * golang_bindings specifies explicit interface to implementation type bindings which
27
- * depinject uses to resolve interface inputs to provider functions. The scope of this
28
- * field's configuration is global (not module specific).
29
- */
30
- golangBindings: GolangBinding[];
31
- }
32
-
33
- /** ModuleConfig is a module configuration for an app. */
34
- export interface ModuleConfig {
35
- /**
36
- * name is the unique name of the module within the app. It should be a name
37
- * that persists between different versions of a module so that modules
38
- * can be smoothly upgraded to new versions.
39
- *
40
- * For example, for the module cosmos.bank.module.v1.Module, we may chose
41
- * to simply name the module "bank" in the app. When we upgrade to
42
- * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
43
- * and the framework knows that the v2 module should receive all the same state
44
- * that the v1 module had. Note: modules should provide info on which versions
45
- * they can migrate from in the ModuleDescriptor.can_migration_from field.
46
- */
47
- name: string;
48
- /**
49
- * config is the config object for the module. Module config messages should
50
- * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
51
- */
52
- config:
53
- | Any
54
- | undefined;
55
- /**
56
- * golang_bindings specifies explicit interface to implementation type bindings which
57
- * depinject uses to resolve interface inputs to provider functions. The scope of this
58
- * field's configuration is module specific.
59
- */
60
- golangBindings: GolangBinding[];
61
- }
62
-
63
- /** GolangBinding is an explicit interface type to implementing type binding for dependency injection. */
64
- export interface GolangBinding {
65
- /** interface_type is the interface type which will be bound to a specific implementation type */
66
- interfaceType: string;
67
- /** implementation is the implementing type which will be supplied when an input of type interface is requested */
68
- implementation: string;
69
- }
70
-
71
- function createBaseConfig(): Config {
72
- return { modules: [], golangBindings: [] };
73
- }
74
-
75
- export const Config: MessageFns<Config> = {
76
- encode(message: Config, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
77
- for (const v of message.modules) {
78
- ModuleConfig.encode(v!, writer.uint32(10).fork()).join();
79
- }
80
- for (const v of message.golangBindings) {
81
- GolangBinding.encode(v!, writer.uint32(18).fork()).join();
82
- }
83
- return writer;
84
- },
85
-
86
- decode(input: BinaryReader | Uint8Array, length?: number): Config {
87
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
88
- let end = length === undefined ? reader.len : reader.pos + length;
89
- const message = createBaseConfig();
90
- while (reader.pos < end) {
91
- const tag = reader.uint32();
92
- switch (tag >>> 3) {
93
- case 1: {
94
- if (tag !== 10) {
95
- break;
96
- }
97
-
98
- message.modules.push(ModuleConfig.decode(reader, reader.uint32()));
99
- continue;
100
- }
101
- case 2: {
102
- if (tag !== 18) {
103
- break;
104
- }
105
-
106
- message.golangBindings.push(GolangBinding.decode(reader, reader.uint32()));
107
- continue;
108
- }
109
- }
110
- if ((tag & 7) === 4 || tag === 0) {
111
- break;
112
- }
113
- reader.skip(tag & 7);
114
- }
115
- return message;
116
- },
117
-
118
- fromJSON(object: any): Config {
119
- return {
120
- modules: globalThis.Array.isArray(object?.modules)
121
- ? object.modules.map((e: any) => ModuleConfig.fromJSON(e))
122
- : [],
123
- golangBindings: globalThis.Array.isArray(object?.golangBindings)
124
- ? object.golangBindings.map((e: any) => GolangBinding.fromJSON(e))
125
- : [],
126
- };
127
- },
128
-
129
- toJSON(message: Config): unknown {
130
- const obj: any = {};
131
- if (message.modules?.length) {
132
- obj.modules = message.modules.map((e) => ModuleConfig.toJSON(e));
133
- }
134
- if (message.golangBindings?.length) {
135
- obj.golangBindings = message.golangBindings.map((e) => GolangBinding.toJSON(e));
136
- }
137
- return obj;
138
- },
139
-
140
- create<I extends Exact<DeepPartial<Config>, I>>(base?: I): Config {
141
- return Config.fromPartial(base ?? ({} as any));
142
- },
143
- fromPartial<I extends Exact<DeepPartial<Config>, I>>(object: I): Config {
144
- const message = createBaseConfig();
145
- message.modules = object.modules?.map((e) => ModuleConfig.fromPartial(e)) || [];
146
- message.golangBindings = object.golangBindings?.map((e) => GolangBinding.fromPartial(e)) || [];
147
- return message;
148
- },
149
- };
150
-
151
- function createBaseModuleConfig(): ModuleConfig {
152
- return { name: "", config: undefined, golangBindings: [] };
153
- }
154
-
155
- export const ModuleConfig: MessageFns<ModuleConfig> = {
156
- encode(message: ModuleConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
157
- if (message.name !== "") {
158
- writer.uint32(10).string(message.name);
159
- }
160
- if (message.config !== undefined) {
161
- Any.encode(message.config, writer.uint32(18).fork()).join();
162
- }
163
- for (const v of message.golangBindings) {
164
- GolangBinding.encode(v!, writer.uint32(26).fork()).join();
165
- }
166
- return writer;
167
- },
168
-
169
- decode(input: BinaryReader | Uint8Array, length?: number): ModuleConfig {
170
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
171
- let end = length === undefined ? reader.len : reader.pos + length;
172
- const message = createBaseModuleConfig();
173
- while (reader.pos < end) {
174
- const tag = reader.uint32();
175
- switch (tag >>> 3) {
176
- case 1: {
177
- if (tag !== 10) {
178
- break;
179
- }
180
-
181
- message.name = reader.string();
182
- continue;
183
- }
184
- case 2: {
185
- if (tag !== 18) {
186
- break;
187
- }
188
-
189
- message.config = Any.decode(reader, reader.uint32());
190
- continue;
191
- }
192
- case 3: {
193
- if (tag !== 26) {
194
- break;
195
- }
196
-
197
- message.golangBindings.push(GolangBinding.decode(reader, reader.uint32()));
198
- continue;
199
- }
200
- }
201
- if ((tag & 7) === 4 || tag === 0) {
202
- break;
203
- }
204
- reader.skip(tag & 7);
205
- }
206
- return message;
207
- },
208
-
209
- fromJSON(object: any): ModuleConfig {
210
- return {
211
- name: isSet(object.name) ? globalThis.String(object.name) : "",
212
- config: isSet(object.config) ? Any.fromJSON(object.config) : undefined,
213
- golangBindings: globalThis.Array.isArray(object?.golangBindings)
214
- ? object.golangBindings.map((e: any) => GolangBinding.fromJSON(e))
215
- : [],
216
- };
217
- },
218
-
219
- toJSON(message: ModuleConfig): unknown {
220
- const obj: any = {};
221
- if (message.name !== "") {
222
- obj.name = message.name;
223
- }
224
- if (message.config !== undefined) {
225
- obj.config = Any.toJSON(message.config);
226
- }
227
- if (message.golangBindings?.length) {
228
- obj.golangBindings = message.golangBindings.map((e) => GolangBinding.toJSON(e));
229
- }
230
- return obj;
231
- },
232
-
233
- create<I extends Exact<DeepPartial<ModuleConfig>, I>>(base?: I): ModuleConfig {
234
- return ModuleConfig.fromPartial(base ?? ({} as any));
235
- },
236
- fromPartial<I extends Exact<DeepPartial<ModuleConfig>, I>>(object: I): ModuleConfig {
237
- const message = createBaseModuleConfig();
238
- message.name = object.name ?? "";
239
- message.config = (object.config !== undefined && object.config !== null)
240
- ? Any.fromPartial(object.config)
241
- : undefined;
242
- message.golangBindings = object.golangBindings?.map((e) => GolangBinding.fromPartial(e)) || [];
243
- return message;
244
- },
245
- };
246
-
247
- function createBaseGolangBinding(): GolangBinding {
248
- return { interfaceType: "", implementation: "" };
249
- }
250
-
251
- export const GolangBinding: MessageFns<GolangBinding> = {
252
- encode(message: GolangBinding, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
253
- if (message.interfaceType !== "") {
254
- writer.uint32(10).string(message.interfaceType);
255
- }
256
- if (message.implementation !== "") {
257
- writer.uint32(18).string(message.implementation);
258
- }
259
- return writer;
260
- },
261
-
262
- decode(input: BinaryReader | Uint8Array, length?: number): GolangBinding {
263
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
264
- let end = length === undefined ? reader.len : reader.pos + length;
265
- const message = createBaseGolangBinding();
266
- while (reader.pos < end) {
267
- const tag = reader.uint32();
268
- switch (tag >>> 3) {
269
- case 1: {
270
- if (tag !== 10) {
271
- break;
272
- }
273
-
274
- message.interfaceType = reader.string();
275
- continue;
276
- }
277
- case 2: {
278
- if (tag !== 18) {
279
- break;
280
- }
281
-
282
- message.implementation = reader.string();
283
- continue;
284
- }
285
- }
286
- if ((tag & 7) === 4 || tag === 0) {
287
- break;
288
- }
289
- reader.skip(tag & 7);
290
- }
291
- return message;
292
- },
293
-
294
- fromJSON(object: any): GolangBinding {
295
- return {
296
- interfaceType: isSet(object.interfaceType) ? globalThis.String(object.interfaceType) : "",
297
- implementation: isSet(object.implementation) ? globalThis.String(object.implementation) : "",
298
- };
299
- },
300
-
301
- toJSON(message: GolangBinding): unknown {
302
- const obj: any = {};
303
- if (message.interfaceType !== "") {
304
- obj.interfaceType = message.interfaceType;
305
- }
306
- if (message.implementation !== "") {
307
- obj.implementation = message.implementation;
308
- }
309
- return obj;
310
- },
311
-
312
- create<I extends Exact<DeepPartial<GolangBinding>, I>>(base?: I): GolangBinding {
313
- return GolangBinding.fromPartial(base ?? ({} as any));
314
- },
315
- fromPartial<I extends Exact<DeepPartial<GolangBinding>, I>>(object: I): GolangBinding {
316
- const message = createBaseGolangBinding();
317
- message.interfaceType = object.interfaceType ?? "";
318
- message.implementation = object.implementation ?? "";
319
- return message;
320
- },
321
- };
322
-
323
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
324
-
325
- export type DeepPartial<T> = T extends Builtin ? T
326
- : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
327
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
328
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
329
- : Partial<T>;
330
-
331
- type KeysOfUnion<T> = T extends T ? keyof T : never;
332
- export type Exact<P, I extends P> = P extends Builtin ? P
333
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
334
-
335
- function isSet(value: any): boolean {
336
- return value !== null && value !== undefined;
337
- }
338
-
339
- export interface MessageFns<T> {
340
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
341
- decode(input: BinaryReader | Uint8Array, length?: number): T;
342
- fromJSON(object: any): T;
343
- toJSON(message: T): unknown;
344
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
345
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
346
- }
@@ -1,348 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v2.6.1
4
- // protoc unknown
5
- // source: cosmos/app/v1alpha1/module.proto
6
-
7
- /* eslint-disable */
8
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
9
-
10
- export const protobufPackage = "cosmos.app.v1alpha1";
11
-
12
- /** ModuleDescriptor describes an app module. */
13
- export interface ModuleDescriptor {
14
- /**
15
- * go_import names the package that should be imported by an app to load the
16
- * module in the runtime module registry. It is required to make debugging
17
- * of configuration errors easier for users.
18
- */
19
- goImport: string;
20
- /**
21
- * use_package refers to a protobuf package that this module
22
- * uses and exposes to the world. In an app, only one module should "use"
23
- * or own a single protobuf package. It is assumed that the module uses
24
- * all of the .proto files in a single package.
25
- */
26
- usePackage: PackageReference[];
27
- /**
28
- * can_migrate_from defines which module versions this module can migrate
29
- * state from. The framework will check that one module version is able to
30
- * migrate from a previous module version before attempting to update its
31
- * config. It is assumed that modules can transitively migrate from earlier
32
- * versions. For instance if v3 declares it can migrate from v2, and v2
33
- * declares it can migrate from v1, the framework knows how to migrate
34
- * from v1 to v3, assuming all 3 module versions are registered at runtime.
35
- */
36
- canMigrateFrom: MigrateFromInfo[];
37
- }
38
-
39
- /** PackageReference is a reference to a protobuf package used by a module. */
40
- export interface PackageReference {
41
- /** name is the fully-qualified name of the package. */
42
- name: string;
43
- /**
44
- * revision is the optional revision of the package that is being used.
45
- * Protobuf packages used in Cosmos should generally have a major version
46
- * as the last part of the package name, ex. foo.bar.baz.v1.
47
- * The revision of a package can be thought of as the minor version of a
48
- * package which has additional backwards compatible definitions that weren't
49
- * present in a previous version.
50
- *
51
- * A package should indicate its revision with a source code comment
52
- * above the package declaration in one of its files containing the
53
- * text "Revision N" where N is an integer revision. All packages start
54
- * at revision 0 the first time they are released in a module.
55
- *
56
- * When a new version of a module is released and items are added to existing
57
- * .proto files, these definitions should contain comments of the form
58
- * "Since: Revision N" where N is an integer revision.
59
- *
60
- * When the module runtime starts up, it will check the pinned proto
61
- * image and panic if there are runtime protobuf definitions that are not
62
- * in the pinned descriptor which do not have
63
- * a "Since Revision N" comment or have a "Since Revision N" comment where
64
- * N is <= to the revision specified here. This indicates that the protobuf
65
- * files have been updated, but the pinned file descriptor hasn't.
66
- *
67
- * If there are items in the pinned file descriptor with a revision
68
- * greater than the value indicated here, this will also cause a panic
69
- * as it may mean that the pinned descriptor for a legacy module has been
70
- * improperly updated or that there is some other versioning discrepancy.
71
- * Runtime protobuf definitions will also be checked for compatibility
72
- * with pinned file descriptors to make sure there are no incompatible changes.
73
- *
74
- * This behavior ensures that:
75
- * * pinned proto images are up-to-date
76
- * * protobuf files are carefully annotated with revision comments which
77
- * are important good client UX
78
- * * protobuf files are changed in backwards and forwards compatible ways
79
- */
80
- revision: number;
81
- }
82
-
83
- /**
84
- * MigrateFromInfo is information on a module version that a newer module
85
- * can migrate from.
86
- */
87
- export interface MigrateFromInfo {
88
- /**
89
- * module is the fully-qualified protobuf name of the module config object
90
- * for the previous module version, ex: "cosmos.group.module.v1.Module".
91
- */
92
- module: string;
93
- }
94
-
95
- function createBaseModuleDescriptor(): ModuleDescriptor {
96
- return { goImport: "", usePackage: [], canMigrateFrom: [] };
97
- }
98
-
99
- export const ModuleDescriptor: MessageFns<ModuleDescriptor> = {
100
- encode(message: ModuleDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
101
- if (message.goImport !== "") {
102
- writer.uint32(10).string(message.goImport);
103
- }
104
- for (const v of message.usePackage) {
105
- PackageReference.encode(v!, writer.uint32(18).fork()).join();
106
- }
107
- for (const v of message.canMigrateFrom) {
108
- MigrateFromInfo.encode(v!, writer.uint32(26).fork()).join();
109
- }
110
- return writer;
111
- },
112
-
113
- decode(input: BinaryReader | Uint8Array, length?: number): ModuleDescriptor {
114
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
115
- let end = length === undefined ? reader.len : reader.pos + length;
116
- const message = createBaseModuleDescriptor();
117
- while (reader.pos < end) {
118
- const tag = reader.uint32();
119
- switch (tag >>> 3) {
120
- case 1: {
121
- if (tag !== 10) {
122
- break;
123
- }
124
-
125
- message.goImport = reader.string();
126
- continue;
127
- }
128
- case 2: {
129
- if (tag !== 18) {
130
- break;
131
- }
132
-
133
- message.usePackage.push(PackageReference.decode(reader, reader.uint32()));
134
- continue;
135
- }
136
- case 3: {
137
- if (tag !== 26) {
138
- break;
139
- }
140
-
141
- message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32()));
142
- continue;
143
- }
144
- }
145
- if ((tag & 7) === 4 || tag === 0) {
146
- break;
147
- }
148
- reader.skip(tag & 7);
149
- }
150
- return message;
151
- },
152
-
153
- fromJSON(object: any): ModuleDescriptor {
154
- return {
155
- goImport: isSet(object.goImport) ? globalThis.String(object.goImport) : "",
156
- usePackage: globalThis.Array.isArray(object?.usePackage)
157
- ? object.usePackage.map((e: any) => PackageReference.fromJSON(e))
158
- : [],
159
- canMigrateFrom: globalThis.Array.isArray(object?.canMigrateFrom)
160
- ? object.canMigrateFrom.map((e: any) => MigrateFromInfo.fromJSON(e))
161
- : [],
162
- };
163
- },
164
-
165
- toJSON(message: ModuleDescriptor): unknown {
166
- const obj: any = {};
167
- if (message.goImport !== "") {
168
- obj.goImport = message.goImport;
169
- }
170
- if (message.usePackage?.length) {
171
- obj.usePackage = message.usePackage.map((e) => PackageReference.toJSON(e));
172
- }
173
- if (message.canMigrateFrom?.length) {
174
- obj.canMigrateFrom = message.canMigrateFrom.map((e) => MigrateFromInfo.toJSON(e));
175
- }
176
- return obj;
177
- },
178
-
179
- create<I extends Exact<DeepPartial<ModuleDescriptor>, I>>(base?: I): ModuleDescriptor {
180
- return ModuleDescriptor.fromPartial(base ?? ({} as any));
181
- },
182
- fromPartial<I extends Exact<DeepPartial<ModuleDescriptor>, I>>(object: I): ModuleDescriptor {
183
- const message = createBaseModuleDescriptor();
184
- message.goImport = object.goImport ?? "";
185
- message.usePackage = object.usePackage?.map((e) => PackageReference.fromPartial(e)) || [];
186
- message.canMigrateFrom = object.canMigrateFrom?.map((e) => MigrateFromInfo.fromPartial(e)) || [];
187
- return message;
188
- },
189
- };
190
-
191
- function createBasePackageReference(): PackageReference {
192
- return { name: "", revision: 0 };
193
- }
194
-
195
- export const PackageReference: MessageFns<PackageReference> = {
196
- encode(message: PackageReference, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
197
- if (message.name !== "") {
198
- writer.uint32(10).string(message.name);
199
- }
200
- if (message.revision !== 0) {
201
- writer.uint32(16).uint32(message.revision);
202
- }
203
- return writer;
204
- },
205
-
206
- decode(input: BinaryReader | Uint8Array, length?: number): PackageReference {
207
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
208
- let end = length === undefined ? reader.len : reader.pos + length;
209
- const message = createBasePackageReference();
210
- while (reader.pos < end) {
211
- const tag = reader.uint32();
212
- switch (tag >>> 3) {
213
- case 1: {
214
- if (tag !== 10) {
215
- break;
216
- }
217
-
218
- message.name = reader.string();
219
- continue;
220
- }
221
- case 2: {
222
- if (tag !== 16) {
223
- break;
224
- }
225
-
226
- message.revision = reader.uint32();
227
- continue;
228
- }
229
- }
230
- if ((tag & 7) === 4 || tag === 0) {
231
- break;
232
- }
233
- reader.skip(tag & 7);
234
- }
235
- return message;
236
- },
237
-
238
- fromJSON(object: any): PackageReference {
239
- return {
240
- name: isSet(object.name) ? globalThis.String(object.name) : "",
241
- revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0,
242
- };
243
- },
244
-
245
- toJSON(message: PackageReference): unknown {
246
- const obj: any = {};
247
- if (message.name !== "") {
248
- obj.name = message.name;
249
- }
250
- if (message.revision !== 0) {
251
- obj.revision = Math.round(message.revision);
252
- }
253
- return obj;
254
- },
255
-
256
- create<I extends Exact<DeepPartial<PackageReference>, I>>(base?: I): PackageReference {
257
- return PackageReference.fromPartial(base ?? ({} as any));
258
- },
259
- fromPartial<I extends Exact<DeepPartial<PackageReference>, I>>(object: I): PackageReference {
260
- const message = createBasePackageReference();
261
- message.name = object.name ?? "";
262
- message.revision = object.revision ?? 0;
263
- return message;
264
- },
265
- };
266
-
267
- function createBaseMigrateFromInfo(): MigrateFromInfo {
268
- return { module: "" };
269
- }
270
-
271
- export const MigrateFromInfo: MessageFns<MigrateFromInfo> = {
272
- encode(message: MigrateFromInfo, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
273
- if (message.module !== "") {
274
- writer.uint32(10).string(message.module);
275
- }
276
- return writer;
277
- },
278
-
279
- decode(input: BinaryReader | Uint8Array, length?: number): MigrateFromInfo {
280
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
281
- let end = length === undefined ? reader.len : reader.pos + length;
282
- const message = createBaseMigrateFromInfo();
283
- while (reader.pos < end) {
284
- const tag = reader.uint32();
285
- switch (tag >>> 3) {
286
- case 1: {
287
- if (tag !== 10) {
288
- break;
289
- }
290
-
291
- message.module = reader.string();
292
- continue;
293
- }
294
- }
295
- if ((tag & 7) === 4 || tag === 0) {
296
- break;
297
- }
298
- reader.skip(tag & 7);
299
- }
300
- return message;
301
- },
302
-
303
- fromJSON(object: any): MigrateFromInfo {
304
- return { module: isSet(object.module) ? globalThis.String(object.module) : "" };
305
- },
306
-
307
- toJSON(message: MigrateFromInfo): unknown {
308
- const obj: any = {};
309
- if (message.module !== "") {
310
- obj.module = message.module;
311
- }
312
- return obj;
313
- },
314
-
315
- create<I extends Exact<DeepPartial<MigrateFromInfo>, I>>(base?: I): MigrateFromInfo {
316
- return MigrateFromInfo.fromPartial(base ?? ({} as any));
317
- },
318
- fromPartial<I extends Exact<DeepPartial<MigrateFromInfo>, I>>(object: I): MigrateFromInfo {
319
- const message = createBaseMigrateFromInfo();
320
- message.module = object.module ?? "";
321
- return message;
322
- },
323
- };
324
-
325
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
326
-
327
- export type DeepPartial<T> = T extends Builtin ? T
328
- : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
329
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
330
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
331
- : Partial<T>;
332
-
333
- type KeysOfUnion<T> = T extends T ? keyof T : never;
334
- export type Exact<P, I extends P> = P extends Builtin ? P
335
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
336
-
337
- function isSet(value: any): boolean {
338
- return value !== null && value !== undefined;
339
- }
340
-
341
- export interface MessageFns<T> {
342
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
343
- decode(input: BinaryReader | Uint8Array, length?: number): T;
344
- fromJSON(object: any): T;
345
- toJSON(message: T): unknown;
346
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
347
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
348
- }