@gitopia/gitopiajs 0.0.3 → 0.0.4
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/package.json +3 -3
- package/dist/LICENSE +0 -21
- package/dist/amino/amino.d.ts +0 -1
- package/dist/amino/amino.js +0 -2
- package/dist/amino/bundle.d.ts +0 -1
- package/dist/amino/bundle.js +0 -41
- package/dist/binary.d.ts +0 -130
- package/dist/binary.js +0 -371
- package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
- package/dist/cosmos/bank/v1beta1/bank.js +0 -664
- package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
- package/dist/cosmos/bank/v1beta1/query.js +0 -1759
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
- package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
- package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
- package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
- package/dist/cosmos/base/v1beta1/coin.js +0 -306
- package/dist/cosmos/bundle.d.ts +0 -2311
- package/dist/cosmos/bundle.js +0 -134
- package/dist/cosmos/client.d.ts +0 -84
- package/dist/cosmos/client.js +0 -65
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
- package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
- package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
- package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
- package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
- package/dist/cosmos/gov/v1beta1/query.js +0 -1264
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
- package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
- package/dist/cosmos/group/v1/query.d.ts +0 -1097
- package/dist/cosmos/group/v1/query.js +0 -2182
- package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
- package/dist/cosmos/group/v1/query.lcd.js +0 -158
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
- package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
- package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
- package/dist/cosmos/group/v1/tx.amino.js +0 -77
- package/dist/cosmos/group/v1/tx.d.ts +0 -1198
- package/dist/cosmos/group/v1/tx.js +0 -2362
- package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
- package/dist/cosmos/group/v1/tx.registry.js +0 -271
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
- package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
- package/dist/cosmos/group/v1/types.d.ts +0 -873
- package/dist/cosmos/group/v1/types.js +0 -1495
- package/dist/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos/query/v1/query.d.ts +0 -1
- package/dist/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos/rpc.query.d.ts +0 -59
- package/dist/cosmos/rpc.query.js +0 -60
- package/dist/cosmos/rpc.tx.d.ts +0 -10
- package/dist/cosmos/rpc.tx.js +0 -44
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
- package/dist/cosmos_proto/bundle.d.ts +0 -32
- package/dist/cosmos_proto/bundle.js +0 -41
- package/dist/cosmos_proto/cosmos.d.ts +0 -171
- package/dist/cosmos_proto/cosmos.js +0 -221
- package/dist/esm/amino/amino.js +0 -1
- package/dist/esm/amino/bundle.js +0 -5
- package/dist/esm/binary.js +0 -366
- package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
- package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
- package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
- package/dist/esm/cosmos/bundle.js +0 -98
- package/dist/esm/cosmos/client.js +0 -27
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
- package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
- package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
- package/dist/esm/cosmos/group/v1/query.js +0 -2179
- package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
- package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
- package/dist/esm/cosmos/group/v1/tx.js +0 -2354
- package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
- package/dist/esm/cosmos/group/v1/types.js +0 -1483
- package/dist/esm/cosmos/msg/v1/msg.js +0 -1
- package/dist/esm/cosmos/query/v1/query.js +0 -1
- package/dist/esm/cosmos/rpc.query.js +0 -23
- package/dist/esm/cosmos/rpc.tx.js +0 -7
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
- package/dist/esm/cosmos_proto/bundle.js +0 -5
- package/dist/esm/cosmos_proto/cosmos.js +0 -216
- package/dist/esm/gitopia/bundle.js +0 -95
- package/dist/esm/gitopia/client.js +0 -32
- package/dist/esm/gitopia/custom-lcd-client.js +0 -50
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
- package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
- package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
- package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
- package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
- package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
- package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
- package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
- package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
- package/dist/esm/gitopia/rpc.query.js +0 -29
- package/dist/esm/gitopia/rpc.tx.js +0 -13
- package/dist/esm/gogoproto/bundle.js +0 -5
- package/dist/esm/gogoproto/gogo.js +0 -1
- package/dist/esm/google/api/annotations.js +0 -1
- package/dist/esm/google/api/http.js +0 -329
- package/dist/esm/google/bundle.js +0 -14
- package/dist/esm/google/protobuf/any.js +0 -74
- package/dist/esm/google/protobuf/descriptor.js +0 -4848
- package/dist/esm/google/protobuf/duration.js +0 -71
- package/dist/esm/google/protobuf/timestamp.js +0 -68
- package/dist/esm/helpers.js +0 -129
- package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
- package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
- package/dist/esm/ibc/bundle.js +0 -44
- package/dist/esm/ibc/client.js +0 -29
- package/dist/esm/ibc/core/client/v1/client.js +0 -611
- package/dist/esm/ibc/rpc.query.js +0 -30
- package/dist/esm/ibc/rpc.tx.js +0 -14
- package/dist/esm/index.js +0 -19
- package/dist/esm/utf8.js +0 -137
- package/dist/esm/varint.js +0 -408
- package/dist/gitopia/bundle.d.ts +0 -6123
- package/dist/gitopia/bundle.js +0 -131
- package/dist/gitopia/client.d.ts +0 -492
- package/dist/gitopia/client.js +0 -70
- package/dist/gitopia/custom-lcd-client.d.ts +0 -31
- package/dist/gitopia/custom-lcd-client.js +0 -87
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
- package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
- package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
- package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
- package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
- package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
- package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
- package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
- package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
- package/dist/gitopia/gitopia/gitopia/params.js +0 -296
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
- package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
- package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
- package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
- package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
- package/dist/gitopia/gitopia/gitopia/release.js +0 -228
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
- package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
- package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
- package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
- package/dist/gitopia/gitopia/gitopia/task.js +0 -204
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
- package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
- package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
- package/dist/gitopia/gitopia/gitopia/user.js +0 -343
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
- package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
- package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
- package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
- package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
- package/dist/gitopia/gitopia/rewards/params.js +0 -84
- package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
- package/dist/gitopia/gitopia/rewards/pool.js +0 -196
- package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
- package/dist/gitopia/gitopia/rewards/query.js +0 -657
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
- package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
- package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
- package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
- package/dist/gitopia/gitopia/rewards/task.js +0 -181
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
- package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
- package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
- package/dist/gitopia/gitopia/rewards/tx.js +0 -528
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
- package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
- package/dist/gitopia/rpc.query.d.ts +0 -117
- package/dist/gitopia/rpc.query.js +0 -66
- package/dist/gitopia/rpc.tx.d.ts +0 -16
- package/dist/gitopia/rpc.tx.js +0 -50
- package/dist/gogoproto/bundle.d.ts +0 -1
- package/dist/gogoproto/bundle.js +0 -41
- package/dist/gogoproto/gogo.d.ts +0 -1
- package/dist/gogoproto/gogo.js +0 -2
- package/dist/google/api/annotations.d.ts +0 -1
- package/dist/google/api/annotations.js +0 -2
- package/dist/google/api/http.d.ts +0 -1049
- package/dist/google/api/http.js +0 -332
- package/dist/google/bundle.d.ts +0 -525
- package/dist/google/bundle.js +0 -50
- package/dist/google/protobuf/any.d.ts +0 -358
- package/dist/google/protobuf/any.js +0 -77
- package/dist/google/protobuf/descriptor.d.ts +0 -3178
- package/dist/google/protobuf/descriptor.js +0 -4886
- package/dist/google/protobuf/duration.d.ts +0 -223
- package/dist/google/protobuf/duration.js +0 -74
- package/dist/google/protobuf/timestamp.d.ts +0 -314
- package/dist/google/protobuf/timestamp.js +0 -71
- package/dist/helpers.d.ts +0 -82
- package/dist/helpers.js +0 -144
- package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
- package/dist/ibc/applications/transfer/v1/query.js +0 -850
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
- package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
- package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
- package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
- package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
- package/dist/ibc/applications/transfer/v1/tx.js +0 -229
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
- package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
- package/dist/ibc/bundle.d.ts +0 -450
- package/dist/ibc/bundle.js +0 -80
- package/dist/ibc/client.d.ts +0 -22
- package/dist/ibc/client.js +0 -67
- package/dist/ibc/core/client/v1/client.d.ts +0 -408
- package/dist/ibc/core/client/v1/client.js +0 -614
- package/dist/ibc/rpc.query.d.ts +0 -73
- package/dist/ibc/rpc.query.js +0 -67
- package/dist/ibc/rpc.tx.d.ts +0 -17
- package/dist/ibc/rpc.tx.js +0 -51
- package/dist/index.d.ts +0 -18
- package/dist/index.js +0 -35
- package/dist/package.json +0 -46
- package/dist/utf8.d.ts +0 -27
- package/dist/utf8.js +0 -141
- package/dist/varint.d.ts +0 -105
- package/dist/varint.js +0 -426
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Issue = exports.Issue_StateAmino = exports.Issue_StateSDKType = exports.Issue_State = void 0;
|
|
4
|
-
exports.issue_StateFromJSON = issue_StateFromJSON;
|
|
5
|
-
exports.issue_StateToJSON = issue_StateToJSON;
|
|
6
|
-
//@ts-nocheck
|
|
7
|
-
const repository_1 = require("./repository");
|
|
8
|
-
const binary_1 = require("../../../binary");
|
|
9
|
-
var Issue_State;
|
|
10
|
-
(function (Issue_State) {
|
|
11
|
-
Issue_State[Issue_State["OPEN"] = 0] = "OPEN";
|
|
12
|
-
Issue_State[Issue_State["CLOSED"] = 1] = "CLOSED";
|
|
13
|
-
Issue_State[Issue_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
14
|
-
})(Issue_State || (exports.Issue_State = Issue_State = {}));
|
|
15
|
-
exports.Issue_StateSDKType = Issue_State;
|
|
16
|
-
exports.Issue_StateAmino = Issue_State;
|
|
17
|
-
function issue_StateFromJSON(object) {
|
|
18
|
-
switch (object) {
|
|
19
|
-
case 0:
|
|
20
|
-
case "OPEN":
|
|
21
|
-
return Issue_State.OPEN;
|
|
22
|
-
case 1:
|
|
23
|
-
case "CLOSED":
|
|
24
|
-
return Issue_State.CLOSED;
|
|
25
|
-
case -1:
|
|
26
|
-
case "UNRECOGNIZED":
|
|
27
|
-
default:
|
|
28
|
-
return Issue_State.UNRECOGNIZED;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function issue_StateToJSON(object) {
|
|
32
|
-
switch (object) {
|
|
33
|
-
case Issue_State.OPEN:
|
|
34
|
-
return "OPEN";
|
|
35
|
-
case Issue_State.CLOSED:
|
|
36
|
-
return "CLOSED";
|
|
37
|
-
case Issue_State.UNRECOGNIZED:
|
|
38
|
-
default:
|
|
39
|
-
return "UNRECOGNIZED";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
function createBaseIssue() {
|
|
43
|
-
return {
|
|
44
|
-
creator: "",
|
|
45
|
-
id: BigInt(0),
|
|
46
|
-
iid: BigInt(0),
|
|
47
|
-
title: "",
|
|
48
|
-
state: 0,
|
|
49
|
-
description: "",
|
|
50
|
-
commentsCount: BigInt(0),
|
|
51
|
-
pullRequests: [],
|
|
52
|
-
repositoryId: BigInt(0),
|
|
53
|
-
labels: [],
|
|
54
|
-
weight: BigInt(0),
|
|
55
|
-
assignees: [],
|
|
56
|
-
bounties: [],
|
|
57
|
-
createdAt: BigInt(0),
|
|
58
|
-
updatedAt: BigInt(0),
|
|
59
|
-
closedAt: BigInt(0),
|
|
60
|
-
closedBy: ""
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.Issue = {
|
|
64
|
-
typeUrl: "/gitopia.gitopia.gitopia.Issue",
|
|
65
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
66
|
-
if (message.creator !== "") {
|
|
67
|
-
writer.uint32(10).string(message.creator);
|
|
68
|
-
}
|
|
69
|
-
if (message.id !== BigInt(0)) {
|
|
70
|
-
writer.uint32(16).uint64(message.id);
|
|
71
|
-
}
|
|
72
|
-
if (message.iid !== BigInt(0)) {
|
|
73
|
-
writer.uint32(24).uint64(message.iid);
|
|
74
|
-
}
|
|
75
|
-
if (message.title !== "") {
|
|
76
|
-
writer.uint32(34).string(message.title);
|
|
77
|
-
}
|
|
78
|
-
if (message.state !== 0) {
|
|
79
|
-
writer.uint32(40).int32(message.state);
|
|
80
|
-
}
|
|
81
|
-
if (message.description !== "") {
|
|
82
|
-
writer.uint32(50).string(message.description);
|
|
83
|
-
}
|
|
84
|
-
if (message.commentsCount !== BigInt(0)) {
|
|
85
|
-
writer.uint32(56).uint64(message.commentsCount);
|
|
86
|
-
}
|
|
87
|
-
for (const v of message.pullRequests) {
|
|
88
|
-
repository_1.PullRequestIid.encode(v, writer.uint32(66).fork()).ldelim();
|
|
89
|
-
}
|
|
90
|
-
if (message.repositoryId !== BigInt(0)) {
|
|
91
|
-
writer.uint32(72).uint64(message.repositoryId);
|
|
92
|
-
}
|
|
93
|
-
writer.uint32(82).fork();
|
|
94
|
-
for (const v of message.labels) {
|
|
95
|
-
writer.uint64(v);
|
|
96
|
-
}
|
|
97
|
-
writer.ldelim();
|
|
98
|
-
if (message.weight !== BigInt(0)) {
|
|
99
|
-
writer.uint32(88).uint64(message.weight);
|
|
100
|
-
}
|
|
101
|
-
for (const v of message.assignees) {
|
|
102
|
-
writer.uint32(98).string(v);
|
|
103
|
-
}
|
|
104
|
-
writer.uint32(106).fork();
|
|
105
|
-
for (const v of message.bounties) {
|
|
106
|
-
writer.uint64(v);
|
|
107
|
-
}
|
|
108
|
-
writer.ldelim();
|
|
109
|
-
if (message.createdAt !== BigInt(0)) {
|
|
110
|
-
writer.uint32(112).int64(message.createdAt);
|
|
111
|
-
}
|
|
112
|
-
if (message.updatedAt !== BigInt(0)) {
|
|
113
|
-
writer.uint32(120).int64(message.updatedAt);
|
|
114
|
-
}
|
|
115
|
-
if (message.closedAt !== BigInt(0)) {
|
|
116
|
-
writer.uint32(128).int64(message.closedAt);
|
|
117
|
-
}
|
|
118
|
-
if (message.closedBy !== "") {
|
|
119
|
-
writer.uint32(138).string(message.closedBy);
|
|
120
|
-
}
|
|
121
|
-
return writer;
|
|
122
|
-
},
|
|
123
|
-
decode(input, length) {
|
|
124
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
125
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
126
|
-
const message = createBaseIssue();
|
|
127
|
-
while (reader.pos < end) {
|
|
128
|
-
const tag = reader.uint32();
|
|
129
|
-
switch (tag >>> 3) {
|
|
130
|
-
case 1:
|
|
131
|
-
message.creator = reader.string();
|
|
132
|
-
break;
|
|
133
|
-
case 2:
|
|
134
|
-
message.id = reader.uint64();
|
|
135
|
-
break;
|
|
136
|
-
case 3:
|
|
137
|
-
message.iid = reader.uint64();
|
|
138
|
-
break;
|
|
139
|
-
case 4:
|
|
140
|
-
message.title = reader.string();
|
|
141
|
-
break;
|
|
142
|
-
case 5:
|
|
143
|
-
message.state = reader.int32();
|
|
144
|
-
break;
|
|
145
|
-
case 6:
|
|
146
|
-
message.description = reader.string();
|
|
147
|
-
break;
|
|
148
|
-
case 7:
|
|
149
|
-
message.commentsCount = reader.uint64();
|
|
150
|
-
break;
|
|
151
|
-
case 8:
|
|
152
|
-
message.pullRequests.push(repository_1.PullRequestIid.decode(reader, reader.uint32()));
|
|
153
|
-
break;
|
|
154
|
-
case 9:
|
|
155
|
-
message.repositoryId = reader.uint64();
|
|
156
|
-
break;
|
|
157
|
-
case 10:
|
|
158
|
-
if ((tag & 7) === 2) {
|
|
159
|
-
const end2 = reader.uint32() + reader.pos;
|
|
160
|
-
while (reader.pos < end2) {
|
|
161
|
-
message.labels.push(reader.uint64());
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
message.labels.push(reader.uint64());
|
|
166
|
-
}
|
|
167
|
-
break;
|
|
168
|
-
case 11:
|
|
169
|
-
message.weight = reader.uint64();
|
|
170
|
-
break;
|
|
171
|
-
case 12:
|
|
172
|
-
message.assignees.push(reader.string());
|
|
173
|
-
break;
|
|
174
|
-
case 13:
|
|
175
|
-
if ((tag & 7) === 2) {
|
|
176
|
-
const end2 = reader.uint32() + reader.pos;
|
|
177
|
-
while (reader.pos < end2) {
|
|
178
|
-
message.bounties.push(reader.uint64());
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
message.bounties.push(reader.uint64());
|
|
183
|
-
}
|
|
184
|
-
break;
|
|
185
|
-
case 14:
|
|
186
|
-
message.createdAt = reader.int64();
|
|
187
|
-
break;
|
|
188
|
-
case 15:
|
|
189
|
-
message.updatedAt = reader.int64();
|
|
190
|
-
break;
|
|
191
|
-
case 16:
|
|
192
|
-
message.closedAt = reader.int64();
|
|
193
|
-
break;
|
|
194
|
-
case 17:
|
|
195
|
-
message.closedBy = reader.string();
|
|
196
|
-
break;
|
|
197
|
-
default:
|
|
198
|
-
reader.skipType(tag & 7);
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
return message;
|
|
203
|
-
},
|
|
204
|
-
fromPartial(object) {
|
|
205
|
-
const message = createBaseIssue();
|
|
206
|
-
message.creator = object.creator ?? "";
|
|
207
|
-
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
208
|
-
message.iid = object.iid !== undefined && object.iid !== null ? BigInt(object.iid.toString()) : BigInt(0);
|
|
209
|
-
message.title = object.title ?? "";
|
|
210
|
-
message.state = object.state ?? 0;
|
|
211
|
-
message.description = object.description ?? "";
|
|
212
|
-
message.commentsCount = object.commentsCount !== undefined && object.commentsCount !== null ? BigInt(object.commentsCount.toString()) : BigInt(0);
|
|
213
|
-
message.pullRequests = object.pullRequests?.map(e => repository_1.PullRequestIid.fromPartial(e)) || [];
|
|
214
|
-
message.repositoryId = object.repositoryId !== undefined && object.repositoryId !== null ? BigInt(object.repositoryId.toString()) : BigInt(0);
|
|
215
|
-
message.labels = object.labels?.map(e => BigInt(e.toString())) || [];
|
|
216
|
-
message.weight = object.weight !== undefined && object.weight !== null ? BigInt(object.weight.toString()) : BigInt(0);
|
|
217
|
-
message.assignees = object.assignees?.map(e => e) || [];
|
|
218
|
-
message.bounties = object.bounties?.map(e => BigInt(e.toString())) || [];
|
|
219
|
-
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
220
|
-
message.updatedAt = object.updatedAt !== undefined && object.updatedAt !== null ? BigInt(object.updatedAt.toString()) : BigInt(0);
|
|
221
|
-
message.closedAt = object.closedAt !== undefined && object.closedAt !== null ? BigInt(object.closedAt.toString()) : BigInt(0);
|
|
222
|
-
message.closedBy = object.closedBy ?? "";
|
|
223
|
-
return message;
|
|
224
|
-
},
|
|
225
|
-
fromAmino(object) {
|
|
226
|
-
const message = createBaseIssue();
|
|
227
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
228
|
-
message.creator = object.creator;
|
|
229
|
-
}
|
|
230
|
-
if (object.id !== undefined && object.id !== null) {
|
|
231
|
-
message.id = BigInt(object.id);
|
|
232
|
-
}
|
|
233
|
-
if (object.iid !== undefined && object.iid !== null) {
|
|
234
|
-
message.iid = BigInt(object.iid);
|
|
235
|
-
}
|
|
236
|
-
if (object.title !== undefined && object.title !== null) {
|
|
237
|
-
message.title = object.title;
|
|
238
|
-
}
|
|
239
|
-
if (object.state !== undefined && object.state !== null) {
|
|
240
|
-
message.state = object.state;
|
|
241
|
-
}
|
|
242
|
-
if (object.description !== undefined && object.description !== null) {
|
|
243
|
-
message.description = object.description;
|
|
244
|
-
}
|
|
245
|
-
if (object.commentsCount !== undefined && object.commentsCount !== null) {
|
|
246
|
-
message.commentsCount = BigInt(object.commentsCount);
|
|
247
|
-
}
|
|
248
|
-
message.pullRequests = object.pullRequests?.map(e => repository_1.PullRequestIid.fromAmino(e)) || [];
|
|
249
|
-
if (object.repositoryId !== undefined && object.repositoryId !== null) {
|
|
250
|
-
message.repositoryId = BigInt(object.repositoryId);
|
|
251
|
-
}
|
|
252
|
-
message.labels = object.labels?.map(e => BigInt(e)) || [];
|
|
253
|
-
if (object.weight !== undefined && object.weight !== null) {
|
|
254
|
-
message.weight = BigInt(object.weight);
|
|
255
|
-
}
|
|
256
|
-
message.assignees = object.assignees?.map(e => e) || [];
|
|
257
|
-
message.bounties = object.bounties?.map(e => BigInt(e)) || [];
|
|
258
|
-
if (object.createdAt !== undefined && object.createdAt !== null) {
|
|
259
|
-
message.createdAt = BigInt(object.createdAt);
|
|
260
|
-
}
|
|
261
|
-
if (object.updatedAt !== undefined && object.updatedAt !== null) {
|
|
262
|
-
message.updatedAt = BigInt(object.updatedAt);
|
|
263
|
-
}
|
|
264
|
-
if (object.closedAt !== undefined && object.closedAt !== null) {
|
|
265
|
-
message.closedAt = BigInt(object.closedAt);
|
|
266
|
-
}
|
|
267
|
-
if (object.closedBy !== undefined && object.closedBy !== null) {
|
|
268
|
-
message.closedBy = object.closedBy;
|
|
269
|
-
}
|
|
270
|
-
return message;
|
|
271
|
-
},
|
|
272
|
-
toAmino(message) {
|
|
273
|
-
const obj = {};
|
|
274
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
275
|
-
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
276
|
-
obj.iid = message.iid !== BigInt(0) ? message.iid?.toString() : undefined;
|
|
277
|
-
obj.title = message.title === "" ? undefined : message.title;
|
|
278
|
-
obj.state = message.state === 0 ? undefined : message.state;
|
|
279
|
-
obj.description = message.description === "" ? undefined : message.description;
|
|
280
|
-
obj.commentsCount = message.commentsCount !== BigInt(0) ? message.commentsCount?.toString() : undefined;
|
|
281
|
-
if (message.pullRequests) {
|
|
282
|
-
obj.pullRequests = message.pullRequests.map(e => e ? repository_1.PullRequestIid.toAmino(e) : undefined);
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
obj.pullRequests = message.pullRequests;
|
|
286
|
-
}
|
|
287
|
-
obj.repositoryId = message.repositoryId !== BigInt(0) ? message.repositoryId?.toString() : undefined;
|
|
288
|
-
if (message.labels) {
|
|
289
|
-
obj.labels = message.labels.map(e => e.toString());
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
obj.labels = message.labels;
|
|
293
|
-
}
|
|
294
|
-
obj.weight = message.weight !== BigInt(0) ? message.weight?.toString() : undefined;
|
|
295
|
-
if (message.assignees) {
|
|
296
|
-
obj.assignees = message.assignees.map(e => e);
|
|
297
|
-
}
|
|
298
|
-
else {
|
|
299
|
-
obj.assignees = message.assignees;
|
|
300
|
-
}
|
|
301
|
-
if (message.bounties) {
|
|
302
|
-
obj.bounties = message.bounties.map(e => e.toString());
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
obj.bounties = message.bounties;
|
|
306
|
-
}
|
|
307
|
-
obj.createdAt = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
308
|
-
obj.updatedAt = message.updatedAt !== BigInt(0) ? message.updatedAt?.toString() : undefined;
|
|
309
|
-
obj.closedAt = message.closedAt !== BigInt(0) ? message.closedAt?.toString() : undefined;
|
|
310
|
-
obj.closedBy = message.closedBy === "" ? undefined : message.closedBy;
|
|
311
|
-
return obj;
|
|
312
|
-
},
|
|
313
|
-
fromAminoMsg(object) {
|
|
314
|
-
return exports.Issue.fromAmino(object.value);
|
|
315
|
-
},
|
|
316
|
-
fromProtoMsg(message) {
|
|
317
|
-
return exports.Issue.decode(message.value);
|
|
318
|
-
},
|
|
319
|
-
toProto(message) {
|
|
320
|
-
return exports.Issue.encode(message).finish();
|
|
321
|
-
},
|
|
322
|
-
toProtoMsg(message) {
|
|
323
|
-
return {
|
|
324
|
-
typeUrl: "/gitopia.gitopia.gitopia.Issue",
|
|
325
|
-
value: exports.Issue.encode(message).finish()
|
|
326
|
-
};
|
|
327
|
-
}
|
|
328
|
-
};
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
export interface DistributionProportion {
|
|
3
|
-
proportion: string;
|
|
4
|
-
address: string;
|
|
5
|
-
}
|
|
6
|
-
export interface DistributionProportionProtoMsg {
|
|
7
|
-
typeUrl: "/gitopia.gitopia.gitopia.DistributionProportion";
|
|
8
|
-
value: Uint8Array;
|
|
9
|
-
}
|
|
10
|
-
export interface DistributionProportionAmino {
|
|
11
|
-
proportion?: string;
|
|
12
|
-
address?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface DistributionProportionAminoMsg {
|
|
15
|
-
type: "/gitopia.gitopia.gitopia.DistributionProportion";
|
|
16
|
-
value: DistributionProportionAmino;
|
|
17
|
-
}
|
|
18
|
-
export interface DistributionProportionSDKType {
|
|
19
|
-
proportion: string;
|
|
20
|
-
address: string;
|
|
21
|
-
}
|
|
22
|
-
export interface PoolProportions {
|
|
23
|
-
ecosystem?: DistributionProportion;
|
|
24
|
-
team?: DistributionProportion;
|
|
25
|
-
platform?: DistributionProportion;
|
|
26
|
-
}
|
|
27
|
-
export interface PoolProportionsProtoMsg {
|
|
28
|
-
typeUrl: "/gitopia.gitopia.gitopia.PoolProportions";
|
|
29
|
-
value: Uint8Array;
|
|
30
|
-
}
|
|
31
|
-
export interface PoolProportionsAmino {
|
|
32
|
-
ecosystem?: DistributionProportionAmino;
|
|
33
|
-
team?: DistributionProportionAmino;
|
|
34
|
-
platform?: DistributionProportionAmino;
|
|
35
|
-
}
|
|
36
|
-
export interface PoolProportionsAminoMsg {
|
|
37
|
-
type: "/gitopia.gitopia.gitopia.PoolProportions";
|
|
38
|
-
value: PoolProportionsAmino;
|
|
39
|
-
}
|
|
40
|
-
export interface PoolProportionsSDKType {
|
|
41
|
-
ecosystem?: DistributionProportionSDKType;
|
|
42
|
-
team?: DistributionProportionSDKType;
|
|
43
|
-
platform?: DistributionProportionSDKType;
|
|
44
|
-
}
|
|
45
|
-
/** Params defines the parameters for the module. */
|
|
46
|
-
export interface Params {
|
|
47
|
-
nextInflationTime: Date;
|
|
48
|
-
poolProportions: PoolProportions;
|
|
49
|
-
teamProportions: DistributionProportion[];
|
|
50
|
-
genesisTime: Date;
|
|
51
|
-
gitServer: string;
|
|
52
|
-
storageProvider: string;
|
|
53
|
-
}
|
|
54
|
-
export interface ParamsProtoMsg {
|
|
55
|
-
typeUrl: "/gitopia.gitopia.gitopia.Params";
|
|
56
|
-
value: Uint8Array;
|
|
57
|
-
}
|
|
58
|
-
/** Params defines the parameters for the module. */
|
|
59
|
-
export interface ParamsAmino {
|
|
60
|
-
next_inflation_time?: string;
|
|
61
|
-
pool_proportions?: PoolProportionsAmino;
|
|
62
|
-
team_proportions?: DistributionProportionAmino[];
|
|
63
|
-
genesis_time?: string;
|
|
64
|
-
git_server?: string;
|
|
65
|
-
storage_provider?: string;
|
|
66
|
-
}
|
|
67
|
-
export interface ParamsAminoMsg {
|
|
68
|
-
type: "/gitopia.gitopia.gitopia.Params";
|
|
69
|
-
value: ParamsAmino;
|
|
70
|
-
}
|
|
71
|
-
/** Params defines the parameters for the module. */
|
|
72
|
-
export interface ParamsSDKType {
|
|
73
|
-
next_inflation_time: Date;
|
|
74
|
-
pool_proportions: PoolProportionsSDKType;
|
|
75
|
-
team_proportions: DistributionProportionSDKType[];
|
|
76
|
-
genesis_time: Date;
|
|
77
|
-
git_server: string;
|
|
78
|
-
storage_provider: string;
|
|
79
|
-
}
|
|
80
|
-
export declare const DistributionProportion: {
|
|
81
|
-
typeUrl: string;
|
|
82
|
-
encode(message: DistributionProportion, writer?: BinaryWriter): BinaryWriter;
|
|
83
|
-
decode(input: BinaryReader | Uint8Array, length?: number): DistributionProportion;
|
|
84
|
-
fromPartial(object: Partial<DistributionProportion>): DistributionProportion;
|
|
85
|
-
fromAmino(object: DistributionProportionAmino): DistributionProportion;
|
|
86
|
-
toAmino(message: DistributionProportion): DistributionProportionAmino;
|
|
87
|
-
fromAminoMsg(object: DistributionProportionAminoMsg): DistributionProportion;
|
|
88
|
-
fromProtoMsg(message: DistributionProportionProtoMsg): DistributionProportion;
|
|
89
|
-
toProto(message: DistributionProportion): Uint8Array;
|
|
90
|
-
toProtoMsg(message: DistributionProportion): DistributionProportionProtoMsg;
|
|
91
|
-
};
|
|
92
|
-
export declare const PoolProportions: {
|
|
93
|
-
typeUrl: string;
|
|
94
|
-
encode(message: PoolProportions, writer?: BinaryWriter): BinaryWriter;
|
|
95
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PoolProportions;
|
|
96
|
-
fromPartial(object: Partial<PoolProportions>): PoolProportions;
|
|
97
|
-
fromAmino(object: PoolProportionsAmino): PoolProportions;
|
|
98
|
-
toAmino(message: PoolProportions): PoolProportionsAmino;
|
|
99
|
-
fromAminoMsg(object: PoolProportionsAminoMsg): PoolProportions;
|
|
100
|
-
fromProtoMsg(message: PoolProportionsProtoMsg): PoolProportions;
|
|
101
|
-
toProto(message: PoolProportions): Uint8Array;
|
|
102
|
-
toProtoMsg(message: PoolProportions): PoolProportionsProtoMsg;
|
|
103
|
-
};
|
|
104
|
-
export declare const Params: {
|
|
105
|
-
typeUrl: string;
|
|
106
|
-
encode(message: Params, writer?: BinaryWriter): BinaryWriter;
|
|
107
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Params;
|
|
108
|
-
fromPartial(object: Partial<Params>): Params;
|
|
109
|
-
fromAmino(object: ParamsAmino): Params;
|
|
110
|
-
toAmino(message: Params): ParamsAmino;
|
|
111
|
-
fromAminoMsg(object: ParamsAminoMsg): Params;
|
|
112
|
-
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
113
|
-
toProto(message: Params): Uint8Array;
|
|
114
|
-
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
115
|
-
};
|