-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathtypes.ts
More file actions
1171 lines (1044 loc) · 25 KB
/
Copy pathtypes.ts
File metadata and controls
1171 lines (1044 loc) · 25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import type { GitLabResourceType } from '@/tools/gitlab/utils'
import type { ToolResponse } from '@/tools/types'
interface GitLabProject {
id: number
name: string
path: string
path_with_namespace: string
description?: string
visibility: string
web_url: string
default_branch?: string
created_at: string
last_activity_at: string
namespace?: {
id: number
name: string
path: string
kind: string
}
owner?: {
id: number
name: string
username: string
}
}
interface GitLabIssue {
id: number
iid: number
project_id: number
title: string
description?: string
state: string
created_at: string
updated_at: string
closed_at?: string
labels: string[]
milestone?: {
id: number
iid: number
title: string
}
assignees?: Array<{
id: number
name: string
username: string
}>
assignee?: {
id: number
name: string
username: string
}
author: {
id: number
name: string
username: string
}
web_url: string
due_date?: string
confidential: boolean
}
interface GitLabMergeRequest {
id: number
iid: number
project_id: number
title: string
description?: string
state: string
created_at: string
updated_at: string
merged_at?: string
closed_at?: string
source_branch: string
target_branch: string
source_project_id: number
target_project_id: number
labels: string[]
milestone?: {
id: number
iid: number
title: string
}
assignee?: {
id: number
name: string
username: string
}
assignees?: Array<{
id: number
name: string
username: string
}>
author: {
id: number
name: string
username: string
}
merge_status: string
web_url: string
draft: boolean
work_in_progress: boolean
has_conflicts: boolean
merge_when_pipeline_succeeds: boolean
}
interface GitLabPipeline {
id: number
iid: number
project_id: number
sha: string
ref: string
status: string
source: string
created_at: string
updated_at: string
web_url: string
user?: {
id: number
name: string
username: string
}
}
interface GitLabTreeEntry {
id: string
name: string
type: string
path: string
mode: string
}
interface GitLabCommit {
id: string
short_id: string
title: string
message: string
author_name: string
authored_date: string
created_at: string
web_url: string
}
interface GitLabJob {
id: number
name: string
stage: string
status: string
started_at?: string | null
finished_at?: string | null
duration?: number | null
web_url: string
ref?: string
}
interface GitLabMergeRequestChange {
old_path: string
new_path: string
diff: string
new_file: boolean
deleted_file: boolean
renamed_file: boolean
}
interface GitLabBranch {
name: string
merged: boolean
protected: boolean
default: boolean
developers_can_push: boolean
developers_can_merge: boolean
can_push: boolean
web_url: string
commit?: {
id: string
short_id: string
title: string
author_name: string
authored_date: string
}
}
interface GitLabNote {
id: number
body: string
author: {
id: number
name: string
username: string
}
created_at: string
updated_at: string
system: boolean
noteable_id: number
noteable_type: string
noteable_iid?: number
}
interface GitLabRelease {
tag_name: string
name?: string
description?: string
created_at: string
released_at?: string
author?: {
id: number
name: string
username: string
}
commit?: {
id: string
short_id: string
title: string
}
milestones?: unknown[]
assets?: {
count?: number
sources?: unknown[]
links?: unknown[]
}
_links?: Record<string, string>
}
interface GitLabBaseParams {
accessToken: string
/**
* Self-managed GitLab host (e.g. `gitlab.example.com`). Optional — defaults to
* `gitlab.com` so existing workflows keep working.
*/
host?: string
}
export interface GitLabListProjectsParams extends GitLabBaseParams {
owned?: boolean
membership?: boolean
search?: string
visibility?: 'public' | 'internal' | 'private'
orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at'
sort?: 'asc' | 'desc'
perPage?: number
page?: number
}
export interface GitLabGetProjectParams extends GitLabBaseParams {
projectId: string | number
}
export interface GitLabListIssuesParams extends GitLabBaseParams {
projectId: string | number
state?: 'opened' | 'closed' | 'all'
labels?: string
assigneeId?: number
milestoneTitle?: string
search?: string
orderBy?:
| 'created_at'
| 'updated_at'
| 'priority'
| 'due_date'
| 'relative_position'
| 'label_priority'
| 'milestone_due'
| 'popularity'
| 'weight'
sort?: 'asc' | 'desc'
perPage?: number
page?: number
}
export interface GitLabGetIssueParams extends GitLabBaseParams {
projectId: string | number
issueIid: number
}
export interface GitLabCreateIssueParams extends GitLabBaseParams {
projectId: string | number
title: string
description?: string
labels?: string
assigneeIds?: number[]
milestoneId?: number
dueDate?: string
confidential?: boolean
}
export interface GitLabUpdateIssueParams extends GitLabBaseParams {
projectId: string | number
issueIid: number
title?: string
description?: string
stateEvent?: 'close' | 'reopen'
labels?: string
assigneeIds?: number[]
milestoneId?: number
dueDate?: string
confidential?: boolean
}
export interface GitLabDeleteIssueParams extends GitLabBaseParams {
projectId: string | number
issueIid: number
}
export interface GitLabListMergeRequestsParams extends GitLabBaseParams {
projectId: string | number
state?: 'opened' | 'closed' | 'locked' | 'merged' | 'all'
labels?: string
sourceBranch?: string
targetBranch?: string
orderBy?:
| 'created_at'
| 'updated_at'
| 'merged_at'
| 'label_priority'
| 'priority'
| 'milestone_due'
| 'popularity'
| 'title'
sort?: 'asc' | 'desc'
perPage?: number
page?: number
}
export interface GitLabGetMergeRequestParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
}
export interface GitLabCreateMergeRequestParams extends GitLabBaseParams {
projectId: string | number
sourceBranch: string
targetBranch: string
title: string
description?: string
labels?: string
assigneeIds?: number[]
milestoneId?: number
removeSourceBranch?: boolean
squash?: boolean
draft?: boolean
}
export interface GitLabUpdateMergeRequestParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
title?: string
description?: string
stateEvent?: 'close' | 'reopen'
labels?: string
assigneeIds?: number[]
milestoneId?: number
targetBranch?: string
removeSourceBranch?: boolean
squash?: boolean
draft?: boolean
}
export interface GitLabMergeMergeRequestParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
mergeCommitMessage?: string
squashCommitMessage?: string
squash?: boolean
shouldRemoveSourceBranch?: boolean
mergeWhenPipelineSucceeds?: boolean
}
export interface GitLabListPipelinesParams extends GitLabBaseParams {
projectId: string | number
ref?: string
status?:
| 'created'
| 'waiting_for_resource'
| 'preparing'
| 'pending'
| 'running'
| 'success'
| 'failed'
| 'canceling'
| 'canceled'
| 'skipped'
| 'manual'
| 'scheduled'
| 'waiting_for_callback'
orderBy?: 'id' | 'status' | 'ref' | 'updated_at' | 'user_id'
sort?: 'asc' | 'desc'
perPage?: number
page?: number
}
export interface GitLabGetPipelineParams extends GitLabBaseParams {
projectId: string | number
pipelineId: number
}
export interface GitLabCreatePipelineParams extends GitLabBaseParams {
projectId: string | number
ref: string
variables?: Array<{ key: string; value: string; variable_type?: 'env_var' | 'file' }>
/** Pipeline inputs (spec:inputs) as a key/value object. */
inputs?: Record<string, unknown>
}
export interface GitLabRetryPipelineParams extends GitLabBaseParams {
projectId: string | number
pipelineId: number
}
export interface GitLabCancelPipelineParams extends GitLabBaseParams {
projectId: string | number
pipelineId: number
}
export interface GitLabListBranchesParams extends GitLabBaseParams {
projectId: string | number
search?: string
perPage?: number
page?: number
}
export interface GitLabCreateBranchParams extends GitLabBaseParams {
projectId: string | number
branch: string
ref: string
}
export interface GitLabDeleteBranchParams extends GitLabBaseParams {
projectId: string | number
branch: string
}
export interface GitLabCompareBranchesParams extends GitLabBaseParams {
projectId: string | number
from: string
to: string
straight?: boolean
fromProjectId?: string | number
unidiff?: boolean
}
export interface GitLabListRepositoryTreeParams extends GitLabBaseParams {
projectId: string | number
path?: string
ref?: string
recursive?: boolean
perPage?: number
page?: number
}
export interface GitLabGetFileParams extends GitLabBaseParams {
projectId: string | number
filePath: string
ref: string
}
export interface GitLabCreateFileParams extends GitLabBaseParams {
projectId: string | number
filePath: string
branch: string
content: string
commitMessage: string
startBranch?: string
authorName?: string
authorEmail?: string
executeFilemode?: boolean
}
export interface GitLabUpdateFileParams extends GitLabBaseParams {
projectId: string | number
filePath: string
branch: string
content: string
commitMessage: string
lastCommitId?: string
startBranch?: string
authorName?: string
authorEmail?: string
executeFilemode?: boolean
}
export interface GitLabListCommitsParams extends GitLabBaseParams {
projectId: string | number
refName?: string
since?: string
until?: string
path?: string
author?: string
perPage?: number
page?: number
}
export interface GitLabGetMergeRequestChangesParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
}
export interface GitLabApproveMergeRequestParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
sha?: string
}
export interface GitLabListPipelineJobsParams extends GitLabBaseParams {
projectId: string | number
pipelineId: number
scope?: string
includeRetried?: boolean
perPage?: number
page?: number
}
export interface GitLabGetJobLogParams extends GitLabBaseParams {
projectId: string | number
jobId: number
}
export interface GitLabPlayJobParams extends GitLabBaseParams {
projectId: string | number
jobId: number
jobVariables?: Array<{ key: string; value: string }>
}
export interface GitLabCreateIssueNoteParams extends GitLabBaseParams {
projectId: string | number
issueIid: number
body: string
internal?: boolean
}
export interface GitLabCreateMergeRequestNoteParams extends GitLabBaseParams {
projectId: string | number
mergeRequestIid: number
body: string
internal?: boolean
}
export interface GitLabListReleasesParams extends GitLabBaseParams {
projectId: string | number
orderBy?: 'released_at' | 'created_at'
sort?: 'asc' | 'desc'
perPage?: number
page?: number
}
export interface GitLabCreateReleaseParams extends GitLabBaseParams {
projectId: string | number
tagName: string
name?: string
description?: string
ref?: string
releasedAt?: string
milestones?: string[]
tagMessage?: string
assetLinks?: Array<{
name: string
url: string
link_type?: 'other' | 'runbook' | 'image' | 'package'
direct_asset_path?: string
}>
}
export interface GitLabListProjectsResponse extends ToolResponse {
output: {
projects?: GitLabProject[]
total?: number
}
}
export interface GitLabGetProjectResponse extends ToolResponse {
output: {
project?: GitLabProject
}
}
export interface GitLabListIssuesResponse extends ToolResponse {
output: {
issues?: GitLabIssue[]
total?: number
}
}
export interface GitLabGetIssueResponse extends ToolResponse {
output: {
issue?: GitLabIssue
}
}
export interface GitLabCreateIssueResponse extends ToolResponse {
output: {
issue?: GitLabIssue
}
}
export interface GitLabUpdateIssueResponse extends ToolResponse {
output: {
issue?: GitLabIssue
}
}
export interface GitLabDeleteIssueResponse extends ToolResponse {
output: {
success?: boolean
}
}
export interface GitLabListMergeRequestsResponse extends ToolResponse {
output: {
mergeRequests?: GitLabMergeRequest[]
total?: number
}
}
export interface GitLabGetMergeRequestResponse extends ToolResponse {
output: {
mergeRequest?: GitLabMergeRequest
}
}
export interface GitLabCreateMergeRequestResponse extends ToolResponse {
output: {
mergeRequest?: GitLabMergeRequest
}
}
export interface GitLabUpdateMergeRequestResponse extends ToolResponse {
output: {
mergeRequest?: GitLabMergeRequest
}
}
export interface GitLabMergeMergeRequestResponse extends ToolResponse {
output: {
mergeRequest?: GitLabMergeRequest
}
}
export interface GitLabListPipelinesResponse extends ToolResponse {
output: {
pipelines?: GitLabPipeline[]
total?: number
}
}
export interface GitLabGetPipelineResponse extends ToolResponse {
output: {
pipeline?: GitLabPipeline
}
}
export interface GitLabCreatePipelineResponse extends ToolResponse {
output: {
pipeline?: GitLabPipeline
}
}
export interface GitLabRetryPipelineResponse extends ToolResponse {
output: {
pipeline?: GitLabPipeline
}
}
export interface GitLabCancelPipelineResponse extends ToolResponse {
output: {
pipeline?: GitLabPipeline
}
}
export interface GitLabListBranchesResponse extends ToolResponse {
output: {
branches?: GitLabBranch[]
total?: number
}
}
export interface GitLabCreateBranchResponse extends ToolResponse {
output: {
name?: string | null
webUrl?: string | null
protected?: boolean | null
commit?: GitLabBranch['commit'] | null
}
}
export interface GitLabDeleteBranchResponse extends ToolResponse {
output: {
success?: boolean
}
}
export interface GitLabCompareBranchesResponse extends ToolResponse {
output: {
commit?: unknown
commits?: unknown[]
diffs?: unknown[]
compareTimeout?: boolean | null
compareSameRef?: boolean | null
webUrl?: string | null
}
}
export interface GitLabCreateNoteResponse extends ToolResponse {
output: {
note?: GitLabNote
}
}
export interface GitLabListReleasesResponse extends ToolResponse {
output: {
releases?: GitLabRelease[]
total?: number
}
}
export interface GitLabCreateReleaseResponse extends ToolResponse {
output: {
release?: GitLabRelease
}
}
export interface GitLabListRepositoryTreeResponse extends ToolResponse {
output: {
tree?: GitLabTreeEntry[]
total?: number
}
}
export interface GitLabGetFileResponse extends ToolResponse {
output: {
filePath?: string | null
fileName?: string | null
size?: number | null
ref?: string | null
blobId?: string | null
lastCommitId?: string | null
content?: string
truncated?: boolean
}
}
export interface GitLabCreateFileResponse extends ToolResponse {
output: {
filePath?: string | null
branch?: string | null
}
}
export interface GitLabUpdateFileResponse extends ToolResponse {
output: {
filePath?: string | null
branch?: string | null
}
}
export interface GitLabListCommitsResponse extends ToolResponse {
output: {
commits?: GitLabCommit[]
total?: number
}
}
export interface GitLabGetMergeRequestChangesResponse extends ToolResponse {
output: {
mergeRequestIid?: number | null
changes?: GitLabMergeRequestChange[]
changesCount?: number
hasMore?: boolean
}
}
export interface GitLabApproveMergeRequestResponse extends ToolResponse {
output: {
approvalsRequired?: number | null
approvalsLeft?: number | null
approvedBy?: unknown[]
}
}
export interface GitLabListPipelineJobsResponse extends ToolResponse {
output: {
jobs?: GitLabJob[]
total?: number
}
}
export interface GitLabGetJobLogResponse extends ToolResponse {
output: {
log?: string
truncated?: boolean
}
}
export interface GitLabPlayJobResponse extends ToolResponse {
output: {
id?: number | null
name?: string | null
status?: string | null
webUrl?: string | null
}
}
interface GitLabMember {
id: number
username: string
name: string
state: string
access_level: number
web_url?: string
expires_at?: string | null
membership_state?: string
member_role?: { id: number; name: string } | null
}
interface GitLabInvitation {
id?: number
invite_email: string
access_level: number
created_at?: string
expires_at?: string | null
user_name?: string
created_by_name?: string
invite_token?: string
member_role_id?: number | null
}
interface GitLabAccessRequest {
id: number
username: string
name: string
state: string
requested_at: string
access_level?: number
web_url?: string
}
interface GitLabSamlGroupLink {
name: string
access_level: number
member_role_id?: number | null
provider?: string | null
}
interface GitLabUser {
id: number
username: string
name: string
email?: string
state: string
web_url?: string
is_admin?: boolean
created_at?: string
}
/**
* The access resources (`/members`, `/invitations`, `/access_requests`) exist
* on both projects and groups; the tool receives `resourceType` to select which.
*/
interface GitLabResourceScopedParams extends GitLabBaseParams {
resourceType: GitLabResourceType
resourceId: string | number
}
export interface GitLabListMembersParams extends GitLabResourceScopedParams {
/** When true, returns only direct members (`/members`). Defaults to false, which returns inherited members too (`/members/all`). */
directOnly?: boolean
query?: string
/** Comma-separated user IDs to filter to. */
userIds?: string
/** 'awaiting' | 'active' — inherited-member listings only (Premium/Ultimate). */
state?: string
showSeatInfo?: boolean
perPage?: number
page?: number
}
export interface GitLabAddMemberParams extends GitLabResourceScopedParams {
/** Provide either userId or username to identify the user. */
userId?: number
username?: string
accessLevel: number
expiresAt?: string
memberRoleId?: number
}
export interface GitLabUpdateMemberParams extends GitLabResourceScopedParams {
userId: number
accessLevel: number
expiresAt?: string
memberRoleId?: number
}
export interface GitLabRemoveMemberParams extends GitLabResourceScopedParams {
userId: number
skipSubresources?: boolean
unassignIssuables?: boolean
}
export interface GitLabInviteMemberParams extends GitLabResourceScopedParams {
email: string
accessLevel: number
expiresAt?: string
memberRoleId?: number
inviteSource?: string
}
export interface GitLabListInvitationsParams extends GitLabResourceScopedParams {
query?: string
perPage?: number
page?: number
}
export interface GitLabUpdateInvitationParams extends GitLabResourceScopedParams {
email: string
accessLevel?: number
expiresAt?: string
}
export interface GitLabRevokeInvitationParams extends GitLabResourceScopedParams {
email: string
}
export interface GitLabListAccessRequestsParams extends GitLabResourceScopedParams {
perPage?: number
page?: number
}
export interface GitLabApproveAccessRequestParams extends GitLabResourceScopedParams {
userId: number
accessLevel?: number
}
export interface GitLabDenyAccessRequestParams extends GitLabResourceScopedParams {
userId: number
}
export interface GitLabListSamlGroupLinksParams extends GitLabBaseParams {
groupId: string | number
}
export interface GitLabAddSamlGroupLinkParams extends GitLabBaseParams {
groupId: string | number
samlGroupName: string
accessLevel: number
memberRoleId?: number
provider?: string
}
export interface GitLabDeleteSamlGroupLinkParams extends GitLabBaseParams {
groupId: string | number
samlGroupName: string
/** Provider name; required by GitLab when multiple links share the same SAML group name. */
provider?: string
}
export interface GitLabSearchUsersParams extends GitLabBaseParams {
search: string
perPage?: number
page?: number
}
export interface GitLabCreateUserParams extends GitLabBaseParams {
email: string
username: string
name: string
password?: string
resetPassword?: boolean
forceRandomPassword?: boolean
admin?: boolean
skipConfirmation?: boolean
}
export interface GitLabUpdateUserParams extends GitLabBaseParams {
userId: number
email?: string
username?: string
name?: string
admin?: boolean
}
export interface GitLabDeleteUserParams extends GitLabBaseParams {
userId: number
hardDelete?: boolean
}
/** Shared shape for the single-user POST actions (block/unblock/deactivate/activate/ban/unban/approve/reject). */
export interface GitLabUserActionParams extends GitLabBaseParams {
userId: number
}
export interface GitLabDeleteUserIdentityParams extends GitLabBaseParams {
userId: number
provider: string
}
export interface GitLabListMembersResponse extends ToolResponse {
output: {
members?: GitLabMember[]
total?: number
}
}