fix: Don't use Record for StageFull and ModuleFull

This commit is contained in:
Gerald Pinder 2024-10-12 14:09:13 -04:00
parent 371dfb52df
commit 88cde1e8f2

View file

@ -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;