fix: Don't use Record for StageFull and ModuleFull
This commit is contained in:
parent
371dfb52df
commit
88cde1e8f2
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ model StageList {
|
||||||
|
|
||||||
@jsonSchema("stage-v1.json")
|
@jsonSchema("stage-v1.json")
|
||||||
model StageFull {
|
model StageFull {
|
||||||
...Record<Stage>;
|
...Stage;
|
||||||
}
|
}
|
||||||
|
|
||||||
alias Stage = StageDefault | FromFile;
|
alias Stage = StageDefault | FromFile;
|
||||||
|
|
@ -94,7 +94,7 @@ model ModuleList {
|
||||||
|
|
||||||
@jsonSchema("module-v1.json")
|
@jsonSchema("module-v1.json")
|
||||||
model ModuleFull {
|
model ModuleFull {
|
||||||
...Record<Module>;
|
...Module;
|
||||||
}
|
}
|
||||||
|
|
||||||
alias Module = RepoModule | CustomModule | FromFile;
|
alias Module = RepoModule | CustomModule | FromFile;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue