chore: Add ModuleList, ModuleFull, StageList, and StageFull schemas
This commit is contained in:
parent
5b172c6282
commit
371dfb52df
1 changed files with 20 additions and 0 deletions
|
|
@ -56,6 +56,16 @@ model Recipe {
|
|||
modules: Array<Module>;
|
||||
}
|
||||
|
||||
@jsonSchema("stage-list-v1.json")
|
||||
model StageList {
|
||||
stages: Array<Stage>;
|
||||
}
|
||||
|
||||
@jsonSchema("stage-v1.json")
|
||||
model StageFull {
|
||||
...Record<Stage>;
|
||||
}
|
||||
|
||||
alias Stage = StageDefault | FromFile;
|
||||
|
||||
model StageDefault {
|
||||
|
|
@ -77,6 +87,16 @@ model StageDefault {
|
|||
modules: Array<Module>;
|
||||
};
|
||||
|
||||
@jsonSchema("module-list-v1.json")
|
||||
model ModuleList {
|
||||
modules: Array<Module>;
|
||||
}
|
||||
|
||||
@jsonSchema("module-v1.json")
|
||||
model ModuleFull {
|
||||
...Record<Module>;
|
||||
}
|
||||
|
||||
alias Module = RepoModule | CustomModule | FromFile;
|
||||
|
||||
model FromFile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue