@structured-world/gitlab-mcp 5.6.1 → 5.8.0
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/README.md +236 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.js +6 -1
- package/dist/config.js.map +1 -1
- package/dist/entities/core/registry.js +53 -20
- package/dist/entities/core/registry.js.map +1 -1
- package/dist/entities/core/schema-readonly.d.ts +172 -442
- package/dist/entities/core/schema.d.ts +65 -173
- package/dist/entities/files/registry.js +51 -22
- package/dist/entities/files/registry.js.map +1 -1
- package/dist/entities/files/schema-readonly.d.ts +24 -124
- package/dist/entities/files/schema.d.ts +17 -82
- package/dist/entities/labels/registry.js +39 -6
- package/dist/entities/labels/registry.js.map +1 -1
- package/dist/entities/labels/schema-readonly.d.ts +6 -24
- package/dist/entities/labels/schema.d.ts +5 -37
- package/dist/entities/milestones/registry.js +44 -11
- package/dist/entities/milestones/registry.js.map +1 -1
- package/dist/entities/milestones/schema-readonly.d.ts +20 -100
- package/dist/entities/milestones/schema.d.ts +11 -48
- package/dist/entities/mrs/registry.js +56 -23
- package/dist/entities/mrs/registry.js.map +1 -1
- package/dist/entities/mrs/schema-readonly.d.ts +68 -243
- package/dist/entities/mrs/schema.d.ts +142 -885
- package/dist/entities/pipelines/registry.js +46 -13
- package/dist/entities/pipelines/registry.js.map +1 -1
- package/dist/entities/pipelines/schema-readonly.d.ts +115 -525
- package/dist/entities/pipelines/schema.d.ts +30 -104
- package/dist/entities/shared.d.ts +110 -787
- package/dist/entities/utils.d.ts +2 -2
- package/dist/entities/variables/registry.js +40 -7
- package/dist/entities/variables/registry.js.map +1 -1
- package/dist/entities/variables/schema-readonly.d.ts +3 -28
- package/dist/entities/variables/schema.d.ts +20 -80
- package/dist/entities/wiki/registry.js +40 -13
- package/dist/entities/wiki/registry.js.map +1 -1
- package/dist/entities/wiki/schema-readonly.d.ts +4 -35
- package/dist/entities/wiki/schema.d.ts +3 -31
- package/dist/entities/workitems/registry.js +40 -7
- package/dist/entities/workitems/registry.js.map +1 -1
- package/dist/entities/workitems/schema-readonly.d.ts +35 -32
- package/dist/entities/workitems/schema-readonly.js +1 -1
- package/dist/entities/workitems/schema-readonly.js.map +1 -1
- package/dist/entities/workitems/schema.d.ts +21 -45
- package/dist/middleware/index.d.ts +1 -0
- package/dist/middleware/index.js +8 -0
- package/dist/middleware/index.js.map +1 -0
- package/dist/middleware/oauth-auth.d.ts +4 -0
- package/dist/middleware/oauth-auth.js +135 -0
- package/dist/middleware/oauth-auth.js.map +1 -0
- package/dist/oauth/config.d.ts +19 -0
- package/dist/oauth/config.js +70 -0
- package/dist/oauth/config.js.map +1 -0
- package/dist/oauth/endpoints/authorize.d.ts +3 -0
- package/dist/oauth/endpoints/authorize.js +414 -0
- package/dist/oauth/endpoints/authorize.js.map +1 -0
- package/dist/oauth/endpoints/index.d.ts +3 -0
- package/dist/oauth/endpoints/index.js +13 -0
- package/dist/oauth/endpoints/index.js.map +1 -0
- package/dist/oauth/endpoints/metadata.d.ts +4 -0
- package/dist/oauth/endpoints/metadata.js +36 -0
- package/dist/oauth/endpoints/metadata.js.map +1 -0
- package/dist/oauth/endpoints/token.d.ts +2 -0
- package/dist/oauth/endpoints/token.js +159 -0
- package/dist/oauth/endpoints/token.js.map +1 -0
- package/dist/oauth/gitlab-device-flow.d.ts +8 -0
- package/dist/oauth/gitlab-device-flow.js +172 -0
- package/dist/oauth/gitlab-device-flow.js.map +1 -0
- package/dist/oauth/index.d.ts +8 -0
- package/dist/oauth/index.js +48 -0
- package/dist/oauth/index.js.map +1 -0
- package/dist/oauth/session-store.d.ts +37 -0
- package/dist/oauth/session-store.js +182 -0
- package/dist/oauth/session-store.js.map +1 -0
- package/dist/oauth/token-context.d.ts +8 -0
- package/dist/oauth/token-context.js +40 -0
- package/dist/oauth/token-context.js.map +1 -0
- package/dist/oauth/token-utils.d.ts +14 -0
- package/dist/oauth/token-utils.js +148 -0
- package/dist/oauth/token-utils.js.map +1 -0
- package/dist/oauth/types.d.ts +94 -0
- package/dist/oauth/types.js +3 -0
- package/dist/oauth/types.js.map +1 -0
- package/dist/server.js +147 -9
- package/dist/server.js.map +1 -1
- package/dist/structured-world-gitlab-mcp-5.8.0.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/fetch.d.ts +3 -7
- package/dist/utils/fetch.js +82 -54
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/workItemTypes.d.ts +1 -1
- package/dist/utils/workItemTypes.js +2 -2
- package/dist/utils/workItemTypes.js.map +1 -1
- package/package.json +23 -23
- package/dist/structured-world-gitlab-mcp-5.6.1.tgz +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const GitLabPipelineSchema: z.ZodObject<{
|
|
3
|
-
id: z.
|
|
4
|
-
project_id: z.
|
|
3
|
+
id: z.ZodCoercedString<unknown>;
|
|
4
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
5
5
|
sha: z.ZodString;
|
|
6
6
|
ref: z.ZodString;
|
|
7
7
|
status: z.ZodString;
|
|
@@ -12,181 +12,51 @@ export declare const GitLabPipelineSchema: z.ZodObject<{
|
|
|
12
12
|
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
coverage: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
16
16
|
user: z.ZodOptional<z.ZodObject<{
|
|
17
|
-
id: z.
|
|
17
|
+
id: z.ZodCoercedString<unknown>;
|
|
18
18
|
name: z.ZodString;
|
|
19
19
|
username: z.ZodString;
|
|
20
20
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
},
|
|
22
|
-
name: string;
|
|
23
|
-
id: string;
|
|
24
|
-
username: string;
|
|
25
|
-
avatar_url?: string | null | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
name: string;
|
|
28
|
-
id: string;
|
|
29
|
-
username: string;
|
|
30
|
-
avatar_url?: string | null | undefined;
|
|
31
|
-
}>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
32
22
|
detailed_status: z.ZodOptional<z.ZodObject<{
|
|
33
23
|
icon: z.ZodOptional<z.ZodString>;
|
|
34
24
|
text: z.ZodOptional<z.ZodString>;
|
|
35
25
|
label: z.ZodOptional<z.ZodString>;
|
|
36
26
|
group: z.ZodOptional<z.ZodString>;
|
|
37
27
|
tooltip: z.ZodOptional<z.ZodString>;
|
|
38
|
-
has_details: z.ZodOptional<z.
|
|
28
|
+
has_details: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
39
29
|
details_path: z.ZodOptional<z.ZodString>;
|
|
40
30
|
illustration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
31
|
image: z.ZodOptional<z.ZodString>;
|
|
42
32
|
size: z.ZodOptional<z.ZodString>;
|
|
43
33
|
title: z.ZodOptional<z.ZodString>;
|
|
44
|
-
},
|
|
45
|
-
title?: string | undefined;
|
|
46
|
-
image?: string | undefined;
|
|
47
|
-
size?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
title?: string | undefined;
|
|
50
|
-
image?: string | undefined;
|
|
51
|
-
size?: string | undefined;
|
|
52
|
-
}>>>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
53
35
|
favicon: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
text?: string | undefined;
|
|
57
|
-
icon?: string | undefined;
|
|
58
|
-
label?: string | undefined;
|
|
59
|
-
tooltip?: string | undefined;
|
|
60
|
-
has_details?: boolean | undefined;
|
|
61
|
-
details_path?: string | undefined;
|
|
62
|
-
illustration?: {
|
|
63
|
-
title?: string | undefined;
|
|
64
|
-
image?: string | undefined;
|
|
65
|
-
size?: string | undefined;
|
|
66
|
-
} | null | undefined;
|
|
67
|
-
favicon?: string | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
group?: string | undefined;
|
|
70
|
-
text?: string | undefined;
|
|
71
|
-
icon?: string | undefined;
|
|
72
|
-
label?: string | undefined;
|
|
73
|
-
tooltip?: string | undefined;
|
|
74
|
-
has_details?: unknown;
|
|
75
|
-
details_path?: string | undefined;
|
|
76
|
-
illustration?: {
|
|
77
|
-
title?: string | undefined;
|
|
78
|
-
image?: string | undefined;
|
|
79
|
-
size?: string | undefined;
|
|
80
|
-
} | null | undefined;
|
|
81
|
-
favicon?: string | undefined;
|
|
82
|
-
}>>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
status: string;
|
|
85
|
-
id: string;
|
|
86
|
-
web_url: string;
|
|
87
|
-
project_id: string;
|
|
88
|
-
created_at: string;
|
|
89
|
-
updated_at: string;
|
|
90
|
-
ref: string;
|
|
91
|
-
sha: string;
|
|
92
|
-
user?: {
|
|
93
|
-
name: string;
|
|
94
|
-
id: string;
|
|
95
|
-
username: string;
|
|
96
|
-
avatar_url?: string | null | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
duration?: number | null | undefined;
|
|
99
|
-
source?: string | undefined;
|
|
100
|
-
started_at?: string | null | undefined;
|
|
101
|
-
finished_at?: string | null | undefined;
|
|
102
|
-
coverage?: number | null | undefined;
|
|
103
|
-
detailed_status?: {
|
|
104
|
-
group?: string | undefined;
|
|
105
|
-
text?: string | undefined;
|
|
106
|
-
icon?: string | undefined;
|
|
107
|
-
label?: string | undefined;
|
|
108
|
-
tooltip?: string | undefined;
|
|
109
|
-
has_details?: boolean | undefined;
|
|
110
|
-
details_path?: string | undefined;
|
|
111
|
-
illustration?: {
|
|
112
|
-
title?: string | undefined;
|
|
113
|
-
image?: string | undefined;
|
|
114
|
-
size?: string | undefined;
|
|
115
|
-
} | null | undefined;
|
|
116
|
-
favicon?: string | undefined;
|
|
117
|
-
} | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
status: string;
|
|
120
|
-
id: string;
|
|
121
|
-
web_url: string;
|
|
122
|
-
project_id: string;
|
|
123
|
-
created_at: string;
|
|
124
|
-
updated_at: string;
|
|
125
|
-
ref: string;
|
|
126
|
-
sha: string;
|
|
127
|
-
user?: {
|
|
128
|
-
name: string;
|
|
129
|
-
id: string;
|
|
130
|
-
username: string;
|
|
131
|
-
avatar_url?: string | null | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
duration?: number | null | undefined;
|
|
134
|
-
source?: string | undefined;
|
|
135
|
-
started_at?: string | null | undefined;
|
|
136
|
-
finished_at?: string | null | undefined;
|
|
137
|
-
coverage?: number | null | undefined;
|
|
138
|
-
detailed_status?: {
|
|
139
|
-
group?: string | undefined;
|
|
140
|
-
text?: string | undefined;
|
|
141
|
-
icon?: string | undefined;
|
|
142
|
-
label?: string | undefined;
|
|
143
|
-
tooltip?: string | undefined;
|
|
144
|
-
has_details?: unknown;
|
|
145
|
-
details_path?: string | undefined;
|
|
146
|
-
illustration?: {
|
|
147
|
-
title?: string | undefined;
|
|
148
|
-
image?: string | undefined;
|
|
149
|
-
size?: string | undefined;
|
|
150
|
-
} | null | undefined;
|
|
151
|
-
favicon?: string | undefined;
|
|
152
|
-
} | undefined;
|
|
153
|
-
}>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
154
38
|
export declare const GitLabPipelineJobSchema: z.ZodObject<{
|
|
155
|
-
id: z.
|
|
39
|
+
id: z.ZodCoercedString<unknown>;
|
|
156
40
|
status: z.ZodString;
|
|
157
41
|
stage: z.ZodString;
|
|
158
42
|
name: z.ZodString;
|
|
159
43
|
ref: z.ZodString;
|
|
160
|
-
tag: z.
|
|
161
|
-
coverage: z.ZodOptional<z.ZodNullable<z.
|
|
162
|
-
allow_failure: z.ZodOptional<z.
|
|
44
|
+
tag: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
45
|
+
coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
46
|
+
allow_failure: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
163
47
|
created_at: z.ZodString;
|
|
164
48
|
started_at: z.ZodOptional<z.ZodString>;
|
|
165
49
|
finished_at: z.ZodOptional<z.ZodString>;
|
|
166
50
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
167
51
|
queued_duration: z.ZodOptional<z.ZodNumber>;
|
|
168
52
|
user: z.ZodOptional<z.ZodObject<{
|
|
169
|
-
id: z.
|
|
53
|
+
id: z.ZodCoercedString<unknown>;
|
|
170
54
|
name: z.ZodString;
|
|
171
55
|
username: z.ZodString;
|
|
172
56
|
state: z.ZodString;
|
|
173
57
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
58
|
web_url: z.ZodString;
|
|
175
|
-
},
|
|
176
|
-
name: string;
|
|
177
|
-
id: string;
|
|
178
|
-
state: string;
|
|
179
|
-
web_url: string;
|
|
180
|
-
username: string;
|
|
181
|
-
avatar_url?: string | null | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
name: string;
|
|
184
|
-
id: string;
|
|
185
|
-
state: string;
|
|
186
|
-
web_url: string;
|
|
187
|
-
username: string;
|
|
188
|
-
avatar_url?: string | null | undefined;
|
|
189
|
-
}>>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
190
60
|
commit: z.ZodOptional<z.ZodObject<{
|
|
191
61
|
id: z.ZodString;
|
|
192
62
|
short_id: z.ZodString;
|
|
@@ -195,158 +65,38 @@ export declare const GitLabPipelineJobSchema: z.ZodObject<{
|
|
|
195
65
|
author_email: z.ZodString;
|
|
196
66
|
created_at: z.ZodString;
|
|
197
67
|
message: z.ZodString;
|
|
198
|
-
},
|
|
199
|
-
message: string;
|
|
200
|
-
id: string;
|
|
201
|
-
title: string;
|
|
202
|
-
created_at: string;
|
|
203
|
-
short_id: string;
|
|
204
|
-
author_name: string;
|
|
205
|
-
author_email: string;
|
|
206
|
-
}, {
|
|
207
|
-
message: string;
|
|
208
|
-
id: string;
|
|
209
|
-
title: string;
|
|
210
|
-
created_at: string;
|
|
211
|
-
short_id: string;
|
|
212
|
-
author_name: string;
|
|
213
|
-
author_email: string;
|
|
214
|
-
}>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
215
69
|
pipeline: z.ZodOptional<z.ZodObject<{
|
|
216
|
-
id: z.
|
|
217
|
-
project_id: z.
|
|
70
|
+
id: z.ZodCoercedString<unknown>;
|
|
71
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
218
72
|
ref: z.ZodString;
|
|
219
73
|
sha: z.ZodString;
|
|
220
74
|
status: z.ZodString;
|
|
221
|
-
},
|
|
222
|
-
status: string;
|
|
223
|
-
id: string;
|
|
224
|
-
project_id: string;
|
|
225
|
-
ref: string;
|
|
226
|
-
sha: string;
|
|
227
|
-
}, {
|
|
228
|
-
status: string;
|
|
229
|
-
id: string;
|
|
230
|
-
project_id: string;
|
|
231
|
-
ref: string;
|
|
232
|
-
sha: string;
|
|
233
|
-
}>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
234
76
|
web_url: z.ZodString;
|
|
235
|
-
},
|
|
236
|
-
name: string;
|
|
237
|
-
status: string;
|
|
238
|
-
id: string;
|
|
239
|
-
web_url: string;
|
|
240
|
-
created_at: string;
|
|
241
|
-
ref: string;
|
|
242
|
-
stage: string;
|
|
243
|
-
tag: boolean;
|
|
244
|
-
commit?: {
|
|
245
|
-
message: string;
|
|
246
|
-
id: string;
|
|
247
|
-
title: string;
|
|
248
|
-
created_at: string;
|
|
249
|
-
short_id: string;
|
|
250
|
-
author_name: string;
|
|
251
|
-
author_email: string;
|
|
252
|
-
} | undefined;
|
|
253
|
-
user?: {
|
|
254
|
-
name: string;
|
|
255
|
-
id: string;
|
|
256
|
-
state: string;
|
|
257
|
-
web_url: string;
|
|
258
|
-
username: string;
|
|
259
|
-
avatar_url?: string | null | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
duration?: number | undefined;
|
|
262
|
-
started_at?: string | undefined;
|
|
263
|
-
finished_at?: string | undefined;
|
|
264
|
-
coverage?: number | null | undefined;
|
|
265
|
-
allow_failure?: boolean | undefined;
|
|
266
|
-
queued_duration?: number | undefined;
|
|
267
|
-
pipeline?: {
|
|
268
|
-
status: string;
|
|
269
|
-
id: string;
|
|
270
|
-
project_id: string;
|
|
271
|
-
ref: string;
|
|
272
|
-
sha: string;
|
|
273
|
-
} | undefined;
|
|
274
|
-
}, {
|
|
275
|
-
name: string;
|
|
276
|
-
status: string;
|
|
277
|
-
id: string;
|
|
278
|
-
web_url: string;
|
|
279
|
-
created_at: string;
|
|
280
|
-
ref: string;
|
|
281
|
-
stage: string;
|
|
282
|
-
commit?: {
|
|
283
|
-
message: string;
|
|
284
|
-
id: string;
|
|
285
|
-
title: string;
|
|
286
|
-
created_at: string;
|
|
287
|
-
short_id: string;
|
|
288
|
-
author_name: string;
|
|
289
|
-
author_email: string;
|
|
290
|
-
} | undefined;
|
|
291
|
-
user?: {
|
|
292
|
-
name: string;
|
|
293
|
-
id: string;
|
|
294
|
-
state: string;
|
|
295
|
-
web_url: string;
|
|
296
|
-
username: string;
|
|
297
|
-
avatar_url?: string | null | undefined;
|
|
298
|
-
} | undefined;
|
|
299
|
-
duration?: number | undefined;
|
|
300
|
-
started_at?: string | undefined;
|
|
301
|
-
finished_at?: string | undefined;
|
|
302
|
-
coverage?: number | null | undefined;
|
|
303
|
-
tag?: unknown;
|
|
304
|
-
allow_failure?: unknown;
|
|
305
|
-
queued_duration?: number | undefined;
|
|
306
|
-
pipeline?: {
|
|
307
|
-
status: string;
|
|
308
|
-
id: string;
|
|
309
|
-
project_id: string;
|
|
310
|
-
ref: string;
|
|
311
|
-
sha: string;
|
|
312
|
-
} | undefined;
|
|
313
|
-
}>;
|
|
77
|
+
}, z.core.$strip>;
|
|
314
78
|
export declare const GitLabPipelineTriggerJobSchema: z.ZodObject<{
|
|
315
|
-
id: z.
|
|
79
|
+
id: z.ZodCoercedString<unknown>;
|
|
316
80
|
status: z.ZodString;
|
|
317
81
|
stage: z.ZodString;
|
|
318
82
|
name: z.ZodString;
|
|
319
83
|
ref: z.ZodString;
|
|
320
|
-
tag: z.
|
|
321
|
-
coverage: z.ZodOptional<z.ZodNullable<z.
|
|
322
|
-
allow_failure: z.ZodOptional<z.
|
|
84
|
+
tag: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
85
|
+
coverage: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
86
|
+
allow_failure: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
323
87
|
created_at: z.ZodString;
|
|
324
88
|
started_at: z.ZodOptional<z.ZodString>;
|
|
325
89
|
finished_at: z.ZodOptional<z.ZodString>;
|
|
326
90
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
327
91
|
queued_duration: z.ZodOptional<z.ZodNumber>;
|
|
328
92
|
user: z.ZodOptional<z.ZodObject<{
|
|
329
|
-
id: z.
|
|
93
|
+
id: z.ZodCoercedString<unknown>;
|
|
330
94
|
name: z.ZodString;
|
|
331
95
|
username: z.ZodString;
|
|
332
96
|
state: z.ZodString;
|
|
333
97
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
98
|
web_url: z.ZodString;
|
|
335
|
-
},
|
|
336
|
-
name: string;
|
|
337
|
-
id: string;
|
|
338
|
-
state: string;
|
|
339
|
-
web_url: string;
|
|
340
|
-
username: string;
|
|
341
|
-
avatar_url?: string | null | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
name: string;
|
|
344
|
-
id: string;
|
|
345
|
-
state: string;
|
|
346
|
-
web_url: string;
|
|
347
|
-
username: string;
|
|
348
|
-
avatar_url?: string | null | undefined;
|
|
349
|
-
}>>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
350
100
|
commit: z.ZodOptional<z.ZodObject<{
|
|
351
101
|
id: z.ZodString;
|
|
352
102
|
short_id: z.ZodString;
|
|
@@ -355,170 +105,62 @@ export declare const GitLabPipelineTriggerJobSchema: z.ZodObject<{
|
|
|
355
105
|
author_email: z.ZodString;
|
|
356
106
|
created_at: z.ZodString;
|
|
357
107
|
message: z.ZodString;
|
|
358
|
-
},
|
|
359
|
-
message: string;
|
|
360
|
-
id: string;
|
|
361
|
-
title: string;
|
|
362
|
-
created_at: string;
|
|
363
|
-
short_id: string;
|
|
364
|
-
author_name: string;
|
|
365
|
-
author_email: string;
|
|
366
|
-
}, {
|
|
367
|
-
message: string;
|
|
368
|
-
id: string;
|
|
369
|
-
title: string;
|
|
370
|
-
created_at: string;
|
|
371
|
-
short_id: string;
|
|
372
|
-
author_name: string;
|
|
373
|
-
author_email: string;
|
|
374
|
-
}>>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
375
109
|
pipeline: z.ZodOptional<z.ZodObject<{
|
|
376
|
-
id: z.
|
|
377
|
-
project_id: z.
|
|
110
|
+
id: z.ZodCoercedString<unknown>;
|
|
111
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
378
112
|
ref: z.ZodString;
|
|
379
113
|
sha: z.ZodString;
|
|
380
114
|
status: z.ZodString;
|
|
381
|
-
},
|
|
382
|
-
status: string;
|
|
383
|
-
id: string;
|
|
384
|
-
project_id: string;
|
|
385
|
-
ref: string;
|
|
386
|
-
sha: string;
|
|
387
|
-
}, {
|
|
388
|
-
status: string;
|
|
389
|
-
id: string;
|
|
390
|
-
project_id: string;
|
|
391
|
-
ref: string;
|
|
392
|
-
sha: string;
|
|
393
|
-
}>>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
394
116
|
web_url: z.ZodString;
|
|
395
117
|
downstream_pipeline: z.ZodOptional<z.ZodObject<{
|
|
396
|
-
id: z.
|
|
118
|
+
id: z.ZodCoercedString<unknown>;
|
|
397
119
|
sha: z.ZodString;
|
|
398
120
|
ref: z.ZodString;
|
|
399
121
|
status: z.ZodString;
|
|
400
122
|
created_at: z.ZodString;
|
|
401
123
|
updated_at: z.ZodString;
|
|
402
124
|
web_url: z.ZodString;
|
|
403
|
-
},
|
|
404
|
-
|
|
405
|
-
id: string;
|
|
406
|
-
web_url: string;
|
|
407
|
-
created_at: string;
|
|
408
|
-
updated_at: string;
|
|
409
|
-
ref: string;
|
|
410
|
-
sha: string;
|
|
411
|
-
}, {
|
|
412
|
-
status: string;
|
|
413
|
-
id: string;
|
|
414
|
-
web_url: string;
|
|
415
|
-
created_at: string;
|
|
416
|
-
updated_at: string;
|
|
417
|
-
ref: string;
|
|
418
|
-
sha: string;
|
|
419
|
-
}>>;
|
|
420
|
-
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
name: string;
|
|
422
|
-
status: string;
|
|
423
|
-
id: string;
|
|
424
|
-
web_url: string;
|
|
425
|
-
created_at: string;
|
|
426
|
-
ref: string;
|
|
427
|
-
stage: string;
|
|
428
|
-
tag: boolean;
|
|
429
|
-
commit?: {
|
|
430
|
-
message: string;
|
|
431
|
-
id: string;
|
|
432
|
-
title: string;
|
|
433
|
-
created_at: string;
|
|
434
|
-
short_id: string;
|
|
435
|
-
author_name: string;
|
|
436
|
-
author_email: string;
|
|
437
|
-
} | undefined;
|
|
438
|
-
user?: {
|
|
439
|
-
name: string;
|
|
440
|
-
id: string;
|
|
441
|
-
state: string;
|
|
442
|
-
web_url: string;
|
|
443
|
-
username: string;
|
|
444
|
-
avatar_url?: string | null | undefined;
|
|
445
|
-
} | undefined;
|
|
446
|
-
duration?: number | undefined;
|
|
447
|
-
started_at?: string | undefined;
|
|
448
|
-
finished_at?: string | undefined;
|
|
449
|
-
coverage?: number | null | undefined;
|
|
450
|
-
allow_failure?: boolean | undefined;
|
|
451
|
-
queued_duration?: number | undefined;
|
|
452
|
-
pipeline?: {
|
|
453
|
-
status: string;
|
|
454
|
-
id: string;
|
|
455
|
-
project_id: string;
|
|
456
|
-
ref: string;
|
|
457
|
-
sha: string;
|
|
458
|
-
} | undefined;
|
|
459
|
-
downstream_pipeline?: {
|
|
460
|
-
status: string;
|
|
461
|
-
id: string;
|
|
462
|
-
web_url: string;
|
|
463
|
-
created_at: string;
|
|
464
|
-
updated_at: string;
|
|
465
|
-
ref: string;
|
|
466
|
-
sha: string;
|
|
467
|
-
} | undefined;
|
|
468
|
-
}, {
|
|
469
|
-
name: string;
|
|
470
|
-
status: string;
|
|
471
|
-
id: string;
|
|
472
|
-
web_url: string;
|
|
473
|
-
created_at: string;
|
|
474
|
-
ref: string;
|
|
475
|
-
stage: string;
|
|
476
|
-
commit?: {
|
|
477
|
-
message: string;
|
|
478
|
-
id: string;
|
|
479
|
-
title: string;
|
|
480
|
-
created_at: string;
|
|
481
|
-
short_id: string;
|
|
482
|
-
author_name: string;
|
|
483
|
-
author_email: string;
|
|
484
|
-
} | undefined;
|
|
485
|
-
user?: {
|
|
486
|
-
name: string;
|
|
487
|
-
id: string;
|
|
488
|
-
state: string;
|
|
489
|
-
web_url: string;
|
|
490
|
-
username: string;
|
|
491
|
-
avatar_url?: string | null | undefined;
|
|
492
|
-
} | undefined;
|
|
493
|
-
duration?: number | undefined;
|
|
494
|
-
started_at?: string | undefined;
|
|
495
|
-
finished_at?: string | undefined;
|
|
496
|
-
coverage?: number | null | undefined;
|
|
497
|
-
tag?: unknown;
|
|
498
|
-
allow_failure?: unknown;
|
|
499
|
-
queued_duration?: number | undefined;
|
|
500
|
-
pipeline?: {
|
|
501
|
-
status: string;
|
|
502
|
-
id: string;
|
|
503
|
-
project_id: string;
|
|
504
|
-
ref: string;
|
|
505
|
-
sha: string;
|
|
506
|
-
} | undefined;
|
|
507
|
-
downstream_pipeline?: {
|
|
508
|
-
status: string;
|
|
509
|
-
id: string;
|
|
510
|
-
web_url: string;
|
|
511
|
-
created_at: string;
|
|
512
|
-
updated_at: string;
|
|
513
|
-
ref: string;
|
|
514
|
-
sha: string;
|
|
515
|
-
} | undefined;
|
|
516
|
-
}>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
517
127
|
export declare const ListPipelinesSchema: z.ZodObject<{
|
|
518
|
-
project_id: z.
|
|
519
|
-
scope: z.ZodOptional<z.ZodEnum<
|
|
520
|
-
|
|
521
|
-
|
|
128
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
129
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
pending: "pending";
|
|
131
|
+
running: "running";
|
|
132
|
+
finished: "finished";
|
|
133
|
+
branches: "branches";
|
|
134
|
+
tags: "tags";
|
|
135
|
+
}>>;
|
|
136
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
pending: "pending";
|
|
138
|
+
failed: "failed";
|
|
139
|
+
manual: "manual";
|
|
140
|
+
success: "success";
|
|
141
|
+
created: "created";
|
|
142
|
+
running: "running";
|
|
143
|
+
waiting_for_resource: "waiting_for_resource";
|
|
144
|
+
preparing: "preparing";
|
|
145
|
+
canceled: "canceled";
|
|
146
|
+
skipped: "skipped";
|
|
147
|
+
scheduled: "scheduled";
|
|
148
|
+
}>>;
|
|
149
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
push: "push";
|
|
151
|
+
external: "external";
|
|
152
|
+
web: "web";
|
|
153
|
+
trigger: "trigger";
|
|
154
|
+
schedule: "schedule";
|
|
155
|
+
api: "api";
|
|
156
|
+
chat: "chat";
|
|
157
|
+
webide: "webide";
|
|
158
|
+
merge_request_event: "merge_request_event";
|
|
159
|
+
external_pull_request_event: "external_pull_request_event";
|
|
160
|
+
parent_pipeline: "parent_pipeline";
|
|
161
|
+
ondemand_dast_scan: "ondemand_dast_scan";
|
|
162
|
+
ondemand_dast_validation: "ondemand_dast_validation";
|
|
163
|
+
}>>;
|
|
522
164
|
ref: z.ZodOptional<z.ZodString>;
|
|
523
165
|
sha: z.ZodOptional<z.ZodString>;
|
|
524
166
|
yaml_errors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -526,119 +168,67 @@ export declare const ListPipelinesSchema: z.ZodObject<{
|
|
|
526
168
|
username: z.ZodOptional<z.ZodString>;
|
|
527
169
|
updated_after: z.ZodOptional<z.ZodString>;
|
|
528
170
|
updated_before: z.ZodOptional<z.ZodString>;
|
|
529
|
-
order_by: z.ZodOptional<z.ZodEnum<
|
|
530
|
-
|
|
531
|
-
|
|
171
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
id: "id";
|
|
173
|
+
status: "status";
|
|
174
|
+
updated_at: "updated_at";
|
|
175
|
+
ref: "ref";
|
|
176
|
+
user_id: "user_id";
|
|
177
|
+
}>>;
|
|
178
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
asc: "asc";
|
|
180
|
+
desc: "desc";
|
|
181
|
+
}>>;
|
|
532
182
|
page: z.ZodOptional<z.ZodNumber>;
|
|
533
183
|
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
534
|
-
},
|
|
535
|
-
per_page: number;
|
|
536
|
-
project_id: string;
|
|
537
|
-
sort?: "asc" | "desc" | undefined;
|
|
538
|
-
name?: string | undefined;
|
|
539
|
-
status?: "manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped" | "scheduled" | undefined;
|
|
540
|
-
page?: number | undefined;
|
|
541
|
-
username?: string | undefined;
|
|
542
|
-
order_by?: "status" | "id" | "updated_at" | "ref" | "user_id" | undefined;
|
|
543
|
-
ref?: string | undefined;
|
|
544
|
-
updated_after?: string | undefined;
|
|
545
|
-
updated_before?: string | undefined;
|
|
546
|
-
scope?: "running" | "pending" | "finished" | "branches" | "tags" | undefined;
|
|
547
|
-
sha?: string | undefined;
|
|
548
|
-
source?: "push" | "external" | "web" | "trigger" | "schedule" | "api" | "chat" | "webide" | "merge_request_event" | "external_pull_request_event" | "parent_pipeline" | "ondemand_dast_scan" | "ondemand_dast_validation" | undefined;
|
|
549
|
-
yaml_errors?: boolean | undefined;
|
|
550
|
-
}, {
|
|
551
|
-
project_id: string;
|
|
552
|
-
sort?: "asc" | "desc" | undefined;
|
|
553
|
-
name?: string | undefined;
|
|
554
|
-
status?: "manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped" | "scheduled" | undefined;
|
|
555
|
-
page?: number | undefined;
|
|
556
|
-
per_page?: number | undefined;
|
|
557
|
-
username?: string | undefined;
|
|
558
|
-
order_by?: "status" | "id" | "updated_at" | "ref" | "user_id" | undefined;
|
|
559
|
-
ref?: string | undefined;
|
|
560
|
-
updated_after?: string | undefined;
|
|
561
|
-
updated_before?: string | undefined;
|
|
562
|
-
scope?: "running" | "pending" | "finished" | "branches" | "tags" | undefined;
|
|
563
|
-
sha?: string | undefined;
|
|
564
|
-
source?: "push" | "external" | "web" | "trigger" | "schedule" | "api" | "chat" | "webide" | "merge_request_event" | "external_pull_request_event" | "parent_pipeline" | "ondemand_dast_scan" | "ondemand_dast_validation" | undefined;
|
|
565
|
-
yaml_errors?: boolean | undefined;
|
|
566
|
-
}>;
|
|
184
|
+
}, z.core.$strip>;
|
|
567
185
|
export declare const GetPipelineSchema: z.ZodObject<{
|
|
568
|
-
project_id: z.
|
|
569
|
-
pipeline_id: z.
|
|
570
|
-
},
|
|
571
|
-
project_id: string;
|
|
572
|
-
pipeline_id: string;
|
|
573
|
-
}, {
|
|
574
|
-
project_id: string;
|
|
575
|
-
pipeline_id: string;
|
|
576
|
-
}>;
|
|
186
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
187
|
+
pipeline_id: z.ZodCoercedString<unknown>;
|
|
188
|
+
}, z.core.$strip>;
|
|
577
189
|
export declare const ListPipelineJobsSchema: z.ZodObject<{
|
|
578
|
-
project_id: z.
|
|
579
|
-
pipeline_id: z.
|
|
580
|
-
scope: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
190
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
191
|
+
pipeline_id: z.ZodCoercedString<unknown>;
|
|
192
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
193
|
+
pending: "pending";
|
|
194
|
+
failed: "failed";
|
|
195
|
+
manual: "manual";
|
|
196
|
+
success: "success";
|
|
197
|
+
created: "created";
|
|
198
|
+
running: "running";
|
|
199
|
+
canceled: "canceled";
|
|
200
|
+
skipped: "skipped";
|
|
201
|
+
}>>>;
|
|
581
202
|
include_retried: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
-
} & {
|
|
583
203
|
page: z.ZodOptional<z.ZodNumber>;
|
|
584
204
|
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
585
|
-
},
|
|
586
|
-
per_page: number;
|
|
587
|
-
project_id: string;
|
|
588
|
-
pipeline_id: string;
|
|
589
|
-
page?: number | undefined;
|
|
590
|
-
scope?: ("manual" | "created" | "running" | "pending" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
|
|
591
|
-
include_retried?: boolean | undefined;
|
|
592
|
-
}, {
|
|
593
|
-
project_id: string;
|
|
594
|
-
pipeline_id: string;
|
|
595
|
-
page?: number | undefined;
|
|
596
|
-
per_page?: number | undefined;
|
|
597
|
-
scope?: ("manual" | "created" | "running" | "pending" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
|
|
598
|
-
include_retried?: boolean | undefined;
|
|
599
|
-
}>;
|
|
205
|
+
}, z.core.$strip>;
|
|
600
206
|
export declare const ListPipelineTriggerJobsSchema: z.ZodObject<{
|
|
601
|
-
project_id: z.
|
|
602
|
-
pipeline_id: z.
|
|
603
|
-
scope: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
207
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
208
|
+
pipeline_id: z.ZodCoercedString<unknown>;
|
|
209
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
210
|
+
pending: "pending";
|
|
211
|
+
failed: "failed";
|
|
212
|
+
manual: "manual";
|
|
213
|
+
success: "success";
|
|
214
|
+
created: "created";
|
|
215
|
+
running: "running";
|
|
216
|
+
waiting_for_resource: "waiting_for_resource";
|
|
217
|
+
preparing: "preparing";
|
|
218
|
+
canceled: "canceled";
|
|
219
|
+
skipped: "skipped";
|
|
220
|
+
}>>>;
|
|
604
221
|
include_retried: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
-
} & {
|
|
606
222
|
page: z.ZodOptional<z.ZodNumber>;
|
|
607
223
|
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
608
|
-
},
|
|
609
|
-
per_page: number;
|
|
610
|
-
project_id: string;
|
|
611
|
-
pipeline_id: string;
|
|
612
|
-
page?: number | undefined;
|
|
613
|
-
scope?: ("manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
|
|
614
|
-
include_retried?: boolean | undefined;
|
|
615
|
-
}, {
|
|
616
|
-
project_id: string;
|
|
617
|
-
pipeline_id: string;
|
|
618
|
-
page?: number | undefined;
|
|
619
|
-
per_page?: number | undefined;
|
|
620
|
-
scope?: ("manual" | "created" | "running" | "pending" | "waiting_for_resource" | "preparing" | "success" | "failed" | "canceled" | "skipped")[] | undefined;
|
|
621
|
-
include_retried?: boolean | undefined;
|
|
622
|
-
}>;
|
|
224
|
+
}, z.core.$strip>;
|
|
623
225
|
export declare const GetPipelineJobOutputSchema: z.ZodObject<{
|
|
624
|
-
project_id: z.
|
|
625
|
-
job_id: z.
|
|
226
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
227
|
+
job_id: z.ZodCoercedString<unknown>;
|
|
626
228
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
627
229
|
max_lines: z.ZodOptional<z.ZodNumber>;
|
|
628
230
|
start: z.ZodOptional<z.ZodNumber>;
|
|
629
|
-
},
|
|
630
|
-
project_id: string;
|
|
631
|
-
job_id: string;
|
|
632
|
-
start?: number | undefined;
|
|
633
|
-
limit?: number | undefined;
|
|
634
|
-
max_lines?: number | undefined;
|
|
635
|
-
}, {
|
|
636
|
-
project_id: string;
|
|
637
|
-
job_id: string;
|
|
638
|
-
start?: number | undefined;
|
|
639
|
-
limit?: number | undefined;
|
|
640
|
-
max_lines?: number | undefined;
|
|
641
|
-
}>;
|
|
231
|
+
}, z.core.$strip>;
|
|
642
232
|
export type GitLabPipeline = z.infer<typeof GitLabPipelineSchema>;
|
|
643
233
|
export type GitLabPipelineJob = z.infer<typeof GitLabPipelineJobSchema>;
|
|
644
234
|
export type GitLabPipelineTriggerJob = z.infer<typeof GitLabPipelineTriggerJobSchema>;
|