mirror of
https://gitverse.ru/anarchic/claude-code
synced 2026-05-05 16:02:38 +00:00
new initial commit (history rewritten)
This commit is contained in:
commit
c1996f2e3b
1907 changed files with 514172 additions and 0 deletions
8
utils/settings/schemaOutput.ts
Normal file
8
utils/settings/schemaOutput.ts
Normal file
|
|
@ -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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue