@gitopia/gitopiajs 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +21 -0
- package/dist/amino/amino.d.ts +1 -0
- package/dist/amino/amino.js +2 -0
- package/dist/amino/bundle.d.ts +1 -0
- package/dist/amino/bundle.js +41 -0
- package/dist/binary.d.ts +130 -0
- package/dist/binary.js +371 -0
- package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
- package/dist/cosmos/bank/v1beta1/bank.js +664 -0
- package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
- package/dist/cosmos/bank/v1beta1/query.js +1759 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
- package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
- package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
- package/dist/cosmos/base/v1beta1/coin.js +306 -0
- package/dist/cosmos/bundle.d.ts +2311 -0
- package/dist/cosmos/bundle.js +134 -0
- package/dist/cosmos/client.d.ts +84 -0
- package/dist/cosmos/client.js +65 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
- package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
- package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
- package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
- package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
- package/dist/cosmos/gov/v1beta1/query.js +1264 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
- package/dist/cosmos/group/v1/query.d.ts +1097 -0
- package/dist/cosmos/group/v1/query.js +2182 -0
- package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
- package/dist/cosmos/group/v1/query.lcd.js +158 -0
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
- package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
- package/dist/cosmos/group/v1/tx.amino.js +77 -0
- package/dist/cosmos/group/v1/tx.d.ts +1198 -0
- package/dist/cosmos/group/v1/tx.js +2362 -0
- package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/dist/cosmos/group/v1/tx.registry.js +271 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
- package/dist/cosmos/group/v1/types.d.ts +873 -0
- package/dist/cosmos/group/v1/types.js +1495 -0
- package/dist/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos/query/v1/query.d.ts +1 -0
- package/dist/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos/rpc.query.d.ts +59 -0
- package/dist/cosmos/rpc.query.js +60 -0
- package/dist/cosmos/rpc.tx.d.ts +10 -0
- package/dist/cosmos/rpc.tx.js +44 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
- package/dist/cosmos_proto/bundle.d.ts +32 -0
- package/dist/cosmos_proto/bundle.js +41 -0
- package/dist/cosmos_proto/cosmos.d.ts +171 -0
- package/dist/cosmos_proto/cosmos.js +221 -0
- package/dist/esm/amino/amino.js +1 -0
- package/dist/esm/amino/bundle.js +5 -0
- package/dist/esm/binary.js +366 -0
- package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
- package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
- package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
- package/dist/esm/cosmos/bundle.js +98 -0
- package/dist/esm/cosmos/client.js +27 -0
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
- package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
- package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
- package/dist/esm/cosmos/group/v1/query.js +2179 -0
- package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
- package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
- package/dist/esm/cosmos/group/v1/tx.js +2354 -0
- package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
- package/dist/esm/cosmos/group/v1/types.js +1483 -0
- package/dist/esm/cosmos/msg/v1/msg.js +1 -0
- package/dist/esm/cosmos/query/v1/query.js +1 -0
- package/dist/esm/cosmos/rpc.query.js +23 -0
- package/dist/esm/cosmos/rpc.tx.js +7 -0
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
- package/dist/esm/cosmos_proto/bundle.js +5 -0
- package/dist/esm/cosmos_proto/cosmos.js +216 -0
- package/dist/esm/gitopia/bundle.js +95 -0
- package/dist/esm/gitopia/client.js +32 -0
- package/dist/esm/gitopia/custom-lcd-client.js +50 -0
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
- package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
- package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
- package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
- package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
- package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
- package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
- package/dist/esm/gitopia/rpc.query.js +29 -0
- package/dist/esm/gitopia/rpc.tx.js +13 -0
- package/dist/esm/gogoproto/bundle.js +5 -0
- package/dist/esm/gogoproto/gogo.js +1 -0
- package/dist/esm/google/api/annotations.js +1 -0
- package/dist/esm/google/api/http.js +329 -0
- package/dist/esm/google/bundle.js +14 -0
- package/dist/esm/google/protobuf/any.js +74 -0
- package/dist/esm/google/protobuf/descriptor.js +4848 -0
- package/dist/esm/google/protobuf/duration.js +71 -0
- package/dist/esm/google/protobuf/timestamp.js +68 -0
- package/dist/esm/helpers.js +129 -0
- package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
- package/dist/esm/ibc/bundle.js +44 -0
- package/dist/esm/ibc/client.js +29 -0
- package/dist/esm/ibc/core/client/v1/client.js +611 -0
- package/dist/esm/ibc/rpc.query.js +30 -0
- package/dist/esm/ibc/rpc.tx.js +14 -0
- package/dist/esm/index.js +19 -0
- package/dist/esm/utf8.js +137 -0
- package/dist/esm/varint.js +408 -0
- package/dist/gitopia/bundle.d.ts +6123 -0
- package/dist/gitopia/bundle.js +131 -0
- package/dist/gitopia/client.d.ts +492 -0
- package/dist/gitopia/client.js +70 -0
- package/dist/gitopia/custom-lcd-client.d.ts +31 -0
- package/dist/gitopia/custom-lcd-client.js +87 -0
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
- package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
- package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
- package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
- package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
- package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
- package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
- package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
- package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
- package/dist/gitopia/gitopia/gitopia/params.js +296 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
- package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
- package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
- package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
- package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
- package/dist/gitopia/gitopia/gitopia/release.js +228 -0
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
- package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
- package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
- package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
- package/dist/gitopia/gitopia/gitopia/task.js +204 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
- package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
- package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
- package/dist/gitopia/gitopia/gitopia/user.js +343 -0
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
- package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
- package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
- package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
- package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
- package/dist/gitopia/gitopia/rewards/params.js +84 -0
- package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
- package/dist/gitopia/gitopia/rewards/pool.js +196 -0
- package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
- package/dist/gitopia/gitopia/rewards/query.js +657 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
- package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
- package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
- package/dist/gitopia/gitopia/rewards/task.js +181 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
- package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
- package/dist/gitopia/gitopia/rewards/tx.js +528 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
- package/dist/gitopia/rpc.query.d.ts +117 -0
- package/dist/gitopia/rpc.query.js +66 -0
- package/dist/gitopia/rpc.tx.d.ts +16 -0
- package/dist/gitopia/rpc.tx.js +50 -0
- package/dist/gogoproto/bundle.d.ts +1 -0
- package/dist/gogoproto/bundle.js +41 -0
- package/dist/gogoproto/gogo.d.ts +1 -0
- package/dist/gogoproto/gogo.js +2 -0
- package/dist/google/api/annotations.d.ts +1 -0
- package/dist/google/api/annotations.js +2 -0
- package/dist/google/api/http.d.ts +1049 -0
- package/dist/google/api/http.js +332 -0
- package/dist/google/bundle.d.ts +525 -0
- package/dist/google/bundle.js +50 -0
- package/dist/google/protobuf/any.d.ts +358 -0
- package/dist/google/protobuf/any.js +77 -0
- package/dist/google/protobuf/descriptor.d.ts +3178 -0
- package/dist/google/protobuf/descriptor.js +4886 -0
- package/dist/google/protobuf/duration.d.ts +223 -0
- package/dist/google/protobuf/duration.js +74 -0
- package/dist/google/protobuf/timestamp.d.ts +314 -0
- package/dist/google/protobuf/timestamp.js +71 -0
- package/dist/helpers.d.ts +82 -0
- package/dist/helpers.js +144 -0
- package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
- package/dist/ibc/applications/transfer/v1/query.js +850 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
- package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
- package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
- package/dist/ibc/applications/transfer/v1/tx.js +229 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
- package/dist/ibc/bundle.d.ts +450 -0
- package/dist/ibc/bundle.js +80 -0
- package/dist/ibc/client.d.ts +22 -0
- package/dist/ibc/client.js +67 -0
- package/dist/ibc/core/client/v1/client.d.ts +408 -0
- package/dist/ibc/core/client/v1/client.js +614 -0
- package/dist/ibc/rpc.query.d.ts +73 -0
- package/dist/ibc/rpc.query.js +67 -0
- package/dist/ibc/rpc.tx.d.ts +17 -0
- package/dist/ibc/rpc.tx.js +51 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +35 -0
- package/dist/package.json +48 -0
- package/dist/utf8.d.ts +27 -0
- package/dist/utf8.js +141 -0
- package/dist/varint.d.ts +105 -0
- package/dist/varint.js +426 -0
- package/package.json +8 -6
- package/CHANGELOG.md +0 -8
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Params = exports.PoolProportions = exports.DistributionProportion = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
const math_1 = require("@cosmjs/math");
|
|
8
|
+
const helpers_1 = require("../../../helpers");
|
|
9
|
+
function createBaseDistributionProportion() {
|
|
10
|
+
return {
|
|
11
|
+
proportion: "",
|
|
12
|
+
address: ""
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
exports.DistributionProportion = {
|
|
16
|
+
typeUrl: "/gitopia.gitopia.gitopia.DistributionProportion",
|
|
17
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
18
|
+
if (message.proportion !== "") {
|
|
19
|
+
writer.uint32(10).string(math_1.Decimal.fromUserInput(message.proportion, 18).atomics);
|
|
20
|
+
}
|
|
21
|
+
if (message.address !== "") {
|
|
22
|
+
writer.uint32(18).string(message.address);
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
},
|
|
26
|
+
decode(input, length) {
|
|
27
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
28
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
+
const message = createBaseDistributionProportion();
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
message.proportion = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
35
|
+
break;
|
|
36
|
+
case 2:
|
|
37
|
+
message.address = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
reader.skipType(tag & 7);
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromPartial(object) {
|
|
47
|
+
const message = createBaseDistributionProportion();
|
|
48
|
+
message.proportion = object.proportion ?? "";
|
|
49
|
+
message.address = object.address ?? "";
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
fromAmino(object) {
|
|
53
|
+
const message = createBaseDistributionProportion();
|
|
54
|
+
if (object.proportion !== undefined && object.proportion !== null) {
|
|
55
|
+
message.proportion = object.proportion;
|
|
56
|
+
}
|
|
57
|
+
if (object.address !== undefined && object.address !== null) {
|
|
58
|
+
message.address = object.address;
|
|
59
|
+
}
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
toAmino(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
obj.proportion = message.proportion === "" ? undefined : message.proportion;
|
|
65
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
66
|
+
return obj;
|
|
67
|
+
},
|
|
68
|
+
fromAminoMsg(object) {
|
|
69
|
+
return exports.DistributionProportion.fromAmino(object.value);
|
|
70
|
+
},
|
|
71
|
+
fromProtoMsg(message) {
|
|
72
|
+
return exports.DistributionProportion.decode(message.value);
|
|
73
|
+
},
|
|
74
|
+
toProto(message) {
|
|
75
|
+
return exports.DistributionProportion.encode(message).finish();
|
|
76
|
+
},
|
|
77
|
+
toProtoMsg(message) {
|
|
78
|
+
return {
|
|
79
|
+
typeUrl: "/gitopia.gitopia.gitopia.DistributionProportion",
|
|
80
|
+
value: exports.DistributionProportion.encode(message).finish()
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function createBasePoolProportions() {
|
|
85
|
+
return {
|
|
86
|
+
ecosystem: undefined,
|
|
87
|
+
team: undefined,
|
|
88
|
+
platform: undefined
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
exports.PoolProportions = {
|
|
92
|
+
typeUrl: "/gitopia.gitopia.gitopia.PoolProportions",
|
|
93
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
94
|
+
if (message.ecosystem !== undefined) {
|
|
95
|
+
exports.DistributionProportion.encode(message.ecosystem, writer.uint32(10).fork()).ldelim();
|
|
96
|
+
}
|
|
97
|
+
if (message.team !== undefined) {
|
|
98
|
+
exports.DistributionProportion.encode(message.team, writer.uint32(18).fork()).ldelim();
|
|
99
|
+
}
|
|
100
|
+
if (message.platform !== undefined) {
|
|
101
|
+
exports.DistributionProportion.encode(message.platform, writer.uint32(26).fork()).ldelim();
|
|
102
|
+
}
|
|
103
|
+
return writer;
|
|
104
|
+
},
|
|
105
|
+
decode(input, length) {
|
|
106
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
107
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
+
const message = createBasePoolProportions();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
message.ecosystem = exports.DistributionProportion.decode(reader, reader.uint32());
|
|
114
|
+
break;
|
|
115
|
+
case 2:
|
|
116
|
+
message.team = exports.DistributionProportion.decode(reader, reader.uint32());
|
|
117
|
+
break;
|
|
118
|
+
case 3:
|
|
119
|
+
message.platform = exports.DistributionProportion.decode(reader, reader.uint32());
|
|
120
|
+
break;
|
|
121
|
+
default:
|
|
122
|
+
reader.skipType(tag & 7);
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
fromPartial(object) {
|
|
129
|
+
const message = createBasePoolProportions();
|
|
130
|
+
message.ecosystem = object.ecosystem !== undefined && object.ecosystem !== null ? exports.DistributionProportion.fromPartial(object.ecosystem) : undefined;
|
|
131
|
+
message.team = object.team !== undefined && object.team !== null ? exports.DistributionProportion.fromPartial(object.team) : undefined;
|
|
132
|
+
message.platform = object.platform !== undefined && object.platform !== null ? exports.DistributionProportion.fromPartial(object.platform) : undefined;
|
|
133
|
+
return message;
|
|
134
|
+
},
|
|
135
|
+
fromAmino(object) {
|
|
136
|
+
const message = createBasePoolProportions();
|
|
137
|
+
if (object.ecosystem !== undefined && object.ecosystem !== null) {
|
|
138
|
+
message.ecosystem = exports.DistributionProportion.fromAmino(object.ecosystem);
|
|
139
|
+
}
|
|
140
|
+
if (object.team !== undefined && object.team !== null) {
|
|
141
|
+
message.team = exports.DistributionProportion.fromAmino(object.team);
|
|
142
|
+
}
|
|
143
|
+
if (object.platform !== undefined && object.platform !== null) {
|
|
144
|
+
message.platform = exports.DistributionProportion.fromAmino(object.platform);
|
|
145
|
+
}
|
|
146
|
+
return message;
|
|
147
|
+
},
|
|
148
|
+
toAmino(message) {
|
|
149
|
+
const obj = {};
|
|
150
|
+
obj.ecosystem = message.ecosystem ? exports.DistributionProportion.toAmino(message.ecosystem) : undefined;
|
|
151
|
+
obj.team = message.team ? exports.DistributionProportion.toAmino(message.team) : undefined;
|
|
152
|
+
obj.platform = message.platform ? exports.DistributionProportion.toAmino(message.platform) : undefined;
|
|
153
|
+
return obj;
|
|
154
|
+
},
|
|
155
|
+
fromAminoMsg(object) {
|
|
156
|
+
return exports.PoolProportions.fromAmino(object.value);
|
|
157
|
+
},
|
|
158
|
+
fromProtoMsg(message) {
|
|
159
|
+
return exports.PoolProportions.decode(message.value);
|
|
160
|
+
},
|
|
161
|
+
toProto(message) {
|
|
162
|
+
return exports.PoolProportions.encode(message).finish();
|
|
163
|
+
},
|
|
164
|
+
toProtoMsg(message) {
|
|
165
|
+
return {
|
|
166
|
+
typeUrl: "/gitopia.gitopia.gitopia.PoolProportions",
|
|
167
|
+
value: exports.PoolProportions.encode(message).finish()
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
function createBaseParams() {
|
|
172
|
+
return {
|
|
173
|
+
nextInflationTime: new Date(),
|
|
174
|
+
poolProportions: exports.PoolProportions.fromPartial({}),
|
|
175
|
+
teamProportions: [],
|
|
176
|
+
genesisTime: new Date(),
|
|
177
|
+
gitServer: "",
|
|
178
|
+
storageProvider: ""
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
exports.Params = {
|
|
182
|
+
typeUrl: "/gitopia.gitopia.gitopia.Params",
|
|
183
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
184
|
+
if (message.nextInflationTime !== undefined) {
|
|
185
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.nextInflationTime), writer.uint32(10).fork()).ldelim();
|
|
186
|
+
}
|
|
187
|
+
if (message.poolProportions !== undefined) {
|
|
188
|
+
exports.PoolProportions.encode(message.poolProportions, writer.uint32(18).fork()).ldelim();
|
|
189
|
+
}
|
|
190
|
+
for (const v of message.teamProportions) {
|
|
191
|
+
exports.DistributionProportion.encode(v, writer.uint32(26).fork()).ldelim();
|
|
192
|
+
}
|
|
193
|
+
if (message.genesisTime !== undefined) {
|
|
194
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.genesisTime), writer.uint32(34).fork()).ldelim();
|
|
195
|
+
}
|
|
196
|
+
if (message.gitServer !== "") {
|
|
197
|
+
writer.uint32(42).string(message.gitServer);
|
|
198
|
+
}
|
|
199
|
+
if (message.storageProvider !== "") {
|
|
200
|
+
writer.uint32(50).string(message.storageProvider);
|
|
201
|
+
}
|
|
202
|
+
return writer;
|
|
203
|
+
},
|
|
204
|
+
decode(input, length) {
|
|
205
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
206
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
207
|
+
const message = createBaseParams();
|
|
208
|
+
while (reader.pos < end) {
|
|
209
|
+
const tag = reader.uint32();
|
|
210
|
+
switch (tag >>> 3) {
|
|
211
|
+
case 1:
|
|
212
|
+
message.nextInflationTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
213
|
+
break;
|
|
214
|
+
case 2:
|
|
215
|
+
message.poolProportions = exports.PoolProportions.decode(reader, reader.uint32());
|
|
216
|
+
break;
|
|
217
|
+
case 3:
|
|
218
|
+
message.teamProportions.push(exports.DistributionProportion.decode(reader, reader.uint32()));
|
|
219
|
+
break;
|
|
220
|
+
case 4:
|
|
221
|
+
message.genesisTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
222
|
+
break;
|
|
223
|
+
case 5:
|
|
224
|
+
message.gitServer = reader.string();
|
|
225
|
+
break;
|
|
226
|
+
case 6:
|
|
227
|
+
message.storageProvider = reader.string();
|
|
228
|
+
break;
|
|
229
|
+
default:
|
|
230
|
+
reader.skipType(tag & 7);
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
return message;
|
|
235
|
+
},
|
|
236
|
+
fromPartial(object) {
|
|
237
|
+
const message = createBaseParams();
|
|
238
|
+
message.nextInflationTime = object.nextInflationTime ?? undefined;
|
|
239
|
+
message.poolProportions = object.poolProportions !== undefined && object.poolProportions !== null ? exports.PoolProportions.fromPartial(object.poolProportions) : undefined;
|
|
240
|
+
message.teamProportions = object.teamProportions?.map(e => exports.DistributionProportion.fromPartial(e)) || [];
|
|
241
|
+
message.genesisTime = object.genesisTime ?? undefined;
|
|
242
|
+
message.gitServer = object.gitServer ?? "";
|
|
243
|
+
message.storageProvider = object.storageProvider ?? "";
|
|
244
|
+
return message;
|
|
245
|
+
},
|
|
246
|
+
fromAmino(object) {
|
|
247
|
+
const message = createBaseParams();
|
|
248
|
+
if (object.next_inflation_time !== undefined && object.next_inflation_time !== null) {
|
|
249
|
+
message.nextInflationTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.next_inflation_time));
|
|
250
|
+
}
|
|
251
|
+
if (object.pool_proportions !== undefined && object.pool_proportions !== null) {
|
|
252
|
+
message.poolProportions = exports.PoolProportions.fromAmino(object.pool_proportions);
|
|
253
|
+
}
|
|
254
|
+
message.teamProportions = object.team_proportions?.map(e => exports.DistributionProportion.fromAmino(e)) || [];
|
|
255
|
+
if (object.genesis_time !== undefined && object.genesis_time !== null) {
|
|
256
|
+
message.genesisTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.genesis_time));
|
|
257
|
+
}
|
|
258
|
+
if (object.git_server !== undefined && object.git_server !== null) {
|
|
259
|
+
message.gitServer = object.git_server;
|
|
260
|
+
}
|
|
261
|
+
if (object.storage_provider !== undefined && object.storage_provider !== null) {
|
|
262
|
+
message.storageProvider = object.storage_provider;
|
|
263
|
+
}
|
|
264
|
+
return message;
|
|
265
|
+
},
|
|
266
|
+
toAmino(message) {
|
|
267
|
+
const obj = {};
|
|
268
|
+
obj.next_inflation_time = message.nextInflationTime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.nextInflationTime)) : undefined;
|
|
269
|
+
obj.pool_proportions = message.poolProportions ? exports.PoolProportions.toAmino(message.poolProportions) : undefined;
|
|
270
|
+
if (message.teamProportions) {
|
|
271
|
+
obj.team_proportions = message.teamProportions.map(e => e ? exports.DistributionProportion.toAmino(e) : undefined);
|
|
272
|
+
}
|
|
273
|
+
else {
|
|
274
|
+
obj.team_proportions = message.teamProportions;
|
|
275
|
+
}
|
|
276
|
+
obj.genesis_time = message.genesisTime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.genesisTime)) : undefined;
|
|
277
|
+
obj.git_server = message.gitServer === "" ? undefined : message.gitServer;
|
|
278
|
+
obj.storage_provider = message.storageProvider === "" ? undefined : message.storageProvider;
|
|
279
|
+
return obj;
|
|
280
|
+
},
|
|
281
|
+
fromAminoMsg(object) {
|
|
282
|
+
return exports.Params.fromAmino(object.value);
|
|
283
|
+
},
|
|
284
|
+
fromProtoMsg(message) {
|
|
285
|
+
return exports.Params.decode(message.value);
|
|
286
|
+
},
|
|
287
|
+
toProto(message) {
|
|
288
|
+
return exports.Params.encode(message).finish();
|
|
289
|
+
},
|
|
290
|
+
toProtoMsg(message) {
|
|
291
|
+
return {
|
|
292
|
+
typeUrl: "/gitopia.gitopia.gitopia.Params",
|
|
293
|
+
value: exports.Params.encode(message).finish()
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { IssueIid, IssueIidAmino, IssueIidSDKType } from "./repository";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
export declare enum PullRequest_State {
|
|
4
|
+
OPEN = 0,
|
|
5
|
+
CLOSED = 1,
|
|
6
|
+
MERGED = 2,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
export declare const PullRequest_StateSDKType: typeof PullRequest_State;
|
|
10
|
+
export declare const PullRequest_StateAmino: typeof PullRequest_State;
|
|
11
|
+
export declare function pullRequest_StateFromJSON(object: any): PullRequest_State;
|
|
12
|
+
export declare function pullRequest_StateToJSON(object: PullRequest_State): string;
|
|
13
|
+
export interface PullRequest {
|
|
14
|
+
creator: string;
|
|
15
|
+
id: bigint;
|
|
16
|
+
iid: bigint;
|
|
17
|
+
title: string;
|
|
18
|
+
state: PullRequest_State;
|
|
19
|
+
description: string;
|
|
20
|
+
locked: boolean;
|
|
21
|
+
commentsCount: bigint;
|
|
22
|
+
issues: IssueIid[];
|
|
23
|
+
labels: bigint[];
|
|
24
|
+
assignees: string[];
|
|
25
|
+
reviewers: string[];
|
|
26
|
+
draft: boolean;
|
|
27
|
+
createdAt: bigint;
|
|
28
|
+
updatedAt: bigint;
|
|
29
|
+
closedAt: bigint;
|
|
30
|
+
closedBy: string;
|
|
31
|
+
mergedAt: bigint;
|
|
32
|
+
mergedBy: string;
|
|
33
|
+
mergeCommitSha: string;
|
|
34
|
+
maintainerCanModify: boolean;
|
|
35
|
+
head?: PullRequestHead;
|
|
36
|
+
base?: PullRequestBase;
|
|
37
|
+
}
|
|
38
|
+
export interface PullRequestProtoMsg {
|
|
39
|
+
typeUrl: "/gitopia.gitopia.gitopia.PullRequest";
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
}
|
|
42
|
+
export interface PullRequestAmino {
|
|
43
|
+
creator?: string;
|
|
44
|
+
id?: string;
|
|
45
|
+
iid?: string;
|
|
46
|
+
title?: string;
|
|
47
|
+
state?: PullRequest_State;
|
|
48
|
+
description?: string;
|
|
49
|
+
locked?: boolean;
|
|
50
|
+
commentsCount?: string;
|
|
51
|
+
issues?: IssueIidAmino[];
|
|
52
|
+
labels?: string[];
|
|
53
|
+
assignees?: string[];
|
|
54
|
+
reviewers?: string[];
|
|
55
|
+
draft?: boolean;
|
|
56
|
+
createdAt?: string;
|
|
57
|
+
updatedAt?: string;
|
|
58
|
+
closedAt?: string;
|
|
59
|
+
closedBy?: string;
|
|
60
|
+
mergedAt?: string;
|
|
61
|
+
mergedBy?: string;
|
|
62
|
+
mergeCommitSha?: string;
|
|
63
|
+
maintainerCanModify?: boolean;
|
|
64
|
+
head?: PullRequestHeadAmino;
|
|
65
|
+
base?: PullRequestBaseAmino;
|
|
66
|
+
}
|
|
67
|
+
export interface PullRequestAminoMsg {
|
|
68
|
+
type: "/gitopia.gitopia.gitopia.PullRequest";
|
|
69
|
+
value: PullRequestAmino;
|
|
70
|
+
}
|
|
71
|
+
export interface PullRequestSDKType {
|
|
72
|
+
creator: string;
|
|
73
|
+
id: bigint;
|
|
74
|
+
iid: bigint;
|
|
75
|
+
title: string;
|
|
76
|
+
state: PullRequest_State;
|
|
77
|
+
description: string;
|
|
78
|
+
locked: boolean;
|
|
79
|
+
commentsCount: bigint;
|
|
80
|
+
issues: IssueIidSDKType[];
|
|
81
|
+
labels: bigint[];
|
|
82
|
+
assignees: string[];
|
|
83
|
+
reviewers: string[];
|
|
84
|
+
draft: boolean;
|
|
85
|
+
createdAt: bigint;
|
|
86
|
+
updatedAt: bigint;
|
|
87
|
+
closedAt: bigint;
|
|
88
|
+
closedBy: string;
|
|
89
|
+
mergedAt: bigint;
|
|
90
|
+
mergedBy: string;
|
|
91
|
+
mergeCommitSha: string;
|
|
92
|
+
maintainerCanModify: boolean;
|
|
93
|
+
head?: PullRequestHeadSDKType;
|
|
94
|
+
base?: PullRequestBaseSDKType;
|
|
95
|
+
}
|
|
96
|
+
export interface PullRequestHead {
|
|
97
|
+
repositoryId: bigint;
|
|
98
|
+
branch: string;
|
|
99
|
+
commitSha: string;
|
|
100
|
+
}
|
|
101
|
+
export interface PullRequestHeadProtoMsg {
|
|
102
|
+
typeUrl: "/gitopia.gitopia.gitopia.PullRequestHead";
|
|
103
|
+
value: Uint8Array;
|
|
104
|
+
}
|
|
105
|
+
export interface PullRequestHeadAmino {
|
|
106
|
+
repositoryId?: string;
|
|
107
|
+
branch?: string;
|
|
108
|
+
commitSha?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface PullRequestHeadAminoMsg {
|
|
111
|
+
type: "/gitopia.gitopia.gitopia.PullRequestHead";
|
|
112
|
+
value: PullRequestHeadAmino;
|
|
113
|
+
}
|
|
114
|
+
export interface PullRequestHeadSDKType {
|
|
115
|
+
repositoryId: bigint;
|
|
116
|
+
branch: string;
|
|
117
|
+
commitSha: string;
|
|
118
|
+
}
|
|
119
|
+
export interface PullRequestBase {
|
|
120
|
+
repositoryId: bigint;
|
|
121
|
+
branch: string;
|
|
122
|
+
commitSha: string;
|
|
123
|
+
}
|
|
124
|
+
export interface PullRequestBaseProtoMsg {
|
|
125
|
+
typeUrl: "/gitopia.gitopia.gitopia.PullRequestBase";
|
|
126
|
+
value: Uint8Array;
|
|
127
|
+
}
|
|
128
|
+
export interface PullRequestBaseAmino {
|
|
129
|
+
repositoryId?: string;
|
|
130
|
+
branch?: string;
|
|
131
|
+
commitSha?: string;
|
|
132
|
+
}
|
|
133
|
+
export interface PullRequestBaseAminoMsg {
|
|
134
|
+
type: "/gitopia.gitopia.gitopia.PullRequestBase";
|
|
135
|
+
value: PullRequestBaseAmino;
|
|
136
|
+
}
|
|
137
|
+
export interface PullRequestBaseSDKType {
|
|
138
|
+
repositoryId: bigint;
|
|
139
|
+
branch: string;
|
|
140
|
+
commitSha: string;
|
|
141
|
+
}
|
|
142
|
+
export declare const PullRequest: {
|
|
143
|
+
typeUrl: string;
|
|
144
|
+
encode(message: PullRequest, writer?: BinaryWriter): BinaryWriter;
|
|
145
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PullRequest;
|
|
146
|
+
fromPartial(object: Partial<PullRequest>): PullRequest;
|
|
147
|
+
fromAmino(object: PullRequestAmino): PullRequest;
|
|
148
|
+
toAmino(message: PullRequest): PullRequestAmino;
|
|
149
|
+
fromAminoMsg(object: PullRequestAminoMsg): PullRequest;
|
|
150
|
+
fromProtoMsg(message: PullRequestProtoMsg): PullRequest;
|
|
151
|
+
toProto(message: PullRequest): Uint8Array;
|
|
152
|
+
toProtoMsg(message: PullRequest): PullRequestProtoMsg;
|
|
153
|
+
};
|
|
154
|
+
export declare const PullRequestHead: {
|
|
155
|
+
typeUrl: string;
|
|
156
|
+
encode(message: PullRequestHead, writer?: BinaryWriter): BinaryWriter;
|
|
157
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PullRequestHead;
|
|
158
|
+
fromPartial(object: Partial<PullRequestHead>): PullRequestHead;
|
|
159
|
+
fromAmino(object: PullRequestHeadAmino): PullRequestHead;
|
|
160
|
+
toAmino(message: PullRequestHead): PullRequestHeadAmino;
|
|
161
|
+
fromAminoMsg(object: PullRequestHeadAminoMsg): PullRequestHead;
|
|
162
|
+
fromProtoMsg(message: PullRequestHeadProtoMsg): PullRequestHead;
|
|
163
|
+
toProto(message: PullRequestHead): Uint8Array;
|
|
164
|
+
toProtoMsg(message: PullRequestHead): PullRequestHeadProtoMsg;
|
|
165
|
+
};
|
|
166
|
+
export declare const PullRequestBase: {
|
|
167
|
+
typeUrl: string;
|
|
168
|
+
encode(message: PullRequestBase, writer?: BinaryWriter): BinaryWriter;
|
|
169
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PullRequestBase;
|
|
170
|
+
fromPartial(object: Partial<PullRequestBase>): PullRequestBase;
|
|
171
|
+
fromAmino(object: PullRequestBaseAmino): PullRequestBase;
|
|
172
|
+
toAmino(message: PullRequestBase): PullRequestBaseAmino;
|
|
173
|
+
fromAminoMsg(object: PullRequestBaseAminoMsg): PullRequestBase;
|
|
174
|
+
fromProtoMsg(message: PullRequestBaseProtoMsg): PullRequestBase;
|
|
175
|
+
toProto(message: PullRequestBase): Uint8Array;
|
|
176
|
+
toProtoMsg(message: PullRequestBase): PullRequestBaseProtoMsg;
|
|
177
|
+
};
|