init claude-code
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { toJSONSchema } from 'zod/v4'
|
||||
import { jsonStringify } from '../slowOperations.js'
|
||||
import { SettingsSchema } from './types.js'
|
||||
|
||||
export function generateSettingsJSONSchema(): string {
|
||||
const jsonSchema = toJSONSchema(SettingsSchema(), { unrepresentable: 'any' })
|
||||
return jsonStringify(jsonSchema, null, 2)
|
||||
}
|
||||
Reference in New Issue
Block a user