@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,453 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryVestedAmountRequest, QueryVestedAmountResponse, QueryGetTaskRequest, QueryGetTaskResponse, QueryAllTaskRequest, QueryAllTaskResponse, QueryAllBranchRequest, QueryAllBranchResponse, QueryGetRepositoryBranchRequest, QueryGetRepositoryBranchResponse, QueryGetRepositoryBranchShaRequest, QueryGetRepositoryBranchShaResponse, QueryAllRepositoryBranchRequest, QueryAllRepositoryBranchResponse, QueryAllTagRequest, QueryAllTagResponse, QueryGetRepositoryTagRequest, QueryGetRepositoryTagResponse, QueryGetRepositoryTagShaRequest, QueryGetRepositoryTagShaResponse, QueryAllRepositoryTagRequest, QueryAllRepositoryTagResponse, QueryAllDaoMemberRequest, QueryAllDaoMemberResponse, QueryGetBountyRequest, QueryGetBountyResponse, QueryAllBountyRequest, QueryAllBountyResponse, QueryGetReleaseRequest, QueryGetReleaseResponse, QueryAllReleaseRequest, QueryAllReleaseResponse, QueryAllPullRequestRequest, QueryAllPullRequestResponse, QueryGetDaoRequest, QueryGetDaoResponse, QueryAllDaoRequest, QueryAllDaoResponse, QueryGetIssueCommentRequest, QueryGetIssueCommentResponse, QueryGetPullRequestCommentRequest, QueryGetPullRequestCommentResponse, QueryAllCommentRequest, QueryAllCommentResponse, QueryAllIssueCommentRequest, QueryAllIssueCommentResponse, QueryAllPullRequestCommentRequest, QueryAllPullRequestCommentResponse, QueryAllIssueRequest, QueryAllIssueResponse, QueryGetLatestRepositoryReleaseRequest, QueryGetLatestRepositoryReleaseResponse, QueryGetRepositoryReleaseRequest, QueryGetRepositoryReleaseResponse, QueryAllRepositoryReleaseRequest, QueryAllRepositoryReleaseResponse, QueryGetRepositoryIssueRequest, QueryGetRepositoryIssueResponse, QueryAllRepositoryIssueRequest, QueryAllRepositoryIssueResponse, QueryGetRepositoryPullRequestRequest, QueryGetRepositoryPullRequestResponse, QueryAllRepositoryPullRequestRequest, QueryAllRepositoryPullRequestResponse, QueryGetRepositoryRequest, QueryGetRepositoryResponse, QueryAllRepositoryRequest, QueryAllRepositoryResponse, QueryGetAllForkRequest, QueryGetAllForkResponse, QueryGetUserRequest, QueryGetUserResponse, QueryAllUserDaoRequest, QueryAllUserDaoResponse, QueryAllUserRequest, QueryAllUserResponse, QueryAllAnyRepositoryRequest, QueryAllAnyRepositoryResponse, QueryGetAnyRepositoryRequest, QueryGetAnyRepositoryResponse, QueryGetWhoisRequest, QueryGetWhoisResponse, QueryAllWhoisRequest, QueryAllWhoisResponse, QueryGetPullRequestMergePermissionRequest, QueryGetPullRequestMergePermissionResponse, QueryCheckGitServerAuthorizationRequest, QueryCheckGitServerAuthorizationResponse, QueryCheckStorageProviderAuthorizationRequest, QueryCheckStorageProviderAuthorizationResponse } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
this.params = this.params.bind(this);
|
|
9
|
+
this.vestedAmount = this.vestedAmount.bind(this);
|
|
10
|
+
this.task = this.task.bind(this);
|
|
11
|
+
this.taskAll = this.taskAll.bind(this);
|
|
12
|
+
this.branchAll = this.branchAll.bind(this);
|
|
13
|
+
this.repositoryBranch = this.repositoryBranch.bind(this);
|
|
14
|
+
this.repositoryBranchSha = this.repositoryBranchSha.bind(this);
|
|
15
|
+
this.repositoryBranchAll = this.repositoryBranchAll.bind(this);
|
|
16
|
+
this.tagAll = this.tagAll.bind(this);
|
|
17
|
+
this.repositoryTag = this.repositoryTag.bind(this);
|
|
18
|
+
this.repositoryTagSha = this.repositoryTagSha.bind(this);
|
|
19
|
+
this.repositoryTagAll = this.repositoryTagAll.bind(this);
|
|
20
|
+
this.daoMemberAll = this.daoMemberAll.bind(this);
|
|
21
|
+
this.bounty = this.bounty.bind(this);
|
|
22
|
+
this.bountyAll = this.bountyAll.bind(this);
|
|
23
|
+
this.release = this.release.bind(this);
|
|
24
|
+
this.releaseAll = this.releaseAll.bind(this);
|
|
25
|
+
this.pullRequestAll = this.pullRequestAll.bind(this);
|
|
26
|
+
this.dao = this.dao.bind(this);
|
|
27
|
+
this.daoAll = this.daoAll.bind(this);
|
|
28
|
+
this.issueComment = this.issueComment.bind(this);
|
|
29
|
+
this.pullRequestComment = this.pullRequestComment.bind(this);
|
|
30
|
+
this.commentAll = this.commentAll.bind(this);
|
|
31
|
+
this.issueCommentAll = this.issueCommentAll.bind(this);
|
|
32
|
+
this.pullRequestCommentAll = this.pullRequestCommentAll.bind(this);
|
|
33
|
+
this.issueAll = this.issueAll.bind(this);
|
|
34
|
+
this.repositoryReleaseLatest = this.repositoryReleaseLatest.bind(this);
|
|
35
|
+
this.repositoryRelease = this.repositoryRelease.bind(this);
|
|
36
|
+
this.repositoryReleaseAll = this.repositoryReleaseAll.bind(this);
|
|
37
|
+
this.repositoryIssue = this.repositoryIssue.bind(this);
|
|
38
|
+
this.repositoryIssueAll = this.repositoryIssueAll.bind(this);
|
|
39
|
+
this.repositoryPullRequest = this.repositoryPullRequest.bind(this);
|
|
40
|
+
this.repositoryPullRequestAll = this.repositoryPullRequestAll.bind(this);
|
|
41
|
+
this.repository = this.repository.bind(this);
|
|
42
|
+
this.repositoryAll = this.repositoryAll.bind(this);
|
|
43
|
+
this.forkAll = this.forkAll.bind(this);
|
|
44
|
+
this.user = this.user.bind(this);
|
|
45
|
+
this.userDaoAll = this.userDaoAll.bind(this);
|
|
46
|
+
this.userAll = this.userAll.bind(this);
|
|
47
|
+
this.anyRepositoryAll = this.anyRepositoryAll.bind(this);
|
|
48
|
+
this.anyRepository = this.anyRepository.bind(this);
|
|
49
|
+
this.whois = this.whois.bind(this);
|
|
50
|
+
this.whoisAll = this.whoisAll.bind(this);
|
|
51
|
+
this.pullRequestMergePermission = this.pullRequestMergePermission.bind(this);
|
|
52
|
+
this.checkGitServerAuthorization = this.checkGitServerAuthorization.bind(this);
|
|
53
|
+
this.checkStorageProviderAuthorization = this.checkStorageProviderAuthorization.bind(this);
|
|
54
|
+
}
|
|
55
|
+
params(request = {}) {
|
|
56
|
+
const data = QueryParamsRequest.encode(request).finish();
|
|
57
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Params", data);
|
|
58
|
+
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
59
|
+
}
|
|
60
|
+
vestedAmount(request) {
|
|
61
|
+
const data = QueryVestedAmountRequest.encode(request).finish();
|
|
62
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "VestedAmount", data);
|
|
63
|
+
return promise.then(data => QueryVestedAmountResponse.decode(new BinaryReader(data)));
|
|
64
|
+
}
|
|
65
|
+
task(request) {
|
|
66
|
+
const data = QueryGetTaskRequest.encode(request).finish();
|
|
67
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Task", data);
|
|
68
|
+
return promise.then(data => QueryGetTaskResponse.decode(new BinaryReader(data)));
|
|
69
|
+
}
|
|
70
|
+
taskAll(request = {
|
|
71
|
+
pagination: undefined
|
|
72
|
+
}) {
|
|
73
|
+
const data = QueryAllTaskRequest.encode(request).finish();
|
|
74
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "TaskAll", data);
|
|
75
|
+
return promise.then(data => QueryAllTaskResponse.decode(new BinaryReader(data)));
|
|
76
|
+
}
|
|
77
|
+
branchAll(request = {
|
|
78
|
+
pagination: undefined
|
|
79
|
+
}) {
|
|
80
|
+
const data = QueryAllBranchRequest.encode(request).finish();
|
|
81
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "BranchAll", data);
|
|
82
|
+
return promise.then(data => QueryAllBranchResponse.decode(new BinaryReader(data)));
|
|
83
|
+
}
|
|
84
|
+
repositoryBranch(request) {
|
|
85
|
+
const data = QueryGetRepositoryBranchRequest.encode(request).finish();
|
|
86
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranch", data);
|
|
87
|
+
return promise.then(data => QueryGetRepositoryBranchResponse.decode(new BinaryReader(data)));
|
|
88
|
+
}
|
|
89
|
+
repositoryBranchSha(request) {
|
|
90
|
+
const data = QueryGetRepositoryBranchShaRequest.encode(request).finish();
|
|
91
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranchSha", data);
|
|
92
|
+
return promise.then(data => QueryGetRepositoryBranchShaResponse.decode(new BinaryReader(data)));
|
|
93
|
+
}
|
|
94
|
+
repositoryBranchAll(request) {
|
|
95
|
+
const data = QueryAllRepositoryBranchRequest.encode(request).finish();
|
|
96
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryBranchAll", data);
|
|
97
|
+
return promise.then(data => QueryAllRepositoryBranchResponse.decode(new BinaryReader(data)));
|
|
98
|
+
}
|
|
99
|
+
tagAll(request = {
|
|
100
|
+
pagination: undefined
|
|
101
|
+
}) {
|
|
102
|
+
const data = QueryAllTagRequest.encode(request).finish();
|
|
103
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "TagAll", data);
|
|
104
|
+
return promise.then(data => QueryAllTagResponse.decode(new BinaryReader(data)));
|
|
105
|
+
}
|
|
106
|
+
repositoryTag(request) {
|
|
107
|
+
const data = QueryGetRepositoryTagRequest.encode(request).finish();
|
|
108
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTag", data);
|
|
109
|
+
return promise.then(data => QueryGetRepositoryTagResponse.decode(new BinaryReader(data)));
|
|
110
|
+
}
|
|
111
|
+
repositoryTagSha(request) {
|
|
112
|
+
const data = QueryGetRepositoryTagShaRequest.encode(request).finish();
|
|
113
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTagSha", data);
|
|
114
|
+
return promise.then(data => QueryGetRepositoryTagShaResponse.decode(new BinaryReader(data)));
|
|
115
|
+
}
|
|
116
|
+
repositoryTagAll(request) {
|
|
117
|
+
const data = QueryAllRepositoryTagRequest.encode(request).finish();
|
|
118
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryTagAll", data);
|
|
119
|
+
return promise.then(data => QueryAllRepositoryTagResponse.decode(new BinaryReader(data)));
|
|
120
|
+
}
|
|
121
|
+
daoMemberAll(request) {
|
|
122
|
+
const data = QueryAllDaoMemberRequest.encode(request).finish();
|
|
123
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "DaoMemberAll", data);
|
|
124
|
+
return promise.then(data => QueryAllDaoMemberResponse.decode(new BinaryReader(data)));
|
|
125
|
+
}
|
|
126
|
+
bounty(request) {
|
|
127
|
+
const data = QueryGetBountyRequest.encode(request).finish();
|
|
128
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Bounty", data);
|
|
129
|
+
return promise.then(data => QueryGetBountyResponse.decode(new BinaryReader(data)));
|
|
130
|
+
}
|
|
131
|
+
bountyAll(request = {
|
|
132
|
+
pagination: undefined
|
|
133
|
+
}) {
|
|
134
|
+
const data = QueryAllBountyRequest.encode(request).finish();
|
|
135
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "BountyAll", data);
|
|
136
|
+
return promise.then(data => QueryAllBountyResponse.decode(new BinaryReader(data)));
|
|
137
|
+
}
|
|
138
|
+
release(request) {
|
|
139
|
+
const data = QueryGetReleaseRequest.encode(request).finish();
|
|
140
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Release", data);
|
|
141
|
+
return promise.then(data => QueryGetReleaseResponse.decode(new BinaryReader(data)));
|
|
142
|
+
}
|
|
143
|
+
releaseAll(request = {
|
|
144
|
+
pagination: undefined
|
|
145
|
+
}) {
|
|
146
|
+
const data = QueryAllReleaseRequest.encode(request).finish();
|
|
147
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "ReleaseAll", data);
|
|
148
|
+
return promise.then(data => QueryAllReleaseResponse.decode(new BinaryReader(data)));
|
|
149
|
+
}
|
|
150
|
+
pullRequestAll(request = {
|
|
151
|
+
pagination: undefined
|
|
152
|
+
}) {
|
|
153
|
+
const data = QueryAllPullRequestRequest.encode(request).finish();
|
|
154
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestAll", data);
|
|
155
|
+
return promise.then(data => QueryAllPullRequestResponse.decode(new BinaryReader(data)));
|
|
156
|
+
}
|
|
157
|
+
dao(request) {
|
|
158
|
+
const data = QueryGetDaoRequest.encode(request).finish();
|
|
159
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Dao", data);
|
|
160
|
+
return promise.then(data => QueryGetDaoResponse.decode(new BinaryReader(data)));
|
|
161
|
+
}
|
|
162
|
+
daoAll(request = {
|
|
163
|
+
pagination: undefined
|
|
164
|
+
}) {
|
|
165
|
+
const data = QueryAllDaoRequest.encode(request).finish();
|
|
166
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "DaoAll", data);
|
|
167
|
+
return promise.then(data => QueryAllDaoResponse.decode(new BinaryReader(data)));
|
|
168
|
+
}
|
|
169
|
+
issueComment(request) {
|
|
170
|
+
const data = QueryGetIssueCommentRequest.encode(request).finish();
|
|
171
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueComment", data);
|
|
172
|
+
return promise.then(data => QueryGetIssueCommentResponse.decode(new BinaryReader(data)));
|
|
173
|
+
}
|
|
174
|
+
pullRequestComment(request) {
|
|
175
|
+
const data = QueryGetPullRequestCommentRequest.encode(request).finish();
|
|
176
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestComment", data);
|
|
177
|
+
return promise.then(data => QueryGetPullRequestCommentResponse.decode(new BinaryReader(data)));
|
|
178
|
+
}
|
|
179
|
+
commentAll(request = {
|
|
180
|
+
pagination: undefined
|
|
181
|
+
}) {
|
|
182
|
+
const data = QueryAllCommentRequest.encode(request).finish();
|
|
183
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CommentAll", data);
|
|
184
|
+
return promise.then(data => QueryAllCommentResponse.decode(new BinaryReader(data)));
|
|
185
|
+
}
|
|
186
|
+
issueCommentAll(request) {
|
|
187
|
+
const data = QueryAllIssueCommentRequest.encode(request).finish();
|
|
188
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueCommentAll", data);
|
|
189
|
+
return promise.then(data => QueryAllIssueCommentResponse.decode(new BinaryReader(data)));
|
|
190
|
+
}
|
|
191
|
+
pullRequestCommentAll(request) {
|
|
192
|
+
const data = QueryAllPullRequestCommentRequest.encode(request).finish();
|
|
193
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestCommentAll", data);
|
|
194
|
+
return promise.then(data => QueryAllPullRequestCommentResponse.decode(new BinaryReader(data)));
|
|
195
|
+
}
|
|
196
|
+
issueAll(request = {
|
|
197
|
+
pagination: undefined
|
|
198
|
+
}) {
|
|
199
|
+
const data = QueryAllIssueRequest.encode(request).finish();
|
|
200
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "IssueAll", data);
|
|
201
|
+
return promise.then(data => QueryAllIssueResponse.decode(new BinaryReader(data)));
|
|
202
|
+
}
|
|
203
|
+
repositoryReleaseLatest(request) {
|
|
204
|
+
const data = QueryGetLatestRepositoryReleaseRequest.encode(request).finish();
|
|
205
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryReleaseLatest", data);
|
|
206
|
+
return promise.then(data => QueryGetLatestRepositoryReleaseResponse.decode(new BinaryReader(data)));
|
|
207
|
+
}
|
|
208
|
+
repositoryRelease(request) {
|
|
209
|
+
const data = QueryGetRepositoryReleaseRequest.encode(request).finish();
|
|
210
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryRelease", data);
|
|
211
|
+
return promise.then(data => QueryGetRepositoryReleaseResponse.decode(new BinaryReader(data)));
|
|
212
|
+
}
|
|
213
|
+
repositoryReleaseAll(request) {
|
|
214
|
+
const data = QueryAllRepositoryReleaseRequest.encode(request).finish();
|
|
215
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryReleaseAll", data);
|
|
216
|
+
return promise.then(data => QueryAllRepositoryReleaseResponse.decode(new BinaryReader(data)));
|
|
217
|
+
}
|
|
218
|
+
repositoryIssue(request) {
|
|
219
|
+
const data = QueryGetRepositoryIssueRequest.encode(request).finish();
|
|
220
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryIssue", data);
|
|
221
|
+
return promise.then(data => QueryGetRepositoryIssueResponse.decode(new BinaryReader(data)));
|
|
222
|
+
}
|
|
223
|
+
repositoryIssueAll(request) {
|
|
224
|
+
const data = QueryAllRepositoryIssueRequest.encode(request).finish();
|
|
225
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryIssueAll", data);
|
|
226
|
+
return promise.then(data => QueryAllRepositoryIssueResponse.decode(new BinaryReader(data)));
|
|
227
|
+
}
|
|
228
|
+
repositoryPullRequest(request) {
|
|
229
|
+
const data = QueryGetRepositoryPullRequestRequest.encode(request).finish();
|
|
230
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryPullRequest", data);
|
|
231
|
+
return promise.then(data => QueryGetRepositoryPullRequestResponse.decode(new BinaryReader(data)));
|
|
232
|
+
}
|
|
233
|
+
repositoryPullRequestAll(request) {
|
|
234
|
+
const data = QueryAllRepositoryPullRequestRequest.encode(request).finish();
|
|
235
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryPullRequestAll", data);
|
|
236
|
+
return promise.then(data => QueryAllRepositoryPullRequestResponse.decode(new BinaryReader(data)));
|
|
237
|
+
}
|
|
238
|
+
repository(request) {
|
|
239
|
+
const data = QueryGetRepositoryRequest.encode(request).finish();
|
|
240
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Repository", data);
|
|
241
|
+
return promise.then(data => QueryGetRepositoryResponse.decode(new BinaryReader(data)));
|
|
242
|
+
}
|
|
243
|
+
repositoryAll(request = {
|
|
244
|
+
pagination: undefined
|
|
245
|
+
}) {
|
|
246
|
+
const data = QueryAllRepositoryRequest.encode(request).finish();
|
|
247
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "RepositoryAll", data);
|
|
248
|
+
return promise.then(data => QueryAllRepositoryResponse.decode(new BinaryReader(data)));
|
|
249
|
+
}
|
|
250
|
+
forkAll(request) {
|
|
251
|
+
const data = QueryGetAllForkRequest.encode(request).finish();
|
|
252
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "ForkAll", data);
|
|
253
|
+
return promise.then(data => QueryGetAllForkResponse.decode(new BinaryReader(data)));
|
|
254
|
+
}
|
|
255
|
+
user(request) {
|
|
256
|
+
const data = QueryGetUserRequest.encode(request).finish();
|
|
257
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "User", data);
|
|
258
|
+
return promise.then(data => QueryGetUserResponse.decode(new BinaryReader(data)));
|
|
259
|
+
}
|
|
260
|
+
userDaoAll(request) {
|
|
261
|
+
const data = QueryAllUserDaoRequest.encode(request).finish();
|
|
262
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "UserDaoAll", data);
|
|
263
|
+
return promise.then(data => QueryAllUserDaoResponse.decode(new BinaryReader(data)));
|
|
264
|
+
}
|
|
265
|
+
userAll(request = {
|
|
266
|
+
pagination: undefined
|
|
267
|
+
}) {
|
|
268
|
+
const data = QueryAllUserRequest.encode(request).finish();
|
|
269
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "UserAll", data);
|
|
270
|
+
return promise.then(data => QueryAllUserResponse.decode(new BinaryReader(data)));
|
|
271
|
+
}
|
|
272
|
+
anyRepositoryAll(request) {
|
|
273
|
+
const data = QueryAllAnyRepositoryRequest.encode(request).finish();
|
|
274
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "AnyRepositoryAll", data);
|
|
275
|
+
return promise.then(data => QueryAllAnyRepositoryResponse.decode(new BinaryReader(data)));
|
|
276
|
+
}
|
|
277
|
+
anyRepository(request) {
|
|
278
|
+
const data = QueryGetAnyRepositoryRequest.encode(request).finish();
|
|
279
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "AnyRepository", data);
|
|
280
|
+
return promise.then(data => QueryGetAnyRepositoryResponse.decode(new BinaryReader(data)));
|
|
281
|
+
}
|
|
282
|
+
whois(request) {
|
|
283
|
+
const data = QueryGetWhoisRequest.encode(request).finish();
|
|
284
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "Whois", data);
|
|
285
|
+
return promise.then(data => QueryGetWhoisResponse.decode(new BinaryReader(data)));
|
|
286
|
+
}
|
|
287
|
+
whoisAll(request = {
|
|
288
|
+
pagination: undefined
|
|
289
|
+
}) {
|
|
290
|
+
const data = QueryAllWhoisRequest.encode(request).finish();
|
|
291
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "WhoisAll", data);
|
|
292
|
+
return promise.then(data => QueryAllWhoisResponse.decode(new BinaryReader(data)));
|
|
293
|
+
}
|
|
294
|
+
pullRequestMergePermission(request) {
|
|
295
|
+
const data = QueryGetPullRequestMergePermissionRequest.encode(request).finish();
|
|
296
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "PullRequestMergePermission", data);
|
|
297
|
+
return promise.then(data => QueryGetPullRequestMergePermissionResponse.decode(new BinaryReader(data)));
|
|
298
|
+
}
|
|
299
|
+
checkGitServerAuthorization(request) {
|
|
300
|
+
const data = QueryCheckGitServerAuthorizationRequest.encode(request).finish();
|
|
301
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CheckGitServerAuthorization", data);
|
|
302
|
+
return promise.then(data => QueryCheckGitServerAuthorizationResponse.decode(new BinaryReader(data)));
|
|
303
|
+
}
|
|
304
|
+
checkStorageProviderAuthorization(request) {
|
|
305
|
+
const data = QueryCheckStorageProviderAuthorizationRequest.encode(request).finish();
|
|
306
|
+
const promise = this.rpc.request("gitopia.gitopia.gitopia.Query", "CheckStorageProviderAuthorization", data);
|
|
307
|
+
return promise.then(data => QueryCheckStorageProviderAuthorizationResponse.decode(new BinaryReader(data)));
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
export const createRpcQueryExtension = (base) => {
|
|
311
|
+
const rpc = createProtobufRpcClient(base);
|
|
312
|
+
const queryService = new QueryClientImpl(rpc);
|
|
313
|
+
return {
|
|
314
|
+
params(request) {
|
|
315
|
+
return queryService.params(request);
|
|
316
|
+
},
|
|
317
|
+
vestedAmount(request) {
|
|
318
|
+
return queryService.vestedAmount(request);
|
|
319
|
+
},
|
|
320
|
+
task(request) {
|
|
321
|
+
return queryService.task(request);
|
|
322
|
+
},
|
|
323
|
+
taskAll(request) {
|
|
324
|
+
return queryService.taskAll(request);
|
|
325
|
+
},
|
|
326
|
+
branchAll(request) {
|
|
327
|
+
return queryService.branchAll(request);
|
|
328
|
+
},
|
|
329
|
+
repositoryBranch(request) {
|
|
330
|
+
return queryService.repositoryBranch(request);
|
|
331
|
+
},
|
|
332
|
+
repositoryBranchSha(request) {
|
|
333
|
+
return queryService.repositoryBranchSha(request);
|
|
334
|
+
},
|
|
335
|
+
repositoryBranchAll(request) {
|
|
336
|
+
return queryService.repositoryBranchAll(request);
|
|
337
|
+
},
|
|
338
|
+
tagAll(request) {
|
|
339
|
+
return queryService.tagAll(request);
|
|
340
|
+
},
|
|
341
|
+
repositoryTag(request) {
|
|
342
|
+
return queryService.repositoryTag(request);
|
|
343
|
+
},
|
|
344
|
+
repositoryTagSha(request) {
|
|
345
|
+
return queryService.repositoryTagSha(request);
|
|
346
|
+
},
|
|
347
|
+
repositoryTagAll(request) {
|
|
348
|
+
return queryService.repositoryTagAll(request);
|
|
349
|
+
},
|
|
350
|
+
daoMemberAll(request) {
|
|
351
|
+
return queryService.daoMemberAll(request);
|
|
352
|
+
},
|
|
353
|
+
bounty(request) {
|
|
354
|
+
return queryService.bounty(request);
|
|
355
|
+
},
|
|
356
|
+
bountyAll(request) {
|
|
357
|
+
return queryService.bountyAll(request);
|
|
358
|
+
},
|
|
359
|
+
release(request) {
|
|
360
|
+
return queryService.release(request);
|
|
361
|
+
},
|
|
362
|
+
releaseAll(request) {
|
|
363
|
+
return queryService.releaseAll(request);
|
|
364
|
+
},
|
|
365
|
+
pullRequestAll(request) {
|
|
366
|
+
return queryService.pullRequestAll(request);
|
|
367
|
+
},
|
|
368
|
+
dao(request) {
|
|
369
|
+
return queryService.dao(request);
|
|
370
|
+
},
|
|
371
|
+
daoAll(request) {
|
|
372
|
+
return queryService.daoAll(request);
|
|
373
|
+
},
|
|
374
|
+
issueComment(request) {
|
|
375
|
+
return queryService.issueComment(request);
|
|
376
|
+
},
|
|
377
|
+
pullRequestComment(request) {
|
|
378
|
+
return queryService.pullRequestComment(request);
|
|
379
|
+
},
|
|
380
|
+
commentAll(request) {
|
|
381
|
+
return queryService.commentAll(request);
|
|
382
|
+
},
|
|
383
|
+
issueCommentAll(request) {
|
|
384
|
+
return queryService.issueCommentAll(request);
|
|
385
|
+
},
|
|
386
|
+
pullRequestCommentAll(request) {
|
|
387
|
+
return queryService.pullRequestCommentAll(request);
|
|
388
|
+
},
|
|
389
|
+
issueAll(request) {
|
|
390
|
+
return queryService.issueAll(request);
|
|
391
|
+
},
|
|
392
|
+
repositoryReleaseLatest(request) {
|
|
393
|
+
return queryService.repositoryReleaseLatest(request);
|
|
394
|
+
},
|
|
395
|
+
repositoryRelease(request) {
|
|
396
|
+
return queryService.repositoryRelease(request);
|
|
397
|
+
},
|
|
398
|
+
repositoryReleaseAll(request) {
|
|
399
|
+
return queryService.repositoryReleaseAll(request);
|
|
400
|
+
},
|
|
401
|
+
repositoryIssue(request) {
|
|
402
|
+
return queryService.repositoryIssue(request);
|
|
403
|
+
},
|
|
404
|
+
repositoryIssueAll(request) {
|
|
405
|
+
return queryService.repositoryIssueAll(request);
|
|
406
|
+
},
|
|
407
|
+
repositoryPullRequest(request) {
|
|
408
|
+
return queryService.repositoryPullRequest(request);
|
|
409
|
+
},
|
|
410
|
+
repositoryPullRequestAll(request) {
|
|
411
|
+
return queryService.repositoryPullRequestAll(request);
|
|
412
|
+
},
|
|
413
|
+
repository(request) {
|
|
414
|
+
return queryService.repository(request);
|
|
415
|
+
},
|
|
416
|
+
repositoryAll(request) {
|
|
417
|
+
return queryService.repositoryAll(request);
|
|
418
|
+
},
|
|
419
|
+
forkAll(request) {
|
|
420
|
+
return queryService.forkAll(request);
|
|
421
|
+
},
|
|
422
|
+
user(request) {
|
|
423
|
+
return queryService.user(request);
|
|
424
|
+
},
|
|
425
|
+
userDaoAll(request) {
|
|
426
|
+
return queryService.userDaoAll(request);
|
|
427
|
+
},
|
|
428
|
+
userAll(request) {
|
|
429
|
+
return queryService.userAll(request);
|
|
430
|
+
},
|
|
431
|
+
anyRepositoryAll(request) {
|
|
432
|
+
return queryService.anyRepositoryAll(request);
|
|
433
|
+
},
|
|
434
|
+
anyRepository(request) {
|
|
435
|
+
return queryService.anyRepository(request);
|
|
436
|
+
},
|
|
437
|
+
whois(request) {
|
|
438
|
+
return queryService.whois(request);
|
|
439
|
+
},
|
|
440
|
+
whoisAll(request) {
|
|
441
|
+
return queryService.whoisAll(request);
|
|
442
|
+
},
|
|
443
|
+
pullRequestMergePermission(request) {
|
|
444
|
+
return queryService.pullRequestMergePermission(request);
|
|
445
|
+
},
|
|
446
|
+
checkGitServerAuthorization(request) {
|
|
447
|
+
return queryService.checkGitServerAuthorization(request);
|
|
448
|
+
},
|
|
449
|
+
checkStorageProviderAuthorization(request) {
|
|
450
|
+
return queryService.checkStorageProviderAuthorization(request);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
export var Emoji;
|
|
4
|
+
(function (Emoji) {
|
|
5
|
+
Emoji[Emoji["EMOJI_THUMBS_UP"] = 0] = "EMOJI_THUMBS_UP";
|
|
6
|
+
Emoji[Emoji["EMOJI_THUMBS_DOWN"] = 1] = "EMOJI_THUMBS_DOWN";
|
|
7
|
+
Emoji[Emoji["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
8
|
+
})(Emoji || (Emoji = {}));
|
|
9
|
+
export const EmojiSDKType = Emoji;
|
|
10
|
+
export const EmojiAmino = Emoji;
|
|
11
|
+
export function emojiFromJSON(object) {
|
|
12
|
+
switch (object) {
|
|
13
|
+
case 0:
|
|
14
|
+
case "EMOJI_THUMBS_UP":
|
|
15
|
+
return Emoji.EMOJI_THUMBS_UP;
|
|
16
|
+
case 1:
|
|
17
|
+
case "EMOJI_THUMBS_DOWN":
|
|
18
|
+
return Emoji.EMOJI_THUMBS_DOWN;
|
|
19
|
+
case -1:
|
|
20
|
+
case "UNRECOGNIZED":
|
|
21
|
+
default:
|
|
22
|
+
return Emoji.UNRECOGNIZED;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export function emojiToJSON(object) {
|
|
26
|
+
switch (object) {
|
|
27
|
+
case Emoji.EMOJI_THUMBS_UP:
|
|
28
|
+
return "EMOJI_THUMBS_UP";
|
|
29
|
+
case Emoji.EMOJI_THUMBS_DOWN:
|
|
30
|
+
return "EMOJI_THUMBS_DOWN";
|
|
31
|
+
case Emoji.UNRECOGNIZED:
|
|
32
|
+
default:
|
|
33
|
+
return "UNRECOGNIZED";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function createBaseReaction() {
|
|
37
|
+
return {
|
|
38
|
+
address: "",
|
|
39
|
+
emojis: []
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export const Reaction = {
|
|
43
|
+
typeUrl: "/gitopia.gitopia.gitopia.Reaction",
|
|
44
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
45
|
+
if (message.address !== "") {
|
|
46
|
+
writer.uint32(10).string(message.address);
|
|
47
|
+
}
|
|
48
|
+
writer.uint32(18).fork();
|
|
49
|
+
for (const v of message.emojis) {
|
|
50
|
+
writer.int32(v);
|
|
51
|
+
}
|
|
52
|
+
writer.ldelim();
|
|
53
|
+
return writer;
|
|
54
|
+
},
|
|
55
|
+
decode(input, length) {
|
|
56
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBaseReaction();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
message.address = reader.string();
|
|
64
|
+
break;
|
|
65
|
+
case 2:
|
|
66
|
+
if ((tag & 7) === 2) {
|
|
67
|
+
const end2 = reader.uint32() + reader.pos;
|
|
68
|
+
while (reader.pos < end2) {
|
|
69
|
+
message.emojis.push(reader.int32());
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
message.emojis.push(reader.int32());
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
default:
|
|
77
|
+
reader.skipType(tag & 7);
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromPartial(object) {
|
|
84
|
+
const message = createBaseReaction();
|
|
85
|
+
message.address = object.address ?? "";
|
|
86
|
+
message.emojis = object.emojis?.map(e => e) || [];
|
|
87
|
+
return message;
|
|
88
|
+
},
|
|
89
|
+
fromAmino(object) {
|
|
90
|
+
const message = createBaseReaction();
|
|
91
|
+
if (object.address !== undefined && object.address !== null) {
|
|
92
|
+
message.address = object.address;
|
|
93
|
+
}
|
|
94
|
+
message.emojis = object.emojis?.map(e => e) || [];
|
|
95
|
+
return message;
|
|
96
|
+
},
|
|
97
|
+
toAmino(message) {
|
|
98
|
+
const obj = {};
|
|
99
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
100
|
+
if (message.emojis) {
|
|
101
|
+
obj.emojis = message.emojis.map(e => e);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
obj.emojis = message.emojis;
|
|
105
|
+
}
|
|
106
|
+
return obj;
|
|
107
|
+
},
|
|
108
|
+
fromAminoMsg(object) {
|
|
109
|
+
return Reaction.fromAmino(object.value);
|
|
110
|
+
},
|
|
111
|
+
fromProtoMsg(message) {
|
|
112
|
+
return Reaction.decode(message.value);
|
|
113
|
+
},
|
|
114
|
+
toProto(message) {
|
|
115
|
+
return Reaction.encode(message).finish();
|
|
116
|
+
},
|
|
117
|
+
toProtoMsg(message) {
|
|
118
|
+
return {
|
|
119
|
+
typeUrl: "/gitopia.gitopia.gitopia.Reaction",
|
|
120
|
+
value: Reaction.encode(message).finish()
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
};
|