@containerbase/base 14.42.0 → 14.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,6 +28,7 @@ export declare const ToolVersion: z.ZodObject<{
|
|
|
28
28
|
arch: z.ZodExactOptional<z.ZodString>;
|
|
29
29
|
distro: z.ZodExactOptional<z.ZodString>;
|
|
30
30
|
}, z.core.$strip>>>;
|
|
31
|
+
constraints: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31
32
|
}, z.core.$strip>;
|
|
32
33
|
/** The content of a `<tool>.json` file. */
|
|
33
34
|
export declare const ToolVersions: z.ZodObject<{
|
|
@@ -56,6 +57,7 @@ export declare const ToolVersions: z.ZodObject<{
|
|
|
56
57
|
arch: z.ZodExactOptional<z.ZodString>;
|
|
57
58
|
distro: z.ZodExactOptional<z.ZodString>;
|
|
58
59
|
}, z.core.$strip>>>;
|
|
60
|
+
constraints: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
61
|
}, z.core.$strip>>;
|
|
60
62
|
}, z.core.$strip>;
|
|
61
63
|
/** The content of a `<tool>/<version>.json` file: the files of one version. */
|
|
@@ -46,6 +46,12 @@ export const ToolVersion = z.object({
|
|
|
46
46
|
* `<tool>/<version>.json` ones
|
|
47
47
|
*/
|
|
48
48
|
files: z.array(ToolFile).min(1).exactOptional(),
|
|
49
|
+
/**
|
|
50
|
+
* the runtime constraint of this version per parent tool, like
|
|
51
|
+
* `{ node: '>=20.17.0' }`, as the raw string in the registry's syntax, only
|
|
52
|
+
* present when the registry has one
|
|
53
|
+
*/
|
|
54
|
+
constraints: z.record(z.string().min(1), z.string().min(1)).exactOptional(),
|
|
49
55
|
});
|
|
50
56
|
/**
|
|
51
57
|
* The url of the json schema of a published file, which identifies its format.
|
|
@@ -47,6 +47,12 @@ export interface ToolVersion {
|
|
|
47
47
|
* `<tool>/<version>.json` ones.
|
|
48
48
|
*/
|
|
49
49
|
files?: ToolFile[];
|
|
50
|
+
/**
|
|
51
|
+
* The runtime constraint of this version per parent tool, like
|
|
52
|
+
* `{ node: '>=20.17.0' }`, as the raw string in the registry's syntax, only
|
|
53
|
+
* present when the registry has one.
|
|
54
|
+
*/
|
|
55
|
+
constraints?: Record<string, string>;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* The content of a `<tool>.json` file.
|