particle-os-schema/modules.tsp
2024-05-12 12:00:13 +03:00

21 lines
No EOL
401 B
Text

import "@typespec/json-schema";
using TypeSpec.JsonSchema;
alias module = rpmOstreeModule | fontsModule;
@jsonSchema()
model rpmOstreeModule {
type: "rpm-ostree",
repos: Array<string>,
install: Array<string>,
remove: Array<string>,
}
@jsonSchema()
model fontsModule {
type: "fonts",
fonts: {
"nerd-fonts": Array<string>,
"google-fonts": Array<string>
}
}