@kilnci/shared 0.26.0 → 0.44.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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pipeline/index.d.ts +243 -2
- package/dist/pipeline/index.d.ts.map +1 -1
- package/dist/pipeline/index.js +46 -0
- package/dist/pipeline/index.js.map +1 -1
- package/dist/providers/types.d.ts +55 -0
- package/dist/providers/types.d.ts.map +1 -1
- package/dist/providers/types.js.map +1 -1
- package/dist/triggers/index.d.ts +33 -3
- package/dist/triggers/index.d.ts.map +1 -1
- package/dist/triggers/index.js +52 -5
- package/dist/triggers/index.js.map +1 -1
- package/dist/types/index.d.ts +1010 -290
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +100 -20
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,78 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const BuildStatusSchema: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
|
|
3
3
|
export type BuildStatus = z.infer<typeof BuildStatusSchema>;
|
|
4
|
-
export declare const TriggerSourceSchema: z.ZodEnum<["webhook", "ui", "api", "cli"]>;
|
|
4
|
+
export declare const TriggerSourceSchema: z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>;
|
|
5
5
|
export type TriggerSource = z.infer<typeof TriggerSourceSchema>;
|
|
6
|
+
export declare const StageStatusSchema: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
7
|
+
export type StageStatus = z.infer<typeof StageStatusSchema>;
|
|
8
|
+
export declare const StageResultSchema: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
stageIndex: z.ZodNumber;
|
|
11
|
+
isFinally: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
13
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
15
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
19
|
+
name: string;
|
|
20
|
+
stageIndex: number;
|
|
21
|
+
isFinally: boolean;
|
|
22
|
+
durationMs?: number | undefined;
|
|
23
|
+
startedAt?: Date | undefined;
|
|
24
|
+
exitCode?: number | undefined;
|
|
25
|
+
errorMessage?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
28
|
+
name: string;
|
|
29
|
+
stageIndex: number;
|
|
30
|
+
isFinally?: boolean | undefined;
|
|
31
|
+
durationMs?: number | undefined;
|
|
32
|
+
startedAt?: Date | undefined;
|
|
33
|
+
exitCode?: number | undefined;
|
|
34
|
+
errorMessage?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type StageResult = z.infer<typeof StageResultSchema>;
|
|
37
|
+
export declare const StageEventSchema: z.ZodObject<{
|
|
38
|
+
buildId: z.ZodString;
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
stageIndex: z.ZodNumber;
|
|
41
|
+
isFinally: z.ZodDefault<z.ZodBoolean>;
|
|
42
|
+
status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
43
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
45
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
49
|
+
name: string;
|
|
50
|
+
stageIndex: number;
|
|
51
|
+
isFinally: boolean;
|
|
52
|
+
buildId: string;
|
|
53
|
+
durationMs?: number | undefined;
|
|
54
|
+
startedAt?: Date | undefined;
|
|
55
|
+
exitCode?: number | undefined;
|
|
56
|
+
errorMessage?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
59
|
+
name: string;
|
|
60
|
+
stageIndex: number;
|
|
61
|
+
buildId: string;
|
|
62
|
+
isFinally?: boolean | undefined;
|
|
63
|
+
durationMs?: number | undefined;
|
|
64
|
+
startedAt?: Date | undefined;
|
|
65
|
+
exitCode?: number | undefined;
|
|
66
|
+
errorMessage?: string | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
export type StageEvent = z.infer<typeof StageEventSchema>;
|
|
6
69
|
export declare const BuildSchema: z.ZodObject<{
|
|
7
70
|
id: z.ZodString;
|
|
8
71
|
repositoryId: z.ZodString;
|
|
72
|
+
repositoryName: z.ZodString;
|
|
9
73
|
repo: z.ZodString;
|
|
10
74
|
organizationId: z.ZodString;
|
|
75
|
+
organizationSlug: z.ZodString;
|
|
11
76
|
branch: z.ZodDefault<z.ZodString>;
|
|
12
77
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
78
|
status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
|
|
@@ -20,21 +85,8 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
20
85
|
finishedAt: z.ZodNullable<z.ZodDate>;
|
|
21
86
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
22
87
|
eventType: z.ZodNullable<z.ZodString>;
|
|
23
|
-
triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
|
|
88
|
+
triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>>;
|
|
24
89
|
artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
-
workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
|
-
key: z.ZodString;
|
|
27
|
-
size: z.ZodNumber;
|
|
28
|
-
createdAt: z.ZodDate;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
key: string;
|
|
31
|
-
size: number;
|
|
32
|
-
createdAt: Date;
|
|
33
|
-
}, {
|
|
34
|
-
key: string;
|
|
35
|
-
size: number;
|
|
36
|
-
createdAt: Date;
|
|
37
|
-
}>>>;
|
|
38
90
|
logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
91
|
key: z.ZodString;
|
|
40
92
|
size: z.ZodNumber;
|
|
@@ -71,11 +123,6 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
71
123
|
fileCount: number;
|
|
72
124
|
}>, "many">>;
|
|
73
125
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
workspace?: {
|
|
75
|
-
key: string;
|
|
76
|
-
size: number;
|
|
77
|
-
createdAt: Date;
|
|
78
|
-
} | null | undefined;
|
|
79
126
|
logs?: {
|
|
80
127
|
key: string;
|
|
81
128
|
size: number;
|
|
@@ -90,11 +137,6 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
90
137
|
fileCount: number;
|
|
91
138
|
}[] | undefined;
|
|
92
139
|
}, {
|
|
93
|
-
workspace?: {
|
|
94
|
-
key: string;
|
|
95
|
-
size: number;
|
|
96
|
-
createdAt: Date;
|
|
97
|
-
} | null | undefined;
|
|
98
140
|
logs?: {
|
|
99
141
|
key: string;
|
|
100
142
|
size: number;
|
|
@@ -109,32 +151,80 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
109
151
|
fileCount: number;
|
|
110
152
|
}[] | undefined;
|
|
111
153
|
}>>>;
|
|
112
|
-
labels: z.ZodDefault<z.
|
|
154
|
+
labels: z.ZodDefault<z.ZodObject<{
|
|
155
|
+
requires: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
156
|
+
prefers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
requires: Record<string, string>;
|
|
159
|
+
prefers: Record<string, string>;
|
|
160
|
+
}, {
|
|
161
|
+
requires?: Record<string, string> | undefined;
|
|
162
|
+
prefers?: Record<string, string> | undefined;
|
|
163
|
+
}>>;
|
|
164
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
stageIndex: z.ZodNumber;
|
|
167
|
+
isFinally: z.ZodDefault<z.ZodBoolean>;
|
|
168
|
+
status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
169
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
171
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
175
|
+
name: string;
|
|
176
|
+
stageIndex: number;
|
|
177
|
+
isFinally: boolean;
|
|
178
|
+
durationMs?: number | undefined;
|
|
179
|
+
startedAt?: Date | undefined;
|
|
180
|
+
exitCode?: number | undefined;
|
|
181
|
+
errorMessage?: string | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
184
|
+
name: string;
|
|
185
|
+
stageIndex: number;
|
|
186
|
+
isFinally?: boolean | undefined;
|
|
187
|
+
durationMs?: number | undefined;
|
|
188
|
+
startedAt?: Date | undefined;
|
|
189
|
+
exitCode?: number | undefined;
|
|
190
|
+
errorMessage?: string | undefined;
|
|
191
|
+
}>, "many">>;
|
|
192
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
193
|
}, "strip", z.ZodTypeAny, {
|
|
114
194
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
115
195
|
createdAt: Date;
|
|
196
|
+
startedAt: Date | null;
|
|
197
|
+
exitCode: number | null;
|
|
198
|
+
errorMessage: string | null;
|
|
116
199
|
id: string;
|
|
117
200
|
repositoryId: string;
|
|
201
|
+
repositoryName: string;
|
|
118
202
|
repo: string;
|
|
119
203
|
organizationId: string;
|
|
204
|
+
organizationSlug: string;
|
|
120
205
|
branch: string;
|
|
121
206
|
workerId: string | null;
|
|
122
|
-
exitCode: number | null;
|
|
123
|
-
errorMessage: string | null;
|
|
124
|
-
startedAt: Date | null;
|
|
125
207
|
finishedAt: Date | null;
|
|
126
208
|
commitSha: string | null;
|
|
127
209
|
eventType: string | null;
|
|
128
|
-
triggerSource: "webhook" | "ui" | "api" | "cli";
|
|
129
|
-
labels:
|
|
210
|
+
triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
|
|
211
|
+
labels: {
|
|
212
|
+
requires: Record<string, string>;
|
|
213
|
+
prefers: Record<string, string>;
|
|
214
|
+
};
|
|
215
|
+
stages?: {
|
|
216
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
217
|
+
name: string;
|
|
218
|
+
stageIndex: number;
|
|
219
|
+
isFinally: boolean;
|
|
220
|
+
durationMs?: number | undefined;
|
|
221
|
+
startedAt?: Date | undefined;
|
|
222
|
+
exitCode?: number | undefined;
|
|
223
|
+
errorMessage?: string | undefined;
|
|
224
|
+
}[] | undefined;
|
|
130
225
|
pipelineName?: string | null | undefined;
|
|
131
226
|
workerName?: string | null | undefined;
|
|
132
227
|
artifacts?: {
|
|
133
|
-
workspace?: {
|
|
134
|
-
key: string;
|
|
135
|
-
size: number;
|
|
136
|
-
createdAt: Date;
|
|
137
|
-
} | null | undefined;
|
|
138
228
|
logs?: {
|
|
139
229
|
key: string;
|
|
140
230
|
size: number;
|
|
@@ -149,30 +239,38 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
149
239
|
fileCount: number;
|
|
150
240
|
}[] | undefined;
|
|
151
241
|
} | null | undefined;
|
|
242
|
+
image?: string | null | undefined;
|
|
152
243
|
}, {
|
|
153
244
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
154
245
|
createdAt: Date;
|
|
246
|
+
startedAt: Date | null;
|
|
247
|
+
exitCode: number | null;
|
|
248
|
+
errorMessage: string | null;
|
|
155
249
|
id: string;
|
|
156
250
|
repositoryId: string;
|
|
251
|
+
repositoryName: string;
|
|
157
252
|
repo: string;
|
|
158
253
|
organizationId: string;
|
|
254
|
+
organizationSlug: string;
|
|
159
255
|
workerId: string | null;
|
|
160
|
-
exitCode: number | null;
|
|
161
|
-
errorMessage: string | null;
|
|
162
|
-
startedAt: Date | null;
|
|
163
256
|
finishedAt: Date | null;
|
|
164
257
|
commitSha: string | null;
|
|
165
258
|
eventType: string | null;
|
|
259
|
+
stages?: {
|
|
260
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
261
|
+
name: string;
|
|
262
|
+
stageIndex: number;
|
|
263
|
+
isFinally?: boolean | undefined;
|
|
264
|
+
durationMs?: number | undefined;
|
|
265
|
+
startedAt?: Date | undefined;
|
|
266
|
+
exitCode?: number | undefined;
|
|
267
|
+
errorMessage?: string | undefined;
|
|
268
|
+
}[] | undefined;
|
|
166
269
|
branch?: string | undefined;
|
|
167
270
|
pipelineName?: string | null | undefined;
|
|
168
271
|
workerName?: string | null | undefined;
|
|
169
|
-
triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
|
|
272
|
+
triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
|
|
170
273
|
artifacts?: {
|
|
171
|
-
workspace?: {
|
|
172
|
-
key: string;
|
|
173
|
-
size: number;
|
|
174
|
-
createdAt: Date;
|
|
175
|
-
} | null | undefined;
|
|
176
274
|
logs?: {
|
|
177
275
|
key: string;
|
|
178
276
|
size: number;
|
|
@@ -187,7 +285,11 @@ export declare const BuildSchema: z.ZodObject<{
|
|
|
187
285
|
fileCount: number;
|
|
188
286
|
}[] | undefined;
|
|
189
287
|
} | null | undefined;
|
|
190
|
-
labels?:
|
|
288
|
+
labels?: {
|
|
289
|
+
requires?: Record<string, string> | undefined;
|
|
290
|
+
prefers?: Record<string, string> | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
image?: string | null | undefined;
|
|
191
293
|
}>;
|
|
192
294
|
export type Build = z.infer<typeof BuildSchema>;
|
|
193
295
|
export declare const RefTypeSchema: z.ZodEnum<["branch", "tag", "pull_request"]>;
|
|
@@ -237,29 +339,11 @@ export declare const WorkspaceSchema: z.ZodObject<{
|
|
|
237
339
|
export type Workspace = z.infer<typeof WorkspaceSchema>;
|
|
238
340
|
export declare const WorkerStatusSchema: z.ZodEnum<["pending", "online", "offline", "busy"]>;
|
|
239
341
|
export type WorkerStatus = z.infer<typeof WorkerStatusSchema>;
|
|
240
|
-
export declare const LabelSelectorSchema: z.ZodObject<{
|
|
241
|
-
matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
242
|
-
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
matchLabels?: Record<string, string> | undefined;
|
|
244
|
-
}, {
|
|
245
|
-
matchLabels?: Record<string, string> | undefined;
|
|
246
|
-
}>;
|
|
247
|
-
export type LabelSelector = z.infer<typeof LabelSelectorSchema>;
|
|
248
|
-
export declare const SelectorModeSchema: z.ZodEnum<["preferred", "exclusive"]>;
|
|
249
|
-
export type SelectorMode = z.infer<typeof SelectorModeSchema>;
|
|
250
342
|
export declare const WorkerSchema: z.ZodObject<{
|
|
251
343
|
id: z.ZodString;
|
|
252
344
|
name: z.ZodNullable<z.ZodString>;
|
|
253
345
|
hostname: z.ZodNullable<z.ZodString>;
|
|
254
346
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
255
|
-
selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
256
|
-
matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
257
|
-
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
matchLabels?: Record<string, string> | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
matchLabels?: Record<string, string> | undefined;
|
|
261
|
-
}>>>;
|
|
262
|
-
selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
|
|
263
347
|
maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
|
|
264
348
|
activeBuilds: z.ZodDefault<z.ZodNumber>;
|
|
265
349
|
status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
|
|
@@ -274,10 +358,6 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
274
358
|
id: string;
|
|
275
359
|
labels: Record<string, unknown>;
|
|
276
360
|
hostname: string | null;
|
|
277
|
-
selector: {
|
|
278
|
-
matchLabels?: Record<string, string> | undefined;
|
|
279
|
-
} | null;
|
|
280
|
-
selectorMode: "preferred" | "exclusive";
|
|
281
361
|
maxConcurrentBuilds: number;
|
|
282
362
|
activeBuilds: number;
|
|
283
363
|
createdBy: string | null;
|
|
@@ -293,10 +373,6 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
293
373
|
registeredAt: Date | null;
|
|
294
374
|
lastHeartbeatAt: Date | null;
|
|
295
375
|
labels?: Record<string, unknown> | undefined;
|
|
296
|
-
selector?: {
|
|
297
|
-
matchLabels?: Record<string, string> | undefined;
|
|
298
|
-
} | null | undefined;
|
|
299
|
-
selectorMode?: "preferred" | "exclusive" | undefined;
|
|
300
376
|
maxConcurrentBuilds?: number | undefined;
|
|
301
377
|
activeBuilds?: number | undefined;
|
|
302
378
|
}>;
|
|
@@ -305,31 +381,15 @@ export declare const WorkerCreateSchema: z.ZodObject<{
|
|
|
305
381
|
name: z.ZodString;
|
|
306
382
|
maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
|
|
307
383
|
labels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
308
|
-
selector: z.ZodOptional<z.ZodObject<{
|
|
309
|
-
matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
310
|
-
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
matchLabels?: Record<string, string> | undefined;
|
|
312
|
-
}, {
|
|
313
|
-
matchLabels?: Record<string, string> | undefined;
|
|
314
|
-
}>>;
|
|
315
|
-
selectorMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["preferred", "exclusive"]>>>;
|
|
316
384
|
tokenTtlMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
317
385
|
}, "strip", z.ZodTypeAny, {
|
|
318
386
|
name: string;
|
|
319
387
|
labels: Record<string, unknown>;
|
|
320
|
-
selectorMode: "preferred" | "exclusive";
|
|
321
388
|
maxConcurrentBuilds: number;
|
|
322
389
|
tokenTtlMinutes: number;
|
|
323
|
-
selector?: {
|
|
324
|
-
matchLabels?: Record<string, string> | undefined;
|
|
325
|
-
} | undefined;
|
|
326
390
|
}, {
|
|
327
391
|
name: string;
|
|
328
392
|
labels?: Record<string, unknown> | undefined;
|
|
329
|
-
selector?: {
|
|
330
|
-
matchLabels?: Record<string, string> | undefined;
|
|
331
|
-
} | undefined;
|
|
332
|
-
selectorMode?: "preferred" | "exclusive" | undefined;
|
|
333
393
|
maxConcurrentBuilds?: number | undefined;
|
|
334
394
|
tokenTtlMinutes?: number | undefined;
|
|
335
395
|
}>;
|
|
@@ -340,14 +400,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
340
400
|
name: z.ZodNullable<z.ZodString>;
|
|
341
401
|
hostname: z.ZodNullable<z.ZodString>;
|
|
342
402
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
343
|
-
selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
344
|
-
matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
345
|
-
}, "strip", z.ZodTypeAny, {
|
|
346
|
-
matchLabels?: Record<string, string> | undefined;
|
|
347
|
-
}, {
|
|
348
|
-
matchLabels?: Record<string, string> | undefined;
|
|
349
|
-
}>>>;
|
|
350
|
-
selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
|
|
351
403
|
maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
|
|
352
404
|
activeBuilds: z.ZodDefault<z.ZodNumber>;
|
|
353
405
|
status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
|
|
@@ -362,10 +414,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
362
414
|
id: string;
|
|
363
415
|
labels: Record<string, unknown>;
|
|
364
416
|
hostname: string | null;
|
|
365
|
-
selector: {
|
|
366
|
-
matchLabels?: Record<string, string> | undefined;
|
|
367
|
-
} | null;
|
|
368
|
-
selectorMode: "preferred" | "exclusive";
|
|
369
417
|
maxConcurrentBuilds: number;
|
|
370
418
|
activeBuilds: number;
|
|
371
419
|
createdBy: string | null;
|
|
@@ -381,10 +429,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
381
429
|
registeredAt: Date | null;
|
|
382
430
|
lastHeartbeatAt: Date | null;
|
|
383
431
|
labels?: Record<string, unknown> | undefined;
|
|
384
|
-
selector?: {
|
|
385
|
-
matchLabels?: Record<string, string> | undefined;
|
|
386
|
-
} | null | undefined;
|
|
387
|
-
selectorMode?: "preferred" | "exclusive" | undefined;
|
|
388
432
|
maxConcurrentBuilds?: number | undefined;
|
|
389
433
|
activeBuilds?: number | undefined;
|
|
390
434
|
}>;
|
|
@@ -398,10 +442,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
398
442
|
id: string;
|
|
399
443
|
labels: Record<string, unknown>;
|
|
400
444
|
hostname: string | null;
|
|
401
|
-
selector: {
|
|
402
|
-
matchLabels?: Record<string, string> | undefined;
|
|
403
|
-
} | null;
|
|
404
|
-
selectorMode: "preferred" | "exclusive";
|
|
405
445
|
maxConcurrentBuilds: number;
|
|
406
446
|
activeBuilds: number;
|
|
407
447
|
createdBy: string | null;
|
|
@@ -421,10 +461,6 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
421
461
|
registeredAt: Date | null;
|
|
422
462
|
lastHeartbeatAt: Date | null;
|
|
423
463
|
labels?: Record<string, unknown> | undefined;
|
|
424
|
-
selector?: {
|
|
425
|
-
matchLabels?: Record<string, string> | undefined;
|
|
426
|
-
} | null | undefined;
|
|
427
|
-
selectorMode?: "preferred" | "exclusive" | undefined;
|
|
428
464
|
maxConcurrentBuilds?: number | undefined;
|
|
429
465
|
activeBuilds?: number | undefined;
|
|
430
466
|
};
|
|
@@ -433,6 +469,7 @@ export declare const WorkerCreatedSchema: z.ZodObject<{
|
|
|
433
469
|
}>;
|
|
434
470
|
export type WorkerCreated = z.infer<typeof WorkerCreatedSchema>;
|
|
435
471
|
export declare const HealthStatusSchema: z.ZodObject<{
|
|
472
|
+
version: z.ZodString;
|
|
436
473
|
status: z.ZodEnum<["ok", "degraded", "error"]>;
|
|
437
474
|
postgres: z.ZodObject<{
|
|
438
475
|
connected: z.ZodBoolean;
|
|
@@ -441,7 +478,7 @@ export declare const HealthStatusSchema: z.ZodObject<{
|
|
|
441
478
|
}, {
|
|
442
479
|
connected: boolean;
|
|
443
480
|
}>;
|
|
444
|
-
|
|
481
|
+
oidc: z.ZodObject<{
|
|
445
482
|
connected: z.ZodBoolean;
|
|
446
483
|
}, "strip", z.ZodTypeAny, {
|
|
447
484
|
connected: boolean;
|
|
@@ -450,18 +487,20 @@ export declare const HealthStatusSchema: z.ZodObject<{
|
|
|
450
487
|
}>;
|
|
451
488
|
}, "strip", z.ZodTypeAny, {
|
|
452
489
|
status: "ok" | "degraded" | "error";
|
|
490
|
+
version: string;
|
|
453
491
|
postgres: {
|
|
454
492
|
connected: boolean;
|
|
455
493
|
};
|
|
456
|
-
|
|
494
|
+
oidc: {
|
|
457
495
|
connected: boolean;
|
|
458
496
|
};
|
|
459
497
|
}, {
|
|
460
498
|
status: "ok" | "degraded" | "error";
|
|
499
|
+
version: string;
|
|
461
500
|
postgres: {
|
|
462
501
|
connected: boolean;
|
|
463
502
|
};
|
|
464
|
-
|
|
503
|
+
oidc: {
|
|
465
504
|
connected: boolean;
|
|
466
505
|
};
|
|
467
506
|
}>;
|
|
@@ -559,6 +598,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
|
|
|
559
598
|
webhookSecret: z.ZodString;
|
|
560
599
|
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
561
600
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
601
|
+
registryUrl: z.ZodNullable<z.ZodString>;
|
|
562
602
|
createdAt: z.ZodDate;
|
|
563
603
|
}, "strip", z.ZodTypeAny, {
|
|
564
604
|
createdAt: Date;
|
|
@@ -570,6 +610,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
|
|
|
570
610
|
webhookSecret: string;
|
|
571
611
|
defaultBranch: string;
|
|
572
612
|
enabled: boolean;
|
|
613
|
+
registryUrl: string | null;
|
|
573
614
|
}, {
|
|
574
615
|
createdAt: Date;
|
|
575
616
|
id: string;
|
|
@@ -578,6 +619,7 @@ export declare const GitIntegrationSchema: z.ZodObject<{
|
|
|
578
619
|
providerUrl: string;
|
|
579
620
|
groupPath: string | null;
|
|
580
621
|
webhookSecret: string;
|
|
622
|
+
registryUrl: string | null;
|
|
581
623
|
defaultBranch?: string | undefined;
|
|
582
624
|
enabled?: boolean | undefined;
|
|
583
625
|
}>;
|
|
@@ -586,23 +628,26 @@ export declare const GitIntegrationConfigSchema: z.ZodObject<{
|
|
|
586
628
|
provider: z.ZodEnum<["gitlab", "gitea"]>;
|
|
587
629
|
providerUrl: z.ZodString;
|
|
588
630
|
groupPath: z.ZodString;
|
|
589
|
-
accessToken: z.ZodString
|
|
631
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
590
632
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
591
633
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
634
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
592
635
|
}, "strip", z.ZodTypeAny, {
|
|
593
636
|
provider: "gitlab" | "gitea";
|
|
594
637
|
providerUrl: string;
|
|
595
638
|
groupPath: string;
|
|
596
|
-
accessToken: string;
|
|
597
639
|
defaultBranch?: string | undefined;
|
|
598
640
|
enabled?: boolean | undefined;
|
|
641
|
+
registryUrl?: string | undefined;
|
|
642
|
+
accessToken?: string | undefined;
|
|
599
643
|
}, {
|
|
600
644
|
provider: "gitlab" | "gitea";
|
|
601
645
|
providerUrl: string;
|
|
602
646
|
groupPath: string;
|
|
603
|
-
accessToken: string;
|
|
604
647
|
defaultBranch?: string | undefined;
|
|
605
648
|
enabled?: boolean | undefined;
|
|
649
|
+
registryUrl?: string | undefined;
|
|
650
|
+
accessToken?: string | undefined;
|
|
606
651
|
}>;
|
|
607
652
|
export type GitIntegrationConfig = z.infer<typeof GitIntegrationConfigSchema>;
|
|
608
653
|
export declare const GitProviderSchema: z.ZodEnum<["gitlab", "gitea"]>;
|
|
@@ -620,6 +665,8 @@ export declare const RepositorySchema: z.ZodObject<{
|
|
|
620
665
|
providerWebhookId: z.ZodNullable<z.ZodString>;
|
|
621
666
|
podTemplateId: z.ZodNullable<z.ZodString>;
|
|
622
667
|
preserveGitignore: z.ZodDefault<z.ZodBoolean>;
|
|
668
|
+
dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
669
|
+
packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
623
670
|
createdAt: z.ZodDate;
|
|
624
671
|
updatedAt: z.ZodDate;
|
|
625
672
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -637,6 +684,8 @@ export declare const RepositorySchema: z.ZodObject<{
|
|
|
637
684
|
providerWebhookId: string | null;
|
|
638
685
|
podTemplateId: string | null;
|
|
639
686
|
preserveGitignore: boolean;
|
|
687
|
+
dockerRegistryEnabled: boolean;
|
|
688
|
+
packageRegistryEnabled: boolean;
|
|
640
689
|
}, {
|
|
641
690
|
createdAt: Date;
|
|
642
691
|
name: string;
|
|
@@ -652,22 +701,77 @@ export declare const RepositorySchema: z.ZodObject<{
|
|
|
652
701
|
defaultBranch?: string | undefined;
|
|
653
702
|
buildEnabled?: boolean | undefined;
|
|
654
703
|
preserveGitignore?: boolean | undefined;
|
|
704
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
705
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
655
706
|
}>;
|
|
656
707
|
export type Repository = z.infer<typeof RepositorySchema>;
|
|
657
708
|
export declare const RepositoryUpdateSchema: z.ZodObject<{
|
|
658
709
|
buildEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
659
710
|
podTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
660
711
|
preserveGitignore: z.ZodOptional<z.ZodBoolean>;
|
|
712
|
+
dockerRegistryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
713
|
+
packageRegistryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
661
714
|
}, "strip", z.ZodTypeAny, {
|
|
662
715
|
buildEnabled?: boolean | undefined;
|
|
663
716
|
podTemplateId?: string | null | undefined;
|
|
664
717
|
preserveGitignore?: boolean | undefined;
|
|
718
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
719
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
665
720
|
}, {
|
|
666
721
|
buildEnabled?: boolean | undefined;
|
|
667
722
|
podTemplateId?: string | null | undefined;
|
|
668
723
|
preserveGitignore?: boolean | undefined;
|
|
724
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
725
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
669
726
|
}>;
|
|
670
727
|
export type RepositoryUpdate = z.infer<typeof RepositoryUpdateSchema>;
|
|
728
|
+
export declare const PipelineScheduleInfoSchema: z.ZodObject<{
|
|
729
|
+
id: z.ZodString;
|
|
730
|
+
repositoryId: z.ZodString;
|
|
731
|
+
repositoryName: z.ZodString;
|
|
732
|
+
organizationSlug: z.ZodString;
|
|
733
|
+
pipelineName: z.ZodString;
|
|
734
|
+
cronExpression: z.ZodString;
|
|
735
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
736
|
+
concurrency: z.ZodString;
|
|
737
|
+
nextTrigger: z.ZodDate;
|
|
738
|
+
lastTriggered: z.ZodNullable<z.ZodDate>;
|
|
739
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
740
|
+
lastErrorAt: z.ZodNullable<z.ZodDate>;
|
|
741
|
+
createdAt: z.ZodDate;
|
|
742
|
+
updatedAt: z.ZodDate;
|
|
743
|
+
}, "strip", z.ZodTypeAny, {
|
|
744
|
+
createdAt: Date;
|
|
745
|
+
id: string;
|
|
746
|
+
repositoryId: string;
|
|
747
|
+
repositoryName: string;
|
|
748
|
+
organizationSlug: string;
|
|
749
|
+
branch: string | null;
|
|
750
|
+
pipelineName: string;
|
|
751
|
+
updatedAt: Date;
|
|
752
|
+
cronExpression: string;
|
|
753
|
+
concurrency: string;
|
|
754
|
+
nextTrigger: Date;
|
|
755
|
+
lastTriggered: Date | null;
|
|
756
|
+
lastError: string | null;
|
|
757
|
+
lastErrorAt: Date | null;
|
|
758
|
+
}, {
|
|
759
|
+
createdAt: Date;
|
|
760
|
+
id: string;
|
|
761
|
+
repositoryId: string;
|
|
762
|
+
repositoryName: string;
|
|
763
|
+
organizationSlug: string;
|
|
764
|
+
branch: string | null;
|
|
765
|
+
pipelineName: string;
|
|
766
|
+
updatedAt: Date;
|
|
767
|
+
cronExpression: string;
|
|
768
|
+
concurrency: string;
|
|
769
|
+
nextTrigger: Date;
|
|
770
|
+
lastTriggered: Date | null;
|
|
771
|
+
lastError: string | null;
|
|
772
|
+
lastErrorAt: Date | null;
|
|
773
|
+
}>;
|
|
774
|
+
export type PipelineScheduleInfo = z.infer<typeof PipelineScheduleInfoSchema>;
|
|
671
775
|
export declare const KilnConfigSchema: z.ZodObject<{
|
|
672
776
|
commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
673
777
|
branches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -709,8 +813,10 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
709
813
|
items: z.ZodArray<z.ZodObject<{
|
|
710
814
|
id: z.ZodString;
|
|
711
815
|
repositoryId: z.ZodString;
|
|
816
|
+
repositoryName: z.ZodString;
|
|
712
817
|
repo: z.ZodString;
|
|
713
818
|
organizationId: z.ZodString;
|
|
819
|
+
organizationSlug: z.ZodString;
|
|
714
820
|
branch: z.ZodDefault<z.ZodString>;
|
|
715
821
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
716
822
|
status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
|
|
@@ -723,21 +829,8 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
723
829
|
finishedAt: z.ZodNullable<z.ZodDate>;
|
|
724
830
|
commitSha: z.ZodNullable<z.ZodString>;
|
|
725
831
|
eventType: z.ZodNullable<z.ZodString>;
|
|
726
|
-
triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
|
|
832
|
+
triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli", "schedule"]>>;
|
|
727
833
|
artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
728
|
-
workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
729
|
-
key: z.ZodString;
|
|
730
|
-
size: z.ZodNumber;
|
|
731
|
-
createdAt: z.ZodDate;
|
|
732
|
-
}, "strip", z.ZodTypeAny, {
|
|
733
|
-
key: string;
|
|
734
|
-
size: number;
|
|
735
|
-
createdAt: Date;
|
|
736
|
-
}, {
|
|
737
|
-
key: string;
|
|
738
|
-
size: number;
|
|
739
|
-
createdAt: Date;
|
|
740
|
-
}>>>;
|
|
741
834
|
logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
742
835
|
key: z.ZodString;
|
|
743
836
|
size: z.ZodNumber;
|
|
@@ -774,11 +867,6 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
774
867
|
fileCount: number;
|
|
775
868
|
}>, "many">>;
|
|
776
869
|
}, "strip", z.ZodTypeAny, {
|
|
777
|
-
workspace?: {
|
|
778
|
-
key: string;
|
|
779
|
-
size: number;
|
|
780
|
-
createdAt: Date;
|
|
781
|
-
} | null | undefined;
|
|
782
870
|
logs?: {
|
|
783
871
|
key: string;
|
|
784
872
|
size: number;
|
|
@@ -793,11 +881,6 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
793
881
|
fileCount: number;
|
|
794
882
|
}[] | undefined;
|
|
795
883
|
}, {
|
|
796
|
-
workspace?: {
|
|
797
|
-
key: string;
|
|
798
|
-
size: number;
|
|
799
|
-
createdAt: Date;
|
|
800
|
-
} | null | undefined;
|
|
801
884
|
logs?: {
|
|
802
885
|
key: string;
|
|
803
886
|
size: number;
|
|
@@ -812,32 +895,80 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
812
895
|
fileCount: number;
|
|
813
896
|
}[] | undefined;
|
|
814
897
|
}>>>;
|
|
815
|
-
labels: z.ZodDefault<z.
|
|
898
|
+
labels: z.ZodDefault<z.ZodObject<{
|
|
899
|
+
requires: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
900
|
+
prefers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
901
|
+
}, "strip", z.ZodTypeAny, {
|
|
902
|
+
requires: Record<string, string>;
|
|
903
|
+
prefers: Record<string, string>;
|
|
904
|
+
}, {
|
|
905
|
+
requires?: Record<string, string> | undefined;
|
|
906
|
+
prefers?: Record<string, string> | undefined;
|
|
907
|
+
}>>;
|
|
908
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
909
|
+
name: z.ZodString;
|
|
910
|
+
stageIndex: z.ZodNumber;
|
|
911
|
+
isFinally: z.ZodDefault<z.ZodBoolean>;
|
|
912
|
+
status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
913
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
914
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
915
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
916
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
917
|
+
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
919
|
+
name: string;
|
|
920
|
+
stageIndex: number;
|
|
921
|
+
isFinally: boolean;
|
|
922
|
+
durationMs?: number | undefined;
|
|
923
|
+
startedAt?: Date | undefined;
|
|
924
|
+
exitCode?: number | undefined;
|
|
925
|
+
errorMessage?: string | undefined;
|
|
926
|
+
}, {
|
|
927
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
928
|
+
name: string;
|
|
929
|
+
stageIndex: number;
|
|
930
|
+
isFinally?: boolean | undefined;
|
|
931
|
+
durationMs?: number | undefined;
|
|
932
|
+
startedAt?: Date | undefined;
|
|
933
|
+
exitCode?: number | undefined;
|
|
934
|
+
errorMessage?: string | undefined;
|
|
935
|
+
}>, "many">>;
|
|
936
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
937
|
}, "strip", z.ZodTypeAny, {
|
|
817
938
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
818
939
|
createdAt: Date;
|
|
940
|
+
startedAt: Date | null;
|
|
941
|
+
exitCode: number | null;
|
|
942
|
+
errorMessage: string | null;
|
|
819
943
|
id: string;
|
|
820
944
|
repositoryId: string;
|
|
945
|
+
repositoryName: string;
|
|
821
946
|
repo: string;
|
|
822
947
|
organizationId: string;
|
|
948
|
+
organizationSlug: string;
|
|
823
949
|
branch: string;
|
|
824
950
|
workerId: string | null;
|
|
825
|
-
exitCode: number | null;
|
|
826
|
-
errorMessage: string | null;
|
|
827
|
-
startedAt: Date | null;
|
|
828
951
|
finishedAt: Date | null;
|
|
829
952
|
commitSha: string | null;
|
|
830
953
|
eventType: string | null;
|
|
831
|
-
triggerSource: "webhook" | "ui" | "api" | "cli";
|
|
832
|
-
labels:
|
|
954
|
+
triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
|
|
955
|
+
labels: {
|
|
956
|
+
requires: Record<string, string>;
|
|
957
|
+
prefers: Record<string, string>;
|
|
958
|
+
};
|
|
959
|
+
stages?: {
|
|
960
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
961
|
+
name: string;
|
|
962
|
+
stageIndex: number;
|
|
963
|
+
isFinally: boolean;
|
|
964
|
+
durationMs?: number | undefined;
|
|
965
|
+
startedAt?: Date | undefined;
|
|
966
|
+
exitCode?: number | undefined;
|
|
967
|
+
errorMessage?: string | undefined;
|
|
968
|
+
}[] | undefined;
|
|
833
969
|
pipelineName?: string | null | undefined;
|
|
834
970
|
workerName?: string | null | undefined;
|
|
835
971
|
artifacts?: {
|
|
836
|
-
workspace?: {
|
|
837
|
-
key: string;
|
|
838
|
-
size: number;
|
|
839
|
-
createdAt: Date;
|
|
840
|
-
} | null | undefined;
|
|
841
972
|
logs?: {
|
|
842
973
|
key: string;
|
|
843
974
|
size: number;
|
|
@@ -852,30 +983,38 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
852
983
|
fileCount: number;
|
|
853
984
|
}[] | undefined;
|
|
854
985
|
} | null | undefined;
|
|
986
|
+
image?: string | null | undefined;
|
|
855
987
|
}, {
|
|
856
988
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
857
989
|
createdAt: Date;
|
|
990
|
+
startedAt: Date | null;
|
|
991
|
+
exitCode: number | null;
|
|
992
|
+
errorMessage: string | null;
|
|
858
993
|
id: string;
|
|
859
994
|
repositoryId: string;
|
|
995
|
+
repositoryName: string;
|
|
860
996
|
repo: string;
|
|
861
997
|
organizationId: string;
|
|
998
|
+
organizationSlug: string;
|
|
862
999
|
workerId: string | null;
|
|
863
|
-
exitCode: number | null;
|
|
864
|
-
errorMessage: string | null;
|
|
865
|
-
startedAt: Date | null;
|
|
866
1000
|
finishedAt: Date | null;
|
|
867
1001
|
commitSha: string | null;
|
|
868
1002
|
eventType: string | null;
|
|
1003
|
+
stages?: {
|
|
1004
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
1005
|
+
name: string;
|
|
1006
|
+
stageIndex: number;
|
|
1007
|
+
isFinally?: boolean | undefined;
|
|
1008
|
+
durationMs?: number | undefined;
|
|
1009
|
+
startedAt?: Date | undefined;
|
|
1010
|
+
exitCode?: number | undefined;
|
|
1011
|
+
errorMessage?: string | undefined;
|
|
1012
|
+
}[] | undefined;
|
|
869
1013
|
branch?: string | undefined;
|
|
870
1014
|
pipelineName?: string | null | undefined;
|
|
871
1015
|
workerName?: string | null | undefined;
|
|
872
|
-
triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
|
|
1016
|
+
triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
|
|
873
1017
|
artifacts?: {
|
|
874
|
-
workspace?: {
|
|
875
|
-
key: string;
|
|
876
|
-
size: number;
|
|
877
|
-
createdAt: Date;
|
|
878
|
-
} | null | undefined;
|
|
879
1018
|
logs?: {
|
|
880
1019
|
key: string;
|
|
881
1020
|
size: number;
|
|
@@ -890,7 +1029,11 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
890
1029
|
fileCount: number;
|
|
891
1030
|
}[] | undefined;
|
|
892
1031
|
} | null | undefined;
|
|
893
|
-
labels?:
|
|
1032
|
+
labels?: {
|
|
1033
|
+
requires?: Record<string, string> | undefined;
|
|
1034
|
+
prefers?: Record<string, string> | undefined;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
image?: string | null | undefined;
|
|
894
1037
|
}>, "many">;
|
|
895
1038
|
total: z.ZodNumber;
|
|
896
1039
|
page: z.ZodNumber;
|
|
@@ -901,28 +1044,38 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
901
1044
|
items: {
|
|
902
1045
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
903
1046
|
createdAt: Date;
|
|
1047
|
+
startedAt: Date | null;
|
|
1048
|
+
exitCode: number | null;
|
|
1049
|
+
errorMessage: string | null;
|
|
904
1050
|
id: string;
|
|
905
1051
|
repositoryId: string;
|
|
1052
|
+
repositoryName: string;
|
|
906
1053
|
repo: string;
|
|
907
1054
|
organizationId: string;
|
|
1055
|
+
organizationSlug: string;
|
|
908
1056
|
branch: string;
|
|
909
1057
|
workerId: string | null;
|
|
910
|
-
exitCode: number | null;
|
|
911
|
-
errorMessage: string | null;
|
|
912
|
-
startedAt: Date | null;
|
|
913
1058
|
finishedAt: Date | null;
|
|
914
1059
|
commitSha: string | null;
|
|
915
1060
|
eventType: string | null;
|
|
916
|
-
triggerSource: "webhook" | "ui" | "api" | "cli";
|
|
917
|
-
labels:
|
|
1061
|
+
triggerSource: "webhook" | "ui" | "api" | "cli" | "schedule";
|
|
1062
|
+
labels: {
|
|
1063
|
+
requires: Record<string, string>;
|
|
1064
|
+
prefers: Record<string, string>;
|
|
1065
|
+
};
|
|
1066
|
+
stages?: {
|
|
1067
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
1068
|
+
name: string;
|
|
1069
|
+
stageIndex: number;
|
|
1070
|
+
isFinally: boolean;
|
|
1071
|
+
durationMs?: number | undefined;
|
|
1072
|
+
startedAt?: Date | undefined;
|
|
1073
|
+
exitCode?: number | undefined;
|
|
1074
|
+
errorMessage?: string | undefined;
|
|
1075
|
+
}[] | undefined;
|
|
918
1076
|
pipelineName?: string | null | undefined;
|
|
919
1077
|
workerName?: string | null | undefined;
|
|
920
1078
|
artifacts?: {
|
|
921
|
-
workspace?: {
|
|
922
|
-
key: string;
|
|
923
|
-
size: number;
|
|
924
|
-
createdAt: Date;
|
|
925
|
-
} | null | undefined;
|
|
926
1079
|
logs?: {
|
|
927
1080
|
key: string;
|
|
928
1081
|
size: number;
|
|
@@ -937,6 +1090,7 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
937
1090
|
fileCount: number;
|
|
938
1091
|
}[] | undefined;
|
|
939
1092
|
} | null | undefined;
|
|
1093
|
+
image?: string | null | undefined;
|
|
940
1094
|
}[];
|
|
941
1095
|
total: number;
|
|
942
1096
|
}, {
|
|
@@ -945,27 +1099,34 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
945
1099
|
items: {
|
|
946
1100
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
947
1101
|
createdAt: Date;
|
|
1102
|
+
startedAt: Date | null;
|
|
1103
|
+
exitCode: number | null;
|
|
1104
|
+
errorMessage: string | null;
|
|
948
1105
|
id: string;
|
|
949
1106
|
repositoryId: string;
|
|
1107
|
+
repositoryName: string;
|
|
950
1108
|
repo: string;
|
|
951
1109
|
organizationId: string;
|
|
1110
|
+
organizationSlug: string;
|
|
952
1111
|
workerId: string | null;
|
|
953
|
-
exitCode: number | null;
|
|
954
|
-
errorMessage: string | null;
|
|
955
|
-
startedAt: Date | null;
|
|
956
1112
|
finishedAt: Date | null;
|
|
957
1113
|
commitSha: string | null;
|
|
958
1114
|
eventType: string | null;
|
|
1115
|
+
stages?: {
|
|
1116
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
1117
|
+
name: string;
|
|
1118
|
+
stageIndex: number;
|
|
1119
|
+
isFinally?: boolean | undefined;
|
|
1120
|
+
durationMs?: number | undefined;
|
|
1121
|
+
startedAt?: Date | undefined;
|
|
1122
|
+
exitCode?: number | undefined;
|
|
1123
|
+
errorMessage?: string | undefined;
|
|
1124
|
+
}[] | undefined;
|
|
959
1125
|
branch?: string | undefined;
|
|
960
1126
|
pipelineName?: string | null | undefined;
|
|
961
1127
|
workerName?: string | null | undefined;
|
|
962
|
-
triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
|
|
1128
|
+
triggerSource?: "webhook" | "ui" | "api" | "cli" | "schedule" | undefined;
|
|
963
1129
|
artifacts?: {
|
|
964
|
-
workspace?: {
|
|
965
|
-
key: string;
|
|
966
|
-
size: number;
|
|
967
|
-
createdAt: Date;
|
|
968
|
-
} | null | undefined;
|
|
969
1130
|
logs?: {
|
|
970
1131
|
key: string;
|
|
971
1132
|
size: number;
|
|
@@ -980,7 +1141,11 @@ export declare const PaginatedBuildsSchema: z.ZodObject<{
|
|
|
980
1141
|
fileCount: number;
|
|
981
1142
|
}[] | undefined;
|
|
982
1143
|
} | null | undefined;
|
|
983
|
-
labels?:
|
|
1144
|
+
labels?: {
|
|
1145
|
+
requires?: Record<string, string> | undefined;
|
|
1146
|
+
prefers?: Record<string, string> | undefined;
|
|
1147
|
+
} | undefined;
|
|
1148
|
+
image?: string | null | undefined;
|
|
984
1149
|
}[];
|
|
985
1150
|
total: number;
|
|
986
1151
|
}>;
|
|
@@ -1006,43 +1171,265 @@ export declare const PaginatedWorkspacesSchema: z.ZodObject<{
|
|
|
1006
1171
|
path: string;
|
|
1007
1172
|
createdAt: Date;
|
|
1008
1173
|
id: string;
|
|
1009
|
-
repo: string;
|
|
1010
|
-
branch: string;
|
|
1011
|
-
workerId: string;
|
|
1012
|
-
lastUsedAt: Date;
|
|
1013
|
-
}>, "many">;
|
|
1014
|
-
total: z.ZodNumber;
|
|
1015
|
-
page: z.ZodNumber;
|
|
1016
|
-
pageSize: z.ZodNumber;
|
|
1174
|
+
repo: string;
|
|
1175
|
+
branch: string;
|
|
1176
|
+
workerId: string;
|
|
1177
|
+
lastUsedAt: Date;
|
|
1178
|
+
}>, "many">;
|
|
1179
|
+
total: z.ZodNumber;
|
|
1180
|
+
page: z.ZodNumber;
|
|
1181
|
+
pageSize: z.ZodNumber;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
page: number;
|
|
1184
|
+
pageSize: number;
|
|
1185
|
+
items: {
|
|
1186
|
+
path: string;
|
|
1187
|
+
createdAt: Date;
|
|
1188
|
+
id: string;
|
|
1189
|
+
repo: string;
|
|
1190
|
+
branch: string;
|
|
1191
|
+
workerId: string;
|
|
1192
|
+
lastUsedAt: Date;
|
|
1193
|
+
}[];
|
|
1194
|
+
total: number;
|
|
1195
|
+
}, {
|
|
1196
|
+
page: number;
|
|
1197
|
+
pageSize: number;
|
|
1198
|
+
items: {
|
|
1199
|
+
path: string;
|
|
1200
|
+
createdAt: Date;
|
|
1201
|
+
id: string;
|
|
1202
|
+
repo: string;
|
|
1203
|
+
branch: string;
|
|
1204
|
+
workerId: string;
|
|
1205
|
+
lastUsedAt: Date;
|
|
1206
|
+
}[];
|
|
1207
|
+
total: number;
|
|
1208
|
+
}>;
|
|
1209
|
+
export type PaginatedWorkspaces = z.infer<typeof PaginatedWorkspacesSchema>;
|
|
1210
|
+
export declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
1211
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1212
|
+
id: z.ZodString;
|
|
1213
|
+
slug: z.ZodString;
|
|
1214
|
+
name: z.ZodString;
|
|
1215
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1216
|
+
createdAt: z.ZodDate;
|
|
1217
|
+
updatedAt: z.ZodDate;
|
|
1218
|
+
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
createdAt: Date;
|
|
1220
|
+
name: string;
|
|
1221
|
+
id: string;
|
|
1222
|
+
slug: string;
|
|
1223
|
+
updatedAt: Date;
|
|
1224
|
+
description?: string | null | undefined;
|
|
1225
|
+
}, {
|
|
1226
|
+
createdAt: Date;
|
|
1227
|
+
name: string;
|
|
1228
|
+
id: string;
|
|
1229
|
+
slug: string;
|
|
1230
|
+
updatedAt: Date;
|
|
1231
|
+
description?: string | null | undefined;
|
|
1232
|
+
}>, "many">;
|
|
1233
|
+
total: z.ZodNumber;
|
|
1234
|
+
page: z.ZodNumber;
|
|
1235
|
+
pageSize: z.ZodNumber;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
page: number;
|
|
1238
|
+
pageSize: number;
|
|
1239
|
+
items: {
|
|
1240
|
+
createdAt: Date;
|
|
1241
|
+
name: string;
|
|
1242
|
+
id: string;
|
|
1243
|
+
slug: string;
|
|
1244
|
+
updatedAt: Date;
|
|
1245
|
+
description?: string | null | undefined;
|
|
1246
|
+
}[];
|
|
1247
|
+
total: number;
|
|
1248
|
+
}, {
|
|
1249
|
+
page: number;
|
|
1250
|
+
pageSize: number;
|
|
1251
|
+
items: {
|
|
1252
|
+
createdAt: Date;
|
|
1253
|
+
name: string;
|
|
1254
|
+
id: string;
|
|
1255
|
+
slug: string;
|
|
1256
|
+
updatedAt: Date;
|
|
1257
|
+
description?: string | null | undefined;
|
|
1258
|
+
}[];
|
|
1259
|
+
total: number;
|
|
1260
|
+
}>;
|
|
1261
|
+
export type PaginatedOrganizations = z.infer<typeof PaginatedOrganizationsSchema>;
|
|
1262
|
+
export declare const OrganizationFullSchema: z.ZodObject<{
|
|
1263
|
+
id: z.ZodString;
|
|
1264
|
+
slug: z.ZodString;
|
|
1265
|
+
name: z.ZodString;
|
|
1266
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
|
+
createdAt: z.ZodDate;
|
|
1268
|
+
updatedAt: z.ZodDate;
|
|
1269
|
+
} & {
|
|
1270
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
1271
|
+
id: z.ZodString;
|
|
1272
|
+
organizationId: z.ZodString;
|
|
1273
|
+
provider: z.ZodEnum<["gitlab", "gitea"]>;
|
|
1274
|
+
providerRepoId: z.ZodString;
|
|
1275
|
+
name: z.ZodString;
|
|
1276
|
+
fullPath: z.ZodString;
|
|
1277
|
+
cloneUrl: z.ZodString;
|
|
1278
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1279
|
+
buildEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1280
|
+
providerWebhookId: z.ZodNullable<z.ZodString>;
|
|
1281
|
+
podTemplateId: z.ZodNullable<z.ZodString>;
|
|
1282
|
+
preserveGitignore: z.ZodDefault<z.ZodBoolean>;
|
|
1283
|
+
dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1284
|
+
packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1285
|
+
createdAt: z.ZodDate;
|
|
1286
|
+
updatedAt: z.ZodDate;
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
createdAt: Date;
|
|
1289
|
+
name: string;
|
|
1290
|
+
id: string;
|
|
1291
|
+
organizationId: string;
|
|
1292
|
+
updatedAt: Date;
|
|
1293
|
+
provider: "gitlab" | "gitea";
|
|
1294
|
+
defaultBranch: string;
|
|
1295
|
+
providerRepoId: string;
|
|
1296
|
+
fullPath: string;
|
|
1297
|
+
cloneUrl: string;
|
|
1298
|
+
buildEnabled: boolean;
|
|
1299
|
+
providerWebhookId: string | null;
|
|
1300
|
+
podTemplateId: string | null;
|
|
1301
|
+
preserveGitignore: boolean;
|
|
1302
|
+
dockerRegistryEnabled: boolean;
|
|
1303
|
+
packageRegistryEnabled: boolean;
|
|
1304
|
+
}, {
|
|
1305
|
+
createdAt: Date;
|
|
1306
|
+
name: string;
|
|
1307
|
+
id: string;
|
|
1308
|
+
organizationId: string;
|
|
1309
|
+
updatedAt: Date;
|
|
1310
|
+
provider: "gitlab" | "gitea";
|
|
1311
|
+
providerRepoId: string;
|
|
1312
|
+
fullPath: string;
|
|
1313
|
+
cloneUrl: string;
|
|
1314
|
+
providerWebhookId: string | null;
|
|
1315
|
+
podTemplateId: string | null;
|
|
1316
|
+
defaultBranch?: string | undefined;
|
|
1317
|
+
buildEnabled?: boolean | undefined;
|
|
1318
|
+
preserveGitignore?: boolean | undefined;
|
|
1319
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1320
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1321
|
+
}>, "many">;
|
|
1322
|
+
integration: z.ZodNullable<z.ZodObject<{
|
|
1323
|
+
id: z.ZodString;
|
|
1324
|
+
organizationId: z.ZodString;
|
|
1325
|
+
provider: z.ZodEnum<["gitlab", "gitea"]>;
|
|
1326
|
+
providerUrl: z.ZodString;
|
|
1327
|
+
groupPath: z.ZodNullable<z.ZodString>;
|
|
1328
|
+
webhookSecret: z.ZodString;
|
|
1329
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1330
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1331
|
+
registryUrl: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
createdAt: z.ZodDate;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
createdAt: Date;
|
|
1335
|
+
id: string;
|
|
1336
|
+
organizationId: string;
|
|
1337
|
+
provider: "gitlab" | "gitea";
|
|
1338
|
+
providerUrl: string;
|
|
1339
|
+
groupPath: string | null;
|
|
1340
|
+
webhookSecret: string;
|
|
1341
|
+
defaultBranch: string;
|
|
1342
|
+
enabled: boolean;
|
|
1343
|
+
registryUrl: string | null;
|
|
1344
|
+
}, {
|
|
1345
|
+
createdAt: Date;
|
|
1346
|
+
id: string;
|
|
1347
|
+
organizationId: string;
|
|
1348
|
+
provider: "gitlab" | "gitea";
|
|
1349
|
+
providerUrl: string;
|
|
1350
|
+
groupPath: string | null;
|
|
1351
|
+
webhookSecret: string;
|
|
1352
|
+
registryUrl: string | null;
|
|
1353
|
+
defaultBranch?: string | undefined;
|
|
1354
|
+
enabled?: boolean | undefined;
|
|
1355
|
+
}>>;
|
|
1017
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1357
|
+
createdAt: Date;
|
|
1358
|
+
name: string;
|
|
1359
|
+
id: string;
|
|
1360
|
+
slug: string;
|
|
1361
|
+
updatedAt: Date;
|
|
1362
|
+
repositories: {
|
|
1022
1363
|
createdAt: Date;
|
|
1364
|
+
name: string;
|
|
1023
1365
|
id: string;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1366
|
+
organizationId: string;
|
|
1367
|
+
updatedAt: Date;
|
|
1368
|
+
provider: "gitlab" | "gitea";
|
|
1369
|
+
defaultBranch: string;
|
|
1370
|
+
providerRepoId: string;
|
|
1371
|
+
fullPath: string;
|
|
1372
|
+
cloneUrl: string;
|
|
1373
|
+
buildEnabled: boolean;
|
|
1374
|
+
providerWebhookId: string | null;
|
|
1375
|
+
podTemplateId: string | null;
|
|
1376
|
+
preserveGitignore: boolean;
|
|
1377
|
+
dockerRegistryEnabled: boolean;
|
|
1378
|
+
packageRegistryEnabled: boolean;
|
|
1028
1379
|
}[];
|
|
1029
|
-
|
|
1380
|
+
integration: {
|
|
1381
|
+
createdAt: Date;
|
|
1382
|
+
id: string;
|
|
1383
|
+
organizationId: string;
|
|
1384
|
+
provider: "gitlab" | "gitea";
|
|
1385
|
+
providerUrl: string;
|
|
1386
|
+
groupPath: string | null;
|
|
1387
|
+
webhookSecret: string;
|
|
1388
|
+
defaultBranch: string;
|
|
1389
|
+
enabled: boolean;
|
|
1390
|
+
registryUrl: string | null;
|
|
1391
|
+
} | null;
|
|
1392
|
+
description?: string | null | undefined;
|
|
1030
1393
|
}, {
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1394
|
+
createdAt: Date;
|
|
1395
|
+
name: string;
|
|
1396
|
+
id: string;
|
|
1397
|
+
slug: string;
|
|
1398
|
+
updatedAt: Date;
|
|
1399
|
+
repositories: {
|
|
1035
1400
|
createdAt: Date;
|
|
1401
|
+
name: string;
|
|
1036
1402
|
id: string;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1403
|
+
organizationId: string;
|
|
1404
|
+
updatedAt: Date;
|
|
1405
|
+
provider: "gitlab" | "gitea";
|
|
1406
|
+
providerRepoId: string;
|
|
1407
|
+
fullPath: string;
|
|
1408
|
+
cloneUrl: string;
|
|
1409
|
+
providerWebhookId: string | null;
|
|
1410
|
+
podTemplateId: string | null;
|
|
1411
|
+
defaultBranch?: string | undefined;
|
|
1412
|
+
buildEnabled?: boolean | undefined;
|
|
1413
|
+
preserveGitignore?: boolean | undefined;
|
|
1414
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1415
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1041
1416
|
}[];
|
|
1042
|
-
|
|
1417
|
+
integration: {
|
|
1418
|
+
createdAt: Date;
|
|
1419
|
+
id: string;
|
|
1420
|
+
organizationId: string;
|
|
1421
|
+
provider: "gitlab" | "gitea";
|
|
1422
|
+
providerUrl: string;
|
|
1423
|
+
groupPath: string | null;
|
|
1424
|
+
webhookSecret: string;
|
|
1425
|
+
registryUrl: string | null;
|
|
1426
|
+
defaultBranch?: string | undefined;
|
|
1427
|
+
enabled?: boolean | undefined;
|
|
1428
|
+
} | null;
|
|
1429
|
+
description?: string | null | undefined;
|
|
1043
1430
|
}>;
|
|
1044
|
-
export type
|
|
1045
|
-
export declare const
|
|
1431
|
+
export type OrganizationFull = z.infer<typeof OrganizationFullSchema>;
|
|
1432
|
+
export declare const PaginatedOrganizationsFullSchema: z.ZodObject<{
|
|
1046
1433
|
items: z.ZodArray<z.ZodObject<{
|
|
1047
1434
|
id: z.ZodString;
|
|
1048
1435
|
slug: z.ZodString;
|
|
@@ -1050,12 +1437,129 @@ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1050
1437
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1051
1438
|
createdAt: z.ZodDate;
|
|
1052
1439
|
updatedAt: z.ZodDate;
|
|
1440
|
+
} & {
|
|
1441
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
1442
|
+
id: z.ZodString;
|
|
1443
|
+
organizationId: z.ZodString;
|
|
1444
|
+
provider: z.ZodEnum<["gitlab", "gitea"]>;
|
|
1445
|
+
providerRepoId: z.ZodString;
|
|
1446
|
+
name: z.ZodString;
|
|
1447
|
+
fullPath: z.ZodString;
|
|
1448
|
+
cloneUrl: z.ZodString;
|
|
1449
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1450
|
+
buildEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1451
|
+
providerWebhookId: z.ZodNullable<z.ZodString>;
|
|
1452
|
+
podTemplateId: z.ZodNullable<z.ZodString>;
|
|
1453
|
+
preserveGitignore: z.ZodDefault<z.ZodBoolean>;
|
|
1454
|
+
dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1455
|
+
packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1456
|
+
createdAt: z.ZodDate;
|
|
1457
|
+
updatedAt: z.ZodDate;
|
|
1458
|
+
}, "strip", z.ZodTypeAny, {
|
|
1459
|
+
createdAt: Date;
|
|
1460
|
+
name: string;
|
|
1461
|
+
id: string;
|
|
1462
|
+
organizationId: string;
|
|
1463
|
+
updatedAt: Date;
|
|
1464
|
+
provider: "gitlab" | "gitea";
|
|
1465
|
+
defaultBranch: string;
|
|
1466
|
+
providerRepoId: string;
|
|
1467
|
+
fullPath: string;
|
|
1468
|
+
cloneUrl: string;
|
|
1469
|
+
buildEnabled: boolean;
|
|
1470
|
+
providerWebhookId: string | null;
|
|
1471
|
+
podTemplateId: string | null;
|
|
1472
|
+
preserveGitignore: boolean;
|
|
1473
|
+
dockerRegistryEnabled: boolean;
|
|
1474
|
+
packageRegistryEnabled: boolean;
|
|
1475
|
+
}, {
|
|
1476
|
+
createdAt: Date;
|
|
1477
|
+
name: string;
|
|
1478
|
+
id: string;
|
|
1479
|
+
organizationId: string;
|
|
1480
|
+
updatedAt: Date;
|
|
1481
|
+
provider: "gitlab" | "gitea";
|
|
1482
|
+
providerRepoId: string;
|
|
1483
|
+
fullPath: string;
|
|
1484
|
+
cloneUrl: string;
|
|
1485
|
+
providerWebhookId: string | null;
|
|
1486
|
+
podTemplateId: string | null;
|
|
1487
|
+
defaultBranch?: string | undefined;
|
|
1488
|
+
buildEnabled?: boolean | undefined;
|
|
1489
|
+
preserveGitignore?: boolean | undefined;
|
|
1490
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1491
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1492
|
+
}>, "many">;
|
|
1493
|
+
integration: z.ZodNullable<z.ZodObject<{
|
|
1494
|
+
id: z.ZodString;
|
|
1495
|
+
organizationId: z.ZodString;
|
|
1496
|
+
provider: z.ZodEnum<["gitlab", "gitea"]>;
|
|
1497
|
+
providerUrl: z.ZodString;
|
|
1498
|
+
groupPath: z.ZodNullable<z.ZodString>;
|
|
1499
|
+
webhookSecret: z.ZodString;
|
|
1500
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1501
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1502
|
+
registryUrl: z.ZodNullable<z.ZodString>;
|
|
1503
|
+
createdAt: z.ZodDate;
|
|
1504
|
+
}, "strip", z.ZodTypeAny, {
|
|
1505
|
+
createdAt: Date;
|
|
1506
|
+
id: string;
|
|
1507
|
+
organizationId: string;
|
|
1508
|
+
provider: "gitlab" | "gitea";
|
|
1509
|
+
providerUrl: string;
|
|
1510
|
+
groupPath: string | null;
|
|
1511
|
+
webhookSecret: string;
|
|
1512
|
+
defaultBranch: string;
|
|
1513
|
+
enabled: boolean;
|
|
1514
|
+
registryUrl: string | null;
|
|
1515
|
+
}, {
|
|
1516
|
+
createdAt: Date;
|
|
1517
|
+
id: string;
|
|
1518
|
+
organizationId: string;
|
|
1519
|
+
provider: "gitlab" | "gitea";
|
|
1520
|
+
providerUrl: string;
|
|
1521
|
+
groupPath: string | null;
|
|
1522
|
+
webhookSecret: string;
|
|
1523
|
+
registryUrl: string | null;
|
|
1524
|
+
defaultBranch?: string | undefined;
|
|
1525
|
+
enabled?: boolean | undefined;
|
|
1526
|
+
}>>;
|
|
1053
1527
|
}, "strip", z.ZodTypeAny, {
|
|
1054
1528
|
createdAt: Date;
|
|
1055
1529
|
name: string;
|
|
1056
1530
|
id: string;
|
|
1057
1531
|
slug: string;
|
|
1058
1532
|
updatedAt: Date;
|
|
1533
|
+
repositories: {
|
|
1534
|
+
createdAt: Date;
|
|
1535
|
+
name: string;
|
|
1536
|
+
id: string;
|
|
1537
|
+
organizationId: string;
|
|
1538
|
+
updatedAt: Date;
|
|
1539
|
+
provider: "gitlab" | "gitea";
|
|
1540
|
+
defaultBranch: string;
|
|
1541
|
+
providerRepoId: string;
|
|
1542
|
+
fullPath: string;
|
|
1543
|
+
cloneUrl: string;
|
|
1544
|
+
buildEnabled: boolean;
|
|
1545
|
+
providerWebhookId: string | null;
|
|
1546
|
+
podTemplateId: string | null;
|
|
1547
|
+
preserveGitignore: boolean;
|
|
1548
|
+
dockerRegistryEnabled: boolean;
|
|
1549
|
+
packageRegistryEnabled: boolean;
|
|
1550
|
+
}[];
|
|
1551
|
+
integration: {
|
|
1552
|
+
createdAt: Date;
|
|
1553
|
+
id: string;
|
|
1554
|
+
organizationId: string;
|
|
1555
|
+
provider: "gitlab" | "gitea";
|
|
1556
|
+
providerUrl: string;
|
|
1557
|
+
groupPath: string | null;
|
|
1558
|
+
webhookSecret: string;
|
|
1559
|
+
defaultBranch: string;
|
|
1560
|
+
enabled: boolean;
|
|
1561
|
+
registryUrl: string | null;
|
|
1562
|
+
} | null;
|
|
1059
1563
|
description?: string | null | undefined;
|
|
1060
1564
|
}, {
|
|
1061
1565
|
createdAt: Date;
|
|
@@ -1063,6 +1567,36 @@ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1063
1567
|
id: string;
|
|
1064
1568
|
slug: string;
|
|
1065
1569
|
updatedAt: Date;
|
|
1570
|
+
repositories: {
|
|
1571
|
+
createdAt: Date;
|
|
1572
|
+
name: string;
|
|
1573
|
+
id: string;
|
|
1574
|
+
organizationId: string;
|
|
1575
|
+
updatedAt: Date;
|
|
1576
|
+
provider: "gitlab" | "gitea";
|
|
1577
|
+
providerRepoId: string;
|
|
1578
|
+
fullPath: string;
|
|
1579
|
+
cloneUrl: string;
|
|
1580
|
+
providerWebhookId: string | null;
|
|
1581
|
+
podTemplateId: string | null;
|
|
1582
|
+
defaultBranch?: string | undefined;
|
|
1583
|
+
buildEnabled?: boolean | undefined;
|
|
1584
|
+
preserveGitignore?: boolean | undefined;
|
|
1585
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1586
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1587
|
+
}[];
|
|
1588
|
+
integration: {
|
|
1589
|
+
createdAt: Date;
|
|
1590
|
+
id: string;
|
|
1591
|
+
organizationId: string;
|
|
1592
|
+
provider: "gitlab" | "gitea";
|
|
1593
|
+
providerUrl: string;
|
|
1594
|
+
groupPath: string | null;
|
|
1595
|
+
webhookSecret: string;
|
|
1596
|
+
registryUrl: string | null;
|
|
1597
|
+
defaultBranch?: string | undefined;
|
|
1598
|
+
enabled?: boolean | undefined;
|
|
1599
|
+
} | null;
|
|
1066
1600
|
description?: string | null | undefined;
|
|
1067
1601
|
}>, "many">;
|
|
1068
1602
|
total: z.ZodNumber;
|
|
@@ -1077,6 +1611,36 @@ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1077
1611
|
id: string;
|
|
1078
1612
|
slug: string;
|
|
1079
1613
|
updatedAt: Date;
|
|
1614
|
+
repositories: {
|
|
1615
|
+
createdAt: Date;
|
|
1616
|
+
name: string;
|
|
1617
|
+
id: string;
|
|
1618
|
+
organizationId: string;
|
|
1619
|
+
updatedAt: Date;
|
|
1620
|
+
provider: "gitlab" | "gitea";
|
|
1621
|
+
defaultBranch: string;
|
|
1622
|
+
providerRepoId: string;
|
|
1623
|
+
fullPath: string;
|
|
1624
|
+
cloneUrl: string;
|
|
1625
|
+
buildEnabled: boolean;
|
|
1626
|
+
providerWebhookId: string | null;
|
|
1627
|
+
podTemplateId: string | null;
|
|
1628
|
+
preserveGitignore: boolean;
|
|
1629
|
+
dockerRegistryEnabled: boolean;
|
|
1630
|
+
packageRegistryEnabled: boolean;
|
|
1631
|
+
}[];
|
|
1632
|
+
integration: {
|
|
1633
|
+
createdAt: Date;
|
|
1634
|
+
id: string;
|
|
1635
|
+
organizationId: string;
|
|
1636
|
+
provider: "gitlab" | "gitea";
|
|
1637
|
+
providerUrl: string;
|
|
1638
|
+
groupPath: string | null;
|
|
1639
|
+
webhookSecret: string;
|
|
1640
|
+
defaultBranch: string;
|
|
1641
|
+
enabled: boolean;
|
|
1642
|
+
registryUrl: string | null;
|
|
1643
|
+
} | null;
|
|
1080
1644
|
description?: string | null | undefined;
|
|
1081
1645
|
}[];
|
|
1082
1646
|
total: number;
|
|
@@ -1089,11 +1653,41 @@ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1089
1653
|
id: string;
|
|
1090
1654
|
slug: string;
|
|
1091
1655
|
updatedAt: Date;
|
|
1656
|
+
repositories: {
|
|
1657
|
+
createdAt: Date;
|
|
1658
|
+
name: string;
|
|
1659
|
+
id: string;
|
|
1660
|
+
organizationId: string;
|
|
1661
|
+
updatedAt: Date;
|
|
1662
|
+
provider: "gitlab" | "gitea";
|
|
1663
|
+
providerRepoId: string;
|
|
1664
|
+
fullPath: string;
|
|
1665
|
+
cloneUrl: string;
|
|
1666
|
+
providerWebhookId: string | null;
|
|
1667
|
+
podTemplateId: string | null;
|
|
1668
|
+
defaultBranch?: string | undefined;
|
|
1669
|
+
buildEnabled?: boolean | undefined;
|
|
1670
|
+
preserveGitignore?: boolean | undefined;
|
|
1671
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1672
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1673
|
+
}[];
|
|
1674
|
+
integration: {
|
|
1675
|
+
createdAt: Date;
|
|
1676
|
+
id: string;
|
|
1677
|
+
organizationId: string;
|
|
1678
|
+
provider: "gitlab" | "gitea";
|
|
1679
|
+
providerUrl: string;
|
|
1680
|
+
groupPath: string | null;
|
|
1681
|
+
webhookSecret: string;
|
|
1682
|
+
registryUrl: string | null;
|
|
1683
|
+
defaultBranch?: string | undefined;
|
|
1684
|
+
enabled?: boolean | undefined;
|
|
1685
|
+
} | null;
|
|
1092
1686
|
description?: string | null | undefined;
|
|
1093
1687
|
}[];
|
|
1094
1688
|
total: number;
|
|
1095
1689
|
}>;
|
|
1096
|
-
export type
|
|
1690
|
+
export type PaginatedOrganizationsFull = z.infer<typeof PaginatedOrganizationsFullSchema>;
|
|
1097
1691
|
export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
1098
1692
|
items: z.ZodArray<z.ZodObject<{
|
|
1099
1693
|
id: z.ZodString;
|
|
@@ -1108,6 +1702,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
|
1108
1702
|
providerWebhookId: z.ZodNullable<z.ZodString>;
|
|
1109
1703
|
podTemplateId: z.ZodNullable<z.ZodString>;
|
|
1110
1704
|
preserveGitignore: z.ZodDefault<z.ZodBoolean>;
|
|
1705
|
+
dockerRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1706
|
+
packageRegistryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1111
1707
|
createdAt: z.ZodDate;
|
|
1112
1708
|
updatedAt: z.ZodDate;
|
|
1113
1709
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1125,6 +1721,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
|
1125
1721
|
providerWebhookId: string | null;
|
|
1126
1722
|
podTemplateId: string | null;
|
|
1127
1723
|
preserveGitignore: boolean;
|
|
1724
|
+
dockerRegistryEnabled: boolean;
|
|
1725
|
+
packageRegistryEnabled: boolean;
|
|
1128
1726
|
}, {
|
|
1129
1727
|
createdAt: Date;
|
|
1130
1728
|
name: string;
|
|
@@ -1140,6 +1738,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
|
1140
1738
|
defaultBranch?: string | undefined;
|
|
1141
1739
|
buildEnabled?: boolean | undefined;
|
|
1142
1740
|
preserveGitignore?: boolean | undefined;
|
|
1741
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1742
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1143
1743
|
}>, "many">;
|
|
1144
1744
|
total: z.ZodNumber;
|
|
1145
1745
|
page: z.ZodNumber;
|
|
@@ -1162,6 +1762,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
|
1162
1762
|
providerWebhookId: string | null;
|
|
1163
1763
|
podTemplateId: string | null;
|
|
1164
1764
|
preserveGitignore: boolean;
|
|
1765
|
+
dockerRegistryEnabled: boolean;
|
|
1766
|
+
packageRegistryEnabled: boolean;
|
|
1165
1767
|
}[];
|
|
1166
1768
|
total: number;
|
|
1167
1769
|
}, {
|
|
@@ -1182,6 +1784,8 @@ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
|
|
|
1182
1784
|
defaultBranch?: string | undefined;
|
|
1183
1785
|
buildEnabled?: boolean | undefined;
|
|
1184
1786
|
preserveGitignore?: boolean | undefined;
|
|
1787
|
+
dockerRegistryEnabled?: boolean | undefined;
|
|
1788
|
+
packageRegistryEnabled?: boolean | undefined;
|
|
1185
1789
|
}[];
|
|
1186
1790
|
total: number;
|
|
1187
1791
|
}>;
|
|
@@ -1207,38 +1811,94 @@ export type WorkerConnectResponse = z.infer<typeof WorkerConnectResponseSchema>;
|
|
|
1207
1811
|
export declare const WorkerHeartbeatSchema: z.ZodObject<{
|
|
1208
1812
|
activeBuilds: z.ZodDefault<z.ZodNumber>;
|
|
1209
1813
|
runningBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1814
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1210
1815
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1816
|
activeBuilds: number;
|
|
1212
1817
|
runningBuildIds: string[];
|
|
1818
|
+
version?: string | undefined;
|
|
1213
1819
|
}, {
|
|
1214
1820
|
activeBuilds?: number | undefined;
|
|
1821
|
+
version?: string | undefined;
|
|
1215
1822
|
runningBuildIds?: string[] | undefined;
|
|
1216
1823
|
}>;
|
|
1217
1824
|
export type WorkerHeartbeat = z.infer<typeof WorkerHeartbeatSchema>;
|
|
1825
|
+
export declare const RegistryCredentialsSchema: z.ZodObject<{
|
|
1826
|
+
registryUrl: z.ZodString;
|
|
1827
|
+
registryImage: z.ZodString;
|
|
1828
|
+
username: z.ZodString;
|
|
1829
|
+
password: z.ZodString;
|
|
1830
|
+
packageRegistryUrl: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
}, "strip", z.ZodTypeAny, {
|
|
1832
|
+
registryUrl: string;
|
|
1833
|
+
registryImage: string;
|
|
1834
|
+
username: string;
|
|
1835
|
+
password: string;
|
|
1836
|
+
packageRegistryUrl?: string | undefined;
|
|
1837
|
+
}, {
|
|
1838
|
+
registryUrl: string;
|
|
1839
|
+
registryImage: string;
|
|
1840
|
+
username: string;
|
|
1841
|
+
password: string;
|
|
1842
|
+
packageRegistryUrl?: string | undefined;
|
|
1843
|
+
}>;
|
|
1844
|
+
export type RegistryCredentials = z.infer<typeof RegistryCredentialsSchema>;
|
|
1218
1845
|
export declare const BuildJobSchema: z.ZodObject<{
|
|
1219
1846
|
buildId: z.ZodString;
|
|
1220
1847
|
repo: z.ZodString;
|
|
1221
1848
|
branch: z.ZodString;
|
|
1222
1849
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1223
1850
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1224
|
-
|
|
1851
|
+
prefers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1225
1852
|
preserveGitignore: z.ZodOptional<z.ZodBoolean>;
|
|
1853
|
+
registryCredentials: z.ZodOptional<z.ZodObject<{
|
|
1854
|
+
registryUrl: z.ZodString;
|
|
1855
|
+
registryImage: z.ZodString;
|
|
1856
|
+
username: z.ZodString;
|
|
1857
|
+
password: z.ZodString;
|
|
1858
|
+
packageRegistryUrl: z.ZodOptional<z.ZodString>;
|
|
1859
|
+
}, "strip", z.ZodTypeAny, {
|
|
1860
|
+
registryUrl: string;
|
|
1861
|
+
registryImage: string;
|
|
1862
|
+
username: string;
|
|
1863
|
+
password: string;
|
|
1864
|
+
packageRegistryUrl?: string | undefined;
|
|
1865
|
+
}, {
|
|
1866
|
+
registryUrl: string;
|
|
1867
|
+
registryImage: string;
|
|
1868
|
+
username: string;
|
|
1869
|
+
password: string;
|
|
1870
|
+
packageRegistryUrl?: string | undefined;
|
|
1871
|
+
}>>;
|
|
1226
1872
|
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
buildId: string;
|
|
1227
1874
|
repo: string;
|
|
1228
1875
|
branch: string;
|
|
1229
|
-
buildId: string;
|
|
1230
1876
|
pipelineName?: string | null | undefined;
|
|
1231
1877
|
commitSha?: string | null | undefined;
|
|
1232
|
-
|
|
1878
|
+
prefers?: Record<string, string> | undefined;
|
|
1233
1879
|
preserveGitignore?: boolean | undefined;
|
|
1880
|
+
registryCredentials?: {
|
|
1881
|
+
registryUrl: string;
|
|
1882
|
+
registryImage: string;
|
|
1883
|
+
username: string;
|
|
1884
|
+
password: string;
|
|
1885
|
+
packageRegistryUrl?: string | undefined;
|
|
1886
|
+
} | undefined;
|
|
1234
1887
|
}, {
|
|
1888
|
+
buildId: string;
|
|
1235
1889
|
repo: string;
|
|
1236
1890
|
branch: string;
|
|
1237
|
-
buildId: string;
|
|
1238
1891
|
pipelineName?: string | null | undefined;
|
|
1239
1892
|
commitSha?: string | null | undefined;
|
|
1240
|
-
|
|
1893
|
+
prefers?: Record<string, string> | undefined;
|
|
1241
1894
|
preserveGitignore?: boolean | undefined;
|
|
1895
|
+
registryCredentials?: {
|
|
1896
|
+
registryUrl: string;
|
|
1897
|
+
registryImage: string;
|
|
1898
|
+
username: string;
|
|
1899
|
+
password: string;
|
|
1900
|
+
packageRegistryUrl?: string | undefined;
|
|
1901
|
+
} | undefined;
|
|
1242
1902
|
}>;
|
|
1243
1903
|
export type BuildJob = z.infer<typeof BuildJobSchema>;
|
|
1244
1904
|
export declare const HeartbeatResponseSchema: z.ZodObject<{
|
|
@@ -1248,46 +1908,93 @@ export declare const HeartbeatResponseSchema: z.ZodObject<{
|
|
|
1248
1908
|
branch: z.ZodString;
|
|
1249
1909
|
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1250
1910
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1251
|
-
|
|
1911
|
+
prefers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1252
1912
|
preserveGitignore: z.ZodOptional<z.ZodBoolean>;
|
|
1913
|
+
registryCredentials: z.ZodOptional<z.ZodObject<{
|
|
1914
|
+
registryUrl: z.ZodString;
|
|
1915
|
+
registryImage: z.ZodString;
|
|
1916
|
+
username: z.ZodString;
|
|
1917
|
+
password: z.ZodString;
|
|
1918
|
+
packageRegistryUrl: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
}, "strip", z.ZodTypeAny, {
|
|
1920
|
+
registryUrl: string;
|
|
1921
|
+
registryImage: string;
|
|
1922
|
+
username: string;
|
|
1923
|
+
password: string;
|
|
1924
|
+
packageRegistryUrl?: string | undefined;
|
|
1925
|
+
}, {
|
|
1926
|
+
registryUrl: string;
|
|
1927
|
+
registryImage: string;
|
|
1928
|
+
username: string;
|
|
1929
|
+
password: string;
|
|
1930
|
+
packageRegistryUrl?: string | undefined;
|
|
1931
|
+
}>>;
|
|
1253
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
buildId: string;
|
|
1254
1934
|
repo: string;
|
|
1255
1935
|
branch: string;
|
|
1256
|
-
buildId: string;
|
|
1257
1936
|
pipelineName?: string | null | undefined;
|
|
1258
1937
|
commitSha?: string | null | undefined;
|
|
1259
|
-
|
|
1938
|
+
prefers?: Record<string, string> | undefined;
|
|
1260
1939
|
preserveGitignore?: boolean | undefined;
|
|
1940
|
+
registryCredentials?: {
|
|
1941
|
+
registryUrl: string;
|
|
1942
|
+
registryImage: string;
|
|
1943
|
+
username: string;
|
|
1944
|
+
password: string;
|
|
1945
|
+
packageRegistryUrl?: string | undefined;
|
|
1946
|
+
} | undefined;
|
|
1261
1947
|
}, {
|
|
1948
|
+
buildId: string;
|
|
1262
1949
|
repo: string;
|
|
1263
1950
|
branch: string;
|
|
1264
|
-
buildId: string;
|
|
1265
1951
|
pipelineName?: string | null | undefined;
|
|
1266
1952
|
commitSha?: string | null | undefined;
|
|
1267
|
-
|
|
1953
|
+
prefers?: Record<string, string> | undefined;
|
|
1268
1954
|
preserveGitignore?: boolean | undefined;
|
|
1955
|
+
registryCredentials?: {
|
|
1956
|
+
registryUrl: string;
|
|
1957
|
+
registryImage: string;
|
|
1958
|
+
username: string;
|
|
1959
|
+
password: string;
|
|
1960
|
+
packageRegistryUrl?: string | undefined;
|
|
1961
|
+
} | undefined;
|
|
1269
1962
|
}>>;
|
|
1270
1963
|
cancelledBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1271
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1272
1965
|
job: {
|
|
1966
|
+
buildId: string;
|
|
1273
1967
|
repo: string;
|
|
1274
1968
|
branch: string;
|
|
1275
|
-
buildId: string;
|
|
1276
1969
|
pipelineName?: string | null | undefined;
|
|
1277
1970
|
commitSha?: string | null | undefined;
|
|
1278
|
-
|
|
1971
|
+
prefers?: Record<string, string> | undefined;
|
|
1279
1972
|
preserveGitignore?: boolean | undefined;
|
|
1973
|
+
registryCredentials?: {
|
|
1974
|
+
registryUrl: string;
|
|
1975
|
+
registryImage: string;
|
|
1976
|
+
username: string;
|
|
1977
|
+
password: string;
|
|
1978
|
+
packageRegistryUrl?: string | undefined;
|
|
1979
|
+
} | undefined;
|
|
1280
1980
|
} | null;
|
|
1281
1981
|
cancelledBuildIds: string[];
|
|
1282
1982
|
}, {
|
|
1283
1983
|
job: {
|
|
1984
|
+
buildId: string;
|
|
1284
1985
|
repo: string;
|
|
1285
1986
|
branch: string;
|
|
1286
|
-
buildId: string;
|
|
1287
1987
|
pipelineName?: string | null | undefined;
|
|
1288
1988
|
commitSha?: string | null | undefined;
|
|
1289
|
-
|
|
1989
|
+
prefers?: Record<string, string> | undefined;
|
|
1290
1990
|
preserveGitignore?: boolean | undefined;
|
|
1991
|
+
registryCredentials?: {
|
|
1992
|
+
registryUrl: string;
|
|
1993
|
+
registryImage: string;
|
|
1994
|
+
username: string;
|
|
1995
|
+
password: string;
|
|
1996
|
+
packageRegistryUrl?: string | undefined;
|
|
1997
|
+
} | undefined;
|
|
1291
1998
|
} | null;
|
|
1292
1999
|
cancelledBuildIds?: string[] | undefined;
|
|
1293
2000
|
}>;
|
|
@@ -1299,20 +2006,71 @@ export declare const BuildStatusUpdateSchema: z.ZodObject<{
|
|
|
1299
2006
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1300
2007
|
startedAt: z.ZodOptional<z.ZodDate>;
|
|
1301
2008
|
finishedAt: z.ZodOptional<z.ZodDate>;
|
|
2009
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2010
|
+
name: z.ZodString;
|
|
2011
|
+
stageIndex: z.ZodNumber;
|
|
2012
|
+
isFinally: z.ZodDefault<z.ZodBoolean>;
|
|
2013
|
+
status: z.ZodEnum<["success", "failed", "skipped", "running"]>;
|
|
2014
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2015
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
2016
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2017
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2018
|
+
}, "strip", z.ZodTypeAny, {
|
|
2019
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
2020
|
+
name: string;
|
|
2021
|
+
stageIndex: number;
|
|
2022
|
+
isFinally: boolean;
|
|
2023
|
+
durationMs?: number | undefined;
|
|
2024
|
+
startedAt?: Date | undefined;
|
|
2025
|
+
exitCode?: number | undefined;
|
|
2026
|
+
errorMessage?: string | undefined;
|
|
2027
|
+
}, {
|
|
2028
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
2029
|
+
name: string;
|
|
2030
|
+
stageIndex: number;
|
|
2031
|
+
isFinally?: boolean | undefined;
|
|
2032
|
+
durationMs?: number | undefined;
|
|
2033
|
+
startedAt?: Date | undefined;
|
|
2034
|
+
exitCode?: number | undefined;
|
|
2035
|
+
errorMessage?: string | undefined;
|
|
2036
|
+
}>, "many">>;
|
|
2037
|
+
image: z.ZodOptional<z.ZodString>;
|
|
1302
2038
|
}, "strip", z.ZodTypeAny, {
|
|
1303
2039
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
1304
2040
|
buildId: string;
|
|
2041
|
+
stages?: {
|
|
2042
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
2043
|
+
name: string;
|
|
2044
|
+
stageIndex: number;
|
|
2045
|
+
isFinally: boolean;
|
|
2046
|
+
durationMs?: number | undefined;
|
|
2047
|
+
startedAt?: Date | undefined;
|
|
2048
|
+
exitCode?: number | undefined;
|
|
2049
|
+
errorMessage?: string | undefined;
|
|
2050
|
+
}[] | undefined;
|
|
2051
|
+
startedAt?: Date | undefined;
|
|
1305
2052
|
exitCode?: number | undefined;
|
|
1306
2053
|
errorMessage?: string | undefined;
|
|
1307
|
-
startedAt?: Date | undefined;
|
|
1308
2054
|
finishedAt?: Date | undefined;
|
|
2055
|
+
image?: string | undefined;
|
|
1309
2056
|
}, {
|
|
1310
2057
|
status: "pending" | "running" | "success" | "failed" | "cancelled";
|
|
1311
2058
|
buildId: string;
|
|
2059
|
+
stages?: {
|
|
2060
|
+
status: "running" | "success" | "failed" | "skipped";
|
|
2061
|
+
name: string;
|
|
2062
|
+
stageIndex: number;
|
|
2063
|
+
isFinally?: boolean | undefined;
|
|
2064
|
+
durationMs?: number | undefined;
|
|
2065
|
+
startedAt?: Date | undefined;
|
|
2066
|
+
exitCode?: number | undefined;
|
|
2067
|
+
errorMessage?: string | undefined;
|
|
2068
|
+
}[] | undefined;
|
|
2069
|
+
startedAt?: Date | undefined;
|
|
1312
2070
|
exitCode?: number | undefined;
|
|
1313
2071
|
errorMessage?: string | undefined;
|
|
1314
|
-
startedAt?: Date | undefined;
|
|
1315
2072
|
finishedAt?: Date | undefined;
|
|
2073
|
+
image?: string | undefined;
|
|
1316
2074
|
}>;
|
|
1317
2075
|
export type BuildStatusUpdate = z.infer<typeof BuildStatusUpdateSchema>;
|
|
1318
2076
|
export declare const LogLineSchema: z.ZodObject<{
|
|
@@ -1630,18 +2388,18 @@ export declare const PaginatedUserTokensSchema: z.ZodObject<{
|
|
|
1630
2388
|
total: number;
|
|
1631
2389
|
}>;
|
|
1632
2390
|
export type PaginatedUserTokens = z.infer<typeof PaginatedUserTokensSchema>;
|
|
1633
|
-
export declare const ArtifactTypeSchema: z.ZodEnum<["
|
|
2391
|
+
export declare const ArtifactTypeSchema: z.ZodEnum<["logs", "stage"]>;
|
|
1634
2392
|
export type ArtifactType = z.infer<typeof ArtifactTypeSchema>;
|
|
1635
2393
|
export declare const ArtifactUploadUrlRequestSchema: z.ZodObject<{
|
|
1636
|
-
artifactType: z.ZodEnum<["
|
|
2394
|
+
artifactType: z.ZodEnum<["logs", "stage"]>;
|
|
1637
2395
|
stageName: z.ZodOptional<z.ZodString>;
|
|
1638
2396
|
artifactName: z.ZodOptional<z.ZodString>;
|
|
1639
2397
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
artifactType: "
|
|
2398
|
+
artifactType: "logs" | "stage";
|
|
1641
2399
|
stageName?: string | undefined;
|
|
1642
2400
|
artifactName?: string | undefined;
|
|
1643
2401
|
}, {
|
|
1644
|
-
artifactType: "
|
|
2402
|
+
artifactType: "logs" | "stage";
|
|
1645
2403
|
stageName?: string | undefined;
|
|
1646
2404
|
artifactName?: string | undefined;
|
|
1647
2405
|
}>;
|
|
@@ -1711,19 +2469,6 @@ export declare const StageArtifactInfoSchema: z.ZodObject<{
|
|
|
1711
2469
|
}>;
|
|
1712
2470
|
export type StageArtifactInfo = z.infer<typeof StageArtifactInfoSchema>;
|
|
1713
2471
|
export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
|
|
1714
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
1715
|
-
key: z.ZodString;
|
|
1716
|
-
size: z.ZodNumber;
|
|
1717
|
-
createdAt: z.ZodDate;
|
|
1718
|
-
}, "strip", z.ZodTypeAny, {
|
|
1719
|
-
key: string;
|
|
1720
|
-
size: number;
|
|
1721
|
-
createdAt: Date;
|
|
1722
|
-
}, {
|
|
1723
|
-
key: string;
|
|
1724
|
-
size: number;
|
|
1725
|
-
createdAt: Date;
|
|
1726
|
-
}>>;
|
|
1727
2472
|
logs: z.ZodOptional<z.ZodObject<{
|
|
1728
2473
|
key: z.ZodString;
|
|
1729
2474
|
size: z.ZodNumber;
|
|
@@ -1760,11 +2505,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
|
|
|
1760
2505
|
fileCount: number;
|
|
1761
2506
|
}>, "many">>;
|
|
1762
2507
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
-
workspace?: {
|
|
1764
|
-
key: string;
|
|
1765
|
-
size: number;
|
|
1766
|
-
createdAt: Date;
|
|
1767
|
-
} | undefined;
|
|
1768
2508
|
logs?: {
|
|
1769
2509
|
key: string;
|
|
1770
2510
|
size: number;
|
|
@@ -1779,11 +2519,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
|
|
|
1779
2519
|
fileCount: number;
|
|
1780
2520
|
}[] | undefined;
|
|
1781
2521
|
}, {
|
|
1782
|
-
workspace?: {
|
|
1783
|
-
key: string;
|
|
1784
|
-
size: number;
|
|
1785
|
-
createdAt: Date;
|
|
1786
|
-
} | undefined;
|
|
1787
2522
|
logs?: {
|
|
1788
2523
|
key: string;
|
|
1789
2524
|
size: number;
|
|
@@ -1800,19 +2535,6 @@ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
|
|
|
1800
2535
|
}>;
|
|
1801
2536
|
export type ArtifactConfirmRequest = z.infer<typeof ArtifactConfirmRequestSchema>;
|
|
1802
2537
|
export declare const BuildArtifactsSchema: z.ZodObject<{
|
|
1803
|
-
workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1804
|
-
key: z.ZodString;
|
|
1805
|
-
size: z.ZodNumber;
|
|
1806
|
-
createdAt: z.ZodDate;
|
|
1807
|
-
}, "strip", z.ZodTypeAny, {
|
|
1808
|
-
key: string;
|
|
1809
|
-
size: number;
|
|
1810
|
-
createdAt: Date;
|
|
1811
|
-
}, {
|
|
1812
|
-
key: string;
|
|
1813
|
-
size: number;
|
|
1814
|
-
createdAt: Date;
|
|
1815
|
-
}>>>;
|
|
1816
2538
|
logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1817
2539
|
key: z.ZodString;
|
|
1818
2540
|
size: z.ZodNumber;
|
|
@@ -1849,11 +2571,6 @@ export declare const BuildArtifactsSchema: z.ZodObject<{
|
|
|
1849
2571
|
fileCount: number;
|
|
1850
2572
|
}>, "many">>;
|
|
1851
2573
|
}, "strip", z.ZodTypeAny, {
|
|
1852
|
-
workspace?: {
|
|
1853
|
-
key: string;
|
|
1854
|
-
size: number;
|
|
1855
|
-
createdAt: Date;
|
|
1856
|
-
} | null | undefined;
|
|
1857
2574
|
logs?: {
|
|
1858
2575
|
key: string;
|
|
1859
2576
|
size: number;
|
|
@@ -1868,11 +2585,6 @@ export declare const BuildArtifactsSchema: z.ZodObject<{
|
|
|
1868
2585
|
fileCount: number;
|
|
1869
2586
|
}[] | undefined;
|
|
1870
2587
|
}, {
|
|
1871
|
-
workspace?: {
|
|
1872
|
-
key: string;
|
|
1873
|
-
size: number;
|
|
1874
|
-
createdAt: Date;
|
|
1875
|
-
} | null | undefined;
|
|
1876
2588
|
logs?: {
|
|
1877
2589
|
key: string;
|
|
1878
2590
|
size: number;
|
|
@@ -2178,8 +2890,8 @@ export declare const DindConfigSchema: z.ZodObject<{
|
|
|
2178
2890
|
} | undefined;
|
|
2179
2891
|
} | undefined;
|
|
2180
2892
|
}, {
|
|
2181
|
-
enabled?: boolean | undefined;
|
|
2182
2893
|
image?: string | undefined;
|
|
2894
|
+
enabled?: boolean | undefined;
|
|
2183
2895
|
dns?: string[] | undefined;
|
|
2184
2896
|
dnsSearch?: string[] | undefined;
|
|
2185
2897
|
resources?: {
|
|
@@ -2526,8 +3238,8 @@ export declare const PodTemplateSpecSchema: z.ZodObject<{
|
|
|
2526
3238
|
} | undefined;
|
|
2527
3239
|
} | undefined;
|
|
2528
3240
|
}, {
|
|
2529
|
-
enabled?: boolean | undefined;
|
|
2530
3241
|
image?: string | undefined;
|
|
3242
|
+
enabled?: boolean | undefined;
|
|
2531
3243
|
dns?: string[] | undefined;
|
|
2532
3244
|
dnsSearch?: string[] | undefined;
|
|
2533
3245
|
resources?: {
|
|
@@ -2712,8 +3424,8 @@ export declare const PodTemplateSpecSchema: z.ZodObject<{
|
|
|
2712
3424
|
}[] | undefined;
|
|
2713
3425
|
annotations?: Record<string, string> | undefined;
|
|
2714
3426
|
dind?: {
|
|
2715
|
-
enabled?: boolean | undefined;
|
|
2716
3427
|
image?: string | undefined;
|
|
3428
|
+
enabled?: boolean | undefined;
|
|
2717
3429
|
dns?: string[] | undefined;
|
|
2718
3430
|
dnsSearch?: string[] | undefined;
|
|
2719
3431
|
resources?: {
|
|
@@ -3066,8 +3778,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
|
|
|
3066
3778
|
} | undefined;
|
|
3067
3779
|
} | undefined;
|
|
3068
3780
|
}, {
|
|
3069
|
-
enabled?: boolean | undefined;
|
|
3070
3781
|
image?: string | undefined;
|
|
3782
|
+
enabled?: boolean | undefined;
|
|
3071
3783
|
dns?: string[] | undefined;
|
|
3072
3784
|
dnsSearch?: string[] | undefined;
|
|
3073
3785
|
resources?: {
|
|
@@ -3252,8 +3964,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
|
|
|
3252
3964
|
}[] | undefined;
|
|
3253
3965
|
annotations?: Record<string, string> | undefined;
|
|
3254
3966
|
dind?: {
|
|
3255
|
-
enabled?: boolean | undefined;
|
|
3256
3967
|
image?: string | undefined;
|
|
3968
|
+
enabled?: boolean | undefined;
|
|
3257
3969
|
dns?: string[] | undefined;
|
|
3258
3970
|
dnsSearch?: string[] | undefined;
|
|
3259
3971
|
resources?: {
|
|
@@ -3462,8 +4174,8 @@ export declare const PodTemplateSchema: z.ZodObject<{
|
|
|
3462
4174
|
}[] | undefined;
|
|
3463
4175
|
annotations?: Record<string, string> | undefined;
|
|
3464
4176
|
dind?: {
|
|
3465
|
-
enabled?: boolean | undefined;
|
|
3466
4177
|
image?: string | undefined;
|
|
4178
|
+
enabled?: boolean | undefined;
|
|
3467
4179
|
dns?: string[] | undefined;
|
|
3468
4180
|
dnsSearch?: string[] | undefined;
|
|
3469
4181
|
resources?: {
|
|
@@ -3819,8 +4531,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
|
|
|
3819
4531
|
} | undefined;
|
|
3820
4532
|
} | undefined;
|
|
3821
4533
|
}, {
|
|
3822
|
-
enabled?: boolean | undefined;
|
|
3823
4534
|
image?: string | undefined;
|
|
4535
|
+
enabled?: boolean | undefined;
|
|
3824
4536
|
dns?: string[] | undefined;
|
|
3825
4537
|
dnsSearch?: string[] | undefined;
|
|
3826
4538
|
resources?: {
|
|
@@ -4005,8 +4717,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
|
|
|
4005
4717
|
}[] | undefined;
|
|
4006
4718
|
annotations?: Record<string, string> | undefined;
|
|
4007
4719
|
dind?: {
|
|
4008
|
-
enabled?: boolean | undefined;
|
|
4009
4720
|
image?: string | undefined;
|
|
4721
|
+
enabled?: boolean | undefined;
|
|
4010
4722
|
dns?: string[] | undefined;
|
|
4011
4723
|
dnsSearch?: string[] | undefined;
|
|
4012
4724
|
resources?: {
|
|
@@ -4202,8 +4914,8 @@ export declare const PodTemplateCreateSchema: z.ZodObject<{
|
|
|
4202
4914
|
}[] | undefined;
|
|
4203
4915
|
annotations?: Record<string, string> | undefined;
|
|
4204
4916
|
dind?: {
|
|
4205
|
-
enabled?: boolean | undefined;
|
|
4206
4917
|
image?: string | undefined;
|
|
4918
|
+
enabled?: boolean | undefined;
|
|
4207
4919
|
dns?: string[] | undefined;
|
|
4208
4920
|
dnsSearch?: string[] | undefined;
|
|
4209
4921
|
resources?: {
|
|
@@ -4557,8 +5269,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
|
|
|
4557
5269
|
} | undefined;
|
|
4558
5270
|
} | undefined;
|
|
4559
5271
|
}, {
|
|
4560
|
-
enabled?: boolean | undefined;
|
|
4561
5272
|
image?: string | undefined;
|
|
5273
|
+
enabled?: boolean | undefined;
|
|
4562
5274
|
dns?: string[] | undefined;
|
|
4563
5275
|
dnsSearch?: string[] | undefined;
|
|
4564
5276
|
resources?: {
|
|
@@ -4743,8 +5455,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
|
|
|
4743
5455
|
}[] | undefined;
|
|
4744
5456
|
annotations?: Record<string, string> | undefined;
|
|
4745
5457
|
dind?: {
|
|
4746
|
-
enabled?: boolean | undefined;
|
|
4747
5458
|
image?: string | undefined;
|
|
5459
|
+
enabled?: boolean | undefined;
|
|
4748
5460
|
dns?: string[] | undefined;
|
|
4749
5461
|
dnsSearch?: string[] | undefined;
|
|
4750
5462
|
resources?: {
|
|
@@ -4939,8 +5651,8 @@ export declare const PodTemplateUpdateSchema: z.ZodObject<{
|
|
|
4939
5651
|
}[] | undefined;
|
|
4940
5652
|
annotations?: Record<string, string> | undefined;
|
|
4941
5653
|
dind?: {
|
|
4942
|
-
enabled?: boolean | undefined;
|
|
4943
5654
|
image?: string | undefined;
|
|
5655
|
+
enabled?: boolean | undefined;
|
|
4944
5656
|
dns?: string[] | undefined;
|
|
4945
5657
|
dnsSearch?: string[] | undefined;
|
|
4946
5658
|
resources?: {
|
|
@@ -5250,9 +5962,11 @@ export declare const PipelineInfoSchema: z.ZodObject<{
|
|
|
5250
5962
|
}>>>;
|
|
5251
5963
|
wouldRun: z.ZodBoolean;
|
|
5252
5964
|
runReason: z.ZodOptional<z.ZodString>;
|
|
5965
|
+
image: z.ZodOptional<z.ZodString>;
|
|
5253
5966
|
}, "strip", z.ZodTypeAny, {
|
|
5254
5967
|
name: string;
|
|
5255
5968
|
wouldRun: boolean;
|
|
5969
|
+
image?: string | undefined;
|
|
5256
5970
|
on?: {
|
|
5257
5971
|
push?: {
|
|
5258
5972
|
branches?: string[] | undefined;
|
|
@@ -5271,6 +5985,7 @@ export declare const PipelineInfoSchema: z.ZodObject<{
|
|
|
5271
5985
|
}, {
|
|
5272
5986
|
name: string;
|
|
5273
5987
|
wouldRun: boolean;
|
|
5988
|
+
image?: string | undefined;
|
|
5274
5989
|
on?: {
|
|
5275
5990
|
push?: {
|
|
5276
5991
|
branches?: string[] | undefined;
|
|
@@ -5351,9 +6066,11 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
|
|
|
5351
6066
|
}>>>;
|
|
5352
6067
|
wouldRun: z.ZodBoolean;
|
|
5353
6068
|
runReason: z.ZodOptional<z.ZodString>;
|
|
6069
|
+
image: z.ZodOptional<z.ZodString>;
|
|
5354
6070
|
}, "strip", z.ZodTypeAny, {
|
|
5355
6071
|
name: string;
|
|
5356
6072
|
wouldRun: boolean;
|
|
6073
|
+
image?: string | undefined;
|
|
5357
6074
|
on?: {
|
|
5358
6075
|
push?: {
|
|
5359
6076
|
branches?: string[] | undefined;
|
|
@@ -5372,6 +6089,7 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
|
|
|
5372
6089
|
}, {
|
|
5373
6090
|
name: string;
|
|
5374
6091
|
wouldRun: boolean;
|
|
6092
|
+
image?: string | undefined;
|
|
5375
6093
|
on?: {
|
|
5376
6094
|
push?: {
|
|
5377
6095
|
branches?: string[] | undefined;
|
|
@@ -5394,6 +6112,7 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
|
|
|
5394
6112
|
pipelines: {
|
|
5395
6113
|
name: string;
|
|
5396
6114
|
wouldRun: boolean;
|
|
6115
|
+
image?: string | undefined;
|
|
5397
6116
|
on?: {
|
|
5398
6117
|
push?: {
|
|
5399
6118
|
branches?: string[] | undefined;
|
|
@@ -5416,6 +6135,7 @@ export declare const PipelinesAtRefResponseSchema: z.ZodObject<{
|
|
|
5416
6135
|
pipelines: {
|
|
5417
6136
|
name: string;
|
|
5418
6137
|
wouldRun: boolean;
|
|
6138
|
+
image?: string | undefined;
|
|
5419
6139
|
on?: {
|
|
5420
6140
|
push?: {
|
|
5421
6141
|
branches?: string[] | undefined;
|