feat(config): Add JSON schema for config

This commit is contained in:
Jesse Wierzbinski 2024-07-25 23:51:00 +02:00
parent d20988afa1
commit 7d1522cc1e
No known key found for this signature in database
5 changed files with 4023 additions and 2 deletions

View file

@ -0,0 +1,6 @@
import { zodToJsonSchema } from "zod-to-json-schema";
import { configValidator } from "./config.type";
const jsonSchema = zodToJsonSchema(configValidator);
console.write(`${JSON.stringify(jsonSchema, null, 4)}\n`);