@treeseed/sdk 0.13.0-rc.45 → 0.13.0-rc.47
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/deployment/schemas.d.ts +162 -162
- package/dist/development/schemas.d.ts +260 -0
- package/dist/development/schemas.js +47 -1
- package/package.json +2 -1
|
@@ -1647,8 +1647,6 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1647
1647
|
optional: boolean;
|
|
1648
1648
|
}[];
|
|
1649
1649
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
1650
|
-
componentId: string;
|
|
1651
|
-
version: string;
|
|
1652
1650
|
compose: {
|
|
1653
1651
|
projectName: string;
|
|
1654
1652
|
files: {
|
|
@@ -1656,6 +1654,8 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1656
1654
|
digest: string;
|
|
1657
1655
|
}[];
|
|
1658
1656
|
};
|
|
1657
|
+
version: string;
|
|
1658
|
+
componentId: string;
|
|
1659
1659
|
services: {
|
|
1660
1660
|
id: string;
|
|
1661
1661
|
endpoints: {
|
|
@@ -1688,8 +1688,6 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1688
1688
|
requiredCapabilities: string[];
|
|
1689
1689
|
}, {
|
|
1690
1690
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
1691
|
-
componentId: string;
|
|
1692
|
-
version: string;
|
|
1693
1691
|
compose: {
|
|
1694
1692
|
projectName: string;
|
|
1695
1693
|
files: {
|
|
@@ -1697,6 +1695,8 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1697
1695
|
digest: string;
|
|
1698
1696
|
}[];
|
|
1699
1697
|
};
|
|
1698
|
+
version: string;
|
|
1699
|
+
componentId: string;
|
|
1700
1700
|
services: {
|
|
1701
1701
|
id: string;
|
|
1702
1702
|
endpoints: {
|
|
@@ -1741,8 +1741,6 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1741
1741
|
optional: boolean;
|
|
1742
1742
|
}[];
|
|
1743
1743
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
1744
|
-
componentId: string;
|
|
1745
|
-
version: string;
|
|
1746
1744
|
compose: {
|
|
1747
1745
|
projectName: string;
|
|
1748
1746
|
files: {
|
|
@@ -1750,6 +1748,8 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1750
1748
|
digest: string;
|
|
1751
1749
|
}[];
|
|
1752
1750
|
};
|
|
1751
|
+
version: string;
|
|
1752
|
+
componentId: string;
|
|
1753
1753
|
services: {
|
|
1754
1754
|
id: string;
|
|
1755
1755
|
endpoints: {
|
|
@@ -1782,8 +1782,6 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1782
1782
|
requiredCapabilities: string[];
|
|
1783
1783
|
}, {
|
|
1784
1784
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
1785
|
-
componentId: string;
|
|
1786
|
-
version: string;
|
|
1787
1785
|
compose: {
|
|
1788
1786
|
projectName: string;
|
|
1789
1787
|
files: {
|
|
@@ -1791,6 +1789,8 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1791
1789
|
digest: string;
|
|
1792
1790
|
}[];
|
|
1793
1791
|
};
|
|
1792
|
+
version: string;
|
|
1793
|
+
componentId: string;
|
|
1794
1794
|
services: {
|
|
1795
1795
|
id: string;
|
|
1796
1796
|
endpoints: {
|
|
@@ -1865,16 +1865,16 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1865
1865
|
origin: z.ZodLiteral<"TreeSeed Deployment">;
|
|
1866
1866
|
order: z.ZodNumber;
|
|
1867
1867
|
}, "strict", z.ZodTypeAny, {
|
|
1868
|
-
|
|
1868
|
+
name: string;
|
|
1869
1869
|
version: string;
|
|
1870
|
+
architecture: "amd64" | "all";
|
|
1870
1871
|
order: number;
|
|
1871
|
-
name: string;
|
|
1872
1872
|
origin: "TreeSeed Deployment";
|
|
1873
1873
|
}, {
|
|
1874
|
-
|
|
1874
|
+
name: string;
|
|
1875
1875
|
version: string;
|
|
1876
|
+
architecture: "amd64" | "all";
|
|
1876
1877
|
order: number;
|
|
1877
|
-
name: string;
|
|
1878
1878
|
origin: "TreeSeed Deployment";
|
|
1879
1879
|
}>, "many">;
|
|
1880
1880
|
images: z.ZodArray<z.ZodObject<{
|
|
@@ -2095,8 +2095,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2095
2095
|
optional: boolean;
|
|
2096
2096
|
}[];
|
|
2097
2097
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2098
|
-
componentId: string;
|
|
2099
|
-
version: string;
|
|
2100
2098
|
compose: {
|
|
2101
2099
|
projectName: string;
|
|
2102
2100
|
files: {
|
|
@@ -2104,6 +2102,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2104
2102
|
digest: string;
|
|
2105
2103
|
}[];
|
|
2106
2104
|
};
|
|
2105
|
+
version: string;
|
|
2106
|
+
componentId: string;
|
|
2107
2107
|
services: {
|
|
2108
2108
|
id: string;
|
|
2109
2109
|
endpoints: {
|
|
@@ -2136,8 +2136,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2136
2136
|
requiredCapabilities: string[];
|
|
2137
2137
|
}, {
|
|
2138
2138
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2139
|
-
componentId: string;
|
|
2140
|
-
version: string;
|
|
2141
2139
|
compose: {
|
|
2142
2140
|
projectName: string;
|
|
2143
2141
|
files: {
|
|
@@ -2145,6 +2143,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2145
2143
|
digest: string;
|
|
2146
2144
|
}[];
|
|
2147
2145
|
};
|
|
2146
|
+
version: string;
|
|
2147
|
+
componentId: string;
|
|
2148
2148
|
services: {
|
|
2149
2149
|
id: string;
|
|
2150
2150
|
endpoints: {
|
|
@@ -2189,8 +2189,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2189
2189
|
optional: boolean;
|
|
2190
2190
|
}[];
|
|
2191
2191
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2192
|
-
componentId: string;
|
|
2193
|
-
version: string;
|
|
2194
2192
|
compose: {
|
|
2195
2193
|
projectName: string;
|
|
2196
2194
|
files: {
|
|
@@ -2198,6 +2196,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2198
2196
|
digest: string;
|
|
2199
2197
|
}[];
|
|
2200
2198
|
};
|
|
2199
|
+
version: string;
|
|
2200
|
+
componentId: string;
|
|
2201
2201
|
services: {
|
|
2202
2202
|
id: string;
|
|
2203
2203
|
endpoints: {
|
|
@@ -2230,8 +2230,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2230
2230
|
requiredCapabilities: string[];
|
|
2231
2231
|
}, {
|
|
2232
2232
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2233
|
-
componentId: string;
|
|
2234
|
-
version: string;
|
|
2235
2233
|
compose: {
|
|
2236
2234
|
projectName: string;
|
|
2237
2235
|
files: {
|
|
@@ -2239,6 +2237,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2239
2237
|
digest: string;
|
|
2240
2238
|
}[];
|
|
2241
2239
|
};
|
|
2240
|
+
version: string;
|
|
2241
|
+
componentId: string;
|
|
2242
2242
|
services: {
|
|
2243
2243
|
id: string;
|
|
2244
2244
|
endpoints: {
|
|
@@ -2306,6 +2306,13 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2306
2306
|
repository: string;
|
|
2307
2307
|
commit: string;
|
|
2308
2308
|
};
|
|
2309
|
+
packages: {
|
|
2310
|
+
name: string;
|
|
2311
|
+
version: string;
|
|
2312
|
+
architecture: "amd64" | "all";
|
|
2313
|
+
order: number;
|
|
2314
|
+
origin: "TreeSeed Deployment";
|
|
2315
|
+
}[];
|
|
2309
2316
|
componentId: string;
|
|
2310
2317
|
track: "stable" | "development";
|
|
2311
2318
|
runtime: {
|
|
@@ -2316,8 +2323,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2316
2323
|
optional: boolean;
|
|
2317
2324
|
}[];
|
|
2318
2325
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2319
|
-
componentId: string;
|
|
2320
|
-
version: string;
|
|
2321
2326
|
compose: {
|
|
2322
2327
|
projectName: string;
|
|
2323
2328
|
files: {
|
|
@@ -2325,6 +2330,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2325
2330
|
digest: string;
|
|
2326
2331
|
}[];
|
|
2327
2332
|
};
|
|
2333
|
+
version: string;
|
|
2334
|
+
componentId: string;
|
|
2328
2335
|
services: {
|
|
2329
2336
|
id: string;
|
|
2330
2337
|
endpoints: {
|
|
@@ -2364,13 +2371,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2364
2371
|
compatibilityId: string;
|
|
2365
2372
|
catalogDigest: string | null;
|
|
2366
2373
|
} | null;
|
|
2367
|
-
packages: {
|
|
2368
|
-
architecture: "amd64" | "all";
|
|
2369
|
-
version: string;
|
|
2370
|
-
order: number;
|
|
2371
|
-
name: string;
|
|
2372
|
-
origin: "TreeSeed Deployment";
|
|
2373
|
-
}[];
|
|
2374
2374
|
images: {
|
|
2375
2375
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2376
2376
|
repository: string;
|
|
@@ -2394,12 +2394,17 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2394
2394
|
repository: string;
|
|
2395
2395
|
commit: string;
|
|
2396
2396
|
};
|
|
2397
|
+
packages: {
|
|
2398
|
+
name: string;
|
|
2399
|
+
version: string;
|
|
2400
|
+
architecture: "amd64" | "all";
|
|
2401
|
+
order: number;
|
|
2402
|
+
origin: "TreeSeed Deployment";
|
|
2403
|
+
}[];
|
|
2397
2404
|
componentId: string;
|
|
2398
2405
|
track: "stable" | "development";
|
|
2399
2406
|
runtime: {
|
|
2400
2407
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2401
|
-
componentId: string;
|
|
2402
|
-
version: string;
|
|
2403
2408
|
compose: {
|
|
2404
2409
|
projectName: string;
|
|
2405
2410
|
files: {
|
|
@@ -2407,6 +2412,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2407
2412
|
digest: string;
|
|
2408
2413
|
}[];
|
|
2409
2414
|
};
|
|
2415
|
+
version: string;
|
|
2416
|
+
componentId: string;
|
|
2410
2417
|
services: {
|
|
2411
2418
|
id: string;
|
|
2412
2419
|
endpoints: {
|
|
@@ -2452,13 +2459,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2452
2459
|
compatibilityId: string;
|
|
2453
2460
|
catalogDigest: string | null;
|
|
2454
2461
|
} | null;
|
|
2455
|
-
packages: {
|
|
2456
|
-
architecture: "amd64" | "all";
|
|
2457
|
-
version: string;
|
|
2458
|
-
order: number;
|
|
2459
|
-
name: string;
|
|
2460
|
-
origin: "TreeSeed Deployment";
|
|
2461
|
-
}[];
|
|
2462
2462
|
images: {
|
|
2463
2463
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2464
2464
|
repository: string;
|
|
@@ -2482,6 +2482,13 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2482
2482
|
repository: string;
|
|
2483
2483
|
commit: string;
|
|
2484
2484
|
};
|
|
2485
|
+
packages: {
|
|
2486
|
+
name: string;
|
|
2487
|
+
version: string;
|
|
2488
|
+
architecture: "amd64" | "all";
|
|
2489
|
+
order: number;
|
|
2490
|
+
origin: "TreeSeed Deployment";
|
|
2491
|
+
}[];
|
|
2485
2492
|
componentId: string;
|
|
2486
2493
|
track: "stable" | "development";
|
|
2487
2494
|
runtime: {
|
|
@@ -2492,8 +2499,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2492
2499
|
optional: boolean;
|
|
2493
2500
|
}[];
|
|
2494
2501
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2495
|
-
componentId: string;
|
|
2496
|
-
version: string;
|
|
2497
2502
|
compose: {
|
|
2498
2503
|
projectName: string;
|
|
2499
2504
|
files: {
|
|
@@ -2501,6 +2506,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2501
2506
|
digest: string;
|
|
2502
2507
|
}[];
|
|
2503
2508
|
};
|
|
2509
|
+
version: string;
|
|
2510
|
+
componentId: string;
|
|
2504
2511
|
services: {
|
|
2505
2512
|
id: string;
|
|
2506
2513
|
endpoints: {
|
|
@@ -2540,13 +2547,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2540
2547
|
compatibilityId: string;
|
|
2541
2548
|
catalogDigest: string | null;
|
|
2542
2549
|
} | null;
|
|
2543
|
-
packages: {
|
|
2544
|
-
architecture: "amd64" | "all";
|
|
2545
|
-
version: string;
|
|
2546
|
-
order: number;
|
|
2547
|
-
name: string;
|
|
2548
|
-
origin: "TreeSeed Deployment";
|
|
2549
|
-
}[];
|
|
2550
2550
|
images: {
|
|
2551
2551
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2552
2552
|
repository: string;
|
|
@@ -2570,12 +2570,17 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2570
2570
|
repository: string;
|
|
2571
2571
|
commit: string;
|
|
2572
2572
|
};
|
|
2573
|
+
packages: {
|
|
2574
|
+
name: string;
|
|
2575
|
+
version: string;
|
|
2576
|
+
architecture: "amd64" | "all";
|
|
2577
|
+
order: number;
|
|
2578
|
+
origin: "TreeSeed Deployment";
|
|
2579
|
+
}[];
|
|
2573
2580
|
componentId: string;
|
|
2574
2581
|
track: "stable" | "development";
|
|
2575
2582
|
runtime: {
|
|
2576
2583
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
2577
|
-
componentId: string;
|
|
2578
|
-
version: string;
|
|
2579
2584
|
compose: {
|
|
2580
2585
|
projectName: string;
|
|
2581
2586
|
files: {
|
|
@@ -2583,6 +2588,8 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2583
2588
|
digest: string;
|
|
2584
2589
|
}[];
|
|
2585
2590
|
};
|
|
2591
|
+
version: string;
|
|
2592
|
+
componentId: string;
|
|
2586
2593
|
services: {
|
|
2587
2594
|
id: string;
|
|
2588
2595
|
endpoints: {
|
|
@@ -2628,13 +2635,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2628
2635
|
compatibilityId: string;
|
|
2629
2636
|
catalogDigest: string | null;
|
|
2630
2637
|
} | null;
|
|
2631
|
-
packages: {
|
|
2632
|
-
architecture: "amd64" | "all";
|
|
2633
|
-
version: string;
|
|
2634
|
-
order: number;
|
|
2635
|
-
name: string;
|
|
2636
|
-
origin: "TreeSeed Deployment";
|
|
2637
|
-
}[];
|
|
2638
2638
|
images: {
|
|
2639
2639
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
2640
2640
|
repository: string;
|
|
@@ -2996,16 +2996,16 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2996
2996
|
origin: z.ZodLiteral<"TreeSeed Deployment">;
|
|
2997
2997
|
order: z.ZodNumber;
|
|
2998
2998
|
}, "strict", z.ZodTypeAny, {
|
|
2999
|
-
|
|
2999
|
+
name: string;
|
|
3000
3000
|
version: string;
|
|
3001
|
+
architecture: "amd64" | "all";
|
|
3001
3002
|
order: number;
|
|
3002
|
-
name: string;
|
|
3003
3003
|
origin: "TreeSeed Deployment";
|
|
3004
3004
|
}, {
|
|
3005
|
-
|
|
3005
|
+
name: string;
|
|
3006
3006
|
version: string;
|
|
3007
|
+
architecture: "amd64" | "all";
|
|
3007
3008
|
order: number;
|
|
3008
|
-
name: string;
|
|
3009
3009
|
origin: "TreeSeed Deployment";
|
|
3010
3010
|
}>, "many">;
|
|
3011
3011
|
images: z.ZodArray<z.ZodObject<{
|
|
@@ -3226,8 +3226,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3226
3226
|
optional: boolean;
|
|
3227
3227
|
}[];
|
|
3228
3228
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3229
|
-
componentId: string;
|
|
3230
|
-
version: string;
|
|
3231
3229
|
compose: {
|
|
3232
3230
|
projectName: string;
|
|
3233
3231
|
files: {
|
|
@@ -3235,6 +3233,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3235
3233
|
digest: string;
|
|
3236
3234
|
}[];
|
|
3237
3235
|
};
|
|
3236
|
+
version: string;
|
|
3237
|
+
componentId: string;
|
|
3238
3238
|
services: {
|
|
3239
3239
|
id: string;
|
|
3240
3240
|
endpoints: {
|
|
@@ -3267,8 +3267,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3267
3267
|
requiredCapabilities: string[];
|
|
3268
3268
|
}, {
|
|
3269
3269
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3270
|
-
componentId: string;
|
|
3271
|
-
version: string;
|
|
3272
3270
|
compose: {
|
|
3273
3271
|
projectName: string;
|
|
3274
3272
|
files: {
|
|
@@ -3276,6 +3274,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3276
3274
|
digest: string;
|
|
3277
3275
|
}[];
|
|
3278
3276
|
};
|
|
3277
|
+
version: string;
|
|
3278
|
+
componentId: string;
|
|
3279
3279
|
services: {
|
|
3280
3280
|
id: string;
|
|
3281
3281
|
endpoints: {
|
|
@@ -3320,8 +3320,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3320
3320
|
optional: boolean;
|
|
3321
3321
|
}[];
|
|
3322
3322
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3323
|
-
componentId: string;
|
|
3324
|
-
version: string;
|
|
3325
3323
|
compose: {
|
|
3326
3324
|
projectName: string;
|
|
3327
3325
|
files: {
|
|
@@ -3329,6 +3327,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3329
3327
|
digest: string;
|
|
3330
3328
|
}[];
|
|
3331
3329
|
};
|
|
3330
|
+
version: string;
|
|
3331
|
+
componentId: string;
|
|
3332
3332
|
services: {
|
|
3333
3333
|
id: string;
|
|
3334
3334
|
endpoints: {
|
|
@@ -3361,8 +3361,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3361
3361
|
requiredCapabilities: string[];
|
|
3362
3362
|
}, {
|
|
3363
3363
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3364
|
-
componentId: string;
|
|
3365
|
-
version: string;
|
|
3366
3364
|
compose: {
|
|
3367
3365
|
projectName: string;
|
|
3368
3366
|
files: {
|
|
@@ -3370,6 +3368,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3370
3368
|
digest: string;
|
|
3371
3369
|
}[];
|
|
3372
3370
|
};
|
|
3371
|
+
version: string;
|
|
3372
|
+
componentId: string;
|
|
3373
3373
|
services: {
|
|
3374
3374
|
id: string;
|
|
3375
3375
|
endpoints: {
|
|
@@ -3437,6 +3437,13 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3437
3437
|
repository: string;
|
|
3438
3438
|
commit: string;
|
|
3439
3439
|
};
|
|
3440
|
+
packages: {
|
|
3441
|
+
name: string;
|
|
3442
|
+
version: string;
|
|
3443
|
+
architecture: "amd64" | "all";
|
|
3444
|
+
order: number;
|
|
3445
|
+
origin: "TreeSeed Deployment";
|
|
3446
|
+
}[];
|
|
3440
3447
|
componentId: string;
|
|
3441
3448
|
track: "stable" | "development";
|
|
3442
3449
|
runtime: {
|
|
@@ -3447,8 +3454,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3447
3454
|
optional: boolean;
|
|
3448
3455
|
}[];
|
|
3449
3456
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3450
|
-
componentId: string;
|
|
3451
|
-
version: string;
|
|
3452
3457
|
compose: {
|
|
3453
3458
|
projectName: string;
|
|
3454
3459
|
files: {
|
|
@@ -3456,6 +3461,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3456
3461
|
digest: string;
|
|
3457
3462
|
}[];
|
|
3458
3463
|
};
|
|
3464
|
+
version: string;
|
|
3465
|
+
componentId: string;
|
|
3459
3466
|
services: {
|
|
3460
3467
|
id: string;
|
|
3461
3468
|
endpoints: {
|
|
@@ -3495,13 +3502,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3495
3502
|
compatibilityId: string;
|
|
3496
3503
|
catalogDigest: string | null;
|
|
3497
3504
|
} | null;
|
|
3498
|
-
packages: {
|
|
3499
|
-
architecture: "amd64" | "all";
|
|
3500
|
-
version: string;
|
|
3501
|
-
order: number;
|
|
3502
|
-
name: string;
|
|
3503
|
-
origin: "TreeSeed Deployment";
|
|
3504
|
-
}[];
|
|
3505
3505
|
images: {
|
|
3506
3506
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3507
3507
|
repository: string;
|
|
@@ -3525,12 +3525,17 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3525
3525
|
repository: string;
|
|
3526
3526
|
commit: string;
|
|
3527
3527
|
};
|
|
3528
|
+
packages: {
|
|
3529
|
+
name: string;
|
|
3530
|
+
version: string;
|
|
3531
|
+
architecture: "amd64" | "all";
|
|
3532
|
+
order: number;
|
|
3533
|
+
origin: "TreeSeed Deployment";
|
|
3534
|
+
}[];
|
|
3528
3535
|
componentId: string;
|
|
3529
3536
|
track: "stable" | "development";
|
|
3530
3537
|
runtime: {
|
|
3531
3538
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3532
|
-
componentId: string;
|
|
3533
|
-
version: string;
|
|
3534
3539
|
compose: {
|
|
3535
3540
|
projectName: string;
|
|
3536
3541
|
files: {
|
|
@@ -3538,6 +3543,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3538
3543
|
digest: string;
|
|
3539
3544
|
}[];
|
|
3540
3545
|
};
|
|
3546
|
+
version: string;
|
|
3547
|
+
componentId: string;
|
|
3541
3548
|
services: {
|
|
3542
3549
|
id: string;
|
|
3543
3550
|
endpoints: {
|
|
@@ -3583,13 +3590,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3583
3590
|
compatibilityId: string;
|
|
3584
3591
|
catalogDigest: string | null;
|
|
3585
3592
|
} | null;
|
|
3586
|
-
packages: {
|
|
3587
|
-
architecture: "amd64" | "all";
|
|
3588
|
-
version: string;
|
|
3589
|
-
order: number;
|
|
3590
|
-
name: string;
|
|
3591
|
-
origin: "TreeSeed Deployment";
|
|
3592
|
-
}[];
|
|
3593
3593
|
images: {
|
|
3594
3594
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3595
3595
|
repository: string;
|
|
@@ -3613,6 +3613,13 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3613
3613
|
repository: string;
|
|
3614
3614
|
commit: string;
|
|
3615
3615
|
};
|
|
3616
|
+
packages: {
|
|
3617
|
+
name: string;
|
|
3618
|
+
version: string;
|
|
3619
|
+
architecture: "amd64" | "all";
|
|
3620
|
+
order: number;
|
|
3621
|
+
origin: "TreeSeed Deployment";
|
|
3622
|
+
}[];
|
|
3616
3623
|
componentId: string;
|
|
3617
3624
|
track: "stable" | "development";
|
|
3618
3625
|
runtime: {
|
|
@@ -3623,8 +3630,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3623
3630
|
optional: boolean;
|
|
3624
3631
|
}[];
|
|
3625
3632
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3626
|
-
componentId: string;
|
|
3627
|
-
version: string;
|
|
3628
3633
|
compose: {
|
|
3629
3634
|
projectName: string;
|
|
3630
3635
|
files: {
|
|
@@ -3632,6 +3637,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3632
3637
|
digest: string;
|
|
3633
3638
|
}[];
|
|
3634
3639
|
};
|
|
3640
|
+
version: string;
|
|
3641
|
+
componentId: string;
|
|
3635
3642
|
services: {
|
|
3636
3643
|
id: string;
|
|
3637
3644
|
endpoints: {
|
|
@@ -3671,13 +3678,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3671
3678
|
compatibilityId: string;
|
|
3672
3679
|
catalogDigest: string | null;
|
|
3673
3680
|
} | null;
|
|
3674
|
-
packages: {
|
|
3675
|
-
architecture: "amd64" | "all";
|
|
3676
|
-
version: string;
|
|
3677
|
-
order: number;
|
|
3678
|
-
name: string;
|
|
3679
|
-
origin: "TreeSeed Deployment";
|
|
3680
|
-
}[];
|
|
3681
3681
|
images: {
|
|
3682
3682
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3683
3683
|
repository: string;
|
|
@@ -3701,12 +3701,17 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3701
3701
|
repository: string;
|
|
3702
3702
|
commit: string;
|
|
3703
3703
|
};
|
|
3704
|
+
packages: {
|
|
3705
|
+
name: string;
|
|
3706
|
+
version: string;
|
|
3707
|
+
architecture: "amd64" | "all";
|
|
3708
|
+
order: number;
|
|
3709
|
+
origin: "TreeSeed Deployment";
|
|
3710
|
+
}[];
|
|
3704
3711
|
componentId: string;
|
|
3705
3712
|
track: "stable" | "development";
|
|
3706
3713
|
runtime: {
|
|
3707
3714
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3708
|
-
componentId: string;
|
|
3709
|
-
version: string;
|
|
3710
3715
|
compose: {
|
|
3711
3716
|
projectName: string;
|
|
3712
3717
|
files: {
|
|
@@ -3714,6 +3719,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3714
3719
|
digest: string;
|
|
3715
3720
|
}[];
|
|
3716
3721
|
};
|
|
3722
|
+
version: string;
|
|
3723
|
+
componentId: string;
|
|
3717
3724
|
services: {
|
|
3718
3725
|
id: string;
|
|
3719
3726
|
endpoints: {
|
|
@@ -3759,13 +3766,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3759
3766
|
compatibilityId: string;
|
|
3760
3767
|
catalogDigest: string | null;
|
|
3761
3768
|
} | null;
|
|
3762
|
-
packages: {
|
|
3763
|
-
architecture: "amd64" | "all";
|
|
3764
|
-
version: string;
|
|
3765
|
-
order: number;
|
|
3766
|
-
name: string;
|
|
3767
|
-
origin: "TreeSeed Deployment";
|
|
3768
|
-
}[];
|
|
3769
3769
|
images: {
|
|
3770
3770
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3771
3771
|
repository: string;
|
|
@@ -3796,6 +3796,13 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3796
3796
|
repository: string;
|
|
3797
3797
|
commit: string;
|
|
3798
3798
|
};
|
|
3799
|
+
packages: {
|
|
3800
|
+
name: string;
|
|
3801
|
+
version: string;
|
|
3802
|
+
architecture: "amd64" | "all";
|
|
3803
|
+
order: number;
|
|
3804
|
+
origin: "TreeSeed Deployment";
|
|
3805
|
+
}[];
|
|
3799
3806
|
componentId: string;
|
|
3800
3807
|
track: "stable" | "development";
|
|
3801
3808
|
runtime: {
|
|
@@ -3806,8 +3813,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3806
3813
|
optional: boolean;
|
|
3807
3814
|
}[];
|
|
3808
3815
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3809
|
-
componentId: string;
|
|
3810
|
-
version: string;
|
|
3811
3816
|
compose: {
|
|
3812
3817
|
projectName: string;
|
|
3813
3818
|
files: {
|
|
@@ -3815,6 +3820,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3815
3820
|
digest: string;
|
|
3816
3821
|
}[];
|
|
3817
3822
|
};
|
|
3823
|
+
version: string;
|
|
3824
|
+
componentId: string;
|
|
3818
3825
|
services: {
|
|
3819
3826
|
id: string;
|
|
3820
3827
|
endpoints: {
|
|
@@ -3854,13 +3861,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3854
3861
|
compatibilityId: string;
|
|
3855
3862
|
catalogDigest: string | null;
|
|
3856
3863
|
} | null;
|
|
3857
|
-
packages: {
|
|
3858
|
-
architecture: "amd64" | "all";
|
|
3859
|
-
version: string;
|
|
3860
|
-
order: number;
|
|
3861
|
-
name: string;
|
|
3862
|
-
origin: "TreeSeed Deployment";
|
|
3863
|
-
}[];
|
|
3864
3864
|
images: {
|
|
3865
3865
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3866
3866
|
repository: string;
|
|
@@ -3897,12 +3897,17 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3897
3897
|
repository: string;
|
|
3898
3898
|
commit: string;
|
|
3899
3899
|
};
|
|
3900
|
+
packages: {
|
|
3901
|
+
name: string;
|
|
3902
|
+
version: string;
|
|
3903
|
+
architecture: "amd64" | "all";
|
|
3904
|
+
order: number;
|
|
3905
|
+
origin: "TreeSeed Deployment";
|
|
3906
|
+
}[];
|
|
3900
3907
|
componentId: string;
|
|
3901
3908
|
track: "stable" | "development";
|
|
3902
3909
|
runtime: {
|
|
3903
3910
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
3904
|
-
componentId: string;
|
|
3905
|
-
version: string;
|
|
3906
3911
|
compose: {
|
|
3907
3912
|
projectName: string;
|
|
3908
3913
|
files: {
|
|
@@ -3910,6 +3915,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3910
3915
|
digest: string;
|
|
3911
3916
|
}[];
|
|
3912
3917
|
};
|
|
3918
|
+
version: string;
|
|
3919
|
+
componentId: string;
|
|
3913
3920
|
services: {
|
|
3914
3921
|
id: string;
|
|
3915
3922
|
endpoints: {
|
|
@@ -3955,13 +3962,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3955
3962
|
compatibilityId: string;
|
|
3956
3963
|
catalogDigest: string | null;
|
|
3957
3964
|
} | null;
|
|
3958
|
-
packages: {
|
|
3959
|
-
architecture: "amd64" | "all";
|
|
3960
|
-
version: string;
|
|
3961
|
-
order: number;
|
|
3962
|
-
name: string;
|
|
3963
|
-
origin: "TreeSeed Deployment";
|
|
3964
|
-
}[];
|
|
3965
3965
|
images: {
|
|
3966
3966
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
3967
3967
|
repository: string;
|
|
@@ -3998,6 +3998,13 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3998
3998
|
repository: string;
|
|
3999
3999
|
commit: string;
|
|
4000
4000
|
};
|
|
4001
|
+
packages: {
|
|
4002
|
+
name: string;
|
|
4003
|
+
version: string;
|
|
4004
|
+
architecture: "amd64" | "all";
|
|
4005
|
+
order: number;
|
|
4006
|
+
origin: "TreeSeed Deployment";
|
|
4007
|
+
}[];
|
|
4001
4008
|
componentId: string;
|
|
4002
4009
|
track: "stable" | "development";
|
|
4003
4010
|
runtime: {
|
|
@@ -4008,8 +4015,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4008
4015
|
optional: boolean;
|
|
4009
4016
|
}[];
|
|
4010
4017
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
4011
|
-
componentId: string;
|
|
4012
|
-
version: string;
|
|
4013
4018
|
compose: {
|
|
4014
4019
|
projectName: string;
|
|
4015
4020
|
files: {
|
|
@@ -4017,6 +4022,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4017
4022
|
digest: string;
|
|
4018
4023
|
}[];
|
|
4019
4024
|
};
|
|
4025
|
+
version: string;
|
|
4026
|
+
componentId: string;
|
|
4020
4027
|
services: {
|
|
4021
4028
|
id: string;
|
|
4022
4029
|
endpoints: {
|
|
@@ -4056,13 +4063,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4056
4063
|
compatibilityId: string;
|
|
4057
4064
|
catalogDigest: string | null;
|
|
4058
4065
|
} | null;
|
|
4059
|
-
packages: {
|
|
4060
|
-
architecture: "amd64" | "all";
|
|
4061
|
-
version: string;
|
|
4062
|
-
order: number;
|
|
4063
|
-
name: string;
|
|
4064
|
-
origin: "TreeSeed Deployment";
|
|
4065
|
-
}[];
|
|
4066
4066
|
images: {
|
|
4067
4067
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
4068
4068
|
repository: string;
|
|
@@ -4099,12 +4099,17 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4099
4099
|
repository: string;
|
|
4100
4100
|
commit: string;
|
|
4101
4101
|
};
|
|
4102
|
+
packages: {
|
|
4103
|
+
name: string;
|
|
4104
|
+
version: string;
|
|
4105
|
+
architecture: "amd64" | "all";
|
|
4106
|
+
order: number;
|
|
4107
|
+
origin: "TreeSeed Deployment";
|
|
4108
|
+
}[];
|
|
4102
4109
|
componentId: string;
|
|
4103
4110
|
track: "stable" | "development";
|
|
4104
4111
|
runtime: {
|
|
4105
4112
|
schemaVersion: "treeseed.package-runtime/v1";
|
|
4106
|
-
componentId: string;
|
|
4107
|
-
version: string;
|
|
4108
4113
|
compose: {
|
|
4109
4114
|
projectName: string;
|
|
4110
4115
|
files: {
|
|
@@ -4112,6 +4117,8 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4112
4117
|
digest: string;
|
|
4113
4118
|
}[];
|
|
4114
4119
|
};
|
|
4120
|
+
version: string;
|
|
4121
|
+
componentId: string;
|
|
4115
4122
|
services: {
|
|
4116
4123
|
id: string;
|
|
4117
4124
|
endpoints: {
|
|
@@ -4157,13 +4164,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4157
4164
|
compatibilityId: string;
|
|
4158
4165
|
catalogDigest: string | null;
|
|
4159
4166
|
} | null;
|
|
4160
|
-
packages: {
|
|
4161
|
-
architecture: "amd64" | "all";
|
|
4162
|
-
version: string;
|
|
4163
|
-
order: number;
|
|
4164
|
-
name: string;
|
|
4165
|
-
origin: "TreeSeed Deployment";
|
|
4166
|
-
}[];
|
|
4167
4167
|
images: {
|
|
4168
4168
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
4169
4169
|
repository: string;
|
|
@@ -4279,16 +4279,16 @@ export declare const hostBootstrapSchema: z.ZodObject<{
|
|
|
4279
4279
|
origin: z.ZodLiteral<"TreeSeed Deployment">;
|
|
4280
4280
|
order: z.ZodNumber;
|
|
4281
4281
|
}, "strict", z.ZodTypeAny, {
|
|
4282
|
-
|
|
4282
|
+
name: string;
|
|
4283
4283
|
version: string;
|
|
4284
|
+
architecture: "amd64" | "all";
|
|
4284
4285
|
order: number;
|
|
4285
|
-
name: string;
|
|
4286
4286
|
origin: "TreeSeed Deployment";
|
|
4287
4287
|
}, {
|
|
4288
|
-
|
|
4288
|
+
name: string;
|
|
4289
4289
|
version: string;
|
|
4290
|
+
architecture: "amd64" | "all";
|
|
4290
4291
|
order: number;
|
|
4291
|
-
name: string;
|
|
4292
4292
|
origin: "TreeSeed Deployment";
|
|
4293
4293
|
}>, "many">;
|
|
4294
4294
|
credentialPolicy: z.ZodObject<{
|
|
@@ -4313,10 +4313,10 @@ export declare const hostBootstrapSchema: z.ZodObject<{
|
|
|
4313
4313
|
createdAt: string;
|
|
4314
4314
|
configurationDigest: string;
|
|
4315
4315
|
packages: {
|
|
4316
|
-
|
|
4316
|
+
name: string;
|
|
4317
4317
|
version: string;
|
|
4318
|
+
architecture: "amd64" | "all";
|
|
4318
4319
|
order: number;
|
|
4319
|
-
name: string;
|
|
4320
4320
|
origin: "TreeSeed Deployment";
|
|
4321
4321
|
}[];
|
|
4322
4322
|
bootstrapId: string;
|
|
@@ -4337,10 +4337,10 @@ export declare const hostBootstrapSchema: z.ZodObject<{
|
|
|
4337
4337
|
createdAt: string;
|
|
4338
4338
|
configurationDigest: string;
|
|
4339
4339
|
packages: {
|
|
4340
|
-
|
|
4340
|
+
name: string;
|
|
4341
4341
|
version: string;
|
|
4342
|
+
architecture: "amd64" | "all";
|
|
4342
4343
|
order: number;
|
|
4343
|
-
name: string;
|
|
4344
4344
|
origin: "TreeSeed Deployment";
|
|
4345
4345
|
}[];
|
|
4346
4346
|
bootstrapId: string;
|
|
@@ -4447,16 +4447,16 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
4447
4447
|
origin: z.ZodLiteral<"TreeSeed Deployment">;
|
|
4448
4448
|
order: z.ZodNumber;
|
|
4449
4449
|
}, "strict", z.ZodTypeAny, {
|
|
4450
|
-
|
|
4450
|
+
name: string;
|
|
4451
4451
|
version: string;
|
|
4452
|
+
architecture: "amd64" | "all";
|
|
4452
4453
|
order: number;
|
|
4453
|
-
name: string;
|
|
4454
4454
|
origin: "TreeSeed Deployment";
|
|
4455
4455
|
}, {
|
|
4456
|
-
|
|
4456
|
+
name: string;
|
|
4457
4457
|
version: string;
|
|
4458
|
+
architecture: "amd64" | "all";
|
|
4458
4459
|
order: number;
|
|
4459
|
-
name: string;
|
|
4460
4460
|
origin: "TreeSeed Deployment";
|
|
4461
4461
|
}>, "many">;
|
|
4462
4462
|
images: z.ZodArray<z.ZodObject<{
|
|
@@ -4498,16 +4498,16 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
4498
4498
|
state: "degraded" | "rolled-back" | "known-good";
|
|
4499
4499
|
configurationDigest: string;
|
|
4500
4500
|
completedAt: string;
|
|
4501
|
-
role: string;
|
|
4502
|
-
rolloutGroup: string;
|
|
4503
|
-
catalogDigest: string;
|
|
4504
4501
|
packages: {
|
|
4505
|
-
|
|
4502
|
+
name: string;
|
|
4506
4503
|
version: string;
|
|
4504
|
+
architecture: "amd64" | "all";
|
|
4507
4505
|
order: number;
|
|
4508
|
-
name: string;
|
|
4509
4506
|
origin: "TreeSeed Deployment";
|
|
4510
4507
|
}[];
|
|
4508
|
+
role: string;
|
|
4509
|
+
rolloutGroup: string;
|
|
4510
|
+
catalogDigest: string;
|
|
4511
4511
|
images: {
|
|
4512
4512
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
4513
4513
|
repository: string;
|
|
@@ -4528,16 +4528,16 @@ export declare const hostReceiptSchema: z.ZodObject<{
|
|
|
4528
4528
|
state: "degraded" | "rolled-back" | "known-good";
|
|
4529
4529
|
configurationDigest: string;
|
|
4530
4530
|
completedAt: string;
|
|
4531
|
-
role: string;
|
|
4532
|
-
rolloutGroup: string;
|
|
4533
|
-
catalogDigest: string;
|
|
4534
4531
|
packages: {
|
|
4535
|
-
|
|
4532
|
+
name: string;
|
|
4536
4533
|
version: string;
|
|
4534
|
+
architecture: "amd64" | "all";
|
|
4537
4535
|
order: number;
|
|
4538
|
-
name: string;
|
|
4539
4536
|
origin: "TreeSeed Deployment";
|
|
4540
4537
|
}[];
|
|
4538
|
+
role: string;
|
|
4539
|
+
rolloutGroup: string;
|
|
4540
|
+
catalogDigest: string;
|
|
4541
4541
|
images: {
|
|
4542
4542
|
platforms: ("linux/amd64" | "linux/arm64")[];
|
|
4543
4543
|
repository: string;
|
|
@@ -3141,9 +3141,269 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3141
3141
|
};
|
|
3142
3142
|
promotable: boolean;
|
|
3143
3143
|
}>;
|
|
3144
|
+
/** Exact, immutable custody record used to promote an already-built candidate. */
|
|
3145
|
+
export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
|
|
3146
|
+
schemaVersion: z.ZodLiteral<"treeseed.release-evidence/v1">;
|
|
3147
|
+
candidate: z.ZodObject<{
|
|
3148
|
+
id: z.ZodString;
|
|
3149
|
+
receiptDigest: z.ZodString;
|
|
3150
|
+
sourceCommit: z.ZodString;
|
|
3151
|
+
stagingRef: z.ZodString;
|
|
3152
|
+
workflowRunId: z.ZodString;
|
|
3153
|
+
createdAt: z.ZodString;
|
|
3154
|
+
}, "strict", z.ZodTypeAny, {
|
|
3155
|
+
id: string;
|
|
3156
|
+
createdAt: string;
|
|
3157
|
+
receiptDigest: string;
|
|
3158
|
+
sourceCommit: string;
|
|
3159
|
+
stagingRef: string;
|
|
3160
|
+
workflowRunId: string;
|
|
3161
|
+
}, {
|
|
3162
|
+
id: string;
|
|
3163
|
+
createdAt: string;
|
|
3164
|
+
receiptDigest: string;
|
|
3165
|
+
sourceCommit: string;
|
|
3166
|
+
stagingRef: string;
|
|
3167
|
+
workflowRunId: string;
|
|
3168
|
+
}>;
|
|
3169
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
3170
|
+
projectId: z.ZodString;
|
|
3171
|
+
name: z.ZodString;
|
|
3172
|
+
version: z.ZodString;
|
|
3173
|
+
minimumBump: z.ZodEnum<["none", "patch", "minor", "major"]>;
|
|
3174
|
+
}, "strict", z.ZodTypeAny, {
|
|
3175
|
+
projectId: string;
|
|
3176
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3177
|
+
name: string;
|
|
3178
|
+
version: string;
|
|
3179
|
+
}, {
|
|
3180
|
+
projectId: string;
|
|
3181
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3182
|
+
name: string;
|
|
3183
|
+
version: string;
|
|
3184
|
+
}>, "many">;
|
|
3185
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
3186
|
+
id: z.ZodString;
|
|
3187
|
+
kind: z.ZodEnum<["npm-package", "oci-image", "archive", "executable", "sbom", "contract-bundle", "compatibility-attestation", "component-manifest", "compose", "provenance"]>;
|
|
3188
|
+
identity: z.ZodString;
|
|
3189
|
+
digest: z.ZodString;
|
|
3190
|
+
mediaType: z.ZodString;
|
|
3191
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
3192
|
+
}, "strict", z.ZodTypeAny, {
|
|
3193
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3194
|
+
id: string;
|
|
3195
|
+
mediaType: string;
|
|
3196
|
+
identity: string;
|
|
3197
|
+
digest: string;
|
|
3198
|
+
size?: number | undefined;
|
|
3199
|
+
}, {
|
|
3200
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3201
|
+
id: string;
|
|
3202
|
+
mediaType: string;
|
|
3203
|
+
identity: string;
|
|
3204
|
+
digest: string;
|
|
3205
|
+
size?: number | undefined;
|
|
3206
|
+
}>, "many">;
|
|
3207
|
+
contractBundles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3208
|
+
id: z.ZodString;
|
|
3209
|
+
digest: z.ZodString;
|
|
3210
|
+
}, "strict", z.ZodTypeAny, {
|
|
3211
|
+
id: string;
|
|
3212
|
+
digest: string;
|
|
3213
|
+
}, {
|
|
3214
|
+
id: string;
|
|
3215
|
+
digest: string;
|
|
3216
|
+
}>, "many">>;
|
|
3217
|
+
compatibilityAttestations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3218
|
+
contractId: z.ZodString;
|
|
3219
|
+
digest: z.ZodString;
|
|
3220
|
+
compatible: z.ZodLiteral<true>;
|
|
3221
|
+
minimumBump: z.ZodEnum<["none", "patch", "minor", "major"]>;
|
|
3222
|
+
}, "strict", z.ZodTypeAny, {
|
|
3223
|
+
digest: string;
|
|
3224
|
+
contractId: string;
|
|
3225
|
+
compatible: true;
|
|
3226
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3227
|
+
}, {
|
|
3228
|
+
digest: string;
|
|
3229
|
+
contractId: string;
|
|
3230
|
+
compatible: true;
|
|
3231
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3232
|
+
}>, "many">>;
|
|
3233
|
+
verification: z.ZodObject<{
|
|
3234
|
+
status: z.ZodLiteral<"passed">;
|
|
3235
|
+
operations: z.ZodArray<z.ZodString, "many">;
|
|
3236
|
+
completedAt: z.ZodString;
|
|
3237
|
+
}, "strict", z.ZodTypeAny, {
|
|
3238
|
+
status: "passed";
|
|
3239
|
+
operations: string[];
|
|
3240
|
+
completedAt: string;
|
|
3241
|
+
}, {
|
|
3242
|
+
status: "passed";
|
|
3243
|
+
operations: string[];
|
|
3244
|
+
completedAt: string;
|
|
3245
|
+
}>;
|
|
3246
|
+
}, "strict", z.ZodTypeAny, {
|
|
3247
|
+
candidate: {
|
|
3248
|
+
id: string;
|
|
3249
|
+
createdAt: string;
|
|
3250
|
+
receiptDigest: string;
|
|
3251
|
+
sourceCommit: string;
|
|
3252
|
+
stagingRef: string;
|
|
3253
|
+
workflowRunId: string;
|
|
3254
|
+
};
|
|
3255
|
+
artifacts: {
|
|
3256
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3257
|
+
id: string;
|
|
3258
|
+
mediaType: string;
|
|
3259
|
+
identity: string;
|
|
3260
|
+
digest: string;
|
|
3261
|
+
size?: number | undefined;
|
|
3262
|
+
}[];
|
|
3263
|
+
schemaVersion: "treeseed.release-evidence/v1";
|
|
3264
|
+
compatibilityAttestations: {
|
|
3265
|
+
digest: string;
|
|
3266
|
+
contractId: string;
|
|
3267
|
+
compatible: true;
|
|
3268
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3269
|
+
}[];
|
|
3270
|
+
verification: {
|
|
3271
|
+
status: "passed";
|
|
3272
|
+
operations: string[];
|
|
3273
|
+
completedAt: string;
|
|
3274
|
+
};
|
|
3275
|
+
packages: {
|
|
3276
|
+
projectId: string;
|
|
3277
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3278
|
+
name: string;
|
|
3279
|
+
version: string;
|
|
3280
|
+
}[];
|
|
3281
|
+
contractBundles: {
|
|
3282
|
+
id: string;
|
|
3283
|
+
digest: string;
|
|
3284
|
+
}[];
|
|
3285
|
+
}, {
|
|
3286
|
+
candidate: {
|
|
3287
|
+
id: string;
|
|
3288
|
+
createdAt: string;
|
|
3289
|
+
receiptDigest: string;
|
|
3290
|
+
sourceCommit: string;
|
|
3291
|
+
stagingRef: string;
|
|
3292
|
+
workflowRunId: string;
|
|
3293
|
+
};
|
|
3294
|
+
artifacts: {
|
|
3295
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3296
|
+
id: string;
|
|
3297
|
+
mediaType: string;
|
|
3298
|
+
identity: string;
|
|
3299
|
+
digest: string;
|
|
3300
|
+
size?: number | undefined;
|
|
3301
|
+
}[];
|
|
3302
|
+
schemaVersion: "treeseed.release-evidence/v1";
|
|
3303
|
+
verification: {
|
|
3304
|
+
status: "passed";
|
|
3305
|
+
operations: string[];
|
|
3306
|
+
completedAt: string;
|
|
3307
|
+
};
|
|
3308
|
+
packages: {
|
|
3309
|
+
projectId: string;
|
|
3310
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3311
|
+
name: string;
|
|
3312
|
+
version: string;
|
|
3313
|
+
}[];
|
|
3314
|
+
compatibilityAttestations?: {
|
|
3315
|
+
digest: string;
|
|
3316
|
+
contractId: string;
|
|
3317
|
+
compatible: true;
|
|
3318
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3319
|
+
}[] | undefined;
|
|
3320
|
+
contractBundles?: {
|
|
3321
|
+
id: string;
|
|
3322
|
+
digest: string;
|
|
3323
|
+
}[] | undefined;
|
|
3324
|
+
}>, {
|
|
3325
|
+
candidate: {
|
|
3326
|
+
id: string;
|
|
3327
|
+
createdAt: string;
|
|
3328
|
+
receiptDigest: string;
|
|
3329
|
+
sourceCommit: string;
|
|
3330
|
+
stagingRef: string;
|
|
3331
|
+
workflowRunId: string;
|
|
3332
|
+
};
|
|
3333
|
+
artifacts: {
|
|
3334
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3335
|
+
id: string;
|
|
3336
|
+
mediaType: string;
|
|
3337
|
+
identity: string;
|
|
3338
|
+
digest: string;
|
|
3339
|
+
size?: number | undefined;
|
|
3340
|
+
}[];
|
|
3341
|
+
schemaVersion: "treeseed.release-evidence/v1";
|
|
3342
|
+
compatibilityAttestations: {
|
|
3343
|
+
digest: string;
|
|
3344
|
+
contractId: string;
|
|
3345
|
+
compatible: true;
|
|
3346
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3347
|
+
}[];
|
|
3348
|
+
verification: {
|
|
3349
|
+
status: "passed";
|
|
3350
|
+
operations: string[];
|
|
3351
|
+
completedAt: string;
|
|
3352
|
+
};
|
|
3353
|
+
packages: {
|
|
3354
|
+
projectId: string;
|
|
3355
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3356
|
+
name: string;
|
|
3357
|
+
version: string;
|
|
3358
|
+
}[];
|
|
3359
|
+
contractBundles: {
|
|
3360
|
+
id: string;
|
|
3361
|
+
digest: string;
|
|
3362
|
+
}[];
|
|
3363
|
+
}, {
|
|
3364
|
+
candidate: {
|
|
3365
|
+
id: string;
|
|
3366
|
+
createdAt: string;
|
|
3367
|
+
receiptDigest: string;
|
|
3368
|
+
sourceCommit: string;
|
|
3369
|
+
stagingRef: string;
|
|
3370
|
+
workflowRunId: string;
|
|
3371
|
+
};
|
|
3372
|
+
artifacts: {
|
|
3373
|
+
kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
|
|
3374
|
+
id: string;
|
|
3375
|
+
mediaType: string;
|
|
3376
|
+
identity: string;
|
|
3377
|
+
digest: string;
|
|
3378
|
+
size?: number | undefined;
|
|
3379
|
+
}[];
|
|
3380
|
+
schemaVersion: "treeseed.release-evidence/v1";
|
|
3381
|
+
verification: {
|
|
3382
|
+
status: "passed";
|
|
3383
|
+
operations: string[];
|
|
3384
|
+
completedAt: string;
|
|
3385
|
+
};
|
|
3386
|
+
packages: {
|
|
3387
|
+
projectId: string;
|
|
3388
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3389
|
+
name: string;
|
|
3390
|
+
version: string;
|
|
3391
|
+
}[];
|
|
3392
|
+
compatibilityAttestations?: {
|
|
3393
|
+
digest: string;
|
|
3394
|
+
contractId: string;
|
|
3395
|
+
compatible: true;
|
|
3396
|
+
minimumBump: "none" | "patch" | "minor" | "major";
|
|
3397
|
+
}[] | undefined;
|
|
3398
|
+
contractBundles?: {
|
|
3399
|
+
id: string;
|
|
3400
|
+
digest: string;
|
|
3401
|
+
}[] | undefined;
|
|
3402
|
+
}>;
|
|
3144
3403
|
export type DevelopmentRuntime = z.infer<typeof developmentRuntimeSchema>;
|
|
3145
3404
|
export type DevelopmentTarget = z.infer<typeof developmentTargetSchema>;
|
|
3146
3405
|
export type DevelopmentSession = z.infer<typeof developmentSessionSchema>;
|
|
3147
3406
|
export type DevelopmentCandidate = z.infer<typeof developmentCandidateSchema>;
|
|
3148
3407
|
export type DevelopmentMode = z.infer<typeof developmentModeSchema>;
|
|
3149
3408
|
export type DevelopmentReaction = z.infer<typeof developmentReactionSchema>;
|
|
3409
|
+
export type ReleaseEvidence = z.infer<typeof releaseEvidenceSchema>;
|
|
@@ -140,6 +140,51 @@ const developmentCandidateSchema = z.object({
|
|
|
140
140
|
}).strict().superRefine((candidate, context) => {
|
|
141
141
|
if (candidate.source.some((source) => source.dirty) && candidate.promotable) context.addIssue({ code: z.ZodIssueCode.custom, path: ["promotable"], message: "Candidates containing dirty source cannot be promotable." });
|
|
142
142
|
if (candidate.verification.status !== "passed" && candidate.promotable) context.addIssue({ code: z.ZodIssueCode.custom, path: ["promotable"], message: "Only verified candidates can be promotable." });
|
|
143
|
+
if (candidate.promotable && candidate.source.some((source) => !Object.keys(candidate.dependencyGenerations).some((key) => key === source.projectId || key.startsWith(`${source.projectId}.`)))) {
|
|
144
|
+
context.addIssue({ code: z.ZodIssueCode.custom, path: ["dependencyGenerations"], message: "Promotable candidates must bind a completed generation for every source project." });
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
const releaseArtifactSchema = z.object({
|
|
148
|
+
id: identifier,
|
|
149
|
+
kind: z.enum(["npm-package", "oci-image", "archive", "executable", "sbom", "contract-bundle", "compatibility-attestation", "component-manifest", "compose", "provenance"]),
|
|
150
|
+
identity: z.string().min(1).max(2048),
|
|
151
|
+
digest,
|
|
152
|
+
mediaType: z.string().min(1).max(256),
|
|
153
|
+
size: z.number().int().nonnegative().optional()
|
|
154
|
+
}).strict();
|
|
155
|
+
const releaseEvidenceSchema = z.object({
|
|
156
|
+
schemaVersion: z.literal("treeseed.release-evidence/v1"),
|
|
157
|
+
candidate: z.object({
|
|
158
|
+
id: identifier,
|
|
159
|
+
receiptDigest: digest,
|
|
160
|
+
sourceCommit: gitCommit,
|
|
161
|
+
stagingRef: z.string().min(1).max(256),
|
|
162
|
+
workflowRunId: z.string().regex(/^[1-9][0-9]*$/u),
|
|
163
|
+
createdAt: z.string().datetime()
|
|
164
|
+
}).strict(),
|
|
165
|
+
packages: z.array(z.object({
|
|
166
|
+
projectId: identifier,
|
|
167
|
+
name: z.string().min(1).max(256),
|
|
168
|
+
version: z.string().min(1).max(128),
|
|
169
|
+
minimumBump: z.enum(["none", "patch", "minor", "major"])
|
|
170
|
+
}).strict()).min(1),
|
|
171
|
+
artifacts: z.array(releaseArtifactSchema).min(1),
|
|
172
|
+
contractBundles: z.array(z.object({ id: identifier, digest }).strict()).default([]),
|
|
173
|
+
compatibilityAttestations: z.array(z.object({ contractId: z.string().min(1), digest, compatible: z.literal(true), minimumBump: z.enum(["none", "patch", "minor", "major"]) }).strict()).default([]),
|
|
174
|
+
verification: z.object({
|
|
175
|
+
status: z.literal("passed"),
|
|
176
|
+
operations: z.array(z.string().min(1)).min(1),
|
|
177
|
+
completedAt: z.string().datetime()
|
|
178
|
+
}).strict()
|
|
179
|
+
}).strict().superRefine((evidence, context) => {
|
|
180
|
+
const identities = evidence.artifacts.map((artifact) => artifact.identity);
|
|
181
|
+
if (new Set(identities).size !== identities.length) context.addIssue({ code: z.ZodIssueCode.custom, path: ["artifacts"], message: "Release artifact identities must be unique." });
|
|
182
|
+
for (const bundle of evidence.contractBundles) {
|
|
183
|
+
if (!evidence.artifacts.some((artifact) => artifact.kind === "contract-bundle" && artifact.digest === bundle.digest)) context.addIssue({ code: z.ZodIssueCode.custom, path: ["contractBundles"], message: `Contract bundle ${bundle.id} is not present in artifact custody.` });
|
|
184
|
+
}
|
|
185
|
+
for (const attestation of evidence.compatibilityAttestations) {
|
|
186
|
+
if (!evidence.artifacts.some((artifact) => artifact.kind === "compatibility-attestation" && artifact.digest === attestation.digest)) context.addIssue({ code: z.ZodIssueCode.custom, path: ["compatibilityAttestations"], message: `Compatibility attestation ${attestation.contractId} is not present in artifact custody.` });
|
|
187
|
+
}
|
|
143
188
|
});
|
|
144
189
|
export {
|
|
145
190
|
developmentCandidateSchema,
|
|
@@ -149,5 +194,6 @@ export {
|
|
|
149
194
|
developmentSessionSchema,
|
|
150
195
|
developmentStatePolicySchema,
|
|
151
196
|
developmentTargetKindSchema,
|
|
152
|
-
developmentTargetSchema
|
|
197
|
+
developmentTargetSchema,
|
|
198
|
+
releaseEvidenceSchema
|
|
153
199
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/sdk",
|
|
3
|
-
"version": "0.13.0-rc.
|
|
3
|
+
"version": "0.13.0-rc.47",
|
|
4
4
|
"description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"release:verify": "npm run check:file-lengths && node --import tsx ./scripts/packages/release-verify.ts",
|
|
42
42
|
"release:publish": "node --import tsx ./scripts/packages/publish-package.ts",
|
|
43
43
|
"release:readback": "node --import tsx ./scripts/packages/verify-published-package.ts",
|
|
44
|
+
"release:verify-custody": "node --import tsx ./scripts/packages/verify-release-custody.ts",
|
|
44
45
|
"standards:baseline": "node --import tsx ./scripts/standards/acquire-accepted-baseline.ts",
|
|
45
46
|
"standards:build": "node --import tsx ./scripts/standards/build-contract-bundle.ts",
|
|
46
47
|
"standards:compatibility": "node --import tsx ./scripts/standards/compare-compatibility.ts",
|