@vellumai/cli 0.10.6 → 0.10.7-dev.202607072325.09ad030
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@vellumai/environments/tsconfig.json +1 -1
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +18 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +95 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +11 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +20 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/README.md +18 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/package.json +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/all-errors.test.ts +3 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object.test.ts +5 -5
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/partials.test.ts +3 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/errors.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/external.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/from-json-schema.ts +23 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/parse.ts +6 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/schemas.ts +151 -414
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/assignability.test.ts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/catch.test.ts +0 -50
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec.test.ts +1 -142
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/continuability.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/datetime.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/default.test.ts +0 -44
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/discriminated-unions.test.ts +1 -34
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error-utils.test.ts +2 -214
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/from-json-schema.test.ts +0 -161
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/function.test.ts +6 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/index.test.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/number.test.ts +0 -55
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/object.test.ts +6 -83
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/optional.test.ts +4 -114
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/partial.test.ts +1 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prefault.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/preprocess.test.ts +0 -69
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/record.test.ts +0 -85
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/recursive-types.test.ts +0 -49
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/refine.test.ts +0 -63
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string.test.ts +1 -50
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema.test.ts +15 -150
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/transform.test.ts +0 -17
- package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/union.test.ts +0 -54
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/api.ts +6 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/checks.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/core.ts +2 -17
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/errors.ts +24 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-processors.ts +18 -17
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/parse.ts +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/regexes.ts +1 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/schemas.ts +71 -263
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/uz.test.ts +0 -22
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/record-constructor.test.ts +0 -58
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/to-json-schema.ts +1 -10
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/util.ts +35 -52
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/versions.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/en.ts +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr.ts +8 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/index.ts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/it.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ka.ts +8 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uz.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/external.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/schemas.ts +25 -56
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/codec.test.ts +0 -19
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/index.test.ts +2 -32
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/object.test.ts +9 -9
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/recursive-types.test.ts +1 -51
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/string.test.ts +0 -5
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.js +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.cjs +16 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.js +16 -31
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.cjs +119 -358
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.cts +14 -42
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.ts +14 -42
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.js +118 -356
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.cjs +2 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.cts +5 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.ts +5 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.js +2 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.cts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.cjs +1 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.js +2 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.cjs +23 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.js +23 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.cjs +20 -16
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.js +20 -16
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.cjs +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.js +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.cjs +3 -9
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.cts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.ts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.js +1 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.cjs +65 -211
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.cts +1 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.ts +1 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.js +64 -210
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.cjs +1 -12
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.js +1 -12
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.cjs +30 -54
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.js +32 -55
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.cjs +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.cts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.js +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.cjs +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.js +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.cjs +7 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.js +7 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.cjs +1 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.cts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.ts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.js +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.cjs +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.js +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.cjs +8 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.js +8 -8
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.cjs +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.js +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.ts +0 -1
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.cjs +4 -41
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.cts +10 -28
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.ts +10 -28
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.js +4 -40
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/package.json +1 -2
- package/node_modules/@vellumai/local-mode/src/status.ts +84 -7
- package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
- package/package.json +1 -2
- package/src/__tests__/daemon-readiness-probe.test.ts +158 -0
- package/src/__tests__/provider-inference-parity.test.ts +57 -0
- package/src/__tests__/recover.test.ts +5 -1
- package/src/__tests__/upgrade-local.test.ts +4 -0
- package/src/__tests__/upgrade-wait-for-ready.test.ts +103 -0
- package/src/commands/restore.ts +31 -8
- package/src/commands/upgrade.ts +33 -2
- package/src/commands/wake.ts +80 -2
- package/src/lib/__tests__/local-ces.test.ts +104 -0
- package/src/lib/backup-ops.ts +59 -36
- package/src/lib/docker.ts +60 -25
- package/src/lib/http-client.ts +107 -11
- package/src/lib/local.ts +157 -74
- package/src/lib/process.ts +70 -30
- package/src/lib/provider-secrets.ts +40 -7
- package/src/lib/upgrade-lifecycle.ts +129 -25
- package/src/shared/provider-env-vars.ts +1 -0
- package/tsconfig.json +1 -1
- package/bun.lock +0 -411
- package/bunfig.toml +0 -6
- package/node_modules/@vellumai/environments/bun.lock +0 -24
- package/node_modules/@vellumai/local-mode/bun.lock +0 -32
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/node_modules/zod/src/v4/locales/el.ts +0 -121
- package/node_modules/zod/src/v4/locales/hr.ts +0 -131
- package/node_modules/zod/src/v4/locales/ro.ts +0 -129
- package/node_modules/zod/v4/classic/package.json +0 -7
- package/node_modules/zod/v4/core/package.json +0 -7
- package/node_modules/zod/v4/locales/el.cjs +0 -136
- package/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/node_modules/zod/v4/locales/el.js +0 -109
- package/node_modules/zod/v4/locales/hr.cjs +0 -149
- package/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/node_modules/zod/v4/locales/hr.js +0 -122
- package/node_modules/zod/v4/locales/package.json +0 -7
- package/node_modules/zod/v4/locales/ro.cjs +0 -146
- package/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/node_modules/zod/v4/locales/ro.js +0 -119
- package/node_modules/zod/v4/mini/package.json +0 -7
- package/node_modules/zod/v4/package.json +0 -7
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/LICENSE +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/locales/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/ZodError.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/datetime.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/ipv4.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/object.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/primitives.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/realworld.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/string.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/union.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/errors.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/external.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/enumUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/errorUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/parseUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/partialUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/typeAliases.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/util.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/locales/en.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/standard-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/Mocker.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/array.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/base.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/bigint.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/branded.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/catch.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/coerce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/complex.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/custom.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/date.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/deepmasking.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/default.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/description.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/enum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstparty.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/function.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/generics.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/instanceof.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/intersection.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.source.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/literal.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/map.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/masking.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/mocker.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nan.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nativeEnum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nullable.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/number.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-augmentation.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/optional.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parseUtil.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parser.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pickomit.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pipeline.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/preprocess.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/primitive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/promise.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/readonly.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/record.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/recursive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/refine.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/safeparse.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/set.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/string.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/transformer.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/tuple.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/unions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/validations.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/void.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/types.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/checks.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/coerce.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/compat.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/iso.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/apply.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/array.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/base.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/bigint.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/brand.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coerce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/custom.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/date.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/description.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/enum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/file.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/generics.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/hash.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/intersection.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/json.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/lazy.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/literal.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/map.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nan.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nullable.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pipe.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/primitive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/promise.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/readonly.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/registries.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/set.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/url.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/validations.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/void.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/config.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/doc.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-generator.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/registries.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/standard-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/extend.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/index.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/be.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/en.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/es.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/he.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/zsf.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ar.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/az.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/be.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/bg.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ca.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/cs.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/da.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/de.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/eo.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/es.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fa.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fi.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr-CA.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/he.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hu.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hy.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/id.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/is.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ja.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/kh.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/km.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ko.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/lt.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/mk.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ms.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/nl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/no.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ota.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ps.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pt.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ru.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sv.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ta.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/th.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/tr.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ua.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uk.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ur.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/vi.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/yo.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-CN.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-TW.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/checks.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/coerce.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/iso.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/parse.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/apply.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/assignability.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/brand.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/checks.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/computed.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/functions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/number.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4-mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.js +0 -0
package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/schemas.ts
RENAMED
|
@@ -8,65 +8,6 @@ import * as checks from "./checks.js";
|
|
|
8
8
|
import * as iso from "./iso.js";
|
|
9
9
|
import * as parse from "./parse.js";
|
|
10
10
|
|
|
11
|
-
// Lazy-bind builder methods.
|
|
12
|
-
//
|
|
13
|
-
// Builder methods (`.optional`, `.array`, `.refine`, ...) live as
|
|
14
|
-
// non-enumerable getters on each concrete schema constructor's
|
|
15
|
-
// prototype. On first access from an instance the getter allocates
|
|
16
|
-
// `fn.bind(this)` and caches it as an own property on that instance,
|
|
17
|
-
// so detached usage (`const m = schema.optional; m()`) still works
|
|
18
|
-
// and the per-instance allocation only happens for methods actually
|
|
19
|
-
// touched.
|
|
20
|
-
//
|
|
21
|
-
// One install per (prototype, group), memoized by `_installedGroups`.
|
|
22
|
-
const _installedGroups = /* @__PURE__ */ new WeakMap<object, Set<string>>();
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Methods of `T` reshaped so each body has `this: T` and matches the
|
|
26
|
-
* declared (args, return) of the corresponding interface method. Allows
|
|
27
|
-
* us to type-check inline method-shorthand bodies against the
|
|
28
|
-
* `ZodType` / `_ZodString` / etc. interface declarations.
|
|
29
|
-
*/
|
|
30
|
-
type _LazyMethodsOf<T> = Partial<{
|
|
31
|
-
[K in keyof T]: T[K] extends (...args: infer A) => infer R ? (this: T, ...args: A) => R : never;
|
|
32
|
-
}>;
|
|
33
|
-
|
|
34
|
-
function _installLazyMethods<T extends object>(inst: T, group: string, methods: _LazyMethodsOf<T>): void {
|
|
35
|
-
const proto = Object.getPrototypeOf(inst);
|
|
36
|
-
let installed = _installedGroups.get(proto);
|
|
37
|
-
if (!installed) {
|
|
38
|
-
installed = new Set();
|
|
39
|
-
_installedGroups.set(proto, installed);
|
|
40
|
-
}
|
|
41
|
-
if (installed.has(group)) return;
|
|
42
|
-
installed.add(group);
|
|
43
|
-
for (const key in methods) {
|
|
44
|
-
const fn = methods[key]!;
|
|
45
|
-
Object.defineProperty(proto, key, {
|
|
46
|
-
configurable: true,
|
|
47
|
-
enumerable: false,
|
|
48
|
-
get(this: any) {
|
|
49
|
-
const bound = fn.bind(this);
|
|
50
|
-
Object.defineProperty(this, key, {
|
|
51
|
-
configurable: true,
|
|
52
|
-
writable: true,
|
|
53
|
-
enumerable: true,
|
|
54
|
-
value: bound,
|
|
55
|
-
});
|
|
56
|
-
return bound;
|
|
57
|
-
},
|
|
58
|
-
set(this: any, v: unknown) {
|
|
59
|
-
Object.defineProperty(this, key, {
|
|
60
|
-
configurable: true,
|
|
61
|
-
writable: true,
|
|
62
|
-
enumerable: true,
|
|
63
|
-
value: v,
|
|
64
|
-
});
|
|
65
|
-
},
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
11
|
///////////////////////////////////////////
|
|
71
12
|
///////////////////////////////////////////
|
|
72
13
|
//////////// ////////////
|
|
@@ -153,8 +94,7 @@ export interface ZodType<
|
|
|
153
94
|
params?: string | core.$ZodCustomParams
|
|
154
95
|
): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
|
|
155
96
|
superRefine(
|
|
156
|
-
refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void
|
|
157
|
-
params?: core.$ZodSuperRefineParams
|
|
97
|
+
refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>
|
|
158
98
|
): this;
|
|
159
99
|
overwrite(fn: (x: core.output<this>) => core.output<this>): this;
|
|
160
100
|
|
|
@@ -227,16 +167,38 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
|
|
|
227
167
|
inst.type = def.type;
|
|
228
168
|
Object.defineProperty(inst, "_def", { value: def });
|
|
229
169
|
|
|
230
|
-
//
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
170
|
+
// base methods
|
|
171
|
+
inst.check = (...checks) => {
|
|
172
|
+
return inst.clone(
|
|
173
|
+
util.mergeDefs(def, {
|
|
174
|
+
checks: [
|
|
175
|
+
...(def.checks ?? []),
|
|
176
|
+
...checks.map((ch) =>
|
|
177
|
+
typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
|
|
178
|
+
),
|
|
179
|
+
],
|
|
180
|
+
}),
|
|
181
|
+
{
|
|
182
|
+
parent: true,
|
|
183
|
+
}
|
|
184
|
+
);
|
|
185
|
+
};
|
|
186
|
+
inst.with = inst.check;
|
|
187
|
+
inst.clone = (def, params) => core.clone(inst, def, params);
|
|
188
|
+
inst.brand = () => inst as any;
|
|
189
|
+
inst.register = ((reg: any, meta: any) => {
|
|
190
|
+
reg.add(inst, meta);
|
|
191
|
+
return inst;
|
|
192
|
+
}) as any;
|
|
193
|
+
|
|
194
|
+
// parsing
|
|
235
195
|
inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
|
|
236
196
|
inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
|
|
237
197
|
inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
|
|
238
198
|
inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
|
|
239
199
|
inst.spa = inst.safeParseAsync;
|
|
200
|
+
|
|
201
|
+
// encoding/decoding
|
|
240
202
|
inst.encode = (data, params) => parse.encode(inst, data, params);
|
|
241
203
|
inst.decode = (data, params) => parse.decode(inst, data, params);
|
|
242
204
|
inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
|
|
@@ -246,122 +208,53 @@ export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$construct
|
|
|
246
208
|
inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
|
|
247
209
|
inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
|
|
248
210
|
|
|
249
|
-
//
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
//
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
clone(
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
return this;
|
|
278
|
-
},
|
|
279
|
-
register(reg, meta) {
|
|
280
|
-
reg.add(this, meta);
|
|
281
|
-
return this;
|
|
282
|
-
},
|
|
283
|
-
refine(check, params) {
|
|
284
|
-
return this.check(refine(check, params));
|
|
285
|
-
},
|
|
286
|
-
superRefine(refinement, params) {
|
|
287
|
-
return this.check(superRefine(refinement, params));
|
|
288
|
-
},
|
|
289
|
-
overwrite(fn) {
|
|
290
|
-
return this.check(checks.overwrite(fn));
|
|
291
|
-
},
|
|
292
|
-
optional() {
|
|
293
|
-
return optional(this);
|
|
294
|
-
},
|
|
295
|
-
exactOptional() {
|
|
296
|
-
return exactOptional(this);
|
|
297
|
-
},
|
|
298
|
-
nullable() {
|
|
299
|
-
return nullable(this);
|
|
300
|
-
},
|
|
301
|
-
nullish() {
|
|
302
|
-
return optional(nullable(this));
|
|
303
|
-
},
|
|
304
|
-
nonoptional(params) {
|
|
305
|
-
return nonoptional(this, params);
|
|
306
|
-
},
|
|
307
|
-
array() {
|
|
308
|
-
return array(this);
|
|
309
|
-
},
|
|
310
|
-
or(arg) {
|
|
311
|
-
return union([this, arg]);
|
|
312
|
-
},
|
|
313
|
-
and(arg) {
|
|
314
|
-
return intersection(this, arg);
|
|
315
|
-
},
|
|
316
|
-
transform(tx) {
|
|
317
|
-
return pipe(this, transform(tx));
|
|
318
|
-
},
|
|
319
|
-
default(d) {
|
|
320
|
-
return _default(this, d);
|
|
321
|
-
},
|
|
322
|
-
prefault(d) {
|
|
323
|
-
return prefault(this, d);
|
|
324
|
-
},
|
|
325
|
-
catch(params) {
|
|
326
|
-
return _catch(this, params);
|
|
327
|
-
},
|
|
328
|
-
pipe(target) {
|
|
329
|
-
return pipe(this, target);
|
|
330
|
-
},
|
|
331
|
-
readonly() {
|
|
332
|
-
return readonly(this);
|
|
333
|
-
},
|
|
334
|
-
describe(description) {
|
|
335
|
-
const cl = this.clone();
|
|
336
|
-
core.globalRegistry.add(cl, { description });
|
|
337
|
-
return cl;
|
|
338
|
-
},
|
|
339
|
-
meta(...args: any[]): any {
|
|
340
|
-
// overloaded: meta() returns the registered metadata, meta(data)
|
|
341
|
-
// returns a clone with `data` registered. The mapped type picks
|
|
342
|
-
// up the second overload, so we accept variadic any-args and
|
|
343
|
-
// return `any` to satisfy both at runtime.
|
|
344
|
-
if (args.length === 0) return core.globalRegistry.get(this);
|
|
345
|
-
const cl = this.clone();
|
|
346
|
-
core.globalRegistry.add(cl, args[0]);
|
|
347
|
-
return cl;
|
|
348
|
-
},
|
|
349
|
-
isOptional() {
|
|
350
|
-
return this.safeParse(undefined).success;
|
|
351
|
-
},
|
|
352
|
-
isNullable() {
|
|
353
|
-
return this.safeParse(null).success;
|
|
354
|
-
},
|
|
355
|
-
apply(fn) {
|
|
356
|
-
return fn(this);
|
|
357
|
-
},
|
|
358
|
-
});
|
|
211
|
+
// refinements
|
|
212
|
+
inst.refine = (check, params) => inst.check(refine(check, params)) as never;
|
|
213
|
+
inst.superRefine = (refinement) => inst.check(superRefine(refinement));
|
|
214
|
+
inst.overwrite = (fn) => inst.check(checks.overwrite(fn));
|
|
215
|
+
|
|
216
|
+
// wrappers
|
|
217
|
+
inst.optional = () => optional(inst);
|
|
218
|
+
inst.exactOptional = () => exactOptional(inst);
|
|
219
|
+
inst.nullable = () => nullable(inst);
|
|
220
|
+
inst.nullish = () => optional(nullable(inst));
|
|
221
|
+
inst.nonoptional = (params) => nonoptional(inst, params);
|
|
222
|
+
inst.array = () => array(inst);
|
|
223
|
+
inst.or = (arg) => union([inst, arg]);
|
|
224
|
+
inst.and = (arg) => intersection(inst, arg);
|
|
225
|
+
inst.transform = (tx) => pipe(inst, transform(tx as any)) as never;
|
|
226
|
+
inst.default = (def) => _default(inst, def);
|
|
227
|
+
inst.prefault = (def) => prefault(inst, def);
|
|
228
|
+
// inst.coalesce = (def, params) => coalesce(inst, def, params);
|
|
229
|
+
inst.catch = (params) => _catch(inst, params);
|
|
230
|
+
inst.pipe = (target) => pipe(inst, target);
|
|
231
|
+
inst.readonly = () => readonly(inst);
|
|
232
|
+
|
|
233
|
+
// meta
|
|
234
|
+
inst.describe = (description) => {
|
|
235
|
+
const cl = inst.clone();
|
|
236
|
+
core.globalRegistry.add(cl, { description });
|
|
237
|
+
return cl;
|
|
238
|
+
};
|
|
359
239
|
Object.defineProperty(inst, "description", {
|
|
360
240
|
get() {
|
|
361
241
|
return core.globalRegistry.get(inst)?.description;
|
|
362
242
|
},
|
|
363
243
|
configurable: true,
|
|
364
244
|
});
|
|
245
|
+
inst.meta = (...args: any) => {
|
|
246
|
+
if (args.length === 0) {
|
|
247
|
+
return core.globalRegistry.get(inst);
|
|
248
|
+
}
|
|
249
|
+
const cl = inst.clone();
|
|
250
|
+
core.globalRegistry.add(cl, args[0]);
|
|
251
|
+
return cl as any;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
// helpers
|
|
255
|
+
inst.isOptional = () => inst.safeParse(undefined).success;
|
|
256
|
+
inst.isNullable = () => inst.safeParse(null).success;
|
|
257
|
+
inst.apply = (fn) => fn(inst);
|
|
365
258
|
return inst;
|
|
366
259
|
});
|
|
367
260
|
|
|
@@ -404,53 +297,24 @@ export const _ZodString: core.$constructor<_ZodString> = /*@__PURE__*/ core.$con
|
|
|
404
297
|
inst.minLength = bag.minimum ?? null;
|
|
405
298
|
inst.maxLength = bag.maximum ?? null;
|
|
406
299
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
},
|
|
426
|
-
length(...args) {
|
|
427
|
-
return this.check((checks.length as any)(...args));
|
|
428
|
-
},
|
|
429
|
-
nonempty(...args) {
|
|
430
|
-
return this.check((checks.minLength as any)(1, ...args));
|
|
431
|
-
},
|
|
432
|
-
lowercase(params) {
|
|
433
|
-
return this.check(checks.lowercase(params));
|
|
434
|
-
},
|
|
435
|
-
uppercase(params) {
|
|
436
|
-
return this.check(checks.uppercase(params));
|
|
437
|
-
},
|
|
438
|
-
trim() {
|
|
439
|
-
return this.check(checks.trim());
|
|
440
|
-
},
|
|
441
|
-
normalize(...args) {
|
|
442
|
-
return this.check(checks.normalize(...args));
|
|
443
|
-
},
|
|
444
|
-
toLowerCase() {
|
|
445
|
-
return this.check(checks.toLowerCase());
|
|
446
|
-
},
|
|
447
|
-
toUpperCase() {
|
|
448
|
-
return this.check(checks.toUpperCase());
|
|
449
|
-
},
|
|
450
|
-
slugify() {
|
|
451
|
-
return this.check(checks.slugify());
|
|
452
|
-
},
|
|
453
|
-
});
|
|
300
|
+
// validations
|
|
301
|
+
inst.regex = (...args) => inst.check(checks.regex(...args));
|
|
302
|
+
inst.includes = (...args) => inst.check(checks.includes(...args));
|
|
303
|
+
inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
|
|
304
|
+
inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
|
|
305
|
+
inst.min = (...args) => inst.check(checks.minLength(...args));
|
|
306
|
+
inst.max = (...args) => inst.check(checks.maxLength(...args));
|
|
307
|
+
inst.length = (...args) => inst.check(checks.length(...args));
|
|
308
|
+
inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
|
|
309
|
+
inst.lowercase = (params) => inst.check(checks.lowercase(params));
|
|
310
|
+
inst.uppercase = (params) => inst.check(checks.uppercase(params));
|
|
311
|
+
|
|
312
|
+
// transforms
|
|
313
|
+
inst.trim = () => inst.check(checks.trim());
|
|
314
|
+
inst.normalize = (...args) => inst.check(checks.normalize(...args));
|
|
315
|
+
inst.toLowerCase = () => inst.check(checks.toLowerCase());
|
|
316
|
+
inst.toUpperCase = () => inst.check(checks.toUpperCase());
|
|
317
|
+
inst.slugify = () => inst.check(checks.slugify());
|
|
454
318
|
});
|
|
455
319
|
|
|
456
320
|
export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
|
|
@@ -478,11 +342,7 @@ export interface ZodString extends _ZodString<core.$ZodStringInternals<string>>
|
|
|
478
342
|
nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
|
|
479
343
|
/** @deprecated Use `z.guid()` instead. */
|
|
480
344
|
guid(params?: string | core.$ZodCheckGUIDParams): this;
|
|
481
|
-
/**
|
|
482
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
483
|
-
* (timestamps embedded in the id). Use `z.cuid2()` instead.
|
|
484
|
-
* See https://github.com/paralleldrive/cuid.
|
|
485
|
-
*/
|
|
345
|
+
/** @deprecated Use `z.cuid()` instead. */
|
|
486
346
|
cuid(params?: string | core.$ZodCheckCUIDParams): this;
|
|
487
347
|
/** @deprecated Use `z.cuid2()` instead. */
|
|
488
348
|
cuid2(params?: string | core.$ZodCheckCUID2Params): this;
|
|
@@ -568,7 +428,7 @@ export const ZodString: core.$constructor<ZodString> = /*@__PURE__*/ core.$const
|
|
|
568
428
|
export function string(params?: string | core.$ZodStringParams): ZodString;
|
|
569
429
|
export function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
|
|
570
430
|
export function string(params?: string | core.$ZodStringParams): ZodString {
|
|
571
|
-
return core._string(ZodString, params);
|
|
431
|
+
return core._string(ZodString, params) as any;
|
|
572
432
|
}
|
|
573
433
|
|
|
574
434
|
// ZodStringFormat
|
|
@@ -656,7 +516,7 @@ export function url(params?: string | core.$ZodURLParams): ZodURL {
|
|
|
656
516
|
|
|
657
517
|
export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL {
|
|
658
518
|
return core._url(ZodURL, {
|
|
659
|
-
protocol:
|
|
519
|
+
protocol: /^https?$/,
|
|
660
520
|
hostname: core.regexes.domain,
|
|
661
521
|
...util.normalizeParams(params),
|
|
662
522
|
});
|
|
@@ -691,32 +551,15 @@ export function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID {
|
|
|
691
551
|
}
|
|
692
552
|
|
|
693
553
|
// ZodCUID
|
|
694
|
-
/**
|
|
695
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
696
|
-
* (timestamps embedded in the id). Use {@link ZodCUID2} instead.
|
|
697
|
-
* See https://github.com/paralleldrive/cuid.
|
|
698
|
-
*/
|
|
699
554
|
export interface ZodCUID extends ZodStringFormat<"cuid"> {
|
|
700
555
|
_zod: core.$ZodCUIDInternals;
|
|
701
556
|
}
|
|
702
|
-
/**
|
|
703
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
704
|
-
* (timestamps embedded in the id). Use {@link ZodCUID2} instead.
|
|
705
|
-
* See https://github.com/paralleldrive/cuid.
|
|
706
|
-
*/
|
|
707
557
|
export const ZodCUID: core.$constructor<ZodCUID> = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
|
|
708
558
|
// ZodStringFormat.init(inst, def);
|
|
709
559
|
core.$ZodCUID.init(inst, def);
|
|
710
560
|
ZodStringFormat.init(inst, def);
|
|
711
561
|
});
|
|
712
562
|
|
|
713
|
-
/**
|
|
714
|
-
* Validates a CUID v1 string.
|
|
715
|
-
*
|
|
716
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
717
|
-
* (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
|
|
718
|
-
* See https://github.com/paralleldrive/cuid.
|
|
719
|
-
*/
|
|
720
563
|
export function cuid(params?: string | core.$ZodCUIDParams): ZodCUID {
|
|
721
564
|
return core._cuid(ZodCUID, params);
|
|
722
565
|
}
|
|
@@ -1002,53 +845,23 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
|
|
|
1002
845
|
|
|
1003
846
|
inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
|
|
1004
847
|
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
return this.check(checks.lte(value, params));
|
|
1023
|
-
},
|
|
1024
|
-
int(params) {
|
|
1025
|
-
return this.check(int(params));
|
|
1026
|
-
},
|
|
1027
|
-
safe(params) {
|
|
1028
|
-
return this.check(int(params));
|
|
1029
|
-
},
|
|
1030
|
-
positive(params) {
|
|
1031
|
-
return this.check(checks.gt(0, params));
|
|
1032
|
-
},
|
|
1033
|
-
nonnegative(params) {
|
|
1034
|
-
return this.check(checks.gte(0, params));
|
|
1035
|
-
},
|
|
1036
|
-
negative(params) {
|
|
1037
|
-
return this.check(checks.lt(0, params));
|
|
1038
|
-
},
|
|
1039
|
-
nonpositive(params) {
|
|
1040
|
-
return this.check(checks.lte(0, params));
|
|
1041
|
-
},
|
|
1042
|
-
multipleOf(value, params) {
|
|
1043
|
-
return this.check(checks.multipleOf(value, params));
|
|
1044
|
-
},
|
|
1045
|
-
step(value, params) {
|
|
1046
|
-
return this.check(checks.multipleOf(value, params));
|
|
1047
|
-
},
|
|
1048
|
-
finite() {
|
|
1049
|
-
return this;
|
|
1050
|
-
},
|
|
1051
|
-
});
|
|
848
|
+
inst.gt = (value, params) => inst.check(checks.gt(value, params));
|
|
849
|
+
inst.gte = (value, params) => inst.check(checks.gte(value, params));
|
|
850
|
+
inst.min = (value, params) => inst.check(checks.gte(value, params));
|
|
851
|
+
inst.lt = (value, params) => inst.check(checks.lt(value, params));
|
|
852
|
+
inst.lte = (value, params) => inst.check(checks.lte(value, params));
|
|
853
|
+
inst.max = (value, params) => inst.check(checks.lte(value, params));
|
|
854
|
+
inst.int = (params) => inst.check(int(params));
|
|
855
|
+
inst.safe = (params) => inst.check(int(params));
|
|
856
|
+
inst.positive = (params) => inst.check(checks.gt(0, params));
|
|
857
|
+
inst.nonnegative = (params) => inst.check(checks.gte(0, params));
|
|
858
|
+
inst.negative = (params) => inst.check(checks.lt(0, params));
|
|
859
|
+
inst.nonpositive = (params) => inst.check(checks.lte(0, params));
|
|
860
|
+
inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
|
|
861
|
+
inst.step = (value, params) => inst.check(checks.multipleOf(value, params));
|
|
862
|
+
|
|
863
|
+
// inst.finite = (params) => inst.check(core.finite(params));
|
|
864
|
+
inst.finite = () => inst;
|
|
1052
865
|
|
|
1053
866
|
const bag = inst._zod.bag;
|
|
1054
867
|
inst.minValue =
|
|
@@ -1061,7 +874,7 @@ export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$const
|
|
|
1061
874
|
});
|
|
1062
875
|
|
|
1063
876
|
export function number(params?: string | core.$ZodNumberParams): ZodNumber {
|
|
1064
|
-
return core._number(ZodNumber, params);
|
|
877
|
+
return core._number(ZodNumber, params) as any;
|
|
1065
878
|
}
|
|
1066
879
|
|
|
1067
880
|
// ZodNumberFormat
|
|
@@ -1116,7 +929,7 @@ export const ZodBoolean: core.$constructor<ZodBoolean> = /*@__PURE__*/ core.$con
|
|
|
1116
929
|
});
|
|
1117
930
|
|
|
1118
931
|
export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
|
|
1119
|
-
return core._boolean(ZodBoolean, params);
|
|
932
|
+
return core._boolean(ZodBoolean, params) as any;
|
|
1120
933
|
}
|
|
1121
934
|
|
|
1122
935
|
// bigint
|
|
@@ -1167,7 +980,7 @@ export const ZodBigInt: core.$constructor<ZodBigInt> = /*@__PURE__*/ core.$const
|
|
|
1167
980
|
});
|
|
1168
981
|
|
|
1169
982
|
export function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt {
|
|
1170
|
-
return core._bigint(ZodBigInt, params);
|
|
983
|
+
return core._bigint(ZodBigInt, params) as any;
|
|
1171
984
|
}
|
|
1172
985
|
// bigint formats
|
|
1173
986
|
|
|
@@ -1330,24 +1143,13 @@ export const ZodArray: core.$constructor<ZodArray> = /*@__PURE__*/ core.$constru
|
|
|
1330
1143
|
ZodType.init(inst, def);
|
|
1331
1144
|
inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
|
|
1332
1145
|
|
|
1333
|
-
inst.element = def.element;
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
},
|
|
1341
|
-
max(n, params) {
|
|
1342
|
-
return this.check(checks.maxLength(n, params));
|
|
1343
|
-
},
|
|
1344
|
-
length(n, params) {
|
|
1345
|
-
return this.check(checks.length(n, params));
|
|
1346
|
-
},
|
|
1347
|
-
unwrap() {
|
|
1348
|
-
return this.element;
|
|
1349
|
-
},
|
|
1350
|
-
});
|
|
1146
|
+
inst.element = def.element as any;
|
|
1147
|
+
inst.min = (minLength, params) => inst.check(checks.minLength(minLength, params));
|
|
1148
|
+
inst.nonempty = (params) => inst.check(checks.minLength(1, params));
|
|
1149
|
+
inst.max = (maxLength, params) => inst.check(checks.maxLength(maxLength, params));
|
|
1150
|
+
inst.length = (len, params) => inst.check(checks.length(len, params));
|
|
1151
|
+
|
|
1152
|
+
inst.unwrap = () => inst.element;
|
|
1351
1153
|
});
|
|
1352
1154
|
|
|
1353
1155
|
export function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T> {
|
|
@@ -1396,11 +1198,11 @@ export interface ZodObject<
|
|
|
1396
1198
|
/** This is the default behavior. This method call is likely unnecessary. */
|
|
1397
1199
|
strip(): ZodObject<Shape, core.$strip>;
|
|
1398
1200
|
|
|
1399
|
-
extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape,
|
|
1201
|
+
extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, U>, Config>;
|
|
1400
1202
|
|
|
1401
1203
|
safeExtend<U extends core.$ZodLooseShape>(
|
|
1402
1204
|
shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>
|
|
1403
|
-
): ZodObject<util.Extend<Shape,
|
|
1205
|
+
): ZodObject<util.Extend<Shape, U>, Config>;
|
|
1404
1206
|
|
|
1405
1207
|
/**
|
|
1406
1208
|
* @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
|
|
@@ -1417,7 +1219,7 @@ export interface ZodObject<
|
|
|
1417
1219
|
|
|
1418
1220
|
partial(): ZodObject<
|
|
1419
1221
|
{
|
|
1420
|
-
|
|
1222
|
+
[k in keyof Shape]: ZodOptional<Shape[k]>;
|
|
1421
1223
|
},
|
|
1422
1224
|
Config
|
|
1423
1225
|
>;
|
|
@@ -1425,7 +1227,7 @@ export interface ZodObject<
|
|
|
1425
1227
|
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1426
1228
|
): ZodObject<
|
|
1427
1229
|
{
|
|
1428
|
-
|
|
1230
|
+
[k in keyof Shape]: k extends keyof M
|
|
1429
1231
|
? // Shape[k] extends OptionalInSchema
|
|
1430
1232
|
// ? Shape[k]
|
|
1431
1233
|
// :
|
|
@@ -1438,7 +1240,7 @@ export interface ZodObject<
|
|
|
1438
1240
|
// required
|
|
1439
1241
|
required(): ZodObject<
|
|
1440
1242
|
{
|
|
1441
|
-
|
|
1243
|
+
[k in keyof Shape]: ZodNonOptional<Shape[k]>;
|
|
1442
1244
|
},
|
|
1443
1245
|
Config
|
|
1444
1246
|
>;
|
|
@@ -1446,7 +1248,7 @@ export interface ZodObject<
|
|
|
1446
1248
|
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1447
1249
|
): ZodObject<
|
|
1448
1250
|
{
|
|
1449
|
-
|
|
1251
|
+
[k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
|
|
1450
1252
|
},
|
|
1451
1253
|
Config
|
|
1452
1254
|
>;
|
|
@@ -1461,47 +1263,24 @@ export const ZodObject: core.$constructor<ZodObject> = /*@__PURE__*/ core.$const
|
|
|
1461
1263
|
return def.shape;
|
|
1462
1264
|
});
|
|
1463
1265
|
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
},
|
|
1483
|
-
extend(incoming) {
|
|
1484
|
-
return util.extend(this, incoming);
|
|
1485
|
-
},
|
|
1486
|
-
safeExtend(incoming) {
|
|
1487
|
-
return util.safeExtend(this, incoming);
|
|
1488
|
-
},
|
|
1489
|
-
merge(other) {
|
|
1490
|
-
return util.merge(this, other);
|
|
1491
|
-
},
|
|
1492
|
-
pick(mask) {
|
|
1493
|
-
return util.pick(this, mask);
|
|
1494
|
-
},
|
|
1495
|
-
omit(mask) {
|
|
1496
|
-
return util.omit(this, mask);
|
|
1497
|
-
},
|
|
1498
|
-
partial(...args) {
|
|
1499
|
-
return util.partial(ZodOptional, this, args[0]);
|
|
1500
|
-
},
|
|
1501
|
-
required(...args) {
|
|
1502
|
-
return util.required(ZodNonOptional, this, args[0]);
|
|
1503
|
-
},
|
|
1504
|
-
});
|
|
1266
|
+
inst.keyof = () => _enum(Object.keys(inst._zod.def.shape)) as any;
|
|
1267
|
+
inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall as any as core.$ZodType }) as any;
|
|
1268
|
+
inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
1269
|
+
inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
1270
|
+
inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
|
|
1271
|
+
inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
|
|
1272
|
+
|
|
1273
|
+
inst.extend = (incoming: any) => {
|
|
1274
|
+
return util.extend(inst, incoming);
|
|
1275
|
+
};
|
|
1276
|
+
inst.safeExtend = (incoming: any) => {
|
|
1277
|
+
return util.safeExtend(inst, incoming);
|
|
1278
|
+
};
|
|
1279
|
+
inst.merge = (other) => util.merge(inst, other);
|
|
1280
|
+
inst.pick = (mask) => util.pick(inst, mask);
|
|
1281
|
+
inst.omit = (mask) => util.omit(inst, mask);
|
|
1282
|
+
inst.partial = (...args: any[]) => util.partial(ZodOptional, inst, args[0] as object);
|
|
1283
|
+
inst.required = (...args: any[]) => util.required(ZodNonOptional, inst, args[0] as object);
|
|
1505
1284
|
});
|
|
1506
1285
|
|
|
1507
1286
|
export function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(
|
|
@@ -1521,7 +1300,7 @@ export function object<T extends core.$ZodLooseShape = Partial<Record<never, cor
|
|
|
1521
1300
|
export function strictObject<T extends core.$ZodLooseShape>(
|
|
1522
1301
|
shape: T,
|
|
1523
1302
|
params?: string | core.$ZodObjectParams
|
|
1524
|
-
): ZodObject<
|
|
1303
|
+
): ZodObject<T, core.$strict> {
|
|
1525
1304
|
return new ZodObject({
|
|
1526
1305
|
type: "object",
|
|
1527
1306
|
shape,
|
|
@@ -1535,7 +1314,7 @@ export function strictObject<T extends core.$ZodLooseShape>(
|
|
|
1535
1314
|
export function looseObject<T extends core.$ZodLooseShape>(
|
|
1536
1315
|
shape: T,
|
|
1537
1316
|
params?: string | core.$ZodObjectParams
|
|
1538
|
-
): ZodObject<
|
|
1317
|
+
): ZodObject<T, core.$loose> {
|
|
1539
1318
|
return new ZodObject({
|
|
1540
1319
|
type: "object",
|
|
1541
1320
|
shape,
|
|
@@ -1617,7 +1396,7 @@ export const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion> = /
|
|
|
1617
1396
|
);
|
|
1618
1397
|
|
|
1619
1398
|
export function discriminatedUnion<
|
|
1620
|
-
Types extends readonly [core.$ZodTypeDiscriminable
|
|
1399
|
+
Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
|
|
1621
1400
|
Disc extends string,
|
|
1622
1401
|
>(
|
|
1623
1402
|
discriminator: Disc,
|
|
@@ -1729,15 +1508,6 @@ export function record<Key extends core.$ZodRecordKey, Value extends core.SomeTy
|
|
|
1729
1508
|
valueType: Value,
|
|
1730
1509
|
params?: string | core.$ZodRecordParams
|
|
1731
1510
|
): ZodRecord<Key, Value> {
|
|
1732
|
-
// v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
|
|
1733
|
-
if (!valueType || !(valueType as any)._zod) {
|
|
1734
|
-
return new ZodRecord({
|
|
1735
|
-
type: "record",
|
|
1736
|
-
keyType: string() as any,
|
|
1737
|
-
valueType: keyType as any as core.$ZodType,
|
|
1738
|
-
...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
|
|
1739
|
-
}) as any;
|
|
1740
|
-
}
|
|
1741
1511
|
return new ZodRecord({
|
|
1742
1512
|
type: "record",
|
|
1743
1513
|
keyType,
|
|
@@ -1932,7 +1702,7 @@ export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string
|
|
|
1932
1702
|
type: "enum",
|
|
1933
1703
|
entries,
|
|
1934
1704
|
...util.normalizeParams(params),
|
|
1935
|
-
}) as ZodEnum<T>;
|
|
1705
|
+
}) as any as ZodEnum<T>;
|
|
1936
1706
|
}
|
|
1937
1707
|
|
|
1938
1708
|
// ZodLiteral
|
|
@@ -2034,19 +1804,17 @@ export const ZodTransform: core.$constructor<ZodTransform> = /*@__PURE__*/ core.
|
|
|
2034
1804
|
if (output instanceof Promise) {
|
|
2035
1805
|
return output.then((output) => {
|
|
2036
1806
|
payload.value = output;
|
|
2037
|
-
payload.fallback = true;
|
|
2038
1807
|
return payload;
|
|
2039
1808
|
});
|
|
2040
1809
|
}
|
|
2041
1810
|
payload.value = output;
|
|
2042
|
-
payload.fallback = true;
|
|
2043
1811
|
return payload;
|
|
2044
1812
|
};
|
|
2045
1813
|
}
|
|
2046
1814
|
);
|
|
2047
1815
|
|
|
2048
1816
|
export function transform<I = unknown, O = I>(
|
|
2049
|
-
fn: (input: I, ctx: core
|
|
1817
|
+
fn: (input: I, ctx: core.ParsePayload) => O
|
|
2050
1818
|
): ZodTransform<Awaited<O>, I> {
|
|
2051
1819
|
return new ZodTransform({
|
|
2052
1820
|
type: "transform",
|
|
@@ -2352,33 +2120,6 @@ export function codec<const A extends core.SomeType, B extends core.SomeType = c
|
|
|
2352
2120
|
}) as any;
|
|
2353
2121
|
}
|
|
2354
2122
|
|
|
2355
|
-
export function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A> {
|
|
2356
|
-
const def = codec._zod.def;
|
|
2357
|
-
return new ZodCodec({
|
|
2358
|
-
type: "pipe",
|
|
2359
|
-
in: def.out as any,
|
|
2360
|
-
out: def.in as any,
|
|
2361
|
-
transform: def.reverseTransform as any,
|
|
2362
|
-
reverseTransform: def.transform as any,
|
|
2363
|
-
}) as any;
|
|
2364
|
-
}
|
|
2365
|
-
|
|
2366
|
-
// ZodPreprocess
|
|
2367
|
-
export interface ZodPreprocess<B extends core.SomeType = core.$ZodType>
|
|
2368
|
-
extends ZodPipe<core.$ZodTransform, B>,
|
|
2369
|
-
core.$ZodPreprocess<B> {
|
|
2370
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2371
|
-
_zod: core.$ZodPreprocessInternals<B>;
|
|
2372
|
-
def: core.$ZodPreprocessDef<B>;
|
|
2373
|
-
}
|
|
2374
|
-
export const ZodPreprocess: core.$constructor<ZodPreprocess> = /*@__PURE__*/ core.$constructor(
|
|
2375
|
-
"ZodPreprocess",
|
|
2376
|
-
(inst, def) => {
|
|
2377
|
-
ZodPipe.init(inst, def);
|
|
2378
|
-
core.$ZodPreprocess.init(inst, def);
|
|
2379
|
-
}
|
|
2380
|
-
);
|
|
2381
|
-
|
|
2382
2123
|
// ZodReadonly
|
|
2383
2124
|
export interface ZodReadonly<T extends core.SomeType = core.$ZodType>
|
|
2384
2125
|
extends _ZodType<core.$ZodReadonlyInternals<T>>,
|
|
@@ -2580,10 +2321,9 @@ export function refine<T>(
|
|
|
2580
2321
|
|
|
2581
2322
|
// superRefine
|
|
2582
2323
|
export function superRefine<T>(
|
|
2583
|
-
fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void
|
|
2584
|
-
params?: core.$ZodSuperRefineParams
|
|
2324
|
+
fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>
|
|
2585
2325
|
): core.$ZodCheck<T> {
|
|
2586
|
-
return core._superRefine(fn
|
|
2326
|
+
return core._superRefine(fn);
|
|
2587
2327
|
}
|
|
2588
2328
|
|
|
2589
2329
|
// Re-export describe and meta from core
|
|
@@ -2660,13 +2400,10 @@ export function json(params?: string | core.$ZodCustomParams): ZodJSONSchema {
|
|
|
2660
2400
|
|
|
2661
2401
|
// preprocess
|
|
2662
2402
|
|
|
2403
|
+
// /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
|
|
2663
2404
|
export function preprocess<A, U extends core.SomeType, B = unknown>(
|
|
2664
2405
|
fn: (arg: B, ctx: core.$RefinementCtx) => A,
|
|
2665
2406
|
schema: U
|
|
2666
|
-
):
|
|
2667
|
-
return
|
|
2668
|
-
type: "pipe",
|
|
2669
|
-
in: transform(fn as any) as any as core.$ZodTransform,
|
|
2670
|
-
out: schema as any as core.$ZodType,
|
|
2671
|
-
}) as any;
|
|
2407
|
+
): ZodPipe<ZodTransform<A, B>, U> {
|
|
2408
|
+
return pipe(transform(fn as any), schema as any) as any;
|
|
2672
2409
|
}
|