@treeseed/sdk 0.13.0-rc.25 → 0.13.0-rc.27

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.
@@ -0,0 +1,2923 @@
1
+ import { z } from 'zod';
2
+ export declare const deploymentTrackSchema: z.ZodEnum<["stable", "development"]>;
3
+ export declare const hostComponentSchema: z.ZodObject<{
4
+ enabled: z.ZodBoolean;
5
+ track: z.ZodEnum<["stable", "development"]>;
6
+ profile: z.ZodOptional<z.ZodString>;
7
+ aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
8
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ enabled: boolean;
11
+ track: "stable" | "development";
12
+ aliases: Record<string, string>;
13
+ configuration: Record<string, unknown>;
14
+ profile?: string | undefined;
15
+ }, {
16
+ enabled: boolean;
17
+ track: "stable" | "development";
18
+ profile?: string | undefined;
19
+ aliases?: Record<string, string> | undefined;
20
+ configuration?: Record<string, unknown> | undefined;
21
+ }>;
22
+ export declare const hostConfigurationSchema: z.ZodObject<{
23
+ schemaVersion: z.ZodLiteral<"treeseed.host/v1">;
24
+ configurationId: z.ZodString;
25
+ generation: z.ZodNumber;
26
+ host: z.ZodObject<{
27
+ id: z.ZodString;
28
+ role: z.ZodString;
29
+ architecture: z.ZodLiteral<"amd64">;
30
+ }, "strict", z.ZodTypeAny, {
31
+ id: string;
32
+ role: string;
33
+ architecture: "amd64";
34
+ }, {
35
+ id: string;
36
+ role: string;
37
+ architecture: "amd64";
38
+ }>;
39
+ runtime: z.ZodObject<{
40
+ management: z.ZodEnum<["managed", "external"]>;
41
+ }, "strict", z.ZodTypeAny, {
42
+ management: "managed" | "external";
43
+ }, {
44
+ management: "managed" | "external";
45
+ }>;
46
+ updates: z.ZodObject<{
47
+ defaultTrack: z.ZodEnum<["stable", "development"]>;
48
+ stable: z.ZodObject<{
49
+ metadataPollSeconds: z.ZodNumber;
50
+ maintenanceWindow: z.ZodObject<{
51
+ weekday: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
52
+ localTime: z.ZodString;
53
+ jitterMinutes: z.ZodNumber;
54
+ }, "strict", z.ZodTypeAny, {
55
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
56
+ localTime: string;
57
+ jitterMinutes: number;
58
+ }, {
59
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
60
+ localTime: string;
61
+ jitterMinutes: number;
62
+ }>;
63
+ }, "strict", z.ZodTypeAny, {
64
+ metadataPollSeconds: number;
65
+ maintenanceWindow: {
66
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
67
+ localTime: string;
68
+ jitterMinutes: number;
69
+ };
70
+ }, {
71
+ metadataPollSeconds: number;
72
+ maintenanceWindow: {
73
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
74
+ localTime: string;
75
+ jitterMinutes: number;
76
+ };
77
+ }>;
78
+ development: z.ZodObject<{
79
+ pollSeconds: z.ZodLiteral<60>;
80
+ }, "strict", z.ZodTypeAny, {
81
+ pollSeconds: 60;
82
+ }, {
83
+ pollSeconds: 60;
84
+ }>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ stable: {
87
+ metadataPollSeconds: number;
88
+ maintenanceWindow: {
89
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
90
+ localTime: string;
91
+ jitterMinutes: number;
92
+ };
93
+ };
94
+ development: {
95
+ pollSeconds: 60;
96
+ };
97
+ defaultTrack: "stable" | "development";
98
+ }, {
99
+ stable: {
100
+ metadataPollSeconds: number;
101
+ maintenanceWindow: {
102
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
103
+ localTime: string;
104
+ jitterMinutes: number;
105
+ };
106
+ };
107
+ development: {
108
+ pollSeconds: 60;
109
+ };
110
+ defaultTrack: "stable" | "development";
111
+ }>;
112
+ components: z.ZodRecord<z.ZodString, z.ZodObject<{
113
+ enabled: z.ZodBoolean;
114
+ track: z.ZodEnum<["stable", "development"]>;
115
+ profile: z.ZodOptional<z.ZodString>;
116
+ aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
117
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
118
+ }, "strict", z.ZodTypeAny, {
119
+ enabled: boolean;
120
+ track: "stable" | "development";
121
+ aliases: Record<string, string>;
122
+ configuration: Record<string, unknown>;
123
+ profile?: string | undefined;
124
+ }, {
125
+ enabled: boolean;
126
+ track: "stable" | "development";
127
+ profile?: string | undefined;
128
+ aliases?: Record<string, string> | undefined;
129
+ configuration?: Record<string, unknown> | undefined;
130
+ }>>;
131
+ network: z.ZodObject<{
132
+ manager: z.ZodObject<{
133
+ binding: z.ZodString;
134
+ aliases: z.ZodArray<z.ZodString, "many">;
135
+ sans: z.ZodArray<z.ZodString, "many">;
136
+ trustedLanCidrs: z.ZodArray<z.ZodString, "many">;
137
+ }, "strict", z.ZodTypeAny, {
138
+ aliases: string[];
139
+ binding: string;
140
+ sans: string[];
141
+ trustedLanCidrs: string[];
142
+ }, {
143
+ aliases: string[];
144
+ binding: string;
145
+ sans: string[];
146
+ trustedLanCidrs: string[];
147
+ }>;
148
+ }, "strict", z.ZodTypeAny, {
149
+ manager: {
150
+ aliases: string[];
151
+ binding: string;
152
+ sans: string[];
153
+ trustedLanCidrs: string[];
154
+ };
155
+ }, {
156
+ manager: {
157
+ aliases: string[];
158
+ binding: string;
159
+ sans: string[];
160
+ trustedLanCidrs: string[];
161
+ };
162
+ }>;
163
+ secrets: z.ZodRecord<z.ZodString, z.ZodObject<{
164
+ provider: z.ZodEnum<["file", "systemd-credential", "vault", "aws-secrets-manager"]>;
165
+ reference: z.ZodString;
166
+ }, "strict", z.ZodTypeAny, {
167
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
168
+ reference: string;
169
+ }, {
170
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
171
+ reference: string;
172
+ }>>;
173
+ }, "strict", z.ZodTypeAny, {
174
+ schemaVersion: "treeseed.host/v1";
175
+ configurationId: string;
176
+ generation: number;
177
+ host: {
178
+ id: string;
179
+ role: string;
180
+ architecture: "amd64";
181
+ };
182
+ runtime: {
183
+ management: "managed" | "external";
184
+ };
185
+ updates: {
186
+ stable: {
187
+ metadataPollSeconds: number;
188
+ maintenanceWindow: {
189
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
190
+ localTime: string;
191
+ jitterMinutes: number;
192
+ };
193
+ };
194
+ development: {
195
+ pollSeconds: 60;
196
+ };
197
+ defaultTrack: "stable" | "development";
198
+ };
199
+ components: Record<string, {
200
+ enabled: boolean;
201
+ track: "stable" | "development";
202
+ aliases: Record<string, string>;
203
+ configuration: Record<string, unknown>;
204
+ profile?: string | undefined;
205
+ }>;
206
+ network: {
207
+ manager: {
208
+ aliases: string[];
209
+ binding: string;
210
+ sans: string[];
211
+ trustedLanCidrs: string[];
212
+ };
213
+ };
214
+ secrets: Record<string, {
215
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
216
+ reference: string;
217
+ }>;
218
+ }, {
219
+ schemaVersion: "treeseed.host/v1";
220
+ configurationId: string;
221
+ generation: number;
222
+ host: {
223
+ id: string;
224
+ role: string;
225
+ architecture: "amd64";
226
+ };
227
+ runtime: {
228
+ management: "managed" | "external";
229
+ };
230
+ updates: {
231
+ stable: {
232
+ metadataPollSeconds: number;
233
+ maintenanceWindow: {
234
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
235
+ localTime: string;
236
+ jitterMinutes: number;
237
+ };
238
+ };
239
+ development: {
240
+ pollSeconds: 60;
241
+ };
242
+ defaultTrack: "stable" | "development";
243
+ };
244
+ components: Record<string, {
245
+ enabled: boolean;
246
+ track: "stable" | "development";
247
+ profile?: string | undefined;
248
+ aliases?: Record<string, string> | undefined;
249
+ configuration?: Record<string, unknown> | undefined;
250
+ }>;
251
+ network: {
252
+ manager: {
253
+ aliases: string[];
254
+ binding: string;
255
+ sans: string[];
256
+ trustedLanCidrs: string[];
257
+ };
258
+ };
259
+ secrets: Record<string, {
260
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
261
+ reference: string;
262
+ }>;
263
+ }>;
264
+ export declare const packageEndpointSchema: z.ZodEffects<z.ZodObject<{
265
+ id: z.ZodString;
266
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
267
+ port: z.ZodNumber;
268
+ visibility: z.ZodEnum<["private", "host"]>;
269
+ defaultAlias: z.ZodOptional<z.ZodString>;
270
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
271
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
272
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
273
+ healthGate: z.ZodOptional<z.ZodObject<{
274
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
275
+ path: z.ZodOptional<z.ZodString>;
276
+ timeoutSeconds: z.ZodNumber;
277
+ }, "strict", z.ZodTypeAny, {
278
+ protocol: "http" | "https" | "tcp";
279
+ timeoutSeconds: number;
280
+ path?: string | undefined;
281
+ }, {
282
+ protocol: "http" | "https" | "tcp";
283
+ timeoutSeconds: number;
284
+ path?: string | undefined;
285
+ }>>;
286
+ }, "strict", z.ZodTypeAny, {
287
+ id: string;
288
+ protocol: "http" | "https" | "tcp";
289
+ port: number;
290
+ visibility: "host" | "private";
291
+ aliasOverride: boolean;
292
+ tls: "passthrough" | "edge" | "none";
293
+ authentication: "none" | "application" | "mtls";
294
+ defaultAlias?: string | undefined;
295
+ healthGate?: {
296
+ protocol: "http" | "https" | "tcp";
297
+ timeoutSeconds: number;
298
+ path?: string | undefined;
299
+ } | undefined;
300
+ }, {
301
+ id: string;
302
+ protocol: "http" | "https" | "tcp";
303
+ port: number;
304
+ visibility: "host" | "private";
305
+ tls: "passthrough" | "edge" | "none";
306
+ authentication: "none" | "application" | "mtls";
307
+ defaultAlias?: string | undefined;
308
+ aliasOverride?: boolean | undefined;
309
+ healthGate?: {
310
+ protocol: "http" | "https" | "tcp";
311
+ timeoutSeconds: number;
312
+ path?: string | undefined;
313
+ } | undefined;
314
+ }>, {
315
+ id: string;
316
+ protocol: "http" | "https" | "tcp";
317
+ port: number;
318
+ visibility: "host" | "private";
319
+ aliasOverride: boolean;
320
+ tls: "passthrough" | "edge" | "none";
321
+ authentication: "none" | "application" | "mtls";
322
+ defaultAlias?: string | undefined;
323
+ healthGate?: {
324
+ protocol: "http" | "https" | "tcp";
325
+ timeoutSeconds: number;
326
+ path?: string | undefined;
327
+ } | undefined;
328
+ }, {
329
+ id: string;
330
+ protocol: "http" | "https" | "tcp";
331
+ port: number;
332
+ visibility: "host" | "private";
333
+ tls: "passthrough" | "edge" | "none";
334
+ authentication: "none" | "application" | "mtls";
335
+ defaultAlias?: string | undefined;
336
+ aliasOverride?: boolean | undefined;
337
+ healthGate?: {
338
+ protocol: "http" | "https" | "tcp";
339
+ timeoutSeconds: number;
340
+ path?: string | undefined;
341
+ } | undefined;
342
+ }>;
343
+ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
344
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
345
+ componentId: z.ZodString;
346
+ version: z.ZodString;
347
+ compose: z.ZodObject<{
348
+ projectName: z.ZodString;
349
+ files: z.ZodArray<z.ZodString, "many">;
350
+ }, "strict", z.ZodTypeAny, {
351
+ projectName: string;
352
+ files: string[];
353
+ }, {
354
+ projectName: string;
355
+ files: string[];
356
+ }>;
357
+ services: z.ZodArray<z.ZodObject<{
358
+ id: z.ZodString;
359
+ composeService: z.ZodString;
360
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
361
+ id: z.ZodString;
362
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
363
+ port: z.ZodNumber;
364
+ visibility: z.ZodEnum<["private", "host"]>;
365
+ defaultAlias: z.ZodOptional<z.ZodString>;
366
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
367
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
368
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
369
+ healthGate: z.ZodOptional<z.ZodObject<{
370
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
371
+ path: z.ZodOptional<z.ZodString>;
372
+ timeoutSeconds: z.ZodNumber;
373
+ }, "strict", z.ZodTypeAny, {
374
+ protocol: "http" | "https" | "tcp";
375
+ timeoutSeconds: number;
376
+ path?: string | undefined;
377
+ }, {
378
+ protocol: "http" | "https" | "tcp";
379
+ timeoutSeconds: number;
380
+ path?: string | undefined;
381
+ }>>;
382
+ }, "strict", z.ZodTypeAny, {
383
+ id: string;
384
+ protocol: "http" | "https" | "tcp";
385
+ port: number;
386
+ visibility: "host" | "private";
387
+ aliasOverride: boolean;
388
+ tls: "passthrough" | "edge" | "none";
389
+ authentication: "none" | "application" | "mtls";
390
+ defaultAlias?: string | undefined;
391
+ healthGate?: {
392
+ protocol: "http" | "https" | "tcp";
393
+ timeoutSeconds: number;
394
+ path?: string | undefined;
395
+ } | undefined;
396
+ }, {
397
+ id: string;
398
+ protocol: "http" | "https" | "tcp";
399
+ port: number;
400
+ visibility: "host" | "private";
401
+ tls: "passthrough" | "edge" | "none";
402
+ authentication: "none" | "application" | "mtls";
403
+ defaultAlias?: string | undefined;
404
+ aliasOverride?: boolean | undefined;
405
+ healthGate?: {
406
+ protocol: "http" | "https" | "tcp";
407
+ timeoutSeconds: number;
408
+ path?: string | undefined;
409
+ } | undefined;
410
+ }>, {
411
+ id: string;
412
+ protocol: "http" | "https" | "tcp";
413
+ port: number;
414
+ visibility: "host" | "private";
415
+ aliasOverride: boolean;
416
+ tls: "passthrough" | "edge" | "none";
417
+ authentication: "none" | "application" | "mtls";
418
+ defaultAlias?: string | undefined;
419
+ healthGate?: {
420
+ protocol: "http" | "https" | "tcp";
421
+ timeoutSeconds: number;
422
+ path?: string | undefined;
423
+ } | undefined;
424
+ }, {
425
+ id: string;
426
+ protocol: "http" | "https" | "tcp";
427
+ port: number;
428
+ visibility: "host" | "private";
429
+ tls: "passthrough" | "edge" | "none";
430
+ authentication: "none" | "application" | "mtls";
431
+ defaultAlias?: string | undefined;
432
+ aliasOverride?: boolean | undefined;
433
+ healthGate?: {
434
+ protocol: "http" | "https" | "tcp";
435
+ timeoutSeconds: number;
436
+ path?: string | undefined;
437
+ } | undefined;
438
+ }>, "many">;
439
+ }, "strict", z.ZodTypeAny, {
440
+ id: string;
441
+ composeService: string;
442
+ endpoints: {
443
+ id: string;
444
+ protocol: "http" | "https" | "tcp";
445
+ port: number;
446
+ visibility: "host" | "private";
447
+ aliasOverride: boolean;
448
+ tls: "passthrough" | "edge" | "none";
449
+ authentication: "none" | "application" | "mtls";
450
+ defaultAlias?: string | undefined;
451
+ healthGate?: {
452
+ protocol: "http" | "https" | "tcp";
453
+ timeoutSeconds: number;
454
+ path?: string | undefined;
455
+ } | undefined;
456
+ }[];
457
+ }, {
458
+ id: string;
459
+ composeService: string;
460
+ endpoints: {
461
+ id: string;
462
+ protocol: "http" | "https" | "tcp";
463
+ port: number;
464
+ visibility: "host" | "private";
465
+ tls: "passthrough" | "edge" | "none";
466
+ authentication: "none" | "application" | "mtls";
467
+ defaultAlias?: string | undefined;
468
+ aliasOverride?: boolean | undefined;
469
+ healthGate?: {
470
+ protocol: "http" | "https" | "tcp";
471
+ timeoutSeconds: number;
472
+ path?: string | undefined;
473
+ } | undefined;
474
+ }[];
475
+ }>, "many">;
476
+ stateVolumes: z.ZodArray<z.ZodObject<{
477
+ id: z.ZodString;
478
+ volume: z.ZodString;
479
+ backup: z.ZodEnum<["required", "optional", "none"]>;
480
+ }, "strict", z.ZodTypeAny, {
481
+ id: string;
482
+ volume: string;
483
+ backup: "required" | "none" | "optional";
484
+ }, {
485
+ id: string;
486
+ volume: string;
487
+ backup: "required" | "none" | "optional";
488
+ }>, "many">;
489
+ migrations: z.ZodArray<z.ZodObject<{
490
+ id: z.ZodString;
491
+ order: z.ZodNumber;
492
+ backupRequired: z.ZodBoolean;
493
+ }, "strict", z.ZodTypeAny, {
494
+ id: string;
495
+ order: number;
496
+ backupRequired: boolean;
497
+ }, {
498
+ id: string;
499
+ order: number;
500
+ backupRequired: boolean;
501
+ }>, "many">;
502
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
503
+ }, "strict", z.ZodTypeAny, {
504
+ schemaVersion: "treeseed.package-runtime/v1";
505
+ componentId: string;
506
+ version: string;
507
+ compose: {
508
+ projectName: string;
509
+ files: string[];
510
+ };
511
+ services: {
512
+ id: string;
513
+ composeService: string;
514
+ endpoints: {
515
+ id: string;
516
+ protocol: "http" | "https" | "tcp";
517
+ port: number;
518
+ visibility: "host" | "private";
519
+ aliasOverride: boolean;
520
+ tls: "passthrough" | "edge" | "none";
521
+ authentication: "none" | "application" | "mtls";
522
+ defaultAlias?: string | undefined;
523
+ healthGate?: {
524
+ protocol: "http" | "https" | "tcp";
525
+ timeoutSeconds: number;
526
+ path?: string | undefined;
527
+ } | undefined;
528
+ }[];
529
+ }[];
530
+ stateVolumes: {
531
+ id: string;
532
+ volume: string;
533
+ backup: "required" | "none" | "optional";
534
+ }[];
535
+ migrations: {
536
+ id: string;
537
+ order: number;
538
+ backupRequired: boolean;
539
+ }[];
540
+ requiredCapabilities: string[];
541
+ }, {
542
+ schemaVersion: "treeseed.package-runtime/v1";
543
+ componentId: string;
544
+ version: string;
545
+ compose: {
546
+ projectName: string;
547
+ files: string[];
548
+ };
549
+ services: {
550
+ id: string;
551
+ composeService: string;
552
+ endpoints: {
553
+ id: string;
554
+ protocol: "http" | "https" | "tcp";
555
+ port: number;
556
+ visibility: "host" | "private";
557
+ tls: "passthrough" | "edge" | "none";
558
+ authentication: "none" | "application" | "mtls";
559
+ defaultAlias?: string | undefined;
560
+ aliasOverride?: boolean | undefined;
561
+ healthGate?: {
562
+ protocol: "http" | "https" | "tcp";
563
+ timeoutSeconds: number;
564
+ path?: string | undefined;
565
+ } | undefined;
566
+ }[];
567
+ }[];
568
+ stateVolumes: {
569
+ id: string;
570
+ volume: string;
571
+ backup: "required" | "none" | "optional";
572
+ }[];
573
+ migrations: {
574
+ id: string;
575
+ order: number;
576
+ backupRequired: boolean;
577
+ }[];
578
+ requiredCapabilities: string[];
579
+ }>, {
580
+ schemaVersion: "treeseed.package-runtime/v1";
581
+ componentId: string;
582
+ version: string;
583
+ compose: {
584
+ projectName: string;
585
+ files: string[];
586
+ };
587
+ services: {
588
+ id: string;
589
+ composeService: string;
590
+ endpoints: {
591
+ id: string;
592
+ protocol: "http" | "https" | "tcp";
593
+ port: number;
594
+ visibility: "host" | "private";
595
+ aliasOverride: boolean;
596
+ tls: "passthrough" | "edge" | "none";
597
+ authentication: "none" | "application" | "mtls";
598
+ defaultAlias?: string | undefined;
599
+ healthGate?: {
600
+ protocol: "http" | "https" | "tcp";
601
+ timeoutSeconds: number;
602
+ path?: string | undefined;
603
+ } | undefined;
604
+ }[];
605
+ }[];
606
+ stateVolumes: {
607
+ id: string;
608
+ volume: string;
609
+ backup: "required" | "none" | "optional";
610
+ }[];
611
+ migrations: {
612
+ id: string;
613
+ order: number;
614
+ backupRequired: boolean;
615
+ }[];
616
+ requiredCapabilities: string[];
617
+ }, {
618
+ schemaVersion: "treeseed.package-runtime/v1";
619
+ componentId: string;
620
+ version: string;
621
+ compose: {
622
+ projectName: string;
623
+ files: string[];
624
+ };
625
+ services: {
626
+ id: string;
627
+ composeService: string;
628
+ endpoints: {
629
+ id: string;
630
+ protocol: "http" | "https" | "tcp";
631
+ port: number;
632
+ visibility: "host" | "private";
633
+ tls: "passthrough" | "edge" | "none";
634
+ authentication: "none" | "application" | "mtls";
635
+ defaultAlias?: string | undefined;
636
+ aliasOverride?: boolean | undefined;
637
+ healthGate?: {
638
+ protocol: "http" | "https" | "tcp";
639
+ timeoutSeconds: number;
640
+ path?: string | undefined;
641
+ } | undefined;
642
+ }[];
643
+ }[];
644
+ stateVolumes: {
645
+ id: string;
646
+ volume: string;
647
+ backup: "required" | "none" | "optional";
648
+ }[];
649
+ migrations: {
650
+ id: string;
651
+ order: number;
652
+ backupRequired: boolean;
653
+ }[];
654
+ requiredCapabilities: string[];
655
+ }>;
656
+ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
657
+ schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
658
+ componentId: z.ZodString;
659
+ release: z.ZodString;
660
+ track: z.ZodEnum<["stable", "development"]>;
661
+ source: z.ZodObject<{
662
+ repository: z.ZodString;
663
+ commit: z.ZodString;
664
+ }, "strict", z.ZodTypeAny, {
665
+ repository: string;
666
+ commit: string;
667
+ }, {
668
+ repository: string;
669
+ commit: string;
670
+ }>;
671
+ stableBase: z.ZodNullable<z.ZodObject<{
672
+ releaseRange: z.ZodString;
673
+ compatibilityId: z.ZodString;
674
+ catalogDigest: z.ZodNullable<z.ZodString>;
675
+ }, "strict", z.ZodTypeAny, {
676
+ releaseRange: string;
677
+ compatibilityId: string;
678
+ catalogDigest: string | null;
679
+ }, {
680
+ releaseRange: string;
681
+ compatibilityId: string;
682
+ catalogDigest: string | null;
683
+ }>>;
684
+ packages: z.ZodArray<z.ZodObject<{
685
+ name: z.ZodString;
686
+ version: z.ZodString;
687
+ architecture: z.ZodEnum<["amd64", "all"]>;
688
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
689
+ order: z.ZodNumber;
690
+ }, "strict", z.ZodTypeAny, {
691
+ architecture: "amd64" | "all";
692
+ version: string;
693
+ order: number;
694
+ name: string;
695
+ origin: "TreeSeed Deployment";
696
+ }, {
697
+ architecture: "amd64" | "all";
698
+ version: string;
699
+ order: number;
700
+ name: string;
701
+ origin: "TreeSeed Deployment";
702
+ }>, "many">;
703
+ images: z.ZodArray<z.ZodObject<{
704
+ role: z.ZodString;
705
+ repository: z.ZodString;
706
+ digest: z.ZodString;
707
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
708
+ consumers: z.ZodArray<z.ZodString, "many">;
709
+ }, "strict", z.ZodTypeAny, {
710
+ role: string;
711
+ repository: string;
712
+ digest: string;
713
+ platforms: ("linux/amd64" | "linux/arm64")[];
714
+ consumers: string[];
715
+ }, {
716
+ role: string;
717
+ repository: string;
718
+ digest: string;
719
+ platforms: ("linux/amd64" | "linux/arm64")[];
720
+ consumers: string[];
721
+ }>, "many">;
722
+ runtime: z.ZodEffects<z.ZodObject<{
723
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
724
+ componentId: z.ZodString;
725
+ version: z.ZodString;
726
+ compose: z.ZodObject<{
727
+ projectName: z.ZodString;
728
+ files: z.ZodArray<z.ZodString, "many">;
729
+ }, "strict", z.ZodTypeAny, {
730
+ projectName: string;
731
+ files: string[];
732
+ }, {
733
+ projectName: string;
734
+ files: string[];
735
+ }>;
736
+ services: z.ZodArray<z.ZodObject<{
737
+ id: z.ZodString;
738
+ composeService: z.ZodString;
739
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
740
+ id: z.ZodString;
741
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
742
+ port: z.ZodNumber;
743
+ visibility: z.ZodEnum<["private", "host"]>;
744
+ defaultAlias: z.ZodOptional<z.ZodString>;
745
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
746
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
747
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
748
+ healthGate: z.ZodOptional<z.ZodObject<{
749
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
750
+ path: z.ZodOptional<z.ZodString>;
751
+ timeoutSeconds: z.ZodNumber;
752
+ }, "strict", z.ZodTypeAny, {
753
+ protocol: "http" | "https" | "tcp";
754
+ timeoutSeconds: number;
755
+ path?: string | undefined;
756
+ }, {
757
+ protocol: "http" | "https" | "tcp";
758
+ timeoutSeconds: number;
759
+ path?: string | undefined;
760
+ }>>;
761
+ }, "strict", z.ZodTypeAny, {
762
+ id: string;
763
+ protocol: "http" | "https" | "tcp";
764
+ port: number;
765
+ visibility: "host" | "private";
766
+ aliasOverride: boolean;
767
+ tls: "passthrough" | "edge" | "none";
768
+ authentication: "none" | "application" | "mtls";
769
+ defaultAlias?: string | undefined;
770
+ healthGate?: {
771
+ protocol: "http" | "https" | "tcp";
772
+ timeoutSeconds: number;
773
+ path?: string | undefined;
774
+ } | undefined;
775
+ }, {
776
+ id: string;
777
+ protocol: "http" | "https" | "tcp";
778
+ port: number;
779
+ visibility: "host" | "private";
780
+ tls: "passthrough" | "edge" | "none";
781
+ authentication: "none" | "application" | "mtls";
782
+ defaultAlias?: string | undefined;
783
+ aliasOverride?: boolean | undefined;
784
+ healthGate?: {
785
+ protocol: "http" | "https" | "tcp";
786
+ timeoutSeconds: number;
787
+ path?: string | undefined;
788
+ } | undefined;
789
+ }>, {
790
+ id: string;
791
+ protocol: "http" | "https" | "tcp";
792
+ port: number;
793
+ visibility: "host" | "private";
794
+ aliasOverride: boolean;
795
+ tls: "passthrough" | "edge" | "none";
796
+ authentication: "none" | "application" | "mtls";
797
+ defaultAlias?: string | undefined;
798
+ healthGate?: {
799
+ protocol: "http" | "https" | "tcp";
800
+ timeoutSeconds: number;
801
+ path?: string | undefined;
802
+ } | undefined;
803
+ }, {
804
+ id: string;
805
+ protocol: "http" | "https" | "tcp";
806
+ port: number;
807
+ visibility: "host" | "private";
808
+ tls: "passthrough" | "edge" | "none";
809
+ authentication: "none" | "application" | "mtls";
810
+ defaultAlias?: string | undefined;
811
+ aliasOverride?: boolean | undefined;
812
+ healthGate?: {
813
+ protocol: "http" | "https" | "tcp";
814
+ timeoutSeconds: number;
815
+ path?: string | undefined;
816
+ } | undefined;
817
+ }>, "many">;
818
+ }, "strict", z.ZodTypeAny, {
819
+ id: string;
820
+ composeService: string;
821
+ endpoints: {
822
+ id: string;
823
+ protocol: "http" | "https" | "tcp";
824
+ port: number;
825
+ visibility: "host" | "private";
826
+ aliasOverride: boolean;
827
+ tls: "passthrough" | "edge" | "none";
828
+ authentication: "none" | "application" | "mtls";
829
+ defaultAlias?: string | undefined;
830
+ healthGate?: {
831
+ protocol: "http" | "https" | "tcp";
832
+ timeoutSeconds: number;
833
+ path?: string | undefined;
834
+ } | undefined;
835
+ }[];
836
+ }, {
837
+ id: string;
838
+ composeService: string;
839
+ endpoints: {
840
+ id: string;
841
+ protocol: "http" | "https" | "tcp";
842
+ port: number;
843
+ visibility: "host" | "private";
844
+ tls: "passthrough" | "edge" | "none";
845
+ authentication: "none" | "application" | "mtls";
846
+ defaultAlias?: string | undefined;
847
+ aliasOverride?: boolean | undefined;
848
+ healthGate?: {
849
+ protocol: "http" | "https" | "tcp";
850
+ timeoutSeconds: number;
851
+ path?: string | undefined;
852
+ } | undefined;
853
+ }[];
854
+ }>, "many">;
855
+ stateVolumes: z.ZodArray<z.ZodObject<{
856
+ id: z.ZodString;
857
+ volume: z.ZodString;
858
+ backup: z.ZodEnum<["required", "optional", "none"]>;
859
+ }, "strict", z.ZodTypeAny, {
860
+ id: string;
861
+ volume: string;
862
+ backup: "required" | "none" | "optional";
863
+ }, {
864
+ id: string;
865
+ volume: string;
866
+ backup: "required" | "none" | "optional";
867
+ }>, "many">;
868
+ migrations: z.ZodArray<z.ZodObject<{
869
+ id: z.ZodString;
870
+ order: z.ZodNumber;
871
+ backupRequired: z.ZodBoolean;
872
+ }, "strict", z.ZodTypeAny, {
873
+ id: string;
874
+ order: number;
875
+ backupRequired: boolean;
876
+ }, {
877
+ id: string;
878
+ order: number;
879
+ backupRequired: boolean;
880
+ }>, "many">;
881
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
882
+ }, "strict", z.ZodTypeAny, {
883
+ schemaVersion: "treeseed.package-runtime/v1";
884
+ componentId: string;
885
+ version: string;
886
+ compose: {
887
+ projectName: string;
888
+ files: string[];
889
+ };
890
+ services: {
891
+ id: string;
892
+ composeService: string;
893
+ endpoints: {
894
+ id: string;
895
+ protocol: "http" | "https" | "tcp";
896
+ port: number;
897
+ visibility: "host" | "private";
898
+ aliasOverride: boolean;
899
+ tls: "passthrough" | "edge" | "none";
900
+ authentication: "none" | "application" | "mtls";
901
+ defaultAlias?: string | undefined;
902
+ healthGate?: {
903
+ protocol: "http" | "https" | "tcp";
904
+ timeoutSeconds: number;
905
+ path?: string | undefined;
906
+ } | undefined;
907
+ }[];
908
+ }[];
909
+ stateVolumes: {
910
+ id: string;
911
+ volume: string;
912
+ backup: "required" | "none" | "optional";
913
+ }[];
914
+ migrations: {
915
+ id: string;
916
+ order: number;
917
+ backupRequired: boolean;
918
+ }[];
919
+ requiredCapabilities: string[];
920
+ }, {
921
+ schemaVersion: "treeseed.package-runtime/v1";
922
+ componentId: string;
923
+ version: string;
924
+ compose: {
925
+ projectName: string;
926
+ files: string[];
927
+ };
928
+ services: {
929
+ id: string;
930
+ composeService: string;
931
+ endpoints: {
932
+ id: string;
933
+ protocol: "http" | "https" | "tcp";
934
+ port: number;
935
+ visibility: "host" | "private";
936
+ tls: "passthrough" | "edge" | "none";
937
+ authentication: "none" | "application" | "mtls";
938
+ defaultAlias?: string | undefined;
939
+ aliasOverride?: boolean | undefined;
940
+ healthGate?: {
941
+ protocol: "http" | "https" | "tcp";
942
+ timeoutSeconds: number;
943
+ path?: string | undefined;
944
+ } | undefined;
945
+ }[];
946
+ }[];
947
+ stateVolumes: {
948
+ id: string;
949
+ volume: string;
950
+ backup: "required" | "none" | "optional";
951
+ }[];
952
+ migrations: {
953
+ id: string;
954
+ order: number;
955
+ backupRequired: boolean;
956
+ }[];
957
+ requiredCapabilities: string[];
958
+ }>, {
959
+ schemaVersion: "treeseed.package-runtime/v1";
960
+ componentId: string;
961
+ version: string;
962
+ compose: {
963
+ projectName: string;
964
+ files: string[];
965
+ };
966
+ services: {
967
+ id: string;
968
+ composeService: string;
969
+ endpoints: {
970
+ id: string;
971
+ protocol: "http" | "https" | "tcp";
972
+ port: number;
973
+ visibility: "host" | "private";
974
+ aliasOverride: boolean;
975
+ tls: "passthrough" | "edge" | "none";
976
+ authentication: "none" | "application" | "mtls";
977
+ defaultAlias?: string | undefined;
978
+ healthGate?: {
979
+ protocol: "http" | "https" | "tcp";
980
+ timeoutSeconds: number;
981
+ path?: string | undefined;
982
+ } | undefined;
983
+ }[];
984
+ }[];
985
+ stateVolumes: {
986
+ id: string;
987
+ volume: string;
988
+ backup: "required" | "none" | "optional";
989
+ }[];
990
+ migrations: {
991
+ id: string;
992
+ order: number;
993
+ backupRequired: boolean;
994
+ }[];
995
+ requiredCapabilities: string[];
996
+ }, {
997
+ schemaVersion: "treeseed.package-runtime/v1";
998
+ componentId: string;
999
+ version: string;
1000
+ compose: {
1001
+ projectName: string;
1002
+ files: string[];
1003
+ };
1004
+ services: {
1005
+ id: string;
1006
+ composeService: string;
1007
+ endpoints: {
1008
+ id: string;
1009
+ protocol: "http" | "https" | "tcp";
1010
+ port: number;
1011
+ visibility: "host" | "private";
1012
+ tls: "passthrough" | "edge" | "none";
1013
+ authentication: "none" | "application" | "mtls";
1014
+ defaultAlias?: string | undefined;
1015
+ aliasOverride?: boolean | undefined;
1016
+ healthGate?: {
1017
+ protocol: "http" | "https" | "tcp";
1018
+ timeoutSeconds: number;
1019
+ path?: string | undefined;
1020
+ } | undefined;
1021
+ }[];
1022
+ }[];
1023
+ stateVolumes: {
1024
+ id: string;
1025
+ volume: string;
1026
+ backup: "required" | "none" | "optional";
1027
+ }[];
1028
+ migrations: {
1029
+ id: string;
1030
+ order: number;
1031
+ backupRequired: boolean;
1032
+ }[];
1033
+ requiredCapabilities: string[];
1034
+ }>;
1035
+ runtimeDigest: z.ZodString;
1036
+ rollback: z.ZodObject<{
1037
+ compatible: z.ZodBoolean;
1038
+ requiresBackup: z.ZodBoolean;
1039
+ }, "strict", z.ZodTypeAny, {
1040
+ compatible: boolean;
1041
+ requiresBackup: boolean;
1042
+ }, {
1043
+ compatible: boolean;
1044
+ requiresBackup: boolean;
1045
+ }>;
1046
+ evidence: z.ZodObject<{
1047
+ provenance: z.ZodArray<z.ZodString, "many">;
1048
+ sboms: z.ZodArray<z.ZodString, "many">;
1049
+ vulnerabilities: z.ZodArray<z.ZodString, "many">;
1050
+ }, "strict", z.ZodTypeAny, {
1051
+ provenance: string[];
1052
+ sboms: string[];
1053
+ vulnerabilities: string[];
1054
+ }, {
1055
+ provenance: string[];
1056
+ sboms: string[];
1057
+ vulnerabilities: string[];
1058
+ }>;
1059
+ }, "strict", z.ZodTypeAny, {
1060
+ track: "stable" | "development";
1061
+ schemaVersion: "treeseed.component-release/v1";
1062
+ runtime: {
1063
+ schemaVersion: "treeseed.package-runtime/v1";
1064
+ componentId: string;
1065
+ version: string;
1066
+ compose: {
1067
+ projectName: string;
1068
+ files: string[];
1069
+ };
1070
+ services: {
1071
+ id: string;
1072
+ composeService: string;
1073
+ endpoints: {
1074
+ id: string;
1075
+ protocol: "http" | "https" | "tcp";
1076
+ port: number;
1077
+ visibility: "host" | "private";
1078
+ aliasOverride: boolean;
1079
+ tls: "passthrough" | "edge" | "none";
1080
+ authentication: "none" | "application" | "mtls";
1081
+ defaultAlias?: string | undefined;
1082
+ healthGate?: {
1083
+ protocol: "http" | "https" | "tcp";
1084
+ timeoutSeconds: number;
1085
+ path?: string | undefined;
1086
+ } | undefined;
1087
+ }[];
1088
+ }[];
1089
+ stateVolumes: {
1090
+ id: string;
1091
+ volume: string;
1092
+ backup: "required" | "none" | "optional";
1093
+ }[];
1094
+ migrations: {
1095
+ id: string;
1096
+ order: number;
1097
+ backupRequired: boolean;
1098
+ }[];
1099
+ requiredCapabilities: string[];
1100
+ };
1101
+ componentId: string;
1102
+ release: string;
1103
+ source: {
1104
+ repository: string;
1105
+ commit: string;
1106
+ };
1107
+ stableBase: {
1108
+ releaseRange: string;
1109
+ compatibilityId: string;
1110
+ catalogDigest: string | null;
1111
+ } | null;
1112
+ packages: {
1113
+ architecture: "amd64" | "all";
1114
+ version: string;
1115
+ order: number;
1116
+ name: string;
1117
+ origin: "TreeSeed Deployment";
1118
+ }[];
1119
+ images: {
1120
+ role: string;
1121
+ repository: string;
1122
+ digest: string;
1123
+ platforms: ("linux/amd64" | "linux/arm64")[];
1124
+ consumers: string[];
1125
+ }[];
1126
+ runtimeDigest: string;
1127
+ rollback: {
1128
+ compatible: boolean;
1129
+ requiresBackup: boolean;
1130
+ };
1131
+ evidence: {
1132
+ provenance: string[];
1133
+ sboms: string[];
1134
+ vulnerabilities: string[];
1135
+ };
1136
+ }, {
1137
+ track: "stable" | "development";
1138
+ schemaVersion: "treeseed.component-release/v1";
1139
+ runtime: {
1140
+ schemaVersion: "treeseed.package-runtime/v1";
1141
+ componentId: string;
1142
+ version: string;
1143
+ compose: {
1144
+ projectName: string;
1145
+ files: string[];
1146
+ };
1147
+ services: {
1148
+ id: string;
1149
+ composeService: string;
1150
+ endpoints: {
1151
+ id: string;
1152
+ protocol: "http" | "https" | "tcp";
1153
+ port: number;
1154
+ visibility: "host" | "private";
1155
+ tls: "passthrough" | "edge" | "none";
1156
+ authentication: "none" | "application" | "mtls";
1157
+ defaultAlias?: string | undefined;
1158
+ aliasOverride?: boolean | undefined;
1159
+ healthGate?: {
1160
+ protocol: "http" | "https" | "tcp";
1161
+ timeoutSeconds: number;
1162
+ path?: string | undefined;
1163
+ } | undefined;
1164
+ }[];
1165
+ }[];
1166
+ stateVolumes: {
1167
+ id: string;
1168
+ volume: string;
1169
+ backup: "required" | "none" | "optional";
1170
+ }[];
1171
+ migrations: {
1172
+ id: string;
1173
+ order: number;
1174
+ backupRequired: boolean;
1175
+ }[];
1176
+ requiredCapabilities: string[];
1177
+ };
1178
+ componentId: string;
1179
+ release: string;
1180
+ source: {
1181
+ repository: string;
1182
+ commit: string;
1183
+ };
1184
+ stableBase: {
1185
+ releaseRange: string;
1186
+ compatibilityId: string;
1187
+ catalogDigest: string | null;
1188
+ } | null;
1189
+ packages: {
1190
+ architecture: "amd64" | "all";
1191
+ version: string;
1192
+ order: number;
1193
+ name: string;
1194
+ origin: "TreeSeed Deployment";
1195
+ }[];
1196
+ images: {
1197
+ role: string;
1198
+ repository: string;
1199
+ digest: string;
1200
+ platforms: ("linux/amd64" | "linux/arm64")[];
1201
+ consumers: string[];
1202
+ }[];
1203
+ runtimeDigest: string;
1204
+ rollback: {
1205
+ compatible: boolean;
1206
+ requiresBackup: boolean;
1207
+ };
1208
+ evidence: {
1209
+ provenance: string[];
1210
+ sboms: string[];
1211
+ vulnerabilities: string[];
1212
+ };
1213
+ }>, {
1214
+ track: "stable" | "development";
1215
+ schemaVersion: "treeseed.component-release/v1";
1216
+ runtime: {
1217
+ schemaVersion: "treeseed.package-runtime/v1";
1218
+ componentId: string;
1219
+ version: string;
1220
+ compose: {
1221
+ projectName: string;
1222
+ files: string[];
1223
+ };
1224
+ services: {
1225
+ id: string;
1226
+ composeService: string;
1227
+ endpoints: {
1228
+ id: string;
1229
+ protocol: "http" | "https" | "tcp";
1230
+ port: number;
1231
+ visibility: "host" | "private";
1232
+ aliasOverride: boolean;
1233
+ tls: "passthrough" | "edge" | "none";
1234
+ authentication: "none" | "application" | "mtls";
1235
+ defaultAlias?: string | undefined;
1236
+ healthGate?: {
1237
+ protocol: "http" | "https" | "tcp";
1238
+ timeoutSeconds: number;
1239
+ path?: string | undefined;
1240
+ } | undefined;
1241
+ }[];
1242
+ }[];
1243
+ stateVolumes: {
1244
+ id: string;
1245
+ volume: string;
1246
+ backup: "required" | "none" | "optional";
1247
+ }[];
1248
+ migrations: {
1249
+ id: string;
1250
+ order: number;
1251
+ backupRequired: boolean;
1252
+ }[];
1253
+ requiredCapabilities: string[];
1254
+ };
1255
+ componentId: string;
1256
+ release: string;
1257
+ source: {
1258
+ repository: string;
1259
+ commit: string;
1260
+ };
1261
+ stableBase: {
1262
+ releaseRange: string;
1263
+ compatibilityId: string;
1264
+ catalogDigest: string | null;
1265
+ } | null;
1266
+ packages: {
1267
+ architecture: "amd64" | "all";
1268
+ version: string;
1269
+ order: number;
1270
+ name: string;
1271
+ origin: "TreeSeed Deployment";
1272
+ }[];
1273
+ images: {
1274
+ role: string;
1275
+ repository: string;
1276
+ digest: string;
1277
+ platforms: ("linux/amd64" | "linux/arm64")[];
1278
+ consumers: string[];
1279
+ }[];
1280
+ runtimeDigest: string;
1281
+ rollback: {
1282
+ compatible: boolean;
1283
+ requiresBackup: boolean;
1284
+ };
1285
+ evidence: {
1286
+ provenance: string[];
1287
+ sboms: string[];
1288
+ vulnerabilities: string[];
1289
+ };
1290
+ }, {
1291
+ track: "stable" | "development";
1292
+ schemaVersion: "treeseed.component-release/v1";
1293
+ runtime: {
1294
+ schemaVersion: "treeseed.package-runtime/v1";
1295
+ componentId: string;
1296
+ version: string;
1297
+ compose: {
1298
+ projectName: string;
1299
+ files: string[];
1300
+ };
1301
+ services: {
1302
+ id: string;
1303
+ composeService: string;
1304
+ endpoints: {
1305
+ id: string;
1306
+ protocol: "http" | "https" | "tcp";
1307
+ port: number;
1308
+ visibility: "host" | "private";
1309
+ tls: "passthrough" | "edge" | "none";
1310
+ authentication: "none" | "application" | "mtls";
1311
+ defaultAlias?: string | undefined;
1312
+ aliasOverride?: boolean | undefined;
1313
+ healthGate?: {
1314
+ protocol: "http" | "https" | "tcp";
1315
+ timeoutSeconds: number;
1316
+ path?: string | undefined;
1317
+ } | undefined;
1318
+ }[];
1319
+ }[];
1320
+ stateVolumes: {
1321
+ id: string;
1322
+ volume: string;
1323
+ backup: "required" | "none" | "optional";
1324
+ }[];
1325
+ migrations: {
1326
+ id: string;
1327
+ order: number;
1328
+ backupRequired: boolean;
1329
+ }[];
1330
+ requiredCapabilities: string[];
1331
+ };
1332
+ componentId: string;
1333
+ release: string;
1334
+ source: {
1335
+ repository: string;
1336
+ commit: string;
1337
+ };
1338
+ stableBase: {
1339
+ releaseRange: string;
1340
+ compatibilityId: string;
1341
+ catalogDigest: string | null;
1342
+ } | null;
1343
+ packages: {
1344
+ architecture: "amd64" | "all";
1345
+ version: string;
1346
+ order: number;
1347
+ name: string;
1348
+ origin: "TreeSeed Deployment";
1349
+ }[];
1350
+ images: {
1351
+ role: string;
1352
+ repository: string;
1353
+ digest: string;
1354
+ platforms: ("linux/amd64" | "linux/arm64")[];
1355
+ consumers: string[];
1356
+ }[];
1357
+ runtimeDigest: string;
1358
+ rollback: {
1359
+ compatible: boolean;
1360
+ requiresBackup: boolean;
1361
+ };
1362
+ evidence: {
1363
+ provenance: string[];
1364
+ sboms: string[];
1365
+ vulnerabilities: string[];
1366
+ };
1367
+ }>;
1368
+ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
1369
+ schemaVersion: z.ZodLiteral<"treeseed.release-catalog/v1">;
1370
+ release: z.ZodString;
1371
+ generation: z.ZodNumber;
1372
+ track: z.ZodEnum<["stable", "development"]>;
1373
+ compatibilityId: z.ZodString;
1374
+ catalogDigest: z.ZodString;
1375
+ stableBase: z.ZodNullable<z.ZodObject<{
1376
+ release: z.ZodString;
1377
+ catalogDigest: z.ZodString;
1378
+ }, "strict", z.ZodTypeAny, {
1379
+ release: string;
1380
+ catalogDigest: string;
1381
+ }, {
1382
+ release: string;
1383
+ catalogDigest: string;
1384
+ }>>;
1385
+ components: z.ZodArray<z.ZodEffects<z.ZodObject<{
1386
+ schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
1387
+ componentId: z.ZodString;
1388
+ release: z.ZodString;
1389
+ track: z.ZodEnum<["stable", "development"]>;
1390
+ source: z.ZodObject<{
1391
+ repository: z.ZodString;
1392
+ commit: z.ZodString;
1393
+ }, "strict", z.ZodTypeAny, {
1394
+ repository: string;
1395
+ commit: string;
1396
+ }, {
1397
+ repository: string;
1398
+ commit: string;
1399
+ }>;
1400
+ stableBase: z.ZodNullable<z.ZodObject<{
1401
+ releaseRange: z.ZodString;
1402
+ compatibilityId: z.ZodString;
1403
+ catalogDigest: z.ZodNullable<z.ZodString>;
1404
+ }, "strict", z.ZodTypeAny, {
1405
+ releaseRange: string;
1406
+ compatibilityId: string;
1407
+ catalogDigest: string | null;
1408
+ }, {
1409
+ releaseRange: string;
1410
+ compatibilityId: string;
1411
+ catalogDigest: string | null;
1412
+ }>>;
1413
+ packages: z.ZodArray<z.ZodObject<{
1414
+ name: z.ZodString;
1415
+ version: z.ZodString;
1416
+ architecture: z.ZodEnum<["amd64", "all"]>;
1417
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
1418
+ order: z.ZodNumber;
1419
+ }, "strict", z.ZodTypeAny, {
1420
+ architecture: "amd64" | "all";
1421
+ version: string;
1422
+ order: number;
1423
+ name: string;
1424
+ origin: "TreeSeed Deployment";
1425
+ }, {
1426
+ architecture: "amd64" | "all";
1427
+ version: string;
1428
+ order: number;
1429
+ name: string;
1430
+ origin: "TreeSeed Deployment";
1431
+ }>, "many">;
1432
+ images: z.ZodArray<z.ZodObject<{
1433
+ role: z.ZodString;
1434
+ repository: z.ZodString;
1435
+ digest: z.ZodString;
1436
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
1437
+ consumers: z.ZodArray<z.ZodString, "many">;
1438
+ }, "strict", z.ZodTypeAny, {
1439
+ role: string;
1440
+ repository: string;
1441
+ digest: string;
1442
+ platforms: ("linux/amd64" | "linux/arm64")[];
1443
+ consumers: string[];
1444
+ }, {
1445
+ role: string;
1446
+ repository: string;
1447
+ digest: string;
1448
+ platforms: ("linux/amd64" | "linux/arm64")[];
1449
+ consumers: string[];
1450
+ }>, "many">;
1451
+ runtime: z.ZodEffects<z.ZodObject<{
1452
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
1453
+ componentId: z.ZodString;
1454
+ version: z.ZodString;
1455
+ compose: z.ZodObject<{
1456
+ projectName: z.ZodString;
1457
+ files: z.ZodArray<z.ZodString, "many">;
1458
+ }, "strict", z.ZodTypeAny, {
1459
+ projectName: string;
1460
+ files: string[];
1461
+ }, {
1462
+ projectName: string;
1463
+ files: string[];
1464
+ }>;
1465
+ services: z.ZodArray<z.ZodObject<{
1466
+ id: z.ZodString;
1467
+ composeService: z.ZodString;
1468
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1469
+ id: z.ZodString;
1470
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
1471
+ port: z.ZodNumber;
1472
+ visibility: z.ZodEnum<["private", "host"]>;
1473
+ defaultAlias: z.ZodOptional<z.ZodString>;
1474
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
1475
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
1476
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
1477
+ healthGate: z.ZodOptional<z.ZodObject<{
1478
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
1479
+ path: z.ZodOptional<z.ZodString>;
1480
+ timeoutSeconds: z.ZodNumber;
1481
+ }, "strict", z.ZodTypeAny, {
1482
+ protocol: "http" | "https" | "tcp";
1483
+ timeoutSeconds: number;
1484
+ path?: string | undefined;
1485
+ }, {
1486
+ protocol: "http" | "https" | "tcp";
1487
+ timeoutSeconds: number;
1488
+ path?: string | undefined;
1489
+ }>>;
1490
+ }, "strict", z.ZodTypeAny, {
1491
+ id: string;
1492
+ protocol: "http" | "https" | "tcp";
1493
+ port: number;
1494
+ visibility: "host" | "private";
1495
+ aliasOverride: boolean;
1496
+ tls: "passthrough" | "edge" | "none";
1497
+ authentication: "none" | "application" | "mtls";
1498
+ defaultAlias?: string | undefined;
1499
+ healthGate?: {
1500
+ protocol: "http" | "https" | "tcp";
1501
+ timeoutSeconds: number;
1502
+ path?: string | undefined;
1503
+ } | undefined;
1504
+ }, {
1505
+ id: string;
1506
+ protocol: "http" | "https" | "tcp";
1507
+ port: number;
1508
+ visibility: "host" | "private";
1509
+ tls: "passthrough" | "edge" | "none";
1510
+ authentication: "none" | "application" | "mtls";
1511
+ defaultAlias?: string | undefined;
1512
+ aliasOverride?: boolean | undefined;
1513
+ healthGate?: {
1514
+ protocol: "http" | "https" | "tcp";
1515
+ timeoutSeconds: number;
1516
+ path?: string | undefined;
1517
+ } | undefined;
1518
+ }>, {
1519
+ id: string;
1520
+ protocol: "http" | "https" | "tcp";
1521
+ port: number;
1522
+ visibility: "host" | "private";
1523
+ aliasOverride: boolean;
1524
+ tls: "passthrough" | "edge" | "none";
1525
+ authentication: "none" | "application" | "mtls";
1526
+ defaultAlias?: string | undefined;
1527
+ healthGate?: {
1528
+ protocol: "http" | "https" | "tcp";
1529
+ timeoutSeconds: number;
1530
+ path?: string | undefined;
1531
+ } | undefined;
1532
+ }, {
1533
+ id: string;
1534
+ protocol: "http" | "https" | "tcp";
1535
+ port: number;
1536
+ visibility: "host" | "private";
1537
+ tls: "passthrough" | "edge" | "none";
1538
+ authentication: "none" | "application" | "mtls";
1539
+ defaultAlias?: string | undefined;
1540
+ aliasOverride?: boolean | undefined;
1541
+ healthGate?: {
1542
+ protocol: "http" | "https" | "tcp";
1543
+ timeoutSeconds: number;
1544
+ path?: string | undefined;
1545
+ } | undefined;
1546
+ }>, "many">;
1547
+ }, "strict", z.ZodTypeAny, {
1548
+ id: string;
1549
+ composeService: string;
1550
+ endpoints: {
1551
+ id: string;
1552
+ protocol: "http" | "https" | "tcp";
1553
+ port: number;
1554
+ visibility: "host" | "private";
1555
+ aliasOverride: boolean;
1556
+ tls: "passthrough" | "edge" | "none";
1557
+ authentication: "none" | "application" | "mtls";
1558
+ defaultAlias?: string | undefined;
1559
+ healthGate?: {
1560
+ protocol: "http" | "https" | "tcp";
1561
+ timeoutSeconds: number;
1562
+ path?: string | undefined;
1563
+ } | undefined;
1564
+ }[];
1565
+ }, {
1566
+ id: string;
1567
+ composeService: string;
1568
+ endpoints: {
1569
+ id: string;
1570
+ protocol: "http" | "https" | "tcp";
1571
+ port: number;
1572
+ visibility: "host" | "private";
1573
+ tls: "passthrough" | "edge" | "none";
1574
+ authentication: "none" | "application" | "mtls";
1575
+ defaultAlias?: string | undefined;
1576
+ aliasOverride?: boolean | undefined;
1577
+ healthGate?: {
1578
+ protocol: "http" | "https" | "tcp";
1579
+ timeoutSeconds: number;
1580
+ path?: string | undefined;
1581
+ } | undefined;
1582
+ }[];
1583
+ }>, "many">;
1584
+ stateVolumes: z.ZodArray<z.ZodObject<{
1585
+ id: z.ZodString;
1586
+ volume: z.ZodString;
1587
+ backup: z.ZodEnum<["required", "optional", "none"]>;
1588
+ }, "strict", z.ZodTypeAny, {
1589
+ id: string;
1590
+ volume: string;
1591
+ backup: "required" | "none" | "optional";
1592
+ }, {
1593
+ id: string;
1594
+ volume: string;
1595
+ backup: "required" | "none" | "optional";
1596
+ }>, "many">;
1597
+ migrations: z.ZodArray<z.ZodObject<{
1598
+ id: z.ZodString;
1599
+ order: z.ZodNumber;
1600
+ backupRequired: z.ZodBoolean;
1601
+ }, "strict", z.ZodTypeAny, {
1602
+ id: string;
1603
+ order: number;
1604
+ backupRequired: boolean;
1605
+ }, {
1606
+ id: string;
1607
+ order: number;
1608
+ backupRequired: boolean;
1609
+ }>, "many">;
1610
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
1611
+ }, "strict", z.ZodTypeAny, {
1612
+ schemaVersion: "treeseed.package-runtime/v1";
1613
+ componentId: string;
1614
+ version: string;
1615
+ compose: {
1616
+ projectName: string;
1617
+ files: string[];
1618
+ };
1619
+ services: {
1620
+ id: string;
1621
+ composeService: string;
1622
+ endpoints: {
1623
+ id: string;
1624
+ protocol: "http" | "https" | "tcp";
1625
+ port: number;
1626
+ visibility: "host" | "private";
1627
+ aliasOverride: boolean;
1628
+ tls: "passthrough" | "edge" | "none";
1629
+ authentication: "none" | "application" | "mtls";
1630
+ defaultAlias?: string | undefined;
1631
+ healthGate?: {
1632
+ protocol: "http" | "https" | "tcp";
1633
+ timeoutSeconds: number;
1634
+ path?: string | undefined;
1635
+ } | undefined;
1636
+ }[];
1637
+ }[];
1638
+ stateVolumes: {
1639
+ id: string;
1640
+ volume: string;
1641
+ backup: "required" | "none" | "optional";
1642
+ }[];
1643
+ migrations: {
1644
+ id: string;
1645
+ order: number;
1646
+ backupRequired: boolean;
1647
+ }[];
1648
+ requiredCapabilities: string[];
1649
+ }, {
1650
+ schemaVersion: "treeseed.package-runtime/v1";
1651
+ componentId: string;
1652
+ version: string;
1653
+ compose: {
1654
+ projectName: string;
1655
+ files: string[];
1656
+ };
1657
+ services: {
1658
+ id: string;
1659
+ composeService: string;
1660
+ endpoints: {
1661
+ id: string;
1662
+ protocol: "http" | "https" | "tcp";
1663
+ port: number;
1664
+ visibility: "host" | "private";
1665
+ tls: "passthrough" | "edge" | "none";
1666
+ authentication: "none" | "application" | "mtls";
1667
+ defaultAlias?: string | undefined;
1668
+ aliasOverride?: boolean | undefined;
1669
+ healthGate?: {
1670
+ protocol: "http" | "https" | "tcp";
1671
+ timeoutSeconds: number;
1672
+ path?: string | undefined;
1673
+ } | undefined;
1674
+ }[];
1675
+ }[];
1676
+ stateVolumes: {
1677
+ id: string;
1678
+ volume: string;
1679
+ backup: "required" | "none" | "optional";
1680
+ }[];
1681
+ migrations: {
1682
+ id: string;
1683
+ order: number;
1684
+ backupRequired: boolean;
1685
+ }[];
1686
+ requiredCapabilities: string[];
1687
+ }>, {
1688
+ schemaVersion: "treeseed.package-runtime/v1";
1689
+ componentId: string;
1690
+ version: string;
1691
+ compose: {
1692
+ projectName: string;
1693
+ files: string[];
1694
+ };
1695
+ services: {
1696
+ id: string;
1697
+ composeService: string;
1698
+ endpoints: {
1699
+ id: string;
1700
+ protocol: "http" | "https" | "tcp";
1701
+ port: number;
1702
+ visibility: "host" | "private";
1703
+ aliasOverride: boolean;
1704
+ tls: "passthrough" | "edge" | "none";
1705
+ authentication: "none" | "application" | "mtls";
1706
+ defaultAlias?: string | undefined;
1707
+ healthGate?: {
1708
+ protocol: "http" | "https" | "tcp";
1709
+ timeoutSeconds: number;
1710
+ path?: string | undefined;
1711
+ } | undefined;
1712
+ }[];
1713
+ }[];
1714
+ stateVolumes: {
1715
+ id: string;
1716
+ volume: string;
1717
+ backup: "required" | "none" | "optional";
1718
+ }[];
1719
+ migrations: {
1720
+ id: string;
1721
+ order: number;
1722
+ backupRequired: boolean;
1723
+ }[];
1724
+ requiredCapabilities: string[];
1725
+ }, {
1726
+ schemaVersion: "treeseed.package-runtime/v1";
1727
+ componentId: string;
1728
+ version: string;
1729
+ compose: {
1730
+ projectName: string;
1731
+ files: string[];
1732
+ };
1733
+ services: {
1734
+ id: string;
1735
+ composeService: string;
1736
+ endpoints: {
1737
+ id: string;
1738
+ protocol: "http" | "https" | "tcp";
1739
+ port: number;
1740
+ visibility: "host" | "private";
1741
+ tls: "passthrough" | "edge" | "none";
1742
+ authentication: "none" | "application" | "mtls";
1743
+ defaultAlias?: string | undefined;
1744
+ aliasOverride?: boolean | undefined;
1745
+ healthGate?: {
1746
+ protocol: "http" | "https" | "tcp";
1747
+ timeoutSeconds: number;
1748
+ path?: string | undefined;
1749
+ } | undefined;
1750
+ }[];
1751
+ }[];
1752
+ stateVolumes: {
1753
+ id: string;
1754
+ volume: string;
1755
+ backup: "required" | "none" | "optional";
1756
+ }[];
1757
+ migrations: {
1758
+ id: string;
1759
+ order: number;
1760
+ backupRequired: boolean;
1761
+ }[];
1762
+ requiredCapabilities: string[];
1763
+ }>;
1764
+ runtimeDigest: z.ZodString;
1765
+ rollback: z.ZodObject<{
1766
+ compatible: z.ZodBoolean;
1767
+ requiresBackup: z.ZodBoolean;
1768
+ }, "strict", z.ZodTypeAny, {
1769
+ compatible: boolean;
1770
+ requiresBackup: boolean;
1771
+ }, {
1772
+ compatible: boolean;
1773
+ requiresBackup: boolean;
1774
+ }>;
1775
+ evidence: z.ZodObject<{
1776
+ provenance: z.ZodArray<z.ZodString, "many">;
1777
+ sboms: z.ZodArray<z.ZodString, "many">;
1778
+ vulnerabilities: z.ZodArray<z.ZodString, "many">;
1779
+ }, "strict", z.ZodTypeAny, {
1780
+ provenance: string[];
1781
+ sboms: string[];
1782
+ vulnerabilities: string[];
1783
+ }, {
1784
+ provenance: string[];
1785
+ sboms: string[];
1786
+ vulnerabilities: string[];
1787
+ }>;
1788
+ }, "strict", z.ZodTypeAny, {
1789
+ track: "stable" | "development";
1790
+ schemaVersion: "treeseed.component-release/v1";
1791
+ runtime: {
1792
+ schemaVersion: "treeseed.package-runtime/v1";
1793
+ componentId: string;
1794
+ version: string;
1795
+ compose: {
1796
+ projectName: string;
1797
+ files: string[];
1798
+ };
1799
+ services: {
1800
+ id: string;
1801
+ composeService: string;
1802
+ endpoints: {
1803
+ id: string;
1804
+ protocol: "http" | "https" | "tcp";
1805
+ port: number;
1806
+ visibility: "host" | "private";
1807
+ aliasOverride: boolean;
1808
+ tls: "passthrough" | "edge" | "none";
1809
+ authentication: "none" | "application" | "mtls";
1810
+ defaultAlias?: string | undefined;
1811
+ healthGate?: {
1812
+ protocol: "http" | "https" | "tcp";
1813
+ timeoutSeconds: number;
1814
+ path?: string | undefined;
1815
+ } | undefined;
1816
+ }[];
1817
+ }[];
1818
+ stateVolumes: {
1819
+ id: string;
1820
+ volume: string;
1821
+ backup: "required" | "none" | "optional";
1822
+ }[];
1823
+ migrations: {
1824
+ id: string;
1825
+ order: number;
1826
+ backupRequired: boolean;
1827
+ }[];
1828
+ requiredCapabilities: string[];
1829
+ };
1830
+ componentId: string;
1831
+ release: string;
1832
+ source: {
1833
+ repository: string;
1834
+ commit: string;
1835
+ };
1836
+ stableBase: {
1837
+ releaseRange: string;
1838
+ compatibilityId: string;
1839
+ catalogDigest: string | null;
1840
+ } | null;
1841
+ packages: {
1842
+ architecture: "amd64" | "all";
1843
+ version: string;
1844
+ order: number;
1845
+ name: string;
1846
+ origin: "TreeSeed Deployment";
1847
+ }[];
1848
+ images: {
1849
+ role: string;
1850
+ repository: string;
1851
+ digest: string;
1852
+ platforms: ("linux/amd64" | "linux/arm64")[];
1853
+ consumers: string[];
1854
+ }[];
1855
+ runtimeDigest: string;
1856
+ rollback: {
1857
+ compatible: boolean;
1858
+ requiresBackup: boolean;
1859
+ };
1860
+ evidence: {
1861
+ provenance: string[];
1862
+ sboms: string[];
1863
+ vulnerabilities: string[];
1864
+ };
1865
+ }, {
1866
+ track: "stable" | "development";
1867
+ schemaVersion: "treeseed.component-release/v1";
1868
+ runtime: {
1869
+ schemaVersion: "treeseed.package-runtime/v1";
1870
+ componentId: string;
1871
+ version: string;
1872
+ compose: {
1873
+ projectName: string;
1874
+ files: string[];
1875
+ };
1876
+ services: {
1877
+ id: string;
1878
+ composeService: string;
1879
+ endpoints: {
1880
+ id: string;
1881
+ protocol: "http" | "https" | "tcp";
1882
+ port: number;
1883
+ visibility: "host" | "private";
1884
+ tls: "passthrough" | "edge" | "none";
1885
+ authentication: "none" | "application" | "mtls";
1886
+ defaultAlias?: string | undefined;
1887
+ aliasOverride?: boolean | undefined;
1888
+ healthGate?: {
1889
+ protocol: "http" | "https" | "tcp";
1890
+ timeoutSeconds: number;
1891
+ path?: string | undefined;
1892
+ } | undefined;
1893
+ }[];
1894
+ }[];
1895
+ stateVolumes: {
1896
+ id: string;
1897
+ volume: string;
1898
+ backup: "required" | "none" | "optional";
1899
+ }[];
1900
+ migrations: {
1901
+ id: string;
1902
+ order: number;
1903
+ backupRequired: boolean;
1904
+ }[];
1905
+ requiredCapabilities: string[];
1906
+ };
1907
+ componentId: string;
1908
+ release: string;
1909
+ source: {
1910
+ repository: string;
1911
+ commit: string;
1912
+ };
1913
+ stableBase: {
1914
+ releaseRange: string;
1915
+ compatibilityId: string;
1916
+ catalogDigest: string | null;
1917
+ } | null;
1918
+ packages: {
1919
+ architecture: "amd64" | "all";
1920
+ version: string;
1921
+ order: number;
1922
+ name: string;
1923
+ origin: "TreeSeed Deployment";
1924
+ }[];
1925
+ images: {
1926
+ role: string;
1927
+ repository: string;
1928
+ digest: string;
1929
+ platforms: ("linux/amd64" | "linux/arm64")[];
1930
+ consumers: string[];
1931
+ }[];
1932
+ runtimeDigest: string;
1933
+ rollback: {
1934
+ compatible: boolean;
1935
+ requiresBackup: boolean;
1936
+ };
1937
+ evidence: {
1938
+ provenance: string[];
1939
+ sboms: string[];
1940
+ vulnerabilities: string[];
1941
+ };
1942
+ }>, {
1943
+ track: "stable" | "development";
1944
+ schemaVersion: "treeseed.component-release/v1";
1945
+ runtime: {
1946
+ schemaVersion: "treeseed.package-runtime/v1";
1947
+ componentId: string;
1948
+ version: string;
1949
+ compose: {
1950
+ projectName: string;
1951
+ files: string[];
1952
+ };
1953
+ services: {
1954
+ id: string;
1955
+ composeService: string;
1956
+ endpoints: {
1957
+ id: string;
1958
+ protocol: "http" | "https" | "tcp";
1959
+ port: number;
1960
+ visibility: "host" | "private";
1961
+ aliasOverride: boolean;
1962
+ tls: "passthrough" | "edge" | "none";
1963
+ authentication: "none" | "application" | "mtls";
1964
+ defaultAlias?: string | undefined;
1965
+ healthGate?: {
1966
+ protocol: "http" | "https" | "tcp";
1967
+ timeoutSeconds: number;
1968
+ path?: string | undefined;
1969
+ } | undefined;
1970
+ }[];
1971
+ }[];
1972
+ stateVolumes: {
1973
+ id: string;
1974
+ volume: string;
1975
+ backup: "required" | "none" | "optional";
1976
+ }[];
1977
+ migrations: {
1978
+ id: string;
1979
+ order: number;
1980
+ backupRequired: boolean;
1981
+ }[];
1982
+ requiredCapabilities: string[];
1983
+ };
1984
+ componentId: string;
1985
+ release: string;
1986
+ source: {
1987
+ repository: string;
1988
+ commit: string;
1989
+ };
1990
+ stableBase: {
1991
+ releaseRange: string;
1992
+ compatibilityId: string;
1993
+ catalogDigest: string | null;
1994
+ } | null;
1995
+ packages: {
1996
+ architecture: "amd64" | "all";
1997
+ version: string;
1998
+ order: number;
1999
+ name: string;
2000
+ origin: "TreeSeed Deployment";
2001
+ }[];
2002
+ images: {
2003
+ role: string;
2004
+ repository: string;
2005
+ digest: string;
2006
+ platforms: ("linux/amd64" | "linux/arm64")[];
2007
+ consumers: string[];
2008
+ }[];
2009
+ runtimeDigest: string;
2010
+ rollback: {
2011
+ compatible: boolean;
2012
+ requiresBackup: boolean;
2013
+ };
2014
+ evidence: {
2015
+ provenance: string[];
2016
+ sboms: string[];
2017
+ vulnerabilities: string[];
2018
+ };
2019
+ }, {
2020
+ track: "stable" | "development";
2021
+ schemaVersion: "treeseed.component-release/v1";
2022
+ runtime: {
2023
+ schemaVersion: "treeseed.package-runtime/v1";
2024
+ componentId: string;
2025
+ version: string;
2026
+ compose: {
2027
+ projectName: string;
2028
+ files: string[];
2029
+ };
2030
+ services: {
2031
+ id: string;
2032
+ composeService: string;
2033
+ endpoints: {
2034
+ id: string;
2035
+ protocol: "http" | "https" | "tcp";
2036
+ port: number;
2037
+ visibility: "host" | "private";
2038
+ tls: "passthrough" | "edge" | "none";
2039
+ authentication: "none" | "application" | "mtls";
2040
+ defaultAlias?: string | undefined;
2041
+ aliasOverride?: boolean | undefined;
2042
+ healthGate?: {
2043
+ protocol: "http" | "https" | "tcp";
2044
+ timeoutSeconds: number;
2045
+ path?: string | undefined;
2046
+ } | undefined;
2047
+ }[];
2048
+ }[];
2049
+ stateVolumes: {
2050
+ id: string;
2051
+ volume: string;
2052
+ backup: "required" | "none" | "optional";
2053
+ }[];
2054
+ migrations: {
2055
+ id: string;
2056
+ order: number;
2057
+ backupRequired: boolean;
2058
+ }[];
2059
+ requiredCapabilities: string[];
2060
+ };
2061
+ componentId: string;
2062
+ release: string;
2063
+ source: {
2064
+ repository: string;
2065
+ commit: string;
2066
+ };
2067
+ stableBase: {
2068
+ releaseRange: string;
2069
+ compatibilityId: string;
2070
+ catalogDigest: string | null;
2071
+ } | null;
2072
+ packages: {
2073
+ architecture: "amd64" | "all";
2074
+ version: string;
2075
+ order: number;
2076
+ name: string;
2077
+ origin: "TreeSeed Deployment";
2078
+ }[];
2079
+ images: {
2080
+ role: string;
2081
+ repository: string;
2082
+ digest: string;
2083
+ platforms: ("linux/amd64" | "linux/arm64")[];
2084
+ consumers: string[];
2085
+ }[];
2086
+ runtimeDigest: string;
2087
+ rollback: {
2088
+ compatible: boolean;
2089
+ requiresBackup: boolean;
2090
+ };
2091
+ evidence: {
2092
+ provenance: string[];
2093
+ sboms: string[];
2094
+ vulnerabilities: string[];
2095
+ };
2096
+ }>, "many">;
2097
+ createdAt: z.ZodString;
2098
+ }, "strict", z.ZodTypeAny, {
2099
+ track: "stable" | "development";
2100
+ schemaVersion: "treeseed.release-catalog/v1";
2101
+ generation: number;
2102
+ components: {
2103
+ track: "stable" | "development";
2104
+ schemaVersion: "treeseed.component-release/v1";
2105
+ runtime: {
2106
+ schemaVersion: "treeseed.package-runtime/v1";
2107
+ componentId: string;
2108
+ version: string;
2109
+ compose: {
2110
+ projectName: string;
2111
+ files: string[];
2112
+ };
2113
+ services: {
2114
+ id: string;
2115
+ composeService: string;
2116
+ endpoints: {
2117
+ id: string;
2118
+ protocol: "http" | "https" | "tcp";
2119
+ port: number;
2120
+ visibility: "host" | "private";
2121
+ aliasOverride: boolean;
2122
+ tls: "passthrough" | "edge" | "none";
2123
+ authentication: "none" | "application" | "mtls";
2124
+ defaultAlias?: string | undefined;
2125
+ healthGate?: {
2126
+ protocol: "http" | "https" | "tcp";
2127
+ timeoutSeconds: number;
2128
+ path?: string | undefined;
2129
+ } | undefined;
2130
+ }[];
2131
+ }[];
2132
+ stateVolumes: {
2133
+ id: string;
2134
+ volume: string;
2135
+ backup: "required" | "none" | "optional";
2136
+ }[];
2137
+ migrations: {
2138
+ id: string;
2139
+ order: number;
2140
+ backupRequired: boolean;
2141
+ }[];
2142
+ requiredCapabilities: string[];
2143
+ };
2144
+ componentId: string;
2145
+ release: string;
2146
+ source: {
2147
+ repository: string;
2148
+ commit: string;
2149
+ };
2150
+ stableBase: {
2151
+ releaseRange: string;
2152
+ compatibilityId: string;
2153
+ catalogDigest: string | null;
2154
+ } | null;
2155
+ packages: {
2156
+ architecture: "amd64" | "all";
2157
+ version: string;
2158
+ order: number;
2159
+ name: string;
2160
+ origin: "TreeSeed Deployment";
2161
+ }[];
2162
+ images: {
2163
+ role: string;
2164
+ repository: string;
2165
+ digest: string;
2166
+ platforms: ("linux/amd64" | "linux/arm64")[];
2167
+ consumers: string[];
2168
+ }[];
2169
+ runtimeDigest: string;
2170
+ rollback: {
2171
+ compatible: boolean;
2172
+ requiresBackup: boolean;
2173
+ };
2174
+ evidence: {
2175
+ provenance: string[];
2176
+ sboms: string[];
2177
+ vulnerabilities: string[];
2178
+ };
2179
+ }[];
2180
+ release: string;
2181
+ compatibilityId: string;
2182
+ catalogDigest: string;
2183
+ stableBase: {
2184
+ release: string;
2185
+ catalogDigest: string;
2186
+ } | null;
2187
+ createdAt: string;
2188
+ }, {
2189
+ track: "stable" | "development";
2190
+ schemaVersion: "treeseed.release-catalog/v1";
2191
+ generation: number;
2192
+ components: {
2193
+ track: "stable" | "development";
2194
+ schemaVersion: "treeseed.component-release/v1";
2195
+ runtime: {
2196
+ schemaVersion: "treeseed.package-runtime/v1";
2197
+ componentId: string;
2198
+ version: string;
2199
+ compose: {
2200
+ projectName: string;
2201
+ files: string[];
2202
+ };
2203
+ services: {
2204
+ id: string;
2205
+ composeService: string;
2206
+ endpoints: {
2207
+ id: string;
2208
+ protocol: "http" | "https" | "tcp";
2209
+ port: number;
2210
+ visibility: "host" | "private";
2211
+ tls: "passthrough" | "edge" | "none";
2212
+ authentication: "none" | "application" | "mtls";
2213
+ defaultAlias?: string | undefined;
2214
+ aliasOverride?: boolean | undefined;
2215
+ healthGate?: {
2216
+ protocol: "http" | "https" | "tcp";
2217
+ timeoutSeconds: number;
2218
+ path?: string | undefined;
2219
+ } | undefined;
2220
+ }[];
2221
+ }[];
2222
+ stateVolumes: {
2223
+ id: string;
2224
+ volume: string;
2225
+ backup: "required" | "none" | "optional";
2226
+ }[];
2227
+ migrations: {
2228
+ id: string;
2229
+ order: number;
2230
+ backupRequired: boolean;
2231
+ }[];
2232
+ requiredCapabilities: string[];
2233
+ };
2234
+ componentId: string;
2235
+ release: string;
2236
+ source: {
2237
+ repository: string;
2238
+ commit: string;
2239
+ };
2240
+ stableBase: {
2241
+ releaseRange: string;
2242
+ compatibilityId: string;
2243
+ catalogDigest: string | null;
2244
+ } | null;
2245
+ packages: {
2246
+ architecture: "amd64" | "all";
2247
+ version: string;
2248
+ order: number;
2249
+ name: string;
2250
+ origin: "TreeSeed Deployment";
2251
+ }[];
2252
+ images: {
2253
+ role: string;
2254
+ repository: string;
2255
+ digest: string;
2256
+ platforms: ("linux/amd64" | "linux/arm64")[];
2257
+ consumers: string[];
2258
+ }[];
2259
+ runtimeDigest: string;
2260
+ rollback: {
2261
+ compatible: boolean;
2262
+ requiresBackup: boolean;
2263
+ };
2264
+ evidence: {
2265
+ provenance: string[];
2266
+ sboms: string[];
2267
+ vulnerabilities: string[];
2268
+ };
2269
+ }[];
2270
+ release: string;
2271
+ compatibilityId: string;
2272
+ catalogDigest: string;
2273
+ stableBase: {
2274
+ release: string;
2275
+ catalogDigest: string;
2276
+ } | null;
2277
+ createdAt: string;
2278
+ }>, {
2279
+ track: "stable" | "development";
2280
+ schemaVersion: "treeseed.release-catalog/v1";
2281
+ generation: number;
2282
+ components: {
2283
+ track: "stable" | "development";
2284
+ schemaVersion: "treeseed.component-release/v1";
2285
+ runtime: {
2286
+ schemaVersion: "treeseed.package-runtime/v1";
2287
+ componentId: string;
2288
+ version: string;
2289
+ compose: {
2290
+ projectName: string;
2291
+ files: string[];
2292
+ };
2293
+ services: {
2294
+ id: string;
2295
+ composeService: string;
2296
+ endpoints: {
2297
+ id: string;
2298
+ protocol: "http" | "https" | "tcp";
2299
+ port: number;
2300
+ visibility: "host" | "private";
2301
+ aliasOverride: boolean;
2302
+ tls: "passthrough" | "edge" | "none";
2303
+ authentication: "none" | "application" | "mtls";
2304
+ defaultAlias?: string | undefined;
2305
+ healthGate?: {
2306
+ protocol: "http" | "https" | "tcp";
2307
+ timeoutSeconds: number;
2308
+ path?: string | undefined;
2309
+ } | undefined;
2310
+ }[];
2311
+ }[];
2312
+ stateVolumes: {
2313
+ id: string;
2314
+ volume: string;
2315
+ backup: "required" | "none" | "optional";
2316
+ }[];
2317
+ migrations: {
2318
+ id: string;
2319
+ order: number;
2320
+ backupRequired: boolean;
2321
+ }[];
2322
+ requiredCapabilities: string[];
2323
+ };
2324
+ componentId: string;
2325
+ release: string;
2326
+ source: {
2327
+ repository: string;
2328
+ commit: string;
2329
+ };
2330
+ stableBase: {
2331
+ releaseRange: string;
2332
+ compatibilityId: string;
2333
+ catalogDigest: string | null;
2334
+ } | null;
2335
+ packages: {
2336
+ architecture: "amd64" | "all";
2337
+ version: string;
2338
+ order: number;
2339
+ name: string;
2340
+ origin: "TreeSeed Deployment";
2341
+ }[];
2342
+ images: {
2343
+ role: string;
2344
+ repository: string;
2345
+ digest: string;
2346
+ platforms: ("linux/amd64" | "linux/arm64")[];
2347
+ consumers: string[];
2348
+ }[];
2349
+ runtimeDigest: string;
2350
+ rollback: {
2351
+ compatible: boolean;
2352
+ requiresBackup: boolean;
2353
+ };
2354
+ evidence: {
2355
+ provenance: string[];
2356
+ sboms: string[];
2357
+ vulnerabilities: string[];
2358
+ };
2359
+ }[];
2360
+ release: string;
2361
+ compatibilityId: string;
2362
+ catalogDigest: string;
2363
+ stableBase: {
2364
+ release: string;
2365
+ catalogDigest: string;
2366
+ } | null;
2367
+ createdAt: string;
2368
+ }, {
2369
+ track: "stable" | "development";
2370
+ schemaVersion: "treeseed.release-catalog/v1";
2371
+ generation: number;
2372
+ components: {
2373
+ track: "stable" | "development";
2374
+ schemaVersion: "treeseed.component-release/v1";
2375
+ runtime: {
2376
+ schemaVersion: "treeseed.package-runtime/v1";
2377
+ componentId: string;
2378
+ version: string;
2379
+ compose: {
2380
+ projectName: string;
2381
+ files: string[];
2382
+ };
2383
+ services: {
2384
+ id: string;
2385
+ composeService: string;
2386
+ endpoints: {
2387
+ id: string;
2388
+ protocol: "http" | "https" | "tcp";
2389
+ port: number;
2390
+ visibility: "host" | "private";
2391
+ tls: "passthrough" | "edge" | "none";
2392
+ authentication: "none" | "application" | "mtls";
2393
+ defaultAlias?: string | undefined;
2394
+ aliasOverride?: boolean | undefined;
2395
+ healthGate?: {
2396
+ protocol: "http" | "https" | "tcp";
2397
+ timeoutSeconds: number;
2398
+ path?: string | undefined;
2399
+ } | undefined;
2400
+ }[];
2401
+ }[];
2402
+ stateVolumes: {
2403
+ id: string;
2404
+ volume: string;
2405
+ backup: "required" | "none" | "optional";
2406
+ }[];
2407
+ migrations: {
2408
+ id: string;
2409
+ order: number;
2410
+ backupRequired: boolean;
2411
+ }[];
2412
+ requiredCapabilities: string[];
2413
+ };
2414
+ componentId: string;
2415
+ release: string;
2416
+ source: {
2417
+ repository: string;
2418
+ commit: string;
2419
+ };
2420
+ stableBase: {
2421
+ releaseRange: string;
2422
+ compatibilityId: string;
2423
+ catalogDigest: string | null;
2424
+ } | null;
2425
+ packages: {
2426
+ architecture: "amd64" | "all";
2427
+ version: string;
2428
+ order: number;
2429
+ name: string;
2430
+ origin: "TreeSeed Deployment";
2431
+ }[];
2432
+ images: {
2433
+ role: string;
2434
+ repository: string;
2435
+ digest: string;
2436
+ platforms: ("linux/amd64" | "linux/arm64")[];
2437
+ consumers: string[];
2438
+ }[];
2439
+ runtimeDigest: string;
2440
+ rollback: {
2441
+ compatible: boolean;
2442
+ requiresBackup: boolean;
2443
+ };
2444
+ evidence: {
2445
+ provenance: string[];
2446
+ sboms: string[];
2447
+ vulnerabilities: string[];
2448
+ };
2449
+ }[];
2450
+ release: string;
2451
+ compatibilityId: string;
2452
+ catalogDigest: string;
2453
+ stableBase: {
2454
+ release: string;
2455
+ catalogDigest: string;
2456
+ } | null;
2457
+ createdAt: string;
2458
+ }>;
2459
+ export declare const hostPlanSchema: z.ZodObject<{
2460
+ schemaVersion: z.ZodLiteral<"treeseed.host-plan/v1">;
2461
+ planId: z.ZodString;
2462
+ configurationDigest: z.ZodString;
2463
+ catalogDigest: z.ZodString;
2464
+ changes: z.ZodArray<z.ZodObject<{
2465
+ componentId: z.ZodString;
2466
+ action: z.ZodEnum<["install", "upgrade", "reconfigure", "remove", "noop"]>;
2467
+ from: z.ZodNullable<z.ZodString>;
2468
+ to: z.ZodNullable<z.ZodString>;
2469
+ }, "strict", z.ZodTypeAny, {
2470
+ componentId: string;
2471
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2472
+ from: string | null;
2473
+ to: string | null;
2474
+ }, {
2475
+ componentId: string;
2476
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2477
+ from: string | null;
2478
+ to: string | null;
2479
+ }>, "many">;
2480
+ blockers: z.ZodArray<z.ZodObject<{
2481
+ code: z.ZodString;
2482
+ message: z.ZodString;
2483
+ }, "strict", z.ZodTypeAny, {
2484
+ code: string;
2485
+ message: string;
2486
+ }, {
2487
+ code: string;
2488
+ message: string;
2489
+ }>, "many">;
2490
+ }, "strict", z.ZodTypeAny, {
2491
+ schemaVersion: "treeseed.host-plan/v1";
2492
+ catalogDigest: string;
2493
+ planId: string;
2494
+ configurationDigest: string;
2495
+ changes: {
2496
+ componentId: string;
2497
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2498
+ from: string | null;
2499
+ to: string | null;
2500
+ }[];
2501
+ blockers: {
2502
+ code: string;
2503
+ message: string;
2504
+ }[];
2505
+ }, {
2506
+ schemaVersion: "treeseed.host-plan/v1";
2507
+ catalogDigest: string;
2508
+ planId: string;
2509
+ configurationDigest: string;
2510
+ changes: {
2511
+ componentId: string;
2512
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2513
+ from: string | null;
2514
+ to: string | null;
2515
+ }[];
2516
+ blockers: {
2517
+ code: string;
2518
+ message: string;
2519
+ }[];
2520
+ }>;
2521
+ export declare const hostBootstrapSchema: z.ZodObject<{
2522
+ schemaVersion: z.ZodLiteral<"treeseed.host-bootstrap/v1">;
2523
+ bootstrapId: z.ZodString;
2524
+ configurationDigest: z.ZodString;
2525
+ apt: z.ZodObject<{
2526
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2527
+ suite: z.ZodEnum<["stable", "development"]>;
2528
+ repository: z.ZodString;
2529
+ keyFingerprint: z.ZodString;
2530
+ }, "strict", z.ZodTypeAny, {
2531
+ origin: "TreeSeed Deployment";
2532
+ repository: string;
2533
+ suite: "stable" | "development";
2534
+ keyFingerprint: string;
2535
+ }, {
2536
+ origin: "TreeSeed Deployment";
2537
+ repository: string;
2538
+ suite: "stable" | "development";
2539
+ keyFingerprint: string;
2540
+ }>;
2541
+ packages: z.ZodArray<z.ZodObject<{
2542
+ name: z.ZodString;
2543
+ version: z.ZodString;
2544
+ architecture: z.ZodEnum<["amd64", "all"]>;
2545
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2546
+ order: z.ZodNumber;
2547
+ }, "strict", z.ZodTypeAny, {
2548
+ architecture: "amd64" | "all";
2549
+ version: string;
2550
+ order: number;
2551
+ name: string;
2552
+ origin: "TreeSeed Deployment";
2553
+ }, {
2554
+ architecture: "amd64" | "all";
2555
+ version: string;
2556
+ order: number;
2557
+ name: string;
2558
+ origin: "TreeSeed Deployment";
2559
+ }>, "many">;
2560
+ credentialPolicy: z.ZodObject<{
2561
+ noStoreResponse: z.ZodLiteral<true>;
2562
+ redactedLogging: z.ZodLiteral<true>;
2563
+ ephemeralGeneration: z.ZodLiteral<true>;
2564
+ deleteAfterInstall: z.ZodLiteral<true>;
2565
+ }, "strict", z.ZodTypeAny, {
2566
+ noStoreResponse: true;
2567
+ redactedLogging: true;
2568
+ ephemeralGeneration: true;
2569
+ deleteAfterInstall: true;
2570
+ }, {
2571
+ noStoreResponse: true;
2572
+ redactedLogging: true;
2573
+ ephemeralGeneration: true;
2574
+ deleteAfterInstall: true;
2575
+ }>;
2576
+ createdAt: z.ZodString;
2577
+ }, "strict", z.ZodTypeAny, {
2578
+ schemaVersion: "treeseed.host-bootstrap/v1";
2579
+ packages: {
2580
+ architecture: "amd64" | "all";
2581
+ version: string;
2582
+ order: number;
2583
+ name: string;
2584
+ origin: "TreeSeed Deployment";
2585
+ }[];
2586
+ createdAt: string;
2587
+ configurationDigest: string;
2588
+ bootstrapId: string;
2589
+ apt: {
2590
+ origin: "TreeSeed Deployment";
2591
+ repository: string;
2592
+ suite: "stable" | "development";
2593
+ keyFingerprint: string;
2594
+ };
2595
+ credentialPolicy: {
2596
+ noStoreResponse: true;
2597
+ redactedLogging: true;
2598
+ ephemeralGeneration: true;
2599
+ deleteAfterInstall: true;
2600
+ };
2601
+ }, {
2602
+ schemaVersion: "treeseed.host-bootstrap/v1";
2603
+ packages: {
2604
+ architecture: "amd64" | "all";
2605
+ version: string;
2606
+ order: number;
2607
+ name: string;
2608
+ origin: "TreeSeed Deployment";
2609
+ }[];
2610
+ createdAt: string;
2611
+ configurationDigest: string;
2612
+ bootstrapId: string;
2613
+ apt: {
2614
+ origin: "TreeSeed Deployment";
2615
+ repository: string;
2616
+ suite: "stable" | "development";
2617
+ keyFingerprint: string;
2618
+ };
2619
+ credentialPolicy: {
2620
+ noStoreResponse: true;
2621
+ redactedLogging: true;
2622
+ ephemeralGeneration: true;
2623
+ deleteAfterInstall: true;
2624
+ };
2625
+ }>;
2626
+ export declare const hostUpdateSchema: z.ZodObject<{
2627
+ schemaVersion: z.ZodLiteral<"treeseed.host-update/v1">;
2628
+ updateId: z.ZodString;
2629
+ track: z.ZodEnum<["stable", "development"]>;
2630
+ fromCatalogDigest: z.ZodString;
2631
+ toCatalogDigest: z.ZodString;
2632
+ components: z.ZodArray<z.ZodObject<{
2633
+ componentId: z.ZodString;
2634
+ from: z.ZodNullable<z.ZodString>;
2635
+ to: z.ZodString;
2636
+ imageDigests: z.ZodArray<z.ZodString, "many">;
2637
+ }, "strict", z.ZodTypeAny, {
2638
+ componentId: string;
2639
+ from: string | null;
2640
+ to: string;
2641
+ imageDigests: string[];
2642
+ }, {
2643
+ componentId: string;
2644
+ from: string | null;
2645
+ to: string;
2646
+ imageDigests: string[];
2647
+ }>, "many">;
2648
+ activation: z.ZodObject<{
2649
+ policy: z.ZodEnum<["maintenance-window", "continuous"]>;
2650
+ eligibleAt: z.ZodString;
2651
+ jitterSeconds: z.ZodNumber;
2652
+ }, "strict", z.ZodTypeAny, {
2653
+ policy: "maintenance-window" | "continuous";
2654
+ eligibleAt: string;
2655
+ jitterSeconds: number;
2656
+ }, {
2657
+ policy: "maintenance-window" | "continuous";
2658
+ eligibleAt: string;
2659
+ jitterSeconds: number;
2660
+ }>;
2661
+ state: z.ZodEnum<["planned", "draining", "applying", "healthy", "failed", "rolled-back"]>;
2662
+ }, "strict", z.ZodTypeAny, {
2663
+ track: "stable" | "development";
2664
+ schemaVersion: "treeseed.host-update/v1";
2665
+ components: {
2666
+ componentId: string;
2667
+ from: string | null;
2668
+ to: string;
2669
+ imageDigests: string[];
2670
+ }[];
2671
+ updateId: string;
2672
+ fromCatalogDigest: string;
2673
+ toCatalogDigest: string;
2674
+ activation: {
2675
+ policy: "maintenance-window" | "continuous";
2676
+ eligibleAt: string;
2677
+ jitterSeconds: number;
2678
+ };
2679
+ state: "planned" | "draining" | "applying" | "healthy" | "failed" | "rolled-back";
2680
+ }, {
2681
+ track: "stable" | "development";
2682
+ schemaVersion: "treeseed.host-update/v1";
2683
+ components: {
2684
+ componentId: string;
2685
+ from: string | null;
2686
+ to: string;
2687
+ imageDigests: string[];
2688
+ }[];
2689
+ updateId: string;
2690
+ fromCatalogDigest: string;
2691
+ toCatalogDigest: string;
2692
+ activation: {
2693
+ policy: "maintenance-window" | "continuous";
2694
+ eligibleAt: string;
2695
+ jitterSeconds: number;
2696
+ };
2697
+ state: "planned" | "draining" | "applying" | "healthy" | "failed" | "rolled-back";
2698
+ }>;
2699
+ export declare const hostReceiptSchema: z.ZodObject<{
2700
+ schemaVersion: z.ZodLiteral<"treeseed.host-receipt/v1">;
2701
+ receiptId: z.ZodString;
2702
+ planId: z.ZodString;
2703
+ state: z.ZodEnum<["known-good", "degraded", "rolled-back"]>;
2704
+ configurationDigest: z.ZodString;
2705
+ catalogDigest: z.ZodString;
2706
+ packages: z.ZodArray<z.ZodObject<{
2707
+ name: z.ZodString;
2708
+ version: z.ZodString;
2709
+ architecture: z.ZodEnum<["amd64", "all"]>;
2710
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2711
+ order: z.ZodNumber;
2712
+ }, "strict", z.ZodTypeAny, {
2713
+ architecture: "amd64" | "all";
2714
+ version: string;
2715
+ order: number;
2716
+ name: string;
2717
+ origin: "TreeSeed Deployment";
2718
+ }, {
2719
+ architecture: "amd64" | "all";
2720
+ version: string;
2721
+ order: number;
2722
+ name: string;
2723
+ origin: "TreeSeed Deployment";
2724
+ }>, "many">;
2725
+ images: z.ZodArray<z.ZodObject<{
2726
+ role: z.ZodString;
2727
+ repository: z.ZodString;
2728
+ digest: z.ZodString;
2729
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
2730
+ consumers: z.ZodArray<z.ZodString, "many">;
2731
+ }, "strict", z.ZodTypeAny, {
2732
+ role: string;
2733
+ repository: string;
2734
+ digest: string;
2735
+ platforms: ("linux/amd64" | "linux/arm64")[];
2736
+ consumers: string[];
2737
+ }, {
2738
+ role: string;
2739
+ repository: string;
2740
+ digest: string;
2741
+ platforms: ("linux/amd64" | "linux/arm64")[];
2742
+ consumers: string[];
2743
+ }>, "many">;
2744
+ completedAt: z.ZodString;
2745
+ }, "strict", z.ZodTypeAny, {
2746
+ schemaVersion: "treeseed.host-receipt/v1";
2747
+ catalogDigest: string;
2748
+ packages: {
2749
+ architecture: "amd64" | "all";
2750
+ version: string;
2751
+ order: number;
2752
+ name: string;
2753
+ origin: "TreeSeed Deployment";
2754
+ }[];
2755
+ images: {
2756
+ role: string;
2757
+ repository: string;
2758
+ digest: string;
2759
+ platforms: ("linux/amd64" | "linux/arm64")[];
2760
+ consumers: string[];
2761
+ }[];
2762
+ planId: string;
2763
+ configurationDigest: string;
2764
+ state: "rolled-back" | "known-good" | "degraded";
2765
+ receiptId: string;
2766
+ completedAt: string;
2767
+ }, {
2768
+ schemaVersion: "treeseed.host-receipt/v1";
2769
+ catalogDigest: string;
2770
+ packages: {
2771
+ architecture: "amd64" | "all";
2772
+ version: string;
2773
+ order: number;
2774
+ name: string;
2775
+ origin: "TreeSeed Deployment";
2776
+ }[];
2777
+ images: {
2778
+ role: string;
2779
+ repository: string;
2780
+ digest: string;
2781
+ platforms: ("linux/amd64" | "linux/arm64")[];
2782
+ consumers: string[];
2783
+ }[];
2784
+ planId: string;
2785
+ configurationDigest: string;
2786
+ state: "rolled-back" | "known-good" | "degraded";
2787
+ receiptId: string;
2788
+ completedAt: string;
2789
+ }>;
2790
+ export declare const hostBackupSchema: z.ZodObject<{
2791
+ schemaVersion: z.ZodLiteral<"treeseed.host-backup/v1">;
2792
+ backupId: z.ZodString;
2793
+ componentId: z.ZodString;
2794
+ generation: z.ZodNumber;
2795
+ state: z.ZodEnum<["pending", "complete", "failed", "verified"]>;
2796
+ artifacts: z.ZodArray<z.ZodObject<{
2797
+ volumeId: z.ZodString;
2798
+ location: z.ZodString;
2799
+ digest: z.ZodString;
2800
+ encrypted: z.ZodBoolean;
2801
+ }, "strict", z.ZodTypeAny, {
2802
+ digest: string;
2803
+ volumeId: string;
2804
+ location: string;
2805
+ encrypted: boolean;
2806
+ }, {
2807
+ digest: string;
2808
+ volumeId: string;
2809
+ location: string;
2810
+ encrypted: boolean;
2811
+ }>, "many">;
2812
+ createdAt: z.ZodString;
2813
+ verifiedAt: z.ZodNullable<z.ZodString>;
2814
+ }, "strict", z.ZodTypeAny, {
2815
+ schemaVersion: "treeseed.host-backup/v1";
2816
+ generation: number;
2817
+ componentId: string;
2818
+ createdAt: string;
2819
+ state: "failed" | "pending" | "complete" | "verified";
2820
+ backupId: string;
2821
+ artifacts: {
2822
+ digest: string;
2823
+ volumeId: string;
2824
+ location: string;
2825
+ encrypted: boolean;
2826
+ }[];
2827
+ verifiedAt: string | null;
2828
+ }, {
2829
+ schemaVersion: "treeseed.host-backup/v1";
2830
+ generation: number;
2831
+ componentId: string;
2832
+ createdAt: string;
2833
+ state: "failed" | "pending" | "complete" | "verified";
2834
+ backupId: string;
2835
+ artifacts: {
2836
+ digest: string;
2837
+ volumeId: string;
2838
+ location: string;
2839
+ encrypted: boolean;
2840
+ }[];
2841
+ verifiedAt: string | null;
2842
+ }>;
2843
+ export declare const hostMigrationSchema: z.ZodObject<{
2844
+ schemaVersion: z.ZodLiteral<"treeseed.host-migration/v1">;
2845
+ migrationId: z.ZodString;
2846
+ componentId: z.ZodString;
2847
+ operation: z.ZodString;
2848
+ fromGeneration: z.ZodNumber;
2849
+ toGeneration: z.ZodNumber;
2850
+ backupId: z.ZodNullable<z.ZodString>;
2851
+ state: z.ZodEnum<["pending", "quiesced", "copied", "verified", "activated", "failed", "rolled-back"]>;
2852
+ sourceWritersStopped: z.ZodBoolean;
2853
+ completedAt: z.ZodNullable<z.ZodString>;
2854
+ }, "strict", z.ZodTypeAny, {
2855
+ schemaVersion: "treeseed.host-migration/v1";
2856
+ componentId: string;
2857
+ state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
2858
+ completedAt: string | null;
2859
+ backupId: string | null;
2860
+ migrationId: string;
2861
+ operation: string;
2862
+ fromGeneration: number;
2863
+ toGeneration: number;
2864
+ sourceWritersStopped: boolean;
2865
+ }, {
2866
+ schemaVersion: "treeseed.host-migration/v1";
2867
+ componentId: string;
2868
+ state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
2869
+ completedAt: string | null;
2870
+ backupId: string | null;
2871
+ migrationId: string;
2872
+ operation: string;
2873
+ fromGeneration: number;
2874
+ toGeneration: number;
2875
+ sourceWritersStopped: boolean;
2876
+ }>;
2877
+ export declare const hostRecoverySchema: z.ZodObject<{
2878
+ schemaVersion: z.ZodLiteral<"treeseed.host-recovery/v1">;
2879
+ recoveryId: z.ZodString;
2880
+ receiptId: z.ZodString;
2881
+ componentId: z.ZodNullable<z.ZodString>;
2882
+ trigger: z.ZodEnum<["health-gate", "operator", "boot", "interrupted-update"]>;
2883
+ action: z.ZodEnum<["retry", "rollback", "restore"]>;
2884
+ targetGeneration: z.ZodNumber;
2885
+ state: z.ZodEnum<["pending", "running", "healthy", "failed"]>;
2886
+ backupId: z.ZodNullable<z.ZodString>;
2887
+ completedAt: z.ZodNullable<z.ZodString>;
2888
+ }, "strict", z.ZodTypeAny, {
2889
+ schemaVersion: "treeseed.host-recovery/v1";
2890
+ componentId: string | null;
2891
+ action: "rollback" | "retry" | "restore";
2892
+ state: "healthy" | "failed" | "pending" | "running";
2893
+ receiptId: string;
2894
+ completedAt: string | null;
2895
+ backupId: string | null;
2896
+ recoveryId: string;
2897
+ trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
2898
+ targetGeneration: number;
2899
+ }, {
2900
+ schemaVersion: "treeseed.host-recovery/v1";
2901
+ componentId: string | null;
2902
+ action: "rollback" | "retry" | "restore";
2903
+ state: "healthy" | "failed" | "pending" | "running";
2904
+ receiptId: string;
2905
+ completedAt: string | null;
2906
+ backupId: string | null;
2907
+ recoveryId: string;
2908
+ trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
2909
+ targetGeneration: number;
2910
+ }>;
2911
+ export type DeploymentTrack = z.infer<typeof deploymentTrackSchema>;
2912
+ export type HostConfiguration = z.infer<typeof hostConfigurationSchema>;
2913
+ export type PackageRuntime = z.infer<typeof packageRuntimeSchema>;
2914
+ export type PackageEndpoint = z.infer<typeof packageEndpointSchema>;
2915
+ export type ComponentRelease = z.infer<typeof componentReleaseSchema>;
2916
+ export type ReleaseCatalog = z.infer<typeof releaseCatalogSchema>;
2917
+ export type HostPlan = z.infer<typeof hostPlanSchema>;
2918
+ export type HostBootstrap = z.infer<typeof hostBootstrapSchema>;
2919
+ export type HostUpdate = z.infer<typeof hostUpdateSchema>;
2920
+ export type HostReceipt = z.infer<typeof hostReceiptSchema>;
2921
+ export type HostBackup = z.infer<typeof hostBackupSchema>;
2922
+ export type HostMigration = z.infer<typeof hostMigrationSchema>;
2923
+ export type HostRecovery = z.infer<typeof hostRecoverySchema>;