full site update
This commit is contained in:
14
node_modules/zod-to-json-schema/dist/esm/parsers/never.js
generated
vendored
14
node_modules/zod-to-json-schema/dist/esm/parsers/never.js
generated
vendored
@@ -1,5 +1,11 @@
|
||||
export function parseNeverDef() {
|
||||
return {
|
||||
not: {},
|
||||
};
|
||||
import { parseAnyDef } from "./any.js";
|
||||
export function parseNeverDef(refs) {
|
||||
return refs.target === "openAi"
|
||||
? undefined
|
||||
: {
|
||||
not: parseAnyDef({
|
||||
...refs,
|
||||
currentPath: [...refs.currentPath, "not"],
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user