mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
7 lines
217 B
TypeScript
7 lines
217 B
TypeScript
import { zodToJsonSchema } from "zod-to-json-schema";
|
|
import { configValidator } from "./config.type";
|
|
|
|
const jsonSchema = zodToJsonSchema(configValidator);
|
|
|
|
console.write(`${JSON.stringify(jsonSchema, null, 4)}\n`);
|