@gitopia/gitopiajs 0.0.2
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/CHANGELOG.md +8 -0
- package/dist/LICENSE +21 -0
- package/dist/amino/amino.d.ts +1 -0
- package/dist/amino/amino.js +2 -0
- package/dist/amino/bundle.d.ts +1 -0
- package/dist/amino/bundle.js +41 -0
- package/dist/binary.d.ts +130 -0
- package/dist/binary.js +371 -0
- package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
- package/dist/cosmos/bank/v1beta1/bank.js +664 -0
- package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
- package/dist/cosmos/bank/v1beta1/query.js +1759 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
- package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
- package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
- package/dist/cosmos/base/v1beta1/coin.js +306 -0
- package/dist/cosmos/bundle.d.ts +2311 -0
- package/dist/cosmos/bundle.js +134 -0
- package/dist/cosmos/client.d.ts +84 -0
- package/dist/cosmos/client.js +65 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
- package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
- package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
- package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
- package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
- package/dist/cosmos/gov/v1beta1/query.js +1264 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
- package/dist/cosmos/group/v1/query.d.ts +1097 -0
- package/dist/cosmos/group/v1/query.js +2182 -0
- package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
- package/dist/cosmos/group/v1/query.lcd.js +158 -0
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
- package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
- package/dist/cosmos/group/v1/tx.amino.js +77 -0
- package/dist/cosmos/group/v1/tx.d.ts +1198 -0
- package/dist/cosmos/group/v1/tx.js +2362 -0
- package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/dist/cosmos/group/v1/tx.registry.js +271 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
- package/dist/cosmos/group/v1/types.d.ts +873 -0
- package/dist/cosmos/group/v1/types.js +1495 -0
- package/dist/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos/query/v1/query.d.ts +1 -0
- package/dist/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos/rpc.query.d.ts +59 -0
- package/dist/cosmos/rpc.query.js +60 -0
- package/dist/cosmos/rpc.tx.d.ts +10 -0
- package/dist/cosmos/rpc.tx.js +44 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
- package/dist/cosmos_proto/bundle.d.ts +32 -0
- package/dist/cosmos_proto/bundle.js +41 -0
- package/dist/cosmos_proto/cosmos.d.ts +171 -0
- package/dist/cosmos_proto/cosmos.js +221 -0
- package/dist/esm/amino/amino.js +1 -0
- package/dist/esm/amino/bundle.js +5 -0
- package/dist/esm/binary.js +366 -0
- package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
- package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
- package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
- package/dist/esm/cosmos/bundle.js +98 -0
- package/dist/esm/cosmos/client.js +27 -0
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
- package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
- package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
- package/dist/esm/cosmos/group/v1/query.js +2179 -0
- package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
- package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
- package/dist/esm/cosmos/group/v1/tx.js +2354 -0
- package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
- package/dist/esm/cosmos/group/v1/types.js +1483 -0
- package/dist/esm/cosmos/msg/v1/msg.js +1 -0
- package/dist/esm/cosmos/query/v1/query.js +1 -0
- package/dist/esm/cosmos/rpc.query.js +23 -0
- package/dist/esm/cosmos/rpc.tx.js +7 -0
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
- package/dist/esm/cosmos_proto/bundle.js +5 -0
- package/dist/esm/cosmos_proto/cosmos.js +216 -0
- package/dist/esm/gitopia/bundle.js +95 -0
- package/dist/esm/gitopia/client.js +32 -0
- package/dist/esm/gitopia/custom-lcd-client.js +50 -0
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
- package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
- package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
- package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
- package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
- package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
- package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
- package/dist/esm/gitopia/rpc.query.js +29 -0
- package/dist/esm/gitopia/rpc.tx.js +13 -0
- package/dist/esm/gogoproto/bundle.js +5 -0
- package/dist/esm/gogoproto/gogo.js +1 -0
- package/dist/esm/google/api/annotations.js +1 -0
- package/dist/esm/google/api/http.js +329 -0
- package/dist/esm/google/bundle.js +14 -0
- package/dist/esm/google/protobuf/any.js +74 -0
- package/dist/esm/google/protobuf/descriptor.js +4848 -0
- package/dist/esm/google/protobuf/duration.js +71 -0
- package/dist/esm/google/protobuf/timestamp.js +68 -0
- package/dist/esm/helpers.js +129 -0
- package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
- package/dist/esm/ibc/bundle.js +44 -0
- package/dist/esm/ibc/client.js +29 -0
- package/dist/esm/ibc/core/client/v1/client.js +611 -0
- package/dist/esm/ibc/rpc.query.js +30 -0
- package/dist/esm/ibc/rpc.tx.js +14 -0
- package/dist/esm/index.js +19 -0
- package/dist/esm/utf8.js +137 -0
- package/dist/esm/varint.js +408 -0
- package/dist/gitopia/bundle.d.ts +6123 -0
- package/dist/gitopia/bundle.js +131 -0
- package/dist/gitopia/client.d.ts +492 -0
- package/dist/gitopia/client.js +70 -0
- package/dist/gitopia/custom-lcd-client.d.ts +31 -0
- package/dist/gitopia/custom-lcd-client.js +87 -0
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
- package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
- package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
- package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
- package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
- package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
- package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
- package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
- package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
- package/dist/gitopia/gitopia/gitopia/params.js +296 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
- package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
- package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
- package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
- package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
- package/dist/gitopia/gitopia/gitopia/release.js +228 -0
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
- package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
- package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
- package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
- package/dist/gitopia/gitopia/gitopia/task.js +204 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
- package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
- package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
- package/dist/gitopia/gitopia/gitopia/user.js +343 -0
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
- package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
- package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
- package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
- package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
- package/dist/gitopia/gitopia/rewards/params.js +84 -0
- package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
- package/dist/gitopia/gitopia/rewards/pool.js +196 -0
- package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
- package/dist/gitopia/gitopia/rewards/query.js +657 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
- package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
- package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
- package/dist/gitopia/gitopia/rewards/task.js +181 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
- package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
- package/dist/gitopia/gitopia/rewards/tx.js +528 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
- package/dist/gitopia/rpc.query.d.ts +117 -0
- package/dist/gitopia/rpc.query.js +66 -0
- package/dist/gitopia/rpc.tx.d.ts +16 -0
- package/dist/gitopia/rpc.tx.js +50 -0
- package/dist/gogoproto/bundle.d.ts +1 -0
- package/dist/gogoproto/bundle.js +41 -0
- package/dist/gogoproto/gogo.d.ts +1 -0
- package/dist/gogoproto/gogo.js +2 -0
- package/dist/google/api/annotations.d.ts +1 -0
- package/dist/google/api/annotations.js +2 -0
- package/dist/google/api/http.d.ts +1049 -0
- package/dist/google/api/http.js +332 -0
- package/dist/google/bundle.d.ts +525 -0
- package/dist/google/bundle.js +50 -0
- package/dist/google/protobuf/any.d.ts +358 -0
- package/dist/google/protobuf/any.js +77 -0
- package/dist/google/protobuf/descriptor.d.ts +3178 -0
- package/dist/google/protobuf/descriptor.js +4886 -0
- package/dist/google/protobuf/duration.d.ts +223 -0
- package/dist/google/protobuf/duration.js +74 -0
- package/dist/google/protobuf/timestamp.d.ts +314 -0
- package/dist/google/protobuf/timestamp.js +71 -0
- package/dist/helpers.d.ts +82 -0
- package/dist/helpers.js +144 -0
- package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
- package/dist/ibc/applications/transfer/v1/query.js +850 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
- package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
- package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
- package/dist/ibc/applications/transfer/v1/tx.js +229 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
- package/dist/ibc/bundle.d.ts +450 -0
- package/dist/ibc/bundle.js +80 -0
- package/dist/ibc/client.d.ts +22 -0
- package/dist/ibc/client.js +67 -0
- package/dist/ibc/core/client/v1/client.d.ts +408 -0
- package/dist/ibc/core/client/v1/client.js +614 -0
- package/dist/ibc/rpc.query.d.ts +73 -0
- package/dist/ibc/rpc.query.js +67 -0
- package/dist/ibc/rpc.tx.d.ts +17 -0
- package/dist/ibc/rpc.tx.js +51 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +35 -0
- package/dist/package.json +46 -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 +46 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
export interface Tag {
|
|
3
|
+
id: bigint;
|
|
4
|
+
repositoryId: bigint;
|
|
5
|
+
name: string;
|
|
6
|
+
sha: string;
|
|
7
|
+
createdAt: bigint;
|
|
8
|
+
updatedAt: bigint;
|
|
9
|
+
}
|
|
10
|
+
export interface TagProtoMsg {
|
|
11
|
+
typeUrl: "/gitopia.gitopia.gitopia.Tag";
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
export interface TagAmino {
|
|
15
|
+
id?: string;
|
|
16
|
+
repositoryId?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
sha?: string;
|
|
19
|
+
createdAt?: string;
|
|
20
|
+
updatedAt?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface TagAminoMsg {
|
|
23
|
+
type: "/gitopia.gitopia.gitopia.Tag";
|
|
24
|
+
value: TagAmino;
|
|
25
|
+
}
|
|
26
|
+
export interface TagSDKType {
|
|
27
|
+
id: bigint;
|
|
28
|
+
repositoryId: bigint;
|
|
29
|
+
name: string;
|
|
30
|
+
sha: string;
|
|
31
|
+
createdAt: bigint;
|
|
32
|
+
updatedAt: bigint;
|
|
33
|
+
}
|
|
34
|
+
export declare const Tag: {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
encode(message: Tag, writer?: BinaryWriter): BinaryWriter;
|
|
37
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Tag;
|
|
38
|
+
fromPartial(object: Partial<Tag>): Tag;
|
|
39
|
+
fromAmino(object: TagAmino): Tag;
|
|
40
|
+
toAmino(message: Tag): TagAmino;
|
|
41
|
+
fromAminoMsg(object: TagAminoMsg): Tag;
|
|
42
|
+
fromProtoMsg(message: TagProtoMsg): Tag;
|
|
43
|
+
toProto(message: Tag): Uint8Array;
|
|
44
|
+
toProtoMsg(message: Tag): TagProtoMsg;
|
|
45
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Tag = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseTag() {
|
|
7
|
+
return {
|
|
8
|
+
id: BigInt(0),
|
|
9
|
+
repositoryId: BigInt(0),
|
|
10
|
+
name: "",
|
|
11
|
+
sha: "",
|
|
12
|
+
createdAt: BigInt(0),
|
|
13
|
+
updatedAt: BigInt(0)
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
exports.Tag = {
|
|
17
|
+
typeUrl: "/gitopia.gitopia.gitopia.Tag",
|
|
18
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
19
|
+
if (message.id !== BigInt(0)) {
|
|
20
|
+
writer.uint32(8).uint64(message.id);
|
|
21
|
+
}
|
|
22
|
+
if (message.repositoryId !== BigInt(0)) {
|
|
23
|
+
writer.uint32(16).uint64(message.repositoryId);
|
|
24
|
+
}
|
|
25
|
+
if (message.name !== "") {
|
|
26
|
+
writer.uint32(26).string(message.name);
|
|
27
|
+
}
|
|
28
|
+
if (message.sha !== "") {
|
|
29
|
+
writer.uint32(34).string(message.sha);
|
|
30
|
+
}
|
|
31
|
+
if (message.createdAt !== BigInt(0)) {
|
|
32
|
+
writer.uint32(40).int64(message.createdAt);
|
|
33
|
+
}
|
|
34
|
+
if (message.updatedAt !== BigInt(0)) {
|
|
35
|
+
writer.uint32(48).int64(message.updatedAt);
|
|
36
|
+
}
|
|
37
|
+
return writer;
|
|
38
|
+
},
|
|
39
|
+
decode(input, length) {
|
|
40
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
41
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
42
|
+
const message = createBaseTag();
|
|
43
|
+
while (reader.pos < end) {
|
|
44
|
+
const tag = reader.uint32();
|
|
45
|
+
switch (tag >>> 3) {
|
|
46
|
+
case 1:
|
|
47
|
+
message.id = reader.uint64();
|
|
48
|
+
break;
|
|
49
|
+
case 2:
|
|
50
|
+
message.repositoryId = reader.uint64();
|
|
51
|
+
break;
|
|
52
|
+
case 3:
|
|
53
|
+
message.name = reader.string();
|
|
54
|
+
break;
|
|
55
|
+
case 4:
|
|
56
|
+
message.sha = reader.string();
|
|
57
|
+
break;
|
|
58
|
+
case 5:
|
|
59
|
+
message.createdAt = reader.int64();
|
|
60
|
+
break;
|
|
61
|
+
case 6:
|
|
62
|
+
message.updatedAt = reader.int64();
|
|
63
|
+
break;
|
|
64
|
+
default:
|
|
65
|
+
reader.skipType(tag & 7);
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return message;
|
|
70
|
+
},
|
|
71
|
+
fromPartial(object) {
|
|
72
|
+
const message = createBaseTag();
|
|
73
|
+
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
74
|
+
message.repositoryId = object.repositoryId !== undefined && object.repositoryId !== null ? BigInt(object.repositoryId.toString()) : BigInt(0);
|
|
75
|
+
message.name = object.name ?? "";
|
|
76
|
+
message.sha = object.sha ?? "";
|
|
77
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
78
|
+
message.updatedAt = object.updatedAt !== undefined && object.updatedAt !== null ? BigInt(object.updatedAt.toString()) : BigInt(0);
|
|
79
|
+
return message;
|
|
80
|
+
},
|
|
81
|
+
fromAmino(object) {
|
|
82
|
+
const message = createBaseTag();
|
|
83
|
+
if (object.id !== undefined && object.id !== null) {
|
|
84
|
+
message.id = BigInt(object.id);
|
|
85
|
+
}
|
|
86
|
+
if (object.repositoryId !== undefined && object.repositoryId !== null) {
|
|
87
|
+
message.repositoryId = BigInt(object.repositoryId);
|
|
88
|
+
}
|
|
89
|
+
if (object.name !== undefined && object.name !== null) {
|
|
90
|
+
message.name = object.name;
|
|
91
|
+
}
|
|
92
|
+
if (object.sha !== undefined && object.sha !== null) {
|
|
93
|
+
message.sha = object.sha;
|
|
94
|
+
}
|
|
95
|
+
if (object.createdAt !== undefined && object.createdAt !== null) {
|
|
96
|
+
message.createdAt = BigInt(object.createdAt);
|
|
97
|
+
}
|
|
98
|
+
if (object.updatedAt !== undefined && object.updatedAt !== null) {
|
|
99
|
+
message.updatedAt = BigInt(object.updatedAt);
|
|
100
|
+
}
|
|
101
|
+
return message;
|
|
102
|
+
},
|
|
103
|
+
toAmino(message) {
|
|
104
|
+
const obj = {};
|
|
105
|
+
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
106
|
+
obj.repositoryId = message.repositoryId !== BigInt(0) ? message.repositoryId?.toString() : undefined;
|
|
107
|
+
obj.name = message.name === "" ? undefined : message.name;
|
|
108
|
+
obj.sha = message.sha === "" ? undefined : message.sha;
|
|
109
|
+
obj.createdAt = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
110
|
+
obj.updatedAt = message.updatedAt !== BigInt(0) ? message.updatedAt?.toString() : undefined;
|
|
111
|
+
return obj;
|
|
112
|
+
},
|
|
113
|
+
fromAminoMsg(object) {
|
|
114
|
+
return exports.Tag.fromAmino(object.value);
|
|
115
|
+
},
|
|
116
|
+
fromProtoMsg(message) {
|
|
117
|
+
return exports.Tag.decode(message.value);
|
|
118
|
+
},
|
|
119
|
+
toProto(message) {
|
|
120
|
+
return exports.Tag.encode(message).finish();
|
|
121
|
+
},
|
|
122
|
+
toProtoMsg(message) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/gitopia.gitopia.gitopia.Tag",
|
|
125
|
+
value: exports.Tag.encode(message).finish()
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
export declare enum TaskType {
|
|
3
|
+
TASK_TYPE_FORK_REPOSITORY = 0,
|
|
4
|
+
TASK_TYPE_SET_PULL_REQUEST_STATE = 1,
|
|
5
|
+
UNRECOGNIZED = -1
|
|
6
|
+
}
|
|
7
|
+
export declare const TaskTypeSDKType: typeof TaskType;
|
|
8
|
+
export declare const TaskTypeAmino: typeof TaskType;
|
|
9
|
+
export declare function taskTypeFromJSON(object: any): TaskType;
|
|
10
|
+
export declare function taskTypeToJSON(object: TaskType): string;
|
|
11
|
+
export declare enum TaskState {
|
|
12
|
+
TASK_STATE_PENDING = 0,
|
|
13
|
+
TASK_STATE_SUCCESS = 1,
|
|
14
|
+
TASK_STATE_FAILURE = 2,
|
|
15
|
+
UNRECOGNIZED = -1
|
|
16
|
+
}
|
|
17
|
+
export declare const TaskStateSDKType: typeof TaskState;
|
|
18
|
+
export declare const TaskStateAmino: typeof TaskState;
|
|
19
|
+
export declare function taskStateFromJSON(object: any): TaskState;
|
|
20
|
+
export declare function taskStateToJSON(object: TaskState): string;
|
|
21
|
+
export interface Task {
|
|
22
|
+
id: bigint;
|
|
23
|
+
type: TaskType;
|
|
24
|
+
state: TaskState;
|
|
25
|
+
message: string;
|
|
26
|
+
creator: string;
|
|
27
|
+
provider: string;
|
|
28
|
+
}
|
|
29
|
+
export interface TaskProtoMsg {
|
|
30
|
+
typeUrl: "/gitopia.gitopia.gitopia.Task";
|
|
31
|
+
value: Uint8Array;
|
|
32
|
+
}
|
|
33
|
+
export interface TaskAmino {
|
|
34
|
+
id?: string;
|
|
35
|
+
type?: TaskType;
|
|
36
|
+
state?: TaskState;
|
|
37
|
+
message?: string;
|
|
38
|
+
creator?: string;
|
|
39
|
+
provider?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TaskAminoMsg {
|
|
42
|
+
type: "/gitopia.gitopia.gitopia.Task";
|
|
43
|
+
value: TaskAmino;
|
|
44
|
+
}
|
|
45
|
+
export interface TaskSDKType {
|
|
46
|
+
id: bigint;
|
|
47
|
+
type: TaskType;
|
|
48
|
+
state: TaskState;
|
|
49
|
+
message: string;
|
|
50
|
+
creator: string;
|
|
51
|
+
provider: string;
|
|
52
|
+
}
|
|
53
|
+
export declare const Task: {
|
|
54
|
+
typeUrl: string;
|
|
55
|
+
encode(message: Task, writer?: BinaryWriter): BinaryWriter;
|
|
56
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Task;
|
|
57
|
+
fromPartial(object: Partial<Task>): Task;
|
|
58
|
+
fromAmino(object: TaskAmino): Task;
|
|
59
|
+
toAmino(message: Task): TaskAmino;
|
|
60
|
+
fromAminoMsg(object: TaskAminoMsg): Task;
|
|
61
|
+
fromProtoMsg(message: TaskProtoMsg): Task;
|
|
62
|
+
toProto(message: Task): Uint8Array;
|
|
63
|
+
toProtoMsg(message: Task): TaskProtoMsg;
|
|
64
|
+
};
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Task = exports.TaskStateAmino = exports.TaskStateSDKType = exports.TaskState = exports.TaskTypeAmino = exports.TaskTypeSDKType = exports.TaskType = void 0;
|
|
4
|
+
exports.taskTypeFromJSON = taskTypeFromJSON;
|
|
5
|
+
exports.taskTypeToJSON = taskTypeToJSON;
|
|
6
|
+
exports.taskStateFromJSON = taskStateFromJSON;
|
|
7
|
+
exports.taskStateToJSON = taskStateToJSON;
|
|
8
|
+
//@ts-nocheck
|
|
9
|
+
const binary_1 = require("../../../binary");
|
|
10
|
+
var TaskType;
|
|
11
|
+
(function (TaskType) {
|
|
12
|
+
TaskType[TaskType["TASK_TYPE_FORK_REPOSITORY"] = 0] = "TASK_TYPE_FORK_REPOSITORY";
|
|
13
|
+
TaskType[TaskType["TASK_TYPE_SET_PULL_REQUEST_STATE"] = 1] = "TASK_TYPE_SET_PULL_REQUEST_STATE";
|
|
14
|
+
TaskType[TaskType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
15
|
+
})(TaskType || (exports.TaskType = TaskType = {}));
|
|
16
|
+
exports.TaskTypeSDKType = TaskType;
|
|
17
|
+
exports.TaskTypeAmino = TaskType;
|
|
18
|
+
function taskTypeFromJSON(object) {
|
|
19
|
+
switch (object) {
|
|
20
|
+
case 0:
|
|
21
|
+
case "TASK_TYPE_FORK_REPOSITORY":
|
|
22
|
+
return TaskType.TASK_TYPE_FORK_REPOSITORY;
|
|
23
|
+
case 1:
|
|
24
|
+
case "TASK_TYPE_SET_PULL_REQUEST_STATE":
|
|
25
|
+
return TaskType.TASK_TYPE_SET_PULL_REQUEST_STATE;
|
|
26
|
+
case -1:
|
|
27
|
+
case "UNRECOGNIZED":
|
|
28
|
+
default:
|
|
29
|
+
return TaskType.UNRECOGNIZED;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function taskTypeToJSON(object) {
|
|
33
|
+
switch (object) {
|
|
34
|
+
case TaskType.TASK_TYPE_FORK_REPOSITORY:
|
|
35
|
+
return "TASK_TYPE_FORK_REPOSITORY";
|
|
36
|
+
case TaskType.TASK_TYPE_SET_PULL_REQUEST_STATE:
|
|
37
|
+
return "TASK_TYPE_SET_PULL_REQUEST_STATE";
|
|
38
|
+
case TaskType.UNRECOGNIZED:
|
|
39
|
+
default:
|
|
40
|
+
return "UNRECOGNIZED";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
var TaskState;
|
|
44
|
+
(function (TaskState) {
|
|
45
|
+
TaskState[TaskState["TASK_STATE_PENDING"] = 0] = "TASK_STATE_PENDING";
|
|
46
|
+
TaskState[TaskState["TASK_STATE_SUCCESS"] = 1] = "TASK_STATE_SUCCESS";
|
|
47
|
+
TaskState[TaskState["TASK_STATE_FAILURE"] = 2] = "TASK_STATE_FAILURE";
|
|
48
|
+
TaskState[TaskState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
49
|
+
})(TaskState || (exports.TaskState = TaskState = {}));
|
|
50
|
+
exports.TaskStateSDKType = TaskState;
|
|
51
|
+
exports.TaskStateAmino = TaskState;
|
|
52
|
+
function taskStateFromJSON(object) {
|
|
53
|
+
switch (object) {
|
|
54
|
+
case 0:
|
|
55
|
+
case "TASK_STATE_PENDING":
|
|
56
|
+
return TaskState.TASK_STATE_PENDING;
|
|
57
|
+
case 1:
|
|
58
|
+
case "TASK_STATE_SUCCESS":
|
|
59
|
+
return TaskState.TASK_STATE_SUCCESS;
|
|
60
|
+
case 2:
|
|
61
|
+
case "TASK_STATE_FAILURE":
|
|
62
|
+
return TaskState.TASK_STATE_FAILURE;
|
|
63
|
+
case -1:
|
|
64
|
+
case "UNRECOGNIZED":
|
|
65
|
+
default:
|
|
66
|
+
return TaskState.UNRECOGNIZED;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function taskStateToJSON(object) {
|
|
70
|
+
switch (object) {
|
|
71
|
+
case TaskState.TASK_STATE_PENDING:
|
|
72
|
+
return "TASK_STATE_PENDING";
|
|
73
|
+
case TaskState.TASK_STATE_SUCCESS:
|
|
74
|
+
return "TASK_STATE_SUCCESS";
|
|
75
|
+
case TaskState.TASK_STATE_FAILURE:
|
|
76
|
+
return "TASK_STATE_FAILURE";
|
|
77
|
+
case TaskState.UNRECOGNIZED:
|
|
78
|
+
default:
|
|
79
|
+
return "UNRECOGNIZED";
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function createBaseTask() {
|
|
83
|
+
return {
|
|
84
|
+
id: BigInt(0),
|
|
85
|
+
type: 0,
|
|
86
|
+
state: 0,
|
|
87
|
+
message: "",
|
|
88
|
+
creator: "",
|
|
89
|
+
provider: ""
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
exports.Task = {
|
|
93
|
+
typeUrl: "/gitopia.gitopia.gitopia.Task",
|
|
94
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
95
|
+
if (message.id !== BigInt(0)) {
|
|
96
|
+
writer.uint32(8).uint64(message.id);
|
|
97
|
+
}
|
|
98
|
+
if (message.type !== 0) {
|
|
99
|
+
writer.uint32(16).int32(message.type);
|
|
100
|
+
}
|
|
101
|
+
if (message.state !== 0) {
|
|
102
|
+
writer.uint32(24).int32(message.state);
|
|
103
|
+
}
|
|
104
|
+
if (message.message !== "") {
|
|
105
|
+
writer.uint32(34).string(message.message);
|
|
106
|
+
}
|
|
107
|
+
if (message.creator !== "") {
|
|
108
|
+
writer.uint32(42).string(message.creator);
|
|
109
|
+
}
|
|
110
|
+
if (message.provider !== "") {
|
|
111
|
+
writer.uint32(50).string(message.provider);
|
|
112
|
+
}
|
|
113
|
+
return writer;
|
|
114
|
+
},
|
|
115
|
+
decode(input, length) {
|
|
116
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
117
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
118
|
+
const message = createBaseTask();
|
|
119
|
+
while (reader.pos < end) {
|
|
120
|
+
const tag = reader.uint32();
|
|
121
|
+
switch (tag >>> 3) {
|
|
122
|
+
case 1:
|
|
123
|
+
message.id = reader.uint64();
|
|
124
|
+
break;
|
|
125
|
+
case 2:
|
|
126
|
+
message.type = reader.int32();
|
|
127
|
+
break;
|
|
128
|
+
case 3:
|
|
129
|
+
message.state = reader.int32();
|
|
130
|
+
break;
|
|
131
|
+
case 4:
|
|
132
|
+
message.message = reader.string();
|
|
133
|
+
break;
|
|
134
|
+
case 5:
|
|
135
|
+
message.creator = reader.string();
|
|
136
|
+
break;
|
|
137
|
+
case 6:
|
|
138
|
+
message.provider = reader.string();
|
|
139
|
+
break;
|
|
140
|
+
default:
|
|
141
|
+
reader.skipType(tag & 7);
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
return message;
|
|
146
|
+
},
|
|
147
|
+
fromPartial(object) {
|
|
148
|
+
const message = createBaseTask();
|
|
149
|
+
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
150
|
+
message.type = object.type ?? 0;
|
|
151
|
+
message.state = object.state ?? 0;
|
|
152
|
+
message.message = object.message ?? "";
|
|
153
|
+
message.creator = object.creator ?? "";
|
|
154
|
+
message.provider = object.provider ?? "";
|
|
155
|
+
return message;
|
|
156
|
+
},
|
|
157
|
+
fromAmino(object) {
|
|
158
|
+
const message = createBaseTask();
|
|
159
|
+
if (object.id !== undefined && object.id !== null) {
|
|
160
|
+
message.id = BigInt(object.id);
|
|
161
|
+
}
|
|
162
|
+
if (object.type !== undefined && object.type !== null) {
|
|
163
|
+
message.type = object.type;
|
|
164
|
+
}
|
|
165
|
+
if (object.state !== undefined && object.state !== null) {
|
|
166
|
+
message.state = object.state;
|
|
167
|
+
}
|
|
168
|
+
if (object.message !== undefined && object.message !== null) {
|
|
169
|
+
message.message = object.message;
|
|
170
|
+
}
|
|
171
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
172
|
+
message.creator = object.creator;
|
|
173
|
+
}
|
|
174
|
+
if (object.provider !== undefined && object.provider !== null) {
|
|
175
|
+
message.provider = object.provider;
|
|
176
|
+
}
|
|
177
|
+
return message;
|
|
178
|
+
},
|
|
179
|
+
toAmino(message) {
|
|
180
|
+
const obj = {};
|
|
181
|
+
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
182
|
+
obj.type = message.type === 0 ? undefined : message.type;
|
|
183
|
+
obj.state = message.state === 0 ? undefined : message.state;
|
|
184
|
+
obj.message = message.message === "" ? undefined : message.message;
|
|
185
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
186
|
+
obj.provider = message.provider === "" ? undefined : message.provider;
|
|
187
|
+
return obj;
|
|
188
|
+
},
|
|
189
|
+
fromAminoMsg(object) {
|
|
190
|
+
return exports.Task.fromAmino(object.value);
|
|
191
|
+
},
|
|
192
|
+
fromProtoMsg(message) {
|
|
193
|
+
return exports.Task.decode(message.value);
|
|
194
|
+
},
|
|
195
|
+
toProto(message) {
|
|
196
|
+
return exports.Task.encode(message).finish();
|
|
197
|
+
},
|
|
198
|
+
toProtoMsg(message) {
|
|
199
|
+
return {
|
|
200
|
+
typeUrl: "/gitopia.gitopia.gitopia.Task",
|
|
201
|
+
value: exports.Task.encode(message).finish()
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
};
|