@gitopia/gitopiajs 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/dist/LICENSE +0 -21
- package/dist/amino/amino.d.ts +0 -1
- package/dist/amino/amino.js +0 -2
- package/dist/amino/bundle.d.ts +0 -1
- package/dist/amino/bundle.js +0 -41
- package/dist/binary.d.ts +0 -130
- package/dist/binary.js +0 -371
- package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
- package/dist/cosmos/bank/v1beta1/bank.js +0 -664
- package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
- package/dist/cosmos/bank/v1beta1/query.js +0 -1759
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
- package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
- package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
- package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
- package/dist/cosmos/base/v1beta1/coin.js +0 -306
- package/dist/cosmos/bundle.d.ts +0 -2311
- package/dist/cosmos/bundle.js +0 -134
- package/dist/cosmos/client.d.ts +0 -84
- package/dist/cosmos/client.js +0 -65
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
- package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
- package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
- package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
- package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
- package/dist/cosmos/gov/v1beta1/query.js +0 -1264
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
- package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
- package/dist/cosmos/group/v1/query.d.ts +0 -1097
- package/dist/cosmos/group/v1/query.js +0 -2182
- package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
- package/dist/cosmos/group/v1/query.lcd.js +0 -158
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
- package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
- package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
- package/dist/cosmos/group/v1/tx.amino.js +0 -77
- package/dist/cosmos/group/v1/tx.d.ts +0 -1198
- package/dist/cosmos/group/v1/tx.js +0 -2362
- package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
- package/dist/cosmos/group/v1/tx.registry.js +0 -271
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
- package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
- package/dist/cosmos/group/v1/types.d.ts +0 -873
- package/dist/cosmos/group/v1/types.js +0 -1495
- package/dist/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos/query/v1/query.d.ts +0 -1
- package/dist/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos/rpc.query.d.ts +0 -59
- package/dist/cosmos/rpc.query.js +0 -60
- package/dist/cosmos/rpc.tx.d.ts +0 -10
- package/dist/cosmos/rpc.tx.js +0 -44
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
- package/dist/cosmos_proto/bundle.d.ts +0 -32
- package/dist/cosmos_proto/bundle.js +0 -41
- package/dist/cosmos_proto/cosmos.d.ts +0 -171
- package/dist/cosmos_proto/cosmos.js +0 -221
- package/dist/esm/amino/amino.js +0 -1
- package/dist/esm/amino/bundle.js +0 -5
- package/dist/esm/binary.js +0 -366
- package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
- package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
- package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
- package/dist/esm/cosmos/bundle.js +0 -98
- package/dist/esm/cosmos/client.js +0 -27
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
- package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
- package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
- package/dist/esm/cosmos/group/v1/query.js +0 -2179
- package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
- package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
- package/dist/esm/cosmos/group/v1/tx.js +0 -2354
- package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
- package/dist/esm/cosmos/group/v1/types.js +0 -1483
- package/dist/esm/cosmos/msg/v1/msg.js +0 -1
- package/dist/esm/cosmos/query/v1/query.js +0 -1
- package/dist/esm/cosmos/rpc.query.js +0 -23
- package/dist/esm/cosmos/rpc.tx.js +0 -7
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
- package/dist/esm/cosmos_proto/bundle.js +0 -5
- package/dist/esm/cosmos_proto/cosmos.js +0 -216
- package/dist/esm/gitopia/bundle.js +0 -95
- package/dist/esm/gitopia/client.js +0 -32
- package/dist/esm/gitopia/custom-lcd-client.js +0 -50
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
- package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
- package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
- package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
- package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
- package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
- package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
- package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
- package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
- package/dist/esm/gitopia/rpc.query.js +0 -29
- package/dist/esm/gitopia/rpc.tx.js +0 -13
- package/dist/esm/gogoproto/bundle.js +0 -5
- package/dist/esm/gogoproto/gogo.js +0 -1
- package/dist/esm/google/api/annotations.js +0 -1
- package/dist/esm/google/api/http.js +0 -329
- package/dist/esm/google/bundle.js +0 -14
- package/dist/esm/google/protobuf/any.js +0 -74
- package/dist/esm/google/protobuf/descriptor.js +0 -4848
- package/dist/esm/google/protobuf/duration.js +0 -71
- package/dist/esm/google/protobuf/timestamp.js +0 -68
- package/dist/esm/helpers.js +0 -129
- package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
- package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
- package/dist/esm/ibc/bundle.js +0 -44
- package/dist/esm/ibc/client.js +0 -29
- package/dist/esm/ibc/core/client/v1/client.js +0 -611
- package/dist/esm/ibc/rpc.query.js +0 -30
- package/dist/esm/ibc/rpc.tx.js +0 -14
- package/dist/esm/index.js +0 -19
- package/dist/esm/utf8.js +0 -137
- package/dist/esm/varint.js +0 -408
- package/dist/gitopia/bundle.d.ts +0 -6123
- package/dist/gitopia/bundle.js +0 -131
- package/dist/gitopia/client.d.ts +0 -492
- package/dist/gitopia/client.js +0 -70
- package/dist/gitopia/custom-lcd-client.d.ts +0 -31
- package/dist/gitopia/custom-lcd-client.js +0 -87
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
- package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
- package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
- package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
- package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
- package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
- package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
- package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
- package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
- package/dist/gitopia/gitopia/gitopia/params.js +0 -296
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
- package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
- package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
- package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
- package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
- package/dist/gitopia/gitopia/gitopia/release.js +0 -228
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
- package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
- package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
- package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
- package/dist/gitopia/gitopia/gitopia/task.js +0 -204
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
- package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
- package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
- package/dist/gitopia/gitopia/gitopia/user.js +0 -343
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
- package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
- package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
- package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
- package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
- package/dist/gitopia/gitopia/rewards/params.js +0 -84
- package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
- package/dist/gitopia/gitopia/rewards/pool.js +0 -196
- package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
- package/dist/gitopia/gitopia/rewards/query.js +0 -657
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
- package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
- package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
- package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
- package/dist/gitopia/gitopia/rewards/task.js +0 -181
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
- package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
- package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
- package/dist/gitopia/gitopia/rewards/tx.js +0 -528
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
- package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
- package/dist/gitopia/rpc.query.d.ts +0 -117
- package/dist/gitopia/rpc.query.js +0 -66
- package/dist/gitopia/rpc.tx.d.ts +0 -16
- package/dist/gitopia/rpc.tx.js +0 -50
- package/dist/gogoproto/bundle.d.ts +0 -1
- package/dist/gogoproto/bundle.js +0 -41
- package/dist/gogoproto/gogo.d.ts +0 -1
- package/dist/gogoproto/gogo.js +0 -2
- package/dist/google/api/annotations.d.ts +0 -1
- package/dist/google/api/annotations.js +0 -2
- package/dist/google/api/http.d.ts +0 -1049
- package/dist/google/api/http.js +0 -332
- package/dist/google/bundle.d.ts +0 -525
- package/dist/google/bundle.js +0 -50
- package/dist/google/protobuf/any.d.ts +0 -358
- package/dist/google/protobuf/any.js +0 -77
- package/dist/google/protobuf/descriptor.d.ts +0 -3178
- package/dist/google/protobuf/descriptor.js +0 -4886
- package/dist/google/protobuf/duration.d.ts +0 -223
- package/dist/google/protobuf/duration.js +0 -74
- package/dist/google/protobuf/timestamp.d.ts +0 -314
- package/dist/google/protobuf/timestamp.js +0 -71
- package/dist/helpers.d.ts +0 -82
- package/dist/helpers.js +0 -144
- package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
- package/dist/ibc/applications/transfer/v1/query.js +0 -850
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
- package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
- package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
- package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
- package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
- package/dist/ibc/applications/transfer/v1/tx.js +0 -229
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
- package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
- package/dist/ibc/bundle.d.ts +0 -450
- package/dist/ibc/bundle.js +0 -80
- package/dist/ibc/client.d.ts +0 -22
- package/dist/ibc/client.js +0 -67
- package/dist/ibc/core/client/v1/client.d.ts +0 -408
- package/dist/ibc/core/client/v1/client.js +0 -614
- package/dist/ibc/rpc.query.d.ts +0 -73
- package/dist/ibc/rpc.query.js +0 -67
- package/dist/ibc/rpc.tx.d.ts +0 -17
- package/dist/ibc/rpc.tx.js +0 -51
- package/dist/index.d.ts +0 -18
- package/dist/index.js +0 -35
- package/dist/package.json +0 -46
- package/dist/utf8.d.ts +0 -27
- package/dist/utf8.js +0 -141
- package/dist/varint.d.ts +0 -105
- package/dist/varint.js +0 -426
|
@@ -1,453 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,123 +0,0 @@
|
|
|
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
|
-
};
|