node-cnb 1.2.8 → 1.2.9

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/src/client.d.ts DELETED
@@ -1,970 +0,0 @@
1
- import {
2
- DtoUsersResultForSelf,
3
- DtoOrganizationAccess,
4
- DtoRepos4User,
5
- DtoRepos4UserBase,
6
- DtoUsersResult,
7
- DtoUserFollowResult,
8
- DtoOrganizationUnion,
9
- DtoWorkspaceDeleteResult,
10
- DtoWorkspaceListResult,
11
- DtoListInheritMembers,
12
- DtoUsersWithAccessLevelInSlug,
13
- DtoMemberAccessLevelInSlugUnion,
14
- DtoMemberAccessLevel,
15
- DtoOrganizationSettingWithParent,
16
- DtoUploadAssetsResponse,
17
- DtoBuildLogsResult,
18
- DtoBuildResult,
19
- DtoBuildStatusResult,
20
- WebRepoContribTrend,
21
- DtoForks,
22
- ApiBranch,
23
- ApiBranchDetail,
24
- WebCommitAnnotationInBatch,
25
- WebCommitAnnotation,
26
- ApiCommitAsset,
27
- ApiCommitStatus,
28
- ApiCommit,
29
- ApiCompareResponse,
30
- ApiContent,
31
- OpenapiHeadRef,
32
- WebTagAnnotation,
33
- ApiTag,
34
- ApiIssue,
35
- ApiIssueDetail,
36
- ApiIssueComment,
37
- ApiLabel,
38
- DtoOutsideCollaboratorInRepo,
39
- ApiPullRequest,
40
- ApiPull,
41
- ApiPullRequestComment,
42
- ApiMergePullResponse,
43
- ApiRelease,
44
- ApiReleaseAsset,
45
- ApiBranchProtection,
46
- ApiPipelineSettings,
47
- ApiPullRequestSettings,
48
- ApiPushLimitSettings,
49
- DtoRepoStarUsers,
50
- DtoWorkspaceDetailResult,
51
- } from "./types";
52
-
53
- export interface Client {
54
- groups: {
55
- post: (params: { request: any }) => Promise<any>;
56
- };
57
-
58
- user: {
59
- get: (params: {}) => Promise<DtoUsersResultForSelf>;
60
-
61
- post: (params: { request: any }) => Promise<any>;
62
-
63
- autocompleteSource: {
64
- list: (params: {
65
- source_type?: string;
66
- page?: number;
67
- page_size?: number;
68
- search?: string;
69
- access?: string;
70
- }) => Promise<string[]>;
71
- };
72
-
73
- groups: {
74
- list: (params: {
75
- page?: number;
76
- page_size?: number;
77
- search?: string;
78
- role?: string;
79
- }) => Promise<DtoOrganizationAccess[]>;
80
-
81
- listByGroup: (params: {
82
- group: string;
83
- page?: number;
84
- page_size?: number;
85
- access?: number;
86
- }) => Promise<DtoOrganizationAccess[]>;
87
- };
88
-
89
- repos: {
90
- list: (params: {
91
- page?: number;
92
- page_size?: number;
93
- search?: string;
94
- filter_type?: string;
95
- role?: string;
96
- order_by?: string;
97
- desc?: boolean;
98
- }) => Promise<DtoRepos4User[]>;
99
- };
100
-
101
- staredRepos: {
102
- list: (params: {
103
- page?: number;
104
- page_size?: number;
105
- search?: string;
106
- desc?: boolean;
107
- order_by?: string;
108
- }) => Promise<DtoRepos4UserBase[]>;
109
- };
110
- };
111
-
112
- users: {
113
- get: (params: { username: string }) => Promise<DtoUsersResult>;
114
-
115
- avatar: {
116
- get: (params: { username: string; size: string }) => Promise<any>;
117
- };
118
-
119
- followers: {
120
- list: (params: {
121
- username: string;
122
- page?: number;
123
- page_size?: number;
124
- }) => Promise<DtoUserFollowResult[]>;
125
- };
126
-
127
- following: {
128
- list: (params: {
129
- username: string;
130
- page?: number;
131
- page_size?: number;
132
- }) => Promise<DtoUserFollowResult[]>;
133
- };
134
-
135
- groups: {
136
- get: (params: {
137
- username: string;
138
- search?: string;
139
- page?: number;
140
- page_size?: number;
141
- desc?: boolean;
142
- order_by?: string;
143
- }) => Promise<DtoOrganizationUnion>;
144
- };
145
-
146
- pinnedRepos: {
147
- list: (params: { username: string }) => Promise<DtoRepos4User[]>;
148
- };
149
-
150
- repos: {
151
- list: (params: {
152
- username: string;
153
- search?: string;
154
- role?: string;
155
- page?: number;
156
- page_size?: number;
157
- desc?: boolean;
158
- order_by?: string;
159
- }) => Promise<DtoRepos4User[]>;
160
- };
161
-
162
- staredRepos: {
163
- list: (params: {
164
- username: string;
165
- search?: string;
166
- page?: number;
167
- page_size?: number;
168
- desc?: boolean;
169
- order_by?: string;
170
- }) => Promise<DtoRepos4User[]>;
171
- };
172
- };
173
-
174
- workspace: {
175
- delete: {
176
- post: (params: { request: any }) => Promise<DtoWorkspaceDeleteResult>;
177
- };
178
-
179
- list: {
180
- get: (params: {
181
- branch?: string;
182
- end?: string;
183
- page?: number;
184
- pageSize?: number;
185
- slug?: string;
186
- start?: string;
187
- status?: string;
188
- }) => Promise<DtoWorkspaceListResult>;
189
- };
190
- };
191
-
192
- group: {
193
- get: (params: { group: string }) => Promise<DtoOrganizationAccess>;
194
-
195
- avatar: {
196
- put: (params: { group: string; request: any }) => Promise<any>;
197
- };
198
-
199
- inheritMembers: {
200
- list: (params: {
201
- group: string;
202
- search?: string;
203
- role?: string;
204
- page?: number;
205
- page_size?: number;
206
- }) => Promise<DtoListInheritMembers[]>;
207
- };
208
-
209
- listMembers: {
210
- list: (params: {
211
- group: string;
212
- page?: number;
213
- page_size?: number;
214
- role?: string;
215
- search?: string;
216
- names?: string;
217
- order_by?: string;
218
- desc?: boolean;
219
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
220
- };
221
-
222
- logos: {
223
- put: (params: { group: string; token: string }) => Promise<any>;
224
-
225
- get: (params: { group: string; size?: string }) => Promise<any>;
226
- };
227
-
228
- members: {
229
- list: (params: {
230
- group: string;
231
- page?: number;
232
- page_size?: number;
233
- role?: string;
234
- search?: string;
235
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
236
-
237
- accessLevel: {
238
- get: (params: {
239
- group: string;
240
- include_inherit?: boolean;
241
- }) => Promise<DtoMemberAccessLevelInSlugUnion>;
242
-
243
- list: (params: {
244
- group: string;
245
- username: string;
246
- }) => Promise<DtoMemberAccessLevel[]>;
247
- };
248
-
249
- delete: (params: { group: string; username: string }) => Promise<any>;
250
-
251
- put: (params: {
252
- group: string;
253
- username: string;
254
- request: any;
255
- }) => Promise<any>;
256
- };
257
-
258
- pinnedRepos: {
259
- list: (params: { group: string }) => Promise<DtoRepos4UserBase[]>;
260
-
261
- put: (params: {
262
- group: string;
263
- request: any;
264
- }) => Promise<DtoRepos4UserBase[]>;
265
- };
266
-
267
- repos: {
268
- list: (params: {
269
- group: string;
270
- page?: number;
271
- page_size?: number;
272
- filter_type?: string;
273
- order_by?: string;
274
- desc?: boolean;
275
- descendant?: string;
276
- search?: string;
277
- }) => Promise<DtoRepos4UserBase[]>;
278
-
279
- post: (params: { group: string; request: any }) => Promise<any>;
280
- };
281
-
282
- settings: {
283
- get: (params: {
284
- group: string;
285
- }) => Promise<DtoOrganizationSettingWithParent>;
286
-
287
- put: (params: { group: string; request: any }) => Promise<any>;
288
- };
289
-
290
- subGroups: {
291
- list: (params: {
292
- group: string;
293
- search?: string;
294
- page: number;
295
- page_size: number;
296
- }) => Promise<DtoOrganizationUnion[]>;
297
- };
298
-
299
- upload: {
300
- logos: {
301
- post: (params: {
302
- group: string;
303
- request: any;
304
- }) => Promise<DtoUploadAssetsResponse>;
305
- };
306
- };
307
- };
308
-
309
- registry: {
310
- packages: {
311
- name: {
312
- tag: {
313
- delete: (params: {
314
- registry: string;
315
- type: string;
316
- name: string;
317
- tag: string;
318
- }) => Promise<any>;
319
- };
320
- };
321
- };
322
- };
323
-
324
- repo: {
325
- get: (params: { repo: string }) => Promise<DtoRepos4User>;
326
-
327
- build: {
328
- logs: {
329
- get: (params: {
330
- repo: string;
331
- createTime?: string;
332
- endTime?: string;
333
- event?: string;
334
- page?: number;
335
- pagesize?: number;
336
- sha?: string;
337
- sn?: string;
338
- sourceRef?: string;
339
- status?: string;
340
- targetRef?: string;
341
- userId?: string;
342
- userName?: string;
343
- }) => Promise<DtoBuildLogsResult>;
344
- };
345
-
346
- start: {
347
- post: (params: {
348
- repo: string;
349
- request: any;
350
- }) => Promise<DtoBuildResult[]>;
351
- };
352
-
353
- status: {
354
- get: (params: {
355
- repo: string;
356
- sn: string;
357
- }) => Promise<DtoBuildStatusResult>;
358
- };
359
-
360
- stop: {
361
- post: (params: {
362
- repo: string;
363
- sn: string;
364
- }) => Promise<DtoBuildResult[]>;
365
- };
366
- };
367
-
368
- commitAssets: {
369
- download: {
370
- get: (params: { repo: string; fileName: string }) => Promise<any>;
371
- };
372
- };
373
-
374
- contributor: {
375
- trend: {
376
- list: (params: {
377
- repo: string;
378
- limit?: number;
379
- exclude_external_users?: boolean;
380
- }) => Promise<WebRepoContribTrend[]>;
381
- };
382
- };
383
-
384
- files: {
385
- get: (params: {
386
- repo: string;
387
- userIdKey: string;
388
- randomUUID: string;
389
- fileName: string;
390
- }) => Promise<any>;
391
-
392
- put: (params: {
393
- repo: string;
394
- userIdKey: string;
395
- randomUUID: string;
396
- fileName: string;
397
- token: string;
398
- }) => Promise<any>;
399
- };
400
-
401
- forks: {
402
- list: (params: {
403
- repo: string;
404
- page: number;
405
- page_size: number;
406
- }) => Promise<DtoForks[]>;
407
-
408
- post: (params: { repo: string; request: any }) => Promise<any>;
409
- };
410
-
411
- git: {
412
- branches: {
413
- list: (params: {
414
- repo: string;
415
- page?: number;
416
- page_size?: number;
417
- }) => Promise<ApiBranch[]>;
418
-
419
- post: (params: {
420
- repo: string;
421
- create_branch_form: any;
422
- }) => Promise<any>;
423
-
424
- delete: (params: { repo: string; branch: string }) => Promise<any>;
425
-
426
- get: (params: {
427
- repo: string;
428
- branch?: string;
429
- }) => Promise<ApiBranchDetail>;
430
- };
431
-
432
- commitAnnotationsInBatch: {
433
- post: (params: {
434
- repo: string;
435
- get_commit_annotations_form: any;
436
- }) => Promise<WebCommitAnnotationInBatch[]>;
437
- };
438
-
439
- commitAnnotations: {
440
- list: (params: {
441
- repo: string;
442
- sha: string;
443
- }) => Promise<WebCommitAnnotation[]>;
444
-
445
- put: (params: {
446
- repo: string;
447
- sha: string;
448
- put_commit_annotations_form: any;
449
- }) => Promise<any>;
450
-
451
- delete: (params: {
452
- repo: string;
453
- sha: string;
454
- key: string;
455
- }) => Promise<any>;
456
- };
457
-
458
- commitAssets: {
459
- list: (params: {
460
- repo: string;
461
- sha1: string;
462
- }) => Promise<ApiCommitAsset[]>;
463
-
464
- assetUploadConfirmation: {
465
- post: (params: {
466
- repo: string;
467
- sha1: number;
468
- token: string;
469
- asset_path: string;
470
- }) => Promise<any>;
471
- };
472
-
473
- assetUploadUrl: {
474
- post: (params: {
475
- repo: string;
476
- sha1: number;
477
- create_commit_asset_upload_url_form: any;
478
- }) => Promise<any>;
479
- };
480
-
481
- delete: (params: {
482
- repo: string;
483
- sha1: string;
484
- asset_id: number;
485
- }) => Promise<any>;
486
- };
487
-
488
- commitStatuses: {
489
- list: (params: {
490
- repo: string;
491
- sha: string;
492
- }) => Promise<ApiCommitStatus[]>;
493
- };
494
-
495
- commits: {
496
- list: (params: {
497
- repo: string;
498
- sha?: string;
499
- author?: string;
500
- committer?: string;
501
- since?: string;
502
- until?: string;
503
- page?: number;
504
- page_size?: number;
505
- }) => Promise<ApiCommit[]>;
506
-
507
- get: (params: { repo: string; ref: string }) => Promise<ApiCommit>;
508
- };
509
-
510
- compare: {
511
- get: (params: {
512
- repo: string;
513
- base_head: string;
514
- }) => Promise<ApiCompareResponse>;
515
- };
516
-
517
- contents: {
518
- get: (params: {
519
- repo: string;
520
- file_path: string;
521
- ref?: string;
522
- }) => Promise<ApiContent>;
523
- };
524
-
525
- head: {
526
- get: (params: { repo: string }) => Promise<OpenapiHeadRef>;
527
- };
528
-
529
- tagAnnotations: {
530
- delete: (params: {
531
- repo: string;
532
- tag_with_key: string;
533
- }) => Promise<any>;
534
-
535
- list: (params: {
536
- repo: string;
537
- tag: string;
538
- }) => Promise<WebTagAnnotation[]>;
539
-
540
- put: (params: {
541
- repo: string;
542
- tag: string;
543
- put_tag_annotations_form: any;
544
- }) => Promise<any>;
545
- };
546
-
547
- tags: {
548
- list: (params: {
549
- repo: string;
550
- page?: number;
551
- page_size?: number;
552
- }) => Promise<ApiTag[]>;
553
-
554
- delete: (params: { repo: string; tag: string }) => Promise<any>;
555
-
556
- get: (params: { repo: string; tag: string }) => Promise<ApiTag>;
557
- };
558
- };
559
-
560
- imgs: {
561
- get: (params: {
562
- repo: string;
563
- userIdKey: string;
564
- fileName: string;
565
- }) => Promise<any>;
566
-
567
- put: (params: {
568
- repo: string;
569
- userIdKey: string;
570
- fileName: string;
571
- token: string;
572
- }) => Promise<any>;
573
- };
574
-
575
- inheritMembers: {
576
- list: (params: {
577
- repo: string;
578
- search?: string;
579
- role?: string;
580
- page?: number;
581
- page_size?: number;
582
- }) => Promise<DtoListInheritMembers[]>;
583
- };
584
-
585
- issues: {
586
- list: (params: {
587
- repo: string;
588
- page?: number;
589
- page_size?: number;
590
- state?: string;
591
- keyword?: string;
592
- priority?: string;
593
- labels?: string;
594
- authors?: string;
595
- assignees?: string;
596
- updated_time_begin?: string;
597
- updated_time_end?: string;
598
- order_by?: string;
599
- }) => Promise<ApiIssue[]>;
600
-
601
- post: (params: { repo: string; post_issue_form: any }) => Promise<any>;
602
-
603
- get: (params: {
604
- repo: string;
605
- number: number;
606
- }) => Promise<ApiIssueDetail>;
607
-
608
- patch: (params: {
609
- repo: string;
610
- number: number;
611
- patch_issue_form: any;
612
- }) => Promise<ApiIssueDetail>;
613
-
614
- comments: {
615
- list: (params: {
616
- repo: string;
617
- number: number;
618
- page?: number;
619
- page_size?: number;
620
- }) => Promise<ApiIssueComment[]>;
621
-
622
- post: (params: {
623
- repo: string;
624
- number: number;
625
- post_issue_comment_form: any;
626
- }) => Promise<any>;
627
-
628
- get: (params: {
629
- repo: string;
630
- number: number;
631
- comment_id: number;
632
- }) => Promise<ApiIssueComment>;
633
-
634
- patch: (params: {
635
- repo: string;
636
- number: number;
637
- comment_id: number;
638
- patch_issue_comment_form: any;
639
- }) => Promise<ApiIssueComment>;
640
- };
641
-
642
- labels: {
643
- delete: (params: { repo: string; number: number }) => Promise<any>;
644
-
645
- deleteByName: (params: {
646
- repo: string;
647
- number: number;
648
- name: string;
649
- }) => Promise<ApiLabel>;
650
- };
651
- };
652
-
653
- labels: {
654
- list: (params: {
655
- repo: string;
656
- page?: number;
657
- page_size?: number;
658
- keyword?: string;
659
- }) => Promise<ApiLabel[]>;
660
-
661
- post: (params: { repo: string; post_label_form: any }) => Promise<any>;
662
-
663
- delete: (params: { repo: string; name: string }) => Promise<any>;
664
-
665
- patch: (params: {
666
- repo: string;
667
- name: string;
668
- patch_label_form: any;
669
- }) => Promise<ApiLabel>;
670
- };
671
-
672
- listMembers: {
673
- list: (params: {
674
- repo: string;
675
- page?: number;
676
- page_size?: number;
677
- role?: string;
678
- search?: string;
679
- names?: string;
680
- order_by?: string;
681
- desc?: boolean;
682
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
683
- };
684
-
685
- members: {
686
- list: (params: {
687
- repo: string;
688
- page?: number;
689
- page_size?: number;
690
- role?: string;
691
- search?: string;
692
- }) => Promise<DtoUsersWithAccessLevelInSlug[]>;
693
-
694
- accessLevel: {
695
- get: (params: {
696
- repo: string;
697
- include_inherit?: boolean;
698
- }) => Promise<DtoMemberAccessLevelInSlugUnion>;
699
-
700
- list: (params: {
701
- repo: string;
702
- username: string;
703
- }) => Promise<DtoMemberAccessLevel[]>;
704
- };
705
-
706
- delete: (params: { repo: string; username: string }) => Promise<any>;
707
-
708
- put: (params: {
709
- repo: string;
710
- username: string;
711
- request: any;
712
- }) => Promise<any>;
713
- };
714
-
715
- outsideCollaborators: {
716
- list: (params: {
717
- repo: string;
718
- page?: number;
719
- page_size?: number;
720
- role?: string;
721
- search?: string;
722
- }) => Promise<DtoOutsideCollaboratorInRepo[]>;
723
-
724
- delete: (params: { repo: string; username: string }) => Promise<any>;
725
-
726
- put: (params: {
727
- repo: string;
728
- username: string;
729
- role: string;
730
- }) => Promise<any>;
731
- };
732
-
733
- pulls: {
734
- list: (params: {
735
- repo: string;
736
- page?: number;
737
- page_size?: number;
738
- state?: string;
739
- authors?: string;
740
- reviewers?: string;
741
- assignees?: string;
742
- }) => Promise<ApiPullRequest[]>;
743
-
744
- post: (params: { repo: string; post_pull_form: any }) => Promise<any>;
745
-
746
- get: (params: { repo: string; number: number }) => Promise<ApiPull>;
747
-
748
- patch: (params: {
749
- repo: string;
750
- number: number;
751
- update_pull_request_form: any;
752
- }) => Promise<ApiPull>;
753
-
754
- comments: {
755
- list: (params: {
756
- repo: string;
757
- page?: number;
758
- page_size?: number;
759
- }) => Promise<ApiPullRequestComment[]>;
760
-
761
- post: (params: {
762
- repo: string;
763
- number: number;
764
- post_pull_comment_form: any;
765
- }) => Promise<any>;
766
- };
767
-
768
- labels: {
769
- delete: (params: { repo: string; number: number }) => Promise<any>;
770
-
771
- list: (params: {
772
- repo: string;
773
- number: number;
774
- page?: number;
775
- page_size?: number;
776
- }) => Promise<ApiLabel[]>;
777
-
778
- post: (params: {
779
- repo: string;
780
- number: number;
781
- post_pull_labels_form: any;
782
- }) => Promise<ApiLabel>;
783
-
784
- put: (params: {
785
- repo: string;
786
- number: number;
787
- put_pull_labels_form: any;
788
- }) => Promise<ApiLabel>;
789
-
790
- deleteByName: (params: {
791
- repo: string;
792
- number: number;
793
- name: string;
794
- }) => Promise<ApiLabel>;
795
- };
796
-
797
- merge: {
798
- put: (params: {
799
- repo: string;
800
- number: number;
801
- merge_pull_request_form: any;
802
- }) => Promise<ApiMergePullResponse>;
803
- };
804
-
805
- reviews: {
806
- post: (params: {
807
- repo: string;
808
- number: number;
809
- post_pull_review_form: any;
810
- }) => Promise<any>;
811
- };
812
- };
813
-
814
- releases: {
815
- list: (params: {
816
- repo: string;
817
- page?: number;
818
- page_size?: number;
819
- }) => Promise<ApiRelease[]>;
820
-
821
- post: (params: {
822
- repo: string;
823
- create_release_form: any;
824
- }) => Promise<any>;
825
-
826
- download: {
827
- get: (params: { repo: string; fileName: string }) => Promise<any>;
828
- };
829
-
830
- tags: {
831
- get: (params: { repo: string; tag: string }) => Promise<ApiRelease>;
832
- };
833
-
834
- delete: (params: { repo: string; release_id: number }) => Promise<any>;
835
-
836
- get: (params: {
837
- repo: string;
838
- release_id: number;
839
- }) => Promise<ApiRelease>;
840
-
841
- patch: (params: {
842
- repo: string;
843
- release_id: number;
844
- patch_release_form: any;
845
- }) => Promise<any>;
846
-
847
- assetUploadConfirmation: {
848
- post: (params: {
849
- repo: string;
850
- release_id: number;
851
- token: string;
852
- asset_path: string;
853
- }) => Promise<any>;
854
- };
855
-
856
- assetUploadUrl: {
857
- post: (params: {
858
- repo: string;
859
- release_id: number;
860
- create_release_asset_upload_url_form: any;
861
- }) => Promise<any>;
862
- };
863
-
864
- assets: {
865
- delete: (params: {
866
- repo: string;
867
- release_id: number;
868
- asset_id: number;
869
- }) => Promise<any>;
870
-
871
- get: (params: {
872
- repo: string;
873
- release_id: number;
874
- asset_id: number;
875
- }) => Promise<ApiReleaseAsset>;
876
- };
877
- };
878
-
879
- settings: {
880
- branchProtections: {
881
- list: (params: { repo: string }) => Promise<ApiBranchProtection[]>;
882
-
883
- post: (params: {
884
- repo: string;
885
- branch_protection_form: any;
886
- }) => Promise<any>;
887
-
888
- delete: (params: { repo: string; id: string }) => Promise<any>;
889
-
890
- get: (params: {
891
- repo: string;
892
- id: string;
893
- }) => Promise<ApiBranchProtection>;
894
-
895
- patch: (params: {
896
- repo: string;
897
- id: string;
898
- branch_protection_form: any;
899
- }) => Promise<any>;
900
- };
901
-
902
- cloudNativeBuild: {
903
- get: (params: { repo: string }) => Promise<ApiPipelineSettings>;
904
-
905
- put: (params: { repo: string; pipeline_form: any }) => Promise<any>;
906
- };
907
-
908
- pullRequest: {
909
- get: (params: { repo: string }) => Promise<ApiPullRequestSettings>;
910
-
911
- put: (params: { repo: string; pull_request_form: any }) => Promise<any>;
912
- };
913
-
914
- pushLimit: {
915
- get: (params: { repo: string }) => Promise<ApiPushLimitSettings>;
916
-
917
- put: (params: { repo: string; push_limit_form: any }) => Promise<any>;
918
- };
919
- };
920
-
921
- stars: {
922
- get: (params: {
923
- repo: string;
924
- filter_type: string;
925
- page: number;
926
- page_size: number;
927
- }) => Promise<DtoRepoStarUsers>;
928
- };
929
-
930
- topActivityUsers: {
931
- list: (params: {
932
- repo: string;
933
- top?: number;
934
- }) => Promise<DtoUsersResult[]>;
935
- };
936
-
937
- upload: {
938
- files: {
939
- post: (params: {
940
- repo: string;
941
- request: any;
942
- }) => Promise<DtoUploadAssetsResponse>;
943
- };
944
-
945
- imgs: {
946
- post: (params: {
947
- repo: string;
948
- request: any;
949
- }) => Promise<DtoUploadAssetsResponse>;
950
- };
951
-
952
- releases: {
953
- post: (params: {
954
- repo: string;
955
- tagName: string;
956
- request: any;
957
- }) => Promise<DtoUploadAssetsResponse>;
958
- };
959
- };
960
-
961
- workspace: {
962
- detail: {
963
- get: (params: {
964
- repo: string;
965
- sn: string;
966
- }) => Promise<DtoWorkspaceDetailResult>;
967
- };
968
- };
969
- };
970
- }