@gitopia/gitopiajs 0.0.4 → 0.0.6
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 +131 -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 +146 -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 +49 -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 +11 -8
- package/CHANGELOG.md +0 -8
|
@@ -0,0 +1,143 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,463 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
};
|