@gitopia/gitopiajs 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +21 -0
- package/dist/amino/amino.d.ts +1 -0
- package/dist/amino/amino.js +2 -0
- package/dist/amino/bundle.d.ts +1 -0
- package/dist/amino/bundle.js +41 -0
- package/dist/binary.d.ts +130 -0
- package/dist/binary.js +371 -0
- package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
- package/dist/cosmos/bank/v1beta1/bank.js +664 -0
- package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
- package/dist/cosmos/bank/v1beta1/query.js +1759 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
- package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
- package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
- package/dist/cosmos/base/v1beta1/coin.js +306 -0
- package/dist/cosmos/bundle.d.ts +2311 -0
- package/dist/cosmos/bundle.js +134 -0
- package/dist/cosmos/client.d.ts +84 -0
- package/dist/cosmos/client.js +65 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
- package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
- package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
- package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
- package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
- package/dist/cosmos/gov/v1beta1/query.js +1264 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
- package/dist/cosmos/group/v1/query.d.ts +1097 -0
- package/dist/cosmos/group/v1/query.js +2182 -0
- package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
- package/dist/cosmos/group/v1/query.lcd.js +158 -0
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
- package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
- package/dist/cosmos/group/v1/tx.amino.js +77 -0
- package/dist/cosmos/group/v1/tx.d.ts +1198 -0
- package/dist/cosmos/group/v1/tx.js +2362 -0
- package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/dist/cosmos/group/v1/tx.registry.js +271 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
- package/dist/cosmos/group/v1/types.d.ts +873 -0
- package/dist/cosmos/group/v1/types.js +1495 -0
- package/dist/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos/query/v1/query.d.ts +1 -0
- package/dist/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos/rpc.query.d.ts +59 -0
- package/dist/cosmos/rpc.query.js +60 -0
- package/dist/cosmos/rpc.tx.d.ts +10 -0
- package/dist/cosmos/rpc.tx.js +44 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
- package/dist/cosmos_proto/bundle.d.ts +32 -0
- package/dist/cosmos_proto/bundle.js +41 -0
- package/dist/cosmos_proto/cosmos.d.ts +171 -0
- package/dist/cosmos_proto/cosmos.js +221 -0
- package/dist/esm/amino/amino.js +1 -0
- package/dist/esm/amino/bundle.js +5 -0
- package/dist/esm/binary.js +366 -0
- package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
- package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
- package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
- package/dist/esm/cosmos/bundle.js +98 -0
- package/dist/esm/cosmos/client.js +27 -0
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
- package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
- package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
- package/dist/esm/cosmos/group/v1/query.js +2179 -0
- package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
- package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
- package/dist/esm/cosmos/group/v1/tx.js +2354 -0
- package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
- package/dist/esm/cosmos/group/v1/types.js +1483 -0
- package/dist/esm/cosmos/msg/v1/msg.js +1 -0
- package/dist/esm/cosmos/query/v1/query.js +1 -0
- package/dist/esm/cosmos/rpc.query.js +23 -0
- package/dist/esm/cosmos/rpc.tx.js +7 -0
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
- package/dist/esm/cosmos_proto/bundle.js +5 -0
- package/dist/esm/cosmos_proto/cosmos.js +216 -0
- package/dist/esm/gitopia/bundle.js +95 -0
- package/dist/esm/gitopia/client.js +32 -0
- package/dist/esm/gitopia/custom-lcd-client.js +50 -0
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
- package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
- package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
- package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
- package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
- package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
- package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
- package/dist/esm/gitopia/rpc.query.js +29 -0
- package/dist/esm/gitopia/rpc.tx.js +13 -0
- package/dist/esm/gogoproto/bundle.js +5 -0
- package/dist/esm/gogoproto/gogo.js +1 -0
- package/dist/esm/google/api/annotations.js +1 -0
- package/dist/esm/google/api/http.js +329 -0
- package/dist/esm/google/bundle.js +14 -0
- package/dist/esm/google/protobuf/any.js +74 -0
- package/dist/esm/google/protobuf/descriptor.js +4848 -0
- package/dist/esm/google/protobuf/duration.js +71 -0
- package/dist/esm/google/protobuf/timestamp.js +68 -0
- package/dist/esm/helpers.js +129 -0
- package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
- package/dist/esm/ibc/bundle.js +44 -0
- package/dist/esm/ibc/client.js +29 -0
- package/dist/esm/ibc/core/client/v1/client.js +611 -0
- package/dist/esm/ibc/rpc.query.js +30 -0
- package/dist/esm/ibc/rpc.tx.js +14 -0
- package/dist/esm/index.js +19 -0
- package/dist/esm/utf8.js +137 -0
- package/dist/esm/varint.js +408 -0
- package/dist/gitopia/bundle.d.ts +6123 -0
- package/dist/gitopia/bundle.js +131 -0
- package/dist/gitopia/client.d.ts +492 -0
- package/dist/gitopia/client.js +70 -0
- package/dist/gitopia/custom-lcd-client.d.ts +31 -0
- package/dist/gitopia/custom-lcd-client.js +87 -0
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
- package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
- package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
- package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
- package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
- package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
- package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
- package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
- package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
- package/dist/gitopia/gitopia/gitopia/params.js +296 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
- package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
- package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
- package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
- package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
- package/dist/gitopia/gitopia/gitopia/release.js +228 -0
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
- package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
- package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
- package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
- package/dist/gitopia/gitopia/gitopia/task.js +204 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
- package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
- package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
- package/dist/gitopia/gitopia/gitopia/user.js +343 -0
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
- package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
- package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
- package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
- package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
- package/dist/gitopia/gitopia/rewards/params.js +84 -0
- package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
- package/dist/gitopia/gitopia/rewards/pool.js +196 -0
- package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
- package/dist/gitopia/gitopia/rewards/query.js +657 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
- package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
- package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
- package/dist/gitopia/gitopia/rewards/task.js +181 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
- package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
- package/dist/gitopia/gitopia/rewards/tx.js +528 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
- package/dist/gitopia/rpc.query.d.ts +117 -0
- package/dist/gitopia/rpc.query.js +66 -0
- package/dist/gitopia/rpc.tx.d.ts +16 -0
- package/dist/gitopia/rpc.tx.js +50 -0
- package/dist/gogoproto/bundle.d.ts +1 -0
- package/dist/gogoproto/bundle.js +41 -0
- package/dist/gogoproto/gogo.d.ts +1 -0
- package/dist/gogoproto/gogo.js +2 -0
- package/dist/google/api/annotations.d.ts +1 -0
- package/dist/google/api/annotations.js +2 -0
- package/dist/google/api/http.d.ts +1049 -0
- package/dist/google/api/http.js +332 -0
- package/dist/google/bundle.d.ts +525 -0
- package/dist/google/bundle.js +50 -0
- package/dist/google/protobuf/any.d.ts +358 -0
- package/dist/google/protobuf/any.js +77 -0
- package/dist/google/protobuf/descriptor.d.ts +3178 -0
- package/dist/google/protobuf/descriptor.js +4886 -0
- package/dist/google/protobuf/duration.d.ts +223 -0
- package/dist/google/protobuf/duration.js +74 -0
- package/dist/google/protobuf/timestamp.d.ts +314 -0
- package/dist/google/protobuf/timestamp.js +71 -0
- package/dist/helpers.d.ts +82 -0
- package/dist/helpers.js +144 -0
- package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
- package/dist/ibc/applications/transfer/v1/query.js +850 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
- package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
- package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
- package/dist/ibc/applications/transfer/v1/tx.js +229 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
- package/dist/ibc/bundle.d.ts +450 -0
- package/dist/ibc/bundle.js +80 -0
- package/dist/ibc/client.d.ts +22 -0
- package/dist/ibc/client.js +67 -0
- package/dist/ibc/core/client/v1/client.d.ts +408 -0
- package/dist/ibc/core/client/v1/client.js +614 -0
- package/dist/ibc/rpc.query.d.ts +73 -0
- package/dist/ibc/rpc.query.js +67 -0
- package/dist/ibc/rpc.tx.d.ts +17 -0
- package/dist/ibc/rpc.tx.js +51 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +35 -0
- package/dist/package.json +48 -0
- package/dist/utf8.d.ts +27 -0
- package/dist/utf8.js +141 -0
- package/dist/varint.d.ts +105 -0
- package/dist/varint.js +426 -0
- package/package.json +8 -6
- package/CHANGELOG.md +0 -8
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
export interface Branch {
|
|
3
|
+
id: bigint;
|
|
4
|
+
repositoryId: bigint;
|
|
5
|
+
name: string;
|
|
6
|
+
sha: string;
|
|
7
|
+
allowForcePush: boolean;
|
|
8
|
+
createdAt: bigint;
|
|
9
|
+
updatedAt: bigint;
|
|
10
|
+
}
|
|
11
|
+
export interface BranchProtoMsg {
|
|
12
|
+
typeUrl: "/gitopia.gitopia.gitopia.Branch";
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export interface BranchAmino {
|
|
16
|
+
id?: string;
|
|
17
|
+
repositoryId?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
sha?: string;
|
|
20
|
+
allowForcePush?: boolean;
|
|
21
|
+
createdAt?: string;
|
|
22
|
+
updatedAt?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface BranchAminoMsg {
|
|
25
|
+
type: "/gitopia.gitopia.gitopia.Branch";
|
|
26
|
+
value: BranchAmino;
|
|
27
|
+
}
|
|
28
|
+
export interface BranchSDKType {
|
|
29
|
+
id: bigint;
|
|
30
|
+
repositoryId: bigint;
|
|
31
|
+
name: string;
|
|
32
|
+
sha: string;
|
|
33
|
+
allowForcePush: boolean;
|
|
34
|
+
createdAt: bigint;
|
|
35
|
+
updatedAt: bigint;
|
|
36
|
+
}
|
|
37
|
+
export declare const Branch: {
|
|
38
|
+
typeUrl: string;
|
|
39
|
+
encode(message: Branch, writer?: BinaryWriter): BinaryWriter;
|
|
40
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Branch;
|
|
41
|
+
fromPartial(object: Partial<Branch>): Branch;
|
|
42
|
+
fromAmino(object: BranchAmino): Branch;
|
|
43
|
+
toAmino(message: Branch): BranchAmino;
|
|
44
|
+
fromAminoMsg(object: BranchAminoMsg): Branch;
|
|
45
|
+
fromProtoMsg(message: BranchProtoMsg): Branch;
|
|
46
|
+
toProto(message: Branch): Uint8Array;
|
|
47
|
+
toProtoMsg(message: Branch): BranchProtoMsg;
|
|
48
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Branch = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseBranch() {
|
|
7
|
+
return {
|
|
8
|
+
id: BigInt(0),
|
|
9
|
+
repositoryId: BigInt(0),
|
|
10
|
+
name: "",
|
|
11
|
+
sha: "",
|
|
12
|
+
allowForcePush: false,
|
|
13
|
+
createdAt: BigInt(0),
|
|
14
|
+
updatedAt: BigInt(0)
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
exports.Branch = {
|
|
18
|
+
typeUrl: "/gitopia.gitopia.gitopia.Branch",
|
|
19
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
20
|
+
if (message.id !== BigInt(0)) {
|
|
21
|
+
writer.uint32(8).uint64(message.id);
|
|
22
|
+
}
|
|
23
|
+
if (message.repositoryId !== BigInt(0)) {
|
|
24
|
+
writer.uint32(16).uint64(message.repositoryId);
|
|
25
|
+
}
|
|
26
|
+
if (message.name !== "") {
|
|
27
|
+
writer.uint32(26).string(message.name);
|
|
28
|
+
}
|
|
29
|
+
if (message.sha !== "") {
|
|
30
|
+
writer.uint32(34).string(message.sha);
|
|
31
|
+
}
|
|
32
|
+
if (message.allowForcePush === true) {
|
|
33
|
+
writer.uint32(40).bool(message.allowForcePush);
|
|
34
|
+
}
|
|
35
|
+
if (message.createdAt !== BigInt(0)) {
|
|
36
|
+
writer.uint32(48).int64(message.createdAt);
|
|
37
|
+
}
|
|
38
|
+
if (message.updatedAt !== BigInt(0)) {
|
|
39
|
+
writer.uint32(56).int64(message.updatedAt);
|
|
40
|
+
}
|
|
41
|
+
return writer;
|
|
42
|
+
},
|
|
43
|
+
decode(input, length) {
|
|
44
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
45
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
46
|
+
const message = createBaseBranch();
|
|
47
|
+
while (reader.pos < end) {
|
|
48
|
+
const tag = reader.uint32();
|
|
49
|
+
switch (tag >>> 3) {
|
|
50
|
+
case 1:
|
|
51
|
+
message.id = reader.uint64();
|
|
52
|
+
break;
|
|
53
|
+
case 2:
|
|
54
|
+
message.repositoryId = reader.uint64();
|
|
55
|
+
break;
|
|
56
|
+
case 3:
|
|
57
|
+
message.name = reader.string();
|
|
58
|
+
break;
|
|
59
|
+
case 4:
|
|
60
|
+
message.sha = reader.string();
|
|
61
|
+
break;
|
|
62
|
+
case 5:
|
|
63
|
+
message.allowForcePush = reader.bool();
|
|
64
|
+
break;
|
|
65
|
+
case 6:
|
|
66
|
+
message.createdAt = reader.int64();
|
|
67
|
+
break;
|
|
68
|
+
case 7:
|
|
69
|
+
message.updatedAt = reader.int64();
|
|
70
|
+
break;
|
|
71
|
+
default:
|
|
72
|
+
reader.skipType(tag & 7);
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return message;
|
|
77
|
+
},
|
|
78
|
+
fromPartial(object) {
|
|
79
|
+
const message = createBaseBranch();
|
|
80
|
+
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
81
|
+
message.repositoryId = object.repositoryId !== undefined && object.repositoryId !== null ? BigInt(object.repositoryId.toString()) : BigInt(0);
|
|
82
|
+
message.name = object.name ?? "";
|
|
83
|
+
message.sha = object.sha ?? "";
|
|
84
|
+
message.allowForcePush = object.allowForcePush ?? false;
|
|
85
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
86
|
+
message.updatedAt = object.updatedAt !== undefined && object.updatedAt !== null ? BigInt(object.updatedAt.toString()) : BigInt(0);
|
|
87
|
+
return message;
|
|
88
|
+
},
|
|
89
|
+
fromAmino(object) {
|
|
90
|
+
const message = createBaseBranch();
|
|
91
|
+
if (object.id !== undefined && object.id !== null) {
|
|
92
|
+
message.id = BigInt(object.id);
|
|
93
|
+
}
|
|
94
|
+
if (object.repositoryId !== undefined && object.repositoryId !== null) {
|
|
95
|
+
message.repositoryId = BigInt(object.repositoryId);
|
|
96
|
+
}
|
|
97
|
+
if (object.name !== undefined && object.name !== null) {
|
|
98
|
+
message.name = object.name;
|
|
99
|
+
}
|
|
100
|
+
if (object.sha !== undefined && object.sha !== null) {
|
|
101
|
+
message.sha = object.sha;
|
|
102
|
+
}
|
|
103
|
+
if (object.allowForcePush !== undefined && object.allowForcePush !== null) {
|
|
104
|
+
message.allowForcePush = object.allowForcePush;
|
|
105
|
+
}
|
|
106
|
+
if (object.createdAt !== undefined && object.createdAt !== null) {
|
|
107
|
+
message.createdAt = BigInt(object.createdAt);
|
|
108
|
+
}
|
|
109
|
+
if (object.updatedAt !== undefined && object.updatedAt !== null) {
|
|
110
|
+
message.updatedAt = BigInt(object.updatedAt);
|
|
111
|
+
}
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
toAmino(message) {
|
|
115
|
+
const obj = {};
|
|
116
|
+
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
117
|
+
obj.repositoryId = message.repositoryId !== BigInt(0) ? message.repositoryId?.toString() : undefined;
|
|
118
|
+
obj.name = message.name === "" ? undefined : message.name;
|
|
119
|
+
obj.sha = message.sha === "" ? undefined : message.sha;
|
|
120
|
+
obj.allowForcePush = message.allowForcePush === false ? undefined : message.allowForcePush;
|
|
121
|
+
obj.createdAt = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
122
|
+
obj.updatedAt = message.updatedAt !== BigInt(0) ? message.updatedAt?.toString() : undefined;
|
|
123
|
+
return obj;
|
|
124
|
+
},
|
|
125
|
+
fromAminoMsg(object) {
|
|
126
|
+
return exports.Branch.fromAmino(object.value);
|
|
127
|
+
},
|
|
128
|
+
fromProtoMsg(message) {
|
|
129
|
+
return exports.Branch.decode(message.value);
|
|
130
|
+
},
|
|
131
|
+
toProto(message) {
|
|
132
|
+
return exports.Branch.encode(message).finish();
|
|
133
|
+
},
|
|
134
|
+
toProtoMsg(message) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/gitopia.gitopia.gitopia.Branch",
|
|
137
|
+
value: exports.Branch.encode(message).finish()
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Attachment, AttachmentAmino, AttachmentSDKType } from "./attachment";
|
|
2
|
+
import { Reaction, ReactionAmino, ReactionSDKType } from "./reaction";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
export declare enum CommentType {
|
|
5
|
+
COMMENT_TYPE_NONE = 0,
|
|
6
|
+
COMMENT_TYPE_REPLY = 1,
|
|
7
|
+
COMMENT_TYPE_ADD_LABELS = 2,
|
|
8
|
+
COMMENT_TYPE_REMOVE_LABELS = 3,
|
|
9
|
+
COMMENT_TYPE_ADD_ASSIGNEES = 4,
|
|
10
|
+
COMMENT_TYPE_REMOVE_ASSIGNEES = 5,
|
|
11
|
+
COMMENT_TYPE_ADD_REVIEWERS = 6,
|
|
12
|
+
COMMENT_TYPE_REMOVE_REVIEWERS = 7,
|
|
13
|
+
COMMENT_TYPE_MODIFIED_TITLE = 8,
|
|
14
|
+
COMMENT_TYPE_MODIFIED_DESCRIPTION = 9,
|
|
15
|
+
COMMENT_TYPE_ISSUE_CLOSED = 10,
|
|
16
|
+
COMMENT_TYPE_ISSUE_OPENED = 11,
|
|
17
|
+
COMMENT_TYPE_PULL_REQUEST_CLOSED = 12,
|
|
18
|
+
COMMENT_TYPE_PULL_REQUEST_OPENED = 13,
|
|
19
|
+
COMMENT_TYPE_PULL_REQUEST_MERGED = 14,
|
|
20
|
+
COMMENT_TYPE_REVIEW = 15,
|
|
21
|
+
COMMENT_TYPE_ADD_BOUNTY = 16,
|
|
22
|
+
COMMENT_TYPE_MODIFIED_BOUNTY = 17,
|
|
23
|
+
COMMENT_TYPE_CLOSED_BOUNTY = 18,
|
|
24
|
+
UNRECOGNIZED = -1
|
|
25
|
+
}
|
|
26
|
+
export declare const CommentTypeSDKType: typeof CommentType;
|
|
27
|
+
export declare const CommentTypeAmino: typeof CommentType;
|
|
28
|
+
export declare function commentTypeFromJSON(object: any): CommentType;
|
|
29
|
+
export declare function commentTypeToJSON(object: CommentType): string;
|
|
30
|
+
export declare enum CommentParent {
|
|
31
|
+
COMMENT_PARENT_NONE = 0,
|
|
32
|
+
COMMENT_PARENT_ISSUE = 1,
|
|
33
|
+
COMMENT_PARENT_PULL_REQUEST = 2,
|
|
34
|
+
UNRECOGNIZED = -1
|
|
35
|
+
}
|
|
36
|
+
export declare const CommentParentSDKType: typeof CommentParent;
|
|
37
|
+
export declare const CommentParentAmino: typeof CommentParent;
|
|
38
|
+
export declare function commentParentFromJSON(object: any): CommentParent;
|
|
39
|
+
export declare function commentParentToJSON(object: CommentParent): string;
|
|
40
|
+
export interface Comment {
|
|
41
|
+
creator: string;
|
|
42
|
+
id: bigint;
|
|
43
|
+
repositoryId: bigint;
|
|
44
|
+
parentIid: bigint;
|
|
45
|
+
parent: CommentParent;
|
|
46
|
+
commentIid: bigint;
|
|
47
|
+
body: string;
|
|
48
|
+
attachments: Attachment[];
|
|
49
|
+
diffHunk: string;
|
|
50
|
+
path: string;
|
|
51
|
+
position: bigint;
|
|
52
|
+
system: boolean;
|
|
53
|
+
authorAssociation: string;
|
|
54
|
+
createdAt: bigint;
|
|
55
|
+
updatedAt: bigint;
|
|
56
|
+
commentType: CommentType;
|
|
57
|
+
resolved: boolean;
|
|
58
|
+
replies: bigint[];
|
|
59
|
+
reactions: Reaction[];
|
|
60
|
+
hidden: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface CommentProtoMsg {
|
|
63
|
+
typeUrl: "/gitopia.gitopia.gitopia.Comment";
|
|
64
|
+
value: Uint8Array;
|
|
65
|
+
}
|
|
66
|
+
export interface CommentAmino {
|
|
67
|
+
creator?: string;
|
|
68
|
+
id?: string;
|
|
69
|
+
repositoryId?: string;
|
|
70
|
+
parentIid?: string;
|
|
71
|
+
parent?: CommentParent;
|
|
72
|
+
commentIid?: string;
|
|
73
|
+
body?: string;
|
|
74
|
+
attachments?: AttachmentAmino[];
|
|
75
|
+
diffHunk?: string;
|
|
76
|
+
path?: string;
|
|
77
|
+
position?: string;
|
|
78
|
+
system?: boolean;
|
|
79
|
+
authorAssociation?: string;
|
|
80
|
+
createdAt?: string;
|
|
81
|
+
updatedAt?: string;
|
|
82
|
+
commentType?: CommentType;
|
|
83
|
+
resolved?: boolean;
|
|
84
|
+
replies?: string[];
|
|
85
|
+
reactions?: ReactionAmino[];
|
|
86
|
+
hidden?: boolean;
|
|
87
|
+
}
|
|
88
|
+
export interface CommentAminoMsg {
|
|
89
|
+
type: "/gitopia.gitopia.gitopia.Comment";
|
|
90
|
+
value: CommentAmino;
|
|
91
|
+
}
|
|
92
|
+
export interface CommentSDKType {
|
|
93
|
+
creator: string;
|
|
94
|
+
id: bigint;
|
|
95
|
+
repositoryId: bigint;
|
|
96
|
+
parentIid: bigint;
|
|
97
|
+
parent: CommentParent;
|
|
98
|
+
commentIid: bigint;
|
|
99
|
+
body: string;
|
|
100
|
+
attachments: AttachmentSDKType[];
|
|
101
|
+
diffHunk: string;
|
|
102
|
+
path: string;
|
|
103
|
+
position: bigint;
|
|
104
|
+
system: boolean;
|
|
105
|
+
authorAssociation: string;
|
|
106
|
+
createdAt: bigint;
|
|
107
|
+
updatedAt: bigint;
|
|
108
|
+
commentType: CommentType;
|
|
109
|
+
resolved: boolean;
|
|
110
|
+
replies: bigint[];
|
|
111
|
+
reactions: ReactionSDKType[];
|
|
112
|
+
hidden: boolean;
|
|
113
|
+
}
|
|
114
|
+
export declare const Comment: {
|
|
115
|
+
typeUrl: string;
|
|
116
|
+
encode(message: Comment, writer?: BinaryWriter): BinaryWriter;
|
|
117
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Comment;
|
|
118
|
+
fromPartial(object: Partial<Comment>): Comment;
|
|
119
|
+
fromAmino(object: CommentAmino): Comment;
|
|
120
|
+
toAmino(message: Comment): CommentAmino;
|
|
121
|
+
fromAminoMsg(object: CommentAminoMsg): Comment;
|
|
122
|
+
fromProtoMsg(message: CommentProtoMsg): Comment;
|
|
123
|
+
toProto(message: Comment): Uint8Array;
|
|
124
|
+
toProtoMsg(message: Comment): CommentProtoMsg;
|
|
125
|
+
};
|