@treeseed/sdk 0.13.0-rc.28 → 0.13.0-rc.29
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/agent-capacity/validation/agent-definition-schema.d.ts +84 -84
- package/dist/content/validation/agent-operational-content-schemas.d.ts +20 -20
- package/dist/content/validation/auxiliary-content-schemas.d.ts +28 -28
- package/dist/content/validation/content-model-schemas.d.ts +236 -236
- package/dist/content/validation/portable-content-data.d.ts +27 -27
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.js +1 -0
- package/dist/deployment/schemas.d.ts +2079 -333
- package/dist/deployment/schemas.js +93 -5
- package/dist/deployment/topology.d.ts +9 -0
- package/dist/deployment/topology.js +35 -0
- package/package.json +1 -1
|
@@ -1,16 +1,374 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const deploymentTrackSchema: z.ZodEnum<["stable", "development"]>;
|
|
3
|
+
export declare const hostRoleSchema: z.ZodUnion<[z.ZodEnum<["integrated", "capacity-provider", "control-plane", "knowledge", "ai-gpu", "edge"]>, z.ZodString]>;
|
|
4
|
+
export declare const hostConnectionBindingSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"local">;
|
|
6
|
+
componentId: z.ZodString;
|
|
7
|
+
serviceId: z.ZodString;
|
|
8
|
+
endpointId: z.ZodString;
|
|
9
|
+
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
kind: "local";
|
|
11
|
+
componentId: string;
|
|
12
|
+
serviceId: string;
|
|
13
|
+
endpointId: string;
|
|
14
|
+
}, {
|
|
15
|
+
kind: "local";
|
|
16
|
+
componentId: string;
|
|
17
|
+
serviceId: string;
|
|
18
|
+
endpointId: string;
|
|
19
|
+
}>, z.ZodObject<{
|
|
20
|
+
kind: z.ZodLiteral<"remote">;
|
|
21
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
22
|
+
audience: z.ZodString;
|
|
23
|
+
tls: z.ZodEffects<z.ZodObject<{
|
|
24
|
+
trust: z.ZodEnum<["system", "secret", "spki"]>;
|
|
25
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
caSecretRef: z.ZodOptional<z.ZodString>;
|
|
27
|
+
spkiSha256: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, "strict", z.ZodTypeAny, {
|
|
29
|
+
trust: "system" | "secret" | "spki";
|
|
30
|
+
serverName?: string | undefined;
|
|
31
|
+
caSecretRef?: string | undefined;
|
|
32
|
+
spkiSha256?: string | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
trust: "system" | "secret" | "spki";
|
|
35
|
+
serverName?: string | undefined;
|
|
36
|
+
caSecretRef?: string | undefined;
|
|
37
|
+
spkiSha256?: string | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
trust: "system" | "secret" | "spki";
|
|
40
|
+
serverName?: string | undefined;
|
|
41
|
+
caSecretRef?: string | undefined;
|
|
42
|
+
spkiSha256?: string | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
trust: "system" | "secret" | "spki";
|
|
45
|
+
serverName?: string | undefined;
|
|
46
|
+
caSecretRef?: string | undefined;
|
|
47
|
+
spkiSha256?: string | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
authentication: z.ZodObject<{
|
|
50
|
+
mode: z.ZodEnum<["none", "application", "bearer", "mtls"]>;
|
|
51
|
+
secretRef: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strict", z.ZodTypeAny, {
|
|
53
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
54
|
+
secretRef?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
57
|
+
secretRef?: string | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
healthGate: z.ZodObject<{
|
|
60
|
+
protocol: z.ZodEnum<["http", "https", "tcp"]>;
|
|
61
|
+
path: z.ZodOptional<z.ZodString>;
|
|
62
|
+
timeoutSeconds: z.ZodNumber;
|
|
63
|
+
}, "strict", z.ZodTypeAny, {
|
|
64
|
+
protocol: "http" | "https" | "tcp";
|
|
65
|
+
timeoutSeconds: number;
|
|
66
|
+
path?: string | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
protocol: "http" | "https" | "tcp";
|
|
69
|
+
timeoutSeconds: number;
|
|
70
|
+
path?: string | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
}, "strict", z.ZodTypeAny, {
|
|
73
|
+
kind: "remote";
|
|
74
|
+
url: string;
|
|
75
|
+
audience: string;
|
|
76
|
+
tls: {
|
|
77
|
+
trust: "system" | "secret" | "spki";
|
|
78
|
+
serverName?: string | undefined;
|
|
79
|
+
caSecretRef?: string | undefined;
|
|
80
|
+
spkiSha256?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
authentication: {
|
|
83
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
84
|
+
secretRef?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
healthGate: {
|
|
87
|
+
protocol: "http" | "https" | "tcp";
|
|
88
|
+
timeoutSeconds: number;
|
|
89
|
+
path?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
kind: "remote";
|
|
93
|
+
url: string;
|
|
94
|
+
audience: string;
|
|
95
|
+
tls: {
|
|
96
|
+
trust: "system" | "secret" | "spki";
|
|
97
|
+
serverName?: string | undefined;
|
|
98
|
+
caSecretRef?: string | undefined;
|
|
99
|
+
spkiSha256?: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
authentication: {
|
|
102
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
103
|
+
secretRef?: string | undefined;
|
|
104
|
+
};
|
|
105
|
+
healthGate: {
|
|
106
|
+
protocol: "http" | "https" | "tcp";
|
|
107
|
+
timeoutSeconds: number;
|
|
108
|
+
path?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
}>]>, {
|
|
111
|
+
kind: "local";
|
|
112
|
+
componentId: string;
|
|
113
|
+
serviceId: string;
|
|
114
|
+
endpointId: string;
|
|
115
|
+
} | {
|
|
116
|
+
kind: "remote";
|
|
117
|
+
url: string;
|
|
118
|
+
audience: string;
|
|
119
|
+
tls: {
|
|
120
|
+
trust: "system" | "secret" | "spki";
|
|
121
|
+
serverName?: string | undefined;
|
|
122
|
+
caSecretRef?: string | undefined;
|
|
123
|
+
spkiSha256?: string | undefined;
|
|
124
|
+
};
|
|
125
|
+
authentication: {
|
|
126
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
127
|
+
secretRef?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
healthGate: {
|
|
130
|
+
protocol: "http" | "https" | "tcp";
|
|
131
|
+
timeoutSeconds: number;
|
|
132
|
+
path?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
kind: "local";
|
|
136
|
+
componentId: string;
|
|
137
|
+
serviceId: string;
|
|
138
|
+
endpointId: string;
|
|
139
|
+
} | {
|
|
140
|
+
kind: "remote";
|
|
141
|
+
url: string;
|
|
142
|
+
audience: string;
|
|
143
|
+
tls: {
|
|
144
|
+
trust: "system" | "secret" | "spki";
|
|
145
|
+
serverName?: string | undefined;
|
|
146
|
+
caSecretRef?: string | undefined;
|
|
147
|
+
spkiSha256?: string | undefined;
|
|
148
|
+
};
|
|
149
|
+
authentication: {
|
|
150
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
151
|
+
secretRef?: string | undefined;
|
|
152
|
+
};
|
|
153
|
+
healthGate: {
|
|
154
|
+
protocol: "http" | "https" | "tcp";
|
|
155
|
+
timeoutSeconds: number;
|
|
156
|
+
path?: string | undefined;
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
3
159
|
export declare const hostComponentSchema: z.ZodObject<{
|
|
4
160
|
enabled: z.ZodBoolean;
|
|
5
161
|
track: z.ZodEnum<["stable", "development"]>;
|
|
6
162
|
profile: z.ZodOptional<z.ZodString>;
|
|
7
163
|
aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
164
|
configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
165
|
+
resources: z.ZodDefault<z.ZodObject<{
|
|
166
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
storageBytes: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
gpuDevices: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
170
|
+
}, "strict", z.ZodTypeAny, {
|
|
171
|
+
gpuDevices: string[];
|
|
172
|
+
cpuCores?: number | undefined;
|
|
173
|
+
memoryBytes?: number | undefined;
|
|
174
|
+
storageBytes?: number | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
cpuCores?: number | undefined;
|
|
177
|
+
memoryBytes?: number | undefined;
|
|
178
|
+
storageBytes?: number | undefined;
|
|
179
|
+
gpuDevices?: string[] | undefined;
|
|
180
|
+
}>>;
|
|
181
|
+
connections: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
182
|
+
kind: z.ZodLiteral<"local">;
|
|
183
|
+
componentId: z.ZodString;
|
|
184
|
+
serviceId: z.ZodString;
|
|
185
|
+
endpointId: z.ZodString;
|
|
186
|
+
}, "strict", z.ZodTypeAny, {
|
|
187
|
+
kind: "local";
|
|
188
|
+
componentId: string;
|
|
189
|
+
serviceId: string;
|
|
190
|
+
endpointId: string;
|
|
191
|
+
}, {
|
|
192
|
+
kind: "local";
|
|
193
|
+
componentId: string;
|
|
194
|
+
serviceId: string;
|
|
195
|
+
endpointId: string;
|
|
196
|
+
}>, z.ZodObject<{
|
|
197
|
+
kind: z.ZodLiteral<"remote">;
|
|
198
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
199
|
+
audience: z.ZodString;
|
|
200
|
+
tls: z.ZodEffects<z.ZodObject<{
|
|
201
|
+
trust: z.ZodEnum<["system", "secret", "spki"]>;
|
|
202
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
203
|
+
caSecretRef: z.ZodOptional<z.ZodString>;
|
|
204
|
+
spkiSha256: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, "strict", z.ZodTypeAny, {
|
|
206
|
+
trust: "system" | "secret" | "spki";
|
|
207
|
+
serverName?: string | undefined;
|
|
208
|
+
caSecretRef?: string | undefined;
|
|
209
|
+
spkiSha256?: string | undefined;
|
|
210
|
+
}, {
|
|
211
|
+
trust: "system" | "secret" | "spki";
|
|
212
|
+
serverName?: string | undefined;
|
|
213
|
+
caSecretRef?: string | undefined;
|
|
214
|
+
spkiSha256?: string | undefined;
|
|
215
|
+
}>, {
|
|
216
|
+
trust: "system" | "secret" | "spki";
|
|
217
|
+
serverName?: string | undefined;
|
|
218
|
+
caSecretRef?: string | undefined;
|
|
219
|
+
spkiSha256?: string | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
trust: "system" | "secret" | "spki";
|
|
222
|
+
serverName?: string | undefined;
|
|
223
|
+
caSecretRef?: string | undefined;
|
|
224
|
+
spkiSha256?: string | undefined;
|
|
225
|
+
}>;
|
|
226
|
+
authentication: z.ZodObject<{
|
|
227
|
+
mode: z.ZodEnum<["none", "application", "bearer", "mtls"]>;
|
|
228
|
+
secretRef: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, "strict", z.ZodTypeAny, {
|
|
230
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
231
|
+
secretRef?: string | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
234
|
+
secretRef?: string | undefined;
|
|
235
|
+
}>;
|
|
236
|
+
healthGate: z.ZodObject<{
|
|
237
|
+
protocol: z.ZodEnum<["http", "https", "tcp"]>;
|
|
238
|
+
path: z.ZodOptional<z.ZodString>;
|
|
239
|
+
timeoutSeconds: z.ZodNumber;
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
241
|
+
protocol: "http" | "https" | "tcp";
|
|
242
|
+
timeoutSeconds: number;
|
|
243
|
+
path?: string | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
protocol: "http" | "https" | "tcp";
|
|
246
|
+
timeoutSeconds: number;
|
|
247
|
+
path?: string | undefined;
|
|
248
|
+
}>;
|
|
249
|
+
}, "strict", z.ZodTypeAny, {
|
|
250
|
+
kind: "remote";
|
|
251
|
+
url: string;
|
|
252
|
+
audience: string;
|
|
253
|
+
tls: {
|
|
254
|
+
trust: "system" | "secret" | "spki";
|
|
255
|
+
serverName?: string | undefined;
|
|
256
|
+
caSecretRef?: string | undefined;
|
|
257
|
+
spkiSha256?: string | undefined;
|
|
258
|
+
};
|
|
259
|
+
authentication: {
|
|
260
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
261
|
+
secretRef?: string | undefined;
|
|
262
|
+
};
|
|
263
|
+
healthGate: {
|
|
264
|
+
protocol: "http" | "https" | "tcp";
|
|
265
|
+
timeoutSeconds: number;
|
|
266
|
+
path?: string | undefined;
|
|
267
|
+
};
|
|
268
|
+
}, {
|
|
269
|
+
kind: "remote";
|
|
270
|
+
url: string;
|
|
271
|
+
audience: string;
|
|
272
|
+
tls: {
|
|
273
|
+
trust: "system" | "secret" | "spki";
|
|
274
|
+
serverName?: string | undefined;
|
|
275
|
+
caSecretRef?: string | undefined;
|
|
276
|
+
spkiSha256?: string | undefined;
|
|
277
|
+
};
|
|
278
|
+
authentication: {
|
|
279
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
280
|
+
secretRef?: string | undefined;
|
|
281
|
+
};
|
|
282
|
+
healthGate: {
|
|
283
|
+
protocol: "http" | "https" | "tcp";
|
|
284
|
+
timeoutSeconds: number;
|
|
285
|
+
path?: string | undefined;
|
|
286
|
+
};
|
|
287
|
+
}>]>, {
|
|
288
|
+
kind: "local";
|
|
289
|
+
componentId: string;
|
|
290
|
+
serviceId: string;
|
|
291
|
+
endpointId: string;
|
|
292
|
+
} | {
|
|
293
|
+
kind: "remote";
|
|
294
|
+
url: string;
|
|
295
|
+
audience: string;
|
|
296
|
+
tls: {
|
|
297
|
+
trust: "system" | "secret" | "spki";
|
|
298
|
+
serverName?: string | undefined;
|
|
299
|
+
caSecretRef?: string | undefined;
|
|
300
|
+
spkiSha256?: string | undefined;
|
|
301
|
+
};
|
|
302
|
+
authentication: {
|
|
303
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
304
|
+
secretRef?: string | undefined;
|
|
305
|
+
};
|
|
306
|
+
healthGate: {
|
|
307
|
+
protocol: "http" | "https" | "tcp";
|
|
308
|
+
timeoutSeconds: number;
|
|
309
|
+
path?: string | undefined;
|
|
310
|
+
};
|
|
311
|
+
}, {
|
|
312
|
+
kind: "local";
|
|
313
|
+
componentId: string;
|
|
314
|
+
serviceId: string;
|
|
315
|
+
endpointId: string;
|
|
316
|
+
} | {
|
|
317
|
+
kind: "remote";
|
|
318
|
+
url: string;
|
|
319
|
+
audience: string;
|
|
320
|
+
tls: {
|
|
321
|
+
trust: "system" | "secret" | "spki";
|
|
322
|
+
serverName?: string | undefined;
|
|
323
|
+
caSecretRef?: string | undefined;
|
|
324
|
+
spkiSha256?: string | undefined;
|
|
325
|
+
};
|
|
326
|
+
authentication: {
|
|
327
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
328
|
+
secretRef?: string | undefined;
|
|
329
|
+
};
|
|
330
|
+
healthGate: {
|
|
331
|
+
protocol: "http" | "https" | "tcp";
|
|
332
|
+
timeoutSeconds: number;
|
|
333
|
+
path?: string | undefined;
|
|
334
|
+
};
|
|
335
|
+
}>>>;
|
|
9
336
|
}, "strict", z.ZodTypeAny, {
|
|
10
337
|
enabled: boolean;
|
|
11
338
|
track: "stable" | "development";
|
|
12
339
|
aliases: Record<string, string>;
|
|
13
340
|
configuration: Record<string, unknown>;
|
|
341
|
+
resources: {
|
|
342
|
+
gpuDevices: string[];
|
|
343
|
+
cpuCores?: number | undefined;
|
|
344
|
+
memoryBytes?: number | undefined;
|
|
345
|
+
storageBytes?: number | undefined;
|
|
346
|
+
};
|
|
347
|
+
connections: Record<string, {
|
|
348
|
+
kind: "local";
|
|
349
|
+
componentId: string;
|
|
350
|
+
serviceId: string;
|
|
351
|
+
endpointId: string;
|
|
352
|
+
} | {
|
|
353
|
+
kind: "remote";
|
|
354
|
+
url: string;
|
|
355
|
+
audience: string;
|
|
356
|
+
tls: {
|
|
357
|
+
trust: "system" | "secret" | "spki";
|
|
358
|
+
serverName?: string | undefined;
|
|
359
|
+
caSecretRef?: string | undefined;
|
|
360
|
+
spkiSha256?: string | undefined;
|
|
361
|
+
};
|
|
362
|
+
authentication: {
|
|
363
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
364
|
+
secretRef?: string | undefined;
|
|
365
|
+
};
|
|
366
|
+
healthGate: {
|
|
367
|
+
protocol: "http" | "https" | "tcp";
|
|
368
|
+
timeoutSeconds: number;
|
|
369
|
+
path?: string | undefined;
|
|
370
|
+
};
|
|
371
|
+
}>;
|
|
14
372
|
profile?: string | undefined;
|
|
15
373
|
}, {
|
|
16
374
|
enabled: boolean;
|
|
@@ -18,6 +376,37 @@ export declare const hostComponentSchema: z.ZodObject<{
|
|
|
18
376
|
profile?: string | undefined;
|
|
19
377
|
aliases?: Record<string, string> | undefined;
|
|
20
378
|
configuration?: Record<string, unknown> | undefined;
|
|
379
|
+
resources?: {
|
|
380
|
+
cpuCores?: number | undefined;
|
|
381
|
+
memoryBytes?: number | undefined;
|
|
382
|
+
storageBytes?: number | undefined;
|
|
383
|
+
gpuDevices?: string[] | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
connections?: Record<string, {
|
|
386
|
+
kind: "local";
|
|
387
|
+
componentId: string;
|
|
388
|
+
serviceId: string;
|
|
389
|
+
endpointId: string;
|
|
390
|
+
} | {
|
|
391
|
+
kind: "remote";
|
|
392
|
+
url: string;
|
|
393
|
+
audience: string;
|
|
394
|
+
tls: {
|
|
395
|
+
trust: "system" | "secret" | "spki";
|
|
396
|
+
serverName?: string | undefined;
|
|
397
|
+
caSecretRef?: string | undefined;
|
|
398
|
+
spkiSha256?: string | undefined;
|
|
399
|
+
};
|
|
400
|
+
authentication: {
|
|
401
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
402
|
+
secretRef?: string | undefined;
|
|
403
|
+
};
|
|
404
|
+
healthGate: {
|
|
405
|
+
protocol: "http" | "https" | "tcp";
|
|
406
|
+
timeoutSeconds: number;
|
|
407
|
+
path?: string | undefined;
|
|
408
|
+
};
|
|
409
|
+
}> | undefined;
|
|
21
410
|
}>;
|
|
22
411
|
export declare const hostConfigurationSchema: z.ZodObject<{
|
|
23
412
|
schemaVersion: z.ZodLiteral<"treeseed.host/v1">;
|
|
@@ -25,7 +414,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
25
414
|
generation: z.ZodNumber;
|
|
26
415
|
host: z.ZodObject<{
|
|
27
416
|
id: z.ZodString;
|
|
28
|
-
role: z.ZodString
|
|
417
|
+
role: z.ZodUnion<[z.ZodEnum<["integrated", "capacity-provider", "control-plane", "knowledge", "ai-gpu", "edge"]>, z.ZodString]>;
|
|
29
418
|
architecture: z.ZodLiteral<"amd64">;
|
|
30
419
|
}, "strict", z.ZodTypeAny, {
|
|
31
420
|
id: string;
|
|
@@ -115,11 +504,213 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
115
504
|
profile: z.ZodOptional<z.ZodString>;
|
|
116
505
|
aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
506
|
configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
507
|
+
resources: z.ZodDefault<z.ZodObject<{
|
|
508
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
509
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
510
|
+
storageBytes: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
gpuDevices: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
512
|
+
}, "strict", z.ZodTypeAny, {
|
|
513
|
+
gpuDevices: string[];
|
|
514
|
+
cpuCores?: number | undefined;
|
|
515
|
+
memoryBytes?: number | undefined;
|
|
516
|
+
storageBytes?: number | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
cpuCores?: number | undefined;
|
|
519
|
+
memoryBytes?: number | undefined;
|
|
520
|
+
storageBytes?: number | undefined;
|
|
521
|
+
gpuDevices?: string[] | undefined;
|
|
522
|
+
}>>;
|
|
523
|
+
connections: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"local">;
|
|
525
|
+
componentId: z.ZodString;
|
|
526
|
+
serviceId: z.ZodString;
|
|
527
|
+
endpointId: z.ZodString;
|
|
528
|
+
}, "strict", z.ZodTypeAny, {
|
|
529
|
+
kind: "local";
|
|
530
|
+
componentId: string;
|
|
531
|
+
serviceId: string;
|
|
532
|
+
endpointId: string;
|
|
533
|
+
}, {
|
|
534
|
+
kind: "local";
|
|
535
|
+
componentId: string;
|
|
536
|
+
serviceId: string;
|
|
537
|
+
endpointId: string;
|
|
538
|
+
}>, z.ZodObject<{
|
|
539
|
+
kind: z.ZodLiteral<"remote">;
|
|
540
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
541
|
+
audience: z.ZodString;
|
|
542
|
+
tls: z.ZodEffects<z.ZodObject<{
|
|
543
|
+
trust: z.ZodEnum<["system", "secret", "spki"]>;
|
|
544
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
545
|
+
caSecretRef: z.ZodOptional<z.ZodString>;
|
|
546
|
+
spkiSha256: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, "strict", z.ZodTypeAny, {
|
|
548
|
+
trust: "system" | "secret" | "spki";
|
|
549
|
+
serverName?: string | undefined;
|
|
550
|
+
caSecretRef?: string | undefined;
|
|
551
|
+
spkiSha256?: string | undefined;
|
|
552
|
+
}, {
|
|
553
|
+
trust: "system" | "secret" | "spki";
|
|
554
|
+
serverName?: string | undefined;
|
|
555
|
+
caSecretRef?: string | undefined;
|
|
556
|
+
spkiSha256?: string | undefined;
|
|
557
|
+
}>, {
|
|
558
|
+
trust: "system" | "secret" | "spki";
|
|
559
|
+
serverName?: string | undefined;
|
|
560
|
+
caSecretRef?: string | undefined;
|
|
561
|
+
spkiSha256?: string | undefined;
|
|
562
|
+
}, {
|
|
563
|
+
trust: "system" | "secret" | "spki";
|
|
564
|
+
serverName?: string | undefined;
|
|
565
|
+
caSecretRef?: string | undefined;
|
|
566
|
+
spkiSha256?: string | undefined;
|
|
567
|
+
}>;
|
|
568
|
+
authentication: z.ZodObject<{
|
|
569
|
+
mode: z.ZodEnum<["none", "application", "bearer", "mtls"]>;
|
|
570
|
+
secretRef: z.ZodOptional<z.ZodString>;
|
|
571
|
+
}, "strict", z.ZodTypeAny, {
|
|
572
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
573
|
+
secretRef?: string | undefined;
|
|
574
|
+
}, {
|
|
575
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
576
|
+
secretRef?: string | undefined;
|
|
577
|
+
}>;
|
|
578
|
+
healthGate: z.ZodObject<{
|
|
579
|
+
protocol: z.ZodEnum<["http", "https", "tcp"]>;
|
|
580
|
+
path: z.ZodOptional<z.ZodString>;
|
|
581
|
+
timeoutSeconds: z.ZodNumber;
|
|
582
|
+
}, "strict", z.ZodTypeAny, {
|
|
583
|
+
protocol: "http" | "https" | "tcp";
|
|
584
|
+
timeoutSeconds: number;
|
|
585
|
+
path?: string | undefined;
|
|
586
|
+
}, {
|
|
587
|
+
protocol: "http" | "https" | "tcp";
|
|
588
|
+
timeoutSeconds: number;
|
|
589
|
+
path?: string | undefined;
|
|
590
|
+
}>;
|
|
591
|
+
}, "strict", z.ZodTypeAny, {
|
|
592
|
+
kind: "remote";
|
|
593
|
+
url: string;
|
|
594
|
+
audience: string;
|
|
595
|
+
tls: {
|
|
596
|
+
trust: "system" | "secret" | "spki";
|
|
597
|
+
serverName?: string | undefined;
|
|
598
|
+
caSecretRef?: string | undefined;
|
|
599
|
+
spkiSha256?: string | undefined;
|
|
600
|
+
};
|
|
601
|
+
authentication: {
|
|
602
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
603
|
+
secretRef?: string | undefined;
|
|
604
|
+
};
|
|
605
|
+
healthGate: {
|
|
606
|
+
protocol: "http" | "https" | "tcp";
|
|
607
|
+
timeoutSeconds: number;
|
|
608
|
+
path?: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
}, {
|
|
611
|
+
kind: "remote";
|
|
612
|
+
url: string;
|
|
613
|
+
audience: string;
|
|
614
|
+
tls: {
|
|
615
|
+
trust: "system" | "secret" | "spki";
|
|
616
|
+
serverName?: string | undefined;
|
|
617
|
+
caSecretRef?: string | undefined;
|
|
618
|
+
spkiSha256?: string | undefined;
|
|
619
|
+
};
|
|
620
|
+
authentication: {
|
|
621
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
622
|
+
secretRef?: string | undefined;
|
|
623
|
+
};
|
|
624
|
+
healthGate: {
|
|
625
|
+
protocol: "http" | "https" | "tcp";
|
|
626
|
+
timeoutSeconds: number;
|
|
627
|
+
path?: string | undefined;
|
|
628
|
+
};
|
|
629
|
+
}>]>, {
|
|
630
|
+
kind: "local";
|
|
631
|
+
componentId: string;
|
|
632
|
+
serviceId: string;
|
|
633
|
+
endpointId: string;
|
|
634
|
+
} | {
|
|
635
|
+
kind: "remote";
|
|
636
|
+
url: string;
|
|
637
|
+
audience: string;
|
|
638
|
+
tls: {
|
|
639
|
+
trust: "system" | "secret" | "spki";
|
|
640
|
+
serverName?: string | undefined;
|
|
641
|
+
caSecretRef?: string | undefined;
|
|
642
|
+
spkiSha256?: string | undefined;
|
|
643
|
+
};
|
|
644
|
+
authentication: {
|
|
645
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
646
|
+
secretRef?: string | undefined;
|
|
647
|
+
};
|
|
648
|
+
healthGate: {
|
|
649
|
+
protocol: "http" | "https" | "tcp";
|
|
650
|
+
timeoutSeconds: number;
|
|
651
|
+
path?: string | undefined;
|
|
652
|
+
};
|
|
653
|
+
}, {
|
|
654
|
+
kind: "local";
|
|
655
|
+
componentId: string;
|
|
656
|
+
serviceId: string;
|
|
657
|
+
endpointId: string;
|
|
658
|
+
} | {
|
|
659
|
+
kind: "remote";
|
|
660
|
+
url: string;
|
|
661
|
+
audience: string;
|
|
662
|
+
tls: {
|
|
663
|
+
trust: "system" | "secret" | "spki";
|
|
664
|
+
serverName?: string | undefined;
|
|
665
|
+
caSecretRef?: string | undefined;
|
|
666
|
+
spkiSha256?: string | undefined;
|
|
667
|
+
};
|
|
668
|
+
authentication: {
|
|
669
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
670
|
+
secretRef?: string | undefined;
|
|
671
|
+
};
|
|
672
|
+
healthGate: {
|
|
673
|
+
protocol: "http" | "https" | "tcp";
|
|
674
|
+
timeoutSeconds: number;
|
|
675
|
+
path?: string | undefined;
|
|
676
|
+
};
|
|
677
|
+
}>>>;
|
|
118
678
|
}, "strict", z.ZodTypeAny, {
|
|
119
679
|
enabled: boolean;
|
|
120
680
|
track: "stable" | "development";
|
|
121
681
|
aliases: Record<string, string>;
|
|
122
682
|
configuration: Record<string, unknown>;
|
|
683
|
+
resources: {
|
|
684
|
+
gpuDevices: string[];
|
|
685
|
+
cpuCores?: number | undefined;
|
|
686
|
+
memoryBytes?: number | undefined;
|
|
687
|
+
storageBytes?: number | undefined;
|
|
688
|
+
};
|
|
689
|
+
connections: Record<string, {
|
|
690
|
+
kind: "local";
|
|
691
|
+
componentId: string;
|
|
692
|
+
serviceId: string;
|
|
693
|
+
endpointId: string;
|
|
694
|
+
} | {
|
|
695
|
+
kind: "remote";
|
|
696
|
+
url: string;
|
|
697
|
+
audience: string;
|
|
698
|
+
tls: {
|
|
699
|
+
trust: "system" | "secret" | "spki";
|
|
700
|
+
serverName?: string | undefined;
|
|
701
|
+
caSecretRef?: string | undefined;
|
|
702
|
+
spkiSha256?: string | undefined;
|
|
703
|
+
};
|
|
704
|
+
authentication: {
|
|
705
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
706
|
+
secretRef?: string | undefined;
|
|
707
|
+
};
|
|
708
|
+
healthGate: {
|
|
709
|
+
protocol: "http" | "https" | "tcp";
|
|
710
|
+
timeoutSeconds: number;
|
|
711
|
+
path?: string | undefined;
|
|
712
|
+
};
|
|
713
|
+
}>;
|
|
123
714
|
profile?: string | undefined;
|
|
124
715
|
}, {
|
|
125
716
|
enabled: boolean;
|
|
@@ -127,6 +718,37 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
127
718
|
profile?: string | undefined;
|
|
128
719
|
aliases?: Record<string, string> | undefined;
|
|
129
720
|
configuration?: Record<string, unknown> | undefined;
|
|
721
|
+
resources?: {
|
|
722
|
+
cpuCores?: number | undefined;
|
|
723
|
+
memoryBytes?: number | undefined;
|
|
724
|
+
storageBytes?: number | undefined;
|
|
725
|
+
gpuDevices?: string[] | undefined;
|
|
726
|
+
} | undefined;
|
|
727
|
+
connections?: Record<string, {
|
|
728
|
+
kind: "local";
|
|
729
|
+
componentId: string;
|
|
730
|
+
serviceId: string;
|
|
731
|
+
endpointId: string;
|
|
732
|
+
} | {
|
|
733
|
+
kind: "remote";
|
|
734
|
+
url: string;
|
|
735
|
+
audience: string;
|
|
736
|
+
tls: {
|
|
737
|
+
trust: "system" | "secret" | "spki";
|
|
738
|
+
serverName?: string | undefined;
|
|
739
|
+
caSecretRef?: string | undefined;
|
|
740
|
+
spkiSha256?: string | undefined;
|
|
741
|
+
};
|
|
742
|
+
authentication: {
|
|
743
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
744
|
+
secretRef?: string | undefined;
|
|
745
|
+
};
|
|
746
|
+
healthGate: {
|
|
747
|
+
protocol: "http" | "https" | "tcp";
|
|
748
|
+
timeoutSeconds: number;
|
|
749
|
+
path?: string | undefined;
|
|
750
|
+
};
|
|
751
|
+
}> | undefined;
|
|
130
752
|
}>>;
|
|
131
753
|
network: z.ZodObject<{
|
|
132
754
|
manager: z.ZodObject<{
|
|
@@ -160,6 +782,348 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
160
782
|
trustedLanCidrs: string[];
|
|
161
783
|
};
|
|
162
784
|
}>;
|
|
785
|
+
fleet: z.ZodEffects<z.ZodObject<{
|
|
786
|
+
rolloutGroup: z.ZodString;
|
|
787
|
+
receiptReporting: z.ZodObject<{
|
|
788
|
+
enabled: z.ZodBoolean;
|
|
789
|
+
connection: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
790
|
+
kind: z.ZodLiteral<"local">;
|
|
791
|
+
componentId: z.ZodString;
|
|
792
|
+
serviceId: z.ZodString;
|
|
793
|
+
endpointId: z.ZodString;
|
|
794
|
+
}, "strict", z.ZodTypeAny, {
|
|
795
|
+
kind: "local";
|
|
796
|
+
componentId: string;
|
|
797
|
+
serviceId: string;
|
|
798
|
+
endpointId: string;
|
|
799
|
+
}, {
|
|
800
|
+
kind: "local";
|
|
801
|
+
componentId: string;
|
|
802
|
+
serviceId: string;
|
|
803
|
+
endpointId: string;
|
|
804
|
+
}>, z.ZodObject<{
|
|
805
|
+
kind: z.ZodLiteral<"remote">;
|
|
806
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
807
|
+
audience: z.ZodString;
|
|
808
|
+
tls: z.ZodEffects<z.ZodObject<{
|
|
809
|
+
trust: z.ZodEnum<["system", "secret", "spki"]>;
|
|
810
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
811
|
+
caSecretRef: z.ZodOptional<z.ZodString>;
|
|
812
|
+
spkiSha256: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, "strict", z.ZodTypeAny, {
|
|
814
|
+
trust: "system" | "secret" | "spki";
|
|
815
|
+
serverName?: string | undefined;
|
|
816
|
+
caSecretRef?: string | undefined;
|
|
817
|
+
spkiSha256?: string | undefined;
|
|
818
|
+
}, {
|
|
819
|
+
trust: "system" | "secret" | "spki";
|
|
820
|
+
serverName?: string | undefined;
|
|
821
|
+
caSecretRef?: string | undefined;
|
|
822
|
+
spkiSha256?: string | undefined;
|
|
823
|
+
}>, {
|
|
824
|
+
trust: "system" | "secret" | "spki";
|
|
825
|
+
serverName?: string | undefined;
|
|
826
|
+
caSecretRef?: string | undefined;
|
|
827
|
+
spkiSha256?: string | undefined;
|
|
828
|
+
}, {
|
|
829
|
+
trust: "system" | "secret" | "spki";
|
|
830
|
+
serverName?: string | undefined;
|
|
831
|
+
caSecretRef?: string | undefined;
|
|
832
|
+
spkiSha256?: string | undefined;
|
|
833
|
+
}>;
|
|
834
|
+
authentication: z.ZodObject<{
|
|
835
|
+
mode: z.ZodEnum<["none", "application", "bearer", "mtls"]>;
|
|
836
|
+
secretRef: z.ZodOptional<z.ZodString>;
|
|
837
|
+
}, "strict", z.ZodTypeAny, {
|
|
838
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
839
|
+
secretRef?: string | undefined;
|
|
840
|
+
}, {
|
|
841
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
842
|
+
secretRef?: string | undefined;
|
|
843
|
+
}>;
|
|
844
|
+
healthGate: z.ZodObject<{
|
|
845
|
+
protocol: z.ZodEnum<["http", "https", "tcp"]>;
|
|
846
|
+
path: z.ZodOptional<z.ZodString>;
|
|
847
|
+
timeoutSeconds: z.ZodNumber;
|
|
848
|
+
}, "strict", z.ZodTypeAny, {
|
|
849
|
+
protocol: "http" | "https" | "tcp";
|
|
850
|
+
timeoutSeconds: number;
|
|
851
|
+
path?: string | undefined;
|
|
852
|
+
}, {
|
|
853
|
+
protocol: "http" | "https" | "tcp";
|
|
854
|
+
timeoutSeconds: number;
|
|
855
|
+
path?: string | undefined;
|
|
856
|
+
}>;
|
|
857
|
+
}, "strict", z.ZodTypeAny, {
|
|
858
|
+
kind: "remote";
|
|
859
|
+
url: string;
|
|
860
|
+
audience: string;
|
|
861
|
+
tls: {
|
|
862
|
+
trust: "system" | "secret" | "spki";
|
|
863
|
+
serverName?: string | undefined;
|
|
864
|
+
caSecretRef?: string | undefined;
|
|
865
|
+
spkiSha256?: string | undefined;
|
|
866
|
+
};
|
|
867
|
+
authentication: {
|
|
868
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
869
|
+
secretRef?: string | undefined;
|
|
870
|
+
};
|
|
871
|
+
healthGate: {
|
|
872
|
+
protocol: "http" | "https" | "tcp";
|
|
873
|
+
timeoutSeconds: number;
|
|
874
|
+
path?: string | undefined;
|
|
875
|
+
};
|
|
876
|
+
}, {
|
|
877
|
+
kind: "remote";
|
|
878
|
+
url: string;
|
|
879
|
+
audience: string;
|
|
880
|
+
tls: {
|
|
881
|
+
trust: "system" | "secret" | "spki";
|
|
882
|
+
serverName?: string | undefined;
|
|
883
|
+
caSecretRef?: string | undefined;
|
|
884
|
+
spkiSha256?: string | undefined;
|
|
885
|
+
};
|
|
886
|
+
authentication: {
|
|
887
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
888
|
+
secretRef?: string | undefined;
|
|
889
|
+
};
|
|
890
|
+
healthGate: {
|
|
891
|
+
protocol: "http" | "https" | "tcp";
|
|
892
|
+
timeoutSeconds: number;
|
|
893
|
+
path?: string | undefined;
|
|
894
|
+
};
|
|
895
|
+
}>]>, {
|
|
896
|
+
kind: "local";
|
|
897
|
+
componentId: string;
|
|
898
|
+
serviceId: string;
|
|
899
|
+
endpointId: string;
|
|
900
|
+
} | {
|
|
901
|
+
kind: "remote";
|
|
902
|
+
url: string;
|
|
903
|
+
audience: string;
|
|
904
|
+
tls: {
|
|
905
|
+
trust: "system" | "secret" | "spki";
|
|
906
|
+
serverName?: string | undefined;
|
|
907
|
+
caSecretRef?: string | undefined;
|
|
908
|
+
spkiSha256?: string | undefined;
|
|
909
|
+
};
|
|
910
|
+
authentication: {
|
|
911
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
912
|
+
secretRef?: string | undefined;
|
|
913
|
+
};
|
|
914
|
+
healthGate: {
|
|
915
|
+
protocol: "http" | "https" | "tcp";
|
|
916
|
+
timeoutSeconds: number;
|
|
917
|
+
path?: string | undefined;
|
|
918
|
+
};
|
|
919
|
+
}, {
|
|
920
|
+
kind: "local";
|
|
921
|
+
componentId: string;
|
|
922
|
+
serviceId: string;
|
|
923
|
+
endpointId: string;
|
|
924
|
+
} | {
|
|
925
|
+
kind: "remote";
|
|
926
|
+
url: string;
|
|
927
|
+
audience: string;
|
|
928
|
+
tls: {
|
|
929
|
+
trust: "system" | "secret" | "spki";
|
|
930
|
+
serverName?: string | undefined;
|
|
931
|
+
caSecretRef?: string | undefined;
|
|
932
|
+
spkiSha256?: string | undefined;
|
|
933
|
+
};
|
|
934
|
+
authentication: {
|
|
935
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
936
|
+
secretRef?: string | undefined;
|
|
937
|
+
};
|
|
938
|
+
healthGate: {
|
|
939
|
+
protocol: "http" | "https" | "tcp";
|
|
940
|
+
timeoutSeconds: number;
|
|
941
|
+
path?: string | undefined;
|
|
942
|
+
};
|
|
943
|
+
}>>;
|
|
944
|
+
intervalSeconds: z.ZodNumber;
|
|
945
|
+
}, "strict", z.ZodTypeAny, {
|
|
946
|
+
enabled: boolean;
|
|
947
|
+
intervalSeconds: number;
|
|
948
|
+
connection?: {
|
|
949
|
+
kind: "local";
|
|
950
|
+
componentId: string;
|
|
951
|
+
serviceId: string;
|
|
952
|
+
endpointId: string;
|
|
953
|
+
} | {
|
|
954
|
+
kind: "remote";
|
|
955
|
+
url: string;
|
|
956
|
+
audience: string;
|
|
957
|
+
tls: {
|
|
958
|
+
trust: "system" | "secret" | "spki";
|
|
959
|
+
serverName?: string | undefined;
|
|
960
|
+
caSecretRef?: string | undefined;
|
|
961
|
+
spkiSha256?: string | undefined;
|
|
962
|
+
};
|
|
963
|
+
authentication: {
|
|
964
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
965
|
+
secretRef?: string | undefined;
|
|
966
|
+
};
|
|
967
|
+
healthGate: {
|
|
968
|
+
protocol: "http" | "https" | "tcp";
|
|
969
|
+
timeoutSeconds: number;
|
|
970
|
+
path?: string | undefined;
|
|
971
|
+
};
|
|
972
|
+
} | undefined;
|
|
973
|
+
}, {
|
|
974
|
+
enabled: boolean;
|
|
975
|
+
intervalSeconds: number;
|
|
976
|
+
connection?: {
|
|
977
|
+
kind: "local";
|
|
978
|
+
componentId: string;
|
|
979
|
+
serviceId: string;
|
|
980
|
+
endpointId: string;
|
|
981
|
+
} | {
|
|
982
|
+
kind: "remote";
|
|
983
|
+
url: string;
|
|
984
|
+
audience: string;
|
|
985
|
+
tls: {
|
|
986
|
+
trust: "system" | "secret" | "spki";
|
|
987
|
+
serverName?: string | undefined;
|
|
988
|
+
caSecretRef?: string | undefined;
|
|
989
|
+
spkiSha256?: string | undefined;
|
|
990
|
+
};
|
|
991
|
+
authentication: {
|
|
992
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
993
|
+
secretRef?: string | undefined;
|
|
994
|
+
};
|
|
995
|
+
healthGate: {
|
|
996
|
+
protocol: "http" | "https" | "tcp";
|
|
997
|
+
timeoutSeconds: number;
|
|
998
|
+
path?: string | undefined;
|
|
999
|
+
};
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
}>;
|
|
1002
|
+
}, "strict", z.ZodTypeAny, {
|
|
1003
|
+
rolloutGroup: string;
|
|
1004
|
+
receiptReporting: {
|
|
1005
|
+
enabled: boolean;
|
|
1006
|
+
intervalSeconds: number;
|
|
1007
|
+
connection?: {
|
|
1008
|
+
kind: "local";
|
|
1009
|
+
componentId: string;
|
|
1010
|
+
serviceId: string;
|
|
1011
|
+
endpointId: string;
|
|
1012
|
+
} | {
|
|
1013
|
+
kind: "remote";
|
|
1014
|
+
url: string;
|
|
1015
|
+
audience: string;
|
|
1016
|
+
tls: {
|
|
1017
|
+
trust: "system" | "secret" | "spki";
|
|
1018
|
+
serverName?: string | undefined;
|
|
1019
|
+
caSecretRef?: string | undefined;
|
|
1020
|
+
spkiSha256?: string | undefined;
|
|
1021
|
+
};
|
|
1022
|
+
authentication: {
|
|
1023
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1024
|
+
secretRef?: string | undefined;
|
|
1025
|
+
};
|
|
1026
|
+
healthGate: {
|
|
1027
|
+
protocol: "http" | "https" | "tcp";
|
|
1028
|
+
timeoutSeconds: number;
|
|
1029
|
+
path?: string | undefined;
|
|
1030
|
+
};
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
};
|
|
1033
|
+
}, {
|
|
1034
|
+
rolloutGroup: string;
|
|
1035
|
+
receiptReporting: {
|
|
1036
|
+
enabled: boolean;
|
|
1037
|
+
intervalSeconds: number;
|
|
1038
|
+
connection?: {
|
|
1039
|
+
kind: "local";
|
|
1040
|
+
componentId: string;
|
|
1041
|
+
serviceId: string;
|
|
1042
|
+
endpointId: string;
|
|
1043
|
+
} | {
|
|
1044
|
+
kind: "remote";
|
|
1045
|
+
url: string;
|
|
1046
|
+
audience: string;
|
|
1047
|
+
tls: {
|
|
1048
|
+
trust: "system" | "secret" | "spki";
|
|
1049
|
+
serverName?: string | undefined;
|
|
1050
|
+
caSecretRef?: string | undefined;
|
|
1051
|
+
spkiSha256?: string | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
authentication: {
|
|
1054
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1055
|
+
secretRef?: string | undefined;
|
|
1056
|
+
};
|
|
1057
|
+
healthGate: {
|
|
1058
|
+
protocol: "http" | "https" | "tcp";
|
|
1059
|
+
timeoutSeconds: number;
|
|
1060
|
+
path?: string | undefined;
|
|
1061
|
+
};
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
};
|
|
1064
|
+
}>, {
|
|
1065
|
+
rolloutGroup: string;
|
|
1066
|
+
receiptReporting: {
|
|
1067
|
+
enabled: boolean;
|
|
1068
|
+
intervalSeconds: number;
|
|
1069
|
+
connection?: {
|
|
1070
|
+
kind: "local";
|
|
1071
|
+
componentId: string;
|
|
1072
|
+
serviceId: string;
|
|
1073
|
+
endpointId: string;
|
|
1074
|
+
} | {
|
|
1075
|
+
kind: "remote";
|
|
1076
|
+
url: string;
|
|
1077
|
+
audience: string;
|
|
1078
|
+
tls: {
|
|
1079
|
+
trust: "system" | "secret" | "spki";
|
|
1080
|
+
serverName?: string | undefined;
|
|
1081
|
+
caSecretRef?: string | undefined;
|
|
1082
|
+
spkiSha256?: string | undefined;
|
|
1083
|
+
};
|
|
1084
|
+
authentication: {
|
|
1085
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1086
|
+
secretRef?: string | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
healthGate: {
|
|
1089
|
+
protocol: "http" | "https" | "tcp";
|
|
1090
|
+
timeoutSeconds: number;
|
|
1091
|
+
path?: string | undefined;
|
|
1092
|
+
};
|
|
1093
|
+
} | undefined;
|
|
1094
|
+
};
|
|
1095
|
+
}, {
|
|
1096
|
+
rolloutGroup: string;
|
|
1097
|
+
receiptReporting: {
|
|
1098
|
+
enabled: boolean;
|
|
1099
|
+
intervalSeconds: number;
|
|
1100
|
+
connection?: {
|
|
1101
|
+
kind: "local";
|
|
1102
|
+
componentId: string;
|
|
1103
|
+
serviceId: string;
|
|
1104
|
+
endpointId: string;
|
|
1105
|
+
} | {
|
|
1106
|
+
kind: "remote";
|
|
1107
|
+
url: string;
|
|
1108
|
+
audience: string;
|
|
1109
|
+
tls: {
|
|
1110
|
+
trust: "system" | "secret" | "spki";
|
|
1111
|
+
serverName?: string | undefined;
|
|
1112
|
+
caSecretRef?: string | undefined;
|
|
1113
|
+
spkiSha256?: string | undefined;
|
|
1114
|
+
};
|
|
1115
|
+
authentication: {
|
|
1116
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1117
|
+
secretRef?: string | undefined;
|
|
1118
|
+
};
|
|
1119
|
+
healthGate: {
|
|
1120
|
+
protocol: "http" | "https" | "tcp";
|
|
1121
|
+
timeoutSeconds: number;
|
|
1122
|
+
path?: string | undefined;
|
|
1123
|
+
};
|
|
1124
|
+
} | undefined;
|
|
1125
|
+
};
|
|
1126
|
+
}>;
|
|
163
1127
|
secrets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
164
1128
|
provider: z.ZodEnum<["file", "systemd-credential", "vault", "aws-secrets-manager"]>;
|
|
165
1129
|
reference: z.ZodString;
|
|
@@ -201,6 +1165,37 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
201
1165
|
track: "stable" | "development";
|
|
202
1166
|
aliases: Record<string, string>;
|
|
203
1167
|
configuration: Record<string, unknown>;
|
|
1168
|
+
resources: {
|
|
1169
|
+
gpuDevices: string[];
|
|
1170
|
+
cpuCores?: number | undefined;
|
|
1171
|
+
memoryBytes?: number | undefined;
|
|
1172
|
+
storageBytes?: number | undefined;
|
|
1173
|
+
};
|
|
1174
|
+
connections: Record<string, {
|
|
1175
|
+
kind: "local";
|
|
1176
|
+
componentId: string;
|
|
1177
|
+
serviceId: string;
|
|
1178
|
+
endpointId: string;
|
|
1179
|
+
} | {
|
|
1180
|
+
kind: "remote";
|
|
1181
|
+
url: string;
|
|
1182
|
+
audience: string;
|
|
1183
|
+
tls: {
|
|
1184
|
+
trust: "system" | "secret" | "spki";
|
|
1185
|
+
serverName?: string | undefined;
|
|
1186
|
+
caSecretRef?: string | undefined;
|
|
1187
|
+
spkiSha256?: string | undefined;
|
|
1188
|
+
};
|
|
1189
|
+
authentication: {
|
|
1190
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1191
|
+
secretRef?: string | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
healthGate: {
|
|
1194
|
+
protocol: "http" | "https" | "tcp";
|
|
1195
|
+
timeoutSeconds: number;
|
|
1196
|
+
path?: string | undefined;
|
|
1197
|
+
};
|
|
1198
|
+
}>;
|
|
204
1199
|
profile?: string | undefined;
|
|
205
1200
|
}>;
|
|
206
1201
|
network: {
|
|
@@ -211,6 +1206,38 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
211
1206
|
trustedLanCidrs: string[];
|
|
212
1207
|
};
|
|
213
1208
|
};
|
|
1209
|
+
fleet: {
|
|
1210
|
+
rolloutGroup: string;
|
|
1211
|
+
receiptReporting: {
|
|
1212
|
+
enabled: boolean;
|
|
1213
|
+
intervalSeconds: number;
|
|
1214
|
+
connection?: {
|
|
1215
|
+
kind: "local";
|
|
1216
|
+
componentId: string;
|
|
1217
|
+
serviceId: string;
|
|
1218
|
+
endpointId: string;
|
|
1219
|
+
} | {
|
|
1220
|
+
kind: "remote";
|
|
1221
|
+
url: string;
|
|
1222
|
+
audience: string;
|
|
1223
|
+
tls: {
|
|
1224
|
+
trust: "system" | "secret" | "spki";
|
|
1225
|
+
serverName?: string | undefined;
|
|
1226
|
+
caSecretRef?: string | undefined;
|
|
1227
|
+
spkiSha256?: string | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
authentication: {
|
|
1230
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1231
|
+
secretRef?: string | undefined;
|
|
1232
|
+
};
|
|
1233
|
+
healthGate: {
|
|
1234
|
+
protocol: "http" | "https" | "tcp";
|
|
1235
|
+
timeoutSeconds: number;
|
|
1236
|
+
path?: string | undefined;
|
|
1237
|
+
};
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
214
1241
|
secrets: Record<string, {
|
|
215
1242
|
provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
|
|
216
1243
|
reference: string;
|
|
@@ -247,6 +1274,37 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
247
1274
|
profile?: string | undefined;
|
|
248
1275
|
aliases?: Record<string, string> | undefined;
|
|
249
1276
|
configuration?: Record<string, unknown> | undefined;
|
|
1277
|
+
resources?: {
|
|
1278
|
+
cpuCores?: number | undefined;
|
|
1279
|
+
memoryBytes?: number | undefined;
|
|
1280
|
+
storageBytes?: number | undefined;
|
|
1281
|
+
gpuDevices?: string[] | undefined;
|
|
1282
|
+
} | undefined;
|
|
1283
|
+
connections?: Record<string, {
|
|
1284
|
+
kind: "local";
|
|
1285
|
+
componentId: string;
|
|
1286
|
+
serviceId: string;
|
|
1287
|
+
endpointId: string;
|
|
1288
|
+
} | {
|
|
1289
|
+
kind: "remote";
|
|
1290
|
+
url: string;
|
|
1291
|
+
audience: string;
|
|
1292
|
+
tls: {
|
|
1293
|
+
trust: "system" | "secret" | "spki";
|
|
1294
|
+
serverName?: string | undefined;
|
|
1295
|
+
caSecretRef?: string | undefined;
|
|
1296
|
+
spkiSha256?: string | undefined;
|
|
1297
|
+
};
|
|
1298
|
+
authentication: {
|
|
1299
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1300
|
+
secretRef?: string | undefined;
|
|
1301
|
+
};
|
|
1302
|
+
healthGate: {
|
|
1303
|
+
protocol: "http" | "https" | "tcp";
|
|
1304
|
+
timeoutSeconds: number;
|
|
1305
|
+
path?: string | undefined;
|
|
1306
|
+
};
|
|
1307
|
+
}> | undefined;
|
|
250
1308
|
}>;
|
|
251
1309
|
network: {
|
|
252
1310
|
manager: {
|
|
@@ -256,6 +1314,38 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
256
1314
|
trustedLanCidrs: string[];
|
|
257
1315
|
};
|
|
258
1316
|
};
|
|
1317
|
+
fleet: {
|
|
1318
|
+
rolloutGroup: string;
|
|
1319
|
+
receiptReporting: {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
intervalSeconds: number;
|
|
1322
|
+
connection?: {
|
|
1323
|
+
kind: "local";
|
|
1324
|
+
componentId: string;
|
|
1325
|
+
serviceId: string;
|
|
1326
|
+
endpointId: string;
|
|
1327
|
+
} | {
|
|
1328
|
+
kind: "remote";
|
|
1329
|
+
url: string;
|
|
1330
|
+
audience: string;
|
|
1331
|
+
tls: {
|
|
1332
|
+
trust: "system" | "secret" | "spki";
|
|
1333
|
+
serverName?: string | undefined;
|
|
1334
|
+
caSecretRef?: string | undefined;
|
|
1335
|
+
spkiSha256?: string | undefined;
|
|
1336
|
+
};
|
|
1337
|
+
authentication: {
|
|
1338
|
+
mode: "none" | "application" | "bearer" | "mtls";
|
|
1339
|
+
secretRef?: string | undefined;
|
|
1340
|
+
};
|
|
1341
|
+
healthGate: {
|
|
1342
|
+
protocol: "http" | "https" | "tcp";
|
|
1343
|
+
timeoutSeconds: number;
|
|
1344
|
+
path?: string | undefined;
|
|
1345
|
+
};
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
259
1349
|
secrets: Record<string, {
|
|
260
1350
|
provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
|
|
261
1351
|
reference: string;
|
|
@@ -284,61 +1374,61 @@ export declare const packageEndpointSchema: z.ZodEffects<z.ZodObject<{
|
|
|
284
1374
|
path?: string | undefined;
|
|
285
1375
|
}>>;
|
|
286
1376
|
}, "strict", z.ZodTypeAny, {
|
|
287
|
-
id: string;
|
|
288
1377
|
protocol: "http" | "https" | "tcp";
|
|
1378
|
+
tls: "edge" | "passthrough" | "none";
|
|
1379
|
+
authentication: "none" | "application" | "mtls";
|
|
1380
|
+
id: string;
|
|
289
1381
|
port: number;
|
|
290
1382
|
visibility: "host" | "private";
|
|
291
1383
|
aliasOverride: boolean;
|
|
292
|
-
tls: "passthrough" | "edge" | "none";
|
|
293
|
-
authentication: "none" | "application" | "mtls";
|
|
294
|
-
defaultAlias?: string | undefined;
|
|
295
1384
|
healthGate?: {
|
|
296
1385
|
protocol: "http" | "https" | "tcp";
|
|
297
1386
|
timeoutSeconds: number;
|
|
298
1387
|
path?: string | undefined;
|
|
299
1388
|
} | undefined;
|
|
1389
|
+
defaultAlias?: string | undefined;
|
|
300
1390
|
}, {
|
|
301
|
-
id: string;
|
|
302
1391
|
protocol: "http" | "https" | "tcp";
|
|
1392
|
+
tls: "edge" | "passthrough" | "none";
|
|
1393
|
+
authentication: "none" | "application" | "mtls";
|
|
1394
|
+
id: string;
|
|
303
1395
|
port: number;
|
|
304
1396
|
visibility: "host" | "private";
|
|
305
|
-
tls: "passthrough" | "edge" | "none";
|
|
306
|
-
authentication: "none" | "application" | "mtls";
|
|
307
|
-
defaultAlias?: string | undefined;
|
|
308
|
-
aliasOverride?: boolean | undefined;
|
|
309
1397
|
healthGate?: {
|
|
310
1398
|
protocol: "http" | "https" | "tcp";
|
|
311
1399
|
timeoutSeconds: number;
|
|
312
1400
|
path?: string | undefined;
|
|
313
1401
|
} | undefined;
|
|
1402
|
+
defaultAlias?: string | undefined;
|
|
1403
|
+
aliasOverride?: boolean | undefined;
|
|
314
1404
|
}>, {
|
|
315
|
-
id: string;
|
|
316
1405
|
protocol: "http" | "https" | "tcp";
|
|
1406
|
+
tls: "edge" | "passthrough" | "none";
|
|
1407
|
+
authentication: "none" | "application" | "mtls";
|
|
1408
|
+
id: string;
|
|
317
1409
|
port: number;
|
|
318
1410
|
visibility: "host" | "private";
|
|
319
1411
|
aliasOverride: boolean;
|
|
320
|
-
tls: "passthrough" | "edge" | "none";
|
|
321
|
-
authentication: "none" | "application" | "mtls";
|
|
322
|
-
defaultAlias?: string | undefined;
|
|
323
1412
|
healthGate?: {
|
|
324
1413
|
protocol: "http" | "https" | "tcp";
|
|
325
1414
|
timeoutSeconds: number;
|
|
326
1415
|
path?: string | undefined;
|
|
327
1416
|
} | undefined;
|
|
1417
|
+
defaultAlias?: string | undefined;
|
|
328
1418
|
}, {
|
|
329
|
-
id: string;
|
|
330
1419
|
protocol: "http" | "https" | "tcp";
|
|
1420
|
+
tls: "edge" | "passthrough" | "none";
|
|
1421
|
+
authentication: "none" | "application" | "mtls";
|
|
1422
|
+
id: string;
|
|
331
1423
|
port: number;
|
|
332
1424
|
visibility: "host" | "private";
|
|
333
|
-
tls: "passthrough" | "edge" | "none";
|
|
334
|
-
authentication: "none" | "application" | "mtls";
|
|
335
|
-
defaultAlias?: string | undefined;
|
|
336
|
-
aliasOverride?: boolean | undefined;
|
|
337
1425
|
healthGate?: {
|
|
338
1426
|
protocol: "http" | "https" | "tcp";
|
|
339
1427
|
timeoutSeconds: number;
|
|
340
1428
|
path?: string | undefined;
|
|
341
1429
|
} | undefined;
|
|
1430
|
+
defaultAlias?: string | undefined;
|
|
1431
|
+
aliasOverride?: boolean | undefined;
|
|
342
1432
|
}>;
|
|
343
1433
|
export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
344
1434
|
schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
|
|
@@ -346,13 +1436,28 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
346
1436
|
version: z.ZodString;
|
|
347
1437
|
compose: z.ZodObject<{
|
|
348
1438
|
projectName: z.ZodString;
|
|
349
|
-
files: z.ZodArray<z.
|
|
1439
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1440
|
+
path: z.ZodString;
|
|
1441
|
+
digest: z.ZodString;
|
|
1442
|
+
}, "strict", z.ZodTypeAny, {
|
|
1443
|
+
path: string;
|
|
1444
|
+
digest: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
path: string;
|
|
1447
|
+
digest: string;
|
|
1448
|
+
}>, "many">;
|
|
350
1449
|
}, "strict", z.ZodTypeAny, {
|
|
351
1450
|
projectName: string;
|
|
352
|
-
files:
|
|
1451
|
+
files: {
|
|
1452
|
+
path: string;
|
|
1453
|
+
digest: string;
|
|
1454
|
+
}[];
|
|
353
1455
|
}, {
|
|
354
1456
|
projectName: string;
|
|
355
|
-
files:
|
|
1457
|
+
files: {
|
|
1458
|
+
path: string;
|
|
1459
|
+
digest: string;
|
|
1460
|
+
}[];
|
|
356
1461
|
}>;
|
|
357
1462
|
services: z.ZodArray<z.ZodObject<{
|
|
358
1463
|
id: z.ZodString;
|
|
@@ -380,97 +1485,97 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
380
1485
|
path?: string | undefined;
|
|
381
1486
|
}>>;
|
|
382
1487
|
}, "strict", z.ZodTypeAny, {
|
|
383
|
-
id: string;
|
|
384
1488
|
protocol: "http" | "https" | "tcp";
|
|
1489
|
+
tls: "edge" | "passthrough" | "none";
|
|
1490
|
+
authentication: "none" | "application" | "mtls";
|
|
1491
|
+
id: string;
|
|
385
1492
|
port: number;
|
|
386
1493
|
visibility: "host" | "private";
|
|
387
1494
|
aliasOverride: boolean;
|
|
388
|
-
tls: "passthrough" | "edge" | "none";
|
|
389
|
-
authentication: "none" | "application" | "mtls";
|
|
390
|
-
defaultAlias?: string | undefined;
|
|
391
1495
|
healthGate?: {
|
|
392
1496
|
protocol: "http" | "https" | "tcp";
|
|
393
1497
|
timeoutSeconds: number;
|
|
394
1498
|
path?: string | undefined;
|
|
395
1499
|
} | undefined;
|
|
1500
|
+
defaultAlias?: string | undefined;
|
|
396
1501
|
}, {
|
|
397
|
-
id: string;
|
|
398
1502
|
protocol: "http" | "https" | "tcp";
|
|
1503
|
+
tls: "edge" | "passthrough" | "none";
|
|
1504
|
+
authentication: "none" | "application" | "mtls";
|
|
1505
|
+
id: string;
|
|
399
1506
|
port: number;
|
|
400
1507
|
visibility: "host" | "private";
|
|
401
|
-
tls: "passthrough" | "edge" | "none";
|
|
402
|
-
authentication: "none" | "application" | "mtls";
|
|
403
|
-
defaultAlias?: string | undefined;
|
|
404
|
-
aliasOverride?: boolean | undefined;
|
|
405
1508
|
healthGate?: {
|
|
406
1509
|
protocol: "http" | "https" | "tcp";
|
|
407
1510
|
timeoutSeconds: number;
|
|
408
1511
|
path?: string | undefined;
|
|
409
1512
|
} | undefined;
|
|
1513
|
+
defaultAlias?: string | undefined;
|
|
1514
|
+
aliasOverride?: boolean | undefined;
|
|
410
1515
|
}>, {
|
|
411
|
-
id: string;
|
|
412
1516
|
protocol: "http" | "https" | "tcp";
|
|
1517
|
+
tls: "edge" | "passthrough" | "none";
|
|
1518
|
+
authentication: "none" | "application" | "mtls";
|
|
1519
|
+
id: string;
|
|
413
1520
|
port: number;
|
|
414
1521
|
visibility: "host" | "private";
|
|
415
1522
|
aliasOverride: boolean;
|
|
416
|
-
tls: "passthrough" | "edge" | "none";
|
|
417
|
-
authentication: "none" | "application" | "mtls";
|
|
418
|
-
defaultAlias?: string | undefined;
|
|
419
1523
|
healthGate?: {
|
|
420
1524
|
protocol: "http" | "https" | "tcp";
|
|
421
1525
|
timeoutSeconds: number;
|
|
422
1526
|
path?: string | undefined;
|
|
423
1527
|
} | undefined;
|
|
1528
|
+
defaultAlias?: string | undefined;
|
|
424
1529
|
}, {
|
|
425
|
-
id: string;
|
|
426
1530
|
protocol: "http" | "https" | "tcp";
|
|
1531
|
+
tls: "edge" | "passthrough" | "none";
|
|
1532
|
+
authentication: "none" | "application" | "mtls";
|
|
1533
|
+
id: string;
|
|
427
1534
|
port: number;
|
|
428
1535
|
visibility: "host" | "private";
|
|
429
|
-
tls: "passthrough" | "edge" | "none";
|
|
430
|
-
authentication: "none" | "application" | "mtls";
|
|
431
|
-
defaultAlias?: string | undefined;
|
|
432
|
-
aliasOverride?: boolean | undefined;
|
|
433
1536
|
healthGate?: {
|
|
434
1537
|
protocol: "http" | "https" | "tcp";
|
|
435
1538
|
timeoutSeconds: number;
|
|
436
1539
|
path?: string | undefined;
|
|
437
1540
|
} | undefined;
|
|
1541
|
+
defaultAlias?: string | undefined;
|
|
1542
|
+
aliasOverride?: boolean | undefined;
|
|
438
1543
|
}>, "many">;
|
|
439
1544
|
}, "strict", z.ZodTypeAny, {
|
|
440
1545
|
id: string;
|
|
441
1546
|
composeService: string;
|
|
442
1547
|
endpoints: {
|
|
443
|
-
id: string;
|
|
444
1548
|
protocol: "http" | "https" | "tcp";
|
|
1549
|
+
tls: "edge" | "passthrough" | "none";
|
|
1550
|
+
authentication: "none" | "application" | "mtls";
|
|
1551
|
+
id: string;
|
|
445
1552
|
port: number;
|
|
446
1553
|
visibility: "host" | "private";
|
|
447
1554
|
aliasOverride: boolean;
|
|
448
|
-
tls: "passthrough" | "edge" | "none";
|
|
449
|
-
authentication: "none" | "application" | "mtls";
|
|
450
|
-
defaultAlias?: string | undefined;
|
|
451
1555
|
healthGate?: {
|
|
452
1556
|
protocol: "http" | "https" | "tcp";
|
|
453
1557
|
timeoutSeconds: number;
|
|
454
1558
|
path?: string | undefined;
|
|
455
1559
|
} | undefined;
|
|
1560
|
+
defaultAlias?: string | undefined;
|
|
456
1561
|
}[];
|
|
457
1562
|
}, {
|
|
458
1563
|
id: string;
|
|
459
1564
|
composeService: string;
|
|
460
1565
|
endpoints: {
|
|
461
|
-
id: string;
|
|
462
1566
|
protocol: "http" | "https" | "tcp";
|
|
1567
|
+
tls: "edge" | "passthrough" | "none";
|
|
1568
|
+
authentication: "none" | "application" | "mtls";
|
|
1569
|
+
id: string;
|
|
463
1570
|
port: number;
|
|
464
1571
|
visibility: "host" | "private";
|
|
465
|
-
tls: "passthrough" | "edge" | "none";
|
|
466
|
-
authentication: "none" | "application" | "mtls";
|
|
467
|
-
defaultAlias?: string | undefined;
|
|
468
|
-
aliasOverride?: boolean | undefined;
|
|
469
1572
|
healthGate?: {
|
|
470
1573
|
protocol: "http" | "https" | "tcp";
|
|
471
1574
|
timeoutSeconds: number;
|
|
472
1575
|
path?: string | undefined;
|
|
473
1576
|
} | undefined;
|
|
1577
|
+
defaultAlias?: string | undefined;
|
|
1578
|
+
aliasOverride?: boolean | undefined;
|
|
474
1579
|
}[];
|
|
475
1580
|
}>, "many">;
|
|
476
1581
|
stateVolumes: z.ZodArray<z.ZodObject<{
|
|
@@ -480,11 +1585,11 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
480
1585
|
}, "strict", z.ZodTypeAny, {
|
|
481
1586
|
id: string;
|
|
482
1587
|
volume: string;
|
|
483
|
-
backup: "
|
|
1588
|
+
backup: "none" | "required" | "optional";
|
|
484
1589
|
}, {
|
|
485
1590
|
id: string;
|
|
486
1591
|
volume: string;
|
|
487
|
-
backup: "
|
|
1592
|
+
backup: "none" | "required" | "optional";
|
|
488
1593
|
}>, "many">;
|
|
489
1594
|
migrations: z.ZodArray<z.ZodObject<{
|
|
490
1595
|
id: z.ZodString;
|
|
@@ -500,37 +1605,56 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
500
1605
|
backupRequired: boolean;
|
|
501
1606
|
}>, "many">;
|
|
502
1607
|
requiredCapabilities: z.ZodArray<z.ZodString, "many">;
|
|
1608
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1609
|
+
id: z.ZodString;
|
|
1610
|
+
capability: z.ZodString;
|
|
1611
|
+
locality: z.ZodEnum<["local", "remote", "either"]>;
|
|
1612
|
+
optional: z.ZodDefault<z.ZodBoolean>;
|
|
1613
|
+
}, "strict", z.ZodTypeAny, {
|
|
1614
|
+
id: string;
|
|
1615
|
+
optional: boolean;
|
|
1616
|
+
capability: string;
|
|
1617
|
+
locality: "local" | "remote" | "either";
|
|
1618
|
+
}, {
|
|
1619
|
+
id: string;
|
|
1620
|
+
capability: string;
|
|
1621
|
+
locality: "local" | "remote" | "either";
|
|
1622
|
+
optional?: boolean | undefined;
|
|
1623
|
+
}>, "many">>;
|
|
503
1624
|
}, "strict", z.ZodTypeAny, {
|
|
504
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
505
1625
|
componentId: string;
|
|
1626
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
506
1627
|
version: string;
|
|
507
1628
|
compose: {
|
|
508
1629
|
projectName: string;
|
|
509
|
-
files:
|
|
1630
|
+
files: {
|
|
1631
|
+
path: string;
|
|
1632
|
+
digest: string;
|
|
1633
|
+
}[];
|
|
510
1634
|
};
|
|
511
1635
|
services: {
|
|
512
1636
|
id: string;
|
|
513
1637
|
composeService: string;
|
|
514
1638
|
endpoints: {
|
|
515
|
-
id: string;
|
|
516
1639
|
protocol: "http" | "https" | "tcp";
|
|
1640
|
+
tls: "edge" | "passthrough" | "none";
|
|
1641
|
+
authentication: "none" | "application" | "mtls";
|
|
1642
|
+
id: string;
|
|
517
1643
|
port: number;
|
|
518
1644
|
visibility: "host" | "private";
|
|
519
1645
|
aliasOverride: boolean;
|
|
520
|
-
tls: "passthrough" | "edge" | "none";
|
|
521
|
-
authentication: "none" | "application" | "mtls";
|
|
522
|
-
defaultAlias?: string | undefined;
|
|
523
1646
|
healthGate?: {
|
|
524
1647
|
protocol: "http" | "https" | "tcp";
|
|
525
1648
|
timeoutSeconds: number;
|
|
526
1649
|
path?: string | undefined;
|
|
527
1650
|
} | undefined;
|
|
1651
|
+
defaultAlias?: string | undefined;
|
|
528
1652
|
}[];
|
|
529
1653
|
}[];
|
|
530
1654
|
stateVolumes: {
|
|
531
1655
|
id: string;
|
|
532
1656
|
volume: string;
|
|
533
|
-
backup: "
|
|
1657
|
+
backup: "none" | "required" | "optional";
|
|
534
1658
|
}[];
|
|
535
1659
|
migrations: {
|
|
536
1660
|
id: string;
|
|
@@ -538,37 +1662,46 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
538
1662
|
backupRequired: boolean;
|
|
539
1663
|
}[];
|
|
540
1664
|
requiredCapabilities: string[];
|
|
1665
|
+
dependencies: {
|
|
1666
|
+
id: string;
|
|
1667
|
+
optional: boolean;
|
|
1668
|
+
capability: string;
|
|
1669
|
+
locality: "local" | "remote" | "either";
|
|
1670
|
+
}[];
|
|
541
1671
|
}, {
|
|
542
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
543
1672
|
componentId: string;
|
|
1673
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
544
1674
|
version: string;
|
|
545
1675
|
compose: {
|
|
546
1676
|
projectName: string;
|
|
547
|
-
files:
|
|
1677
|
+
files: {
|
|
1678
|
+
path: string;
|
|
1679
|
+
digest: string;
|
|
1680
|
+
}[];
|
|
548
1681
|
};
|
|
549
1682
|
services: {
|
|
550
1683
|
id: string;
|
|
551
1684
|
composeService: string;
|
|
552
1685
|
endpoints: {
|
|
553
|
-
id: string;
|
|
554
1686
|
protocol: "http" | "https" | "tcp";
|
|
1687
|
+
tls: "edge" | "passthrough" | "none";
|
|
1688
|
+
authentication: "none" | "application" | "mtls";
|
|
1689
|
+
id: string;
|
|
555
1690
|
port: number;
|
|
556
1691
|
visibility: "host" | "private";
|
|
557
|
-
tls: "passthrough" | "edge" | "none";
|
|
558
|
-
authentication: "none" | "application" | "mtls";
|
|
559
|
-
defaultAlias?: string | undefined;
|
|
560
|
-
aliasOverride?: boolean | undefined;
|
|
561
1692
|
healthGate?: {
|
|
562
1693
|
protocol: "http" | "https" | "tcp";
|
|
563
1694
|
timeoutSeconds: number;
|
|
564
1695
|
path?: string | undefined;
|
|
565
1696
|
} | undefined;
|
|
1697
|
+
defaultAlias?: string | undefined;
|
|
1698
|
+
aliasOverride?: boolean | undefined;
|
|
566
1699
|
}[];
|
|
567
1700
|
}[];
|
|
568
1701
|
stateVolumes: {
|
|
569
1702
|
id: string;
|
|
570
1703
|
volume: string;
|
|
571
|
-
backup: "
|
|
1704
|
+
backup: "none" | "required" | "optional";
|
|
572
1705
|
}[];
|
|
573
1706
|
migrations: {
|
|
574
1707
|
id: string;
|
|
@@ -576,37 +1709,46 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
576
1709
|
backupRequired: boolean;
|
|
577
1710
|
}[];
|
|
578
1711
|
requiredCapabilities: string[];
|
|
1712
|
+
dependencies?: {
|
|
1713
|
+
id: string;
|
|
1714
|
+
capability: string;
|
|
1715
|
+
locality: "local" | "remote" | "either";
|
|
1716
|
+
optional?: boolean | undefined;
|
|
1717
|
+
}[] | undefined;
|
|
579
1718
|
}>, {
|
|
580
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
581
1719
|
componentId: string;
|
|
1720
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
582
1721
|
version: string;
|
|
583
1722
|
compose: {
|
|
584
1723
|
projectName: string;
|
|
585
|
-
files:
|
|
1724
|
+
files: {
|
|
1725
|
+
path: string;
|
|
1726
|
+
digest: string;
|
|
1727
|
+
}[];
|
|
586
1728
|
};
|
|
587
1729
|
services: {
|
|
588
1730
|
id: string;
|
|
589
1731
|
composeService: string;
|
|
590
1732
|
endpoints: {
|
|
591
|
-
id: string;
|
|
592
1733
|
protocol: "http" | "https" | "tcp";
|
|
1734
|
+
tls: "edge" | "passthrough" | "none";
|
|
1735
|
+
authentication: "none" | "application" | "mtls";
|
|
1736
|
+
id: string;
|
|
593
1737
|
port: number;
|
|
594
1738
|
visibility: "host" | "private";
|
|
595
1739
|
aliasOverride: boolean;
|
|
596
|
-
tls: "passthrough" | "edge" | "none";
|
|
597
|
-
authentication: "none" | "application" | "mtls";
|
|
598
|
-
defaultAlias?: string | undefined;
|
|
599
1740
|
healthGate?: {
|
|
600
1741
|
protocol: "http" | "https" | "tcp";
|
|
601
1742
|
timeoutSeconds: number;
|
|
602
1743
|
path?: string | undefined;
|
|
603
1744
|
} | undefined;
|
|
1745
|
+
defaultAlias?: string | undefined;
|
|
604
1746
|
}[];
|
|
605
1747
|
}[];
|
|
606
1748
|
stateVolumes: {
|
|
607
1749
|
id: string;
|
|
608
1750
|
volume: string;
|
|
609
|
-
backup: "
|
|
1751
|
+
backup: "none" | "required" | "optional";
|
|
610
1752
|
}[];
|
|
611
1753
|
migrations: {
|
|
612
1754
|
id: string;
|
|
@@ -614,37 +1756,46 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
614
1756
|
backupRequired: boolean;
|
|
615
1757
|
}[];
|
|
616
1758
|
requiredCapabilities: string[];
|
|
1759
|
+
dependencies: {
|
|
1760
|
+
id: string;
|
|
1761
|
+
optional: boolean;
|
|
1762
|
+
capability: string;
|
|
1763
|
+
locality: "local" | "remote" | "either";
|
|
1764
|
+
}[];
|
|
617
1765
|
}, {
|
|
618
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
619
1766
|
componentId: string;
|
|
1767
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
620
1768
|
version: string;
|
|
621
1769
|
compose: {
|
|
622
1770
|
projectName: string;
|
|
623
|
-
files:
|
|
1771
|
+
files: {
|
|
1772
|
+
path: string;
|
|
1773
|
+
digest: string;
|
|
1774
|
+
}[];
|
|
624
1775
|
};
|
|
625
1776
|
services: {
|
|
626
1777
|
id: string;
|
|
627
1778
|
composeService: string;
|
|
628
1779
|
endpoints: {
|
|
629
|
-
id: string;
|
|
630
1780
|
protocol: "http" | "https" | "tcp";
|
|
1781
|
+
tls: "edge" | "passthrough" | "none";
|
|
1782
|
+
authentication: "none" | "application" | "mtls";
|
|
1783
|
+
id: string;
|
|
631
1784
|
port: number;
|
|
632
1785
|
visibility: "host" | "private";
|
|
633
|
-
tls: "passthrough" | "edge" | "none";
|
|
634
|
-
authentication: "none" | "application" | "mtls";
|
|
635
|
-
defaultAlias?: string | undefined;
|
|
636
|
-
aliasOverride?: boolean | undefined;
|
|
637
1786
|
healthGate?: {
|
|
638
1787
|
protocol: "http" | "https" | "tcp";
|
|
639
1788
|
timeoutSeconds: number;
|
|
640
1789
|
path?: string | undefined;
|
|
641
1790
|
} | undefined;
|
|
1791
|
+
defaultAlias?: string | undefined;
|
|
1792
|
+
aliasOverride?: boolean | undefined;
|
|
642
1793
|
}[];
|
|
643
1794
|
}[];
|
|
644
1795
|
stateVolumes: {
|
|
645
1796
|
id: string;
|
|
646
1797
|
volume: string;
|
|
647
|
-
backup: "
|
|
1798
|
+
backup: "none" | "required" | "optional";
|
|
648
1799
|
}[];
|
|
649
1800
|
migrations: {
|
|
650
1801
|
id: string;
|
|
@@ -652,11 +1803,19 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
652
1803
|
backupRequired: boolean;
|
|
653
1804
|
}[];
|
|
654
1805
|
requiredCapabilities: string[];
|
|
1806
|
+
dependencies?: {
|
|
1807
|
+
id: string;
|
|
1808
|
+
capability: string;
|
|
1809
|
+
locality: "local" | "remote" | "either";
|
|
1810
|
+
optional?: boolean | undefined;
|
|
1811
|
+
}[] | undefined;
|
|
655
1812
|
}>;
|
|
656
1813
|
export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
657
1814
|
schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
|
|
658
1815
|
componentId: z.ZodString;
|
|
659
1816
|
release: z.ZodString;
|
|
1817
|
+
applicationVersion: z.ZodString;
|
|
1818
|
+
revision: z.ZodNumber;
|
|
660
1819
|
track: z.ZodEnum<["stable", "development"]>;
|
|
661
1820
|
source: z.ZodObject<{
|
|
662
1821
|
repository: z.ZodString;
|
|
@@ -708,14 +1867,14 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
708
1867
|
consumers: z.ZodArray<z.ZodString, "many">;
|
|
709
1868
|
}, "strict", z.ZodTypeAny, {
|
|
710
1869
|
role: string;
|
|
711
|
-
repository: string;
|
|
712
1870
|
digest: string;
|
|
1871
|
+
repository: string;
|
|
713
1872
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
714
1873
|
consumers: string[];
|
|
715
1874
|
}, {
|
|
716
1875
|
role: string;
|
|
717
|
-
repository: string;
|
|
718
1876
|
digest: string;
|
|
1877
|
+
repository: string;
|
|
719
1878
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
720
1879
|
consumers: string[];
|
|
721
1880
|
}>, "many">;
|
|
@@ -725,13 +1884,28 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
725
1884
|
version: z.ZodString;
|
|
726
1885
|
compose: z.ZodObject<{
|
|
727
1886
|
projectName: z.ZodString;
|
|
728
|
-
files: z.ZodArray<z.
|
|
1887
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1888
|
+
path: z.ZodString;
|
|
1889
|
+
digest: z.ZodString;
|
|
1890
|
+
}, "strict", z.ZodTypeAny, {
|
|
1891
|
+
path: string;
|
|
1892
|
+
digest: string;
|
|
1893
|
+
}, {
|
|
1894
|
+
path: string;
|
|
1895
|
+
digest: string;
|
|
1896
|
+
}>, "many">;
|
|
729
1897
|
}, "strict", z.ZodTypeAny, {
|
|
730
1898
|
projectName: string;
|
|
731
|
-
files:
|
|
1899
|
+
files: {
|
|
1900
|
+
path: string;
|
|
1901
|
+
digest: string;
|
|
1902
|
+
}[];
|
|
732
1903
|
}, {
|
|
733
1904
|
projectName: string;
|
|
734
|
-
files:
|
|
1905
|
+
files: {
|
|
1906
|
+
path: string;
|
|
1907
|
+
digest: string;
|
|
1908
|
+
}[];
|
|
735
1909
|
}>;
|
|
736
1910
|
services: z.ZodArray<z.ZodObject<{
|
|
737
1911
|
id: z.ZodString;
|
|
@@ -759,97 +1933,97 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
759
1933
|
path?: string | undefined;
|
|
760
1934
|
}>>;
|
|
761
1935
|
}, "strict", z.ZodTypeAny, {
|
|
762
|
-
id: string;
|
|
763
1936
|
protocol: "http" | "https" | "tcp";
|
|
1937
|
+
tls: "edge" | "passthrough" | "none";
|
|
1938
|
+
authentication: "none" | "application" | "mtls";
|
|
1939
|
+
id: string;
|
|
764
1940
|
port: number;
|
|
765
1941
|
visibility: "host" | "private";
|
|
766
1942
|
aliasOverride: boolean;
|
|
767
|
-
tls: "passthrough" | "edge" | "none";
|
|
768
|
-
authentication: "none" | "application" | "mtls";
|
|
769
|
-
defaultAlias?: string | undefined;
|
|
770
1943
|
healthGate?: {
|
|
771
1944
|
protocol: "http" | "https" | "tcp";
|
|
772
1945
|
timeoutSeconds: number;
|
|
773
1946
|
path?: string | undefined;
|
|
774
1947
|
} | undefined;
|
|
1948
|
+
defaultAlias?: string | undefined;
|
|
775
1949
|
}, {
|
|
776
|
-
id: string;
|
|
777
1950
|
protocol: "http" | "https" | "tcp";
|
|
1951
|
+
tls: "edge" | "passthrough" | "none";
|
|
1952
|
+
authentication: "none" | "application" | "mtls";
|
|
1953
|
+
id: string;
|
|
778
1954
|
port: number;
|
|
779
1955
|
visibility: "host" | "private";
|
|
780
|
-
tls: "passthrough" | "edge" | "none";
|
|
781
|
-
authentication: "none" | "application" | "mtls";
|
|
782
|
-
defaultAlias?: string | undefined;
|
|
783
|
-
aliasOverride?: boolean | undefined;
|
|
784
1956
|
healthGate?: {
|
|
785
1957
|
protocol: "http" | "https" | "tcp";
|
|
786
1958
|
timeoutSeconds: number;
|
|
787
1959
|
path?: string | undefined;
|
|
788
1960
|
} | undefined;
|
|
1961
|
+
defaultAlias?: string | undefined;
|
|
1962
|
+
aliasOverride?: boolean | undefined;
|
|
789
1963
|
}>, {
|
|
790
|
-
id: string;
|
|
791
1964
|
protocol: "http" | "https" | "tcp";
|
|
1965
|
+
tls: "edge" | "passthrough" | "none";
|
|
1966
|
+
authentication: "none" | "application" | "mtls";
|
|
1967
|
+
id: string;
|
|
792
1968
|
port: number;
|
|
793
1969
|
visibility: "host" | "private";
|
|
794
1970
|
aliasOverride: boolean;
|
|
795
|
-
tls: "passthrough" | "edge" | "none";
|
|
796
|
-
authentication: "none" | "application" | "mtls";
|
|
797
|
-
defaultAlias?: string | undefined;
|
|
798
1971
|
healthGate?: {
|
|
799
1972
|
protocol: "http" | "https" | "tcp";
|
|
800
1973
|
timeoutSeconds: number;
|
|
801
1974
|
path?: string | undefined;
|
|
802
1975
|
} | undefined;
|
|
1976
|
+
defaultAlias?: string | undefined;
|
|
803
1977
|
}, {
|
|
804
|
-
id: string;
|
|
805
1978
|
protocol: "http" | "https" | "tcp";
|
|
1979
|
+
tls: "edge" | "passthrough" | "none";
|
|
1980
|
+
authentication: "none" | "application" | "mtls";
|
|
1981
|
+
id: string;
|
|
806
1982
|
port: number;
|
|
807
1983
|
visibility: "host" | "private";
|
|
808
|
-
tls: "passthrough" | "edge" | "none";
|
|
809
|
-
authentication: "none" | "application" | "mtls";
|
|
810
|
-
defaultAlias?: string | undefined;
|
|
811
|
-
aliasOverride?: boolean | undefined;
|
|
812
1984
|
healthGate?: {
|
|
813
1985
|
protocol: "http" | "https" | "tcp";
|
|
814
1986
|
timeoutSeconds: number;
|
|
815
1987
|
path?: string | undefined;
|
|
816
1988
|
} | undefined;
|
|
1989
|
+
defaultAlias?: string | undefined;
|
|
1990
|
+
aliasOverride?: boolean | undefined;
|
|
817
1991
|
}>, "many">;
|
|
818
1992
|
}, "strict", z.ZodTypeAny, {
|
|
819
1993
|
id: string;
|
|
820
1994
|
composeService: string;
|
|
821
1995
|
endpoints: {
|
|
822
|
-
id: string;
|
|
823
1996
|
protocol: "http" | "https" | "tcp";
|
|
1997
|
+
tls: "edge" | "passthrough" | "none";
|
|
1998
|
+
authentication: "none" | "application" | "mtls";
|
|
1999
|
+
id: string;
|
|
824
2000
|
port: number;
|
|
825
2001
|
visibility: "host" | "private";
|
|
826
2002
|
aliasOverride: boolean;
|
|
827
|
-
tls: "passthrough" | "edge" | "none";
|
|
828
|
-
authentication: "none" | "application" | "mtls";
|
|
829
|
-
defaultAlias?: string | undefined;
|
|
830
2003
|
healthGate?: {
|
|
831
2004
|
protocol: "http" | "https" | "tcp";
|
|
832
2005
|
timeoutSeconds: number;
|
|
833
2006
|
path?: string | undefined;
|
|
834
2007
|
} | undefined;
|
|
2008
|
+
defaultAlias?: string | undefined;
|
|
835
2009
|
}[];
|
|
836
2010
|
}, {
|
|
837
2011
|
id: string;
|
|
838
2012
|
composeService: string;
|
|
839
2013
|
endpoints: {
|
|
840
|
-
id: string;
|
|
841
2014
|
protocol: "http" | "https" | "tcp";
|
|
2015
|
+
tls: "edge" | "passthrough" | "none";
|
|
2016
|
+
authentication: "none" | "application" | "mtls";
|
|
2017
|
+
id: string;
|
|
842
2018
|
port: number;
|
|
843
2019
|
visibility: "host" | "private";
|
|
844
|
-
tls: "passthrough" | "edge" | "none";
|
|
845
|
-
authentication: "none" | "application" | "mtls";
|
|
846
|
-
defaultAlias?: string | undefined;
|
|
847
|
-
aliasOverride?: boolean | undefined;
|
|
848
2020
|
healthGate?: {
|
|
849
2021
|
protocol: "http" | "https" | "tcp";
|
|
850
2022
|
timeoutSeconds: number;
|
|
851
2023
|
path?: string | undefined;
|
|
852
2024
|
} | undefined;
|
|
2025
|
+
defaultAlias?: string | undefined;
|
|
2026
|
+
aliasOverride?: boolean | undefined;
|
|
853
2027
|
}[];
|
|
854
2028
|
}>, "many">;
|
|
855
2029
|
stateVolumes: z.ZodArray<z.ZodObject<{
|
|
@@ -859,11 +2033,11 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
859
2033
|
}, "strict", z.ZodTypeAny, {
|
|
860
2034
|
id: string;
|
|
861
2035
|
volume: string;
|
|
862
|
-
backup: "
|
|
2036
|
+
backup: "none" | "required" | "optional";
|
|
863
2037
|
}, {
|
|
864
2038
|
id: string;
|
|
865
2039
|
volume: string;
|
|
866
|
-
backup: "
|
|
2040
|
+
backup: "none" | "required" | "optional";
|
|
867
2041
|
}>, "many">;
|
|
868
2042
|
migrations: z.ZodArray<z.ZodObject<{
|
|
869
2043
|
id: z.ZodString;
|
|
@@ -879,37 +2053,56 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
879
2053
|
backupRequired: boolean;
|
|
880
2054
|
}>, "many">;
|
|
881
2055
|
requiredCapabilities: z.ZodArray<z.ZodString, "many">;
|
|
2056
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2057
|
+
id: z.ZodString;
|
|
2058
|
+
capability: z.ZodString;
|
|
2059
|
+
locality: z.ZodEnum<["local", "remote", "either"]>;
|
|
2060
|
+
optional: z.ZodDefault<z.ZodBoolean>;
|
|
2061
|
+
}, "strict", z.ZodTypeAny, {
|
|
2062
|
+
id: string;
|
|
2063
|
+
optional: boolean;
|
|
2064
|
+
capability: string;
|
|
2065
|
+
locality: "local" | "remote" | "either";
|
|
2066
|
+
}, {
|
|
2067
|
+
id: string;
|
|
2068
|
+
capability: string;
|
|
2069
|
+
locality: "local" | "remote" | "either";
|
|
2070
|
+
optional?: boolean | undefined;
|
|
2071
|
+
}>, "many">>;
|
|
882
2072
|
}, "strict", z.ZodTypeAny, {
|
|
883
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
884
2073
|
componentId: string;
|
|
2074
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
885
2075
|
version: string;
|
|
886
2076
|
compose: {
|
|
887
2077
|
projectName: string;
|
|
888
|
-
files:
|
|
2078
|
+
files: {
|
|
2079
|
+
path: string;
|
|
2080
|
+
digest: string;
|
|
2081
|
+
}[];
|
|
889
2082
|
};
|
|
890
2083
|
services: {
|
|
891
2084
|
id: string;
|
|
892
2085
|
composeService: string;
|
|
893
2086
|
endpoints: {
|
|
894
|
-
id: string;
|
|
895
2087
|
protocol: "http" | "https" | "tcp";
|
|
2088
|
+
tls: "edge" | "passthrough" | "none";
|
|
2089
|
+
authentication: "none" | "application" | "mtls";
|
|
2090
|
+
id: string;
|
|
896
2091
|
port: number;
|
|
897
2092
|
visibility: "host" | "private";
|
|
898
2093
|
aliasOverride: boolean;
|
|
899
|
-
tls: "passthrough" | "edge" | "none";
|
|
900
|
-
authentication: "none" | "application" | "mtls";
|
|
901
|
-
defaultAlias?: string | undefined;
|
|
902
2094
|
healthGate?: {
|
|
903
2095
|
protocol: "http" | "https" | "tcp";
|
|
904
2096
|
timeoutSeconds: number;
|
|
905
2097
|
path?: string | undefined;
|
|
906
2098
|
} | undefined;
|
|
2099
|
+
defaultAlias?: string | undefined;
|
|
907
2100
|
}[];
|
|
908
2101
|
}[];
|
|
909
2102
|
stateVolumes: {
|
|
910
2103
|
id: string;
|
|
911
2104
|
volume: string;
|
|
912
|
-
backup: "
|
|
2105
|
+
backup: "none" | "required" | "optional";
|
|
913
2106
|
}[];
|
|
914
2107
|
migrations: {
|
|
915
2108
|
id: string;
|
|
@@ -917,37 +2110,46 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
917
2110
|
backupRequired: boolean;
|
|
918
2111
|
}[];
|
|
919
2112
|
requiredCapabilities: string[];
|
|
2113
|
+
dependencies: {
|
|
2114
|
+
id: string;
|
|
2115
|
+
optional: boolean;
|
|
2116
|
+
capability: string;
|
|
2117
|
+
locality: "local" | "remote" | "either";
|
|
2118
|
+
}[];
|
|
920
2119
|
}, {
|
|
921
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
922
2120
|
componentId: string;
|
|
2121
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
923
2122
|
version: string;
|
|
924
2123
|
compose: {
|
|
925
2124
|
projectName: string;
|
|
926
|
-
files:
|
|
2125
|
+
files: {
|
|
2126
|
+
path: string;
|
|
2127
|
+
digest: string;
|
|
2128
|
+
}[];
|
|
927
2129
|
};
|
|
928
2130
|
services: {
|
|
929
2131
|
id: string;
|
|
930
2132
|
composeService: string;
|
|
931
2133
|
endpoints: {
|
|
932
|
-
id: string;
|
|
933
2134
|
protocol: "http" | "https" | "tcp";
|
|
2135
|
+
tls: "edge" | "passthrough" | "none";
|
|
2136
|
+
authentication: "none" | "application" | "mtls";
|
|
2137
|
+
id: string;
|
|
934
2138
|
port: number;
|
|
935
2139
|
visibility: "host" | "private";
|
|
936
|
-
tls: "passthrough" | "edge" | "none";
|
|
937
|
-
authentication: "none" | "application" | "mtls";
|
|
938
|
-
defaultAlias?: string | undefined;
|
|
939
|
-
aliasOverride?: boolean | undefined;
|
|
940
2140
|
healthGate?: {
|
|
941
2141
|
protocol: "http" | "https" | "tcp";
|
|
942
2142
|
timeoutSeconds: number;
|
|
943
2143
|
path?: string | undefined;
|
|
944
2144
|
} | undefined;
|
|
2145
|
+
defaultAlias?: string | undefined;
|
|
2146
|
+
aliasOverride?: boolean | undefined;
|
|
945
2147
|
}[];
|
|
946
2148
|
}[];
|
|
947
2149
|
stateVolumes: {
|
|
948
2150
|
id: string;
|
|
949
2151
|
volume: string;
|
|
950
|
-
backup: "
|
|
2152
|
+
backup: "none" | "required" | "optional";
|
|
951
2153
|
}[];
|
|
952
2154
|
migrations: {
|
|
953
2155
|
id: string;
|
|
@@ -955,37 +2157,46 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
955
2157
|
backupRequired: boolean;
|
|
956
2158
|
}[];
|
|
957
2159
|
requiredCapabilities: string[];
|
|
2160
|
+
dependencies?: {
|
|
2161
|
+
id: string;
|
|
2162
|
+
capability: string;
|
|
2163
|
+
locality: "local" | "remote" | "either";
|
|
2164
|
+
optional?: boolean | undefined;
|
|
2165
|
+
}[] | undefined;
|
|
958
2166
|
}>, {
|
|
959
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
960
2167
|
componentId: string;
|
|
2168
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
961
2169
|
version: string;
|
|
962
2170
|
compose: {
|
|
963
2171
|
projectName: string;
|
|
964
|
-
files:
|
|
2172
|
+
files: {
|
|
2173
|
+
path: string;
|
|
2174
|
+
digest: string;
|
|
2175
|
+
}[];
|
|
965
2176
|
};
|
|
966
2177
|
services: {
|
|
967
2178
|
id: string;
|
|
968
2179
|
composeService: string;
|
|
969
2180
|
endpoints: {
|
|
970
|
-
id: string;
|
|
971
2181
|
protocol: "http" | "https" | "tcp";
|
|
2182
|
+
tls: "edge" | "passthrough" | "none";
|
|
2183
|
+
authentication: "none" | "application" | "mtls";
|
|
2184
|
+
id: string;
|
|
972
2185
|
port: number;
|
|
973
2186
|
visibility: "host" | "private";
|
|
974
2187
|
aliasOverride: boolean;
|
|
975
|
-
tls: "passthrough" | "edge" | "none";
|
|
976
|
-
authentication: "none" | "application" | "mtls";
|
|
977
|
-
defaultAlias?: string | undefined;
|
|
978
2188
|
healthGate?: {
|
|
979
2189
|
protocol: "http" | "https" | "tcp";
|
|
980
2190
|
timeoutSeconds: number;
|
|
981
2191
|
path?: string | undefined;
|
|
982
2192
|
} | undefined;
|
|
2193
|
+
defaultAlias?: string | undefined;
|
|
983
2194
|
}[];
|
|
984
2195
|
}[];
|
|
985
2196
|
stateVolumes: {
|
|
986
2197
|
id: string;
|
|
987
2198
|
volume: string;
|
|
988
|
-
backup: "
|
|
2199
|
+
backup: "none" | "required" | "optional";
|
|
989
2200
|
}[];
|
|
990
2201
|
migrations: {
|
|
991
2202
|
id: string;
|
|
@@ -993,37 +2204,46 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
993
2204
|
backupRequired: boolean;
|
|
994
2205
|
}[];
|
|
995
2206
|
requiredCapabilities: string[];
|
|
2207
|
+
dependencies: {
|
|
2208
|
+
id: string;
|
|
2209
|
+
optional: boolean;
|
|
2210
|
+
capability: string;
|
|
2211
|
+
locality: "local" | "remote" | "either";
|
|
2212
|
+
}[];
|
|
996
2213
|
}, {
|
|
997
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
998
2214
|
componentId: string;
|
|
2215
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
999
2216
|
version: string;
|
|
1000
2217
|
compose: {
|
|
1001
2218
|
projectName: string;
|
|
1002
|
-
files:
|
|
2219
|
+
files: {
|
|
2220
|
+
path: string;
|
|
2221
|
+
digest: string;
|
|
2222
|
+
}[];
|
|
1003
2223
|
};
|
|
1004
2224
|
services: {
|
|
1005
2225
|
id: string;
|
|
1006
2226
|
composeService: string;
|
|
1007
2227
|
endpoints: {
|
|
1008
|
-
id: string;
|
|
1009
2228
|
protocol: "http" | "https" | "tcp";
|
|
2229
|
+
tls: "edge" | "passthrough" | "none";
|
|
2230
|
+
authentication: "none" | "application" | "mtls";
|
|
2231
|
+
id: string;
|
|
1010
2232
|
port: number;
|
|
1011
2233
|
visibility: "host" | "private";
|
|
1012
|
-
tls: "passthrough" | "edge" | "none";
|
|
1013
|
-
authentication: "none" | "application" | "mtls";
|
|
1014
|
-
defaultAlias?: string | undefined;
|
|
1015
|
-
aliasOverride?: boolean | undefined;
|
|
1016
2234
|
healthGate?: {
|
|
1017
2235
|
protocol: "http" | "https" | "tcp";
|
|
1018
2236
|
timeoutSeconds: number;
|
|
1019
2237
|
path?: string | undefined;
|
|
1020
2238
|
} | undefined;
|
|
2239
|
+
defaultAlias?: string | undefined;
|
|
2240
|
+
aliasOverride?: boolean | undefined;
|
|
1021
2241
|
}[];
|
|
1022
2242
|
}[];
|
|
1023
2243
|
stateVolumes: {
|
|
1024
2244
|
id: string;
|
|
1025
2245
|
volume: string;
|
|
1026
|
-
backup: "
|
|
2246
|
+
backup: "none" | "required" | "optional";
|
|
1027
2247
|
}[];
|
|
1028
2248
|
migrations: {
|
|
1029
2249
|
id: string;
|
|
@@ -1031,6 +2251,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1031
2251
|
backupRequired: boolean;
|
|
1032
2252
|
}[];
|
|
1033
2253
|
requiredCapabilities: string[];
|
|
2254
|
+
dependencies?: {
|
|
2255
|
+
id: string;
|
|
2256
|
+
capability: string;
|
|
2257
|
+
locality: "local" | "remote" | "either";
|
|
2258
|
+
optional?: boolean | undefined;
|
|
2259
|
+
}[] | undefined;
|
|
1034
2260
|
}>;
|
|
1035
2261
|
runtimeDigest: z.ZodString;
|
|
1036
2262
|
rollback: z.ZodObject<{
|
|
@@ -1057,39 +2283,43 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1057
2283
|
vulnerabilities: string[];
|
|
1058
2284
|
}>;
|
|
1059
2285
|
}, "strict", z.ZodTypeAny, {
|
|
2286
|
+
componentId: string;
|
|
1060
2287
|
track: "stable" | "development";
|
|
1061
2288
|
schemaVersion: "treeseed.component-release/v1";
|
|
1062
2289
|
runtime: {
|
|
1063
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1064
2290
|
componentId: string;
|
|
2291
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1065
2292
|
version: string;
|
|
1066
2293
|
compose: {
|
|
1067
2294
|
projectName: string;
|
|
1068
|
-
files:
|
|
2295
|
+
files: {
|
|
2296
|
+
path: string;
|
|
2297
|
+
digest: string;
|
|
2298
|
+
}[];
|
|
1069
2299
|
};
|
|
1070
2300
|
services: {
|
|
1071
2301
|
id: string;
|
|
1072
2302
|
composeService: string;
|
|
1073
2303
|
endpoints: {
|
|
1074
|
-
id: string;
|
|
1075
2304
|
protocol: "http" | "https" | "tcp";
|
|
2305
|
+
tls: "edge" | "passthrough" | "none";
|
|
2306
|
+
authentication: "none" | "application" | "mtls";
|
|
2307
|
+
id: string;
|
|
1076
2308
|
port: number;
|
|
1077
2309
|
visibility: "host" | "private";
|
|
1078
2310
|
aliasOverride: boolean;
|
|
1079
|
-
tls: "passthrough" | "edge" | "none";
|
|
1080
|
-
authentication: "none" | "application" | "mtls";
|
|
1081
|
-
defaultAlias?: string | undefined;
|
|
1082
2311
|
healthGate?: {
|
|
1083
2312
|
protocol: "http" | "https" | "tcp";
|
|
1084
2313
|
timeoutSeconds: number;
|
|
1085
2314
|
path?: string | undefined;
|
|
1086
2315
|
} | undefined;
|
|
2316
|
+
defaultAlias?: string | undefined;
|
|
1087
2317
|
}[];
|
|
1088
2318
|
}[];
|
|
1089
2319
|
stateVolumes: {
|
|
1090
2320
|
id: string;
|
|
1091
2321
|
volume: string;
|
|
1092
|
-
backup: "
|
|
2322
|
+
backup: "none" | "required" | "optional";
|
|
1093
2323
|
}[];
|
|
1094
2324
|
migrations: {
|
|
1095
2325
|
id: string;
|
|
@@ -1097,9 +2327,16 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1097
2327
|
backupRequired: boolean;
|
|
1098
2328
|
}[];
|
|
1099
2329
|
requiredCapabilities: string[];
|
|
2330
|
+
dependencies: {
|
|
2331
|
+
id: string;
|
|
2332
|
+
optional: boolean;
|
|
2333
|
+
capability: string;
|
|
2334
|
+
locality: "local" | "remote" | "either";
|
|
2335
|
+
}[];
|
|
1100
2336
|
};
|
|
1101
|
-
componentId: string;
|
|
1102
2337
|
release: string;
|
|
2338
|
+
applicationVersion: string;
|
|
2339
|
+
revision: number;
|
|
1103
2340
|
source: {
|
|
1104
2341
|
repository: string;
|
|
1105
2342
|
commit: string;
|
|
@@ -1118,8 +2355,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1118
2355
|
}[];
|
|
1119
2356
|
images: {
|
|
1120
2357
|
role: string;
|
|
1121
|
-
repository: string;
|
|
1122
2358
|
digest: string;
|
|
2359
|
+
repository: string;
|
|
1123
2360
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1124
2361
|
consumers: string[];
|
|
1125
2362
|
}[];
|
|
@@ -1134,39 +2371,43 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1134
2371
|
vulnerabilities: string[];
|
|
1135
2372
|
};
|
|
1136
2373
|
}, {
|
|
2374
|
+
componentId: string;
|
|
1137
2375
|
track: "stable" | "development";
|
|
1138
2376
|
schemaVersion: "treeseed.component-release/v1";
|
|
1139
2377
|
runtime: {
|
|
1140
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1141
2378
|
componentId: string;
|
|
2379
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1142
2380
|
version: string;
|
|
1143
2381
|
compose: {
|
|
1144
2382
|
projectName: string;
|
|
1145
|
-
files:
|
|
2383
|
+
files: {
|
|
2384
|
+
path: string;
|
|
2385
|
+
digest: string;
|
|
2386
|
+
}[];
|
|
1146
2387
|
};
|
|
1147
2388
|
services: {
|
|
1148
2389
|
id: string;
|
|
1149
2390
|
composeService: string;
|
|
1150
2391
|
endpoints: {
|
|
1151
|
-
id: string;
|
|
1152
2392
|
protocol: "http" | "https" | "tcp";
|
|
2393
|
+
tls: "edge" | "passthrough" | "none";
|
|
2394
|
+
authentication: "none" | "application" | "mtls";
|
|
2395
|
+
id: string;
|
|
1153
2396
|
port: number;
|
|
1154
2397
|
visibility: "host" | "private";
|
|
1155
|
-
tls: "passthrough" | "edge" | "none";
|
|
1156
|
-
authentication: "none" | "application" | "mtls";
|
|
1157
|
-
defaultAlias?: string | undefined;
|
|
1158
|
-
aliasOverride?: boolean | undefined;
|
|
1159
2398
|
healthGate?: {
|
|
1160
2399
|
protocol: "http" | "https" | "tcp";
|
|
1161
2400
|
timeoutSeconds: number;
|
|
1162
2401
|
path?: string | undefined;
|
|
1163
2402
|
} | undefined;
|
|
2403
|
+
defaultAlias?: string | undefined;
|
|
2404
|
+
aliasOverride?: boolean | undefined;
|
|
1164
2405
|
}[];
|
|
1165
2406
|
}[];
|
|
1166
2407
|
stateVolumes: {
|
|
1167
2408
|
id: string;
|
|
1168
2409
|
volume: string;
|
|
1169
|
-
backup: "
|
|
2410
|
+
backup: "none" | "required" | "optional";
|
|
1170
2411
|
}[];
|
|
1171
2412
|
migrations: {
|
|
1172
2413
|
id: string;
|
|
@@ -1174,9 +2415,16 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1174
2415
|
backupRequired: boolean;
|
|
1175
2416
|
}[];
|
|
1176
2417
|
requiredCapabilities: string[];
|
|
2418
|
+
dependencies?: {
|
|
2419
|
+
id: string;
|
|
2420
|
+
capability: string;
|
|
2421
|
+
locality: "local" | "remote" | "either";
|
|
2422
|
+
optional?: boolean | undefined;
|
|
2423
|
+
}[] | undefined;
|
|
1177
2424
|
};
|
|
1178
|
-
componentId: string;
|
|
1179
2425
|
release: string;
|
|
2426
|
+
applicationVersion: string;
|
|
2427
|
+
revision: number;
|
|
1180
2428
|
source: {
|
|
1181
2429
|
repository: string;
|
|
1182
2430
|
commit: string;
|
|
@@ -1195,8 +2443,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1195
2443
|
}[];
|
|
1196
2444
|
images: {
|
|
1197
2445
|
role: string;
|
|
1198
|
-
repository: string;
|
|
1199
2446
|
digest: string;
|
|
2447
|
+
repository: string;
|
|
1200
2448
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1201
2449
|
consumers: string[];
|
|
1202
2450
|
}[];
|
|
@@ -1211,39 +2459,43 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1211
2459
|
vulnerabilities: string[];
|
|
1212
2460
|
};
|
|
1213
2461
|
}>, {
|
|
2462
|
+
componentId: string;
|
|
1214
2463
|
track: "stable" | "development";
|
|
1215
2464
|
schemaVersion: "treeseed.component-release/v1";
|
|
1216
2465
|
runtime: {
|
|
1217
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1218
2466
|
componentId: string;
|
|
2467
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1219
2468
|
version: string;
|
|
1220
2469
|
compose: {
|
|
1221
2470
|
projectName: string;
|
|
1222
|
-
files:
|
|
2471
|
+
files: {
|
|
2472
|
+
path: string;
|
|
2473
|
+
digest: string;
|
|
2474
|
+
}[];
|
|
1223
2475
|
};
|
|
1224
2476
|
services: {
|
|
1225
2477
|
id: string;
|
|
1226
2478
|
composeService: string;
|
|
1227
2479
|
endpoints: {
|
|
1228
|
-
id: string;
|
|
1229
2480
|
protocol: "http" | "https" | "tcp";
|
|
2481
|
+
tls: "edge" | "passthrough" | "none";
|
|
2482
|
+
authentication: "none" | "application" | "mtls";
|
|
2483
|
+
id: string;
|
|
1230
2484
|
port: number;
|
|
1231
2485
|
visibility: "host" | "private";
|
|
1232
2486
|
aliasOverride: boolean;
|
|
1233
|
-
tls: "passthrough" | "edge" | "none";
|
|
1234
|
-
authentication: "none" | "application" | "mtls";
|
|
1235
|
-
defaultAlias?: string | undefined;
|
|
1236
2487
|
healthGate?: {
|
|
1237
2488
|
protocol: "http" | "https" | "tcp";
|
|
1238
2489
|
timeoutSeconds: number;
|
|
1239
2490
|
path?: string | undefined;
|
|
1240
2491
|
} | undefined;
|
|
2492
|
+
defaultAlias?: string | undefined;
|
|
1241
2493
|
}[];
|
|
1242
2494
|
}[];
|
|
1243
2495
|
stateVolumes: {
|
|
1244
2496
|
id: string;
|
|
1245
2497
|
volume: string;
|
|
1246
|
-
backup: "
|
|
2498
|
+
backup: "none" | "required" | "optional";
|
|
1247
2499
|
}[];
|
|
1248
2500
|
migrations: {
|
|
1249
2501
|
id: string;
|
|
@@ -1251,9 +2503,16 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1251
2503
|
backupRequired: boolean;
|
|
1252
2504
|
}[];
|
|
1253
2505
|
requiredCapabilities: string[];
|
|
2506
|
+
dependencies: {
|
|
2507
|
+
id: string;
|
|
2508
|
+
optional: boolean;
|
|
2509
|
+
capability: string;
|
|
2510
|
+
locality: "local" | "remote" | "either";
|
|
2511
|
+
}[];
|
|
1254
2512
|
};
|
|
1255
|
-
componentId: string;
|
|
1256
2513
|
release: string;
|
|
2514
|
+
applicationVersion: string;
|
|
2515
|
+
revision: number;
|
|
1257
2516
|
source: {
|
|
1258
2517
|
repository: string;
|
|
1259
2518
|
commit: string;
|
|
@@ -1272,8 +2531,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1272
2531
|
}[];
|
|
1273
2532
|
images: {
|
|
1274
2533
|
role: string;
|
|
1275
|
-
repository: string;
|
|
1276
2534
|
digest: string;
|
|
2535
|
+
repository: string;
|
|
1277
2536
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1278
2537
|
consumers: string[];
|
|
1279
2538
|
}[];
|
|
@@ -1288,39 +2547,43 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1288
2547
|
vulnerabilities: string[];
|
|
1289
2548
|
};
|
|
1290
2549
|
}, {
|
|
2550
|
+
componentId: string;
|
|
1291
2551
|
track: "stable" | "development";
|
|
1292
2552
|
schemaVersion: "treeseed.component-release/v1";
|
|
1293
2553
|
runtime: {
|
|
1294
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1295
2554
|
componentId: string;
|
|
2555
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1296
2556
|
version: string;
|
|
1297
2557
|
compose: {
|
|
1298
2558
|
projectName: string;
|
|
1299
|
-
files:
|
|
2559
|
+
files: {
|
|
2560
|
+
path: string;
|
|
2561
|
+
digest: string;
|
|
2562
|
+
}[];
|
|
1300
2563
|
};
|
|
1301
2564
|
services: {
|
|
1302
2565
|
id: string;
|
|
1303
2566
|
composeService: string;
|
|
1304
2567
|
endpoints: {
|
|
1305
|
-
id: string;
|
|
1306
2568
|
protocol: "http" | "https" | "tcp";
|
|
2569
|
+
tls: "edge" | "passthrough" | "none";
|
|
2570
|
+
authentication: "none" | "application" | "mtls";
|
|
2571
|
+
id: string;
|
|
1307
2572
|
port: number;
|
|
1308
2573
|
visibility: "host" | "private";
|
|
1309
|
-
tls: "passthrough" | "edge" | "none";
|
|
1310
|
-
authentication: "none" | "application" | "mtls";
|
|
1311
|
-
defaultAlias?: string | undefined;
|
|
1312
|
-
aliasOverride?: boolean | undefined;
|
|
1313
2574
|
healthGate?: {
|
|
1314
2575
|
protocol: "http" | "https" | "tcp";
|
|
1315
2576
|
timeoutSeconds: number;
|
|
1316
2577
|
path?: string | undefined;
|
|
1317
2578
|
} | undefined;
|
|
2579
|
+
defaultAlias?: string | undefined;
|
|
2580
|
+
aliasOverride?: boolean | undefined;
|
|
1318
2581
|
}[];
|
|
1319
2582
|
}[];
|
|
1320
2583
|
stateVolumes: {
|
|
1321
2584
|
id: string;
|
|
1322
2585
|
volume: string;
|
|
1323
|
-
backup: "
|
|
2586
|
+
backup: "none" | "required" | "optional";
|
|
1324
2587
|
}[];
|
|
1325
2588
|
migrations: {
|
|
1326
2589
|
id: string;
|
|
@@ -1328,9 +2591,16 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1328
2591
|
backupRequired: boolean;
|
|
1329
2592
|
}[];
|
|
1330
2593
|
requiredCapabilities: string[];
|
|
2594
|
+
dependencies?: {
|
|
2595
|
+
id: string;
|
|
2596
|
+
capability: string;
|
|
2597
|
+
locality: "local" | "remote" | "either";
|
|
2598
|
+
optional?: boolean | undefined;
|
|
2599
|
+
}[] | undefined;
|
|
1331
2600
|
};
|
|
1332
|
-
componentId: string;
|
|
1333
2601
|
release: string;
|
|
2602
|
+
applicationVersion: string;
|
|
2603
|
+
revision: number;
|
|
1334
2604
|
source: {
|
|
1335
2605
|
repository: string;
|
|
1336
2606
|
commit: string;
|
|
@@ -1349,8 +2619,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1349
2619
|
}[];
|
|
1350
2620
|
images: {
|
|
1351
2621
|
role: string;
|
|
1352
|
-
repository: string;
|
|
1353
2622
|
digest: string;
|
|
2623
|
+
repository: string;
|
|
1354
2624
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1355
2625
|
consumers: string[];
|
|
1356
2626
|
}[];
|
|
@@ -1365,6 +2635,290 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1365
2635
|
vulnerabilities: string[];
|
|
1366
2636
|
};
|
|
1367
2637
|
}>;
|
|
2638
|
+
export declare const integrationReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
2639
|
+
schemaVersion: z.ZodLiteral<"treeseed.integration-release/v1">;
|
|
2640
|
+
release: z.ZodString;
|
|
2641
|
+
track: z.ZodEnum<["stable", "development"]>;
|
|
2642
|
+
compatibilityId: z.ZodString;
|
|
2643
|
+
platform: z.ZodObject<{
|
|
2644
|
+
repository: z.ZodLiteral<"treeseed-ai/platform">;
|
|
2645
|
+
commit: z.ZodString;
|
|
2646
|
+
}, "strict", z.ZodTypeAny, {
|
|
2647
|
+
repository: "treeseed-ai/platform";
|
|
2648
|
+
commit: string;
|
|
2649
|
+
}, {
|
|
2650
|
+
repository: "treeseed-ai/platform";
|
|
2651
|
+
commit: string;
|
|
2652
|
+
}>;
|
|
2653
|
+
deployment: z.ZodObject<{
|
|
2654
|
+
repository: z.ZodLiteral<"treeseed-ai/deployment">;
|
|
2655
|
+
commit: z.ZodString;
|
|
2656
|
+
tag: z.ZodString;
|
|
2657
|
+
}, "strict", z.ZodTypeAny, {
|
|
2658
|
+
repository: "treeseed-ai/deployment";
|
|
2659
|
+
commit: string;
|
|
2660
|
+
tag: string;
|
|
2661
|
+
}, {
|
|
2662
|
+
repository: "treeseed-ai/deployment";
|
|
2663
|
+
commit: string;
|
|
2664
|
+
tag: string;
|
|
2665
|
+
}>;
|
|
2666
|
+
hostPayloads: z.ZodArray<z.ZodObject<{
|
|
2667
|
+
id: z.ZodString;
|
|
2668
|
+
packageName: z.ZodString;
|
|
2669
|
+
version: z.ZodString;
|
|
2670
|
+
artifact: z.ZodObject<{
|
|
2671
|
+
url: z.ZodString;
|
|
2672
|
+
sha256: z.ZodString;
|
|
2673
|
+
}, "strict", z.ZodTypeAny, {
|
|
2674
|
+
url: string;
|
|
2675
|
+
sha256: string;
|
|
2676
|
+
}, {
|
|
2677
|
+
url: string;
|
|
2678
|
+
sha256: string;
|
|
2679
|
+
}>;
|
|
2680
|
+
}, "strict", z.ZodTypeAny, {
|
|
2681
|
+
id: string;
|
|
2682
|
+
version: string;
|
|
2683
|
+
packageName: string;
|
|
2684
|
+
artifact: {
|
|
2685
|
+
url: string;
|
|
2686
|
+
sha256: string;
|
|
2687
|
+
};
|
|
2688
|
+
}, {
|
|
2689
|
+
id: string;
|
|
2690
|
+
version: string;
|
|
2691
|
+
packageName: string;
|
|
2692
|
+
artifact: {
|
|
2693
|
+
url: string;
|
|
2694
|
+
sha256: string;
|
|
2695
|
+
};
|
|
2696
|
+
}>, "many">;
|
|
2697
|
+
components: z.ZodArray<z.ZodObject<{
|
|
2698
|
+
componentId: z.ZodString;
|
|
2699
|
+
release: z.ZodString;
|
|
2700
|
+
manifest: z.ZodObject<{
|
|
2701
|
+
url: z.ZodString;
|
|
2702
|
+
sha256: z.ZodString;
|
|
2703
|
+
}, "strict", z.ZodTypeAny, {
|
|
2704
|
+
url: string;
|
|
2705
|
+
sha256: string;
|
|
2706
|
+
}, {
|
|
2707
|
+
url: string;
|
|
2708
|
+
sha256: string;
|
|
2709
|
+
}>;
|
|
2710
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2711
|
+
path: z.ZodString;
|
|
2712
|
+
artifact: z.ZodObject<{
|
|
2713
|
+
url: z.ZodString;
|
|
2714
|
+
sha256: z.ZodString;
|
|
2715
|
+
}, "strict", z.ZodTypeAny, {
|
|
2716
|
+
url: string;
|
|
2717
|
+
sha256: string;
|
|
2718
|
+
}, {
|
|
2719
|
+
url: string;
|
|
2720
|
+
sha256: string;
|
|
2721
|
+
}>;
|
|
2722
|
+
}, "strict", z.ZodTypeAny, {
|
|
2723
|
+
path: string;
|
|
2724
|
+
artifact: {
|
|
2725
|
+
url: string;
|
|
2726
|
+
sha256: string;
|
|
2727
|
+
};
|
|
2728
|
+
}, {
|
|
2729
|
+
path: string;
|
|
2730
|
+
artifact: {
|
|
2731
|
+
url: string;
|
|
2732
|
+
sha256: string;
|
|
2733
|
+
};
|
|
2734
|
+
}>, "many">;
|
|
2735
|
+
}, "strict", z.ZodTypeAny, {
|
|
2736
|
+
componentId: string;
|
|
2737
|
+
files: {
|
|
2738
|
+
path: string;
|
|
2739
|
+
artifact: {
|
|
2740
|
+
url: string;
|
|
2741
|
+
sha256: string;
|
|
2742
|
+
};
|
|
2743
|
+
}[];
|
|
2744
|
+
release: string;
|
|
2745
|
+
manifest: {
|
|
2746
|
+
url: string;
|
|
2747
|
+
sha256: string;
|
|
2748
|
+
};
|
|
2749
|
+
}, {
|
|
2750
|
+
componentId: string;
|
|
2751
|
+
files: {
|
|
2752
|
+
path: string;
|
|
2753
|
+
artifact: {
|
|
2754
|
+
url: string;
|
|
2755
|
+
sha256: string;
|
|
2756
|
+
};
|
|
2757
|
+
}[];
|
|
2758
|
+
release: string;
|
|
2759
|
+
manifest: {
|
|
2760
|
+
url: string;
|
|
2761
|
+
sha256: string;
|
|
2762
|
+
};
|
|
2763
|
+
}>, "many">;
|
|
2764
|
+
createdAt: z.ZodString;
|
|
2765
|
+
}, "strict", z.ZodTypeAny, {
|
|
2766
|
+
track: "stable" | "development";
|
|
2767
|
+
schemaVersion: "treeseed.integration-release/v1";
|
|
2768
|
+
components: {
|
|
2769
|
+
componentId: string;
|
|
2770
|
+
files: {
|
|
2771
|
+
path: string;
|
|
2772
|
+
artifact: {
|
|
2773
|
+
url: string;
|
|
2774
|
+
sha256: string;
|
|
2775
|
+
};
|
|
2776
|
+
}[];
|
|
2777
|
+
release: string;
|
|
2778
|
+
manifest: {
|
|
2779
|
+
url: string;
|
|
2780
|
+
sha256: string;
|
|
2781
|
+
};
|
|
2782
|
+
}[];
|
|
2783
|
+
release: string;
|
|
2784
|
+
compatibilityId: string;
|
|
2785
|
+
platform: {
|
|
2786
|
+
repository: "treeseed-ai/platform";
|
|
2787
|
+
commit: string;
|
|
2788
|
+
};
|
|
2789
|
+
deployment: {
|
|
2790
|
+
repository: "treeseed-ai/deployment";
|
|
2791
|
+
commit: string;
|
|
2792
|
+
tag: string;
|
|
2793
|
+
};
|
|
2794
|
+
hostPayloads: {
|
|
2795
|
+
id: string;
|
|
2796
|
+
version: string;
|
|
2797
|
+
packageName: string;
|
|
2798
|
+
artifact: {
|
|
2799
|
+
url: string;
|
|
2800
|
+
sha256: string;
|
|
2801
|
+
};
|
|
2802
|
+
}[];
|
|
2803
|
+
createdAt: string;
|
|
2804
|
+
}, {
|
|
2805
|
+
track: "stable" | "development";
|
|
2806
|
+
schemaVersion: "treeseed.integration-release/v1";
|
|
2807
|
+
components: {
|
|
2808
|
+
componentId: string;
|
|
2809
|
+
files: {
|
|
2810
|
+
path: string;
|
|
2811
|
+
artifact: {
|
|
2812
|
+
url: string;
|
|
2813
|
+
sha256: string;
|
|
2814
|
+
};
|
|
2815
|
+
}[];
|
|
2816
|
+
release: string;
|
|
2817
|
+
manifest: {
|
|
2818
|
+
url: string;
|
|
2819
|
+
sha256: string;
|
|
2820
|
+
};
|
|
2821
|
+
}[];
|
|
2822
|
+
release: string;
|
|
2823
|
+
compatibilityId: string;
|
|
2824
|
+
platform: {
|
|
2825
|
+
repository: "treeseed-ai/platform";
|
|
2826
|
+
commit: string;
|
|
2827
|
+
};
|
|
2828
|
+
deployment: {
|
|
2829
|
+
repository: "treeseed-ai/deployment";
|
|
2830
|
+
commit: string;
|
|
2831
|
+
tag: string;
|
|
2832
|
+
};
|
|
2833
|
+
hostPayloads: {
|
|
2834
|
+
id: string;
|
|
2835
|
+
version: string;
|
|
2836
|
+
packageName: string;
|
|
2837
|
+
artifact: {
|
|
2838
|
+
url: string;
|
|
2839
|
+
sha256: string;
|
|
2840
|
+
};
|
|
2841
|
+
}[];
|
|
2842
|
+
createdAt: string;
|
|
2843
|
+
}>, {
|
|
2844
|
+
track: "stable" | "development";
|
|
2845
|
+
schemaVersion: "treeseed.integration-release/v1";
|
|
2846
|
+
components: {
|
|
2847
|
+
componentId: string;
|
|
2848
|
+
files: {
|
|
2849
|
+
path: string;
|
|
2850
|
+
artifact: {
|
|
2851
|
+
url: string;
|
|
2852
|
+
sha256: string;
|
|
2853
|
+
};
|
|
2854
|
+
}[];
|
|
2855
|
+
release: string;
|
|
2856
|
+
manifest: {
|
|
2857
|
+
url: string;
|
|
2858
|
+
sha256: string;
|
|
2859
|
+
};
|
|
2860
|
+
}[];
|
|
2861
|
+
release: string;
|
|
2862
|
+
compatibilityId: string;
|
|
2863
|
+
platform: {
|
|
2864
|
+
repository: "treeseed-ai/platform";
|
|
2865
|
+
commit: string;
|
|
2866
|
+
};
|
|
2867
|
+
deployment: {
|
|
2868
|
+
repository: "treeseed-ai/deployment";
|
|
2869
|
+
commit: string;
|
|
2870
|
+
tag: string;
|
|
2871
|
+
};
|
|
2872
|
+
hostPayloads: {
|
|
2873
|
+
id: string;
|
|
2874
|
+
version: string;
|
|
2875
|
+
packageName: string;
|
|
2876
|
+
artifact: {
|
|
2877
|
+
url: string;
|
|
2878
|
+
sha256: string;
|
|
2879
|
+
};
|
|
2880
|
+
}[];
|
|
2881
|
+
createdAt: string;
|
|
2882
|
+
}, {
|
|
2883
|
+
track: "stable" | "development";
|
|
2884
|
+
schemaVersion: "treeseed.integration-release/v1";
|
|
2885
|
+
components: {
|
|
2886
|
+
componentId: string;
|
|
2887
|
+
files: {
|
|
2888
|
+
path: string;
|
|
2889
|
+
artifact: {
|
|
2890
|
+
url: string;
|
|
2891
|
+
sha256: string;
|
|
2892
|
+
};
|
|
2893
|
+
}[];
|
|
2894
|
+
release: string;
|
|
2895
|
+
manifest: {
|
|
2896
|
+
url: string;
|
|
2897
|
+
sha256: string;
|
|
2898
|
+
};
|
|
2899
|
+
}[];
|
|
2900
|
+
release: string;
|
|
2901
|
+
compatibilityId: string;
|
|
2902
|
+
platform: {
|
|
2903
|
+
repository: "treeseed-ai/platform";
|
|
2904
|
+
commit: string;
|
|
2905
|
+
};
|
|
2906
|
+
deployment: {
|
|
2907
|
+
repository: "treeseed-ai/deployment";
|
|
2908
|
+
commit: string;
|
|
2909
|
+
tag: string;
|
|
2910
|
+
};
|
|
2911
|
+
hostPayloads: {
|
|
2912
|
+
id: string;
|
|
2913
|
+
version: string;
|
|
2914
|
+
packageName: string;
|
|
2915
|
+
artifact: {
|
|
2916
|
+
url: string;
|
|
2917
|
+
sha256: string;
|
|
2918
|
+
};
|
|
2919
|
+
}[];
|
|
2920
|
+
createdAt: string;
|
|
2921
|
+
}>;
|
|
1368
2922
|
export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
1369
2923
|
schemaVersion: z.ZodLiteral<"treeseed.release-catalog/v1">;
|
|
1370
2924
|
release: z.ZodString;
|
|
@@ -1386,6 +2940,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1386
2940
|
schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
|
|
1387
2941
|
componentId: z.ZodString;
|
|
1388
2942
|
release: z.ZodString;
|
|
2943
|
+
applicationVersion: z.ZodString;
|
|
2944
|
+
revision: z.ZodNumber;
|
|
1389
2945
|
track: z.ZodEnum<["stable", "development"]>;
|
|
1390
2946
|
source: z.ZodObject<{
|
|
1391
2947
|
repository: z.ZodString;
|
|
@@ -1437,14 +2993,14 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1437
2993
|
consumers: z.ZodArray<z.ZodString, "many">;
|
|
1438
2994
|
}, "strict", z.ZodTypeAny, {
|
|
1439
2995
|
role: string;
|
|
1440
|
-
repository: string;
|
|
1441
2996
|
digest: string;
|
|
2997
|
+
repository: string;
|
|
1442
2998
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1443
2999
|
consumers: string[];
|
|
1444
3000
|
}, {
|
|
1445
3001
|
role: string;
|
|
1446
|
-
repository: string;
|
|
1447
3002
|
digest: string;
|
|
3003
|
+
repository: string;
|
|
1448
3004
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1449
3005
|
consumers: string[];
|
|
1450
3006
|
}>, "many">;
|
|
@@ -1454,13 +3010,28 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1454
3010
|
version: z.ZodString;
|
|
1455
3011
|
compose: z.ZodObject<{
|
|
1456
3012
|
projectName: z.ZodString;
|
|
1457
|
-
files: z.ZodArray<z.
|
|
3013
|
+
files: z.ZodArray<z.ZodObject<{
|
|
3014
|
+
path: z.ZodString;
|
|
3015
|
+
digest: z.ZodString;
|
|
3016
|
+
}, "strict", z.ZodTypeAny, {
|
|
3017
|
+
path: string;
|
|
3018
|
+
digest: string;
|
|
3019
|
+
}, {
|
|
3020
|
+
path: string;
|
|
3021
|
+
digest: string;
|
|
3022
|
+
}>, "many">;
|
|
1458
3023
|
}, "strict", z.ZodTypeAny, {
|
|
1459
3024
|
projectName: string;
|
|
1460
|
-
files:
|
|
3025
|
+
files: {
|
|
3026
|
+
path: string;
|
|
3027
|
+
digest: string;
|
|
3028
|
+
}[];
|
|
1461
3029
|
}, {
|
|
1462
3030
|
projectName: string;
|
|
1463
|
-
files:
|
|
3031
|
+
files: {
|
|
3032
|
+
path: string;
|
|
3033
|
+
digest: string;
|
|
3034
|
+
}[];
|
|
1464
3035
|
}>;
|
|
1465
3036
|
services: z.ZodArray<z.ZodObject<{
|
|
1466
3037
|
id: z.ZodString;
|
|
@@ -1488,97 +3059,97 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1488
3059
|
path?: string | undefined;
|
|
1489
3060
|
}>>;
|
|
1490
3061
|
}, "strict", z.ZodTypeAny, {
|
|
1491
|
-
id: string;
|
|
1492
3062
|
protocol: "http" | "https" | "tcp";
|
|
3063
|
+
tls: "edge" | "passthrough" | "none";
|
|
3064
|
+
authentication: "none" | "application" | "mtls";
|
|
3065
|
+
id: string;
|
|
1493
3066
|
port: number;
|
|
1494
3067
|
visibility: "host" | "private";
|
|
1495
3068
|
aliasOverride: boolean;
|
|
1496
|
-
tls: "passthrough" | "edge" | "none";
|
|
1497
|
-
authentication: "none" | "application" | "mtls";
|
|
1498
|
-
defaultAlias?: string | undefined;
|
|
1499
3069
|
healthGate?: {
|
|
1500
3070
|
protocol: "http" | "https" | "tcp";
|
|
1501
3071
|
timeoutSeconds: number;
|
|
1502
3072
|
path?: string | undefined;
|
|
1503
3073
|
} | undefined;
|
|
3074
|
+
defaultAlias?: string | undefined;
|
|
1504
3075
|
}, {
|
|
1505
|
-
id: string;
|
|
1506
3076
|
protocol: "http" | "https" | "tcp";
|
|
3077
|
+
tls: "edge" | "passthrough" | "none";
|
|
3078
|
+
authentication: "none" | "application" | "mtls";
|
|
3079
|
+
id: string;
|
|
1507
3080
|
port: number;
|
|
1508
3081
|
visibility: "host" | "private";
|
|
1509
|
-
tls: "passthrough" | "edge" | "none";
|
|
1510
|
-
authentication: "none" | "application" | "mtls";
|
|
1511
|
-
defaultAlias?: string | undefined;
|
|
1512
|
-
aliasOverride?: boolean | undefined;
|
|
1513
3082
|
healthGate?: {
|
|
1514
3083
|
protocol: "http" | "https" | "tcp";
|
|
1515
3084
|
timeoutSeconds: number;
|
|
1516
3085
|
path?: string | undefined;
|
|
1517
3086
|
} | undefined;
|
|
3087
|
+
defaultAlias?: string | undefined;
|
|
3088
|
+
aliasOverride?: boolean | undefined;
|
|
1518
3089
|
}>, {
|
|
1519
|
-
id: string;
|
|
1520
3090
|
protocol: "http" | "https" | "tcp";
|
|
3091
|
+
tls: "edge" | "passthrough" | "none";
|
|
3092
|
+
authentication: "none" | "application" | "mtls";
|
|
3093
|
+
id: string;
|
|
1521
3094
|
port: number;
|
|
1522
3095
|
visibility: "host" | "private";
|
|
1523
3096
|
aliasOverride: boolean;
|
|
1524
|
-
tls: "passthrough" | "edge" | "none";
|
|
1525
|
-
authentication: "none" | "application" | "mtls";
|
|
1526
|
-
defaultAlias?: string | undefined;
|
|
1527
3097
|
healthGate?: {
|
|
1528
3098
|
protocol: "http" | "https" | "tcp";
|
|
1529
3099
|
timeoutSeconds: number;
|
|
1530
3100
|
path?: string | undefined;
|
|
1531
3101
|
} | undefined;
|
|
3102
|
+
defaultAlias?: string | undefined;
|
|
1532
3103
|
}, {
|
|
1533
|
-
id: string;
|
|
1534
3104
|
protocol: "http" | "https" | "tcp";
|
|
3105
|
+
tls: "edge" | "passthrough" | "none";
|
|
3106
|
+
authentication: "none" | "application" | "mtls";
|
|
3107
|
+
id: string;
|
|
1535
3108
|
port: number;
|
|
1536
3109
|
visibility: "host" | "private";
|
|
1537
|
-
tls: "passthrough" | "edge" | "none";
|
|
1538
|
-
authentication: "none" | "application" | "mtls";
|
|
1539
|
-
defaultAlias?: string | undefined;
|
|
1540
|
-
aliasOverride?: boolean | undefined;
|
|
1541
3110
|
healthGate?: {
|
|
1542
3111
|
protocol: "http" | "https" | "tcp";
|
|
1543
3112
|
timeoutSeconds: number;
|
|
1544
3113
|
path?: string | undefined;
|
|
1545
3114
|
} | undefined;
|
|
3115
|
+
defaultAlias?: string | undefined;
|
|
3116
|
+
aliasOverride?: boolean | undefined;
|
|
1546
3117
|
}>, "many">;
|
|
1547
3118
|
}, "strict", z.ZodTypeAny, {
|
|
1548
3119
|
id: string;
|
|
1549
3120
|
composeService: string;
|
|
1550
3121
|
endpoints: {
|
|
1551
|
-
id: string;
|
|
1552
3122
|
protocol: "http" | "https" | "tcp";
|
|
3123
|
+
tls: "edge" | "passthrough" | "none";
|
|
3124
|
+
authentication: "none" | "application" | "mtls";
|
|
3125
|
+
id: string;
|
|
1553
3126
|
port: number;
|
|
1554
3127
|
visibility: "host" | "private";
|
|
1555
3128
|
aliasOverride: boolean;
|
|
1556
|
-
tls: "passthrough" | "edge" | "none";
|
|
1557
|
-
authentication: "none" | "application" | "mtls";
|
|
1558
|
-
defaultAlias?: string | undefined;
|
|
1559
3129
|
healthGate?: {
|
|
1560
3130
|
protocol: "http" | "https" | "tcp";
|
|
1561
3131
|
timeoutSeconds: number;
|
|
1562
3132
|
path?: string | undefined;
|
|
1563
3133
|
} | undefined;
|
|
3134
|
+
defaultAlias?: string | undefined;
|
|
1564
3135
|
}[];
|
|
1565
3136
|
}, {
|
|
1566
3137
|
id: string;
|
|
1567
3138
|
composeService: string;
|
|
1568
3139
|
endpoints: {
|
|
1569
|
-
id: string;
|
|
1570
3140
|
protocol: "http" | "https" | "tcp";
|
|
3141
|
+
tls: "edge" | "passthrough" | "none";
|
|
3142
|
+
authentication: "none" | "application" | "mtls";
|
|
3143
|
+
id: string;
|
|
1571
3144
|
port: number;
|
|
1572
3145
|
visibility: "host" | "private";
|
|
1573
|
-
tls: "passthrough" | "edge" | "none";
|
|
1574
|
-
authentication: "none" | "application" | "mtls";
|
|
1575
|
-
defaultAlias?: string | undefined;
|
|
1576
|
-
aliasOverride?: boolean | undefined;
|
|
1577
3146
|
healthGate?: {
|
|
1578
3147
|
protocol: "http" | "https" | "tcp";
|
|
1579
3148
|
timeoutSeconds: number;
|
|
1580
3149
|
path?: string | undefined;
|
|
1581
3150
|
} | undefined;
|
|
3151
|
+
defaultAlias?: string | undefined;
|
|
3152
|
+
aliasOverride?: boolean | undefined;
|
|
1582
3153
|
}[];
|
|
1583
3154
|
}>, "many">;
|
|
1584
3155
|
stateVolumes: z.ZodArray<z.ZodObject<{
|
|
@@ -1588,11 +3159,11 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1588
3159
|
}, "strict", z.ZodTypeAny, {
|
|
1589
3160
|
id: string;
|
|
1590
3161
|
volume: string;
|
|
1591
|
-
backup: "
|
|
3162
|
+
backup: "none" | "required" | "optional";
|
|
1592
3163
|
}, {
|
|
1593
3164
|
id: string;
|
|
1594
3165
|
volume: string;
|
|
1595
|
-
backup: "
|
|
3166
|
+
backup: "none" | "required" | "optional";
|
|
1596
3167
|
}>, "many">;
|
|
1597
3168
|
migrations: z.ZodArray<z.ZodObject<{
|
|
1598
3169
|
id: z.ZodString;
|
|
@@ -1608,37 +3179,56 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1608
3179
|
backupRequired: boolean;
|
|
1609
3180
|
}>, "many">;
|
|
1610
3181
|
requiredCapabilities: z.ZodArray<z.ZodString, "many">;
|
|
3182
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3183
|
+
id: z.ZodString;
|
|
3184
|
+
capability: z.ZodString;
|
|
3185
|
+
locality: z.ZodEnum<["local", "remote", "either"]>;
|
|
3186
|
+
optional: z.ZodDefault<z.ZodBoolean>;
|
|
3187
|
+
}, "strict", z.ZodTypeAny, {
|
|
3188
|
+
id: string;
|
|
3189
|
+
optional: boolean;
|
|
3190
|
+
capability: string;
|
|
3191
|
+
locality: "local" | "remote" | "either";
|
|
3192
|
+
}, {
|
|
3193
|
+
id: string;
|
|
3194
|
+
capability: string;
|
|
3195
|
+
locality: "local" | "remote" | "either";
|
|
3196
|
+
optional?: boolean | undefined;
|
|
3197
|
+
}>, "many">>;
|
|
1611
3198
|
}, "strict", z.ZodTypeAny, {
|
|
1612
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1613
3199
|
componentId: string;
|
|
3200
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1614
3201
|
version: string;
|
|
1615
3202
|
compose: {
|
|
1616
3203
|
projectName: string;
|
|
1617
|
-
files:
|
|
3204
|
+
files: {
|
|
3205
|
+
path: string;
|
|
3206
|
+
digest: string;
|
|
3207
|
+
}[];
|
|
1618
3208
|
};
|
|
1619
3209
|
services: {
|
|
1620
3210
|
id: string;
|
|
1621
3211
|
composeService: string;
|
|
1622
3212
|
endpoints: {
|
|
1623
|
-
id: string;
|
|
1624
3213
|
protocol: "http" | "https" | "tcp";
|
|
3214
|
+
tls: "edge" | "passthrough" | "none";
|
|
3215
|
+
authentication: "none" | "application" | "mtls";
|
|
3216
|
+
id: string;
|
|
1625
3217
|
port: number;
|
|
1626
3218
|
visibility: "host" | "private";
|
|
1627
3219
|
aliasOverride: boolean;
|
|
1628
|
-
tls: "passthrough" | "edge" | "none";
|
|
1629
|
-
authentication: "none" | "application" | "mtls";
|
|
1630
|
-
defaultAlias?: string | undefined;
|
|
1631
3220
|
healthGate?: {
|
|
1632
3221
|
protocol: "http" | "https" | "tcp";
|
|
1633
3222
|
timeoutSeconds: number;
|
|
1634
3223
|
path?: string | undefined;
|
|
1635
3224
|
} | undefined;
|
|
3225
|
+
defaultAlias?: string | undefined;
|
|
1636
3226
|
}[];
|
|
1637
3227
|
}[];
|
|
1638
3228
|
stateVolumes: {
|
|
1639
3229
|
id: string;
|
|
1640
3230
|
volume: string;
|
|
1641
|
-
backup: "
|
|
3231
|
+
backup: "none" | "required" | "optional";
|
|
1642
3232
|
}[];
|
|
1643
3233
|
migrations: {
|
|
1644
3234
|
id: string;
|
|
@@ -1646,37 +3236,46 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1646
3236
|
backupRequired: boolean;
|
|
1647
3237
|
}[];
|
|
1648
3238
|
requiredCapabilities: string[];
|
|
3239
|
+
dependencies: {
|
|
3240
|
+
id: string;
|
|
3241
|
+
optional: boolean;
|
|
3242
|
+
capability: string;
|
|
3243
|
+
locality: "local" | "remote" | "either";
|
|
3244
|
+
}[];
|
|
1649
3245
|
}, {
|
|
1650
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1651
3246
|
componentId: string;
|
|
3247
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1652
3248
|
version: string;
|
|
1653
3249
|
compose: {
|
|
1654
3250
|
projectName: string;
|
|
1655
|
-
files:
|
|
3251
|
+
files: {
|
|
3252
|
+
path: string;
|
|
3253
|
+
digest: string;
|
|
3254
|
+
}[];
|
|
1656
3255
|
};
|
|
1657
3256
|
services: {
|
|
1658
3257
|
id: string;
|
|
1659
3258
|
composeService: string;
|
|
1660
3259
|
endpoints: {
|
|
1661
|
-
id: string;
|
|
1662
3260
|
protocol: "http" | "https" | "tcp";
|
|
3261
|
+
tls: "edge" | "passthrough" | "none";
|
|
3262
|
+
authentication: "none" | "application" | "mtls";
|
|
3263
|
+
id: string;
|
|
1663
3264
|
port: number;
|
|
1664
3265
|
visibility: "host" | "private";
|
|
1665
|
-
tls: "passthrough" | "edge" | "none";
|
|
1666
|
-
authentication: "none" | "application" | "mtls";
|
|
1667
|
-
defaultAlias?: string | undefined;
|
|
1668
|
-
aliasOverride?: boolean | undefined;
|
|
1669
3266
|
healthGate?: {
|
|
1670
3267
|
protocol: "http" | "https" | "tcp";
|
|
1671
3268
|
timeoutSeconds: number;
|
|
1672
3269
|
path?: string | undefined;
|
|
1673
3270
|
} | undefined;
|
|
3271
|
+
defaultAlias?: string | undefined;
|
|
3272
|
+
aliasOverride?: boolean | undefined;
|
|
1674
3273
|
}[];
|
|
1675
3274
|
}[];
|
|
1676
3275
|
stateVolumes: {
|
|
1677
3276
|
id: string;
|
|
1678
3277
|
volume: string;
|
|
1679
|
-
backup: "
|
|
3278
|
+
backup: "none" | "required" | "optional";
|
|
1680
3279
|
}[];
|
|
1681
3280
|
migrations: {
|
|
1682
3281
|
id: string;
|
|
@@ -1684,37 +3283,46 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1684
3283
|
backupRequired: boolean;
|
|
1685
3284
|
}[];
|
|
1686
3285
|
requiredCapabilities: string[];
|
|
3286
|
+
dependencies?: {
|
|
3287
|
+
id: string;
|
|
3288
|
+
capability: string;
|
|
3289
|
+
locality: "local" | "remote" | "either";
|
|
3290
|
+
optional?: boolean | undefined;
|
|
3291
|
+
}[] | undefined;
|
|
1687
3292
|
}>, {
|
|
1688
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1689
3293
|
componentId: string;
|
|
3294
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1690
3295
|
version: string;
|
|
1691
3296
|
compose: {
|
|
1692
3297
|
projectName: string;
|
|
1693
|
-
files:
|
|
3298
|
+
files: {
|
|
3299
|
+
path: string;
|
|
3300
|
+
digest: string;
|
|
3301
|
+
}[];
|
|
1694
3302
|
};
|
|
1695
3303
|
services: {
|
|
1696
3304
|
id: string;
|
|
1697
3305
|
composeService: string;
|
|
1698
3306
|
endpoints: {
|
|
1699
|
-
id: string;
|
|
1700
3307
|
protocol: "http" | "https" | "tcp";
|
|
3308
|
+
tls: "edge" | "passthrough" | "none";
|
|
3309
|
+
authentication: "none" | "application" | "mtls";
|
|
3310
|
+
id: string;
|
|
1701
3311
|
port: number;
|
|
1702
3312
|
visibility: "host" | "private";
|
|
1703
3313
|
aliasOverride: boolean;
|
|
1704
|
-
tls: "passthrough" | "edge" | "none";
|
|
1705
|
-
authentication: "none" | "application" | "mtls";
|
|
1706
|
-
defaultAlias?: string | undefined;
|
|
1707
3314
|
healthGate?: {
|
|
1708
3315
|
protocol: "http" | "https" | "tcp";
|
|
1709
3316
|
timeoutSeconds: number;
|
|
1710
3317
|
path?: string | undefined;
|
|
1711
3318
|
} | undefined;
|
|
3319
|
+
defaultAlias?: string | undefined;
|
|
1712
3320
|
}[];
|
|
1713
3321
|
}[];
|
|
1714
3322
|
stateVolumes: {
|
|
1715
3323
|
id: string;
|
|
1716
3324
|
volume: string;
|
|
1717
|
-
backup: "
|
|
3325
|
+
backup: "none" | "required" | "optional";
|
|
1718
3326
|
}[];
|
|
1719
3327
|
migrations: {
|
|
1720
3328
|
id: string;
|
|
@@ -1722,37 +3330,46 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1722
3330
|
backupRequired: boolean;
|
|
1723
3331
|
}[];
|
|
1724
3332
|
requiredCapabilities: string[];
|
|
3333
|
+
dependencies: {
|
|
3334
|
+
id: string;
|
|
3335
|
+
optional: boolean;
|
|
3336
|
+
capability: string;
|
|
3337
|
+
locality: "local" | "remote" | "either";
|
|
3338
|
+
}[];
|
|
1725
3339
|
}, {
|
|
1726
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1727
3340
|
componentId: string;
|
|
3341
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1728
3342
|
version: string;
|
|
1729
3343
|
compose: {
|
|
1730
3344
|
projectName: string;
|
|
1731
|
-
files:
|
|
3345
|
+
files: {
|
|
3346
|
+
path: string;
|
|
3347
|
+
digest: string;
|
|
3348
|
+
}[];
|
|
1732
3349
|
};
|
|
1733
3350
|
services: {
|
|
1734
3351
|
id: string;
|
|
1735
3352
|
composeService: string;
|
|
1736
3353
|
endpoints: {
|
|
1737
|
-
id: string;
|
|
1738
3354
|
protocol: "http" | "https" | "tcp";
|
|
3355
|
+
tls: "edge" | "passthrough" | "none";
|
|
3356
|
+
authentication: "none" | "application" | "mtls";
|
|
3357
|
+
id: string;
|
|
1739
3358
|
port: number;
|
|
1740
3359
|
visibility: "host" | "private";
|
|
1741
|
-
tls: "passthrough" | "edge" | "none";
|
|
1742
|
-
authentication: "none" | "application" | "mtls";
|
|
1743
|
-
defaultAlias?: string | undefined;
|
|
1744
|
-
aliasOverride?: boolean | undefined;
|
|
1745
3360
|
healthGate?: {
|
|
1746
3361
|
protocol: "http" | "https" | "tcp";
|
|
1747
3362
|
timeoutSeconds: number;
|
|
1748
3363
|
path?: string | undefined;
|
|
1749
3364
|
} | undefined;
|
|
3365
|
+
defaultAlias?: string | undefined;
|
|
3366
|
+
aliasOverride?: boolean | undefined;
|
|
1750
3367
|
}[];
|
|
1751
3368
|
}[];
|
|
1752
3369
|
stateVolumes: {
|
|
1753
3370
|
id: string;
|
|
1754
3371
|
volume: string;
|
|
1755
|
-
backup: "
|
|
3372
|
+
backup: "none" | "required" | "optional";
|
|
1756
3373
|
}[];
|
|
1757
3374
|
migrations: {
|
|
1758
3375
|
id: string;
|
|
@@ -1760,6 +3377,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1760
3377
|
backupRequired: boolean;
|
|
1761
3378
|
}[];
|
|
1762
3379
|
requiredCapabilities: string[];
|
|
3380
|
+
dependencies?: {
|
|
3381
|
+
id: string;
|
|
3382
|
+
capability: string;
|
|
3383
|
+
locality: "local" | "remote" | "either";
|
|
3384
|
+
optional?: boolean | undefined;
|
|
3385
|
+
}[] | undefined;
|
|
1763
3386
|
}>;
|
|
1764
3387
|
runtimeDigest: z.ZodString;
|
|
1765
3388
|
rollback: z.ZodObject<{
|
|
@@ -1786,39 +3409,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1786
3409
|
vulnerabilities: string[];
|
|
1787
3410
|
}>;
|
|
1788
3411
|
}, "strict", z.ZodTypeAny, {
|
|
3412
|
+
componentId: string;
|
|
1789
3413
|
track: "stable" | "development";
|
|
1790
3414
|
schemaVersion: "treeseed.component-release/v1";
|
|
1791
3415
|
runtime: {
|
|
1792
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1793
3416
|
componentId: string;
|
|
3417
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1794
3418
|
version: string;
|
|
1795
3419
|
compose: {
|
|
1796
3420
|
projectName: string;
|
|
1797
|
-
files:
|
|
3421
|
+
files: {
|
|
3422
|
+
path: string;
|
|
3423
|
+
digest: string;
|
|
3424
|
+
}[];
|
|
1798
3425
|
};
|
|
1799
3426
|
services: {
|
|
1800
3427
|
id: string;
|
|
1801
3428
|
composeService: string;
|
|
1802
3429
|
endpoints: {
|
|
1803
|
-
id: string;
|
|
1804
3430
|
protocol: "http" | "https" | "tcp";
|
|
3431
|
+
tls: "edge" | "passthrough" | "none";
|
|
3432
|
+
authentication: "none" | "application" | "mtls";
|
|
3433
|
+
id: string;
|
|
1805
3434
|
port: number;
|
|
1806
3435
|
visibility: "host" | "private";
|
|
1807
3436
|
aliasOverride: boolean;
|
|
1808
|
-
tls: "passthrough" | "edge" | "none";
|
|
1809
|
-
authentication: "none" | "application" | "mtls";
|
|
1810
|
-
defaultAlias?: string | undefined;
|
|
1811
3437
|
healthGate?: {
|
|
1812
3438
|
protocol: "http" | "https" | "tcp";
|
|
1813
3439
|
timeoutSeconds: number;
|
|
1814
3440
|
path?: string | undefined;
|
|
1815
3441
|
} | undefined;
|
|
3442
|
+
defaultAlias?: string | undefined;
|
|
1816
3443
|
}[];
|
|
1817
3444
|
}[];
|
|
1818
3445
|
stateVolumes: {
|
|
1819
3446
|
id: string;
|
|
1820
3447
|
volume: string;
|
|
1821
|
-
backup: "
|
|
3448
|
+
backup: "none" | "required" | "optional";
|
|
1822
3449
|
}[];
|
|
1823
3450
|
migrations: {
|
|
1824
3451
|
id: string;
|
|
@@ -1826,9 +3453,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1826
3453
|
backupRequired: boolean;
|
|
1827
3454
|
}[];
|
|
1828
3455
|
requiredCapabilities: string[];
|
|
3456
|
+
dependencies: {
|
|
3457
|
+
id: string;
|
|
3458
|
+
optional: boolean;
|
|
3459
|
+
capability: string;
|
|
3460
|
+
locality: "local" | "remote" | "either";
|
|
3461
|
+
}[];
|
|
1829
3462
|
};
|
|
1830
|
-
componentId: string;
|
|
1831
3463
|
release: string;
|
|
3464
|
+
applicationVersion: string;
|
|
3465
|
+
revision: number;
|
|
1832
3466
|
source: {
|
|
1833
3467
|
repository: string;
|
|
1834
3468
|
commit: string;
|
|
@@ -1847,8 +3481,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1847
3481
|
}[];
|
|
1848
3482
|
images: {
|
|
1849
3483
|
role: string;
|
|
1850
|
-
repository: string;
|
|
1851
3484
|
digest: string;
|
|
3485
|
+
repository: string;
|
|
1852
3486
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1853
3487
|
consumers: string[];
|
|
1854
3488
|
}[];
|
|
@@ -1863,39 +3497,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1863
3497
|
vulnerabilities: string[];
|
|
1864
3498
|
};
|
|
1865
3499
|
}, {
|
|
3500
|
+
componentId: string;
|
|
1866
3501
|
track: "stable" | "development";
|
|
1867
3502
|
schemaVersion: "treeseed.component-release/v1";
|
|
1868
3503
|
runtime: {
|
|
1869
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1870
3504
|
componentId: string;
|
|
3505
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1871
3506
|
version: string;
|
|
1872
3507
|
compose: {
|
|
1873
3508
|
projectName: string;
|
|
1874
|
-
files:
|
|
3509
|
+
files: {
|
|
3510
|
+
path: string;
|
|
3511
|
+
digest: string;
|
|
3512
|
+
}[];
|
|
1875
3513
|
};
|
|
1876
3514
|
services: {
|
|
1877
3515
|
id: string;
|
|
1878
3516
|
composeService: string;
|
|
1879
3517
|
endpoints: {
|
|
1880
|
-
id: string;
|
|
1881
3518
|
protocol: "http" | "https" | "tcp";
|
|
3519
|
+
tls: "edge" | "passthrough" | "none";
|
|
3520
|
+
authentication: "none" | "application" | "mtls";
|
|
3521
|
+
id: string;
|
|
1882
3522
|
port: number;
|
|
1883
3523
|
visibility: "host" | "private";
|
|
1884
|
-
tls: "passthrough" | "edge" | "none";
|
|
1885
|
-
authentication: "none" | "application" | "mtls";
|
|
1886
|
-
defaultAlias?: string | undefined;
|
|
1887
|
-
aliasOverride?: boolean | undefined;
|
|
1888
3524
|
healthGate?: {
|
|
1889
3525
|
protocol: "http" | "https" | "tcp";
|
|
1890
3526
|
timeoutSeconds: number;
|
|
1891
3527
|
path?: string | undefined;
|
|
1892
3528
|
} | undefined;
|
|
3529
|
+
defaultAlias?: string | undefined;
|
|
3530
|
+
aliasOverride?: boolean | undefined;
|
|
1893
3531
|
}[];
|
|
1894
3532
|
}[];
|
|
1895
3533
|
stateVolumes: {
|
|
1896
3534
|
id: string;
|
|
1897
3535
|
volume: string;
|
|
1898
|
-
backup: "
|
|
3536
|
+
backup: "none" | "required" | "optional";
|
|
1899
3537
|
}[];
|
|
1900
3538
|
migrations: {
|
|
1901
3539
|
id: string;
|
|
@@ -1903,9 +3541,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1903
3541
|
backupRequired: boolean;
|
|
1904
3542
|
}[];
|
|
1905
3543
|
requiredCapabilities: string[];
|
|
3544
|
+
dependencies?: {
|
|
3545
|
+
id: string;
|
|
3546
|
+
capability: string;
|
|
3547
|
+
locality: "local" | "remote" | "either";
|
|
3548
|
+
optional?: boolean | undefined;
|
|
3549
|
+
}[] | undefined;
|
|
1906
3550
|
};
|
|
1907
|
-
componentId: string;
|
|
1908
3551
|
release: string;
|
|
3552
|
+
applicationVersion: string;
|
|
3553
|
+
revision: number;
|
|
1909
3554
|
source: {
|
|
1910
3555
|
repository: string;
|
|
1911
3556
|
commit: string;
|
|
@@ -1924,8 +3569,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1924
3569
|
}[];
|
|
1925
3570
|
images: {
|
|
1926
3571
|
role: string;
|
|
1927
|
-
repository: string;
|
|
1928
3572
|
digest: string;
|
|
3573
|
+
repository: string;
|
|
1929
3574
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
1930
3575
|
consumers: string[];
|
|
1931
3576
|
}[];
|
|
@@ -1940,39 +3585,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1940
3585
|
vulnerabilities: string[];
|
|
1941
3586
|
};
|
|
1942
3587
|
}>, {
|
|
3588
|
+
componentId: string;
|
|
1943
3589
|
track: "stable" | "development";
|
|
1944
3590
|
schemaVersion: "treeseed.component-release/v1";
|
|
1945
3591
|
runtime: {
|
|
1946
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
1947
3592
|
componentId: string;
|
|
3593
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
1948
3594
|
version: string;
|
|
1949
3595
|
compose: {
|
|
1950
3596
|
projectName: string;
|
|
1951
|
-
files:
|
|
3597
|
+
files: {
|
|
3598
|
+
path: string;
|
|
3599
|
+
digest: string;
|
|
3600
|
+
}[];
|
|
1952
3601
|
};
|
|
1953
3602
|
services: {
|
|
1954
3603
|
id: string;
|
|
1955
3604
|
composeService: string;
|
|
1956
3605
|
endpoints: {
|
|
1957
|
-
id: string;
|
|
1958
3606
|
protocol: "http" | "https" | "tcp";
|
|
3607
|
+
tls: "edge" | "passthrough" | "none";
|
|
3608
|
+
authentication: "none" | "application" | "mtls";
|
|
3609
|
+
id: string;
|
|
1959
3610
|
port: number;
|
|
1960
3611
|
visibility: "host" | "private";
|
|
1961
3612
|
aliasOverride: boolean;
|
|
1962
|
-
tls: "passthrough" | "edge" | "none";
|
|
1963
|
-
authentication: "none" | "application" | "mtls";
|
|
1964
|
-
defaultAlias?: string | undefined;
|
|
1965
3613
|
healthGate?: {
|
|
1966
3614
|
protocol: "http" | "https" | "tcp";
|
|
1967
3615
|
timeoutSeconds: number;
|
|
1968
3616
|
path?: string | undefined;
|
|
1969
3617
|
} | undefined;
|
|
3618
|
+
defaultAlias?: string | undefined;
|
|
1970
3619
|
}[];
|
|
1971
3620
|
}[];
|
|
1972
3621
|
stateVolumes: {
|
|
1973
3622
|
id: string;
|
|
1974
3623
|
volume: string;
|
|
1975
|
-
backup: "
|
|
3624
|
+
backup: "none" | "required" | "optional";
|
|
1976
3625
|
}[];
|
|
1977
3626
|
migrations: {
|
|
1978
3627
|
id: string;
|
|
@@ -1980,9 +3629,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1980
3629
|
backupRequired: boolean;
|
|
1981
3630
|
}[];
|
|
1982
3631
|
requiredCapabilities: string[];
|
|
3632
|
+
dependencies: {
|
|
3633
|
+
id: string;
|
|
3634
|
+
optional: boolean;
|
|
3635
|
+
capability: string;
|
|
3636
|
+
locality: "local" | "remote" | "either";
|
|
3637
|
+
}[];
|
|
1983
3638
|
};
|
|
1984
|
-
componentId: string;
|
|
1985
3639
|
release: string;
|
|
3640
|
+
applicationVersion: string;
|
|
3641
|
+
revision: number;
|
|
1986
3642
|
source: {
|
|
1987
3643
|
repository: string;
|
|
1988
3644
|
commit: string;
|
|
@@ -2001,8 +3657,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2001
3657
|
}[];
|
|
2002
3658
|
images: {
|
|
2003
3659
|
role: string;
|
|
2004
|
-
repository: string;
|
|
2005
3660
|
digest: string;
|
|
3661
|
+
repository: string;
|
|
2006
3662
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2007
3663
|
consumers: string[];
|
|
2008
3664
|
}[];
|
|
@@ -2017,39 +3673,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2017
3673
|
vulnerabilities: string[];
|
|
2018
3674
|
};
|
|
2019
3675
|
}, {
|
|
3676
|
+
componentId: string;
|
|
2020
3677
|
track: "stable" | "development";
|
|
2021
3678
|
schemaVersion: "treeseed.component-release/v1";
|
|
2022
3679
|
runtime: {
|
|
2023
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
2024
3680
|
componentId: string;
|
|
3681
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
2025
3682
|
version: string;
|
|
2026
3683
|
compose: {
|
|
2027
3684
|
projectName: string;
|
|
2028
|
-
files:
|
|
3685
|
+
files: {
|
|
3686
|
+
path: string;
|
|
3687
|
+
digest: string;
|
|
3688
|
+
}[];
|
|
2029
3689
|
};
|
|
2030
3690
|
services: {
|
|
2031
3691
|
id: string;
|
|
2032
3692
|
composeService: string;
|
|
2033
3693
|
endpoints: {
|
|
2034
|
-
id: string;
|
|
2035
3694
|
protocol: "http" | "https" | "tcp";
|
|
3695
|
+
tls: "edge" | "passthrough" | "none";
|
|
3696
|
+
authentication: "none" | "application" | "mtls";
|
|
3697
|
+
id: string;
|
|
2036
3698
|
port: number;
|
|
2037
3699
|
visibility: "host" | "private";
|
|
2038
|
-
tls: "passthrough" | "edge" | "none";
|
|
2039
|
-
authentication: "none" | "application" | "mtls";
|
|
2040
|
-
defaultAlias?: string | undefined;
|
|
2041
|
-
aliasOverride?: boolean | undefined;
|
|
2042
3700
|
healthGate?: {
|
|
2043
3701
|
protocol: "http" | "https" | "tcp";
|
|
2044
3702
|
timeoutSeconds: number;
|
|
2045
3703
|
path?: string | undefined;
|
|
2046
3704
|
} | undefined;
|
|
3705
|
+
defaultAlias?: string | undefined;
|
|
3706
|
+
aliasOverride?: boolean | undefined;
|
|
2047
3707
|
}[];
|
|
2048
3708
|
}[];
|
|
2049
3709
|
stateVolumes: {
|
|
2050
3710
|
id: string;
|
|
2051
3711
|
volume: string;
|
|
2052
|
-
backup: "
|
|
3712
|
+
backup: "none" | "required" | "optional";
|
|
2053
3713
|
}[];
|
|
2054
3714
|
migrations: {
|
|
2055
3715
|
id: string;
|
|
@@ -2057,9 +3717,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2057
3717
|
backupRequired: boolean;
|
|
2058
3718
|
}[];
|
|
2059
3719
|
requiredCapabilities: string[];
|
|
3720
|
+
dependencies?: {
|
|
3721
|
+
id: string;
|
|
3722
|
+
capability: string;
|
|
3723
|
+
locality: "local" | "remote" | "either";
|
|
3724
|
+
optional?: boolean | undefined;
|
|
3725
|
+
}[] | undefined;
|
|
2060
3726
|
};
|
|
2061
|
-
componentId: string;
|
|
2062
3727
|
release: string;
|
|
3728
|
+
applicationVersion: string;
|
|
3729
|
+
revision: number;
|
|
2063
3730
|
source: {
|
|
2064
3731
|
repository: string;
|
|
2065
3732
|
commit: string;
|
|
@@ -2078,8 +3745,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2078
3745
|
}[];
|
|
2079
3746
|
images: {
|
|
2080
3747
|
role: string;
|
|
2081
|
-
repository: string;
|
|
2082
3748
|
digest: string;
|
|
3749
|
+
repository: string;
|
|
2083
3750
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2084
3751
|
consumers: string[];
|
|
2085
3752
|
}[];
|
|
@@ -2100,39 +3767,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2100
3767
|
schemaVersion: "treeseed.release-catalog/v1";
|
|
2101
3768
|
generation: number;
|
|
2102
3769
|
components: {
|
|
3770
|
+
componentId: string;
|
|
2103
3771
|
track: "stable" | "development";
|
|
2104
3772
|
schemaVersion: "treeseed.component-release/v1";
|
|
2105
3773
|
runtime: {
|
|
2106
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
2107
3774
|
componentId: string;
|
|
3775
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
2108
3776
|
version: string;
|
|
2109
3777
|
compose: {
|
|
2110
3778
|
projectName: string;
|
|
2111
|
-
files:
|
|
3779
|
+
files: {
|
|
3780
|
+
path: string;
|
|
3781
|
+
digest: string;
|
|
3782
|
+
}[];
|
|
2112
3783
|
};
|
|
2113
3784
|
services: {
|
|
2114
3785
|
id: string;
|
|
2115
3786
|
composeService: string;
|
|
2116
3787
|
endpoints: {
|
|
2117
|
-
id: string;
|
|
2118
3788
|
protocol: "http" | "https" | "tcp";
|
|
3789
|
+
tls: "edge" | "passthrough" | "none";
|
|
3790
|
+
authentication: "none" | "application" | "mtls";
|
|
3791
|
+
id: string;
|
|
2119
3792
|
port: number;
|
|
2120
3793
|
visibility: "host" | "private";
|
|
2121
3794
|
aliasOverride: boolean;
|
|
2122
|
-
tls: "passthrough" | "edge" | "none";
|
|
2123
|
-
authentication: "none" | "application" | "mtls";
|
|
2124
|
-
defaultAlias?: string | undefined;
|
|
2125
3795
|
healthGate?: {
|
|
2126
3796
|
protocol: "http" | "https" | "tcp";
|
|
2127
3797
|
timeoutSeconds: number;
|
|
2128
3798
|
path?: string | undefined;
|
|
2129
3799
|
} | undefined;
|
|
3800
|
+
defaultAlias?: string | undefined;
|
|
2130
3801
|
}[];
|
|
2131
3802
|
}[];
|
|
2132
3803
|
stateVolumes: {
|
|
2133
3804
|
id: string;
|
|
2134
3805
|
volume: string;
|
|
2135
|
-
backup: "
|
|
3806
|
+
backup: "none" | "required" | "optional";
|
|
2136
3807
|
}[];
|
|
2137
3808
|
migrations: {
|
|
2138
3809
|
id: string;
|
|
@@ -2140,9 +3811,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2140
3811
|
backupRequired: boolean;
|
|
2141
3812
|
}[];
|
|
2142
3813
|
requiredCapabilities: string[];
|
|
3814
|
+
dependencies: {
|
|
3815
|
+
id: string;
|
|
3816
|
+
optional: boolean;
|
|
3817
|
+
capability: string;
|
|
3818
|
+
locality: "local" | "remote" | "either";
|
|
3819
|
+
}[];
|
|
2143
3820
|
};
|
|
2144
|
-
componentId: string;
|
|
2145
3821
|
release: string;
|
|
3822
|
+
applicationVersion: string;
|
|
3823
|
+
revision: number;
|
|
2146
3824
|
source: {
|
|
2147
3825
|
repository: string;
|
|
2148
3826
|
commit: string;
|
|
@@ -2161,8 +3839,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2161
3839
|
}[];
|
|
2162
3840
|
images: {
|
|
2163
3841
|
role: string;
|
|
2164
|
-
repository: string;
|
|
2165
3842
|
digest: string;
|
|
3843
|
+
repository: string;
|
|
2166
3844
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2167
3845
|
consumers: string[];
|
|
2168
3846
|
}[];
|
|
@@ -2190,39 +3868,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2190
3868
|
schemaVersion: "treeseed.release-catalog/v1";
|
|
2191
3869
|
generation: number;
|
|
2192
3870
|
components: {
|
|
3871
|
+
componentId: string;
|
|
2193
3872
|
track: "stable" | "development";
|
|
2194
3873
|
schemaVersion: "treeseed.component-release/v1";
|
|
2195
3874
|
runtime: {
|
|
2196
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
2197
3875
|
componentId: string;
|
|
3876
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
2198
3877
|
version: string;
|
|
2199
3878
|
compose: {
|
|
2200
3879
|
projectName: string;
|
|
2201
|
-
files:
|
|
3880
|
+
files: {
|
|
3881
|
+
path: string;
|
|
3882
|
+
digest: string;
|
|
3883
|
+
}[];
|
|
2202
3884
|
};
|
|
2203
3885
|
services: {
|
|
2204
3886
|
id: string;
|
|
2205
3887
|
composeService: string;
|
|
2206
3888
|
endpoints: {
|
|
2207
|
-
id: string;
|
|
2208
3889
|
protocol: "http" | "https" | "tcp";
|
|
3890
|
+
tls: "edge" | "passthrough" | "none";
|
|
3891
|
+
authentication: "none" | "application" | "mtls";
|
|
3892
|
+
id: string;
|
|
2209
3893
|
port: number;
|
|
2210
3894
|
visibility: "host" | "private";
|
|
2211
|
-
tls: "passthrough" | "edge" | "none";
|
|
2212
|
-
authentication: "none" | "application" | "mtls";
|
|
2213
|
-
defaultAlias?: string | undefined;
|
|
2214
|
-
aliasOverride?: boolean | undefined;
|
|
2215
3895
|
healthGate?: {
|
|
2216
3896
|
protocol: "http" | "https" | "tcp";
|
|
2217
3897
|
timeoutSeconds: number;
|
|
2218
3898
|
path?: string | undefined;
|
|
2219
3899
|
} | undefined;
|
|
3900
|
+
defaultAlias?: string | undefined;
|
|
3901
|
+
aliasOverride?: boolean | undefined;
|
|
2220
3902
|
}[];
|
|
2221
3903
|
}[];
|
|
2222
3904
|
stateVolumes: {
|
|
2223
3905
|
id: string;
|
|
2224
3906
|
volume: string;
|
|
2225
|
-
backup: "
|
|
3907
|
+
backup: "none" | "required" | "optional";
|
|
2226
3908
|
}[];
|
|
2227
3909
|
migrations: {
|
|
2228
3910
|
id: string;
|
|
@@ -2230,9 +3912,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2230
3912
|
backupRequired: boolean;
|
|
2231
3913
|
}[];
|
|
2232
3914
|
requiredCapabilities: string[];
|
|
3915
|
+
dependencies?: {
|
|
3916
|
+
id: string;
|
|
3917
|
+
capability: string;
|
|
3918
|
+
locality: "local" | "remote" | "either";
|
|
3919
|
+
optional?: boolean | undefined;
|
|
3920
|
+
}[] | undefined;
|
|
2233
3921
|
};
|
|
2234
|
-
componentId: string;
|
|
2235
3922
|
release: string;
|
|
3923
|
+
applicationVersion: string;
|
|
3924
|
+
revision: number;
|
|
2236
3925
|
source: {
|
|
2237
3926
|
repository: string;
|
|
2238
3927
|
commit: string;
|
|
@@ -2251,8 +3940,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2251
3940
|
}[];
|
|
2252
3941
|
images: {
|
|
2253
3942
|
role: string;
|
|
2254
|
-
repository: string;
|
|
2255
3943
|
digest: string;
|
|
3944
|
+
repository: string;
|
|
2256
3945
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2257
3946
|
consumers: string[];
|
|
2258
3947
|
}[];
|
|
@@ -2280,39 +3969,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2280
3969
|
schemaVersion: "treeseed.release-catalog/v1";
|
|
2281
3970
|
generation: number;
|
|
2282
3971
|
components: {
|
|
3972
|
+
componentId: string;
|
|
2283
3973
|
track: "stable" | "development";
|
|
2284
3974
|
schemaVersion: "treeseed.component-release/v1";
|
|
2285
3975
|
runtime: {
|
|
2286
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
2287
3976
|
componentId: string;
|
|
3977
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
2288
3978
|
version: string;
|
|
2289
3979
|
compose: {
|
|
2290
3980
|
projectName: string;
|
|
2291
|
-
files:
|
|
3981
|
+
files: {
|
|
3982
|
+
path: string;
|
|
3983
|
+
digest: string;
|
|
3984
|
+
}[];
|
|
2292
3985
|
};
|
|
2293
3986
|
services: {
|
|
2294
3987
|
id: string;
|
|
2295
3988
|
composeService: string;
|
|
2296
3989
|
endpoints: {
|
|
2297
|
-
id: string;
|
|
2298
3990
|
protocol: "http" | "https" | "tcp";
|
|
3991
|
+
tls: "edge" | "passthrough" | "none";
|
|
3992
|
+
authentication: "none" | "application" | "mtls";
|
|
3993
|
+
id: string;
|
|
2299
3994
|
port: number;
|
|
2300
3995
|
visibility: "host" | "private";
|
|
2301
3996
|
aliasOverride: boolean;
|
|
2302
|
-
tls: "passthrough" | "edge" | "none";
|
|
2303
|
-
authentication: "none" | "application" | "mtls";
|
|
2304
|
-
defaultAlias?: string | undefined;
|
|
2305
3997
|
healthGate?: {
|
|
2306
3998
|
protocol: "http" | "https" | "tcp";
|
|
2307
3999
|
timeoutSeconds: number;
|
|
2308
4000
|
path?: string | undefined;
|
|
2309
4001
|
} | undefined;
|
|
4002
|
+
defaultAlias?: string | undefined;
|
|
2310
4003
|
}[];
|
|
2311
4004
|
}[];
|
|
2312
4005
|
stateVolumes: {
|
|
2313
4006
|
id: string;
|
|
2314
4007
|
volume: string;
|
|
2315
|
-
backup: "
|
|
4008
|
+
backup: "none" | "required" | "optional";
|
|
2316
4009
|
}[];
|
|
2317
4010
|
migrations: {
|
|
2318
4011
|
id: string;
|
|
@@ -2320,9 +4013,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2320
4013
|
backupRequired: boolean;
|
|
2321
4014
|
}[];
|
|
2322
4015
|
requiredCapabilities: string[];
|
|
4016
|
+
dependencies: {
|
|
4017
|
+
id: string;
|
|
4018
|
+
optional: boolean;
|
|
4019
|
+
capability: string;
|
|
4020
|
+
locality: "local" | "remote" | "either";
|
|
4021
|
+
}[];
|
|
2323
4022
|
};
|
|
2324
|
-
componentId: string;
|
|
2325
4023
|
release: string;
|
|
4024
|
+
applicationVersion: string;
|
|
4025
|
+
revision: number;
|
|
2326
4026
|
source: {
|
|
2327
4027
|
repository: string;
|
|
2328
4028
|
commit: string;
|
|
@@ -2341,8 +4041,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2341
4041
|
}[];
|
|
2342
4042
|
images: {
|
|
2343
4043
|
role: string;
|
|
2344
|
-
repository: string;
|
|
2345
4044
|
digest: string;
|
|
4045
|
+
repository: string;
|
|
2346
4046
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2347
4047
|
consumers: string[];
|
|
2348
4048
|
}[];
|
|
@@ -2370,39 +4070,43 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2370
4070
|
schemaVersion: "treeseed.release-catalog/v1";
|
|
2371
4071
|
generation: number;
|
|
2372
4072
|
components: {
|
|
4073
|
+
componentId: string;
|
|
2373
4074
|
track: "stable" | "development";
|
|
2374
4075
|
schemaVersion: "treeseed.component-release/v1";
|
|
2375
4076
|
runtime: {
|
|
2376
|
-
schemaVersion: "treeseed.package-runtime/v1";
|
|
2377
4077
|
componentId: string;
|
|
4078
|
+
schemaVersion: "treeseed.package-runtime/v1";
|
|
2378
4079
|
version: string;
|
|
2379
4080
|
compose: {
|
|
2380
4081
|
projectName: string;
|
|
2381
|
-
files:
|
|
4082
|
+
files: {
|
|
4083
|
+
path: string;
|
|
4084
|
+
digest: string;
|
|
4085
|
+
}[];
|
|
2382
4086
|
};
|
|
2383
4087
|
services: {
|
|
2384
4088
|
id: string;
|
|
2385
4089
|
composeService: string;
|
|
2386
4090
|
endpoints: {
|
|
2387
|
-
id: string;
|
|
2388
4091
|
protocol: "http" | "https" | "tcp";
|
|
4092
|
+
tls: "edge" | "passthrough" | "none";
|
|
4093
|
+
authentication: "none" | "application" | "mtls";
|
|
4094
|
+
id: string;
|
|
2389
4095
|
port: number;
|
|
2390
4096
|
visibility: "host" | "private";
|
|
2391
|
-
tls: "passthrough" | "edge" | "none";
|
|
2392
|
-
authentication: "none" | "application" | "mtls";
|
|
2393
|
-
defaultAlias?: string | undefined;
|
|
2394
|
-
aliasOverride?: boolean | undefined;
|
|
2395
4097
|
healthGate?: {
|
|
2396
4098
|
protocol: "http" | "https" | "tcp";
|
|
2397
4099
|
timeoutSeconds: number;
|
|
2398
4100
|
path?: string | undefined;
|
|
2399
4101
|
} | undefined;
|
|
4102
|
+
defaultAlias?: string | undefined;
|
|
4103
|
+
aliasOverride?: boolean | undefined;
|
|
2400
4104
|
}[];
|
|
2401
4105
|
}[];
|
|
2402
4106
|
stateVolumes: {
|
|
2403
4107
|
id: string;
|
|
2404
4108
|
volume: string;
|
|
2405
|
-
backup: "
|
|
4109
|
+
backup: "none" | "required" | "optional";
|
|
2406
4110
|
}[];
|
|
2407
4111
|
migrations: {
|
|
2408
4112
|
id: string;
|
|
@@ -2410,9 +4114,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2410
4114
|
backupRequired: boolean;
|
|
2411
4115
|
}[];
|
|
2412
4116
|
requiredCapabilities: string[];
|
|
4117
|
+
dependencies?: {
|
|
4118
|
+
id: string;
|
|
4119
|
+
capability: string;
|
|
4120
|
+
locality: "local" | "remote" | "either";
|
|
4121
|
+
optional?: boolean | undefined;
|
|
4122
|
+
}[] | undefined;
|
|
2413
4123
|
};
|
|
2414
|
-
componentId: string;
|
|
2415
4124
|
release: string;
|
|
4125
|
+
applicationVersion: string;
|
|
4126
|
+
revision: number;
|
|
2416
4127
|
source: {
|
|
2417
4128
|
repository: string;
|
|
2418
4129
|
commit: string;
|
|
@@ -2431,8 +4142,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2431
4142
|
}[];
|
|
2432
4143
|
images: {
|
|
2433
4144
|
role: string;
|
|
2434
|
-
repository: string;
|
|
2435
4145
|
digest: string;
|
|
4146
|
+
repository: string;
|
|
2436
4147
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2437
4148
|
consumers: string[];
|
|
2438
4149
|
}[];
|
|
@@ -2701,6 +4412,9 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2701
4412
|
receiptId: z.ZodString;
|
|
2702
4413
|
planId: z.ZodString;
|
|
2703
4414
|
state: z.ZodEnum<["known-good", "degraded", "rolled-back"]>;
|
|
4415
|
+
hostId: z.ZodString;
|
|
4416
|
+
role: z.ZodUnion<[z.ZodEnum<["integrated", "capacity-provider", "control-plane", "knowledge", "ai-gpu", "edge"]>, z.ZodString]>;
|
|
4417
|
+
rolloutGroup: z.ZodString;
|
|
2704
4418
|
configurationDigest: z.ZodString;
|
|
2705
4419
|
catalogDigest: z.ZodString;
|
|
2706
4420
|
packages: z.ZodArray<z.ZodObject<{
|
|
@@ -2730,20 +4444,35 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2730
4444
|
consumers: z.ZodArray<z.ZodString, "many">;
|
|
2731
4445
|
}, "strict", z.ZodTypeAny, {
|
|
2732
4446
|
role: string;
|
|
2733
|
-
repository: string;
|
|
2734
4447
|
digest: string;
|
|
4448
|
+
repository: string;
|
|
2735
4449
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2736
4450
|
consumers: string[];
|
|
2737
4451
|
}, {
|
|
2738
4452
|
role: string;
|
|
2739
|
-
repository: string;
|
|
2740
4453
|
digest: string;
|
|
4454
|
+
repository: string;
|
|
2741
4455
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2742
4456
|
consumers: string[];
|
|
2743
4457
|
}>, "many">;
|
|
4458
|
+
runtimes: z.ZodArray<z.ZodObject<{
|
|
4459
|
+
componentId: z.ZodString;
|
|
4460
|
+
release: z.ZodString;
|
|
4461
|
+
runtimeDigest: z.ZodString;
|
|
4462
|
+
}, "strict", z.ZodTypeAny, {
|
|
4463
|
+
componentId: string;
|
|
4464
|
+
release: string;
|
|
4465
|
+
runtimeDigest: string;
|
|
4466
|
+
}, {
|
|
4467
|
+
componentId: string;
|
|
4468
|
+
release: string;
|
|
4469
|
+
runtimeDigest: string;
|
|
4470
|
+
}>, "many">;
|
|
2744
4471
|
completedAt: z.ZodString;
|
|
2745
4472
|
}, "strict", z.ZodTypeAny, {
|
|
2746
4473
|
schemaVersion: "treeseed.host-receipt/v1";
|
|
4474
|
+
role: string;
|
|
4475
|
+
rolloutGroup: string;
|
|
2747
4476
|
catalogDigest: string;
|
|
2748
4477
|
packages: {
|
|
2749
4478
|
architecture: "amd64" | "all";
|
|
@@ -2754,8 +4483,8 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2754
4483
|
}[];
|
|
2755
4484
|
images: {
|
|
2756
4485
|
role: string;
|
|
2757
|
-
repository: string;
|
|
2758
4486
|
digest: string;
|
|
4487
|
+
repository: string;
|
|
2759
4488
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2760
4489
|
consumers: string[];
|
|
2761
4490
|
}[];
|
|
@@ -2763,9 +4492,17 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2763
4492
|
configurationDigest: string;
|
|
2764
4493
|
state: "rolled-back" | "known-good" | "degraded";
|
|
2765
4494
|
receiptId: string;
|
|
4495
|
+
hostId: string;
|
|
4496
|
+
runtimes: {
|
|
4497
|
+
componentId: string;
|
|
4498
|
+
release: string;
|
|
4499
|
+
runtimeDigest: string;
|
|
4500
|
+
}[];
|
|
2766
4501
|
completedAt: string;
|
|
2767
4502
|
}, {
|
|
2768
4503
|
schemaVersion: "treeseed.host-receipt/v1";
|
|
4504
|
+
role: string;
|
|
4505
|
+
rolloutGroup: string;
|
|
2769
4506
|
catalogDigest: string;
|
|
2770
4507
|
packages: {
|
|
2771
4508
|
architecture: "amd64" | "all";
|
|
@@ -2776,8 +4513,8 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2776
4513
|
}[];
|
|
2777
4514
|
images: {
|
|
2778
4515
|
role: string;
|
|
2779
|
-
repository: string;
|
|
2780
4516
|
digest: string;
|
|
4517
|
+
repository: string;
|
|
2781
4518
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2782
4519
|
consumers: string[];
|
|
2783
4520
|
}[];
|
|
@@ -2785,6 +4522,12 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
2785
4522
|
configurationDigest: string;
|
|
2786
4523
|
state: "rolled-back" | "known-good" | "degraded";
|
|
2787
4524
|
receiptId: string;
|
|
4525
|
+
hostId: string;
|
|
4526
|
+
runtimes: {
|
|
4527
|
+
componentId: string;
|
|
4528
|
+
release: string;
|
|
4529
|
+
runtimeDigest: string;
|
|
4530
|
+
}[];
|
|
2788
4531
|
completedAt: string;
|
|
2789
4532
|
}>;
|
|
2790
4533
|
export declare const hostBackupSchema: z.ZodObject<{
|
|
@@ -2812,9 +4555,9 @@ export declare const hostBackupSchema: z.ZodObject<{
|
|
|
2812
4555
|
createdAt: z.ZodString;
|
|
2813
4556
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
2814
4557
|
}, "strict", z.ZodTypeAny, {
|
|
4558
|
+
componentId: string;
|
|
2815
4559
|
schemaVersion: "treeseed.host-backup/v1";
|
|
2816
4560
|
generation: number;
|
|
2817
|
-
componentId: string;
|
|
2818
4561
|
createdAt: string;
|
|
2819
4562
|
state: "failed" | "pending" | "complete" | "verified";
|
|
2820
4563
|
backupId: string;
|
|
@@ -2826,9 +4569,9 @@ export declare const hostBackupSchema: z.ZodObject<{
|
|
|
2826
4569
|
}[];
|
|
2827
4570
|
verifiedAt: string | null;
|
|
2828
4571
|
}, {
|
|
4572
|
+
componentId: string;
|
|
2829
4573
|
schemaVersion: "treeseed.host-backup/v1";
|
|
2830
4574
|
generation: number;
|
|
2831
|
-
componentId: string;
|
|
2832
4575
|
createdAt: string;
|
|
2833
4576
|
state: "failed" | "pending" | "complete" | "verified";
|
|
2834
4577
|
backupId: string;
|
|
@@ -2852,8 +4595,8 @@ export declare const hostMigrationSchema: z.ZodObject<{
|
|
|
2852
4595
|
sourceWritersStopped: z.ZodBoolean;
|
|
2853
4596
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
2854
4597
|
}, "strict", z.ZodTypeAny, {
|
|
2855
|
-
schemaVersion: "treeseed.host-migration/v1";
|
|
2856
4598
|
componentId: string;
|
|
4599
|
+
schemaVersion: "treeseed.host-migration/v1";
|
|
2857
4600
|
state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
|
|
2858
4601
|
completedAt: string | null;
|
|
2859
4602
|
backupId: string | null;
|
|
@@ -2863,8 +4606,8 @@ export declare const hostMigrationSchema: z.ZodObject<{
|
|
|
2863
4606
|
toGeneration: number;
|
|
2864
4607
|
sourceWritersStopped: boolean;
|
|
2865
4608
|
}, {
|
|
2866
|
-
schemaVersion: "treeseed.host-migration/v1";
|
|
2867
4609
|
componentId: string;
|
|
4610
|
+
schemaVersion: "treeseed.host-migration/v1";
|
|
2868
4611
|
state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
|
|
2869
4612
|
completedAt: string | null;
|
|
2870
4613
|
backupId: string | null;
|
|
@@ -2886,8 +4629,8 @@ export declare const hostRecoverySchema: z.ZodObject<{
|
|
|
2886
4629
|
backupId: z.ZodNullable<z.ZodString>;
|
|
2887
4630
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
2888
4631
|
}, "strict", z.ZodTypeAny, {
|
|
2889
|
-
schemaVersion: "treeseed.host-recovery/v1";
|
|
2890
4632
|
componentId: string | null;
|
|
4633
|
+
schemaVersion: "treeseed.host-recovery/v1";
|
|
2891
4634
|
action: "rollback" | "retry" | "restore";
|
|
2892
4635
|
state: "healthy" | "failed" | "pending" | "running";
|
|
2893
4636
|
receiptId: string;
|
|
@@ -2897,8 +4640,8 @@ export declare const hostRecoverySchema: z.ZodObject<{
|
|
|
2897
4640
|
trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
|
|
2898
4641
|
targetGeneration: number;
|
|
2899
4642
|
}, {
|
|
2900
|
-
schemaVersion: "treeseed.host-recovery/v1";
|
|
2901
4643
|
componentId: string | null;
|
|
4644
|
+
schemaVersion: "treeseed.host-recovery/v1";
|
|
2902
4645
|
action: "rollback" | "retry" | "restore";
|
|
2903
4646
|
state: "healthy" | "failed" | "pending" | "running";
|
|
2904
4647
|
receiptId: string;
|
|
@@ -2909,11 +4652,14 @@ export declare const hostRecoverySchema: z.ZodObject<{
|
|
|
2909
4652
|
targetGeneration: number;
|
|
2910
4653
|
}>;
|
|
2911
4654
|
export type DeploymentTrack = z.infer<typeof deploymentTrackSchema>;
|
|
4655
|
+
export type HostRole = z.infer<typeof hostRoleSchema>;
|
|
4656
|
+
export type HostConnectionBinding = z.infer<typeof hostConnectionBindingSchema>;
|
|
2912
4657
|
export type HostConfiguration = z.infer<typeof hostConfigurationSchema>;
|
|
2913
4658
|
export type PackageRuntime = z.infer<typeof packageRuntimeSchema>;
|
|
2914
4659
|
export type PackageEndpoint = z.infer<typeof packageEndpointSchema>;
|
|
2915
4660
|
export type ComponentRelease = z.infer<typeof componentReleaseSchema>;
|
|
2916
4661
|
export type ReleaseCatalog = z.infer<typeof releaseCatalogSchema>;
|
|
4662
|
+
export type IntegrationRelease = z.infer<typeof integrationReleaseSchema>;
|
|
2917
4663
|
export type HostPlan = z.infer<typeof hostPlanSchema>;
|
|
2918
4664
|
export type HostBootstrap = z.infer<typeof hostBootstrapSchema>;
|
|
2919
4665
|
export type HostUpdate = z.infer<typeof hostUpdateSchema>;
|