refactor: make Module union named instead of alias, generate jsonschema
This commit is contained in:
parent
9b9ce841ff
commit
b72a16e91a
1 changed files with 88 additions and 83 deletions
|
|
@ -95,7 +95,12 @@ model ModuleList {
|
|||
modules: Array<Module>;
|
||||
}
|
||||
|
||||
alias Module = RepoModule | CustomModule | ImportedModule;
|
||||
@jsonSchema("module-v1.json")
|
||||
union Module {
|
||||
RepoModule,
|
||||
CustomModule,
|
||||
ImportedModule,
|
||||
}
|
||||
|
||||
model ModuleDefaults {
|
||||
/** Whether to disabling caching for this layer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue