@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,143 +0,0 @@
|
|
|
1
|
-
import { ExercisedAmount, ExercisedAmountAmino, ExercisedAmountSDKType } from "./exercised_amount";
|
|
2
|
-
import { Params, ParamsAmino, ParamsSDKType } from "./params";
|
|
3
|
-
import { Bounty, BountyAmino, BountySDKType } from "./bounty";
|
|
4
|
-
import { UserDao, UserDaoAmino, UserDaoSDKType, User, UserAmino, UserSDKType } from "./user";
|
|
5
|
-
import { BaseRepositoryKey, BaseRepositoryKeyAmino, BaseRepositoryKeySDKType, Repository, RepositoryAmino, RepositorySDKType } from "./repository";
|
|
6
|
-
import { Tag, TagAmino, TagSDKType } from "./tag";
|
|
7
|
-
import { Branch, BranchAmino, BranchSDKType } from "./branch";
|
|
8
|
-
import { Task, TaskAmino, TaskSDKType } from "./task";
|
|
9
|
-
import { Release, ReleaseAmino, ReleaseSDKType } from "./release";
|
|
10
|
-
import { PullRequest, PullRequestAmino, PullRequestSDKType } from "./pullRequest";
|
|
11
|
-
import { Dao, DaoAmino, DaoSDKType } from "./dao";
|
|
12
|
-
import { Comment, CommentAmino, CommentSDKType } from "./comment";
|
|
13
|
-
import { Issue, IssueAmino, IssueSDKType } from "./issue";
|
|
14
|
-
import { Whois, WhoisAmino, WhoisSDKType } from "./whois";
|
|
15
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
16
|
-
/** GenesisState defines the gitopia module's genesis state. */
|
|
17
|
-
export interface GenesisState {
|
|
18
|
-
exercisedAmountList: ExercisedAmount[];
|
|
19
|
-
exercisedAmountCount: bigint;
|
|
20
|
-
/** params defines all the paramaters of the module. */
|
|
21
|
-
params: Params;
|
|
22
|
-
bountyList: Bounty[];
|
|
23
|
-
bountyCount: bigint;
|
|
24
|
-
userDaoList: UserDao[];
|
|
25
|
-
baseRepositoryKeyList: BaseRepositoryKey[];
|
|
26
|
-
/**
|
|
27
|
-
* TODO:
|
|
28
|
-
* repeated Member memberList = 23 [(gogoproto.nullable) = false];
|
|
29
|
-
* uint64 memberCount = 24;
|
|
30
|
-
*/
|
|
31
|
-
tagList: Tag[];
|
|
32
|
-
tagCount: bigint;
|
|
33
|
-
branchList: Branch[];
|
|
34
|
-
branchCount: bigint;
|
|
35
|
-
taskList: Task[];
|
|
36
|
-
taskCount: bigint;
|
|
37
|
-
releaseList: Release[];
|
|
38
|
-
releaseCount: bigint;
|
|
39
|
-
pullRequestList: PullRequest[];
|
|
40
|
-
pullRequestCount: bigint;
|
|
41
|
-
daoList: Dao[];
|
|
42
|
-
daoCount: bigint;
|
|
43
|
-
commentList: Comment[];
|
|
44
|
-
commentCount: bigint;
|
|
45
|
-
issueList: Issue[];
|
|
46
|
-
issueCount: bigint;
|
|
47
|
-
repositoryList: Repository[];
|
|
48
|
-
repositoryCount: bigint;
|
|
49
|
-
userList: User[];
|
|
50
|
-
userCount: bigint;
|
|
51
|
-
whoisList: Whois[];
|
|
52
|
-
whoisCount: bigint;
|
|
53
|
-
}
|
|
54
|
-
export interface GenesisStateProtoMsg {
|
|
55
|
-
typeUrl: "/gitopia.gitopia.gitopia.GenesisState";
|
|
56
|
-
value: Uint8Array;
|
|
57
|
-
}
|
|
58
|
-
/** GenesisState defines the gitopia module's genesis state. */
|
|
59
|
-
export interface GenesisStateAmino {
|
|
60
|
-
exercisedAmountList?: ExercisedAmountAmino[];
|
|
61
|
-
exercisedAmountCount?: string;
|
|
62
|
-
/** params defines all the paramaters of the module. */
|
|
63
|
-
params?: ParamsAmino;
|
|
64
|
-
bountyList?: BountyAmino[];
|
|
65
|
-
bountyCount?: string;
|
|
66
|
-
userDaoList?: UserDaoAmino[];
|
|
67
|
-
baseRepositoryKeyList?: BaseRepositoryKeyAmino[];
|
|
68
|
-
/**
|
|
69
|
-
* TODO:
|
|
70
|
-
* repeated Member memberList = 23 [(gogoproto.nullable) = false];
|
|
71
|
-
* uint64 memberCount = 24;
|
|
72
|
-
*/
|
|
73
|
-
tagList?: TagAmino[];
|
|
74
|
-
tagCount?: string;
|
|
75
|
-
branchList?: BranchAmino[];
|
|
76
|
-
branchCount?: string;
|
|
77
|
-
taskList?: TaskAmino[];
|
|
78
|
-
taskCount?: string;
|
|
79
|
-
releaseList?: ReleaseAmino[];
|
|
80
|
-
releaseCount?: string;
|
|
81
|
-
pullRequestList?: PullRequestAmino[];
|
|
82
|
-
pullRequestCount?: string;
|
|
83
|
-
daoList?: DaoAmino[];
|
|
84
|
-
daoCount?: string;
|
|
85
|
-
commentList?: CommentAmino[];
|
|
86
|
-
commentCount?: string;
|
|
87
|
-
issueList?: IssueAmino[];
|
|
88
|
-
issueCount?: string;
|
|
89
|
-
repositoryList?: RepositoryAmino[];
|
|
90
|
-
repositoryCount?: string;
|
|
91
|
-
userList?: UserAmino[];
|
|
92
|
-
userCount?: string;
|
|
93
|
-
whoisList?: WhoisAmino[];
|
|
94
|
-
whoisCount?: string;
|
|
95
|
-
}
|
|
96
|
-
export interface GenesisStateAminoMsg {
|
|
97
|
-
type: "/gitopia.gitopia.gitopia.GenesisState";
|
|
98
|
-
value: GenesisStateAmino;
|
|
99
|
-
}
|
|
100
|
-
/** GenesisState defines the gitopia module's genesis state. */
|
|
101
|
-
export interface GenesisStateSDKType {
|
|
102
|
-
exercisedAmountList: ExercisedAmountSDKType[];
|
|
103
|
-
exercisedAmountCount: bigint;
|
|
104
|
-
params: ParamsSDKType;
|
|
105
|
-
bountyList: BountySDKType[];
|
|
106
|
-
bountyCount: bigint;
|
|
107
|
-
userDaoList: UserDaoSDKType[];
|
|
108
|
-
baseRepositoryKeyList: BaseRepositoryKeySDKType[];
|
|
109
|
-
tagList: TagSDKType[];
|
|
110
|
-
tagCount: bigint;
|
|
111
|
-
branchList: BranchSDKType[];
|
|
112
|
-
branchCount: bigint;
|
|
113
|
-
taskList: TaskSDKType[];
|
|
114
|
-
taskCount: bigint;
|
|
115
|
-
releaseList: ReleaseSDKType[];
|
|
116
|
-
releaseCount: bigint;
|
|
117
|
-
pullRequestList: PullRequestSDKType[];
|
|
118
|
-
pullRequestCount: bigint;
|
|
119
|
-
daoList: DaoSDKType[];
|
|
120
|
-
daoCount: bigint;
|
|
121
|
-
commentList: CommentSDKType[];
|
|
122
|
-
commentCount: bigint;
|
|
123
|
-
issueList: IssueSDKType[];
|
|
124
|
-
issueCount: bigint;
|
|
125
|
-
repositoryList: RepositorySDKType[];
|
|
126
|
-
repositoryCount: bigint;
|
|
127
|
-
userList: UserSDKType[];
|
|
128
|
-
userCount: bigint;
|
|
129
|
-
whoisList: WhoisSDKType[];
|
|
130
|
-
whoisCount: bigint;
|
|
131
|
-
}
|
|
132
|
-
export declare const GenesisState: {
|
|
133
|
-
typeUrl: string;
|
|
134
|
-
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
135
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
136
|
-
fromPartial(object: Partial<GenesisState>): GenesisState;
|
|
137
|
-
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
138
|
-
toAmino(message: GenesisState): GenesisStateAmino;
|
|
139
|
-
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
140
|
-
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
|
|
141
|
-
toProto(message: GenesisState): Uint8Array;
|
|
142
|
-
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
143
|
-
};
|
|
@@ -1,463 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenesisState = void 0;
|
|
4
|
-
//@ts-nocheck
|
|
5
|
-
const exercised_amount_1 = require("./exercised_amount");
|
|
6
|
-
const params_1 = require("./params");
|
|
7
|
-
const bounty_1 = require("./bounty");
|
|
8
|
-
const user_1 = require("./user");
|
|
9
|
-
const repository_1 = require("./repository");
|
|
10
|
-
const tag_1 = require("./tag");
|
|
11
|
-
const branch_1 = require("./branch");
|
|
12
|
-
const task_1 = require("./task");
|
|
13
|
-
const release_1 = require("./release");
|
|
14
|
-
const pullRequest_1 = require("./pullRequest");
|
|
15
|
-
const dao_1 = require("./dao");
|
|
16
|
-
const comment_1 = require("./comment");
|
|
17
|
-
const issue_1 = require("./issue");
|
|
18
|
-
const whois_1 = require("./whois");
|
|
19
|
-
const binary_1 = require("../../../binary");
|
|
20
|
-
function createBaseGenesisState() {
|
|
21
|
-
return {
|
|
22
|
-
exercisedAmountList: [],
|
|
23
|
-
exercisedAmountCount: BigInt(0),
|
|
24
|
-
params: params_1.Params.fromPartial({}),
|
|
25
|
-
bountyList: [],
|
|
26
|
-
bountyCount: BigInt(0),
|
|
27
|
-
userDaoList: [],
|
|
28
|
-
baseRepositoryKeyList: [],
|
|
29
|
-
tagList: [],
|
|
30
|
-
tagCount: BigInt(0),
|
|
31
|
-
branchList: [],
|
|
32
|
-
branchCount: BigInt(0),
|
|
33
|
-
taskList: [],
|
|
34
|
-
taskCount: BigInt(0),
|
|
35
|
-
releaseList: [],
|
|
36
|
-
releaseCount: BigInt(0),
|
|
37
|
-
pullRequestList: [],
|
|
38
|
-
pullRequestCount: BigInt(0),
|
|
39
|
-
daoList: [],
|
|
40
|
-
daoCount: BigInt(0),
|
|
41
|
-
commentList: [],
|
|
42
|
-
commentCount: BigInt(0),
|
|
43
|
-
issueList: [],
|
|
44
|
-
issueCount: BigInt(0),
|
|
45
|
-
repositoryList: [],
|
|
46
|
-
repositoryCount: BigInt(0),
|
|
47
|
-
userList: [],
|
|
48
|
-
userCount: BigInt(0),
|
|
49
|
-
whoisList: [],
|
|
50
|
-
whoisCount: BigInt(0)
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.GenesisState = {
|
|
54
|
-
typeUrl: "/gitopia.gitopia.gitopia.GenesisState",
|
|
55
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
56
|
-
for (const v of message.exercisedAmountList) {
|
|
57
|
-
exercised_amount_1.ExercisedAmount.encode(v, writer.uint32(242).fork()).ldelim();
|
|
58
|
-
}
|
|
59
|
-
if (message.exercisedAmountCount !== BigInt(0)) {
|
|
60
|
-
writer.uint32(248).uint64(message.exercisedAmountCount);
|
|
61
|
-
}
|
|
62
|
-
if (message.params !== undefined) {
|
|
63
|
-
params_1.Params.encode(message.params, writer.uint32(234).fork()).ldelim();
|
|
64
|
-
}
|
|
65
|
-
for (const v of message.bountyList) {
|
|
66
|
-
bounty_1.Bounty.encode(v, writer.uint32(218).fork()).ldelim();
|
|
67
|
-
}
|
|
68
|
-
if (message.bountyCount !== BigInt(0)) {
|
|
69
|
-
writer.uint32(224).uint64(message.bountyCount);
|
|
70
|
-
}
|
|
71
|
-
for (const v of message.userDaoList) {
|
|
72
|
-
user_1.UserDao.encode(v, writer.uint32(202).fork()).ldelim();
|
|
73
|
-
}
|
|
74
|
-
for (const v of message.baseRepositoryKeyList) {
|
|
75
|
-
repository_1.BaseRepositoryKey.encode(v, writer.uint32(210).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
for (const v of message.tagList) {
|
|
78
|
-
tag_1.Tag.encode(v, writer.uint32(170).fork()).ldelim();
|
|
79
|
-
}
|
|
80
|
-
if (message.tagCount !== BigInt(0)) {
|
|
81
|
-
writer.uint32(176).uint64(message.tagCount);
|
|
82
|
-
}
|
|
83
|
-
for (const v of message.branchList) {
|
|
84
|
-
branch_1.Branch.encode(v, writer.uint32(154).fork()).ldelim();
|
|
85
|
-
}
|
|
86
|
-
if (message.branchCount !== BigInt(0)) {
|
|
87
|
-
writer.uint32(160).uint64(message.branchCount);
|
|
88
|
-
}
|
|
89
|
-
for (const v of message.taskList) {
|
|
90
|
-
task_1.Task.encode(v, writer.uint32(138).fork()).ldelim();
|
|
91
|
-
}
|
|
92
|
-
if (message.taskCount !== BigInt(0)) {
|
|
93
|
-
writer.uint32(144).uint64(message.taskCount);
|
|
94
|
-
}
|
|
95
|
-
for (const v of message.releaseList) {
|
|
96
|
-
release_1.Release.encode(v, writer.uint32(122).fork()).ldelim();
|
|
97
|
-
}
|
|
98
|
-
if (message.releaseCount !== BigInt(0)) {
|
|
99
|
-
writer.uint32(128).uint64(message.releaseCount);
|
|
100
|
-
}
|
|
101
|
-
for (const v of message.pullRequestList) {
|
|
102
|
-
pullRequest_1.PullRequest.encode(v, writer.uint32(106).fork()).ldelim();
|
|
103
|
-
}
|
|
104
|
-
if (message.pullRequestCount !== BigInt(0)) {
|
|
105
|
-
writer.uint32(112).uint64(message.pullRequestCount);
|
|
106
|
-
}
|
|
107
|
-
for (const v of message.daoList) {
|
|
108
|
-
dao_1.Dao.encode(v, writer.uint32(90).fork()).ldelim();
|
|
109
|
-
}
|
|
110
|
-
if (message.daoCount !== BigInt(0)) {
|
|
111
|
-
writer.uint32(96).uint64(message.daoCount);
|
|
112
|
-
}
|
|
113
|
-
for (const v of message.commentList) {
|
|
114
|
-
comment_1.Comment.encode(v, writer.uint32(74).fork()).ldelim();
|
|
115
|
-
}
|
|
116
|
-
if (message.commentCount !== BigInt(0)) {
|
|
117
|
-
writer.uint32(80).uint64(message.commentCount);
|
|
118
|
-
}
|
|
119
|
-
for (const v of message.issueList) {
|
|
120
|
-
issue_1.Issue.encode(v, writer.uint32(58).fork()).ldelim();
|
|
121
|
-
}
|
|
122
|
-
if (message.issueCount !== BigInt(0)) {
|
|
123
|
-
writer.uint32(64).uint64(message.issueCount);
|
|
124
|
-
}
|
|
125
|
-
for (const v of message.repositoryList) {
|
|
126
|
-
repository_1.Repository.encode(v, writer.uint32(42).fork()).ldelim();
|
|
127
|
-
}
|
|
128
|
-
if (message.repositoryCount !== BigInt(0)) {
|
|
129
|
-
writer.uint32(48).uint64(message.repositoryCount);
|
|
130
|
-
}
|
|
131
|
-
for (const v of message.userList) {
|
|
132
|
-
user_1.User.encode(v, writer.uint32(26).fork()).ldelim();
|
|
133
|
-
}
|
|
134
|
-
if (message.userCount !== BigInt(0)) {
|
|
135
|
-
writer.uint32(32).uint64(message.userCount);
|
|
136
|
-
}
|
|
137
|
-
for (const v of message.whoisList) {
|
|
138
|
-
whois_1.Whois.encode(v, writer.uint32(10).fork()).ldelim();
|
|
139
|
-
}
|
|
140
|
-
if (message.whoisCount !== BigInt(0)) {
|
|
141
|
-
writer.uint32(16).uint64(message.whoisCount);
|
|
142
|
-
}
|
|
143
|
-
return writer;
|
|
144
|
-
},
|
|
145
|
-
decode(input, length) {
|
|
146
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
147
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
148
|
-
const message = createBaseGenesisState();
|
|
149
|
-
while (reader.pos < end) {
|
|
150
|
-
const tag = reader.uint32();
|
|
151
|
-
switch (tag >>> 3) {
|
|
152
|
-
case 30:
|
|
153
|
-
message.exercisedAmountList.push(exercised_amount_1.ExercisedAmount.decode(reader, reader.uint32()));
|
|
154
|
-
break;
|
|
155
|
-
case 31:
|
|
156
|
-
message.exercisedAmountCount = reader.uint64();
|
|
157
|
-
break;
|
|
158
|
-
case 29:
|
|
159
|
-
message.params = params_1.Params.decode(reader, reader.uint32());
|
|
160
|
-
break;
|
|
161
|
-
case 27:
|
|
162
|
-
message.bountyList.push(bounty_1.Bounty.decode(reader, reader.uint32()));
|
|
163
|
-
break;
|
|
164
|
-
case 28:
|
|
165
|
-
message.bountyCount = reader.uint64();
|
|
166
|
-
break;
|
|
167
|
-
case 25:
|
|
168
|
-
message.userDaoList.push(user_1.UserDao.decode(reader, reader.uint32()));
|
|
169
|
-
break;
|
|
170
|
-
case 26:
|
|
171
|
-
message.baseRepositoryKeyList.push(repository_1.BaseRepositoryKey.decode(reader, reader.uint32()));
|
|
172
|
-
break;
|
|
173
|
-
case 21:
|
|
174
|
-
message.tagList.push(tag_1.Tag.decode(reader, reader.uint32()));
|
|
175
|
-
break;
|
|
176
|
-
case 22:
|
|
177
|
-
message.tagCount = reader.uint64();
|
|
178
|
-
break;
|
|
179
|
-
case 19:
|
|
180
|
-
message.branchList.push(branch_1.Branch.decode(reader, reader.uint32()));
|
|
181
|
-
break;
|
|
182
|
-
case 20:
|
|
183
|
-
message.branchCount = reader.uint64();
|
|
184
|
-
break;
|
|
185
|
-
case 17:
|
|
186
|
-
message.taskList.push(task_1.Task.decode(reader, reader.uint32()));
|
|
187
|
-
break;
|
|
188
|
-
case 18:
|
|
189
|
-
message.taskCount = reader.uint64();
|
|
190
|
-
break;
|
|
191
|
-
case 15:
|
|
192
|
-
message.releaseList.push(release_1.Release.decode(reader, reader.uint32()));
|
|
193
|
-
break;
|
|
194
|
-
case 16:
|
|
195
|
-
message.releaseCount = reader.uint64();
|
|
196
|
-
break;
|
|
197
|
-
case 13:
|
|
198
|
-
message.pullRequestList.push(pullRequest_1.PullRequest.decode(reader, reader.uint32()));
|
|
199
|
-
break;
|
|
200
|
-
case 14:
|
|
201
|
-
message.pullRequestCount = reader.uint64();
|
|
202
|
-
break;
|
|
203
|
-
case 11:
|
|
204
|
-
message.daoList.push(dao_1.Dao.decode(reader, reader.uint32()));
|
|
205
|
-
break;
|
|
206
|
-
case 12:
|
|
207
|
-
message.daoCount = reader.uint64();
|
|
208
|
-
break;
|
|
209
|
-
case 9:
|
|
210
|
-
message.commentList.push(comment_1.Comment.decode(reader, reader.uint32()));
|
|
211
|
-
break;
|
|
212
|
-
case 10:
|
|
213
|
-
message.commentCount = reader.uint64();
|
|
214
|
-
break;
|
|
215
|
-
case 7:
|
|
216
|
-
message.issueList.push(issue_1.Issue.decode(reader, reader.uint32()));
|
|
217
|
-
break;
|
|
218
|
-
case 8:
|
|
219
|
-
message.issueCount = reader.uint64();
|
|
220
|
-
break;
|
|
221
|
-
case 5:
|
|
222
|
-
message.repositoryList.push(repository_1.Repository.decode(reader, reader.uint32()));
|
|
223
|
-
break;
|
|
224
|
-
case 6:
|
|
225
|
-
message.repositoryCount = reader.uint64();
|
|
226
|
-
break;
|
|
227
|
-
case 3:
|
|
228
|
-
message.userList.push(user_1.User.decode(reader, reader.uint32()));
|
|
229
|
-
break;
|
|
230
|
-
case 4:
|
|
231
|
-
message.userCount = reader.uint64();
|
|
232
|
-
break;
|
|
233
|
-
case 1:
|
|
234
|
-
message.whoisList.push(whois_1.Whois.decode(reader, reader.uint32()));
|
|
235
|
-
break;
|
|
236
|
-
case 2:
|
|
237
|
-
message.whoisCount = reader.uint64();
|
|
238
|
-
break;
|
|
239
|
-
default:
|
|
240
|
-
reader.skipType(tag & 7);
|
|
241
|
-
break;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
return message;
|
|
245
|
-
},
|
|
246
|
-
fromPartial(object) {
|
|
247
|
-
const message = createBaseGenesisState();
|
|
248
|
-
message.exercisedAmountList = object.exercisedAmountList?.map(e => exercised_amount_1.ExercisedAmount.fromPartial(e)) || [];
|
|
249
|
-
message.exercisedAmountCount = object.exercisedAmountCount !== undefined && object.exercisedAmountCount !== null ? BigInt(object.exercisedAmountCount.toString()) : BigInt(0);
|
|
250
|
-
message.params = object.params !== undefined && object.params !== null ? params_1.Params.fromPartial(object.params) : undefined;
|
|
251
|
-
message.bountyList = object.bountyList?.map(e => bounty_1.Bounty.fromPartial(e)) || [];
|
|
252
|
-
message.bountyCount = object.bountyCount !== undefined && object.bountyCount !== null ? BigInt(object.bountyCount.toString()) : BigInt(0);
|
|
253
|
-
message.userDaoList = object.userDaoList?.map(e => user_1.UserDao.fromPartial(e)) || [];
|
|
254
|
-
message.baseRepositoryKeyList = object.baseRepositoryKeyList?.map(e => repository_1.BaseRepositoryKey.fromPartial(e)) || [];
|
|
255
|
-
message.tagList = object.tagList?.map(e => tag_1.Tag.fromPartial(e)) || [];
|
|
256
|
-
message.tagCount = object.tagCount !== undefined && object.tagCount !== null ? BigInt(object.tagCount.toString()) : BigInt(0);
|
|
257
|
-
message.branchList = object.branchList?.map(e => branch_1.Branch.fromPartial(e)) || [];
|
|
258
|
-
message.branchCount = object.branchCount !== undefined && object.branchCount !== null ? BigInt(object.branchCount.toString()) : BigInt(0);
|
|
259
|
-
message.taskList = object.taskList?.map(e => task_1.Task.fromPartial(e)) || [];
|
|
260
|
-
message.taskCount = object.taskCount !== undefined && object.taskCount !== null ? BigInt(object.taskCount.toString()) : BigInt(0);
|
|
261
|
-
message.releaseList = object.releaseList?.map(e => release_1.Release.fromPartial(e)) || [];
|
|
262
|
-
message.releaseCount = object.releaseCount !== undefined && object.releaseCount !== null ? BigInt(object.releaseCount.toString()) : BigInt(0);
|
|
263
|
-
message.pullRequestList = object.pullRequestList?.map(e => pullRequest_1.PullRequest.fromPartial(e)) || [];
|
|
264
|
-
message.pullRequestCount = object.pullRequestCount !== undefined && object.pullRequestCount !== null ? BigInt(object.pullRequestCount.toString()) : BigInt(0);
|
|
265
|
-
message.daoList = object.daoList?.map(e => dao_1.Dao.fromPartial(e)) || [];
|
|
266
|
-
message.daoCount = object.daoCount !== undefined && object.daoCount !== null ? BigInt(object.daoCount.toString()) : BigInt(0);
|
|
267
|
-
message.commentList = object.commentList?.map(e => comment_1.Comment.fromPartial(e)) || [];
|
|
268
|
-
message.commentCount = object.commentCount !== undefined && object.commentCount !== null ? BigInt(object.commentCount.toString()) : BigInt(0);
|
|
269
|
-
message.issueList = object.issueList?.map(e => issue_1.Issue.fromPartial(e)) || [];
|
|
270
|
-
message.issueCount = object.issueCount !== undefined && object.issueCount !== null ? BigInt(object.issueCount.toString()) : BigInt(0);
|
|
271
|
-
message.repositoryList = object.repositoryList?.map(e => repository_1.Repository.fromPartial(e)) || [];
|
|
272
|
-
message.repositoryCount = object.repositoryCount !== undefined && object.repositoryCount !== null ? BigInt(object.repositoryCount.toString()) : BigInt(0);
|
|
273
|
-
message.userList = object.userList?.map(e => user_1.User.fromPartial(e)) || [];
|
|
274
|
-
message.userCount = object.userCount !== undefined && object.userCount !== null ? BigInt(object.userCount.toString()) : BigInt(0);
|
|
275
|
-
message.whoisList = object.whoisList?.map(e => whois_1.Whois.fromPartial(e)) || [];
|
|
276
|
-
message.whoisCount = object.whoisCount !== undefined && object.whoisCount !== null ? BigInt(object.whoisCount.toString()) : BigInt(0);
|
|
277
|
-
return message;
|
|
278
|
-
},
|
|
279
|
-
fromAmino(object) {
|
|
280
|
-
const message = createBaseGenesisState();
|
|
281
|
-
message.exercisedAmountList = object.exercisedAmountList?.map(e => exercised_amount_1.ExercisedAmount.fromAmino(e)) || [];
|
|
282
|
-
if (object.exercisedAmountCount !== undefined && object.exercisedAmountCount !== null) {
|
|
283
|
-
message.exercisedAmountCount = BigInt(object.exercisedAmountCount);
|
|
284
|
-
}
|
|
285
|
-
if (object.params !== undefined && object.params !== null) {
|
|
286
|
-
message.params = params_1.Params.fromAmino(object.params);
|
|
287
|
-
}
|
|
288
|
-
message.bountyList = object.bountyList?.map(e => bounty_1.Bounty.fromAmino(e)) || [];
|
|
289
|
-
if (object.bountyCount !== undefined && object.bountyCount !== null) {
|
|
290
|
-
message.bountyCount = BigInt(object.bountyCount);
|
|
291
|
-
}
|
|
292
|
-
message.userDaoList = object.userDaoList?.map(e => user_1.UserDao.fromAmino(e)) || [];
|
|
293
|
-
message.baseRepositoryKeyList = object.baseRepositoryKeyList?.map(e => repository_1.BaseRepositoryKey.fromAmino(e)) || [];
|
|
294
|
-
message.tagList = object.tagList?.map(e => tag_1.Tag.fromAmino(e)) || [];
|
|
295
|
-
if (object.tagCount !== undefined && object.tagCount !== null) {
|
|
296
|
-
message.tagCount = BigInt(object.tagCount);
|
|
297
|
-
}
|
|
298
|
-
message.branchList = object.branchList?.map(e => branch_1.Branch.fromAmino(e)) || [];
|
|
299
|
-
if (object.branchCount !== undefined && object.branchCount !== null) {
|
|
300
|
-
message.branchCount = BigInt(object.branchCount);
|
|
301
|
-
}
|
|
302
|
-
message.taskList = object.taskList?.map(e => task_1.Task.fromAmino(e)) || [];
|
|
303
|
-
if (object.taskCount !== undefined && object.taskCount !== null) {
|
|
304
|
-
message.taskCount = BigInt(object.taskCount);
|
|
305
|
-
}
|
|
306
|
-
message.releaseList = object.releaseList?.map(e => release_1.Release.fromAmino(e)) || [];
|
|
307
|
-
if (object.releaseCount !== undefined && object.releaseCount !== null) {
|
|
308
|
-
message.releaseCount = BigInt(object.releaseCount);
|
|
309
|
-
}
|
|
310
|
-
message.pullRequestList = object.pullRequestList?.map(e => pullRequest_1.PullRequest.fromAmino(e)) || [];
|
|
311
|
-
if (object.pullRequestCount !== undefined && object.pullRequestCount !== null) {
|
|
312
|
-
message.pullRequestCount = BigInt(object.pullRequestCount);
|
|
313
|
-
}
|
|
314
|
-
message.daoList = object.daoList?.map(e => dao_1.Dao.fromAmino(e)) || [];
|
|
315
|
-
if (object.daoCount !== undefined && object.daoCount !== null) {
|
|
316
|
-
message.daoCount = BigInt(object.daoCount);
|
|
317
|
-
}
|
|
318
|
-
message.commentList = object.commentList?.map(e => comment_1.Comment.fromAmino(e)) || [];
|
|
319
|
-
if (object.commentCount !== undefined && object.commentCount !== null) {
|
|
320
|
-
message.commentCount = BigInt(object.commentCount);
|
|
321
|
-
}
|
|
322
|
-
message.issueList = object.issueList?.map(e => issue_1.Issue.fromAmino(e)) || [];
|
|
323
|
-
if (object.issueCount !== undefined && object.issueCount !== null) {
|
|
324
|
-
message.issueCount = BigInt(object.issueCount);
|
|
325
|
-
}
|
|
326
|
-
message.repositoryList = object.repositoryList?.map(e => repository_1.Repository.fromAmino(e)) || [];
|
|
327
|
-
if (object.repositoryCount !== undefined && object.repositoryCount !== null) {
|
|
328
|
-
message.repositoryCount = BigInt(object.repositoryCount);
|
|
329
|
-
}
|
|
330
|
-
message.userList = object.userList?.map(e => user_1.User.fromAmino(e)) || [];
|
|
331
|
-
if (object.userCount !== undefined && object.userCount !== null) {
|
|
332
|
-
message.userCount = BigInt(object.userCount);
|
|
333
|
-
}
|
|
334
|
-
message.whoisList = object.whoisList?.map(e => whois_1.Whois.fromAmino(e)) || [];
|
|
335
|
-
if (object.whoisCount !== undefined && object.whoisCount !== null) {
|
|
336
|
-
message.whoisCount = BigInt(object.whoisCount);
|
|
337
|
-
}
|
|
338
|
-
return message;
|
|
339
|
-
},
|
|
340
|
-
toAmino(message) {
|
|
341
|
-
const obj = {};
|
|
342
|
-
if (message.exercisedAmountList) {
|
|
343
|
-
obj.exercisedAmountList = message.exercisedAmountList.map(e => e ? exercised_amount_1.ExercisedAmount.toAmino(e) : undefined);
|
|
344
|
-
}
|
|
345
|
-
else {
|
|
346
|
-
obj.exercisedAmountList = message.exercisedAmountList;
|
|
347
|
-
}
|
|
348
|
-
obj.exercisedAmountCount = message.exercisedAmountCount !== BigInt(0) ? message.exercisedAmountCount?.toString() : undefined;
|
|
349
|
-
obj.params = message.params ? params_1.Params.toAmino(message.params) : undefined;
|
|
350
|
-
if (message.bountyList) {
|
|
351
|
-
obj.bountyList = message.bountyList.map(e => e ? bounty_1.Bounty.toAmino(e) : undefined);
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
obj.bountyList = message.bountyList;
|
|
355
|
-
}
|
|
356
|
-
obj.bountyCount = message.bountyCount !== BigInt(0) ? message.bountyCount?.toString() : undefined;
|
|
357
|
-
if (message.userDaoList) {
|
|
358
|
-
obj.userDaoList = message.userDaoList.map(e => e ? user_1.UserDao.toAmino(e) : undefined);
|
|
359
|
-
}
|
|
360
|
-
else {
|
|
361
|
-
obj.userDaoList = message.userDaoList;
|
|
362
|
-
}
|
|
363
|
-
if (message.baseRepositoryKeyList) {
|
|
364
|
-
obj.baseRepositoryKeyList = message.baseRepositoryKeyList.map(e => e ? repository_1.BaseRepositoryKey.toAmino(e) : undefined);
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
obj.baseRepositoryKeyList = message.baseRepositoryKeyList;
|
|
368
|
-
}
|
|
369
|
-
if (message.tagList) {
|
|
370
|
-
obj.tagList = message.tagList.map(e => e ? tag_1.Tag.toAmino(e) : undefined);
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
obj.tagList = message.tagList;
|
|
374
|
-
}
|
|
375
|
-
obj.tagCount = message.tagCount !== BigInt(0) ? message.tagCount?.toString() : undefined;
|
|
376
|
-
if (message.branchList) {
|
|
377
|
-
obj.branchList = message.branchList.map(e => e ? branch_1.Branch.toAmino(e) : undefined);
|
|
378
|
-
}
|
|
379
|
-
else {
|
|
380
|
-
obj.branchList = message.branchList;
|
|
381
|
-
}
|
|
382
|
-
obj.branchCount = message.branchCount !== BigInt(0) ? message.branchCount?.toString() : undefined;
|
|
383
|
-
if (message.taskList) {
|
|
384
|
-
obj.taskList = message.taskList.map(e => e ? task_1.Task.toAmino(e) : undefined);
|
|
385
|
-
}
|
|
386
|
-
else {
|
|
387
|
-
obj.taskList = message.taskList;
|
|
388
|
-
}
|
|
389
|
-
obj.taskCount = message.taskCount !== BigInt(0) ? message.taskCount?.toString() : undefined;
|
|
390
|
-
if (message.releaseList) {
|
|
391
|
-
obj.releaseList = message.releaseList.map(e => e ? release_1.Release.toAmino(e) : undefined);
|
|
392
|
-
}
|
|
393
|
-
else {
|
|
394
|
-
obj.releaseList = message.releaseList;
|
|
395
|
-
}
|
|
396
|
-
obj.releaseCount = message.releaseCount !== BigInt(0) ? message.releaseCount?.toString() : undefined;
|
|
397
|
-
if (message.pullRequestList) {
|
|
398
|
-
obj.pullRequestList = message.pullRequestList.map(e => e ? pullRequest_1.PullRequest.toAmino(e) : undefined);
|
|
399
|
-
}
|
|
400
|
-
else {
|
|
401
|
-
obj.pullRequestList = message.pullRequestList;
|
|
402
|
-
}
|
|
403
|
-
obj.pullRequestCount = message.pullRequestCount !== BigInt(0) ? message.pullRequestCount?.toString() : undefined;
|
|
404
|
-
if (message.daoList) {
|
|
405
|
-
obj.daoList = message.daoList.map(e => e ? dao_1.Dao.toAmino(e) : undefined);
|
|
406
|
-
}
|
|
407
|
-
else {
|
|
408
|
-
obj.daoList = message.daoList;
|
|
409
|
-
}
|
|
410
|
-
obj.daoCount = message.daoCount !== BigInt(0) ? message.daoCount?.toString() : undefined;
|
|
411
|
-
if (message.commentList) {
|
|
412
|
-
obj.commentList = message.commentList.map(e => e ? comment_1.Comment.toAmino(e) : undefined);
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
obj.commentList = message.commentList;
|
|
416
|
-
}
|
|
417
|
-
obj.commentCount = message.commentCount !== BigInt(0) ? message.commentCount?.toString() : undefined;
|
|
418
|
-
if (message.issueList) {
|
|
419
|
-
obj.issueList = message.issueList.map(e => e ? issue_1.Issue.toAmino(e) : undefined);
|
|
420
|
-
}
|
|
421
|
-
else {
|
|
422
|
-
obj.issueList = message.issueList;
|
|
423
|
-
}
|
|
424
|
-
obj.issueCount = message.issueCount !== BigInt(0) ? message.issueCount?.toString() : undefined;
|
|
425
|
-
if (message.repositoryList) {
|
|
426
|
-
obj.repositoryList = message.repositoryList.map(e => e ? repository_1.Repository.toAmino(e) : undefined);
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
obj.repositoryList = message.repositoryList;
|
|
430
|
-
}
|
|
431
|
-
obj.repositoryCount = message.repositoryCount !== BigInt(0) ? message.repositoryCount?.toString() : undefined;
|
|
432
|
-
if (message.userList) {
|
|
433
|
-
obj.userList = message.userList.map(e => e ? user_1.User.toAmino(e) : undefined);
|
|
434
|
-
}
|
|
435
|
-
else {
|
|
436
|
-
obj.userList = message.userList;
|
|
437
|
-
}
|
|
438
|
-
obj.userCount = message.userCount !== BigInt(0) ? message.userCount?.toString() : undefined;
|
|
439
|
-
if (message.whoisList) {
|
|
440
|
-
obj.whoisList = message.whoisList.map(e => e ? whois_1.Whois.toAmino(e) : undefined);
|
|
441
|
-
}
|
|
442
|
-
else {
|
|
443
|
-
obj.whoisList = message.whoisList;
|
|
444
|
-
}
|
|
445
|
-
obj.whoisCount = message.whoisCount !== BigInt(0) ? message.whoisCount?.toString() : undefined;
|
|
446
|
-
return obj;
|
|
447
|
-
},
|
|
448
|
-
fromAminoMsg(object) {
|
|
449
|
-
return exports.GenesisState.fromAmino(object.value);
|
|
450
|
-
},
|
|
451
|
-
fromProtoMsg(message) {
|
|
452
|
-
return exports.GenesisState.decode(message.value);
|
|
453
|
-
},
|
|
454
|
-
toProto(message) {
|
|
455
|
-
return exports.GenesisState.encode(message).finish();
|
|
456
|
-
},
|
|
457
|
-
toProtoMsg(message) {
|
|
458
|
-
return {
|
|
459
|
-
typeUrl: "/gitopia.gitopia.gitopia.GenesisState",
|
|
460
|
-
value: exports.GenesisState.encode(message).finish()
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { PullRequestIid, PullRequestIidAmino, PullRequestIidSDKType } from "./repository";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
export declare enum Issue_State {
|
|
4
|
-
OPEN = 0,
|
|
5
|
-
CLOSED = 1,
|
|
6
|
-
UNRECOGNIZED = -1
|
|
7
|
-
}
|
|
8
|
-
export declare const Issue_StateSDKType: typeof Issue_State;
|
|
9
|
-
export declare const Issue_StateAmino: typeof Issue_State;
|
|
10
|
-
export declare function issue_StateFromJSON(object: any): Issue_State;
|
|
11
|
-
export declare function issue_StateToJSON(object: Issue_State): string;
|
|
12
|
-
export interface Issue {
|
|
13
|
-
creator: string;
|
|
14
|
-
id: bigint;
|
|
15
|
-
iid: bigint;
|
|
16
|
-
title: string;
|
|
17
|
-
state: Issue_State;
|
|
18
|
-
description: string;
|
|
19
|
-
commentsCount: bigint;
|
|
20
|
-
pullRequests: PullRequestIid[];
|
|
21
|
-
repositoryId: bigint;
|
|
22
|
-
labels: bigint[];
|
|
23
|
-
weight: bigint;
|
|
24
|
-
assignees: string[];
|
|
25
|
-
bounties: bigint[];
|
|
26
|
-
createdAt: bigint;
|
|
27
|
-
updatedAt: bigint;
|
|
28
|
-
closedAt: bigint;
|
|
29
|
-
closedBy: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IssueProtoMsg {
|
|
32
|
-
typeUrl: "/gitopia.gitopia.gitopia.Issue";
|
|
33
|
-
value: Uint8Array;
|
|
34
|
-
}
|
|
35
|
-
export interface IssueAmino {
|
|
36
|
-
creator?: string;
|
|
37
|
-
id?: string;
|
|
38
|
-
iid?: string;
|
|
39
|
-
title?: string;
|
|
40
|
-
state?: Issue_State;
|
|
41
|
-
description?: string;
|
|
42
|
-
commentsCount?: string;
|
|
43
|
-
pullRequests?: PullRequestIidAmino[];
|
|
44
|
-
repositoryId?: string;
|
|
45
|
-
labels?: string[];
|
|
46
|
-
weight?: string;
|
|
47
|
-
assignees?: string[];
|
|
48
|
-
bounties?: string[];
|
|
49
|
-
createdAt?: string;
|
|
50
|
-
updatedAt?: string;
|
|
51
|
-
closedAt?: string;
|
|
52
|
-
closedBy?: string;
|
|
53
|
-
}
|
|
54
|
-
export interface IssueAminoMsg {
|
|
55
|
-
type: "/gitopia.gitopia.gitopia.Issue";
|
|
56
|
-
value: IssueAmino;
|
|
57
|
-
}
|
|
58
|
-
export interface IssueSDKType {
|
|
59
|
-
creator: string;
|
|
60
|
-
id: bigint;
|
|
61
|
-
iid: bigint;
|
|
62
|
-
title: string;
|
|
63
|
-
state: Issue_State;
|
|
64
|
-
description: string;
|
|
65
|
-
commentsCount: bigint;
|
|
66
|
-
pullRequests: PullRequestIidSDKType[];
|
|
67
|
-
repositoryId: bigint;
|
|
68
|
-
labels: bigint[];
|
|
69
|
-
weight: bigint;
|
|
70
|
-
assignees: string[];
|
|
71
|
-
bounties: bigint[];
|
|
72
|
-
createdAt: bigint;
|
|
73
|
-
updatedAt: bigint;
|
|
74
|
-
closedAt: bigint;
|
|
75
|
-
closedBy: string;
|
|
76
|
-
}
|
|
77
|
-
export declare const Issue: {
|
|
78
|
-
typeUrl: string;
|
|
79
|
-
encode(message: Issue, writer?: BinaryWriter): BinaryWriter;
|
|
80
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Issue;
|
|
81
|
-
fromPartial(object: Partial<Issue>): Issue;
|
|
82
|
-
fromAmino(object: IssueAmino): Issue;
|
|
83
|
-
toAmino(message: Issue): IssueAmino;
|
|
84
|
-
fromAminoMsg(object: IssueAminoMsg): Issue;
|
|
85
|
-
fromProtoMsg(message: IssueProtoMsg): Issue;
|
|
86
|
-
toProto(message: Issue): Uint8Array;
|
|
87
|
-
toProtoMsg(message: Issue): IssueProtoMsg;
|
|
88
|
-
};
|