@auto-ai/agent 2.1.104 → 2.1.106
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/dist/agent-office.html +336 -3
- package/dist/ws-test.html +314 -1
- package/lib/launcher-env.js +4 -0
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/.mcp.json +7 -5
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/boot.mjs +0 -11
- package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/index.mjs +4 -2
- package/package.json +6 -6
- package/tools-runtime/git-tool/index.cjs +1229 -485
- package/tools-runtime/schedule-tool/index.cjs +1229 -485
- package/mcps-runtime/claude-tuitui/package-lock.json +0 -1167
- package/skills-runtime/geelib/build.mjs +0 -15
- package/skills-runtime/geelib/cli/args.ts +0 -67
- package/skills-runtime/geelib/cli/auth.ts +0 -159
- package/skills-runtime/geelib/cli/client.ts +0 -56
- package/skills-runtime/geelib/cli/commands/comment.ts +0 -25
- package/skills-runtime/geelib/cli/commands/matter.ts +0 -167
- package/skills-runtime/geelib/cli/commands/poll.ts +0 -322
- package/skills-runtime/geelib/cli/commands/project.ts +0 -98
- package/skills-runtime/geelib/cli/commands/user.ts +0 -5
- package/skills-runtime/geelib/cli/index.ts +0 -171
- package/skills-runtime/geelib/node_modules/.package-lock.json +0 -67
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/README.md +0 -3
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/package.json +0 -20
- package/skills-runtime/geelib/node_modules/esbuild/LICENSE.md +0 -21
- package/skills-runtime/geelib/node_modules/esbuild/README.md +0 -3
- package/skills-runtime/geelib/node_modules/esbuild/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/esbuild/install.js +0 -289
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.d.ts +0 -716
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.js +0 -2242
- package/skills-runtime/geelib/node_modules/esbuild/package.json +0 -49
- package/skills-runtime/geelib/package-lock.json +0 -499
- package/skills-runtime/geelib/package.json +0 -12
- package/tools-runtime/code-tool/bun.lock +0 -15
- package/tools-runtime/code-tool/node_modules/zod/LICENSE +0 -21
- package/tools-runtime/code-tool/node_modules/zod/README.md +0 -191
- package/tools-runtime/code-tool/node_modules/zod/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/locales/index.cjs +0 -17
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/index.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/locales/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/mini/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/package.json +0 -135
- package/tools-runtime/code-tool/node_modules/zod/src/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/locales/index.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/src/mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/errors.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/src/v3/external.ts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/tools-runtime/code-tool/node_modules/zod/src/v3/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/tools-runtime/code-tool/node_modules/zod/src/v3/types.ts +0 -5138
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/external.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/api.ts +0 -1823
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/config.ts +0 -15
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/core.ts +0 -153
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/errors.ts +0 -455
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/index.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/regexes.ts +0 -190
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/schemas.ts +0 -4730
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/util.ts +0 -983
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/tools-runtime/code-tool/node_modules/zod/src/v4/index.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/el.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/en.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr.ts +0 -132
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hr.ts +0 -131
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/index.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ro.ts +0 -129
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uz.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/external.ts +0 -41
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
- package/tools-runtime/code-tool/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.js +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.cjs +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.js +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/external.cjs +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.cts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.ts +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/external.js +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.js +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v3/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.cjs +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v3/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v3/types.cjs +0 -3777
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.cts +0 -1034
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.ts +0 -1034
- package/tools-runtime/code-tool/node_modules/zod/v3/types.js +0 -3695
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.js +0 -17
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.cjs +0 -61
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.js +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.cjs +0 -74
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.js +0 -48
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.cjs +0 -73
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.cts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.js +0 -20
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.js +0 -599
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.cjs +0 -33
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.js +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.js +0 -30
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.cjs +0 -41
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.js +0 -15
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.cjs +0 -1511
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.cts +0 -767
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.ts +0 -767
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.js +0 -1395
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.cjs +0 -1227
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.cts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.ts +0 -325
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.js +0 -1087
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.cjs +0 -601
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.js +0 -575
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.cjs +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.cts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.ts +0 -70
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.js +0 -78
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.cjs +0 -39
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.js +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.cjs +0 -216
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.cts +0 -221
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.ts +0 -221
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.js +0 -185
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.cjs +0 -47
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.cts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.ts +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.js +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.js +0 -601
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/core/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.cjs +0 -131
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.js +0 -93
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.cjs +0 -172
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.cts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.ts +0 -85
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.js +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.cjs +0 -56
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.js +0 -51
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.cjs +0 -2270
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.cts +0 -1184
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.ts +0 -1184
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.js +0 -2239
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.js +0 -448
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.cjs +0 -734
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.cts +0 -200
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.ts +0 -200
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.js +0 -674
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.cjs +0 -8
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/index.cjs +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.cjs +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.js +0 -106
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.cjs +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.js +0 -105
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.cjs +0 -183
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.js +0 -156
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.cjs +0 -147
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.js +0 -120
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.js +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.cjs +0 -142
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.js +0 -115
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.cjs +0 -140
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.js +0 -113
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.cjs +0 -159
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.js +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.cjs +0 -141
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.js +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.cjs +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.js +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.cjs +0 -152
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.js +0 -125
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.cjs +0 -241
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.js +0 -214
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.cjs +0 -149
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.js +0 -122
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.cjs +0 -174
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.js +0 -147
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.cjs +0 -133
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.js +0 -106
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.cjs +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.cts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.ts +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.js +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.cjs +0 -139
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.js +0 -112
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.cjs +0 -138
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.js +0 -111
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.cjs +0 -230
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.js +0 -203
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.cjs +0 -141
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.js +0 -114
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.cjs +0 -146
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.js +0 -119
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.cjs +0 -183
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.js +0 -156
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.cjs +0 -132
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.js +0 -105
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.js +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.cjs +0 -137
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.js +0 -110
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.cjs +0 -135
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.js +0 -108
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.cjs +0 -52
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.js +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.cjs +0 -63
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.cts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.ts +0 -13
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.js +0 -14
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.cjs +0 -64
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.js +0 -34
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.cjs +0 -16
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.js +0 -1
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.cjs +0 -1083
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.cts +0 -445
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.ts +0 -445
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.js +0 -961
- package/tools-runtime/code-tool/node_modules/zod/v4/package.json +0 -7
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.cjs +0 -32
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.ts +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.js +0 -3
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/package.json +0 -7
- package/tools-runtime/git-tool/bun.lock +0 -15
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/cli.mjs +0 -0
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/state.mjs +0 -0
- /package/mcps-runtime/{claude-tuitui → claude-tuitui-channel}/server/tuitui-api.mjs +0 -0
|
@@ -59,7 +59,7 @@ var import_node_child_process2 = require("node:child_process");
|
|
|
59
59
|
var import_promises2 = require("node:fs/promises");
|
|
60
60
|
var import_node_path2 = require("node:path");
|
|
61
61
|
|
|
62
|
-
//
|
|
62
|
+
// node_modules/zod/v4/classic/external.js
|
|
63
63
|
var exports_external = {};
|
|
64
64
|
__export(exports_external, {
|
|
65
65
|
xor: () => xor,
|
|
@@ -161,6 +161,7 @@ __export(exports_external, {
|
|
|
161
161
|
iso: () => exports_iso,
|
|
162
162
|
ipv6: () => ipv62,
|
|
163
163
|
ipv4: () => ipv42,
|
|
164
|
+
invertCodec: () => invertCodec,
|
|
164
165
|
intersection: () => intersection,
|
|
165
166
|
int64: () => int64,
|
|
166
167
|
int32: () => int32,
|
|
@@ -239,6 +240,7 @@ __export(exports_external, {
|
|
|
239
240
|
ZodRealError: () => ZodRealError,
|
|
240
241
|
ZodReadonly: () => ZodReadonly,
|
|
241
242
|
ZodPromise: () => ZodPromise,
|
|
243
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
242
244
|
ZodPrefault: () => ZodPrefault,
|
|
243
245
|
ZodPipe: () => ZodPipe,
|
|
244
246
|
ZodOptional: () => ZodOptional,
|
|
@@ -300,7 +302,7 @@ __export(exports_external, {
|
|
|
300
302
|
$brand: () => $brand
|
|
301
303
|
});
|
|
302
304
|
|
|
303
|
-
//
|
|
305
|
+
// node_modules/zod/v4/core/index.js
|
|
304
306
|
var exports_core2 = {};
|
|
305
307
|
__export(exports_core2, {
|
|
306
308
|
version: () => version,
|
|
@@ -499,6 +501,7 @@ __export(exports_core2, {
|
|
|
499
501
|
$ZodRealError: () => $ZodRealError,
|
|
500
502
|
$ZodReadonly: () => $ZodReadonly,
|
|
501
503
|
$ZodPromise: () => $ZodPromise,
|
|
504
|
+
$ZodPreprocess: () => $ZodPreprocess,
|
|
502
505
|
$ZodPrefault: () => $ZodPrefault,
|
|
503
506
|
$ZodPipe: () => $ZodPipe,
|
|
504
507
|
$ZodOptional: () => $ZodOptional,
|
|
@@ -578,8 +581,9 @@ __export(exports_core2, {
|
|
|
578
581
|
$ZodAny: () => $ZodAny
|
|
579
582
|
});
|
|
580
583
|
|
|
581
|
-
//
|
|
582
|
-
var
|
|
584
|
+
// node_modules/zod/v4/core/core.js
|
|
585
|
+
var _a;
|
|
586
|
+
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
583
587
|
status: "aborted"
|
|
584
588
|
});
|
|
585
589
|
function $constructor(name, initializer, params) {
|
|
@@ -614,10 +618,10 @@ function $constructor(name, initializer, params) {
|
|
|
614
618
|
}
|
|
615
619
|
Object.defineProperty(Definition, "name", { value: name });
|
|
616
620
|
function _(def) {
|
|
617
|
-
var
|
|
621
|
+
var _a2;
|
|
618
622
|
const inst = params?.Parent ? new Definition : this;
|
|
619
623
|
init(inst, def);
|
|
620
|
-
(
|
|
624
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
621
625
|
for (const fn of inst._zod.deferred) {
|
|
622
626
|
fn();
|
|
623
627
|
}
|
|
@@ -648,13 +652,14 @@ class $ZodEncodeError extends Error {
|
|
|
648
652
|
this.name = "ZodEncodeError";
|
|
649
653
|
}
|
|
650
654
|
}
|
|
651
|
-
|
|
655
|
+
(_a = globalThis).__zod_globalConfig ?? (_a.__zod_globalConfig = {});
|
|
656
|
+
var globalConfig = globalThis.__zod_globalConfig;
|
|
652
657
|
function config(newConfig) {
|
|
653
658
|
if (newConfig)
|
|
654
659
|
Object.assign(globalConfig, newConfig);
|
|
655
660
|
return globalConfig;
|
|
656
661
|
}
|
|
657
|
-
//
|
|
662
|
+
// node_modules/zod/v4/core/util.js
|
|
658
663
|
var exports_util = {};
|
|
659
664
|
__export(exports_util, {
|
|
660
665
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -696,6 +701,7 @@ __export(exports_util, {
|
|
|
696
701
|
floatSafeRemainder: () => floatSafeRemainder,
|
|
697
702
|
finalizeIssue: () => finalizeIssue,
|
|
698
703
|
extend: () => extend,
|
|
704
|
+
explicitlyAborted: () => explicitlyAborted,
|
|
699
705
|
escapeRegex: () => escapeRegex,
|
|
700
706
|
esc: () => esc,
|
|
701
707
|
defineLazy: () => defineLazy,
|
|
@@ -766,21 +772,14 @@ function cleanRegex(source) {
|
|
|
766
772
|
return source.slice(start, end);
|
|
767
773
|
}
|
|
768
774
|
function floatSafeRemainder(val, step) {
|
|
769
|
-
const
|
|
770
|
-
const
|
|
771
|
-
|
|
772
|
-
if (
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
}
|
|
778
|
-
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
|
779
|
-
const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
|
|
780
|
-
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
781
|
-
return valInt % stepInt / 10 ** decCount;
|
|
782
|
-
}
|
|
783
|
-
var EVALUATING = Symbol("evaluating");
|
|
775
|
+
const ratio = val / step;
|
|
776
|
+
const roundedRatio = Math.round(ratio);
|
|
777
|
+
const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
|
|
778
|
+
if (Math.abs(ratio - roundedRatio) < tolerance)
|
|
779
|
+
return 0;
|
|
780
|
+
return ratio - roundedRatio;
|
|
781
|
+
}
|
|
782
|
+
var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
784
783
|
function defineLazy(object, key, getter) {
|
|
785
784
|
let value = undefined;
|
|
786
785
|
Object.defineProperty(object, key, {
|
|
@@ -858,7 +857,10 @@ var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace :
|
|
|
858
857
|
function isObject(data) {
|
|
859
858
|
return typeof data === "object" && data !== null && !Array.isArray(data);
|
|
860
859
|
}
|
|
861
|
-
var allowsEval = cached(() => {
|
|
860
|
+
var allowsEval = /* @__PURE__ */ cached(() => {
|
|
861
|
+
if (globalConfig.jitless) {
|
|
862
|
+
return false;
|
|
863
|
+
}
|
|
862
864
|
if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
|
|
863
865
|
return false;
|
|
864
866
|
}
|
|
@@ -891,6 +893,10 @@ function shallowClone(o) {
|
|
|
891
893
|
return { ...o };
|
|
892
894
|
if (Array.isArray(o))
|
|
893
895
|
return [...o];
|
|
896
|
+
if (o instanceof Map)
|
|
897
|
+
return new Map(o);
|
|
898
|
+
if (o instanceof Set)
|
|
899
|
+
return new Set(o);
|
|
894
900
|
return o;
|
|
895
901
|
}
|
|
896
902
|
function numKeys(data) {
|
|
@@ -946,8 +952,15 @@ var getParsedType = (data) => {
|
|
|
946
952
|
throw new Error(`Unknown data type: ${t}`);
|
|
947
953
|
}
|
|
948
954
|
};
|
|
949
|
-
var propertyKeyTypes = new Set(["string", "number", "symbol"]);
|
|
950
|
-
var primitiveTypes = new Set([
|
|
955
|
+
var propertyKeyTypes = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
|
|
956
|
+
var primitiveTypes = /* @__PURE__ */ new Set([
|
|
957
|
+
"string",
|
|
958
|
+
"number",
|
|
959
|
+
"bigint",
|
|
960
|
+
"boolean",
|
|
961
|
+
"symbol",
|
|
962
|
+
"undefined"
|
|
963
|
+
]);
|
|
951
964
|
function escapeRegex(str) {
|
|
952
965
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
953
966
|
}
|
|
@@ -1116,6 +1129,9 @@ function safeExtend(schema, shape) {
|
|
|
1116
1129
|
return clone(schema, def);
|
|
1117
1130
|
}
|
|
1118
1131
|
function merge(a, b) {
|
|
1132
|
+
if (a._zod.def.checks?.length) {
|
|
1133
|
+
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
1134
|
+
}
|
|
1119
1135
|
const def = mergeDefs(a._zod.def, {
|
|
1120
1136
|
get shape() {
|
|
1121
1137
|
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
@@ -1125,7 +1141,7 @@ function merge(a, b) {
|
|
|
1125
1141
|
get catchall() {
|
|
1126
1142
|
return b._zod.def.catchall;
|
|
1127
1143
|
},
|
|
1128
|
-
checks: []
|
|
1144
|
+
checks: b._zod.def.checks ?? []
|
|
1129
1145
|
});
|
|
1130
1146
|
return clone(a, def);
|
|
1131
1147
|
}
|
|
@@ -1208,10 +1224,20 @@ function aborted(x, startIndex = 0) {
|
|
|
1208
1224
|
}
|
|
1209
1225
|
return false;
|
|
1210
1226
|
}
|
|
1227
|
+
function explicitlyAborted(x, startIndex = 0) {
|
|
1228
|
+
if (x.aborted === true)
|
|
1229
|
+
return true;
|
|
1230
|
+
for (let i = startIndex;i < x.issues.length; i++) {
|
|
1231
|
+
if (x.issues[i]?.continue === false) {
|
|
1232
|
+
return true;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
return false;
|
|
1236
|
+
}
|
|
1211
1237
|
function prefixIssues(path, issues) {
|
|
1212
1238
|
return issues.map((iss) => {
|
|
1213
|
-
var
|
|
1214
|
-
(
|
|
1239
|
+
var _a2;
|
|
1240
|
+
(_a2 = iss).path ?? (_a2.path = []);
|
|
1215
1241
|
iss.path.unshift(path);
|
|
1216
1242
|
return iss;
|
|
1217
1243
|
});
|
|
@@ -1220,17 +1246,14 @@ function unwrapMessage(message) {
|
|
|
1220
1246
|
return typeof message === "string" ? message : message?.message;
|
|
1221
1247
|
}
|
|
1222
1248
|
function finalizeIssue(iss, ctx, config2) {
|
|
1223
|
-
const
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
delete full.continue;
|
|
1230
|
-
if (!ctx?.reportInput) {
|
|
1231
|
-
delete full.input;
|
|
1249
|
+
const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
|
|
1250
|
+
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
1251
|
+
rest.path ?? (rest.path = []);
|
|
1252
|
+
rest.message = message;
|
|
1253
|
+
if (ctx?.reportInput) {
|
|
1254
|
+
rest.input = _input;
|
|
1232
1255
|
}
|
|
1233
|
-
return
|
|
1256
|
+
return rest;
|
|
1234
1257
|
}
|
|
1235
1258
|
function getSizableOrigin(input) {
|
|
1236
1259
|
if (input instanceof Set)
|
|
@@ -1328,7 +1351,7 @@ class Class {
|
|
|
1328
1351
|
constructor(..._args) {}
|
|
1329
1352
|
}
|
|
1330
1353
|
|
|
1331
|
-
//
|
|
1354
|
+
// node_modules/zod/v4/core/errors.js
|
|
1332
1355
|
var initializer = (inst, def) => {
|
|
1333
1356
|
inst.name = "$ZodError";
|
|
1334
1357
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1362,30 +1385,33 @@ function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
|
1362
1385
|
}
|
|
1363
1386
|
function formatError(error, mapper = (issue2) => issue2.message) {
|
|
1364
1387
|
const fieldErrors = { _errors: [] };
|
|
1365
|
-
const processError = (error2) => {
|
|
1388
|
+
const processError = (error2, path = []) => {
|
|
1366
1389
|
for (const issue2 of error2.issues) {
|
|
1367
1390
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1368
|
-
issue2.errors.map((issues) => processError({ issues }));
|
|
1391
|
+
issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
|
|
1369
1392
|
} else if (issue2.code === "invalid_key") {
|
|
1370
|
-
processError({ issues: issue2.issues });
|
|
1393
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1371
1394
|
} else if (issue2.code === "invalid_element") {
|
|
1372
|
-
processError({ issues: issue2.issues });
|
|
1373
|
-
} else if (issue2.path.length === 0) {
|
|
1374
|
-
fieldErrors._errors.push(mapper(issue2));
|
|
1395
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1375
1396
|
} else {
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1397
|
+
const fullpath = [...path, ...issue2.path];
|
|
1398
|
+
if (fullpath.length === 0) {
|
|
1399
|
+
fieldErrors._errors.push(mapper(issue2));
|
|
1400
|
+
} else {
|
|
1401
|
+
let curr = fieldErrors;
|
|
1402
|
+
let i = 0;
|
|
1403
|
+
while (i < fullpath.length) {
|
|
1404
|
+
const el = fullpath[i];
|
|
1405
|
+
const terminal = i === fullpath.length - 1;
|
|
1406
|
+
if (!terminal) {
|
|
1407
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
1408
|
+
} else {
|
|
1409
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
1410
|
+
curr[el]._errors.push(mapper(issue2));
|
|
1411
|
+
}
|
|
1412
|
+
curr = curr[el];
|
|
1413
|
+
i++;
|
|
1386
1414
|
}
|
|
1387
|
-
curr = curr[el];
|
|
1388
|
-
i++;
|
|
1389
1415
|
}
|
|
1390
1416
|
}
|
|
1391
1417
|
}
|
|
@@ -1396,14 +1422,14 @@ function formatError(error, mapper = (issue2) => issue2.message) {
|
|
|
1396
1422
|
function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
1397
1423
|
const result = { errors: [] };
|
|
1398
1424
|
const processError = (error2, path = []) => {
|
|
1399
|
-
var
|
|
1425
|
+
var _a2, _b;
|
|
1400
1426
|
for (const issue2 of error2.issues) {
|
|
1401
1427
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1402
|
-
issue2.errors.map((issues) => processError({ issues }, issue2.path));
|
|
1428
|
+
issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
|
|
1403
1429
|
} else if (issue2.code === "invalid_key") {
|
|
1404
|
-
processError({ issues: issue2.issues }, issue2.path);
|
|
1430
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1405
1431
|
} else if (issue2.code === "invalid_element") {
|
|
1406
|
-
processError({ issues: issue2.issues }, issue2.path);
|
|
1432
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1407
1433
|
} else {
|
|
1408
1434
|
const fullpath = [...path, ...issue2.path];
|
|
1409
1435
|
if (fullpath.length === 0) {
|
|
@@ -1417,7 +1443,7 @@ function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
|
1417
1443
|
const terminal = i === fullpath.length - 1;
|
|
1418
1444
|
if (typeof el === "string") {
|
|
1419
1445
|
curr.properties ?? (curr.properties = {});
|
|
1420
|
-
(
|
|
1446
|
+
(_a2 = curr.properties)[el] ?? (_a2[el] = { errors: [] });
|
|
1421
1447
|
curr = curr.properties[el];
|
|
1422
1448
|
} else {
|
|
1423
1449
|
curr.items ?? (curr.items = []);
|
|
@@ -1465,9 +1491,9 @@ function prettifyError(error) {
|
|
|
1465
1491
|
`);
|
|
1466
1492
|
}
|
|
1467
1493
|
|
|
1468
|
-
//
|
|
1494
|
+
// node_modules/zod/v4/core/parse.js
|
|
1469
1495
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1470
|
-
const ctx = _ctx ?
|
|
1496
|
+
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
1471
1497
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1472
1498
|
if (result instanceof Promise) {
|
|
1473
1499
|
throw new $ZodAsyncError;
|
|
@@ -1481,7 +1507,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
1481
1507
|
};
|
|
1482
1508
|
var parse = /* @__PURE__ */ _parse($ZodRealError);
|
|
1483
1509
|
var _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
|
|
1484
|
-
const ctx = _ctx ?
|
|
1510
|
+
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
1485
1511
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1486
1512
|
if (result instanceof Promise)
|
|
1487
1513
|
result = await result;
|
|
@@ -1506,7 +1532,7 @@ var _safeParse = (_Err) => (schema, value, _ctx) => {
|
|
|
1506
1532
|
};
|
|
1507
1533
|
var safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
|
|
1508
1534
|
var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1509
|
-
const ctx = _ctx ?
|
|
1535
|
+
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
1510
1536
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1511
1537
|
if (result instanceof Promise)
|
|
1512
1538
|
result = await result;
|
|
@@ -1517,7 +1543,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1517
1543
|
};
|
|
1518
1544
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
1519
1545
|
var _encode = (_Err) => (schema, value, _ctx) => {
|
|
1520
|
-
const ctx = _ctx ?
|
|
1546
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1521
1547
|
return _parse(_Err)(schema, value, ctx);
|
|
1522
1548
|
};
|
|
1523
1549
|
var encode = /* @__PURE__ */ _encode($ZodRealError);
|
|
@@ -1526,7 +1552,7 @@ var _decode = (_Err) => (schema, value, _ctx) => {
|
|
|
1526
1552
|
};
|
|
1527
1553
|
var decode = /* @__PURE__ */ _decode($ZodRealError);
|
|
1528
1554
|
var _encodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1529
|
-
const ctx = _ctx ?
|
|
1555
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1530
1556
|
return _parseAsync(_Err)(schema, value, ctx);
|
|
1531
1557
|
};
|
|
1532
1558
|
var encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
|
|
@@ -1535,7 +1561,7 @@ var _decodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1535
1561
|
};
|
|
1536
1562
|
var decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
|
|
1537
1563
|
var _safeEncode = (_Err) => (schema, value, _ctx) => {
|
|
1538
|
-
const ctx = _ctx ?
|
|
1564
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1539
1565
|
return _safeParse(_Err)(schema, value, ctx);
|
|
1540
1566
|
};
|
|
1541
1567
|
var safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
|
|
@@ -1544,7 +1570,7 @@ var _safeDecode = (_Err) => (schema, value, _ctx) => {
|
|
|
1544
1570
|
};
|
|
1545
1571
|
var safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
|
|
1546
1572
|
var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1547
|
-
const ctx = _ctx ?
|
|
1573
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1548
1574
|
return _safeParseAsync(_Err)(schema, value, ctx);
|
|
1549
1575
|
};
|
|
1550
1576
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
|
|
@@ -1552,7 +1578,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1552
1578
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1553
1579
|
};
|
|
1554
1580
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1555
|
-
//
|
|
1581
|
+
// node_modules/zod/v4/core/regexes.js
|
|
1556
1582
|
var exports_regexes = {};
|
|
1557
1583
|
__export(exports_regexes, {
|
|
1558
1584
|
xid: () => xid,
|
|
@@ -1592,6 +1618,7 @@ __export(exports_regexes, {
|
|
|
1592
1618
|
ipv4: () => ipv4,
|
|
1593
1619
|
integer: () => integer,
|
|
1594
1620
|
idnEmail: () => idnEmail,
|
|
1621
|
+
httpProtocol: () => httpProtocol,
|
|
1595
1622
|
html5Email: () => html5Email,
|
|
1596
1623
|
hostname: () => hostname,
|
|
1597
1624
|
hex: () => hex,
|
|
@@ -1614,7 +1641,7 @@ __export(exports_regexes, {
|
|
|
1614
1641
|
base64url: () => base64url,
|
|
1615
1642
|
base64: () => base64
|
|
1616
1643
|
});
|
|
1617
|
-
var cuid = /^[cC][
|
|
1644
|
+
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
1618
1645
|
var cuid2 = /^[0-9a-z]+$/;
|
|
1619
1646
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
1620
1647
|
var xid = /^[0-9a-vA-V]{20}$/;
|
|
@@ -1653,6 +1680,7 @@ var base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/
|
|
|
1653
1680
|
var base64url = /^[A-Za-z0-9_-]*$/;
|
|
1654
1681
|
var hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
|
|
1655
1682
|
var domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
|
|
1683
|
+
var httpProtocol = /^https?$/;
|
|
1656
1684
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
1657
1685
|
var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
1658
1686
|
var date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
|
|
@@ -1709,12 +1737,12 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1709
1737
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1710
1738
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1711
1739
|
|
|
1712
|
-
//
|
|
1740
|
+
// node_modules/zod/v4/core/checks.js
|
|
1713
1741
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1714
|
-
var
|
|
1742
|
+
var _a2;
|
|
1715
1743
|
inst._zod ?? (inst._zod = {});
|
|
1716
1744
|
inst._zod.def = def;
|
|
1717
|
-
(
|
|
1745
|
+
(_a2 = inst._zod).onattach ?? (_a2.onattach = []);
|
|
1718
1746
|
});
|
|
1719
1747
|
var numericOriginMap = {
|
|
1720
1748
|
number: "number",
|
|
@@ -1780,8 +1808,8 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
|
|
|
1780
1808
|
var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
|
|
1781
1809
|
$ZodCheck.init(inst, def);
|
|
1782
1810
|
inst._zod.onattach.push((inst2) => {
|
|
1783
|
-
var
|
|
1784
|
-
(
|
|
1811
|
+
var _a2;
|
|
1812
|
+
(_a2 = inst2._zod.bag).multipleOf ?? (_a2.multipleOf = def.value);
|
|
1785
1813
|
});
|
|
1786
1814
|
inst._zod.check = (payload) => {
|
|
1787
1815
|
if (typeof payload.value !== typeof def.value)
|
|
@@ -1914,9 +1942,9 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
|
|
|
1914
1942
|
};
|
|
1915
1943
|
});
|
|
1916
1944
|
var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
|
|
1917
|
-
var
|
|
1945
|
+
var _a2;
|
|
1918
1946
|
$ZodCheck.init(inst, def);
|
|
1919
|
-
(
|
|
1947
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1920
1948
|
const val = payload.value;
|
|
1921
1949
|
return !nullish(val) && val.size !== undefined;
|
|
1922
1950
|
});
|
|
@@ -1942,9 +1970,9 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
|
|
|
1942
1970
|
};
|
|
1943
1971
|
});
|
|
1944
1972
|
var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
|
|
1945
|
-
var
|
|
1973
|
+
var _a2;
|
|
1946
1974
|
$ZodCheck.init(inst, def);
|
|
1947
|
-
(
|
|
1975
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1948
1976
|
const val = payload.value;
|
|
1949
1977
|
return !nullish(val) && val.size !== undefined;
|
|
1950
1978
|
});
|
|
@@ -1970,9 +1998,9 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
|
|
|
1970
1998
|
};
|
|
1971
1999
|
});
|
|
1972
2000
|
var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
|
|
1973
|
-
var
|
|
2001
|
+
var _a2;
|
|
1974
2002
|
$ZodCheck.init(inst, def);
|
|
1975
|
-
(
|
|
2003
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1976
2004
|
const val = payload.value;
|
|
1977
2005
|
return !nullish(val) && val.size !== undefined;
|
|
1978
2006
|
});
|
|
@@ -2000,9 +2028,9 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
|
|
|
2000
2028
|
};
|
|
2001
2029
|
});
|
|
2002
2030
|
var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
2003
|
-
var
|
|
2031
|
+
var _a2;
|
|
2004
2032
|
$ZodCheck.init(inst, def);
|
|
2005
|
-
(
|
|
2033
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
2006
2034
|
const val = payload.value;
|
|
2007
2035
|
return !nullish(val) && val.length !== undefined;
|
|
2008
2036
|
});
|
|
@@ -2029,9 +2057,9 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
|
|
|
2029
2057
|
};
|
|
2030
2058
|
});
|
|
2031
2059
|
var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
2032
|
-
var
|
|
2060
|
+
var _a2;
|
|
2033
2061
|
$ZodCheck.init(inst, def);
|
|
2034
|
-
(
|
|
2062
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
2035
2063
|
const val = payload.value;
|
|
2036
2064
|
return !nullish(val) && val.length !== undefined;
|
|
2037
2065
|
});
|
|
@@ -2058,9 +2086,9 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
|
|
|
2058
2086
|
};
|
|
2059
2087
|
});
|
|
2060
2088
|
var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
2061
|
-
var
|
|
2089
|
+
var _a2;
|
|
2062
2090
|
$ZodCheck.init(inst, def);
|
|
2063
|
-
(
|
|
2091
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
2064
2092
|
const val = payload.value;
|
|
2065
2093
|
return !nullish(val) && val.length !== undefined;
|
|
2066
2094
|
});
|
|
@@ -2089,7 +2117,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
2089
2117
|
};
|
|
2090
2118
|
});
|
|
2091
2119
|
var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
2092
|
-
var
|
|
2120
|
+
var _a2, _b;
|
|
2093
2121
|
$ZodCheck.init(inst, def);
|
|
2094
2122
|
inst._zod.onattach.push((inst2) => {
|
|
2095
2123
|
const bag = inst2._zod.bag;
|
|
@@ -2100,7 +2128,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
|
|
|
2100
2128
|
}
|
|
2101
2129
|
});
|
|
2102
2130
|
if (def.pattern)
|
|
2103
|
-
(
|
|
2131
|
+
(_a2 = inst._zod).check ?? (_a2.check = (payload) => {
|
|
2104
2132
|
def.pattern.lastIndex = 0;
|
|
2105
2133
|
if (def.pattern.test(payload.value))
|
|
2106
2134
|
return;
|
|
@@ -2256,7 +2284,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2256
2284
|
};
|
|
2257
2285
|
});
|
|
2258
2286
|
|
|
2259
|
-
//
|
|
2287
|
+
// node_modules/zod/v4/core/doc.js
|
|
2260
2288
|
class Doc {
|
|
2261
2289
|
constructor(args = []) {
|
|
2262
2290
|
this.content = [];
|
|
@@ -2294,16 +2322,16 @@ class Doc {
|
|
|
2294
2322
|
}
|
|
2295
2323
|
}
|
|
2296
2324
|
|
|
2297
|
-
//
|
|
2325
|
+
// node_modules/zod/v4/core/versions.js
|
|
2298
2326
|
var version = {
|
|
2299
2327
|
major: 4,
|
|
2300
|
-
minor:
|
|
2301
|
-
patch:
|
|
2328
|
+
minor: 4,
|
|
2329
|
+
patch: 3
|
|
2302
2330
|
};
|
|
2303
2331
|
|
|
2304
|
-
//
|
|
2332
|
+
// node_modules/zod/v4/core/schemas.js
|
|
2305
2333
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2306
|
-
var
|
|
2334
|
+
var _a2;
|
|
2307
2335
|
inst ?? (inst = {});
|
|
2308
2336
|
inst._zod.def = def;
|
|
2309
2337
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -2318,7 +2346,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
2318
2346
|
}
|
|
2319
2347
|
}
|
|
2320
2348
|
if (checks.length === 0) {
|
|
2321
|
-
(
|
|
2349
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
2322
2350
|
inst._zod.deferred?.push(() => {
|
|
2323
2351
|
inst._zod.run = inst._zod.parse;
|
|
2324
2352
|
});
|
|
@@ -2328,6 +2356,8 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
2328
2356
|
let asyncResult;
|
|
2329
2357
|
for (const ch of checks2) {
|
|
2330
2358
|
if (ch._zod.def.when) {
|
|
2359
|
+
if (explicitlyAborted(payload))
|
|
2360
|
+
continue;
|
|
2331
2361
|
const shouldRun = ch._zod.def.when(payload);
|
|
2332
2362
|
if (!shouldRun)
|
|
2333
2363
|
continue;
|
|
@@ -2467,6 +2497,19 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
2467
2497
|
inst._zod.check = (payload) => {
|
|
2468
2498
|
try {
|
|
2469
2499
|
const trimmed = payload.value.trim();
|
|
2500
|
+
if (!def.normalize && def.protocol?.source === httpProtocol.source) {
|
|
2501
|
+
if (!/^https?:\/\//i.test(trimmed)) {
|
|
2502
|
+
payload.issues.push({
|
|
2503
|
+
code: "invalid_format",
|
|
2504
|
+
format: "url",
|
|
2505
|
+
note: "Invalid URL format",
|
|
2506
|
+
input: payload.value,
|
|
2507
|
+
inst,
|
|
2508
|
+
continue: !def.abort
|
|
2509
|
+
});
|
|
2510
|
+
return;
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2470
2513
|
const url = new URL(trimmed);
|
|
2471
2514
|
if (def.hostname) {
|
|
2472
2515
|
def.hostname.lastIndex = 0;
|
|
@@ -2620,6 +2663,8 @@ var $ZodCIDRv6 = /* @__PURE__ */ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
|
2620
2663
|
function isValidBase64(data) {
|
|
2621
2664
|
if (data === "")
|
|
2622
2665
|
return true;
|
|
2666
|
+
if (/\s/.test(data))
|
|
2667
|
+
return false;
|
|
2623
2668
|
if (data.length % 4 !== 0)
|
|
2624
2669
|
return false;
|
|
2625
2670
|
try {
|
|
@@ -2809,8 +2854,6 @@ var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) =>
|
|
|
2809
2854
|
$ZodType.init(inst, def);
|
|
2810
2855
|
inst._zod.pattern = _undefined;
|
|
2811
2856
|
inst._zod.values = new Set([undefined]);
|
|
2812
|
-
inst._zod.optin = "optional";
|
|
2813
|
-
inst._zod.optout = "optional";
|
|
2814
2857
|
inst._zod.parse = (payload, _ctx) => {
|
|
2815
2858
|
const input = payload.value;
|
|
2816
2859
|
if (typeof input === "undefined")
|
|
@@ -2938,15 +2981,27 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
2938
2981
|
return payload;
|
|
2939
2982
|
};
|
|
2940
2983
|
});
|
|
2941
|
-
function handlePropertyResult(result, final, key, input, isOptionalOut) {
|
|
2984
|
+
function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
|
|
2985
|
+
const isPresent = key in input;
|
|
2942
2986
|
if (result.issues.length) {
|
|
2943
|
-
if (isOptionalOut && !
|
|
2987
|
+
if (isOptionalIn && isOptionalOut && !isPresent) {
|
|
2944
2988
|
return;
|
|
2945
2989
|
}
|
|
2946
2990
|
final.issues.push(...prefixIssues(key, result.issues));
|
|
2947
2991
|
}
|
|
2992
|
+
if (!isPresent && !isOptionalIn) {
|
|
2993
|
+
if (!result.issues.length) {
|
|
2994
|
+
final.issues.push({
|
|
2995
|
+
code: "invalid_type",
|
|
2996
|
+
expected: "nonoptional",
|
|
2997
|
+
input: undefined,
|
|
2998
|
+
path: [key]
|
|
2999
|
+
});
|
|
3000
|
+
}
|
|
3001
|
+
return;
|
|
3002
|
+
}
|
|
2948
3003
|
if (result.value === undefined) {
|
|
2949
|
-
if (
|
|
3004
|
+
if (isPresent) {
|
|
2950
3005
|
final.value[key] = undefined;
|
|
2951
3006
|
}
|
|
2952
3007
|
} else {
|
|
@@ -2974,8 +3029,11 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
2974
3029
|
const keySet = def.keySet;
|
|
2975
3030
|
const _catchall = def.catchall._zod;
|
|
2976
3031
|
const t = _catchall.def.type;
|
|
3032
|
+
const isOptionalIn = _catchall.optin === "optional";
|
|
2977
3033
|
const isOptionalOut = _catchall.optout === "optional";
|
|
2978
3034
|
for (const key in input) {
|
|
3035
|
+
if (key === "__proto__")
|
|
3036
|
+
continue;
|
|
2979
3037
|
if (keySet.has(key))
|
|
2980
3038
|
continue;
|
|
2981
3039
|
if (t === "never") {
|
|
@@ -2984,9 +3042,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
2984
3042
|
}
|
|
2985
3043
|
const r = _catchall.run({ value: input[key], issues: [] }, ctx);
|
|
2986
3044
|
if (r instanceof Promise) {
|
|
2987
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
3045
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
2988
3046
|
} else {
|
|
2989
|
-
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
3047
|
+
handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
2990
3048
|
}
|
|
2991
3049
|
}
|
|
2992
3050
|
if (unrecognized.length) {
|
|
@@ -3052,12 +3110,13 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
3052
3110
|
const shape = value.shape;
|
|
3053
3111
|
for (const key of value.keys) {
|
|
3054
3112
|
const el = shape[key];
|
|
3113
|
+
const isOptionalIn = el._zod.optin === "optional";
|
|
3055
3114
|
const isOptionalOut = el._zod.optout === "optional";
|
|
3056
3115
|
const r = el._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3057
3116
|
if (r instanceof Promise) {
|
|
3058
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
3117
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
3059
3118
|
} else {
|
|
3060
|
-
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
3119
|
+
handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
3061
3120
|
}
|
|
3062
3121
|
}
|
|
3063
3122
|
if (!catchall) {
|
|
@@ -3088,9 +3147,10 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
3088
3147
|
const id = ids[key];
|
|
3089
3148
|
const k = esc(key);
|
|
3090
3149
|
const schema = shape[key];
|
|
3150
|
+
const isOptionalIn = schema?._zod?.optin === "optional";
|
|
3091
3151
|
const isOptionalOut = schema?._zod?.optout === "optional";
|
|
3092
3152
|
doc.write(`const ${id} = ${parseStr(key)};`);
|
|
3093
|
-
if (isOptionalOut) {
|
|
3153
|
+
if (isOptionalIn && isOptionalOut) {
|
|
3094
3154
|
doc.write(`
|
|
3095
3155
|
if (${id}.issues.length) {
|
|
3096
3156
|
if (${k} in input) {
|
|
@@ -3109,6 +3169,33 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
3109
3169
|
newResult[${k}] = ${id}.value;
|
|
3110
3170
|
}
|
|
3111
3171
|
|
|
3172
|
+
`);
|
|
3173
|
+
} else if (!isOptionalIn) {
|
|
3174
|
+
doc.write(`
|
|
3175
|
+
const ${id}_present = ${k} in input;
|
|
3176
|
+
if (${id}.issues.length) {
|
|
3177
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
3178
|
+
...iss,
|
|
3179
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
3180
|
+
})));
|
|
3181
|
+
}
|
|
3182
|
+
if (!${id}_present && !${id}.issues.length) {
|
|
3183
|
+
payload.issues.push({
|
|
3184
|
+
code: "invalid_type",
|
|
3185
|
+
expected: "nonoptional",
|
|
3186
|
+
input: undefined,
|
|
3187
|
+
path: [${k}]
|
|
3188
|
+
});
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
if (${id}_present) {
|
|
3192
|
+
if (${id}.value === undefined) {
|
|
3193
|
+
newResult[${k}] = undefined;
|
|
3194
|
+
} else {
|
|
3195
|
+
newResult[${k}] = ${id}.value;
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
|
|
3112
3199
|
`);
|
|
3113
3200
|
} else {
|
|
3114
3201
|
doc.write(`
|
|
@@ -3202,10 +3289,9 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
|
|
|
3202
3289
|
}
|
|
3203
3290
|
return;
|
|
3204
3291
|
});
|
|
3205
|
-
const
|
|
3206
|
-
const first = def.options[0]._zod.run;
|
|
3292
|
+
const first = def.options.length === 1 ? def.options[0]._zod.run : null;
|
|
3207
3293
|
inst._zod.parse = (payload, ctx) => {
|
|
3208
|
-
if (
|
|
3294
|
+
if (first) {
|
|
3209
3295
|
return first(payload, ctx);
|
|
3210
3296
|
}
|
|
3211
3297
|
let async = false;
|
|
@@ -3258,10 +3344,9 @@ function handleExclusiveUnionResults(results, final, inst, ctx) {
|
|
|
3258
3344
|
var $ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
|
|
3259
3345
|
$ZodUnion.init(inst, def);
|
|
3260
3346
|
def.inclusive = false;
|
|
3261
|
-
const
|
|
3262
|
-
const first = def.options[0]._zod.run;
|
|
3347
|
+
const first = def.options.length === 1 ? def.options[0]._zod.run : null;
|
|
3263
3348
|
inst._zod.parse = (payload, ctx) => {
|
|
3264
|
-
if (
|
|
3349
|
+
if (first) {
|
|
3265
3350
|
return first(payload, ctx);
|
|
3266
3351
|
}
|
|
3267
3352
|
let async = false;
|
|
@@ -3336,7 +3421,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
3336
3421
|
if (opt) {
|
|
3337
3422
|
return opt._zod.run(payload, ctx);
|
|
3338
3423
|
}
|
|
3339
|
-
if (def.unionFallback) {
|
|
3424
|
+
if (def.unionFallback || ctx.direction === "backward") {
|
|
3340
3425
|
return _super(payload, ctx);
|
|
3341
3426
|
}
|
|
3342
3427
|
payload.issues.push({
|
|
@@ -3344,6 +3429,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
3344
3429
|
errors: [],
|
|
3345
3430
|
note: "No matching discriminator",
|
|
3346
3431
|
discriminator: def.discriminator,
|
|
3432
|
+
options: Array.from(disc.value.keys()),
|
|
3347
3433
|
input,
|
|
3348
3434
|
path: [def.discriminator],
|
|
3349
3435
|
inst
|
|
@@ -3465,64 +3551,96 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
3465
3551
|
}
|
|
3466
3552
|
payload.value = [];
|
|
3467
3553
|
const proms = [];
|
|
3468
|
-
const
|
|
3469
|
-
const
|
|
3554
|
+
const optinStart = getTupleOptStart(items, "optin");
|
|
3555
|
+
const optoutStart = getTupleOptStart(items, "optout");
|
|
3470
3556
|
if (!def.rest) {
|
|
3471
|
-
|
|
3472
|
-
const tooSmall = input.length < optStart - 1;
|
|
3473
|
-
if (tooBig || tooSmall) {
|
|
3557
|
+
if (input.length < optinStart) {
|
|
3474
3558
|
payload.issues.push({
|
|
3475
|
-
|
|
3559
|
+
code: "too_small",
|
|
3560
|
+
minimum: optinStart,
|
|
3561
|
+
inclusive: true,
|
|
3476
3562
|
input,
|
|
3477
3563
|
inst,
|
|
3478
3564
|
origin: "array"
|
|
3479
3565
|
});
|
|
3480
3566
|
return payload;
|
|
3481
3567
|
}
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3568
|
+
if (input.length > items.length) {
|
|
3569
|
+
payload.issues.push({
|
|
3570
|
+
code: "too_big",
|
|
3571
|
+
maximum: items.length,
|
|
3572
|
+
inclusive: true,
|
|
3573
|
+
input,
|
|
3574
|
+
inst,
|
|
3575
|
+
origin: "array"
|
|
3576
|
+
});
|
|
3489
3577
|
}
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
}, ctx);
|
|
3494
|
-
if (
|
|
3495
|
-
proms.push(
|
|
3578
|
+
}
|
|
3579
|
+
const itemResults = new Array(items.length);
|
|
3580
|
+
for (let i = 0;i < items.length; i++) {
|
|
3581
|
+
const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
|
|
3582
|
+
if (r instanceof Promise) {
|
|
3583
|
+
proms.push(r.then((rr) => {
|
|
3584
|
+
itemResults[i] = rr;
|
|
3585
|
+
}));
|
|
3496
3586
|
} else {
|
|
3497
|
-
|
|
3587
|
+
itemResults[i] = r;
|
|
3498
3588
|
}
|
|
3499
3589
|
}
|
|
3500
3590
|
if (def.rest) {
|
|
3591
|
+
let i = items.length - 1;
|
|
3501
3592
|
const rest = input.slice(items.length);
|
|
3502
3593
|
for (const el of rest) {
|
|
3503
3594
|
i++;
|
|
3504
|
-
const result = def.rest._zod.run({
|
|
3505
|
-
value: el,
|
|
3506
|
-
issues: []
|
|
3507
|
-
}, ctx);
|
|
3595
|
+
const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
|
|
3508
3596
|
if (result instanceof Promise) {
|
|
3509
|
-
proms.push(result.then((
|
|
3597
|
+
proms.push(result.then((r) => handleTupleResult(r, payload, i)));
|
|
3510
3598
|
} else {
|
|
3511
3599
|
handleTupleResult(result, payload, i);
|
|
3512
3600
|
}
|
|
3513
3601
|
}
|
|
3514
3602
|
}
|
|
3515
|
-
if (proms.length)
|
|
3516
|
-
return Promise.all(proms).then(() => payload);
|
|
3517
|
-
|
|
3603
|
+
if (proms.length) {
|
|
3604
|
+
return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
|
|
3605
|
+
}
|
|
3606
|
+
return handleTupleResults(itemResults, payload, items, input, optoutStart);
|
|
3518
3607
|
};
|
|
3519
3608
|
});
|
|
3609
|
+
function getTupleOptStart(items, key) {
|
|
3610
|
+
for (let i = items.length - 1;i >= 0; i--) {
|
|
3611
|
+
if (items[i]._zod[key] !== "optional")
|
|
3612
|
+
return i + 1;
|
|
3613
|
+
}
|
|
3614
|
+
return 0;
|
|
3615
|
+
}
|
|
3520
3616
|
function handleTupleResult(result, final, index) {
|
|
3521
3617
|
if (result.issues.length) {
|
|
3522
3618
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
3523
3619
|
}
|
|
3524
3620
|
final.value[index] = result.value;
|
|
3525
3621
|
}
|
|
3622
|
+
function handleTupleResults(itemResults, final, items, input, optoutStart) {
|
|
3623
|
+
for (let i = 0;i < items.length; i++) {
|
|
3624
|
+
const r = itemResults[i];
|
|
3625
|
+
const isPresent = i < input.length;
|
|
3626
|
+
if (r.issues.length) {
|
|
3627
|
+
if (!isPresent && i >= optoutStart) {
|
|
3628
|
+
final.value.length = i;
|
|
3629
|
+
break;
|
|
3630
|
+
}
|
|
3631
|
+
final.issues.push(...prefixIssues(i, r.issues));
|
|
3632
|
+
}
|
|
3633
|
+
final.value[i] = r.value;
|
|
3634
|
+
}
|
|
3635
|
+
for (let i = final.value.length - 1;i >= input.length; i--) {
|
|
3636
|
+
if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
|
|
3637
|
+
final.value.length = i;
|
|
3638
|
+
} else {
|
|
3639
|
+
break;
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
return final;
|
|
3643
|
+
}
|
|
3526
3644
|
var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
3527
3645
|
$ZodType.init(inst, def);
|
|
3528
3646
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -3544,19 +3662,35 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3544
3662
|
for (const key of values) {
|
|
3545
3663
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
3546
3664
|
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
3665
|
+
const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3666
|
+
if (keyResult instanceof Promise) {
|
|
3667
|
+
throw new Error("Async schemas not supported in object keys currently");
|
|
3668
|
+
}
|
|
3669
|
+
if (keyResult.issues.length) {
|
|
3670
|
+
payload.issues.push({
|
|
3671
|
+
code: "invalid_key",
|
|
3672
|
+
origin: "record",
|
|
3673
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
3674
|
+
input: key,
|
|
3675
|
+
path: [key],
|
|
3676
|
+
inst
|
|
3677
|
+
});
|
|
3678
|
+
continue;
|
|
3679
|
+
}
|
|
3680
|
+
const outKey = keyResult.value;
|
|
3547
3681
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3548
3682
|
if (result instanceof Promise) {
|
|
3549
3683
|
proms.push(result.then((result2) => {
|
|
3550
3684
|
if (result2.issues.length) {
|
|
3551
3685
|
payload.issues.push(...prefixIssues(key, result2.issues));
|
|
3552
3686
|
}
|
|
3553
|
-
payload.value[
|
|
3687
|
+
payload.value[outKey] = result2.value;
|
|
3554
3688
|
}));
|
|
3555
3689
|
} else {
|
|
3556
3690
|
if (result.issues.length) {
|
|
3557
3691
|
payload.issues.push(...prefixIssues(key, result.issues));
|
|
3558
3692
|
}
|
|
3559
|
-
payload.value[
|
|
3693
|
+
payload.value[outKey] = result.value;
|
|
3560
3694
|
}
|
|
3561
3695
|
}
|
|
3562
3696
|
}
|
|
@@ -3580,6 +3714,8 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3580
3714
|
for (const key of Reflect.ownKeys(input)) {
|
|
3581
3715
|
if (key === "__proto__")
|
|
3582
3716
|
continue;
|
|
3717
|
+
if (!Object.prototype.propertyIsEnumerable.call(input, key))
|
|
3718
|
+
continue;
|
|
3583
3719
|
let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3584
3720
|
if (keyResult instanceof Promise) {
|
|
3585
3721
|
throw new Error("Async schemas not supported in object keys currently");
|
|
@@ -3784,6 +3920,7 @@ var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
|
|
|
3784
3920
|
});
|
|
3785
3921
|
var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
3786
3922
|
$ZodType.init(inst, def);
|
|
3923
|
+
inst._zod.optin = "optional";
|
|
3787
3924
|
inst._zod.parse = (payload, ctx) => {
|
|
3788
3925
|
if (ctx.direction === "backward") {
|
|
3789
3926
|
throw new $ZodEncodeError(inst.constructor.name);
|
|
@@ -3793,6 +3930,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
3793
3930
|
const output = _out instanceof Promise ? _out : Promise.resolve(_out);
|
|
3794
3931
|
return output.then((output2) => {
|
|
3795
3932
|
payload.value = output2;
|
|
3933
|
+
payload.fallback = true;
|
|
3796
3934
|
return payload;
|
|
3797
3935
|
});
|
|
3798
3936
|
}
|
|
@@ -3800,11 +3938,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
3800
3938
|
throw new $ZodAsyncError;
|
|
3801
3939
|
}
|
|
3802
3940
|
payload.value = _out;
|
|
3941
|
+
payload.fallback = true;
|
|
3803
3942
|
return payload;
|
|
3804
3943
|
};
|
|
3805
3944
|
});
|
|
3806
3945
|
function handleOptionalResult(result, input) {
|
|
3807
|
-
if (result.issues.length
|
|
3946
|
+
if (input === undefined && (result.issues.length || result.fallback)) {
|
|
3808
3947
|
return { issues: [], value: undefined };
|
|
3809
3948
|
}
|
|
3810
3949
|
return result;
|
|
@@ -3822,10 +3961,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
|
|
|
3822
3961
|
});
|
|
3823
3962
|
inst._zod.parse = (payload, ctx) => {
|
|
3824
3963
|
if (def.innerType._zod.optin === "optional") {
|
|
3964
|
+
const input = payload.value;
|
|
3825
3965
|
const result = def.innerType._zod.run(payload, ctx);
|
|
3826
3966
|
if (result instanceof Promise)
|
|
3827
|
-
return result.then((r) => handleOptionalResult(r,
|
|
3828
|
-
return handleOptionalResult(result,
|
|
3967
|
+
return result.then((r) => handleOptionalResult(r, input));
|
|
3968
|
+
return handleOptionalResult(result, input);
|
|
3829
3969
|
}
|
|
3830
3970
|
if (payload.value === undefined) {
|
|
3831
3971
|
return payload;
|
|
@@ -3941,7 +4081,7 @@ var $ZodSuccess = /* @__PURE__ */ $constructor("$ZodSuccess", (inst, def) => {
|
|
|
3941
4081
|
});
|
|
3942
4082
|
var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
3943
4083
|
$ZodType.init(inst, def);
|
|
3944
|
-
|
|
4084
|
+
inst._zod.optin = "optional";
|
|
3945
4085
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
3946
4086
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
3947
4087
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -3961,6 +4101,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
3961
4101
|
input: payload.value
|
|
3962
4102
|
});
|
|
3963
4103
|
payload.issues = [];
|
|
4104
|
+
payload.fallback = true;
|
|
3964
4105
|
}
|
|
3965
4106
|
return payload;
|
|
3966
4107
|
});
|
|
@@ -3975,6 +4116,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
3975
4116
|
input: payload.value
|
|
3976
4117
|
});
|
|
3977
4118
|
payload.issues = [];
|
|
4119
|
+
payload.fallback = true;
|
|
3978
4120
|
}
|
|
3979
4121
|
return payload;
|
|
3980
4122
|
};
|
|
@@ -4020,7 +4162,7 @@ function handlePipeResult(left, next, ctx) {
|
|
|
4020
4162
|
left.aborted = true;
|
|
4021
4163
|
return left;
|
|
4022
4164
|
}
|
|
4023
|
-
return next._zod.run({ value: left.value, issues: left.issues }, ctx);
|
|
4165
|
+
return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
|
|
4024
4166
|
}
|
|
4025
4167
|
var $ZodCodec = /* @__PURE__ */ $constructor("$ZodCodec", (inst, def) => {
|
|
4026
4168
|
$ZodType.init(inst, def);
|
|
@@ -4072,6 +4214,9 @@ function handleCodecTxResult(left, value, nextSchema, ctx) {
|
|
|
4072
4214
|
}
|
|
4073
4215
|
return nextSchema._zod.run({ value, issues: left.issues }, ctx);
|
|
4074
4216
|
}
|
|
4217
|
+
var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
4218
|
+
$ZodPipe.init(inst, def);
|
|
4219
|
+
});
|
|
4075
4220
|
var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
|
|
4076
4221
|
$ZodType.init(inst, def);
|
|
4077
4222
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -4223,7 +4368,12 @@ var $ZodPromise = /* @__PURE__ */ $constructor("$ZodPromise", (inst, def) => {
|
|
|
4223
4368
|
});
|
|
4224
4369
|
var $ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
|
|
4225
4370
|
$ZodType.init(inst, def);
|
|
4226
|
-
defineLazy(inst._zod, "innerType", () =>
|
|
4371
|
+
defineLazy(inst._zod, "innerType", () => {
|
|
4372
|
+
const d = def;
|
|
4373
|
+
if (!d._cachedInner)
|
|
4374
|
+
d._cachedInner = def.getter();
|
|
4375
|
+
return d._cachedInner;
|
|
4376
|
+
});
|
|
4227
4377
|
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
4228
4378
|
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
4229
4379
|
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
|
|
@@ -4263,7 +4413,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4263
4413
|
payload.issues.push(issue(_iss));
|
|
4264
4414
|
}
|
|
4265
4415
|
}
|
|
4266
|
-
//
|
|
4416
|
+
// node_modules/zod/v4/locales/index.js
|
|
4267
4417
|
var exports_locales = {};
|
|
4268
4418
|
__export(exports_locales, {
|
|
4269
4419
|
zhTW: () => zh_TW_default,
|
|
@@ -4280,6 +4430,7 @@ __export(exports_locales, {
|
|
|
4280
4430
|
sv: () => sv_default,
|
|
4281
4431
|
sl: () => sl_default,
|
|
4282
4432
|
ru: () => ru_default,
|
|
4433
|
+
ro: () => ro_default,
|
|
4283
4434
|
pt: () => pt_default,
|
|
4284
4435
|
ps: () => ps_default,
|
|
4285
4436
|
pl: () => pl_default,
|
|
@@ -4299,6 +4450,7 @@ __export(exports_locales, {
|
|
|
4299
4450
|
id: () => id_default,
|
|
4300
4451
|
hy: () => hy_default,
|
|
4301
4452
|
hu: () => hu_default,
|
|
4453
|
+
hr: () => hr_default,
|
|
4302
4454
|
he: () => he_default,
|
|
4303
4455
|
frCA: () => fr_CA_default,
|
|
4304
4456
|
fr: () => fr_default,
|
|
@@ -4307,6 +4459,7 @@ __export(exports_locales, {
|
|
|
4307
4459
|
es: () => es_default,
|
|
4308
4460
|
eo: () => eo_default,
|
|
4309
4461
|
en: () => en_default,
|
|
4462
|
+
el: () => el_default,
|
|
4310
4463
|
de: () => de_default,
|
|
4311
4464
|
da: () => da_default,
|
|
4312
4465
|
cs: () => cs_default,
|
|
@@ -4317,7 +4470,7 @@ __export(exports_locales, {
|
|
|
4317
4470
|
ar: () => ar_default
|
|
4318
4471
|
});
|
|
4319
4472
|
|
|
4320
|
-
//
|
|
4473
|
+
// node_modules/zod/v4/locales/ar.js
|
|
4321
4474
|
var error = () => {
|
|
4322
4475
|
const Sizable = {
|
|
4323
4476
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -4423,7 +4576,7 @@ function ar_default() {
|
|
|
4423
4576
|
localeError: error()
|
|
4424
4577
|
};
|
|
4425
4578
|
}
|
|
4426
|
-
//
|
|
4579
|
+
// node_modules/zod/v4/locales/az.js
|
|
4427
4580
|
var error2 = () => {
|
|
4428
4581
|
const Sizable = {
|
|
4429
4582
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -4528,7 +4681,7 @@ function az_default() {
|
|
|
4528
4681
|
localeError: error2()
|
|
4529
4682
|
};
|
|
4530
4683
|
}
|
|
4531
|
-
//
|
|
4684
|
+
// node_modules/zod/v4/locales/be.js
|
|
4532
4685
|
function getBelarusianPlural(count, one, few, many) {
|
|
4533
4686
|
const absCount = Math.abs(count);
|
|
4534
4687
|
const lastDigit = absCount % 10;
|
|
@@ -4684,7 +4837,7 @@ function be_default() {
|
|
|
4684
4837
|
localeError: error3()
|
|
4685
4838
|
};
|
|
4686
4839
|
}
|
|
4687
|
-
//
|
|
4840
|
+
// node_modules/zod/v4/locales/bg.js
|
|
4688
4841
|
var error4 = () => {
|
|
4689
4842
|
const Sizable = {
|
|
4690
4843
|
string: { unit: "символа", verb: "да съдържа" },
|
|
@@ -4804,7 +4957,7 @@ function bg_default() {
|
|
|
4804
4957
|
localeError: error4()
|
|
4805
4958
|
};
|
|
4806
4959
|
}
|
|
4807
|
-
//
|
|
4960
|
+
// node_modules/zod/v4/locales/ca.js
|
|
4808
4961
|
var error5 = () => {
|
|
4809
4962
|
const Sizable = {
|
|
4810
4963
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -4911,7 +5064,7 @@ function ca_default() {
|
|
|
4911
5064
|
localeError: error5()
|
|
4912
5065
|
};
|
|
4913
5066
|
}
|
|
4914
|
-
//
|
|
5067
|
+
// node_modules/zod/v4/locales/cs.js
|
|
4915
5068
|
var error6 = () => {
|
|
4916
5069
|
const Sizable = {
|
|
4917
5070
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -5022,7 +5175,7 @@ function cs_default() {
|
|
|
5022
5175
|
localeError: error6()
|
|
5023
5176
|
};
|
|
5024
5177
|
}
|
|
5025
|
-
//
|
|
5178
|
+
// node_modules/zod/v4/locales/da.js
|
|
5026
5179
|
var error7 = () => {
|
|
5027
5180
|
const Sizable = {
|
|
5028
5181
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5137,7 +5290,7 @@ function da_default() {
|
|
|
5137
5290
|
localeError: error7()
|
|
5138
5291
|
};
|
|
5139
5292
|
}
|
|
5140
|
-
//
|
|
5293
|
+
// node_modules/zod/v4/locales/de.js
|
|
5141
5294
|
var error8 = () => {
|
|
5142
5295
|
const Sizable = {
|
|
5143
5296
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5245,8 +5398,117 @@ function de_default() {
|
|
|
5245
5398
|
localeError: error8()
|
|
5246
5399
|
};
|
|
5247
5400
|
}
|
|
5248
|
-
//
|
|
5401
|
+
// node_modules/zod/v4/locales/el.js
|
|
5249
5402
|
var error9 = () => {
|
|
5403
|
+
const Sizable = {
|
|
5404
|
+
string: { unit: "χαρακτήρες", verb: "να έχει" },
|
|
5405
|
+
file: { unit: "bytes", verb: "να έχει" },
|
|
5406
|
+
array: { unit: "στοιχεία", verb: "να έχει" },
|
|
5407
|
+
set: { unit: "στοιχεία", verb: "να έχει" },
|
|
5408
|
+
map: { unit: "καταχωρήσεις", verb: "να έχει" }
|
|
5409
|
+
};
|
|
5410
|
+
function getSizing(origin) {
|
|
5411
|
+
return Sizable[origin] ?? null;
|
|
5412
|
+
}
|
|
5413
|
+
const FormatDictionary = {
|
|
5414
|
+
regex: "είσοδος",
|
|
5415
|
+
email: "διεύθυνση email",
|
|
5416
|
+
url: "URL",
|
|
5417
|
+
emoji: "emoji",
|
|
5418
|
+
uuid: "UUID",
|
|
5419
|
+
uuidv4: "UUIDv4",
|
|
5420
|
+
uuidv6: "UUIDv6",
|
|
5421
|
+
nanoid: "nanoid",
|
|
5422
|
+
guid: "GUID",
|
|
5423
|
+
cuid: "cuid",
|
|
5424
|
+
cuid2: "cuid2",
|
|
5425
|
+
ulid: "ULID",
|
|
5426
|
+
xid: "XID",
|
|
5427
|
+
ksuid: "KSUID",
|
|
5428
|
+
datetime: "ISO ημερομηνία και ώρα",
|
|
5429
|
+
date: "ISO ημερομηνία",
|
|
5430
|
+
time: "ISO ώρα",
|
|
5431
|
+
duration: "ISO διάρκεια",
|
|
5432
|
+
ipv4: "διεύθυνση IPv4",
|
|
5433
|
+
ipv6: "διεύθυνση IPv6",
|
|
5434
|
+
mac: "διεύθυνση MAC",
|
|
5435
|
+
cidrv4: "εύρος IPv4",
|
|
5436
|
+
cidrv6: "εύρος IPv6",
|
|
5437
|
+
base64: "συμβολοσειρά κωδικοποιημένη σε base64",
|
|
5438
|
+
base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
|
|
5439
|
+
json_string: "συμβολοσειρά JSON",
|
|
5440
|
+
e164: "αριθμός E.164",
|
|
5441
|
+
jwt: "JWT",
|
|
5442
|
+
template_literal: "είσοδος"
|
|
5443
|
+
};
|
|
5444
|
+
const TypeDictionary = {
|
|
5445
|
+
nan: "NaN"
|
|
5446
|
+
};
|
|
5447
|
+
return (issue2) => {
|
|
5448
|
+
switch (issue2.code) {
|
|
5449
|
+
case "invalid_type": {
|
|
5450
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
5451
|
+
const receivedType = parsedType(issue2.input);
|
|
5452
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5453
|
+
if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
|
|
5454
|
+
return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${issue2.expected}, λήφθηκε ${received}`;
|
|
5455
|
+
}
|
|
5456
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${expected}, λήφθηκε ${received}`;
|
|
5457
|
+
}
|
|
5458
|
+
case "invalid_value":
|
|
5459
|
+
if (issue2.values.length === 1)
|
|
5460
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${stringifyPrimitive(issue2.values[0])}`;
|
|
5461
|
+
return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${joinValues(issue2.values, "|")}`;
|
|
5462
|
+
case "too_big": {
|
|
5463
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
5464
|
+
const sizing = getSizing(issue2.origin);
|
|
5465
|
+
if (sizing)
|
|
5466
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να έχει ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "στοιχεία"}`;
|
|
5467
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να είναι ${adj}${issue2.maximum.toString()}`;
|
|
5468
|
+
}
|
|
5469
|
+
case "too_small": {
|
|
5470
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
5471
|
+
const sizing = getSizing(issue2.origin);
|
|
5472
|
+
if (sizing) {
|
|
5473
|
+
return `Πολύ μικρό: αναμενόταν ${issue2.origin} να έχει ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5474
|
+
}
|
|
5475
|
+
return `Πολύ μικρό: αναμενόταν ${issue2.origin} να είναι ${adj}${issue2.minimum.toString()}`;
|
|
5476
|
+
}
|
|
5477
|
+
case "invalid_format": {
|
|
5478
|
+
const _issue = issue2;
|
|
5479
|
+
if (_issue.format === "starts_with") {
|
|
5480
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${_issue.prefix}"`;
|
|
5481
|
+
}
|
|
5482
|
+
if (_issue.format === "ends_with")
|
|
5483
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${_issue.suffix}"`;
|
|
5484
|
+
if (_issue.format === "includes")
|
|
5485
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${_issue.includes}"`;
|
|
5486
|
+
if (_issue.format === "regex")
|
|
5487
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${_issue.pattern}`;
|
|
5488
|
+
return `Μη έγκυρο: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
5489
|
+
}
|
|
5490
|
+
case "not_multiple_of":
|
|
5491
|
+
return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${issue2.divisor}`;
|
|
5492
|
+
case "unrecognized_keys":
|
|
5493
|
+
return `Άγνωστ${issue2.keys.length > 1 ? "α" : "ο"} κλειδ${issue2.keys.length > 1 ? "ιά" : "ί"}: ${joinValues(issue2.keys, ", ")}`;
|
|
5494
|
+
case "invalid_key":
|
|
5495
|
+
return `Μη έγκυρο κλειδί στο ${issue2.origin}`;
|
|
5496
|
+
case "invalid_union":
|
|
5497
|
+
return "Μη έγκυρη είσοδος";
|
|
5498
|
+
case "invalid_element":
|
|
5499
|
+
return `Μη έγκυρη τιμή στο ${issue2.origin}`;
|
|
5500
|
+
default:
|
|
5501
|
+
return `Μη έγκυρη είσοδος`;
|
|
5502
|
+
}
|
|
5503
|
+
};
|
|
5504
|
+
};
|
|
5505
|
+
function el_default() {
|
|
5506
|
+
return {
|
|
5507
|
+
localeError: error9()
|
|
5508
|
+
};
|
|
5509
|
+
}
|
|
5510
|
+
// node_modules/zod/v4/locales/en.js
|
|
5511
|
+
var error10 = () => {
|
|
5250
5512
|
const Sizable = {
|
|
5251
5513
|
string: { unit: "characters", verb: "to have" },
|
|
5252
5514
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -5338,6 +5600,10 @@ var error9 = () => {
|
|
|
5338
5600
|
case "invalid_key":
|
|
5339
5601
|
return `Invalid key in ${issue2.origin}`;
|
|
5340
5602
|
case "invalid_union":
|
|
5603
|
+
if (issue2.options && Array.isArray(issue2.options) && issue2.options.length > 0) {
|
|
5604
|
+
const opts = issue2.options.map((o) => `'${o}'`).join(" | ");
|
|
5605
|
+
return `Invalid discriminator value. Expected ${opts}`;
|
|
5606
|
+
}
|
|
5341
5607
|
return "Invalid input";
|
|
5342
5608
|
case "invalid_element":
|
|
5343
5609
|
return `Invalid value in ${issue2.origin}`;
|
|
@@ -5348,11 +5614,11 @@ var error9 = () => {
|
|
|
5348
5614
|
};
|
|
5349
5615
|
function en_default() {
|
|
5350
5616
|
return {
|
|
5351
|
-
localeError:
|
|
5617
|
+
localeError: error10()
|
|
5352
5618
|
};
|
|
5353
5619
|
}
|
|
5354
|
-
//
|
|
5355
|
-
var
|
|
5620
|
+
// node_modules/zod/v4/locales/eo.js
|
|
5621
|
+
var error11 = () => {
|
|
5356
5622
|
const Sizable = {
|
|
5357
5623
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
5358
5624
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -5457,11 +5723,11 @@ var error10 = () => {
|
|
|
5457
5723
|
};
|
|
5458
5724
|
function eo_default() {
|
|
5459
5725
|
return {
|
|
5460
|
-
localeError:
|
|
5726
|
+
localeError: error11()
|
|
5461
5727
|
};
|
|
5462
5728
|
}
|
|
5463
|
-
//
|
|
5464
|
-
var
|
|
5729
|
+
// node_modules/zod/v4/locales/es.js
|
|
5730
|
+
var error12 = () => {
|
|
5465
5731
|
const Sizable = {
|
|
5466
5732
|
string: { unit: "caracteres", verb: "tener" },
|
|
5467
5733
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -5589,11 +5855,11 @@ var error11 = () => {
|
|
|
5589
5855
|
};
|
|
5590
5856
|
function es_default() {
|
|
5591
5857
|
return {
|
|
5592
|
-
localeError:
|
|
5858
|
+
localeError: error12()
|
|
5593
5859
|
};
|
|
5594
5860
|
}
|
|
5595
|
-
//
|
|
5596
|
-
var
|
|
5861
|
+
// node_modules/zod/v4/locales/fa.js
|
|
5862
|
+
var error13 = () => {
|
|
5597
5863
|
const Sizable = {
|
|
5598
5864
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
5599
5865
|
file: { unit: "بایت", verb: "داشته باشد" },
|
|
@@ -5703,11 +5969,11 @@ var error12 = () => {
|
|
|
5703
5969
|
};
|
|
5704
5970
|
function fa_default() {
|
|
5705
5971
|
return {
|
|
5706
|
-
localeError:
|
|
5972
|
+
localeError: error13()
|
|
5707
5973
|
};
|
|
5708
5974
|
}
|
|
5709
|
-
//
|
|
5710
|
-
var
|
|
5975
|
+
// node_modules/zod/v4/locales/fi.js
|
|
5976
|
+
var error14 = () => {
|
|
5711
5977
|
const Sizable = {
|
|
5712
5978
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
5713
5979
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -5815,11 +6081,11 @@ var error13 = () => {
|
|
|
5815
6081
|
};
|
|
5816
6082
|
function fi_default() {
|
|
5817
6083
|
return {
|
|
5818
|
-
localeError:
|
|
6084
|
+
localeError: error14()
|
|
5819
6085
|
};
|
|
5820
6086
|
}
|
|
5821
|
-
//
|
|
5822
|
-
var
|
|
6087
|
+
// node_modules/zod/v4/locales/fr.js
|
|
6088
|
+
var error15 = () => {
|
|
5823
6089
|
const Sizable = {
|
|
5824
6090
|
string: { unit: "caractères", verb: "avoir" },
|
|
5825
6091
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -5860,9 +6126,27 @@ var error14 = () => {
|
|
|
5860
6126
|
template_literal: "entrée"
|
|
5861
6127
|
};
|
|
5862
6128
|
const TypeDictionary = {
|
|
5863
|
-
|
|
6129
|
+
string: "chaîne",
|
|
5864
6130
|
number: "nombre",
|
|
5865
|
-
|
|
6131
|
+
int: "entier",
|
|
6132
|
+
boolean: "booléen",
|
|
6133
|
+
bigint: "grand entier",
|
|
6134
|
+
symbol: "symbole",
|
|
6135
|
+
undefined: "indéfini",
|
|
6136
|
+
null: "null",
|
|
6137
|
+
never: "jamais",
|
|
6138
|
+
void: "vide",
|
|
6139
|
+
date: "date",
|
|
6140
|
+
array: "tableau",
|
|
6141
|
+
object: "objet",
|
|
6142
|
+
tuple: "tuple",
|
|
6143
|
+
record: "enregistrement",
|
|
6144
|
+
map: "carte",
|
|
6145
|
+
set: "ensemble",
|
|
6146
|
+
file: "fichier",
|
|
6147
|
+
nonoptional: "non-optionnel",
|
|
6148
|
+
nan: "NaN",
|
|
6149
|
+
function: "fonction"
|
|
5866
6150
|
};
|
|
5867
6151
|
return (issue2) => {
|
|
5868
6152
|
switch (issue2.code) {
|
|
@@ -5883,16 +6167,15 @@ var error14 = () => {
|
|
|
5883
6167
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
5884
6168
|
const sizing = getSizing(issue2.origin);
|
|
5885
6169
|
if (sizing)
|
|
5886
|
-
return `Trop grand : ${issue2.origin ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
|
|
5887
|
-
return `Trop grand : ${issue2.origin ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
|
|
6170
|
+
return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
|
|
6171
|
+
return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
|
|
5888
6172
|
}
|
|
5889
6173
|
case "too_small": {
|
|
5890
6174
|
const adj = issue2.inclusive ? ">=" : ">";
|
|
5891
6175
|
const sizing = getSizing(issue2.origin);
|
|
5892
|
-
if (sizing)
|
|
5893
|
-
return `Trop petit : ${issue2.origin} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5894
|
-
}
|
|
5895
|
-
return `Trop petit : ${issue2.origin} doit être ${adj}${issue2.minimum.toString()}`;
|
|
6176
|
+
if (sizing)
|
|
6177
|
+
return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
6178
|
+
return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.minimum.toString()}`;
|
|
5896
6179
|
}
|
|
5897
6180
|
case "invalid_format": {
|
|
5898
6181
|
const _issue = issue2;
|
|
@@ -5923,11 +6206,11 @@ var error14 = () => {
|
|
|
5923
6206
|
};
|
|
5924
6207
|
function fr_default() {
|
|
5925
6208
|
return {
|
|
5926
|
-
localeError:
|
|
6209
|
+
localeError: error15()
|
|
5927
6210
|
};
|
|
5928
6211
|
}
|
|
5929
|
-
//
|
|
5930
|
-
var
|
|
6212
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
6213
|
+
var error16 = () => {
|
|
5931
6214
|
const Sizable = {
|
|
5932
6215
|
string: { unit: "caractères", verb: "avoir" },
|
|
5933
6216
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6030,11 +6313,11 @@ var error15 = () => {
|
|
|
6030
6313
|
};
|
|
6031
6314
|
function fr_CA_default() {
|
|
6032
6315
|
return {
|
|
6033
|
-
localeError:
|
|
6316
|
+
localeError: error16()
|
|
6034
6317
|
};
|
|
6035
6318
|
}
|
|
6036
|
-
//
|
|
6037
|
-
var
|
|
6319
|
+
// node_modules/zod/v4/locales/he.js
|
|
6320
|
+
var error17 = () => {
|
|
6038
6321
|
const TypeNames = {
|
|
6039
6322
|
string: { label: "מחרוזת", gender: "f" },
|
|
6040
6323
|
number: { label: "מספר", gender: "m" },
|
|
@@ -6223,23 +6506,23 @@ var error16 = () => {
|
|
|
6223
6506
|
};
|
|
6224
6507
|
function he_default() {
|
|
6225
6508
|
return {
|
|
6226
|
-
localeError:
|
|
6509
|
+
localeError: error17()
|
|
6227
6510
|
};
|
|
6228
6511
|
}
|
|
6229
|
-
//
|
|
6230
|
-
var
|
|
6512
|
+
// node_modules/zod/v4/locales/hr.js
|
|
6513
|
+
var error18 = () => {
|
|
6231
6514
|
const Sizable = {
|
|
6232
|
-
string: { unit: "
|
|
6233
|
-
file: { unit: "
|
|
6234
|
-
array: { unit: "
|
|
6235
|
-
set: { unit: "
|
|
6515
|
+
string: { unit: "znakova", verb: "imati" },
|
|
6516
|
+
file: { unit: "bajtova", verb: "imati" },
|
|
6517
|
+
array: { unit: "stavki", verb: "imati" },
|
|
6518
|
+
set: { unit: "stavki", verb: "imati" }
|
|
6236
6519
|
};
|
|
6237
6520
|
function getSizing(origin) {
|
|
6238
6521
|
return Sizable[origin] ?? null;
|
|
6239
6522
|
}
|
|
6240
6523
|
const FormatDictionary = {
|
|
6241
|
-
regex: "
|
|
6242
|
-
email: "email
|
|
6524
|
+
regex: "unos",
|
|
6525
|
+
email: "email adresa",
|
|
6243
6526
|
url: "URL",
|
|
6244
6527
|
emoji: "emoji",
|
|
6245
6528
|
uuid: "UUID",
|
|
@@ -6252,25 +6535,37 @@ var error17 = () => {
|
|
|
6252
6535
|
ulid: "ULID",
|
|
6253
6536
|
xid: "XID",
|
|
6254
6537
|
ksuid: "KSUID",
|
|
6255
|
-
datetime: "ISO
|
|
6256
|
-
date: "ISO
|
|
6257
|
-
time: "ISO
|
|
6258
|
-
duration: "ISO
|
|
6259
|
-
ipv4: "IPv4
|
|
6260
|
-
ipv6: "IPv6
|
|
6261
|
-
cidrv4: "IPv4
|
|
6262
|
-
cidrv6: "IPv6
|
|
6263
|
-
base64: "base64
|
|
6264
|
-
base64url: "base64url
|
|
6265
|
-
json_string: "JSON
|
|
6266
|
-
e164: "E.164
|
|
6538
|
+
datetime: "ISO datum i vrijeme",
|
|
6539
|
+
date: "ISO datum",
|
|
6540
|
+
time: "ISO vrijeme",
|
|
6541
|
+
duration: "ISO trajanje",
|
|
6542
|
+
ipv4: "IPv4 adresa",
|
|
6543
|
+
ipv6: "IPv6 adresa",
|
|
6544
|
+
cidrv4: "IPv4 raspon",
|
|
6545
|
+
cidrv6: "IPv6 raspon",
|
|
6546
|
+
base64: "base64 kodirani tekst",
|
|
6547
|
+
base64url: "base64url kodirani tekst",
|
|
6548
|
+
json_string: "JSON tekst",
|
|
6549
|
+
e164: "E.164 broj",
|
|
6267
6550
|
jwt: "JWT",
|
|
6268
|
-
template_literal: "
|
|
6551
|
+
template_literal: "unos"
|
|
6269
6552
|
};
|
|
6270
6553
|
const TypeDictionary = {
|
|
6271
6554
|
nan: "NaN",
|
|
6272
|
-
|
|
6273
|
-
|
|
6555
|
+
string: "tekst",
|
|
6556
|
+
number: "broj",
|
|
6557
|
+
boolean: "boolean",
|
|
6558
|
+
array: "niz",
|
|
6559
|
+
object: "objekt",
|
|
6560
|
+
set: "skup",
|
|
6561
|
+
file: "datoteka",
|
|
6562
|
+
date: "datum",
|
|
6563
|
+
bigint: "bigint",
|
|
6564
|
+
symbol: "simbol",
|
|
6565
|
+
undefined: "undefined",
|
|
6566
|
+
null: "null",
|
|
6567
|
+
function: "funkcija",
|
|
6568
|
+
map: "mapa"
|
|
6274
6569
|
};
|
|
6275
6570
|
return (issue2) => {
|
|
6276
6571
|
switch (issue2.code) {
|
|
@@ -6279,13 +6574,123 @@ var error17 = () => {
|
|
|
6279
6574
|
const receivedType = parsedType(issue2.input);
|
|
6280
6575
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6281
6576
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
6282
|
-
return
|
|
6577
|
+
return `Neispravan unos: očekuje se instanceof ${issue2.expected}, a primljeno je ${received}`;
|
|
6283
6578
|
}
|
|
6284
|
-
return
|
|
6579
|
+
return `Neispravan unos: očekuje se ${expected}, a primljeno je ${received}`;
|
|
6285
6580
|
}
|
|
6286
6581
|
case "invalid_value":
|
|
6287
6582
|
if (issue2.values.length === 1)
|
|
6288
|
-
return
|
|
6583
|
+
return `Neispravna vrijednost: očekivano ${stringifyPrimitive(issue2.values[0])}`;
|
|
6584
|
+
return `Neispravna opcija: očekivano jedno od ${joinValues(issue2.values, "|")}`;
|
|
6585
|
+
case "too_big": {
|
|
6586
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
6587
|
+
const sizing = getSizing(issue2.origin);
|
|
6588
|
+
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6589
|
+
if (sizing)
|
|
6590
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
|
|
6591
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
|
|
6592
|
+
}
|
|
6593
|
+
case "too_small": {
|
|
6594
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
6595
|
+
const sizing = getSizing(issue2.origin);
|
|
6596
|
+
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6597
|
+
if (sizing) {
|
|
6598
|
+
return `Premalo: očekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
6599
|
+
}
|
|
6600
|
+
return `Premalo: očekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
|
|
6601
|
+
}
|
|
6602
|
+
case "invalid_format": {
|
|
6603
|
+
const _issue = issue2;
|
|
6604
|
+
if (_issue.format === "starts_with")
|
|
6605
|
+
return `Neispravan tekst: mora započinjati s "${_issue.prefix}"`;
|
|
6606
|
+
if (_issue.format === "ends_with")
|
|
6607
|
+
return `Neispravan tekst: mora završavati s "${_issue.suffix}"`;
|
|
6608
|
+
if (_issue.format === "includes")
|
|
6609
|
+
return `Neispravan tekst: mora sadržavati "${_issue.includes}"`;
|
|
6610
|
+
if (_issue.format === "regex")
|
|
6611
|
+
return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
|
|
6612
|
+
return `Neispravna ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6613
|
+
}
|
|
6614
|
+
case "not_multiple_of":
|
|
6615
|
+
return `Neispravan broj: mora biti višekratnik od ${issue2.divisor}`;
|
|
6616
|
+
case "unrecognized_keys":
|
|
6617
|
+
return `Neprepoznat${issue2.keys.length > 1 ? "i ključevi" : " ključ"}: ${joinValues(issue2.keys, ", ")}`;
|
|
6618
|
+
case "invalid_key":
|
|
6619
|
+
return `Neispravan ključ u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6620
|
+
case "invalid_union":
|
|
6621
|
+
return "Neispravan unos";
|
|
6622
|
+
case "invalid_element":
|
|
6623
|
+
return `Neispravna vrijednost u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6624
|
+
default:
|
|
6625
|
+
return `Neispravan unos`;
|
|
6626
|
+
}
|
|
6627
|
+
};
|
|
6628
|
+
};
|
|
6629
|
+
function hr_default() {
|
|
6630
|
+
return {
|
|
6631
|
+
localeError: error18()
|
|
6632
|
+
};
|
|
6633
|
+
}
|
|
6634
|
+
// node_modules/zod/v4/locales/hu.js
|
|
6635
|
+
var error19 = () => {
|
|
6636
|
+
const Sizable = {
|
|
6637
|
+
string: { unit: "karakter", verb: "legyen" },
|
|
6638
|
+
file: { unit: "byte", verb: "legyen" },
|
|
6639
|
+
array: { unit: "elem", verb: "legyen" },
|
|
6640
|
+
set: { unit: "elem", verb: "legyen" }
|
|
6641
|
+
};
|
|
6642
|
+
function getSizing(origin) {
|
|
6643
|
+
return Sizable[origin] ?? null;
|
|
6644
|
+
}
|
|
6645
|
+
const FormatDictionary = {
|
|
6646
|
+
regex: "bemenet",
|
|
6647
|
+
email: "email cím",
|
|
6648
|
+
url: "URL",
|
|
6649
|
+
emoji: "emoji",
|
|
6650
|
+
uuid: "UUID",
|
|
6651
|
+
uuidv4: "UUIDv4",
|
|
6652
|
+
uuidv6: "UUIDv6",
|
|
6653
|
+
nanoid: "nanoid",
|
|
6654
|
+
guid: "GUID",
|
|
6655
|
+
cuid: "cuid",
|
|
6656
|
+
cuid2: "cuid2",
|
|
6657
|
+
ulid: "ULID",
|
|
6658
|
+
xid: "XID",
|
|
6659
|
+
ksuid: "KSUID",
|
|
6660
|
+
datetime: "ISO időbélyeg",
|
|
6661
|
+
date: "ISO dátum",
|
|
6662
|
+
time: "ISO idő",
|
|
6663
|
+
duration: "ISO időintervallum",
|
|
6664
|
+
ipv4: "IPv4 cím",
|
|
6665
|
+
ipv6: "IPv6 cím",
|
|
6666
|
+
cidrv4: "IPv4 tartomány",
|
|
6667
|
+
cidrv6: "IPv6 tartomány",
|
|
6668
|
+
base64: "base64-kódolt string",
|
|
6669
|
+
base64url: "base64url-kódolt string",
|
|
6670
|
+
json_string: "JSON string",
|
|
6671
|
+
e164: "E.164 szám",
|
|
6672
|
+
jwt: "JWT",
|
|
6673
|
+
template_literal: "bemenet"
|
|
6674
|
+
};
|
|
6675
|
+
const TypeDictionary = {
|
|
6676
|
+
nan: "NaN",
|
|
6677
|
+
number: "szám",
|
|
6678
|
+
array: "tömb"
|
|
6679
|
+
};
|
|
6680
|
+
return (issue2) => {
|
|
6681
|
+
switch (issue2.code) {
|
|
6682
|
+
case "invalid_type": {
|
|
6683
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
6684
|
+
const receivedType = parsedType(issue2.input);
|
|
6685
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6686
|
+
if (/^[A-Z]/.test(issue2.expected)) {
|
|
6687
|
+
return `Érvénytelen bemenet: a várt érték instanceof ${issue2.expected}, a kapott érték ${received}`;
|
|
6688
|
+
}
|
|
6689
|
+
return `Érvénytelen bemenet: a várt érték ${expected}, a kapott érték ${received}`;
|
|
6690
|
+
}
|
|
6691
|
+
case "invalid_value":
|
|
6692
|
+
if (issue2.values.length === 1)
|
|
6693
|
+
return `Érvénytelen bemenet: a várt érték ${stringifyPrimitive(issue2.values[0])}`;
|
|
6289
6694
|
return `Érvénytelen opció: valamelyik érték várt ${joinValues(issue2.values, "|")}`;
|
|
6290
6695
|
case "too_big": {
|
|
6291
6696
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
@@ -6331,10 +6736,10 @@ var error17 = () => {
|
|
|
6331
6736
|
};
|
|
6332
6737
|
function hu_default() {
|
|
6333
6738
|
return {
|
|
6334
|
-
localeError:
|
|
6739
|
+
localeError: error19()
|
|
6335
6740
|
};
|
|
6336
6741
|
}
|
|
6337
|
-
//
|
|
6742
|
+
// node_modules/zod/v4/locales/hy.js
|
|
6338
6743
|
function getArmenianPlural(count, one, many) {
|
|
6339
6744
|
return Math.abs(count) === 1 ? one : many;
|
|
6340
6745
|
}
|
|
@@ -6345,7 +6750,7 @@ function withDefiniteArticle(word) {
|
|
|
6345
6750
|
const lastChar = word[word.length - 1];
|
|
6346
6751
|
return word + (vowels.includes(lastChar) ? "ն" : "ը");
|
|
6347
6752
|
}
|
|
6348
|
-
var
|
|
6753
|
+
var error20 = () => {
|
|
6349
6754
|
const Sizable = {
|
|
6350
6755
|
string: {
|
|
6351
6756
|
unit: {
|
|
@@ -6478,11 +6883,11 @@ var error18 = () => {
|
|
|
6478
6883
|
};
|
|
6479
6884
|
function hy_default() {
|
|
6480
6885
|
return {
|
|
6481
|
-
localeError:
|
|
6886
|
+
localeError: error20()
|
|
6482
6887
|
};
|
|
6483
6888
|
}
|
|
6484
|
-
//
|
|
6485
|
-
var
|
|
6889
|
+
// node_modules/zod/v4/locales/id.js
|
|
6890
|
+
var error21 = () => {
|
|
6486
6891
|
const Sizable = {
|
|
6487
6892
|
string: { unit: "karakter", verb: "memiliki" },
|
|
6488
6893
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -6584,11 +6989,11 @@ var error19 = () => {
|
|
|
6584
6989
|
};
|
|
6585
6990
|
function id_default() {
|
|
6586
6991
|
return {
|
|
6587
|
-
localeError:
|
|
6992
|
+
localeError: error21()
|
|
6588
6993
|
};
|
|
6589
6994
|
}
|
|
6590
|
-
//
|
|
6591
|
-
var
|
|
6995
|
+
// node_modules/zod/v4/locales/is.js
|
|
6996
|
+
var error22 = () => {
|
|
6592
6997
|
const Sizable = {
|
|
6593
6998
|
string: { unit: "stafi", verb: "að hafa" },
|
|
6594
6999
|
file: { unit: "bæti", verb: "að hafa" },
|
|
@@ -6693,11 +7098,11 @@ var error20 = () => {
|
|
|
6693
7098
|
};
|
|
6694
7099
|
function is_default() {
|
|
6695
7100
|
return {
|
|
6696
|
-
localeError:
|
|
7101
|
+
localeError: error22()
|
|
6697
7102
|
};
|
|
6698
7103
|
}
|
|
6699
|
-
//
|
|
6700
|
-
var
|
|
7104
|
+
// node_modules/zod/v4/locales/it.js
|
|
7105
|
+
var error23 = () => {
|
|
6701
7106
|
const Sizable = {
|
|
6702
7107
|
string: { unit: "caratteri", verb: "avere" },
|
|
6703
7108
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -6782,7 +7187,7 @@ var error21 = () => {
|
|
|
6782
7187
|
return `Stringa non valida: deve includere "${_issue.includes}"`;
|
|
6783
7188
|
if (_issue.format === "regex")
|
|
6784
7189
|
return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
|
|
6785
|
-
return `
|
|
7190
|
+
return `Input non valido: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6786
7191
|
}
|
|
6787
7192
|
case "not_multiple_of":
|
|
6788
7193
|
return `Numero non valido: deve essere un multiplo di ${issue2.divisor}`;
|
|
@@ -6801,11 +7206,11 @@ var error21 = () => {
|
|
|
6801
7206
|
};
|
|
6802
7207
|
function it_default() {
|
|
6803
7208
|
return {
|
|
6804
|
-
localeError:
|
|
7209
|
+
localeError: error23()
|
|
6805
7210
|
};
|
|
6806
7211
|
}
|
|
6807
|
-
//
|
|
6808
|
-
var
|
|
7212
|
+
// node_modules/zod/v4/locales/ja.js
|
|
7213
|
+
var error24 = () => {
|
|
6809
7214
|
const Sizable = {
|
|
6810
7215
|
string: { unit: "文字", verb: "である" },
|
|
6811
7216
|
file: { unit: "バイト", verb: "である" },
|
|
@@ -6908,11 +7313,11 @@ var error22 = () => {
|
|
|
6908
7313
|
};
|
|
6909
7314
|
function ja_default() {
|
|
6910
7315
|
return {
|
|
6911
|
-
localeError:
|
|
7316
|
+
localeError: error24()
|
|
6912
7317
|
};
|
|
6913
7318
|
}
|
|
6914
|
-
//
|
|
6915
|
-
var
|
|
7319
|
+
// node_modules/zod/v4/locales/ka.js
|
|
7320
|
+
var error25 = () => {
|
|
6916
7321
|
const Sizable = {
|
|
6917
7322
|
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
|
|
6918
7323
|
file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" },
|
|
@@ -6945,9 +7350,9 @@ var error23 = () => {
|
|
|
6945
7350
|
ipv6: "IPv6 მისამართი",
|
|
6946
7351
|
cidrv4: "IPv4 დიაპაზონი",
|
|
6947
7352
|
cidrv6: "IPv6 დიაპაზონი",
|
|
6948
|
-
base64: "base64-კოდირებული
|
|
6949
|
-
base64url: "base64url-კოდირებული
|
|
6950
|
-
json_string: "JSON
|
|
7353
|
+
base64: "base64-კოდირებული ველი",
|
|
7354
|
+
base64url: "base64url-კოდირებული ველი",
|
|
7355
|
+
json_string: "JSON ველი",
|
|
6951
7356
|
e164: "E.164 ნომერი",
|
|
6952
7357
|
jwt: "JWT",
|
|
6953
7358
|
template_literal: "შეყვანა"
|
|
@@ -6955,7 +7360,7 @@ var error23 = () => {
|
|
|
6955
7360
|
const TypeDictionary = {
|
|
6956
7361
|
nan: "NaN",
|
|
6957
7362
|
number: "რიცხვი",
|
|
6958
|
-
string: "
|
|
7363
|
+
string: "ველი",
|
|
6959
7364
|
boolean: "ბულეანი",
|
|
6960
7365
|
function: "ფუნქცია",
|
|
6961
7366
|
array: "მასივი"
|
|
@@ -6993,14 +7398,14 @@ var error23 = () => {
|
|
|
6993
7398
|
case "invalid_format": {
|
|
6994
7399
|
const _issue = issue2;
|
|
6995
7400
|
if (_issue.format === "starts_with") {
|
|
6996
|
-
return `არასწორი
|
|
7401
|
+
return `არასწორი ველი: უნდა იწყებოდეს "${_issue.prefix}"-ით`;
|
|
6997
7402
|
}
|
|
6998
7403
|
if (_issue.format === "ends_with")
|
|
6999
|
-
return `არასწორი
|
|
7404
|
+
return `არასწორი ველი: უნდა მთავრდებოდეს "${_issue.suffix}"-ით`;
|
|
7000
7405
|
if (_issue.format === "includes")
|
|
7001
|
-
return `არასწორი
|
|
7406
|
+
return `არასწორი ველი: უნდა შეიცავდეს "${_issue.includes}"-ს`;
|
|
7002
7407
|
if (_issue.format === "regex")
|
|
7003
|
-
return `არასწორი
|
|
7408
|
+
return `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${_issue.pattern}`;
|
|
7004
7409
|
return `არასწორი ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
7005
7410
|
}
|
|
7006
7411
|
case "not_multiple_of":
|
|
@@ -7020,11 +7425,11 @@ var error23 = () => {
|
|
|
7020
7425
|
};
|
|
7021
7426
|
function ka_default() {
|
|
7022
7427
|
return {
|
|
7023
|
-
localeError:
|
|
7428
|
+
localeError: error25()
|
|
7024
7429
|
};
|
|
7025
7430
|
}
|
|
7026
|
-
//
|
|
7027
|
-
var
|
|
7431
|
+
// node_modules/zod/v4/locales/km.js
|
|
7432
|
+
var error26 = () => {
|
|
7028
7433
|
const Sizable = {
|
|
7029
7434
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
7030
7435
|
file: { unit: "បៃ", verb: "គួរមាន" },
|
|
@@ -7130,16 +7535,16 @@ var error24 = () => {
|
|
|
7130
7535
|
};
|
|
7131
7536
|
function km_default() {
|
|
7132
7537
|
return {
|
|
7133
|
-
localeError:
|
|
7538
|
+
localeError: error26()
|
|
7134
7539
|
};
|
|
7135
7540
|
}
|
|
7136
7541
|
|
|
7137
|
-
//
|
|
7542
|
+
// node_modules/zod/v4/locales/kh.js
|
|
7138
7543
|
function kh_default() {
|
|
7139
7544
|
return km_default();
|
|
7140
7545
|
}
|
|
7141
|
-
//
|
|
7142
|
-
var
|
|
7546
|
+
// node_modules/zod/v4/locales/ko.js
|
|
7547
|
+
var error27 = () => {
|
|
7143
7548
|
const Sizable = {
|
|
7144
7549
|
string: { unit: "문자", verb: "to have" },
|
|
7145
7550
|
file: { unit: "바이트", verb: "to have" },
|
|
@@ -7246,10 +7651,10 @@ var error25 = () => {
|
|
|
7246
7651
|
};
|
|
7247
7652
|
function ko_default() {
|
|
7248
7653
|
return {
|
|
7249
|
-
localeError:
|
|
7654
|
+
localeError: error27()
|
|
7250
7655
|
};
|
|
7251
7656
|
}
|
|
7252
|
-
//
|
|
7657
|
+
// node_modules/zod/v4/locales/lt.js
|
|
7253
7658
|
var capitalizeFirstCharacter = (text) => {
|
|
7254
7659
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7255
7660
|
};
|
|
@@ -7263,7 +7668,7 @@ function getUnitTypeFromNumber(number2) {
|
|
|
7263
7668
|
return "one";
|
|
7264
7669
|
return "few";
|
|
7265
7670
|
}
|
|
7266
|
-
var
|
|
7671
|
+
var error28 = () => {
|
|
7267
7672
|
const Sizable = {
|
|
7268
7673
|
string: {
|
|
7269
7674
|
unit: {
|
|
@@ -7449,11 +7854,11 @@ var error26 = () => {
|
|
|
7449
7854
|
};
|
|
7450
7855
|
function lt_default() {
|
|
7451
7856
|
return {
|
|
7452
|
-
localeError:
|
|
7857
|
+
localeError: error28()
|
|
7453
7858
|
};
|
|
7454
7859
|
}
|
|
7455
|
-
//
|
|
7456
|
-
var
|
|
7860
|
+
// node_modules/zod/v4/locales/mk.js
|
|
7861
|
+
var error29 = () => {
|
|
7457
7862
|
const Sizable = {
|
|
7458
7863
|
string: { unit: "знаци", verb: "да имаат" },
|
|
7459
7864
|
file: { unit: "бајти", verb: "да имаат" },
|
|
@@ -7558,11 +7963,11 @@ var error27 = () => {
|
|
|
7558
7963
|
};
|
|
7559
7964
|
function mk_default() {
|
|
7560
7965
|
return {
|
|
7561
|
-
localeError:
|
|
7966
|
+
localeError: error29()
|
|
7562
7967
|
};
|
|
7563
7968
|
}
|
|
7564
|
-
//
|
|
7565
|
-
var
|
|
7969
|
+
// node_modules/zod/v4/locales/ms.js
|
|
7970
|
+
var error30 = () => {
|
|
7566
7971
|
const Sizable = {
|
|
7567
7972
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
7568
7973
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -7665,11 +8070,11 @@ var error28 = () => {
|
|
|
7665
8070
|
};
|
|
7666
8071
|
function ms_default() {
|
|
7667
8072
|
return {
|
|
7668
|
-
localeError:
|
|
8073
|
+
localeError: error30()
|
|
7669
8074
|
};
|
|
7670
8075
|
}
|
|
7671
|
-
//
|
|
7672
|
-
var
|
|
8076
|
+
// node_modules/zod/v4/locales/nl.js
|
|
8077
|
+
var error31 = () => {
|
|
7673
8078
|
const Sizable = {
|
|
7674
8079
|
string: { unit: "tekens", verb: "heeft" },
|
|
7675
8080
|
file: { unit: "bytes", verb: "heeft" },
|
|
@@ -7775,11 +8180,11 @@ var error29 = () => {
|
|
|
7775
8180
|
};
|
|
7776
8181
|
function nl_default() {
|
|
7777
8182
|
return {
|
|
7778
|
-
localeError:
|
|
8183
|
+
localeError: error31()
|
|
7779
8184
|
};
|
|
7780
8185
|
}
|
|
7781
|
-
//
|
|
7782
|
-
var
|
|
8186
|
+
// node_modules/zod/v4/locales/no.js
|
|
8187
|
+
var error32 = () => {
|
|
7783
8188
|
const Sizable = {
|
|
7784
8189
|
string: { unit: "tegn", verb: "å ha" },
|
|
7785
8190
|
file: { unit: "bytes", verb: "å ha" },
|
|
@@ -7883,11 +8288,11 @@ var error30 = () => {
|
|
|
7883
8288
|
};
|
|
7884
8289
|
function no_default() {
|
|
7885
8290
|
return {
|
|
7886
|
-
localeError:
|
|
8291
|
+
localeError: error32()
|
|
7887
8292
|
};
|
|
7888
8293
|
}
|
|
7889
|
-
//
|
|
7890
|
-
var
|
|
8294
|
+
// node_modules/zod/v4/locales/ota.js
|
|
8295
|
+
var error33 = () => {
|
|
7891
8296
|
const Sizable = {
|
|
7892
8297
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
7893
8298
|
file: { unit: "bayt", verb: "olmalıdır" },
|
|
@@ -7992,11 +8397,11 @@ var error31 = () => {
|
|
|
7992
8397
|
};
|
|
7993
8398
|
function ota_default() {
|
|
7994
8399
|
return {
|
|
7995
|
-
localeError:
|
|
8400
|
+
localeError: error33()
|
|
7996
8401
|
};
|
|
7997
8402
|
}
|
|
7998
|
-
//
|
|
7999
|
-
var
|
|
8403
|
+
// node_modules/zod/v4/locales/ps.js
|
|
8404
|
+
var error34 = () => {
|
|
8000
8405
|
const Sizable = {
|
|
8001
8406
|
string: { unit: "توکي", verb: "ولري" },
|
|
8002
8407
|
file: { unit: "بایټس", verb: "ولري" },
|
|
@@ -8106,11 +8511,11 @@ var error32 = () => {
|
|
|
8106
8511
|
};
|
|
8107
8512
|
function ps_default() {
|
|
8108
8513
|
return {
|
|
8109
|
-
localeError:
|
|
8514
|
+
localeError: error34()
|
|
8110
8515
|
};
|
|
8111
8516
|
}
|
|
8112
|
-
//
|
|
8113
|
-
var
|
|
8517
|
+
// node_modules/zod/v4/locales/pl.js
|
|
8518
|
+
var error35 = () => {
|
|
8114
8519
|
const Sizable = {
|
|
8115
8520
|
string: { unit: "znaków", verb: "mieć" },
|
|
8116
8521
|
file: { unit: "bajtów", verb: "mieć" },
|
|
@@ -8215,11 +8620,11 @@ var error33 = () => {
|
|
|
8215
8620
|
};
|
|
8216
8621
|
function pl_default() {
|
|
8217
8622
|
return {
|
|
8218
|
-
localeError:
|
|
8623
|
+
localeError: error35()
|
|
8219
8624
|
};
|
|
8220
8625
|
}
|
|
8221
|
-
//
|
|
8222
|
-
var
|
|
8626
|
+
// node_modules/zod/v4/locales/pt.js
|
|
8627
|
+
var error36 = () => {
|
|
8223
8628
|
const Sizable = {
|
|
8224
8629
|
string: { unit: "caracteres", verb: "ter" },
|
|
8225
8630
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -8323,10 +8728,129 @@ var error34 = () => {
|
|
|
8323
8728
|
};
|
|
8324
8729
|
function pt_default() {
|
|
8325
8730
|
return {
|
|
8326
|
-
localeError:
|
|
8731
|
+
localeError: error36()
|
|
8327
8732
|
};
|
|
8328
8733
|
}
|
|
8329
|
-
//
|
|
8734
|
+
// node_modules/zod/v4/locales/ro.js
|
|
8735
|
+
var error37 = () => {
|
|
8736
|
+
const Sizable = {
|
|
8737
|
+
string: { unit: "caractere", verb: "să aibă" },
|
|
8738
|
+
file: { unit: "octeți", verb: "să aibă" },
|
|
8739
|
+
array: { unit: "elemente", verb: "să aibă" },
|
|
8740
|
+
set: { unit: "elemente", verb: "să aibă" },
|
|
8741
|
+
map: { unit: "intrări", verb: "să aibă" }
|
|
8742
|
+
};
|
|
8743
|
+
function getSizing(origin) {
|
|
8744
|
+
return Sizable[origin] ?? null;
|
|
8745
|
+
}
|
|
8746
|
+
const FormatDictionary = {
|
|
8747
|
+
regex: "intrare",
|
|
8748
|
+
email: "adresă de email",
|
|
8749
|
+
url: "URL",
|
|
8750
|
+
emoji: "emoji",
|
|
8751
|
+
uuid: "UUID",
|
|
8752
|
+
uuidv4: "UUIDv4",
|
|
8753
|
+
uuidv6: "UUIDv6",
|
|
8754
|
+
nanoid: "nanoid",
|
|
8755
|
+
guid: "GUID",
|
|
8756
|
+
cuid: "cuid",
|
|
8757
|
+
cuid2: "cuid2",
|
|
8758
|
+
ulid: "ULID",
|
|
8759
|
+
xid: "XID",
|
|
8760
|
+
ksuid: "KSUID",
|
|
8761
|
+
datetime: "dată și oră ISO",
|
|
8762
|
+
date: "dată ISO",
|
|
8763
|
+
time: "oră ISO",
|
|
8764
|
+
duration: "durată ISO",
|
|
8765
|
+
ipv4: "adresă IPv4",
|
|
8766
|
+
ipv6: "adresă IPv6",
|
|
8767
|
+
mac: "adresă MAC",
|
|
8768
|
+
cidrv4: "interval IPv4",
|
|
8769
|
+
cidrv6: "interval IPv6",
|
|
8770
|
+
base64: "șir codat base64",
|
|
8771
|
+
base64url: "șir codat base64url",
|
|
8772
|
+
json_string: "șir JSON",
|
|
8773
|
+
e164: "număr E.164",
|
|
8774
|
+
jwt: "JWT",
|
|
8775
|
+
template_literal: "intrare"
|
|
8776
|
+
};
|
|
8777
|
+
const TypeDictionary = {
|
|
8778
|
+
nan: "NaN",
|
|
8779
|
+
string: "șir",
|
|
8780
|
+
number: "număr",
|
|
8781
|
+
boolean: "boolean",
|
|
8782
|
+
function: "funcție",
|
|
8783
|
+
array: "matrice",
|
|
8784
|
+
object: "obiect",
|
|
8785
|
+
undefined: "nedefinit",
|
|
8786
|
+
symbol: "simbol",
|
|
8787
|
+
bigint: "număr mare",
|
|
8788
|
+
void: "void",
|
|
8789
|
+
never: "never",
|
|
8790
|
+
map: "hartă",
|
|
8791
|
+
set: "set"
|
|
8792
|
+
};
|
|
8793
|
+
return (issue2) => {
|
|
8794
|
+
switch (issue2.code) {
|
|
8795
|
+
case "invalid_type": {
|
|
8796
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8797
|
+
const receivedType = parsedType(issue2.input);
|
|
8798
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8799
|
+
return `Intrare invalidă: așteptat ${expected}, primit ${received}`;
|
|
8800
|
+
}
|
|
8801
|
+
case "invalid_value":
|
|
8802
|
+
if (issue2.values.length === 1)
|
|
8803
|
+
return `Intrare invalidă: așteptat ${stringifyPrimitive(issue2.values[0])}`;
|
|
8804
|
+
return `Opțiune invalidă: așteptat una dintre ${joinValues(issue2.values, "|")}`;
|
|
8805
|
+
case "too_big": {
|
|
8806
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
8807
|
+
const sizing = getSizing(issue2.origin);
|
|
8808
|
+
if (sizing)
|
|
8809
|
+
return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemente"}`;
|
|
8810
|
+
return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} să fie ${adj}${issue2.maximum.toString()}`;
|
|
8811
|
+
}
|
|
8812
|
+
case "too_small": {
|
|
8813
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
8814
|
+
const sizing = getSizing(issue2.origin);
|
|
8815
|
+
if (sizing) {
|
|
8816
|
+
return `Prea mic: așteptat ca ${issue2.origin} ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
8817
|
+
}
|
|
8818
|
+
return `Prea mic: așteptat ca ${issue2.origin} să fie ${adj}${issue2.minimum.toString()}`;
|
|
8819
|
+
}
|
|
8820
|
+
case "invalid_format": {
|
|
8821
|
+
const _issue = issue2;
|
|
8822
|
+
if (_issue.format === "starts_with") {
|
|
8823
|
+
return `Șir invalid: trebuie să înceapă cu "${_issue.prefix}"`;
|
|
8824
|
+
}
|
|
8825
|
+
if (_issue.format === "ends_with")
|
|
8826
|
+
return `Șir invalid: trebuie să se termine cu "${_issue.suffix}"`;
|
|
8827
|
+
if (_issue.format === "includes")
|
|
8828
|
+
return `Șir invalid: trebuie să includă "${_issue.includes}"`;
|
|
8829
|
+
if (_issue.format === "regex")
|
|
8830
|
+
return `Șir invalid: trebuie să se potrivească cu modelul ${_issue.pattern}`;
|
|
8831
|
+
return `Format invalid: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
8832
|
+
}
|
|
8833
|
+
case "not_multiple_of":
|
|
8834
|
+
return `Număr invalid: trebuie să fie multiplu de ${issue2.divisor}`;
|
|
8835
|
+
case "unrecognized_keys":
|
|
8836
|
+
return `Chei nerecunoscute: ${joinValues(issue2.keys, ", ")}`;
|
|
8837
|
+
case "invalid_key":
|
|
8838
|
+
return `Cheie invalidă în ${issue2.origin}`;
|
|
8839
|
+
case "invalid_union":
|
|
8840
|
+
return "Intrare invalidă";
|
|
8841
|
+
case "invalid_element":
|
|
8842
|
+
return `Valoare invalidă în ${issue2.origin}`;
|
|
8843
|
+
default:
|
|
8844
|
+
return `Intrare invalidă`;
|
|
8845
|
+
}
|
|
8846
|
+
};
|
|
8847
|
+
};
|
|
8848
|
+
function ro_default() {
|
|
8849
|
+
return {
|
|
8850
|
+
localeError: error37()
|
|
8851
|
+
};
|
|
8852
|
+
}
|
|
8853
|
+
// node_modules/zod/v4/locales/ru.js
|
|
8330
8854
|
function getRussianPlural(count, one, few, many) {
|
|
8331
8855
|
const absCount = Math.abs(count);
|
|
8332
8856
|
const lastDigit = absCount % 10;
|
|
@@ -8342,7 +8866,7 @@ function getRussianPlural(count, one, few, many) {
|
|
|
8342
8866
|
}
|
|
8343
8867
|
return many;
|
|
8344
8868
|
}
|
|
8345
|
-
var
|
|
8869
|
+
var error38 = () => {
|
|
8346
8870
|
const Sizable = {
|
|
8347
8871
|
string: {
|
|
8348
8872
|
unit: {
|
|
@@ -8479,11 +9003,11 @@ var error35 = () => {
|
|
|
8479
9003
|
};
|
|
8480
9004
|
function ru_default() {
|
|
8481
9005
|
return {
|
|
8482
|
-
localeError:
|
|
9006
|
+
localeError: error38()
|
|
8483
9007
|
};
|
|
8484
9008
|
}
|
|
8485
|
-
//
|
|
8486
|
-
var
|
|
9009
|
+
// node_modules/zod/v4/locales/sl.js
|
|
9010
|
+
var error39 = () => {
|
|
8487
9011
|
const Sizable = {
|
|
8488
9012
|
string: { unit: "znakov", verb: "imeti" },
|
|
8489
9013
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -8588,11 +9112,11 @@ var error36 = () => {
|
|
|
8588
9112
|
};
|
|
8589
9113
|
function sl_default() {
|
|
8590
9114
|
return {
|
|
8591
|
-
localeError:
|
|
9115
|
+
localeError: error39()
|
|
8592
9116
|
};
|
|
8593
9117
|
}
|
|
8594
|
-
//
|
|
8595
|
-
var
|
|
9118
|
+
// node_modules/zod/v4/locales/sv.js
|
|
9119
|
+
var error40 = () => {
|
|
8596
9120
|
const Sizable = {
|
|
8597
9121
|
string: { unit: "tecken", verb: "att ha" },
|
|
8598
9122
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -8698,11 +9222,11 @@ var error37 = () => {
|
|
|
8698
9222
|
};
|
|
8699
9223
|
function sv_default() {
|
|
8700
9224
|
return {
|
|
8701
|
-
localeError:
|
|
9225
|
+
localeError: error40()
|
|
8702
9226
|
};
|
|
8703
9227
|
}
|
|
8704
|
-
//
|
|
8705
|
-
var
|
|
9228
|
+
// node_modules/zod/v4/locales/ta.js
|
|
9229
|
+
var error41 = () => {
|
|
8706
9230
|
const Sizable = {
|
|
8707
9231
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
8708
9232
|
file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -8808,11 +9332,11 @@ var error38 = () => {
|
|
|
8808
9332
|
};
|
|
8809
9333
|
function ta_default() {
|
|
8810
9334
|
return {
|
|
8811
|
-
localeError:
|
|
9335
|
+
localeError: error41()
|
|
8812
9336
|
};
|
|
8813
9337
|
}
|
|
8814
|
-
//
|
|
8815
|
-
var
|
|
9338
|
+
// node_modules/zod/v4/locales/th.js
|
|
9339
|
+
var error42 = () => {
|
|
8816
9340
|
const Sizable = {
|
|
8817
9341
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
8818
9342
|
file: { unit: "ไบต์", verb: "ควรมี" },
|
|
@@ -8918,11 +9442,11 @@ var error39 = () => {
|
|
|
8918
9442
|
};
|
|
8919
9443
|
function th_default() {
|
|
8920
9444
|
return {
|
|
8921
|
-
localeError:
|
|
9445
|
+
localeError: error42()
|
|
8922
9446
|
};
|
|
8923
9447
|
}
|
|
8924
|
-
//
|
|
8925
|
-
var
|
|
9448
|
+
// node_modules/zod/v4/locales/tr.js
|
|
9449
|
+
var error43 = () => {
|
|
8926
9450
|
const Sizable = {
|
|
8927
9451
|
string: { unit: "karakter", verb: "olmalı" },
|
|
8928
9452
|
file: { unit: "bayt", verb: "olmalı" },
|
|
@@ -9023,11 +9547,11 @@ var error40 = () => {
|
|
|
9023
9547
|
};
|
|
9024
9548
|
function tr_default() {
|
|
9025
9549
|
return {
|
|
9026
|
-
localeError:
|
|
9550
|
+
localeError: error43()
|
|
9027
9551
|
};
|
|
9028
9552
|
}
|
|
9029
|
-
//
|
|
9030
|
-
var
|
|
9553
|
+
// node_modules/zod/v4/locales/uk.js
|
|
9554
|
+
var error44 = () => {
|
|
9031
9555
|
const Sizable = {
|
|
9032
9556
|
string: { unit: "символів", verb: "матиме" },
|
|
9033
9557
|
file: { unit: "байтів", verb: "матиме" },
|
|
@@ -9131,16 +9655,16 @@ var error41 = () => {
|
|
|
9131
9655
|
};
|
|
9132
9656
|
function uk_default() {
|
|
9133
9657
|
return {
|
|
9134
|
-
localeError:
|
|
9658
|
+
localeError: error44()
|
|
9135
9659
|
};
|
|
9136
9660
|
}
|
|
9137
9661
|
|
|
9138
|
-
//
|
|
9662
|
+
// node_modules/zod/v4/locales/ua.js
|
|
9139
9663
|
function ua_default() {
|
|
9140
9664
|
return uk_default();
|
|
9141
9665
|
}
|
|
9142
|
-
//
|
|
9143
|
-
var
|
|
9666
|
+
// node_modules/zod/v4/locales/ur.js
|
|
9667
|
+
var error45 = () => {
|
|
9144
9668
|
const Sizable = {
|
|
9145
9669
|
string: { unit: "حروف", verb: "ہونا" },
|
|
9146
9670
|
file: { unit: "بائٹس", verb: "ہونا" },
|
|
@@ -9246,16 +9770,17 @@ var error42 = () => {
|
|
|
9246
9770
|
};
|
|
9247
9771
|
function ur_default() {
|
|
9248
9772
|
return {
|
|
9249
|
-
localeError:
|
|
9773
|
+
localeError: error45()
|
|
9250
9774
|
};
|
|
9251
9775
|
}
|
|
9252
|
-
//
|
|
9253
|
-
var
|
|
9776
|
+
// node_modules/zod/v4/locales/uz.js
|
|
9777
|
+
var error46 = () => {
|
|
9254
9778
|
const Sizable = {
|
|
9255
9779
|
string: { unit: "belgi", verb: "bo‘lishi kerak" },
|
|
9256
9780
|
file: { unit: "bayt", verb: "bo‘lishi kerak" },
|
|
9257
9781
|
array: { unit: "element", verb: "bo‘lishi kerak" },
|
|
9258
|
-
set: { unit: "element", verb: "bo‘lishi kerak" }
|
|
9782
|
+
set: { unit: "element", verb: "bo‘lishi kerak" },
|
|
9783
|
+
map: { unit: "yozuv", verb: "bo‘lishi kerak" }
|
|
9259
9784
|
};
|
|
9260
9785
|
function getSizing(origin) {
|
|
9261
9786
|
return Sizable[origin] ?? null;
|
|
@@ -9355,11 +9880,11 @@ var error43 = () => {
|
|
|
9355
9880
|
};
|
|
9356
9881
|
function uz_default() {
|
|
9357
9882
|
return {
|
|
9358
|
-
localeError:
|
|
9883
|
+
localeError: error46()
|
|
9359
9884
|
};
|
|
9360
9885
|
}
|
|
9361
|
-
//
|
|
9362
|
-
var
|
|
9886
|
+
// node_modules/zod/v4/locales/vi.js
|
|
9887
|
+
var error47 = () => {
|
|
9363
9888
|
const Sizable = {
|
|
9364
9889
|
string: { unit: "ký tự", verb: "có" },
|
|
9365
9890
|
file: { unit: "byte", verb: "có" },
|
|
@@ -9463,11 +9988,11 @@ var error44 = () => {
|
|
|
9463
9988
|
};
|
|
9464
9989
|
function vi_default() {
|
|
9465
9990
|
return {
|
|
9466
|
-
localeError:
|
|
9991
|
+
localeError: error47()
|
|
9467
9992
|
};
|
|
9468
9993
|
}
|
|
9469
|
-
//
|
|
9470
|
-
var
|
|
9994
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
9995
|
+
var error48 = () => {
|
|
9471
9996
|
const Sizable = {
|
|
9472
9997
|
string: { unit: "字符", verb: "包含" },
|
|
9473
9998
|
file: { unit: "字节", verb: "包含" },
|
|
@@ -9572,11 +10097,11 @@ var error45 = () => {
|
|
|
9572
10097
|
};
|
|
9573
10098
|
function zh_CN_default() {
|
|
9574
10099
|
return {
|
|
9575
|
-
localeError:
|
|
10100
|
+
localeError: error48()
|
|
9576
10101
|
};
|
|
9577
10102
|
}
|
|
9578
|
-
//
|
|
9579
|
-
var
|
|
10103
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
10104
|
+
var error49 = () => {
|
|
9580
10105
|
const Sizable = {
|
|
9581
10106
|
string: { unit: "字元", verb: "擁有" },
|
|
9582
10107
|
file: { unit: "位元組", verb: "擁有" },
|
|
@@ -9679,11 +10204,11 @@ var error46 = () => {
|
|
|
9679
10204
|
};
|
|
9680
10205
|
function zh_TW_default() {
|
|
9681
10206
|
return {
|
|
9682
|
-
localeError:
|
|
10207
|
+
localeError: error49()
|
|
9683
10208
|
};
|
|
9684
10209
|
}
|
|
9685
|
-
//
|
|
9686
|
-
var
|
|
10210
|
+
// node_modules/zod/v4/locales/yo.js
|
|
10211
|
+
var error50 = () => {
|
|
9687
10212
|
const Sizable = {
|
|
9688
10213
|
string: { unit: "àmi", verb: "ní" },
|
|
9689
10214
|
file: { unit: "bytes", verb: "ní" },
|
|
@@ -9786,11 +10311,11 @@ var error47 = () => {
|
|
|
9786
10311
|
};
|
|
9787
10312
|
function yo_default() {
|
|
9788
10313
|
return {
|
|
9789
|
-
localeError:
|
|
10314
|
+
localeError: error50()
|
|
9790
10315
|
};
|
|
9791
10316
|
}
|
|
9792
|
-
//
|
|
9793
|
-
var
|
|
10317
|
+
// node_modules/zod/v4/core/registries.js
|
|
10318
|
+
var _a2;
|
|
9794
10319
|
var $output = Symbol("ZodOutput");
|
|
9795
10320
|
var $input = Symbol("ZodInput");
|
|
9796
10321
|
|
|
@@ -9837,9 +10362,9 @@ class $ZodRegistry {
|
|
|
9837
10362
|
function registry() {
|
|
9838
10363
|
return new $ZodRegistry;
|
|
9839
10364
|
}
|
|
9840
|
-
(
|
|
10365
|
+
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
9841
10366
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
9842
|
-
//
|
|
10367
|
+
// node_modules/zod/v4/core/api.js
|
|
9843
10368
|
function _string(Class2, params) {
|
|
9844
10369
|
return new Class2({
|
|
9845
10370
|
type: "string",
|
|
@@ -10643,7 +11168,7 @@ function _refine(Class2, fn, _params) {
|
|
|
10643
11168
|
});
|
|
10644
11169
|
return schema;
|
|
10645
11170
|
}
|
|
10646
|
-
function _superRefine(fn) {
|
|
11171
|
+
function _superRefine(fn, params) {
|
|
10647
11172
|
const ch = _check((payload) => {
|
|
10648
11173
|
payload.addIssue = (issue2) => {
|
|
10649
11174
|
if (typeof issue2 === "string") {
|
|
@@ -10660,7 +11185,7 @@ function _superRefine(fn) {
|
|
|
10660
11185
|
}
|
|
10661
11186
|
};
|
|
10662
11187
|
return fn(payload.value, payload);
|
|
10663
|
-
});
|
|
11188
|
+
}, params);
|
|
10664
11189
|
return ch;
|
|
10665
11190
|
}
|
|
10666
11191
|
function _check(fn, params) {
|
|
@@ -10759,7 +11284,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
10759
11284
|
const inst = new Class2(def);
|
|
10760
11285
|
return inst;
|
|
10761
11286
|
}
|
|
10762
|
-
//
|
|
11287
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
10763
11288
|
function initializeContext(params) {
|
|
10764
11289
|
let target = params?.target ?? "draft-2020-12";
|
|
10765
11290
|
if (target === "draft-4")
|
|
@@ -10781,7 +11306,7 @@ function initializeContext(params) {
|
|
|
10781
11306
|
};
|
|
10782
11307
|
}
|
|
10783
11308
|
function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
10784
|
-
var
|
|
11309
|
+
var _a3;
|
|
10785
11310
|
const def = schema._zod.def;
|
|
10786
11311
|
const seen = ctx.seen.get(schema);
|
|
10787
11312
|
if (seen) {
|
|
@@ -10828,8 +11353,8 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
10828
11353
|
delete result.schema.examples;
|
|
10829
11354
|
delete result.schema.default;
|
|
10830
11355
|
}
|
|
10831
|
-
if (ctx.io === "input" && result.schema
|
|
10832
|
-
(
|
|
11356
|
+
if (ctx.io === "input" && "_prefault" in result.schema)
|
|
11357
|
+
(_a3 = result.schema).default ?? (_a3.default = result.schema._prefault);
|
|
10833
11358
|
delete result.schema._prefault;
|
|
10834
11359
|
const _result = ctx.seen.get(schema);
|
|
10835
11360
|
return _result.schema;
|
|
@@ -11006,10 +11531,15 @@ function finalize(ctx, schema) {
|
|
|
11006
11531
|
result.$id = ctx.external.uri(id);
|
|
11007
11532
|
}
|
|
11008
11533
|
Object.assign(result, root.def ?? root.schema);
|
|
11534
|
+
const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
|
|
11535
|
+
if (rootMetaId !== undefined && result.id === rootMetaId)
|
|
11536
|
+
delete result.id;
|
|
11009
11537
|
const defs = ctx.external?.defs ?? {};
|
|
11010
11538
|
for (const entry of ctx.seen.entries()) {
|
|
11011
11539
|
const seen = entry[1];
|
|
11012
11540
|
if (seen.def && seen.defId) {
|
|
11541
|
+
if (seen.def.id === seen.defId)
|
|
11542
|
+
delete seen.def.id;
|
|
11013
11543
|
defs[seen.defId] = seen.def;
|
|
11014
11544
|
}
|
|
11015
11545
|
}
|
|
@@ -11064,6 +11594,8 @@ function isTransforming(_schema, _ctx) {
|
|
|
11064
11594
|
return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
11065
11595
|
}
|
|
11066
11596
|
if (def.type === "pipe") {
|
|
11597
|
+
if (_schema._zod.traits.has("$ZodCodec"))
|
|
11598
|
+
return true;
|
|
11067
11599
|
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
11068
11600
|
}
|
|
11069
11601
|
if (def.type === "object") {
|
|
@@ -11104,7 +11636,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
11104
11636
|
extractDefs(ctx, schema);
|
|
11105
11637
|
return finalize(ctx, schema);
|
|
11106
11638
|
};
|
|
11107
|
-
//
|
|
11639
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
11108
11640
|
var formatMap = {
|
|
11109
11641
|
guid: "uuid",
|
|
11110
11642
|
url: "uri",
|
|
@@ -11151,39 +11683,28 @@ var numberProcessor = (schema, ctx, _json, _params) => {
|
|
|
11151
11683
|
json.type = "integer";
|
|
11152
11684
|
else
|
|
11153
11685
|
json.type = "number";
|
|
11154
|
-
|
|
11155
|
-
|
|
11686
|
+
const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
|
|
11687
|
+
const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
|
|
11688
|
+
const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
|
|
11689
|
+
if (exMin) {
|
|
11690
|
+
if (legacy) {
|
|
11156
11691
|
json.minimum = exclusiveMinimum;
|
|
11157
11692
|
json.exclusiveMinimum = true;
|
|
11158
11693
|
} else {
|
|
11159
11694
|
json.exclusiveMinimum = exclusiveMinimum;
|
|
11160
11695
|
}
|
|
11161
|
-
}
|
|
11162
|
-
if (typeof minimum === "number") {
|
|
11696
|
+
} else if (typeof minimum === "number") {
|
|
11163
11697
|
json.minimum = minimum;
|
|
11164
|
-
if (typeof exclusiveMinimum === "number" && ctx.target !== "draft-04") {
|
|
11165
|
-
if (exclusiveMinimum >= minimum)
|
|
11166
|
-
delete json.minimum;
|
|
11167
|
-
else
|
|
11168
|
-
delete json.exclusiveMinimum;
|
|
11169
|
-
}
|
|
11170
11698
|
}
|
|
11171
|
-
if (
|
|
11172
|
-
if (
|
|
11699
|
+
if (exMax) {
|
|
11700
|
+
if (legacy) {
|
|
11173
11701
|
json.maximum = exclusiveMaximum;
|
|
11174
11702
|
json.exclusiveMaximum = true;
|
|
11175
11703
|
} else {
|
|
11176
11704
|
json.exclusiveMaximum = exclusiveMaximum;
|
|
11177
11705
|
}
|
|
11178
|
-
}
|
|
11179
|
-
if (typeof maximum === "number") {
|
|
11706
|
+
} else if (typeof maximum === "number") {
|
|
11180
11707
|
json.maximum = maximum;
|
|
11181
|
-
if (typeof exclusiveMaximum === "number" && ctx.target !== "draft-04") {
|
|
11182
|
-
if (exclusiveMaximum <= maximum)
|
|
11183
|
-
delete json.maximum;
|
|
11184
|
-
else
|
|
11185
|
-
delete json.exclusiveMaximum;
|
|
11186
|
-
}
|
|
11187
11708
|
}
|
|
11188
11709
|
if (typeof multipleOf === "number")
|
|
11189
11710
|
json.multipleOf = multipleOf;
|
|
@@ -11351,7 +11872,10 @@ var arrayProcessor = (schema, ctx, _json, params) => {
|
|
|
11351
11872
|
if (typeof maximum === "number")
|
|
11352
11873
|
json.maxItems = maximum;
|
|
11353
11874
|
json.type = "array";
|
|
11354
|
-
json.items = process2(def.element, ctx, {
|
|
11875
|
+
json.items = process2(def.element, ctx, {
|
|
11876
|
+
...params,
|
|
11877
|
+
path: [...params.path, "items"]
|
|
11878
|
+
});
|
|
11355
11879
|
};
|
|
11356
11880
|
var objectProcessor = (schema, ctx, _json, params) => {
|
|
11357
11881
|
const json = _json;
|
|
@@ -11544,7 +12068,8 @@ var catchProcessor = (schema, ctx, json, params) => {
|
|
|
11544
12068
|
};
|
|
11545
12069
|
var pipeProcessor = (schema, ctx, _json, params) => {
|
|
11546
12070
|
const def = schema._zod.def;
|
|
11547
|
-
const
|
|
12071
|
+
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
12072
|
+
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
11548
12073
|
process2(innerType, ctx, params);
|
|
11549
12074
|
const seen = ctx.seen.get(schema);
|
|
11550
12075
|
seen.ref = innerType;
|
|
@@ -11649,7 +12174,7 @@ function toJSONSchema(input, params) {
|
|
|
11649
12174
|
extractDefs(ctx, input);
|
|
11650
12175
|
return finalize(ctx, input);
|
|
11651
12176
|
}
|
|
11652
|
-
//
|
|
12177
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
11653
12178
|
class JSONSchemaGenerator {
|
|
11654
12179
|
get metadataRegistry() {
|
|
11655
12180
|
return this.ctx.metadataRegistry;
|
|
@@ -11708,9 +12233,9 @@ class JSONSchemaGenerator {
|
|
|
11708
12233
|
return plainResult;
|
|
11709
12234
|
}
|
|
11710
12235
|
}
|
|
11711
|
-
//
|
|
12236
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
11712
12237
|
var exports_json_schema = {};
|
|
11713
|
-
//
|
|
12238
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
11714
12239
|
var exports_schemas2 = {};
|
|
11715
12240
|
__export(exports_schemas2, {
|
|
11716
12241
|
xor: () => xor,
|
|
@@ -11770,6 +12295,7 @@ __export(exports_schemas2, {
|
|
|
11770
12295
|
json: () => json,
|
|
11771
12296
|
ipv6: () => ipv62,
|
|
11772
12297
|
ipv4: () => ipv42,
|
|
12298
|
+
invertCodec: () => invertCodec,
|
|
11773
12299
|
intersection: () => intersection,
|
|
11774
12300
|
int64: () => int64,
|
|
11775
12301
|
int32: () => int32,
|
|
@@ -11830,6 +12356,7 @@ __export(exports_schemas2, {
|
|
|
11830
12356
|
ZodRecord: () => ZodRecord,
|
|
11831
12357
|
ZodReadonly: () => ZodReadonly,
|
|
11832
12358
|
ZodPromise: () => ZodPromise,
|
|
12359
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
11833
12360
|
ZodPrefault: () => ZodPrefault,
|
|
11834
12361
|
ZodPipe: () => ZodPipe,
|
|
11835
12362
|
ZodOptional: () => ZodOptional,
|
|
@@ -11879,7 +12406,7 @@ __export(exports_schemas2, {
|
|
|
11879
12406
|
ZodAny: () => ZodAny
|
|
11880
12407
|
});
|
|
11881
12408
|
|
|
11882
|
-
//
|
|
12409
|
+
// node_modules/zod/v4/classic/checks.js
|
|
11883
12410
|
var exports_checks2 = {};
|
|
11884
12411
|
__export(exports_checks2, {
|
|
11885
12412
|
uppercase: () => _uppercase,
|
|
@@ -11913,7 +12440,7 @@ __export(exports_checks2, {
|
|
|
11913
12440
|
endsWith: () => _endsWith
|
|
11914
12441
|
});
|
|
11915
12442
|
|
|
11916
|
-
//
|
|
12443
|
+
// node_modules/zod/v4/classic/iso.js
|
|
11917
12444
|
var exports_iso = {};
|
|
11918
12445
|
__export(exports_iso, {
|
|
11919
12446
|
time: () => time2,
|
|
@@ -11954,7 +12481,7 @@ function duration2(params) {
|
|
|
11954
12481
|
return _isoDuration(ZodISODuration, params);
|
|
11955
12482
|
}
|
|
11956
12483
|
|
|
11957
|
-
//
|
|
12484
|
+
// node_modules/zod/v4/classic/errors.js
|
|
11958
12485
|
var initializer2 = (inst, issues) => {
|
|
11959
12486
|
$ZodError.init(inst, issues);
|
|
11960
12487
|
inst.name = "ZodError";
|
|
@@ -11984,12 +12511,12 @@ var initializer2 = (inst, issues) => {
|
|
|
11984
12511
|
}
|
|
11985
12512
|
});
|
|
11986
12513
|
};
|
|
11987
|
-
var ZodError = $constructor("ZodError", initializer2);
|
|
11988
|
-
var ZodRealError = $constructor("ZodError", initializer2, {
|
|
12514
|
+
var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
|
|
12515
|
+
var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
11989
12516
|
Parent: Error
|
|
11990
12517
|
});
|
|
11991
12518
|
|
|
11992
|
-
//
|
|
12519
|
+
// node_modules/zod/v4/classic/parse.js
|
|
11993
12520
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
11994
12521
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
11995
12522
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -12003,7 +12530,44 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12003
12530
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12004
12531
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12005
12532
|
|
|
12006
|
-
//
|
|
12533
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
12534
|
+
var _installedGroups = /* @__PURE__ */ new WeakMap;
|
|
12535
|
+
function _installLazyMethods(inst, group, methods) {
|
|
12536
|
+
const proto = Object.getPrototypeOf(inst);
|
|
12537
|
+
let installed = _installedGroups.get(proto);
|
|
12538
|
+
if (!installed) {
|
|
12539
|
+
installed = new Set;
|
|
12540
|
+
_installedGroups.set(proto, installed);
|
|
12541
|
+
}
|
|
12542
|
+
if (installed.has(group))
|
|
12543
|
+
return;
|
|
12544
|
+
installed.add(group);
|
|
12545
|
+
for (const key in methods) {
|
|
12546
|
+
const fn = methods[key];
|
|
12547
|
+
Object.defineProperty(proto, key, {
|
|
12548
|
+
configurable: true,
|
|
12549
|
+
enumerable: false,
|
|
12550
|
+
get() {
|
|
12551
|
+
const bound = fn.bind(this);
|
|
12552
|
+
Object.defineProperty(this, key, {
|
|
12553
|
+
configurable: true,
|
|
12554
|
+
writable: true,
|
|
12555
|
+
enumerable: true,
|
|
12556
|
+
value: bound
|
|
12557
|
+
});
|
|
12558
|
+
return bound;
|
|
12559
|
+
},
|
|
12560
|
+
set(v) {
|
|
12561
|
+
Object.defineProperty(this, key, {
|
|
12562
|
+
configurable: true,
|
|
12563
|
+
writable: true,
|
|
12564
|
+
enumerable: true,
|
|
12565
|
+
value: v
|
|
12566
|
+
});
|
|
12567
|
+
}
|
|
12568
|
+
});
|
|
12569
|
+
}
|
|
12570
|
+
}
|
|
12007
12571
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
12008
12572
|
$ZodType.init(inst, def);
|
|
12009
12573
|
Object.assign(inst["~standard"], {
|
|
@@ -12016,23 +12580,6 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12016
12580
|
inst.def = def;
|
|
12017
12581
|
inst.type = def.type;
|
|
12018
12582
|
Object.defineProperty(inst, "_def", { value: def });
|
|
12019
|
-
inst.check = (...checks2) => {
|
|
12020
|
-
return inst.clone(exports_util.mergeDefs(def, {
|
|
12021
|
-
checks: [
|
|
12022
|
-
...def.checks ?? [],
|
|
12023
|
-
...checks2.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12024
|
-
]
|
|
12025
|
-
}), {
|
|
12026
|
-
parent: true
|
|
12027
|
-
});
|
|
12028
|
-
};
|
|
12029
|
-
inst.with = inst.check;
|
|
12030
|
-
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
12031
|
-
inst.brand = () => inst;
|
|
12032
|
-
inst.register = (reg, meta2) => {
|
|
12033
|
-
reg.add(inst, meta2);
|
|
12034
|
-
return inst;
|
|
12035
|
-
};
|
|
12036
12583
|
inst.parse = (data, params) => parse3(inst, data, params, { callee: inst.parse });
|
|
12037
12584
|
inst.safeParse = (data, params) => safeParse2(inst, data, params);
|
|
12038
12585
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -12046,45 +12593,108 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12046
12593
|
inst.safeDecode = (data, params) => safeDecode2(inst, data, params);
|
|
12047
12594
|
inst.safeEncodeAsync = async (data, params) => safeEncodeAsync2(inst, data, params);
|
|
12048
12595
|
inst.safeDecodeAsync = async (data, params) => safeDecodeAsync2(inst, data, params);
|
|
12049
|
-
inst
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12596
|
+
_installLazyMethods(inst, "ZodType", {
|
|
12597
|
+
check(...chks) {
|
|
12598
|
+
const def2 = this.def;
|
|
12599
|
+
return this.clone(exports_util.mergeDefs(def2, {
|
|
12600
|
+
checks: [
|
|
12601
|
+
...def2.checks ?? [],
|
|
12602
|
+
...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12603
|
+
]
|
|
12604
|
+
}), { parent: true });
|
|
12605
|
+
},
|
|
12606
|
+
with(...chks) {
|
|
12607
|
+
return this.check(...chks);
|
|
12608
|
+
},
|
|
12609
|
+
clone(def2, params) {
|
|
12610
|
+
return clone(this, def2, params);
|
|
12611
|
+
},
|
|
12612
|
+
brand() {
|
|
12613
|
+
return this;
|
|
12614
|
+
},
|
|
12615
|
+
register(reg, meta2) {
|
|
12616
|
+
reg.add(this, meta2);
|
|
12617
|
+
return this;
|
|
12618
|
+
},
|
|
12619
|
+
refine(check, params) {
|
|
12620
|
+
return this.check(refine(check, params));
|
|
12621
|
+
},
|
|
12622
|
+
superRefine(refinement, params) {
|
|
12623
|
+
return this.check(superRefine(refinement, params));
|
|
12624
|
+
},
|
|
12625
|
+
overwrite(fn) {
|
|
12626
|
+
return this.check(_overwrite(fn));
|
|
12627
|
+
},
|
|
12628
|
+
optional() {
|
|
12629
|
+
return optional(this);
|
|
12630
|
+
},
|
|
12631
|
+
exactOptional() {
|
|
12632
|
+
return exactOptional(this);
|
|
12633
|
+
},
|
|
12634
|
+
nullable() {
|
|
12635
|
+
return nullable(this);
|
|
12636
|
+
},
|
|
12637
|
+
nullish() {
|
|
12638
|
+
return optional(nullable(this));
|
|
12639
|
+
},
|
|
12640
|
+
nonoptional(params) {
|
|
12641
|
+
return nonoptional(this, params);
|
|
12642
|
+
},
|
|
12643
|
+
array() {
|
|
12644
|
+
return array(this);
|
|
12645
|
+
},
|
|
12646
|
+
or(arg) {
|
|
12647
|
+
return union([this, arg]);
|
|
12648
|
+
},
|
|
12649
|
+
and(arg) {
|
|
12650
|
+
return intersection(this, arg);
|
|
12651
|
+
},
|
|
12652
|
+
transform(tx) {
|
|
12653
|
+
return pipe(this, transform(tx));
|
|
12654
|
+
},
|
|
12655
|
+
default(d) {
|
|
12656
|
+
return _default2(this, d);
|
|
12657
|
+
},
|
|
12658
|
+
prefault(d) {
|
|
12659
|
+
return prefault(this, d);
|
|
12660
|
+
},
|
|
12661
|
+
catch(params) {
|
|
12662
|
+
return _catch2(this, params);
|
|
12663
|
+
},
|
|
12664
|
+
pipe(target) {
|
|
12665
|
+
return pipe(this, target);
|
|
12666
|
+
},
|
|
12667
|
+
readonly() {
|
|
12668
|
+
return readonly(this);
|
|
12669
|
+
},
|
|
12670
|
+
describe(description) {
|
|
12671
|
+
const cl = this.clone();
|
|
12672
|
+
globalRegistry.add(cl, { description });
|
|
12673
|
+
return cl;
|
|
12674
|
+
},
|
|
12675
|
+
meta(...args) {
|
|
12676
|
+
if (args.length === 0)
|
|
12677
|
+
return globalRegistry.get(this);
|
|
12678
|
+
const cl = this.clone();
|
|
12679
|
+
globalRegistry.add(cl, args[0]);
|
|
12680
|
+
return cl;
|
|
12681
|
+
},
|
|
12682
|
+
isOptional() {
|
|
12683
|
+
return this.safeParse(undefined).success;
|
|
12684
|
+
},
|
|
12685
|
+
isNullable() {
|
|
12686
|
+
return this.safeParse(null).success;
|
|
12687
|
+
},
|
|
12688
|
+
apply(fn) {
|
|
12689
|
+
return fn(this);
|
|
12690
|
+
}
|
|
12691
|
+
});
|
|
12071
12692
|
Object.defineProperty(inst, "description", {
|
|
12072
12693
|
get() {
|
|
12073
12694
|
return globalRegistry.get(inst)?.description;
|
|
12074
12695
|
},
|
|
12075
12696
|
configurable: true
|
|
12076
12697
|
});
|
|
12077
|
-
inst.meta = (...args) => {
|
|
12078
|
-
if (args.length === 0) {
|
|
12079
|
-
return globalRegistry.get(inst);
|
|
12080
|
-
}
|
|
12081
|
-
const cl = inst.clone();
|
|
12082
|
-
globalRegistry.add(cl, args[0]);
|
|
12083
|
-
return cl;
|
|
12084
|
-
};
|
|
12085
|
-
inst.isOptional = () => inst.safeParse(undefined).success;
|
|
12086
|
-
inst.isNullable = () => inst.safeParse(null).success;
|
|
12087
|
-
inst.apply = (fn) => fn(inst);
|
|
12088
12698
|
return inst;
|
|
12089
12699
|
});
|
|
12090
12700
|
var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
@@ -12095,21 +12705,53 @@ var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
|
12095
12705
|
inst.format = bag.format ?? null;
|
|
12096
12706
|
inst.minLength = bag.minimum ?? null;
|
|
12097
12707
|
inst.maxLength = bag.maximum ?? null;
|
|
12098
|
-
inst
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12708
|
+
_installLazyMethods(inst, "_ZodString", {
|
|
12709
|
+
regex(...args) {
|
|
12710
|
+
return this.check(_regex(...args));
|
|
12711
|
+
},
|
|
12712
|
+
includes(...args) {
|
|
12713
|
+
return this.check(_includes(...args));
|
|
12714
|
+
},
|
|
12715
|
+
startsWith(...args) {
|
|
12716
|
+
return this.check(_startsWith(...args));
|
|
12717
|
+
},
|
|
12718
|
+
endsWith(...args) {
|
|
12719
|
+
return this.check(_endsWith(...args));
|
|
12720
|
+
},
|
|
12721
|
+
min(...args) {
|
|
12722
|
+
return this.check(_minLength(...args));
|
|
12723
|
+
},
|
|
12724
|
+
max(...args) {
|
|
12725
|
+
return this.check(_maxLength(...args));
|
|
12726
|
+
},
|
|
12727
|
+
length(...args) {
|
|
12728
|
+
return this.check(_length(...args));
|
|
12729
|
+
},
|
|
12730
|
+
nonempty(...args) {
|
|
12731
|
+
return this.check(_minLength(1, ...args));
|
|
12732
|
+
},
|
|
12733
|
+
lowercase(params) {
|
|
12734
|
+
return this.check(_lowercase(params));
|
|
12735
|
+
},
|
|
12736
|
+
uppercase(params) {
|
|
12737
|
+
return this.check(_uppercase(params));
|
|
12738
|
+
},
|
|
12739
|
+
trim() {
|
|
12740
|
+
return this.check(_trim());
|
|
12741
|
+
},
|
|
12742
|
+
normalize(...args) {
|
|
12743
|
+
return this.check(_normalize(...args));
|
|
12744
|
+
},
|
|
12745
|
+
toLowerCase() {
|
|
12746
|
+
return this.check(_toLowerCase());
|
|
12747
|
+
},
|
|
12748
|
+
toUpperCase() {
|
|
12749
|
+
return this.check(_toUpperCase());
|
|
12750
|
+
},
|
|
12751
|
+
slugify() {
|
|
12752
|
+
return this.check(_slugify());
|
|
12753
|
+
}
|
|
12754
|
+
});
|
|
12113
12755
|
});
|
|
12114
12756
|
var ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
12115
12757
|
$ZodString.init(inst, def);
|
|
@@ -12188,7 +12830,7 @@ function url(params) {
|
|
|
12188
12830
|
}
|
|
12189
12831
|
function httpUrl(params) {
|
|
12190
12832
|
return _url(ZodURL, {
|
|
12191
|
-
protocol:
|
|
12833
|
+
protocol: exports_regexes.httpProtocol,
|
|
12192
12834
|
hostname: exports_regexes.domain,
|
|
12193
12835
|
...exports_util.normalizeParams(params)
|
|
12194
12836
|
});
|
|
@@ -12330,21 +12972,53 @@ var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
|
|
|
12330
12972
|
$ZodNumber.init(inst, def);
|
|
12331
12973
|
ZodType.init(inst, def);
|
|
12332
12974
|
inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
|
|
12333
|
-
inst
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12975
|
+
_installLazyMethods(inst, "ZodNumber", {
|
|
12976
|
+
gt(value, params) {
|
|
12977
|
+
return this.check(_gt(value, params));
|
|
12978
|
+
},
|
|
12979
|
+
gte(value, params) {
|
|
12980
|
+
return this.check(_gte(value, params));
|
|
12981
|
+
},
|
|
12982
|
+
min(value, params) {
|
|
12983
|
+
return this.check(_gte(value, params));
|
|
12984
|
+
},
|
|
12985
|
+
lt(value, params) {
|
|
12986
|
+
return this.check(_lt(value, params));
|
|
12987
|
+
},
|
|
12988
|
+
lte(value, params) {
|
|
12989
|
+
return this.check(_lte(value, params));
|
|
12990
|
+
},
|
|
12991
|
+
max(value, params) {
|
|
12992
|
+
return this.check(_lte(value, params));
|
|
12993
|
+
},
|
|
12994
|
+
int(params) {
|
|
12995
|
+
return this.check(int(params));
|
|
12996
|
+
},
|
|
12997
|
+
safe(params) {
|
|
12998
|
+
return this.check(int(params));
|
|
12999
|
+
},
|
|
13000
|
+
positive(params) {
|
|
13001
|
+
return this.check(_gt(0, params));
|
|
13002
|
+
},
|
|
13003
|
+
nonnegative(params) {
|
|
13004
|
+
return this.check(_gte(0, params));
|
|
13005
|
+
},
|
|
13006
|
+
negative(params) {
|
|
13007
|
+
return this.check(_lt(0, params));
|
|
13008
|
+
},
|
|
13009
|
+
nonpositive(params) {
|
|
13010
|
+
return this.check(_lte(0, params));
|
|
13011
|
+
},
|
|
13012
|
+
multipleOf(value, params) {
|
|
13013
|
+
return this.check(_multipleOf(value, params));
|
|
13014
|
+
},
|
|
13015
|
+
step(value, params) {
|
|
13016
|
+
return this.check(_multipleOf(value, params));
|
|
13017
|
+
},
|
|
13018
|
+
finite() {
|
|
13019
|
+
return this;
|
|
13020
|
+
}
|
|
13021
|
+
});
|
|
12348
13022
|
const bag = inst._zod.bag;
|
|
12349
13023
|
inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
|
|
12350
13024
|
inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
|
|
@@ -12491,11 +13165,23 @@ var ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
|
|
|
12491
13165
|
ZodType.init(inst, def);
|
|
12492
13166
|
inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
|
|
12493
13167
|
inst.element = def.element;
|
|
12494
|
-
inst
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
13168
|
+
_installLazyMethods(inst, "ZodArray", {
|
|
13169
|
+
min(n, params) {
|
|
13170
|
+
return this.check(_minLength(n, params));
|
|
13171
|
+
},
|
|
13172
|
+
nonempty(params) {
|
|
13173
|
+
return this.check(_minLength(1, params));
|
|
13174
|
+
},
|
|
13175
|
+
max(n, params) {
|
|
13176
|
+
return this.check(_maxLength(n, params));
|
|
13177
|
+
},
|
|
13178
|
+
length(n, params) {
|
|
13179
|
+
return this.check(_length(n, params));
|
|
13180
|
+
},
|
|
13181
|
+
unwrap() {
|
|
13182
|
+
return this.element;
|
|
13183
|
+
}
|
|
13184
|
+
});
|
|
12499
13185
|
});
|
|
12500
13186
|
function array(element, params) {
|
|
12501
13187
|
return _array(ZodArray, element, params);
|
|
@@ -12511,23 +13197,47 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
|
12511
13197
|
exports_util.defineLazy(inst, "shape", () => {
|
|
12512
13198
|
return def.shape;
|
|
12513
13199
|
});
|
|
12514
|
-
inst
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
13200
|
+
_installLazyMethods(inst, "ZodObject", {
|
|
13201
|
+
keyof() {
|
|
13202
|
+
return _enum2(Object.keys(this._zod.def.shape));
|
|
13203
|
+
},
|
|
13204
|
+
catchall(catchall) {
|
|
13205
|
+
return this.clone({ ...this._zod.def, catchall });
|
|
13206
|
+
},
|
|
13207
|
+
passthrough() {
|
|
13208
|
+
return this.clone({ ...this._zod.def, catchall: unknown() });
|
|
13209
|
+
},
|
|
13210
|
+
loose() {
|
|
13211
|
+
return this.clone({ ...this._zod.def, catchall: unknown() });
|
|
13212
|
+
},
|
|
13213
|
+
strict() {
|
|
13214
|
+
return this.clone({ ...this._zod.def, catchall: never() });
|
|
13215
|
+
},
|
|
13216
|
+
strip() {
|
|
13217
|
+
return this.clone({ ...this._zod.def, catchall: undefined });
|
|
13218
|
+
},
|
|
13219
|
+
extend(incoming) {
|
|
13220
|
+
return exports_util.extend(this, incoming);
|
|
13221
|
+
},
|
|
13222
|
+
safeExtend(incoming) {
|
|
13223
|
+
return exports_util.safeExtend(this, incoming);
|
|
13224
|
+
},
|
|
13225
|
+
merge(other) {
|
|
13226
|
+
return exports_util.merge(this, other);
|
|
13227
|
+
},
|
|
13228
|
+
pick(mask) {
|
|
13229
|
+
return exports_util.pick(this, mask);
|
|
13230
|
+
},
|
|
13231
|
+
omit(mask) {
|
|
13232
|
+
return exports_util.omit(this, mask);
|
|
13233
|
+
},
|
|
13234
|
+
partial(...args) {
|
|
13235
|
+
return exports_util.partial(ZodOptional, this, args[0]);
|
|
13236
|
+
},
|
|
13237
|
+
required(...args) {
|
|
13238
|
+
return exports_util.required(ZodNonOptional, this, args[0]);
|
|
13239
|
+
}
|
|
13240
|
+
});
|
|
12531
13241
|
});
|
|
12532
13242
|
function object(shape, params) {
|
|
12533
13243
|
const def = {
|
|
@@ -12632,6 +13342,14 @@ var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
|
|
|
12632
13342
|
inst.valueType = def.valueType;
|
|
12633
13343
|
});
|
|
12634
13344
|
function record(keyType, valueType, params) {
|
|
13345
|
+
if (!valueType || !valueType._zod) {
|
|
13346
|
+
return new ZodRecord({
|
|
13347
|
+
type: "record",
|
|
13348
|
+
keyType: string2(),
|
|
13349
|
+
valueType: keyType,
|
|
13350
|
+
...exports_util.normalizeParams(valueType)
|
|
13351
|
+
});
|
|
13352
|
+
}
|
|
12635
13353
|
return new ZodRecord({
|
|
12636
13354
|
type: "record",
|
|
12637
13355
|
keyType,
|
|
@@ -12803,10 +13521,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
|
|
|
12803
13521
|
if (output instanceof Promise) {
|
|
12804
13522
|
return output.then((output2) => {
|
|
12805
13523
|
payload.value = output2;
|
|
13524
|
+
payload.fallback = true;
|
|
12806
13525
|
return payload;
|
|
12807
13526
|
});
|
|
12808
13527
|
}
|
|
12809
13528
|
payload.value = output;
|
|
13529
|
+
payload.fallback = true;
|
|
12810
13530
|
return payload;
|
|
12811
13531
|
};
|
|
12812
13532
|
});
|
|
@@ -12960,6 +13680,20 @@ function codec(in_, out, params) {
|
|
|
12960
13680
|
reverseTransform: params.encode
|
|
12961
13681
|
});
|
|
12962
13682
|
}
|
|
13683
|
+
function invertCodec(codec2) {
|
|
13684
|
+
const def = codec2._zod.def;
|
|
13685
|
+
return new ZodCodec({
|
|
13686
|
+
type: "pipe",
|
|
13687
|
+
in: def.out,
|
|
13688
|
+
out: def.in,
|
|
13689
|
+
transform: def.reverseTransform,
|
|
13690
|
+
reverseTransform: def.transform
|
|
13691
|
+
});
|
|
13692
|
+
}
|
|
13693
|
+
var ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
|
|
13694
|
+
ZodPipe.init(inst, def);
|
|
13695
|
+
$ZodPreprocess.init(inst, def);
|
|
13696
|
+
});
|
|
12963
13697
|
var ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
|
|
12964
13698
|
$ZodReadonly.init(inst, def);
|
|
12965
13699
|
ZodType.init(inst, def);
|
|
@@ -13038,8 +13772,8 @@ function custom(fn, _params) {
|
|
|
13038
13772
|
function refine(fn, _params = {}) {
|
|
13039
13773
|
return _refine(ZodCustom, fn, _params);
|
|
13040
13774
|
}
|
|
13041
|
-
function superRefine(fn) {
|
|
13042
|
-
return _superRefine(fn);
|
|
13775
|
+
function superRefine(fn, params) {
|
|
13776
|
+
return _superRefine(fn, params);
|
|
13043
13777
|
}
|
|
13044
13778
|
var describe2 = describe;
|
|
13045
13779
|
var meta2 = meta;
|
|
@@ -13077,9 +13811,13 @@ function json(params) {
|
|
|
13077
13811
|
return jsonSchema;
|
|
13078
13812
|
}
|
|
13079
13813
|
function preprocess(fn, schema) {
|
|
13080
|
-
return
|
|
13814
|
+
return new ZodPreprocess({
|
|
13815
|
+
type: "pipe",
|
|
13816
|
+
in: transform(fn),
|
|
13817
|
+
out: schema
|
|
13818
|
+
});
|
|
13081
13819
|
}
|
|
13082
|
-
//
|
|
13820
|
+
// node_modules/zod/v4/classic/compat.js
|
|
13083
13821
|
var ZodIssueCode = {
|
|
13084
13822
|
invalid_type: "invalid_type",
|
|
13085
13823
|
too_big: "too_big",
|
|
@@ -13103,13 +13841,13 @@ function getErrorMap() {
|
|
|
13103
13841
|
}
|
|
13104
13842
|
var ZodFirstPartyTypeKind;
|
|
13105
13843
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13106
|
-
//
|
|
13844
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
13107
13845
|
var z = {
|
|
13108
13846
|
...exports_schemas2,
|
|
13109
13847
|
...exports_checks2,
|
|
13110
13848
|
iso: exports_iso
|
|
13111
13849
|
};
|
|
13112
|
-
var RECOGNIZED_KEYS = new Set([
|
|
13850
|
+
var RECOGNIZED_KEYS = /* @__PURE__ */ new Set([
|
|
13113
13851
|
"$schema",
|
|
13114
13852
|
"$ref",
|
|
13115
13853
|
"$defs",
|
|
@@ -13483,12 +14221,6 @@ function convertBaseSchema(schema, ctx) {
|
|
|
13483
14221
|
default:
|
|
13484
14222
|
throw new Error(`Unsupported type: ${type}`);
|
|
13485
14223
|
}
|
|
13486
|
-
if (schema.description) {
|
|
13487
|
-
zodSchema = zodSchema.describe(schema.description);
|
|
13488
|
-
}
|
|
13489
|
-
if (schema.default !== undefined) {
|
|
13490
|
-
zodSchema = zodSchema.default(schema.default);
|
|
13491
|
-
}
|
|
13492
14224
|
return zodSchema;
|
|
13493
14225
|
}
|
|
13494
14226
|
function convertSchema(schema, ctx) {
|
|
@@ -13525,6 +14257,9 @@ function convertSchema(schema, ctx) {
|
|
|
13525
14257
|
if (schema.readOnly === true) {
|
|
13526
14258
|
baseSchema = z.readonly(baseSchema);
|
|
13527
14259
|
}
|
|
14260
|
+
if (schema.default !== undefined) {
|
|
14261
|
+
baseSchema = baseSchema.default(schema.default);
|
|
14262
|
+
}
|
|
13528
14263
|
const extraMeta = {};
|
|
13529
14264
|
const coreMetadataKeys = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
|
|
13530
14265
|
for (const key of coreMetadataKeys) {
|
|
@@ -13546,25 +14281,34 @@ function convertSchema(schema, ctx) {
|
|
|
13546
14281
|
if (Object.keys(extraMeta).length > 0) {
|
|
13547
14282
|
ctx.registry.add(baseSchema, extraMeta);
|
|
13548
14283
|
}
|
|
14284
|
+
if (schema.description) {
|
|
14285
|
+
baseSchema = baseSchema.describe(schema.description);
|
|
14286
|
+
}
|
|
13549
14287
|
return baseSchema;
|
|
13550
14288
|
}
|
|
13551
14289
|
function fromJSONSchema(schema, params) {
|
|
13552
14290
|
if (typeof schema === "boolean") {
|
|
13553
14291
|
return schema ? z.any() : z.never();
|
|
13554
14292
|
}
|
|
13555
|
-
|
|
13556
|
-
|
|
14293
|
+
let normalized;
|
|
14294
|
+
try {
|
|
14295
|
+
normalized = JSON.parse(JSON.stringify(schema));
|
|
14296
|
+
} catch {
|
|
14297
|
+
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
|
|
14298
|
+
}
|
|
14299
|
+
const version2 = detectVersion(normalized, params?.defaultTarget);
|
|
14300
|
+
const defs = normalized.$defs || normalized.definitions || {};
|
|
13557
14301
|
const ctx = {
|
|
13558
14302
|
version: version2,
|
|
13559
14303
|
defs,
|
|
13560
14304
|
refs: new Map,
|
|
13561
14305
|
processing: new Set,
|
|
13562
|
-
rootSchema:
|
|
14306
|
+
rootSchema: normalized,
|
|
13563
14307
|
registry: params?.registry ?? globalRegistry
|
|
13564
14308
|
};
|
|
13565
|
-
return convertSchema(
|
|
14309
|
+
return convertSchema(normalized, ctx);
|
|
13566
14310
|
}
|
|
13567
|
-
//
|
|
14311
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
13568
14312
|
var exports_coerce = {};
|
|
13569
14313
|
__export(exports_coerce, {
|
|
13570
14314
|
string: () => string3,
|
|
@@ -13589,7 +14333,7 @@ function date4(params) {
|
|
|
13589
14333
|
return _coercedDate(ZodDate, params);
|
|
13590
14334
|
}
|
|
13591
14335
|
|
|
13592
|
-
//
|
|
14336
|
+
// node_modules/zod/v4/classic/external.js
|
|
13593
14337
|
config(en_default());
|
|
13594
14338
|
// src/hooks.ts
|
|
13595
14339
|
var gitToolHooks = null;
|