chore: Update schemas to version all types (#383)

This commit is contained in:
Gerald Pinder 2025-01-30 14:00:08 -05:00 committed by GitHub
parent 91fb8da525
commit d343201724
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 279 additions and 248 deletions

View file

@ -1,16 +1,17 @@
import "@typespec/json-schema";
using TypeSpec.JsonSchema;
@jsonSchema("/modules/script.json")
@jsonSchema("/modules/script-v1.json")
@jsonSchema("/modules/script-latest.json")
model ScriptModule {
/** The script module can be used to run arbitrary bash snippets and scripts at image build time.
* https://blue-build.org/reference/modules/script/
*/
type: "script";
/** The script module can be used to run arbitrary bash snippets and scripts at image build time.
* https://blue-build.org/reference/modules/script/
*/
type: "script" | "script@v1" | "script@latest";
/** List of bash one-liners to run. */
snippets?: Array<string>;
/** List of bash one-liners to run. */
snippets?: Array<string>;
/** List of script files to run. */
scripts?: Array<string>;
}
/** List of script files to run. */
scripts?: Array<string>;
}