mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 06:32:34 +00:00
Forgot some schemas + only generate schemas in util/schemas + add setup script
This commit is contained in:
10 files changed
+20
-61
No files matched your search
+4
-1
@@ -47,7 +47,10 @@ function modify(obj) {
|
||||
}
|
||||
|
||||
function main() {
|
||||
const program = TJS.programFromConfig("tsconfig.json");
|
||||
const program = TJS.programFromConfig(
|
||||
"tsconfig.json",
|
||||
walk(path.join(__dirname, "..", "src", "util", "schemas"))
|
||||
);
|
||||
const generator = TJS.buildGenerator(program, settings);
|
||||
if (!generator || !program) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user