@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
|
@@ -51,7 +51,7 @@ var import_promises = require("node:fs/promises");
|
|
|
51
51
|
var import_node_path = require("node:path");
|
|
52
52
|
var import_node_crypto = require("node:crypto");
|
|
53
53
|
|
|
54
|
-
//
|
|
54
|
+
// node_modules/zod/v4/classic/external.js
|
|
55
55
|
var exports_external = {};
|
|
56
56
|
__export(exports_external, {
|
|
57
57
|
xor: () => xor,
|
|
@@ -153,6 +153,7 @@ __export(exports_external, {
|
|
|
153
153
|
iso: () => exports_iso,
|
|
154
154
|
ipv6: () => ipv62,
|
|
155
155
|
ipv4: () => ipv42,
|
|
156
|
+
invertCodec: () => invertCodec,
|
|
156
157
|
intersection: () => intersection,
|
|
157
158
|
int64: () => int64,
|
|
158
159
|
int32: () => int32,
|
|
@@ -231,6 +232,7 @@ __export(exports_external, {
|
|
|
231
232
|
ZodRealError: () => ZodRealError,
|
|
232
233
|
ZodReadonly: () => ZodReadonly,
|
|
233
234
|
ZodPromise: () => ZodPromise,
|
|
235
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
234
236
|
ZodPrefault: () => ZodPrefault,
|
|
235
237
|
ZodPipe: () => ZodPipe,
|
|
236
238
|
ZodOptional: () => ZodOptional,
|
|
@@ -292,7 +294,7 @@ __export(exports_external, {
|
|
|
292
294
|
$brand: () => $brand
|
|
293
295
|
});
|
|
294
296
|
|
|
295
|
-
//
|
|
297
|
+
// node_modules/zod/v4/core/index.js
|
|
296
298
|
var exports_core2 = {};
|
|
297
299
|
__export(exports_core2, {
|
|
298
300
|
version: () => version,
|
|
@@ -491,6 +493,7 @@ __export(exports_core2, {
|
|
|
491
493
|
$ZodRealError: () => $ZodRealError,
|
|
492
494
|
$ZodReadonly: () => $ZodReadonly,
|
|
493
495
|
$ZodPromise: () => $ZodPromise,
|
|
496
|
+
$ZodPreprocess: () => $ZodPreprocess,
|
|
494
497
|
$ZodPrefault: () => $ZodPrefault,
|
|
495
498
|
$ZodPipe: () => $ZodPipe,
|
|
496
499
|
$ZodOptional: () => $ZodOptional,
|
|
@@ -570,8 +573,9 @@ __export(exports_core2, {
|
|
|
570
573
|
$ZodAny: () => $ZodAny
|
|
571
574
|
});
|
|
572
575
|
|
|
573
|
-
//
|
|
574
|
-
var
|
|
576
|
+
// node_modules/zod/v4/core/core.js
|
|
577
|
+
var _a;
|
|
578
|
+
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
575
579
|
status: "aborted"
|
|
576
580
|
});
|
|
577
581
|
function $constructor(name, initializer, params) {
|
|
@@ -606,10 +610,10 @@ function $constructor(name, initializer, params) {
|
|
|
606
610
|
}
|
|
607
611
|
Object.defineProperty(Definition, "name", { value: name });
|
|
608
612
|
function _(def) {
|
|
609
|
-
var
|
|
613
|
+
var _a2;
|
|
610
614
|
const inst = params?.Parent ? new Definition : this;
|
|
611
615
|
init(inst, def);
|
|
612
|
-
(
|
|
616
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
613
617
|
for (const fn of inst._zod.deferred) {
|
|
614
618
|
fn();
|
|
615
619
|
}
|
|
@@ -640,13 +644,14 @@ class $ZodEncodeError extends Error {
|
|
|
640
644
|
this.name = "ZodEncodeError";
|
|
641
645
|
}
|
|
642
646
|
}
|
|
643
|
-
|
|
647
|
+
(_a = globalThis).__zod_globalConfig ?? (_a.__zod_globalConfig = {});
|
|
648
|
+
var globalConfig = globalThis.__zod_globalConfig;
|
|
644
649
|
function config(newConfig) {
|
|
645
650
|
if (newConfig)
|
|
646
651
|
Object.assign(globalConfig, newConfig);
|
|
647
652
|
return globalConfig;
|
|
648
653
|
}
|
|
649
|
-
//
|
|
654
|
+
// node_modules/zod/v4/core/util.js
|
|
650
655
|
var exports_util = {};
|
|
651
656
|
__export(exports_util, {
|
|
652
657
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -688,6 +693,7 @@ __export(exports_util, {
|
|
|
688
693
|
floatSafeRemainder: () => floatSafeRemainder,
|
|
689
694
|
finalizeIssue: () => finalizeIssue,
|
|
690
695
|
extend: () => extend,
|
|
696
|
+
explicitlyAborted: () => explicitlyAborted,
|
|
691
697
|
escapeRegex: () => escapeRegex,
|
|
692
698
|
esc: () => esc,
|
|
693
699
|
defineLazy: () => defineLazy,
|
|
@@ -758,21 +764,14 @@ function cleanRegex(source) {
|
|
|
758
764
|
return source.slice(start, end);
|
|
759
765
|
}
|
|
760
766
|
function floatSafeRemainder(val, step) {
|
|
761
|
-
const
|
|
762
|
-
const
|
|
763
|
-
|
|
764
|
-
if (
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
}
|
|
770
|
-
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
|
771
|
-
const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
|
|
772
|
-
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
773
|
-
return valInt % stepInt / 10 ** decCount;
|
|
774
|
-
}
|
|
775
|
-
var EVALUATING = Symbol("evaluating");
|
|
767
|
+
const ratio = val / step;
|
|
768
|
+
const roundedRatio = Math.round(ratio);
|
|
769
|
+
const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
|
|
770
|
+
if (Math.abs(ratio - roundedRatio) < tolerance)
|
|
771
|
+
return 0;
|
|
772
|
+
return ratio - roundedRatio;
|
|
773
|
+
}
|
|
774
|
+
var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
776
775
|
function defineLazy(object, key, getter) {
|
|
777
776
|
let value = undefined;
|
|
778
777
|
Object.defineProperty(object, key, {
|
|
@@ -850,7 +849,10 @@ var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace :
|
|
|
850
849
|
function isObject(data) {
|
|
851
850
|
return typeof data === "object" && data !== null && !Array.isArray(data);
|
|
852
851
|
}
|
|
853
|
-
var allowsEval = cached(() => {
|
|
852
|
+
var allowsEval = /* @__PURE__ */ cached(() => {
|
|
853
|
+
if (globalConfig.jitless) {
|
|
854
|
+
return false;
|
|
855
|
+
}
|
|
854
856
|
if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
|
|
855
857
|
return false;
|
|
856
858
|
}
|
|
@@ -883,6 +885,10 @@ function shallowClone(o) {
|
|
|
883
885
|
return { ...o };
|
|
884
886
|
if (Array.isArray(o))
|
|
885
887
|
return [...o];
|
|
888
|
+
if (o instanceof Map)
|
|
889
|
+
return new Map(o);
|
|
890
|
+
if (o instanceof Set)
|
|
891
|
+
return new Set(o);
|
|
886
892
|
return o;
|
|
887
893
|
}
|
|
888
894
|
function numKeys(data) {
|
|
@@ -938,8 +944,15 @@ var getParsedType = (data) => {
|
|
|
938
944
|
throw new Error(`Unknown data type: ${t}`);
|
|
939
945
|
}
|
|
940
946
|
};
|
|
941
|
-
var propertyKeyTypes = new Set(["string", "number", "symbol"]);
|
|
942
|
-
var primitiveTypes = new Set([
|
|
947
|
+
var propertyKeyTypes = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
|
|
948
|
+
var primitiveTypes = /* @__PURE__ */ new Set([
|
|
949
|
+
"string",
|
|
950
|
+
"number",
|
|
951
|
+
"bigint",
|
|
952
|
+
"boolean",
|
|
953
|
+
"symbol",
|
|
954
|
+
"undefined"
|
|
955
|
+
]);
|
|
943
956
|
function escapeRegex(str) {
|
|
944
957
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
945
958
|
}
|
|
@@ -1108,6 +1121,9 @@ function safeExtend(schema, shape) {
|
|
|
1108
1121
|
return clone(schema, def);
|
|
1109
1122
|
}
|
|
1110
1123
|
function merge(a, b) {
|
|
1124
|
+
if (a._zod.def.checks?.length) {
|
|
1125
|
+
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
1126
|
+
}
|
|
1111
1127
|
const def = mergeDefs(a._zod.def, {
|
|
1112
1128
|
get shape() {
|
|
1113
1129
|
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
@@ -1117,7 +1133,7 @@ function merge(a, b) {
|
|
|
1117
1133
|
get catchall() {
|
|
1118
1134
|
return b._zod.def.catchall;
|
|
1119
1135
|
},
|
|
1120
|
-
checks: []
|
|
1136
|
+
checks: b._zod.def.checks ?? []
|
|
1121
1137
|
});
|
|
1122
1138
|
return clone(a, def);
|
|
1123
1139
|
}
|
|
@@ -1200,10 +1216,20 @@ function aborted(x, startIndex = 0) {
|
|
|
1200
1216
|
}
|
|
1201
1217
|
return false;
|
|
1202
1218
|
}
|
|
1219
|
+
function explicitlyAborted(x, startIndex = 0) {
|
|
1220
|
+
if (x.aborted === true)
|
|
1221
|
+
return true;
|
|
1222
|
+
for (let i = startIndex;i < x.issues.length; i++) {
|
|
1223
|
+
if (x.issues[i]?.continue === false) {
|
|
1224
|
+
return true;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
return false;
|
|
1228
|
+
}
|
|
1203
1229
|
function prefixIssues(path, issues) {
|
|
1204
1230
|
return issues.map((iss) => {
|
|
1205
|
-
var
|
|
1206
|
-
(
|
|
1231
|
+
var _a2;
|
|
1232
|
+
(_a2 = iss).path ?? (_a2.path = []);
|
|
1207
1233
|
iss.path.unshift(path);
|
|
1208
1234
|
return iss;
|
|
1209
1235
|
});
|
|
@@ -1212,17 +1238,14 @@ function unwrapMessage(message) {
|
|
|
1212
1238
|
return typeof message === "string" ? message : message?.message;
|
|
1213
1239
|
}
|
|
1214
1240
|
function finalizeIssue(iss, ctx, config2) {
|
|
1215
|
-
const
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
delete full.continue;
|
|
1222
|
-
if (!ctx?.reportInput) {
|
|
1223
|
-
delete full.input;
|
|
1241
|
+
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";
|
|
1242
|
+
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
1243
|
+
rest.path ?? (rest.path = []);
|
|
1244
|
+
rest.message = message;
|
|
1245
|
+
if (ctx?.reportInput) {
|
|
1246
|
+
rest.input = _input;
|
|
1224
1247
|
}
|
|
1225
|
-
return
|
|
1248
|
+
return rest;
|
|
1226
1249
|
}
|
|
1227
1250
|
function getSizableOrigin(input) {
|
|
1228
1251
|
if (input instanceof Set)
|
|
@@ -1320,7 +1343,7 @@ class Class {
|
|
|
1320
1343
|
constructor(..._args) {}
|
|
1321
1344
|
}
|
|
1322
1345
|
|
|
1323
|
-
//
|
|
1346
|
+
// node_modules/zod/v4/core/errors.js
|
|
1324
1347
|
var initializer = (inst, def) => {
|
|
1325
1348
|
inst.name = "$ZodError";
|
|
1326
1349
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1354,30 +1377,33 @@ function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
|
1354
1377
|
}
|
|
1355
1378
|
function formatError(error, mapper = (issue2) => issue2.message) {
|
|
1356
1379
|
const fieldErrors = { _errors: [] };
|
|
1357
|
-
const processError = (error2) => {
|
|
1380
|
+
const processError = (error2, path = []) => {
|
|
1358
1381
|
for (const issue2 of error2.issues) {
|
|
1359
1382
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1360
|
-
issue2.errors.map((issues) => processError({ issues }));
|
|
1383
|
+
issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
|
|
1361
1384
|
} else if (issue2.code === "invalid_key") {
|
|
1362
|
-
processError({ issues: issue2.issues });
|
|
1385
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1363
1386
|
} else if (issue2.code === "invalid_element") {
|
|
1364
|
-
processError({ issues: issue2.issues });
|
|
1365
|
-
} else if (issue2.path.length === 0) {
|
|
1366
|
-
fieldErrors._errors.push(mapper(issue2));
|
|
1387
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1367
1388
|
} else {
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1389
|
+
const fullpath = [...path, ...issue2.path];
|
|
1390
|
+
if (fullpath.length === 0) {
|
|
1391
|
+
fieldErrors._errors.push(mapper(issue2));
|
|
1392
|
+
} else {
|
|
1393
|
+
let curr = fieldErrors;
|
|
1394
|
+
let i = 0;
|
|
1395
|
+
while (i < fullpath.length) {
|
|
1396
|
+
const el = fullpath[i];
|
|
1397
|
+
const terminal = i === fullpath.length - 1;
|
|
1398
|
+
if (!terminal) {
|
|
1399
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
1400
|
+
} else {
|
|
1401
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
1402
|
+
curr[el]._errors.push(mapper(issue2));
|
|
1403
|
+
}
|
|
1404
|
+
curr = curr[el];
|
|
1405
|
+
i++;
|
|
1378
1406
|
}
|
|
1379
|
-
curr = curr[el];
|
|
1380
|
-
i++;
|
|
1381
1407
|
}
|
|
1382
1408
|
}
|
|
1383
1409
|
}
|
|
@@ -1388,14 +1414,14 @@ function formatError(error, mapper = (issue2) => issue2.message) {
|
|
|
1388
1414
|
function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
1389
1415
|
const result = { errors: [] };
|
|
1390
1416
|
const processError = (error2, path = []) => {
|
|
1391
|
-
var
|
|
1417
|
+
var _a2, _b;
|
|
1392
1418
|
for (const issue2 of error2.issues) {
|
|
1393
1419
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1394
|
-
issue2.errors.map((issues) => processError({ issues }, issue2.path));
|
|
1420
|
+
issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
|
|
1395
1421
|
} else if (issue2.code === "invalid_key") {
|
|
1396
|
-
processError({ issues: issue2.issues }, issue2.path);
|
|
1422
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1397
1423
|
} else if (issue2.code === "invalid_element") {
|
|
1398
|
-
processError({ issues: issue2.issues }, issue2.path);
|
|
1424
|
+
processError({ issues: issue2.issues }, [...path, ...issue2.path]);
|
|
1399
1425
|
} else {
|
|
1400
1426
|
const fullpath = [...path, ...issue2.path];
|
|
1401
1427
|
if (fullpath.length === 0) {
|
|
@@ -1409,7 +1435,7 @@ function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
|
1409
1435
|
const terminal = i === fullpath.length - 1;
|
|
1410
1436
|
if (typeof el === "string") {
|
|
1411
1437
|
curr.properties ?? (curr.properties = {});
|
|
1412
|
-
(
|
|
1438
|
+
(_a2 = curr.properties)[el] ?? (_a2[el] = { errors: [] });
|
|
1413
1439
|
curr = curr.properties[el];
|
|
1414
1440
|
} else {
|
|
1415
1441
|
curr.items ?? (curr.items = []);
|
|
@@ -1457,9 +1483,9 @@ function prettifyError(error) {
|
|
|
1457
1483
|
`);
|
|
1458
1484
|
}
|
|
1459
1485
|
|
|
1460
|
-
//
|
|
1486
|
+
// node_modules/zod/v4/core/parse.js
|
|
1461
1487
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1462
|
-
const ctx = _ctx ?
|
|
1488
|
+
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
1463
1489
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1464
1490
|
if (result instanceof Promise) {
|
|
1465
1491
|
throw new $ZodAsyncError;
|
|
@@ -1473,7 +1499,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
1473
1499
|
};
|
|
1474
1500
|
var parse = /* @__PURE__ */ _parse($ZodRealError);
|
|
1475
1501
|
var _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
|
|
1476
|
-
const ctx = _ctx ?
|
|
1502
|
+
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
1477
1503
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1478
1504
|
if (result instanceof Promise)
|
|
1479
1505
|
result = await result;
|
|
@@ -1498,7 +1524,7 @@ var _safeParse = (_Err) => (schema, value, _ctx) => {
|
|
|
1498
1524
|
};
|
|
1499
1525
|
var safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
|
|
1500
1526
|
var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1501
|
-
const ctx = _ctx ?
|
|
1527
|
+
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
1502
1528
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
1503
1529
|
if (result instanceof Promise)
|
|
1504
1530
|
result = await result;
|
|
@@ -1509,7 +1535,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1509
1535
|
};
|
|
1510
1536
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
1511
1537
|
var _encode = (_Err) => (schema, value, _ctx) => {
|
|
1512
|
-
const ctx = _ctx ?
|
|
1538
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1513
1539
|
return _parse(_Err)(schema, value, ctx);
|
|
1514
1540
|
};
|
|
1515
1541
|
var encode = /* @__PURE__ */ _encode($ZodRealError);
|
|
@@ -1518,7 +1544,7 @@ var _decode = (_Err) => (schema, value, _ctx) => {
|
|
|
1518
1544
|
};
|
|
1519
1545
|
var decode = /* @__PURE__ */ _decode($ZodRealError);
|
|
1520
1546
|
var _encodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1521
|
-
const ctx = _ctx ?
|
|
1547
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1522
1548
|
return _parseAsync(_Err)(schema, value, ctx);
|
|
1523
1549
|
};
|
|
1524
1550
|
var encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
|
|
@@ -1527,7 +1553,7 @@ var _decodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1527
1553
|
};
|
|
1528
1554
|
var decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
|
|
1529
1555
|
var _safeEncode = (_Err) => (schema, value, _ctx) => {
|
|
1530
|
-
const ctx = _ctx ?
|
|
1556
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1531
1557
|
return _safeParse(_Err)(schema, value, ctx);
|
|
1532
1558
|
};
|
|
1533
1559
|
var safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
|
|
@@ -1536,7 +1562,7 @@ var _safeDecode = (_Err) => (schema, value, _ctx) => {
|
|
|
1536
1562
|
};
|
|
1537
1563
|
var safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
|
|
1538
1564
|
var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1539
|
-
const ctx = _ctx ?
|
|
1565
|
+
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
1540
1566
|
return _safeParseAsync(_Err)(schema, value, ctx);
|
|
1541
1567
|
};
|
|
1542
1568
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
|
|
@@ -1544,7 +1570,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1544
1570
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1545
1571
|
};
|
|
1546
1572
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1547
|
-
//
|
|
1573
|
+
// node_modules/zod/v4/core/regexes.js
|
|
1548
1574
|
var exports_regexes = {};
|
|
1549
1575
|
__export(exports_regexes, {
|
|
1550
1576
|
xid: () => xid,
|
|
@@ -1584,6 +1610,7 @@ __export(exports_regexes, {
|
|
|
1584
1610
|
ipv4: () => ipv4,
|
|
1585
1611
|
integer: () => integer,
|
|
1586
1612
|
idnEmail: () => idnEmail,
|
|
1613
|
+
httpProtocol: () => httpProtocol,
|
|
1587
1614
|
html5Email: () => html5Email,
|
|
1588
1615
|
hostname: () => hostname,
|
|
1589
1616
|
hex: () => hex,
|
|
@@ -1606,7 +1633,7 @@ __export(exports_regexes, {
|
|
|
1606
1633
|
base64url: () => base64url,
|
|
1607
1634
|
base64: () => base64
|
|
1608
1635
|
});
|
|
1609
|
-
var cuid = /^[cC][
|
|
1636
|
+
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
1610
1637
|
var cuid2 = /^[0-9a-z]+$/;
|
|
1611
1638
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
1612
1639
|
var xid = /^[0-9a-vA-V]{20}$/;
|
|
@@ -1645,6 +1672,7 @@ var base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/
|
|
|
1645
1672
|
var base64url = /^[A-Za-z0-9_-]*$/;
|
|
1646
1673
|
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])?)*\.?$/;
|
|
1647
1674
|
var domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
|
|
1675
|
+
var httpProtocol = /^https?$/;
|
|
1648
1676
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
1649
1677
|
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])))`;
|
|
1650
1678
|
var date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
|
|
@@ -1701,12 +1729,12 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1701
1729
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1702
1730
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1703
1731
|
|
|
1704
|
-
//
|
|
1732
|
+
// node_modules/zod/v4/core/checks.js
|
|
1705
1733
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1706
|
-
var
|
|
1734
|
+
var _a2;
|
|
1707
1735
|
inst._zod ?? (inst._zod = {});
|
|
1708
1736
|
inst._zod.def = def;
|
|
1709
|
-
(
|
|
1737
|
+
(_a2 = inst._zod).onattach ?? (_a2.onattach = []);
|
|
1710
1738
|
});
|
|
1711
1739
|
var numericOriginMap = {
|
|
1712
1740
|
number: "number",
|
|
@@ -1772,8 +1800,8 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
|
|
|
1772
1800
|
var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
|
|
1773
1801
|
$ZodCheck.init(inst, def);
|
|
1774
1802
|
inst._zod.onattach.push((inst2) => {
|
|
1775
|
-
var
|
|
1776
|
-
(
|
|
1803
|
+
var _a2;
|
|
1804
|
+
(_a2 = inst2._zod.bag).multipleOf ?? (_a2.multipleOf = def.value);
|
|
1777
1805
|
});
|
|
1778
1806
|
inst._zod.check = (payload) => {
|
|
1779
1807
|
if (typeof payload.value !== typeof def.value)
|
|
@@ -1906,9 +1934,9 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
|
|
|
1906
1934
|
};
|
|
1907
1935
|
});
|
|
1908
1936
|
var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
|
|
1909
|
-
var
|
|
1937
|
+
var _a2;
|
|
1910
1938
|
$ZodCheck.init(inst, def);
|
|
1911
|
-
(
|
|
1939
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1912
1940
|
const val = payload.value;
|
|
1913
1941
|
return !nullish(val) && val.size !== undefined;
|
|
1914
1942
|
});
|
|
@@ -1934,9 +1962,9 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
|
|
|
1934
1962
|
};
|
|
1935
1963
|
});
|
|
1936
1964
|
var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
|
|
1937
|
-
var
|
|
1965
|
+
var _a2;
|
|
1938
1966
|
$ZodCheck.init(inst, def);
|
|
1939
|
-
(
|
|
1967
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1940
1968
|
const val = payload.value;
|
|
1941
1969
|
return !nullish(val) && val.size !== undefined;
|
|
1942
1970
|
});
|
|
@@ -1962,9 +1990,9 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
|
|
|
1962
1990
|
};
|
|
1963
1991
|
});
|
|
1964
1992
|
var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
|
|
1965
|
-
var
|
|
1993
|
+
var _a2;
|
|
1966
1994
|
$ZodCheck.init(inst, def);
|
|
1967
|
-
(
|
|
1995
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1968
1996
|
const val = payload.value;
|
|
1969
1997
|
return !nullish(val) && val.size !== undefined;
|
|
1970
1998
|
});
|
|
@@ -1992,9 +2020,9 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
|
|
|
1992
2020
|
};
|
|
1993
2021
|
});
|
|
1994
2022
|
var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
1995
|
-
var
|
|
2023
|
+
var _a2;
|
|
1996
2024
|
$ZodCheck.init(inst, def);
|
|
1997
|
-
(
|
|
2025
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
1998
2026
|
const val = payload.value;
|
|
1999
2027
|
return !nullish(val) && val.length !== undefined;
|
|
2000
2028
|
});
|
|
@@ -2021,9 +2049,9 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
|
|
|
2021
2049
|
};
|
|
2022
2050
|
});
|
|
2023
2051
|
var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
2024
|
-
var
|
|
2052
|
+
var _a2;
|
|
2025
2053
|
$ZodCheck.init(inst, def);
|
|
2026
|
-
(
|
|
2054
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
2027
2055
|
const val = payload.value;
|
|
2028
2056
|
return !nullish(val) && val.length !== undefined;
|
|
2029
2057
|
});
|
|
@@ -2050,9 +2078,9 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
|
|
|
2050
2078
|
};
|
|
2051
2079
|
});
|
|
2052
2080
|
var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
2053
|
-
var
|
|
2081
|
+
var _a2;
|
|
2054
2082
|
$ZodCheck.init(inst, def);
|
|
2055
|
-
(
|
|
2083
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
2056
2084
|
const val = payload.value;
|
|
2057
2085
|
return !nullish(val) && val.length !== undefined;
|
|
2058
2086
|
});
|
|
@@ -2081,7 +2109,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
2081
2109
|
};
|
|
2082
2110
|
});
|
|
2083
2111
|
var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
2084
|
-
var
|
|
2112
|
+
var _a2, _b;
|
|
2085
2113
|
$ZodCheck.init(inst, def);
|
|
2086
2114
|
inst._zod.onattach.push((inst2) => {
|
|
2087
2115
|
const bag = inst2._zod.bag;
|
|
@@ -2092,7 +2120,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
|
|
|
2092
2120
|
}
|
|
2093
2121
|
});
|
|
2094
2122
|
if (def.pattern)
|
|
2095
|
-
(
|
|
2123
|
+
(_a2 = inst._zod).check ?? (_a2.check = (payload) => {
|
|
2096
2124
|
def.pattern.lastIndex = 0;
|
|
2097
2125
|
if (def.pattern.test(payload.value))
|
|
2098
2126
|
return;
|
|
@@ -2248,7 +2276,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2248
2276
|
};
|
|
2249
2277
|
});
|
|
2250
2278
|
|
|
2251
|
-
//
|
|
2279
|
+
// node_modules/zod/v4/core/doc.js
|
|
2252
2280
|
class Doc {
|
|
2253
2281
|
constructor(args = []) {
|
|
2254
2282
|
this.content = [];
|
|
@@ -2286,16 +2314,16 @@ class Doc {
|
|
|
2286
2314
|
}
|
|
2287
2315
|
}
|
|
2288
2316
|
|
|
2289
|
-
//
|
|
2317
|
+
// node_modules/zod/v4/core/versions.js
|
|
2290
2318
|
var version = {
|
|
2291
2319
|
major: 4,
|
|
2292
|
-
minor:
|
|
2293
|
-
patch:
|
|
2320
|
+
minor: 4,
|
|
2321
|
+
patch: 3
|
|
2294
2322
|
};
|
|
2295
2323
|
|
|
2296
|
-
//
|
|
2324
|
+
// node_modules/zod/v4/core/schemas.js
|
|
2297
2325
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2298
|
-
var
|
|
2326
|
+
var _a2;
|
|
2299
2327
|
inst ?? (inst = {});
|
|
2300
2328
|
inst._zod.def = def;
|
|
2301
2329
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -2310,7 +2338,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
2310
2338
|
}
|
|
2311
2339
|
}
|
|
2312
2340
|
if (checks.length === 0) {
|
|
2313
|
-
(
|
|
2341
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
2314
2342
|
inst._zod.deferred?.push(() => {
|
|
2315
2343
|
inst._zod.run = inst._zod.parse;
|
|
2316
2344
|
});
|
|
@@ -2320,6 +2348,8 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
2320
2348
|
let asyncResult;
|
|
2321
2349
|
for (const ch of checks2) {
|
|
2322
2350
|
if (ch._zod.def.when) {
|
|
2351
|
+
if (explicitlyAborted(payload))
|
|
2352
|
+
continue;
|
|
2323
2353
|
const shouldRun = ch._zod.def.when(payload);
|
|
2324
2354
|
if (!shouldRun)
|
|
2325
2355
|
continue;
|
|
@@ -2459,6 +2489,19 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
2459
2489
|
inst._zod.check = (payload) => {
|
|
2460
2490
|
try {
|
|
2461
2491
|
const trimmed = payload.value.trim();
|
|
2492
|
+
if (!def.normalize && def.protocol?.source === httpProtocol.source) {
|
|
2493
|
+
if (!/^https?:\/\//i.test(trimmed)) {
|
|
2494
|
+
payload.issues.push({
|
|
2495
|
+
code: "invalid_format",
|
|
2496
|
+
format: "url",
|
|
2497
|
+
note: "Invalid URL format",
|
|
2498
|
+
input: payload.value,
|
|
2499
|
+
inst,
|
|
2500
|
+
continue: !def.abort
|
|
2501
|
+
});
|
|
2502
|
+
return;
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2462
2505
|
const url = new URL(trimmed);
|
|
2463
2506
|
if (def.hostname) {
|
|
2464
2507
|
def.hostname.lastIndex = 0;
|
|
@@ -2612,6 +2655,8 @@ var $ZodCIDRv6 = /* @__PURE__ */ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
|
2612
2655
|
function isValidBase64(data) {
|
|
2613
2656
|
if (data === "")
|
|
2614
2657
|
return true;
|
|
2658
|
+
if (/\s/.test(data))
|
|
2659
|
+
return false;
|
|
2615
2660
|
if (data.length % 4 !== 0)
|
|
2616
2661
|
return false;
|
|
2617
2662
|
try {
|
|
@@ -2801,8 +2846,6 @@ var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) =>
|
|
|
2801
2846
|
$ZodType.init(inst, def);
|
|
2802
2847
|
inst._zod.pattern = _undefined;
|
|
2803
2848
|
inst._zod.values = new Set([undefined]);
|
|
2804
|
-
inst._zod.optin = "optional";
|
|
2805
|
-
inst._zod.optout = "optional";
|
|
2806
2849
|
inst._zod.parse = (payload, _ctx) => {
|
|
2807
2850
|
const input = payload.value;
|
|
2808
2851
|
if (typeof input === "undefined")
|
|
@@ -2930,15 +2973,27 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
2930
2973
|
return payload;
|
|
2931
2974
|
};
|
|
2932
2975
|
});
|
|
2933
|
-
function handlePropertyResult(result, final, key, input, isOptionalOut) {
|
|
2976
|
+
function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
|
|
2977
|
+
const isPresent = key in input;
|
|
2934
2978
|
if (result.issues.length) {
|
|
2935
|
-
if (isOptionalOut && !
|
|
2979
|
+
if (isOptionalIn && isOptionalOut && !isPresent) {
|
|
2936
2980
|
return;
|
|
2937
2981
|
}
|
|
2938
2982
|
final.issues.push(...prefixIssues(key, result.issues));
|
|
2939
2983
|
}
|
|
2984
|
+
if (!isPresent && !isOptionalIn) {
|
|
2985
|
+
if (!result.issues.length) {
|
|
2986
|
+
final.issues.push({
|
|
2987
|
+
code: "invalid_type",
|
|
2988
|
+
expected: "nonoptional",
|
|
2989
|
+
input: undefined,
|
|
2990
|
+
path: [key]
|
|
2991
|
+
});
|
|
2992
|
+
}
|
|
2993
|
+
return;
|
|
2994
|
+
}
|
|
2940
2995
|
if (result.value === undefined) {
|
|
2941
|
-
if (
|
|
2996
|
+
if (isPresent) {
|
|
2942
2997
|
final.value[key] = undefined;
|
|
2943
2998
|
}
|
|
2944
2999
|
} else {
|
|
@@ -2966,8 +3021,11 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
2966
3021
|
const keySet = def.keySet;
|
|
2967
3022
|
const _catchall = def.catchall._zod;
|
|
2968
3023
|
const t = _catchall.def.type;
|
|
3024
|
+
const isOptionalIn = _catchall.optin === "optional";
|
|
2969
3025
|
const isOptionalOut = _catchall.optout === "optional";
|
|
2970
3026
|
for (const key in input) {
|
|
3027
|
+
if (key === "__proto__")
|
|
3028
|
+
continue;
|
|
2971
3029
|
if (keySet.has(key))
|
|
2972
3030
|
continue;
|
|
2973
3031
|
if (t === "never") {
|
|
@@ -2976,9 +3034,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
2976
3034
|
}
|
|
2977
3035
|
const r = _catchall.run({ value: input[key], issues: [] }, ctx);
|
|
2978
3036
|
if (r instanceof Promise) {
|
|
2979
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
3037
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
2980
3038
|
} else {
|
|
2981
|
-
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
3039
|
+
handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
2982
3040
|
}
|
|
2983
3041
|
}
|
|
2984
3042
|
if (unrecognized.length) {
|
|
@@ -3044,12 +3102,13 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
3044
3102
|
const shape = value.shape;
|
|
3045
3103
|
for (const key of value.keys) {
|
|
3046
3104
|
const el = shape[key];
|
|
3105
|
+
const isOptionalIn = el._zod.optin === "optional";
|
|
3047
3106
|
const isOptionalOut = el._zod.optout === "optional";
|
|
3048
3107
|
const r = el._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3049
3108
|
if (r instanceof Promise) {
|
|
3050
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
3109
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
|
|
3051
3110
|
} else {
|
|
3052
|
-
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
3111
|
+
handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
|
|
3053
3112
|
}
|
|
3054
3113
|
}
|
|
3055
3114
|
if (!catchall) {
|
|
@@ -3080,9 +3139,10 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
3080
3139
|
const id = ids[key];
|
|
3081
3140
|
const k = esc(key);
|
|
3082
3141
|
const schema = shape[key];
|
|
3142
|
+
const isOptionalIn = schema?._zod?.optin === "optional";
|
|
3083
3143
|
const isOptionalOut = schema?._zod?.optout === "optional";
|
|
3084
3144
|
doc.write(`const ${id} = ${parseStr(key)};`);
|
|
3085
|
-
if (isOptionalOut) {
|
|
3145
|
+
if (isOptionalIn && isOptionalOut) {
|
|
3086
3146
|
doc.write(`
|
|
3087
3147
|
if (${id}.issues.length) {
|
|
3088
3148
|
if (${k} in input) {
|
|
@@ -3101,6 +3161,33 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
3101
3161
|
newResult[${k}] = ${id}.value;
|
|
3102
3162
|
}
|
|
3103
3163
|
|
|
3164
|
+
`);
|
|
3165
|
+
} else if (!isOptionalIn) {
|
|
3166
|
+
doc.write(`
|
|
3167
|
+
const ${id}_present = ${k} in input;
|
|
3168
|
+
if (${id}.issues.length) {
|
|
3169
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
3170
|
+
...iss,
|
|
3171
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
3172
|
+
})));
|
|
3173
|
+
}
|
|
3174
|
+
if (!${id}_present && !${id}.issues.length) {
|
|
3175
|
+
payload.issues.push({
|
|
3176
|
+
code: "invalid_type",
|
|
3177
|
+
expected: "nonoptional",
|
|
3178
|
+
input: undefined,
|
|
3179
|
+
path: [${k}]
|
|
3180
|
+
});
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
if (${id}_present) {
|
|
3184
|
+
if (${id}.value === undefined) {
|
|
3185
|
+
newResult[${k}] = undefined;
|
|
3186
|
+
} else {
|
|
3187
|
+
newResult[${k}] = ${id}.value;
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3104
3191
|
`);
|
|
3105
3192
|
} else {
|
|
3106
3193
|
doc.write(`
|
|
@@ -3194,10 +3281,9 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
|
|
|
3194
3281
|
}
|
|
3195
3282
|
return;
|
|
3196
3283
|
});
|
|
3197
|
-
const
|
|
3198
|
-
const first = def.options[0]._zod.run;
|
|
3284
|
+
const first = def.options.length === 1 ? def.options[0]._zod.run : null;
|
|
3199
3285
|
inst._zod.parse = (payload, ctx) => {
|
|
3200
|
-
if (
|
|
3286
|
+
if (first) {
|
|
3201
3287
|
return first(payload, ctx);
|
|
3202
3288
|
}
|
|
3203
3289
|
let async = false;
|
|
@@ -3250,10 +3336,9 @@ function handleExclusiveUnionResults(results, final, inst, ctx) {
|
|
|
3250
3336
|
var $ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
|
|
3251
3337
|
$ZodUnion.init(inst, def);
|
|
3252
3338
|
def.inclusive = false;
|
|
3253
|
-
const
|
|
3254
|
-
const first = def.options[0]._zod.run;
|
|
3339
|
+
const first = def.options.length === 1 ? def.options[0]._zod.run : null;
|
|
3255
3340
|
inst._zod.parse = (payload, ctx) => {
|
|
3256
|
-
if (
|
|
3341
|
+
if (first) {
|
|
3257
3342
|
return first(payload, ctx);
|
|
3258
3343
|
}
|
|
3259
3344
|
let async = false;
|
|
@@ -3328,7 +3413,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
3328
3413
|
if (opt) {
|
|
3329
3414
|
return opt._zod.run(payload, ctx);
|
|
3330
3415
|
}
|
|
3331
|
-
if (def.unionFallback) {
|
|
3416
|
+
if (def.unionFallback || ctx.direction === "backward") {
|
|
3332
3417
|
return _super(payload, ctx);
|
|
3333
3418
|
}
|
|
3334
3419
|
payload.issues.push({
|
|
@@ -3336,6 +3421,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
3336
3421
|
errors: [],
|
|
3337
3422
|
note: "No matching discriminator",
|
|
3338
3423
|
discriminator: def.discriminator,
|
|
3424
|
+
options: Array.from(disc.value.keys()),
|
|
3339
3425
|
input,
|
|
3340
3426
|
path: [def.discriminator],
|
|
3341
3427
|
inst
|
|
@@ -3457,64 +3543,96 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
3457
3543
|
}
|
|
3458
3544
|
payload.value = [];
|
|
3459
3545
|
const proms = [];
|
|
3460
|
-
const
|
|
3461
|
-
const
|
|
3546
|
+
const optinStart = getTupleOptStart(items, "optin");
|
|
3547
|
+
const optoutStart = getTupleOptStart(items, "optout");
|
|
3462
3548
|
if (!def.rest) {
|
|
3463
|
-
|
|
3464
|
-
const tooSmall = input.length < optStart - 1;
|
|
3465
|
-
if (tooBig || tooSmall) {
|
|
3549
|
+
if (input.length < optinStart) {
|
|
3466
3550
|
payload.issues.push({
|
|
3467
|
-
|
|
3551
|
+
code: "too_small",
|
|
3552
|
+
minimum: optinStart,
|
|
3553
|
+
inclusive: true,
|
|
3468
3554
|
input,
|
|
3469
3555
|
inst,
|
|
3470
3556
|
origin: "array"
|
|
3471
3557
|
});
|
|
3472
3558
|
return payload;
|
|
3473
3559
|
}
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3560
|
+
if (input.length > items.length) {
|
|
3561
|
+
payload.issues.push({
|
|
3562
|
+
code: "too_big",
|
|
3563
|
+
maximum: items.length,
|
|
3564
|
+
inclusive: true,
|
|
3565
|
+
input,
|
|
3566
|
+
inst,
|
|
3567
|
+
origin: "array"
|
|
3568
|
+
});
|
|
3481
3569
|
}
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
}, ctx);
|
|
3486
|
-
if (
|
|
3487
|
-
proms.push(
|
|
3570
|
+
}
|
|
3571
|
+
const itemResults = new Array(items.length);
|
|
3572
|
+
for (let i = 0;i < items.length; i++) {
|
|
3573
|
+
const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
|
|
3574
|
+
if (r instanceof Promise) {
|
|
3575
|
+
proms.push(r.then((rr) => {
|
|
3576
|
+
itemResults[i] = rr;
|
|
3577
|
+
}));
|
|
3488
3578
|
} else {
|
|
3489
|
-
|
|
3579
|
+
itemResults[i] = r;
|
|
3490
3580
|
}
|
|
3491
3581
|
}
|
|
3492
3582
|
if (def.rest) {
|
|
3583
|
+
let i = items.length - 1;
|
|
3493
3584
|
const rest = input.slice(items.length);
|
|
3494
3585
|
for (const el of rest) {
|
|
3495
3586
|
i++;
|
|
3496
|
-
const result = def.rest._zod.run({
|
|
3497
|
-
value: el,
|
|
3498
|
-
issues: []
|
|
3499
|
-
}, ctx);
|
|
3587
|
+
const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
|
|
3500
3588
|
if (result instanceof Promise) {
|
|
3501
|
-
proms.push(result.then((
|
|
3589
|
+
proms.push(result.then((r) => handleTupleResult(r, payload, i)));
|
|
3502
3590
|
} else {
|
|
3503
3591
|
handleTupleResult(result, payload, i);
|
|
3504
3592
|
}
|
|
3505
3593
|
}
|
|
3506
3594
|
}
|
|
3507
|
-
if (proms.length)
|
|
3508
|
-
return Promise.all(proms).then(() => payload);
|
|
3509
|
-
|
|
3595
|
+
if (proms.length) {
|
|
3596
|
+
return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
|
|
3597
|
+
}
|
|
3598
|
+
return handleTupleResults(itemResults, payload, items, input, optoutStart);
|
|
3510
3599
|
};
|
|
3511
3600
|
});
|
|
3601
|
+
function getTupleOptStart(items, key) {
|
|
3602
|
+
for (let i = items.length - 1;i >= 0; i--) {
|
|
3603
|
+
if (items[i]._zod[key] !== "optional")
|
|
3604
|
+
return i + 1;
|
|
3605
|
+
}
|
|
3606
|
+
return 0;
|
|
3607
|
+
}
|
|
3512
3608
|
function handleTupleResult(result, final, index) {
|
|
3513
3609
|
if (result.issues.length) {
|
|
3514
3610
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
3515
3611
|
}
|
|
3516
3612
|
final.value[index] = result.value;
|
|
3517
3613
|
}
|
|
3614
|
+
function handleTupleResults(itemResults, final, items, input, optoutStart) {
|
|
3615
|
+
for (let i = 0;i < items.length; i++) {
|
|
3616
|
+
const r = itemResults[i];
|
|
3617
|
+
const isPresent = i < input.length;
|
|
3618
|
+
if (r.issues.length) {
|
|
3619
|
+
if (!isPresent && i >= optoutStart) {
|
|
3620
|
+
final.value.length = i;
|
|
3621
|
+
break;
|
|
3622
|
+
}
|
|
3623
|
+
final.issues.push(...prefixIssues(i, r.issues));
|
|
3624
|
+
}
|
|
3625
|
+
final.value[i] = r.value;
|
|
3626
|
+
}
|
|
3627
|
+
for (let i = final.value.length - 1;i >= input.length; i--) {
|
|
3628
|
+
if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
|
|
3629
|
+
final.value.length = i;
|
|
3630
|
+
} else {
|
|
3631
|
+
break;
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
return final;
|
|
3635
|
+
}
|
|
3518
3636
|
var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
3519
3637
|
$ZodType.init(inst, def);
|
|
3520
3638
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -3536,19 +3654,35 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3536
3654
|
for (const key of values) {
|
|
3537
3655
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
3538
3656
|
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
3657
|
+
const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3658
|
+
if (keyResult instanceof Promise) {
|
|
3659
|
+
throw new Error("Async schemas not supported in object keys currently");
|
|
3660
|
+
}
|
|
3661
|
+
if (keyResult.issues.length) {
|
|
3662
|
+
payload.issues.push({
|
|
3663
|
+
code: "invalid_key",
|
|
3664
|
+
origin: "record",
|
|
3665
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
3666
|
+
input: key,
|
|
3667
|
+
path: [key],
|
|
3668
|
+
inst
|
|
3669
|
+
});
|
|
3670
|
+
continue;
|
|
3671
|
+
}
|
|
3672
|
+
const outKey = keyResult.value;
|
|
3539
3673
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3540
3674
|
if (result instanceof Promise) {
|
|
3541
3675
|
proms.push(result.then((result2) => {
|
|
3542
3676
|
if (result2.issues.length) {
|
|
3543
3677
|
payload.issues.push(...prefixIssues(key, result2.issues));
|
|
3544
3678
|
}
|
|
3545
|
-
payload.value[
|
|
3679
|
+
payload.value[outKey] = result2.value;
|
|
3546
3680
|
}));
|
|
3547
3681
|
} else {
|
|
3548
3682
|
if (result.issues.length) {
|
|
3549
3683
|
payload.issues.push(...prefixIssues(key, result.issues));
|
|
3550
3684
|
}
|
|
3551
|
-
payload.value[
|
|
3685
|
+
payload.value[outKey] = result.value;
|
|
3552
3686
|
}
|
|
3553
3687
|
}
|
|
3554
3688
|
}
|
|
@@ -3572,6 +3706,8 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3572
3706
|
for (const key of Reflect.ownKeys(input)) {
|
|
3573
3707
|
if (key === "__proto__")
|
|
3574
3708
|
continue;
|
|
3709
|
+
if (!Object.prototype.propertyIsEnumerable.call(input, key))
|
|
3710
|
+
continue;
|
|
3575
3711
|
let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3576
3712
|
if (keyResult instanceof Promise) {
|
|
3577
3713
|
throw new Error("Async schemas not supported in object keys currently");
|
|
@@ -3776,6 +3912,7 @@ var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
|
|
|
3776
3912
|
});
|
|
3777
3913
|
var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
3778
3914
|
$ZodType.init(inst, def);
|
|
3915
|
+
inst._zod.optin = "optional";
|
|
3779
3916
|
inst._zod.parse = (payload, ctx) => {
|
|
3780
3917
|
if (ctx.direction === "backward") {
|
|
3781
3918
|
throw new $ZodEncodeError(inst.constructor.name);
|
|
@@ -3785,6 +3922,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
3785
3922
|
const output = _out instanceof Promise ? _out : Promise.resolve(_out);
|
|
3786
3923
|
return output.then((output2) => {
|
|
3787
3924
|
payload.value = output2;
|
|
3925
|
+
payload.fallback = true;
|
|
3788
3926
|
return payload;
|
|
3789
3927
|
});
|
|
3790
3928
|
}
|
|
@@ -3792,11 +3930,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
3792
3930
|
throw new $ZodAsyncError;
|
|
3793
3931
|
}
|
|
3794
3932
|
payload.value = _out;
|
|
3933
|
+
payload.fallback = true;
|
|
3795
3934
|
return payload;
|
|
3796
3935
|
};
|
|
3797
3936
|
});
|
|
3798
3937
|
function handleOptionalResult(result, input) {
|
|
3799
|
-
if (result.issues.length
|
|
3938
|
+
if (input === undefined && (result.issues.length || result.fallback)) {
|
|
3800
3939
|
return { issues: [], value: undefined };
|
|
3801
3940
|
}
|
|
3802
3941
|
return result;
|
|
@@ -3814,10 +3953,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
|
|
|
3814
3953
|
});
|
|
3815
3954
|
inst._zod.parse = (payload, ctx) => {
|
|
3816
3955
|
if (def.innerType._zod.optin === "optional") {
|
|
3956
|
+
const input = payload.value;
|
|
3817
3957
|
const result = def.innerType._zod.run(payload, ctx);
|
|
3818
3958
|
if (result instanceof Promise)
|
|
3819
|
-
return result.then((r) => handleOptionalResult(r,
|
|
3820
|
-
return handleOptionalResult(result,
|
|
3959
|
+
return result.then((r) => handleOptionalResult(r, input));
|
|
3960
|
+
return handleOptionalResult(result, input);
|
|
3821
3961
|
}
|
|
3822
3962
|
if (payload.value === undefined) {
|
|
3823
3963
|
return payload;
|
|
@@ -3933,7 +4073,7 @@ var $ZodSuccess = /* @__PURE__ */ $constructor("$ZodSuccess", (inst, def) => {
|
|
|
3933
4073
|
});
|
|
3934
4074
|
var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
3935
4075
|
$ZodType.init(inst, def);
|
|
3936
|
-
|
|
4076
|
+
inst._zod.optin = "optional";
|
|
3937
4077
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
3938
4078
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
3939
4079
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -3953,6 +4093,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
3953
4093
|
input: payload.value
|
|
3954
4094
|
});
|
|
3955
4095
|
payload.issues = [];
|
|
4096
|
+
payload.fallback = true;
|
|
3956
4097
|
}
|
|
3957
4098
|
return payload;
|
|
3958
4099
|
});
|
|
@@ -3967,6 +4108,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
3967
4108
|
input: payload.value
|
|
3968
4109
|
});
|
|
3969
4110
|
payload.issues = [];
|
|
4111
|
+
payload.fallback = true;
|
|
3970
4112
|
}
|
|
3971
4113
|
return payload;
|
|
3972
4114
|
};
|
|
@@ -4012,7 +4154,7 @@ function handlePipeResult(left, next, ctx) {
|
|
|
4012
4154
|
left.aborted = true;
|
|
4013
4155
|
return left;
|
|
4014
4156
|
}
|
|
4015
|
-
return next._zod.run({ value: left.value, issues: left.issues }, ctx);
|
|
4157
|
+
return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
|
|
4016
4158
|
}
|
|
4017
4159
|
var $ZodCodec = /* @__PURE__ */ $constructor("$ZodCodec", (inst, def) => {
|
|
4018
4160
|
$ZodType.init(inst, def);
|
|
@@ -4064,6 +4206,9 @@ function handleCodecTxResult(left, value, nextSchema, ctx) {
|
|
|
4064
4206
|
}
|
|
4065
4207
|
return nextSchema._zod.run({ value, issues: left.issues }, ctx);
|
|
4066
4208
|
}
|
|
4209
|
+
var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
4210
|
+
$ZodPipe.init(inst, def);
|
|
4211
|
+
});
|
|
4067
4212
|
var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
|
|
4068
4213
|
$ZodType.init(inst, def);
|
|
4069
4214
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -4215,7 +4360,12 @@ var $ZodPromise = /* @__PURE__ */ $constructor("$ZodPromise", (inst, def) => {
|
|
|
4215
4360
|
});
|
|
4216
4361
|
var $ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
|
|
4217
4362
|
$ZodType.init(inst, def);
|
|
4218
|
-
defineLazy(inst._zod, "innerType", () =>
|
|
4363
|
+
defineLazy(inst._zod, "innerType", () => {
|
|
4364
|
+
const d = def;
|
|
4365
|
+
if (!d._cachedInner)
|
|
4366
|
+
d._cachedInner = def.getter();
|
|
4367
|
+
return d._cachedInner;
|
|
4368
|
+
});
|
|
4219
4369
|
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
4220
4370
|
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
4221
4371
|
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
|
|
@@ -4255,7 +4405,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4255
4405
|
payload.issues.push(issue(_iss));
|
|
4256
4406
|
}
|
|
4257
4407
|
}
|
|
4258
|
-
//
|
|
4408
|
+
// node_modules/zod/v4/locales/index.js
|
|
4259
4409
|
var exports_locales = {};
|
|
4260
4410
|
__export(exports_locales, {
|
|
4261
4411
|
zhTW: () => zh_TW_default,
|
|
@@ -4272,6 +4422,7 @@ __export(exports_locales, {
|
|
|
4272
4422
|
sv: () => sv_default,
|
|
4273
4423
|
sl: () => sl_default,
|
|
4274
4424
|
ru: () => ru_default,
|
|
4425
|
+
ro: () => ro_default,
|
|
4275
4426
|
pt: () => pt_default,
|
|
4276
4427
|
ps: () => ps_default,
|
|
4277
4428
|
pl: () => pl_default,
|
|
@@ -4291,6 +4442,7 @@ __export(exports_locales, {
|
|
|
4291
4442
|
id: () => id_default,
|
|
4292
4443
|
hy: () => hy_default,
|
|
4293
4444
|
hu: () => hu_default,
|
|
4445
|
+
hr: () => hr_default,
|
|
4294
4446
|
he: () => he_default,
|
|
4295
4447
|
frCA: () => fr_CA_default,
|
|
4296
4448
|
fr: () => fr_default,
|
|
@@ -4299,6 +4451,7 @@ __export(exports_locales, {
|
|
|
4299
4451
|
es: () => es_default,
|
|
4300
4452
|
eo: () => eo_default,
|
|
4301
4453
|
en: () => en_default,
|
|
4454
|
+
el: () => el_default,
|
|
4302
4455
|
de: () => de_default,
|
|
4303
4456
|
da: () => da_default,
|
|
4304
4457
|
cs: () => cs_default,
|
|
@@ -4309,7 +4462,7 @@ __export(exports_locales, {
|
|
|
4309
4462
|
ar: () => ar_default
|
|
4310
4463
|
});
|
|
4311
4464
|
|
|
4312
|
-
//
|
|
4465
|
+
// node_modules/zod/v4/locales/ar.js
|
|
4313
4466
|
var error = () => {
|
|
4314
4467
|
const Sizable = {
|
|
4315
4468
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -4415,7 +4568,7 @@ function ar_default() {
|
|
|
4415
4568
|
localeError: error()
|
|
4416
4569
|
};
|
|
4417
4570
|
}
|
|
4418
|
-
//
|
|
4571
|
+
// node_modules/zod/v4/locales/az.js
|
|
4419
4572
|
var error2 = () => {
|
|
4420
4573
|
const Sizable = {
|
|
4421
4574
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -4520,7 +4673,7 @@ function az_default() {
|
|
|
4520
4673
|
localeError: error2()
|
|
4521
4674
|
};
|
|
4522
4675
|
}
|
|
4523
|
-
//
|
|
4676
|
+
// node_modules/zod/v4/locales/be.js
|
|
4524
4677
|
function getBelarusianPlural(count, one, few, many) {
|
|
4525
4678
|
const absCount = Math.abs(count);
|
|
4526
4679
|
const lastDigit = absCount % 10;
|
|
@@ -4676,7 +4829,7 @@ function be_default() {
|
|
|
4676
4829
|
localeError: error3()
|
|
4677
4830
|
};
|
|
4678
4831
|
}
|
|
4679
|
-
//
|
|
4832
|
+
// node_modules/zod/v4/locales/bg.js
|
|
4680
4833
|
var error4 = () => {
|
|
4681
4834
|
const Sizable = {
|
|
4682
4835
|
string: { unit: "символа", verb: "да съдържа" },
|
|
@@ -4796,7 +4949,7 @@ function bg_default() {
|
|
|
4796
4949
|
localeError: error4()
|
|
4797
4950
|
};
|
|
4798
4951
|
}
|
|
4799
|
-
//
|
|
4952
|
+
// node_modules/zod/v4/locales/ca.js
|
|
4800
4953
|
var error5 = () => {
|
|
4801
4954
|
const Sizable = {
|
|
4802
4955
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -4903,7 +5056,7 @@ function ca_default() {
|
|
|
4903
5056
|
localeError: error5()
|
|
4904
5057
|
};
|
|
4905
5058
|
}
|
|
4906
|
-
//
|
|
5059
|
+
// node_modules/zod/v4/locales/cs.js
|
|
4907
5060
|
var error6 = () => {
|
|
4908
5061
|
const Sizable = {
|
|
4909
5062
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -5014,7 +5167,7 @@ function cs_default() {
|
|
|
5014
5167
|
localeError: error6()
|
|
5015
5168
|
};
|
|
5016
5169
|
}
|
|
5017
|
-
//
|
|
5170
|
+
// node_modules/zod/v4/locales/da.js
|
|
5018
5171
|
var error7 = () => {
|
|
5019
5172
|
const Sizable = {
|
|
5020
5173
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5129,7 +5282,7 @@ function da_default() {
|
|
|
5129
5282
|
localeError: error7()
|
|
5130
5283
|
};
|
|
5131
5284
|
}
|
|
5132
|
-
//
|
|
5285
|
+
// node_modules/zod/v4/locales/de.js
|
|
5133
5286
|
var error8 = () => {
|
|
5134
5287
|
const Sizable = {
|
|
5135
5288
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5237,8 +5390,117 @@ function de_default() {
|
|
|
5237
5390
|
localeError: error8()
|
|
5238
5391
|
};
|
|
5239
5392
|
}
|
|
5240
|
-
//
|
|
5393
|
+
// node_modules/zod/v4/locales/el.js
|
|
5241
5394
|
var error9 = () => {
|
|
5395
|
+
const Sizable = {
|
|
5396
|
+
string: { unit: "χαρακτήρες", verb: "να έχει" },
|
|
5397
|
+
file: { unit: "bytes", verb: "να έχει" },
|
|
5398
|
+
array: { unit: "στοιχεία", verb: "να έχει" },
|
|
5399
|
+
set: { unit: "στοιχεία", verb: "να έχει" },
|
|
5400
|
+
map: { unit: "καταχωρήσεις", verb: "να έχει" }
|
|
5401
|
+
};
|
|
5402
|
+
function getSizing(origin) {
|
|
5403
|
+
return Sizable[origin] ?? null;
|
|
5404
|
+
}
|
|
5405
|
+
const FormatDictionary = {
|
|
5406
|
+
regex: "είσοδος",
|
|
5407
|
+
email: "διεύθυνση email",
|
|
5408
|
+
url: "URL",
|
|
5409
|
+
emoji: "emoji",
|
|
5410
|
+
uuid: "UUID",
|
|
5411
|
+
uuidv4: "UUIDv4",
|
|
5412
|
+
uuidv6: "UUIDv6",
|
|
5413
|
+
nanoid: "nanoid",
|
|
5414
|
+
guid: "GUID",
|
|
5415
|
+
cuid: "cuid",
|
|
5416
|
+
cuid2: "cuid2",
|
|
5417
|
+
ulid: "ULID",
|
|
5418
|
+
xid: "XID",
|
|
5419
|
+
ksuid: "KSUID",
|
|
5420
|
+
datetime: "ISO ημερομηνία και ώρα",
|
|
5421
|
+
date: "ISO ημερομηνία",
|
|
5422
|
+
time: "ISO ώρα",
|
|
5423
|
+
duration: "ISO διάρκεια",
|
|
5424
|
+
ipv4: "διεύθυνση IPv4",
|
|
5425
|
+
ipv6: "διεύθυνση IPv6",
|
|
5426
|
+
mac: "διεύθυνση MAC",
|
|
5427
|
+
cidrv4: "εύρος IPv4",
|
|
5428
|
+
cidrv6: "εύρος IPv6",
|
|
5429
|
+
base64: "συμβολοσειρά κωδικοποιημένη σε base64",
|
|
5430
|
+
base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
|
|
5431
|
+
json_string: "συμβολοσειρά JSON",
|
|
5432
|
+
e164: "αριθμός E.164",
|
|
5433
|
+
jwt: "JWT",
|
|
5434
|
+
template_literal: "είσοδος"
|
|
5435
|
+
};
|
|
5436
|
+
const TypeDictionary = {
|
|
5437
|
+
nan: "NaN"
|
|
5438
|
+
};
|
|
5439
|
+
return (issue2) => {
|
|
5440
|
+
switch (issue2.code) {
|
|
5441
|
+
case "invalid_type": {
|
|
5442
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
5443
|
+
const receivedType = parsedType(issue2.input);
|
|
5444
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5445
|
+
if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
|
|
5446
|
+
return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${issue2.expected}, λήφθηκε ${received}`;
|
|
5447
|
+
}
|
|
5448
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${expected}, λήφθηκε ${received}`;
|
|
5449
|
+
}
|
|
5450
|
+
case "invalid_value":
|
|
5451
|
+
if (issue2.values.length === 1)
|
|
5452
|
+
return `Μη έγκυρη είσοδος: αναμενόταν ${stringifyPrimitive(issue2.values[0])}`;
|
|
5453
|
+
return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${joinValues(issue2.values, "|")}`;
|
|
5454
|
+
case "too_big": {
|
|
5455
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
5456
|
+
const sizing = getSizing(issue2.origin);
|
|
5457
|
+
if (sizing)
|
|
5458
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να έχει ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "στοιχεία"}`;
|
|
5459
|
+
return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να είναι ${adj}${issue2.maximum.toString()}`;
|
|
5460
|
+
}
|
|
5461
|
+
case "too_small": {
|
|
5462
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
5463
|
+
const sizing = getSizing(issue2.origin);
|
|
5464
|
+
if (sizing) {
|
|
5465
|
+
return `Πολύ μικρό: αναμενόταν ${issue2.origin} να έχει ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5466
|
+
}
|
|
5467
|
+
return `Πολύ μικρό: αναμενόταν ${issue2.origin} να είναι ${adj}${issue2.minimum.toString()}`;
|
|
5468
|
+
}
|
|
5469
|
+
case "invalid_format": {
|
|
5470
|
+
const _issue = issue2;
|
|
5471
|
+
if (_issue.format === "starts_with") {
|
|
5472
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${_issue.prefix}"`;
|
|
5473
|
+
}
|
|
5474
|
+
if (_issue.format === "ends_with")
|
|
5475
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${_issue.suffix}"`;
|
|
5476
|
+
if (_issue.format === "includes")
|
|
5477
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${_issue.includes}"`;
|
|
5478
|
+
if (_issue.format === "regex")
|
|
5479
|
+
return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${_issue.pattern}`;
|
|
5480
|
+
return `Μη έγκυρο: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
5481
|
+
}
|
|
5482
|
+
case "not_multiple_of":
|
|
5483
|
+
return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${issue2.divisor}`;
|
|
5484
|
+
case "unrecognized_keys":
|
|
5485
|
+
return `Άγνωστ${issue2.keys.length > 1 ? "α" : "ο"} κλειδ${issue2.keys.length > 1 ? "ιά" : "ί"}: ${joinValues(issue2.keys, ", ")}`;
|
|
5486
|
+
case "invalid_key":
|
|
5487
|
+
return `Μη έγκυρο κλειδί στο ${issue2.origin}`;
|
|
5488
|
+
case "invalid_union":
|
|
5489
|
+
return "Μη έγκυρη είσοδος";
|
|
5490
|
+
case "invalid_element":
|
|
5491
|
+
return `Μη έγκυρη τιμή στο ${issue2.origin}`;
|
|
5492
|
+
default:
|
|
5493
|
+
return `Μη έγκυρη είσοδος`;
|
|
5494
|
+
}
|
|
5495
|
+
};
|
|
5496
|
+
};
|
|
5497
|
+
function el_default() {
|
|
5498
|
+
return {
|
|
5499
|
+
localeError: error9()
|
|
5500
|
+
};
|
|
5501
|
+
}
|
|
5502
|
+
// node_modules/zod/v4/locales/en.js
|
|
5503
|
+
var error10 = () => {
|
|
5242
5504
|
const Sizable = {
|
|
5243
5505
|
string: { unit: "characters", verb: "to have" },
|
|
5244
5506
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -5330,6 +5592,10 @@ var error9 = () => {
|
|
|
5330
5592
|
case "invalid_key":
|
|
5331
5593
|
return `Invalid key in ${issue2.origin}`;
|
|
5332
5594
|
case "invalid_union":
|
|
5595
|
+
if (issue2.options && Array.isArray(issue2.options) && issue2.options.length > 0) {
|
|
5596
|
+
const opts = issue2.options.map((o) => `'${o}'`).join(" | ");
|
|
5597
|
+
return `Invalid discriminator value. Expected ${opts}`;
|
|
5598
|
+
}
|
|
5333
5599
|
return "Invalid input";
|
|
5334
5600
|
case "invalid_element":
|
|
5335
5601
|
return `Invalid value in ${issue2.origin}`;
|
|
@@ -5340,11 +5606,11 @@ var error9 = () => {
|
|
|
5340
5606
|
};
|
|
5341
5607
|
function en_default() {
|
|
5342
5608
|
return {
|
|
5343
|
-
localeError:
|
|
5609
|
+
localeError: error10()
|
|
5344
5610
|
};
|
|
5345
5611
|
}
|
|
5346
|
-
//
|
|
5347
|
-
var
|
|
5612
|
+
// node_modules/zod/v4/locales/eo.js
|
|
5613
|
+
var error11 = () => {
|
|
5348
5614
|
const Sizable = {
|
|
5349
5615
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
5350
5616
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -5449,11 +5715,11 @@ var error10 = () => {
|
|
|
5449
5715
|
};
|
|
5450
5716
|
function eo_default() {
|
|
5451
5717
|
return {
|
|
5452
|
-
localeError:
|
|
5718
|
+
localeError: error11()
|
|
5453
5719
|
};
|
|
5454
5720
|
}
|
|
5455
|
-
//
|
|
5456
|
-
var
|
|
5721
|
+
// node_modules/zod/v4/locales/es.js
|
|
5722
|
+
var error12 = () => {
|
|
5457
5723
|
const Sizable = {
|
|
5458
5724
|
string: { unit: "caracteres", verb: "tener" },
|
|
5459
5725
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -5581,11 +5847,11 @@ var error11 = () => {
|
|
|
5581
5847
|
};
|
|
5582
5848
|
function es_default() {
|
|
5583
5849
|
return {
|
|
5584
|
-
localeError:
|
|
5850
|
+
localeError: error12()
|
|
5585
5851
|
};
|
|
5586
5852
|
}
|
|
5587
|
-
//
|
|
5588
|
-
var
|
|
5853
|
+
// node_modules/zod/v4/locales/fa.js
|
|
5854
|
+
var error13 = () => {
|
|
5589
5855
|
const Sizable = {
|
|
5590
5856
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
5591
5857
|
file: { unit: "بایت", verb: "داشته باشد" },
|
|
@@ -5695,11 +5961,11 @@ var error12 = () => {
|
|
|
5695
5961
|
};
|
|
5696
5962
|
function fa_default() {
|
|
5697
5963
|
return {
|
|
5698
|
-
localeError:
|
|
5964
|
+
localeError: error13()
|
|
5699
5965
|
};
|
|
5700
5966
|
}
|
|
5701
|
-
//
|
|
5702
|
-
var
|
|
5967
|
+
// node_modules/zod/v4/locales/fi.js
|
|
5968
|
+
var error14 = () => {
|
|
5703
5969
|
const Sizable = {
|
|
5704
5970
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
5705
5971
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -5807,11 +6073,11 @@ var error13 = () => {
|
|
|
5807
6073
|
};
|
|
5808
6074
|
function fi_default() {
|
|
5809
6075
|
return {
|
|
5810
|
-
localeError:
|
|
6076
|
+
localeError: error14()
|
|
5811
6077
|
};
|
|
5812
6078
|
}
|
|
5813
|
-
//
|
|
5814
|
-
var
|
|
6079
|
+
// node_modules/zod/v4/locales/fr.js
|
|
6080
|
+
var error15 = () => {
|
|
5815
6081
|
const Sizable = {
|
|
5816
6082
|
string: { unit: "caractères", verb: "avoir" },
|
|
5817
6083
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -5852,9 +6118,27 @@ var error14 = () => {
|
|
|
5852
6118
|
template_literal: "entrée"
|
|
5853
6119
|
};
|
|
5854
6120
|
const TypeDictionary = {
|
|
5855
|
-
|
|
6121
|
+
string: "chaîne",
|
|
5856
6122
|
number: "nombre",
|
|
5857
|
-
|
|
6123
|
+
int: "entier",
|
|
6124
|
+
boolean: "booléen",
|
|
6125
|
+
bigint: "grand entier",
|
|
6126
|
+
symbol: "symbole",
|
|
6127
|
+
undefined: "indéfini",
|
|
6128
|
+
null: "null",
|
|
6129
|
+
never: "jamais",
|
|
6130
|
+
void: "vide",
|
|
6131
|
+
date: "date",
|
|
6132
|
+
array: "tableau",
|
|
6133
|
+
object: "objet",
|
|
6134
|
+
tuple: "tuple",
|
|
6135
|
+
record: "enregistrement",
|
|
6136
|
+
map: "carte",
|
|
6137
|
+
set: "ensemble",
|
|
6138
|
+
file: "fichier",
|
|
6139
|
+
nonoptional: "non-optionnel",
|
|
6140
|
+
nan: "NaN",
|
|
6141
|
+
function: "fonction"
|
|
5858
6142
|
};
|
|
5859
6143
|
return (issue2) => {
|
|
5860
6144
|
switch (issue2.code) {
|
|
@@ -5875,16 +6159,15 @@ var error14 = () => {
|
|
|
5875
6159
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
5876
6160
|
const sizing = getSizing(issue2.origin);
|
|
5877
6161
|
if (sizing)
|
|
5878
|
-
return `Trop grand : ${issue2.origin ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
|
|
5879
|
-
return `Trop grand : ${issue2.origin ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
|
|
6162
|
+
return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
|
|
6163
|
+
return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
|
|
5880
6164
|
}
|
|
5881
6165
|
case "too_small": {
|
|
5882
6166
|
const adj = issue2.inclusive ? ">=" : ">";
|
|
5883
6167
|
const sizing = getSizing(issue2.origin);
|
|
5884
|
-
if (sizing)
|
|
5885
|
-
return `Trop petit : ${issue2.origin} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5886
|
-
}
|
|
5887
|
-
return `Trop petit : ${issue2.origin} doit être ${adj}${issue2.minimum.toString()}`;
|
|
6168
|
+
if (sizing)
|
|
6169
|
+
return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
6170
|
+
return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.minimum.toString()}`;
|
|
5888
6171
|
}
|
|
5889
6172
|
case "invalid_format": {
|
|
5890
6173
|
const _issue = issue2;
|
|
@@ -5915,11 +6198,11 @@ var error14 = () => {
|
|
|
5915
6198
|
};
|
|
5916
6199
|
function fr_default() {
|
|
5917
6200
|
return {
|
|
5918
|
-
localeError:
|
|
6201
|
+
localeError: error15()
|
|
5919
6202
|
};
|
|
5920
6203
|
}
|
|
5921
|
-
//
|
|
5922
|
-
var
|
|
6204
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
6205
|
+
var error16 = () => {
|
|
5923
6206
|
const Sizable = {
|
|
5924
6207
|
string: { unit: "caractères", verb: "avoir" },
|
|
5925
6208
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6022,11 +6305,11 @@ var error15 = () => {
|
|
|
6022
6305
|
};
|
|
6023
6306
|
function fr_CA_default() {
|
|
6024
6307
|
return {
|
|
6025
|
-
localeError:
|
|
6308
|
+
localeError: error16()
|
|
6026
6309
|
};
|
|
6027
6310
|
}
|
|
6028
|
-
//
|
|
6029
|
-
var
|
|
6311
|
+
// node_modules/zod/v4/locales/he.js
|
|
6312
|
+
var error17 = () => {
|
|
6030
6313
|
const TypeNames = {
|
|
6031
6314
|
string: { label: "מחרוזת", gender: "f" },
|
|
6032
6315
|
number: { label: "מספר", gender: "m" },
|
|
@@ -6215,23 +6498,23 @@ var error16 = () => {
|
|
|
6215
6498
|
};
|
|
6216
6499
|
function he_default() {
|
|
6217
6500
|
return {
|
|
6218
|
-
localeError:
|
|
6501
|
+
localeError: error17()
|
|
6219
6502
|
};
|
|
6220
6503
|
}
|
|
6221
|
-
//
|
|
6222
|
-
var
|
|
6504
|
+
// node_modules/zod/v4/locales/hr.js
|
|
6505
|
+
var error18 = () => {
|
|
6223
6506
|
const Sizable = {
|
|
6224
|
-
string: { unit: "
|
|
6225
|
-
file: { unit: "
|
|
6226
|
-
array: { unit: "
|
|
6227
|
-
set: { unit: "
|
|
6507
|
+
string: { unit: "znakova", verb: "imati" },
|
|
6508
|
+
file: { unit: "bajtova", verb: "imati" },
|
|
6509
|
+
array: { unit: "stavki", verb: "imati" },
|
|
6510
|
+
set: { unit: "stavki", verb: "imati" }
|
|
6228
6511
|
};
|
|
6229
6512
|
function getSizing(origin) {
|
|
6230
6513
|
return Sizable[origin] ?? null;
|
|
6231
6514
|
}
|
|
6232
6515
|
const FormatDictionary = {
|
|
6233
|
-
regex: "
|
|
6234
|
-
email: "email
|
|
6516
|
+
regex: "unos",
|
|
6517
|
+
email: "email adresa",
|
|
6235
6518
|
url: "URL",
|
|
6236
6519
|
emoji: "emoji",
|
|
6237
6520
|
uuid: "UUID",
|
|
@@ -6244,25 +6527,37 @@ var error17 = () => {
|
|
|
6244
6527
|
ulid: "ULID",
|
|
6245
6528
|
xid: "XID",
|
|
6246
6529
|
ksuid: "KSUID",
|
|
6247
|
-
datetime: "ISO
|
|
6248
|
-
date: "ISO
|
|
6249
|
-
time: "ISO
|
|
6250
|
-
duration: "ISO
|
|
6251
|
-
ipv4: "IPv4
|
|
6252
|
-
ipv6: "IPv6
|
|
6253
|
-
cidrv4: "IPv4
|
|
6254
|
-
cidrv6: "IPv6
|
|
6255
|
-
base64: "base64
|
|
6256
|
-
base64url: "base64url
|
|
6257
|
-
json_string: "JSON
|
|
6258
|
-
e164: "E.164
|
|
6530
|
+
datetime: "ISO datum i vrijeme",
|
|
6531
|
+
date: "ISO datum",
|
|
6532
|
+
time: "ISO vrijeme",
|
|
6533
|
+
duration: "ISO trajanje",
|
|
6534
|
+
ipv4: "IPv4 adresa",
|
|
6535
|
+
ipv6: "IPv6 adresa",
|
|
6536
|
+
cidrv4: "IPv4 raspon",
|
|
6537
|
+
cidrv6: "IPv6 raspon",
|
|
6538
|
+
base64: "base64 kodirani tekst",
|
|
6539
|
+
base64url: "base64url kodirani tekst",
|
|
6540
|
+
json_string: "JSON tekst",
|
|
6541
|
+
e164: "E.164 broj",
|
|
6259
6542
|
jwt: "JWT",
|
|
6260
|
-
template_literal: "
|
|
6543
|
+
template_literal: "unos"
|
|
6261
6544
|
};
|
|
6262
6545
|
const TypeDictionary = {
|
|
6263
6546
|
nan: "NaN",
|
|
6264
|
-
|
|
6265
|
-
|
|
6547
|
+
string: "tekst",
|
|
6548
|
+
number: "broj",
|
|
6549
|
+
boolean: "boolean",
|
|
6550
|
+
array: "niz",
|
|
6551
|
+
object: "objekt",
|
|
6552
|
+
set: "skup",
|
|
6553
|
+
file: "datoteka",
|
|
6554
|
+
date: "datum",
|
|
6555
|
+
bigint: "bigint",
|
|
6556
|
+
symbol: "simbol",
|
|
6557
|
+
undefined: "undefined",
|
|
6558
|
+
null: "null",
|
|
6559
|
+
function: "funkcija",
|
|
6560
|
+
map: "mapa"
|
|
6266
6561
|
};
|
|
6267
6562
|
return (issue2) => {
|
|
6268
6563
|
switch (issue2.code) {
|
|
@@ -6271,13 +6566,123 @@ var error17 = () => {
|
|
|
6271
6566
|
const receivedType = parsedType(issue2.input);
|
|
6272
6567
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6273
6568
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
6274
|
-
return
|
|
6569
|
+
return `Neispravan unos: očekuje se instanceof ${issue2.expected}, a primljeno je ${received}`;
|
|
6275
6570
|
}
|
|
6276
|
-
return
|
|
6571
|
+
return `Neispravan unos: očekuje se ${expected}, a primljeno je ${received}`;
|
|
6277
6572
|
}
|
|
6278
6573
|
case "invalid_value":
|
|
6279
6574
|
if (issue2.values.length === 1)
|
|
6280
|
-
return
|
|
6575
|
+
return `Neispravna vrijednost: očekivano ${stringifyPrimitive(issue2.values[0])}`;
|
|
6576
|
+
return `Neispravna opcija: očekivano jedno od ${joinValues(issue2.values, "|")}`;
|
|
6577
|
+
case "too_big": {
|
|
6578
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
6579
|
+
const sizing = getSizing(issue2.origin);
|
|
6580
|
+
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6581
|
+
if (sizing)
|
|
6582
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
|
|
6583
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
|
|
6584
|
+
}
|
|
6585
|
+
case "too_small": {
|
|
6586
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
6587
|
+
const sizing = getSizing(issue2.origin);
|
|
6588
|
+
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6589
|
+
if (sizing) {
|
|
6590
|
+
return `Premalo: očekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
6591
|
+
}
|
|
6592
|
+
return `Premalo: očekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
|
|
6593
|
+
}
|
|
6594
|
+
case "invalid_format": {
|
|
6595
|
+
const _issue = issue2;
|
|
6596
|
+
if (_issue.format === "starts_with")
|
|
6597
|
+
return `Neispravan tekst: mora započinjati s "${_issue.prefix}"`;
|
|
6598
|
+
if (_issue.format === "ends_with")
|
|
6599
|
+
return `Neispravan tekst: mora završavati s "${_issue.suffix}"`;
|
|
6600
|
+
if (_issue.format === "includes")
|
|
6601
|
+
return `Neispravan tekst: mora sadržavati "${_issue.includes}"`;
|
|
6602
|
+
if (_issue.format === "regex")
|
|
6603
|
+
return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
|
|
6604
|
+
return `Neispravna ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6605
|
+
}
|
|
6606
|
+
case "not_multiple_of":
|
|
6607
|
+
return `Neispravan broj: mora biti višekratnik od ${issue2.divisor}`;
|
|
6608
|
+
case "unrecognized_keys":
|
|
6609
|
+
return `Neprepoznat${issue2.keys.length > 1 ? "i ključevi" : " ključ"}: ${joinValues(issue2.keys, ", ")}`;
|
|
6610
|
+
case "invalid_key":
|
|
6611
|
+
return `Neispravan ključ u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6612
|
+
case "invalid_union":
|
|
6613
|
+
return "Neispravan unos";
|
|
6614
|
+
case "invalid_element":
|
|
6615
|
+
return `Neispravna vrijednost u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6616
|
+
default:
|
|
6617
|
+
return `Neispravan unos`;
|
|
6618
|
+
}
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
function hr_default() {
|
|
6622
|
+
return {
|
|
6623
|
+
localeError: error18()
|
|
6624
|
+
};
|
|
6625
|
+
}
|
|
6626
|
+
// node_modules/zod/v4/locales/hu.js
|
|
6627
|
+
var error19 = () => {
|
|
6628
|
+
const Sizable = {
|
|
6629
|
+
string: { unit: "karakter", verb: "legyen" },
|
|
6630
|
+
file: { unit: "byte", verb: "legyen" },
|
|
6631
|
+
array: { unit: "elem", verb: "legyen" },
|
|
6632
|
+
set: { unit: "elem", verb: "legyen" }
|
|
6633
|
+
};
|
|
6634
|
+
function getSizing(origin) {
|
|
6635
|
+
return Sizable[origin] ?? null;
|
|
6636
|
+
}
|
|
6637
|
+
const FormatDictionary = {
|
|
6638
|
+
regex: "bemenet",
|
|
6639
|
+
email: "email cím",
|
|
6640
|
+
url: "URL",
|
|
6641
|
+
emoji: "emoji",
|
|
6642
|
+
uuid: "UUID",
|
|
6643
|
+
uuidv4: "UUIDv4",
|
|
6644
|
+
uuidv6: "UUIDv6",
|
|
6645
|
+
nanoid: "nanoid",
|
|
6646
|
+
guid: "GUID",
|
|
6647
|
+
cuid: "cuid",
|
|
6648
|
+
cuid2: "cuid2",
|
|
6649
|
+
ulid: "ULID",
|
|
6650
|
+
xid: "XID",
|
|
6651
|
+
ksuid: "KSUID",
|
|
6652
|
+
datetime: "ISO időbélyeg",
|
|
6653
|
+
date: "ISO dátum",
|
|
6654
|
+
time: "ISO idő",
|
|
6655
|
+
duration: "ISO időintervallum",
|
|
6656
|
+
ipv4: "IPv4 cím",
|
|
6657
|
+
ipv6: "IPv6 cím",
|
|
6658
|
+
cidrv4: "IPv4 tartomány",
|
|
6659
|
+
cidrv6: "IPv6 tartomány",
|
|
6660
|
+
base64: "base64-kódolt string",
|
|
6661
|
+
base64url: "base64url-kódolt string",
|
|
6662
|
+
json_string: "JSON string",
|
|
6663
|
+
e164: "E.164 szám",
|
|
6664
|
+
jwt: "JWT",
|
|
6665
|
+
template_literal: "bemenet"
|
|
6666
|
+
};
|
|
6667
|
+
const TypeDictionary = {
|
|
6668
|
+
nan: "NaN",
|
|
6669
|
+
number: "szám",
|
|
6670
|
+
array: "tömb"
|
|
6671
|
+
};
|
|
6672
|
+
return (issue2) => {
|
|
6673
|
+
switch (issue2.code) {
|
|
6674
|
+
case "invalid_type": {
|
|
6675
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
6676
|
+
const receivedType = parsedType(issue2.input);
|
|
6677
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6678
|
+
if (/^[A-Z]/.test(issue2.expected)) {
|
|
6679
|
+
return `Érvénytelen bemenet: a várt érték instanceof ${issue2.expected}, a kapott érték ${received}`;
|
|
6680
|
+
}
|
|
6681
|
+
return `Érvénytelen bemenet: a várt érték ${expected}, a kapott érték ${received}`;
|
|
6682
|
+
}
|
|
6683
|
+
case "invalid_value":
|
|
6684
|
+
if (issue2.values.length === 1)
|
|
6685
|
+
return `Érvénytelen bemenet: a várt érték ${stringifyPrimitive(issue2.values[0])}`;
|
|
6281
6686
|
return `Érvénytelen opció: valamelyik érték várt ${joinValues(issue2.values, "|")}`;
|
|
6282
6687
|
case "too_big": {
|
|
6283
6688
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
@@ -6323,10 +6728,10 @@ var error17 = () => {
|
|
|
6323
6728
|
};
|
|
6324
6729
|
function hu_default() {
|
|
6325
6730
|
return {
|
|
6326
|
-
localeError:
|
|
6731
|
+
localeError: error19()
|
|
6327
6732
|
};
|
|
6328
6733
|
}
|
|
6329
|
-
//
|
|
6734
|
+
// node_modules/zod/v4/locales/hy.js
|
|
6330
6735
|
function getArmenianPlural(count, one, many) {
|
|
6331
6736
|
return Math.abs(count) === 1 ? one : many;
|
|
6332
6737
|
}
|
|
@@ -6337,7 +6742,7 @@ function withDefiniteArticle(word) {
|
|
|
6337
6742
|
const lastChar = word[word.length - 1];
|
|
6338
6743
|
return word + (vowels.includes(lastChar) ? "ն" : "ը");
|
|
6339
6744
|
}
|
|
6340
|
-
var
|
|
6745
|
+
var error20 = () => {
|
|
6341
6746
|
const Sizable = {
|
|
6342
6747
|
string: {
|
|
6343
6748
|
unit: {
|
|
@@ -6470,11 +6875,11 @@ var error18 = () => {
|
|
|
6470
6875
|
};
|
|
6471
6876
|
function hy_default() {
|
|
6472
6877
|
return {
|
|
6473
|
-
localeError:
|
|
6878
|
+
localeError: error20()
|
|
6474
6879
|
};
|
|
6475
6880
|
}
|
|
6476
|
-
//
|
|
6477
|
-
var
|
|
6881
|
+
// node_modules/zod/v4/locales/id.js
|
|
6882
|
+
var error21 = () => {
|
|
6478
6883
|
const Sizable = {
|
|
6479
6884
|
string: { unit: "karakter", verb: "memiliki" },
|
|
6480
6885
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -6576,11 +6981,11 @@ var error19 = () => {
|
|
|
6576
6981
|
};
|
|
6577
6982
|
function id_default() {
|
|
6578
6983
|
return {
|
|
6579
|
-
localeError:
|
|
6984
|
+
localeError: error21()
|
|
6580
6985
|
};
|
|
6581
6986
|
}
|
|
6582
|
-
//
|
|
6583
|
-
var
|
|
6987
|
+
// node_modules/zod/v4/locales/is.js
|
|
6988
|
+
var error22 = () => {
|
|
6584
6989
|
const Sizable = {
|
|
6585
6990
|
string: { unit: "stafi", verb: "að hafa" },
|
|
6586
6991
|
file: { unit: "bæti", verb: "að hafa" },
|
|
@@ -6685,11 +7090,11 @@ var error20 = () => {
|
|
|
6685
7090
|
};
|
|
6686
7091
|
function is_default() {
|
|
6687
7092
|
return {
|
|
6688
|
-
localeError:
|
|
7093
|
+
localeError: error22()
|
|
6689
7094
|
};
|
|
6690
7095
|
}
|
|
6691
|
-
//
|
|
6692
|
-
var
|
|
7096
|
+
// node_modules/zod/v4/locales/it.js
|
|
7097
|
+
var error23 = () => {
|
|
6693
7098
|
const Sizable = {
|
|
6694
7099
|
string: { unit: "caratteri", verb: "avere" },
|
|
6695
7100
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -6774,7 +7179,7 @@ var error21 = () => {
|
|
|
6774
7179
|
return `Stringa non valida: deve includere "${_issue.includes}"`;
|
|
6775
7180
|
if (_issue.format === "regex")
|
|
6776
7181
|
return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
|
|
6777
|
-
return `
|
|
7182
|
+
return `Input non valido: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6778
7183
|
}
|
|
6779
7184
|
case "not_multiple_of":
|
|
6780
7185
|
return `Numero non valido: deve essere un multiplo di ${issue2.divisor}`;
|
|
@@ -6793,11 +7198,11 @@ var error21 = () => {
|
|
|
6793
7198
|
};
|
|
6794
7199
|
function it_default() {
|
|
6795
7200
|
return {
|
|
6796
|
-
localeError:
|
|
7201
|
+
localeError: error23()
|
|
6797
7202
|
};
|
|
6798
7203
|
}
|
|
6799
|
-
//
|
|
6800
|
-
var
|
|
7204
|
+
// node_modules/zod/v4/locales/ja.js
|
|
7205
|
+
var error24 = () => {
|
|
6801
7206
|
const Sizable = {
|
|
6802
7207
|
string: { unit: "文字", verb: "である" },
|
|
6803
7208
|
file: { unit: "バイト", verb: "である" },
|
|
@@ -6900,11 +7305,11 @@ var error22 = () => {
|
|
|
6900
7305
|
};
|
|
6901
7306
|
function ja_default() {
|
|
6902
7307
|
return {
|
|
6903
|
-
localeError:
|
|
7308
|
+
localeError: error24()
|
|
6904
7309
|
};
|
|
6905
7310
|
}
|
|
6906
|
-
//
|
|
6907
|
-
var
|
|
7311
|
+
// node_modules/zod/v4/locales/ka.js
|
|
7312
|
+
var error25 = () => {
|
|
6908
7313
|
const Sizable = {
|
|
6909
7314
|
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
|
|
6910
7315
|
file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" },
|
|
@@ -6937,9 +7342,9 @@ var error23 = () => {
|
|
|
6937
7342
|
ipv6: "IPv6 მისამართი",
|
|
6938
7343
|
cidrv4: "IPv4 დიაპაზონი",
|
|
6939
7344
|
cidrv6: "IPv6 დიაპაზონი",
|
|
6940
|
-
base64: "base64-კოდირებული
|
|
6941
|
-
base64url: "base64url-კოდირებული
|
|
6942
|
-
json_string: "JSON
|
|
7345
|
+
base64: "base64-კოდირებული ველი",
|
|
7346
|
+
base64url: "base64url-კოდირებული ველი",
|
|
7347
|
+
json_string: "JSON ველი",
|
|
6943
7348
|
e164: "E.164 ნომერი",
|
|
6944
7349
|
jwt: "JWT",
|
|
6945
7350
|
template_literal: "შეყვანა"
|
|
@@ -6947,7 +7352,7 @@ var error23 = () => {
|
|
|
6947
7352
|
const TypeDictionary = {
|
|
6948
7353
|
nan: "NaN",
|
|
6949
7354
|
number: "რიცხვი",
|
|
6950
|
-
string: "
|
|
7355
|
+
string: "ველი",
|
|
6951
7356
|
boolean: "ბულეანი",
|
|
6952
7357
|
function: "ფუნქცია",
|
|
6953
7358
|
array: "მასივი"
|
|
@@ -6985,14 +7390,14 @@ var error23 = () => {
|
|
|
6985
7390
|
case "invalid_format": {
|
|
6986
7391
|
const _issue = issue2;
|
|
6987
7392
|
if (_issue.format === "starts_with") {
|
|
6988
|
-
return `არასწორი
|
|
7393
|
+
return `არასწორი ველი: უნდა იწყებოდეს "${_issue.prefix}"-ით`;
|
|
6989
7394
|
}
|
|
6990
7395
|
if (_issue.format === "ends_with")
|
|
6991
|
-
return `არასწორი
|
|
7396
|
+
return `არასწორი ველი: უნდა მთავრდებოდეს "${_issue.suffix}"-ით`;
|
|
6992
7397
|
if (_issue.format === "includes")
|
|
6993
|
-
return `არასწორი
|
|
7398
|
+
return `არასწორი ველი: უნდა შეიცავდეს "${_issue.includes}"-ს`;
|
|
6994
7399
|
if (_issue.format === "regex")
|
|
6995
|
-
return `არასწორი
|
|
7400
|
+
return `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${_issue.pattern}`;
|
|
6996
7401
|
return `არასწორი ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6997
7402
|
}
|
|
6998
7403
|
case "not_multiple_of":
|
|
@@ -7012,11 +7417,11 @@ var error23 = () => {
|
|
|
7012
7417
|
};
|
|
7013
7418
|
function ka_default() {
|
|
7014
7419
|
return {
|
|
7015
|
-
localeError:
|
|
7420
|
+
localeError: error25()
|
|
7016
7421
|
};
|
|
7017
7422
|
}
|
|
7018
|
-
//
|
|
7019
|
-
var
|
|
7423
|
+
// node_modules/zod/v4/locales/km.js
|
|
7424
|
+
var error26 = () => {
|
|
7020
7425
|
const Sizable = {
|
|
7021
7426
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
7022
7427
|
file: { unit: "បៃ", verb: "គួរមាន" },
|
|
@@ -7122,16 +7527,16 @@ var error24 = () => {
|
|
|
7122
7527
|
};
|
|
7123
7528
|
function km_default() {
|
|
7124
7529
|
return {
|
|
7125
|
-
localeError:
|
|
7530
|
+
localeError: error26()
|
|
7126
7531
|
};
|
|
7127
7532
|
}
|
|
7128
7533
|
|
|
7129
|
-
//
|
|
7534
|
+
// node_modules/zod/v4/locales/kh.js
|
|
7130
7535
|
function kh_default() {
|
|
7131
7536
|
return km_default();
|
|
7132
7537
|
}
|
|
7133
|
-
//
|
|
7134
|
-
var
|
|
7538
|
+
// node_modules/zod/v4/locales/ko.js
|
|
7539
|
+
var error27 = () => {
|
|
7135
7540
|
const Sizable = {
|
|
7136
7541
|
string: { unit: "문자", verb: "to have" },
|
|
7137
7542
|
file: { unit: "바이트", verb: "to have" },
|
|
@@ -7238,10 +7643,10 @@ var error25 = () => {
|
|
|
7238
7643
|
};
|
|
7239
7644
|
function ko_default() {
|
|
7240
7645
|
return {
|
|
7241
|
-
localeError:
|
|
7646
|
+
localeError: error27()
|
|
7242
7647
|
};
|
|
7243
7648
|
}
|
|
7244
|
-
//
|
|
7649
|
+
// node_modules/zod/v4/locales/lt.js
|
|
7245
7650
|
var capitalizeFirstCharacter = (text) => {
|
|
7246
7651
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7247
7652
|
};
|
|
@@ -7255,7 +7660,7 @@ function getUnitTypeFromNumber(number2) {
|
|
|
7255
7660
|
return "one";
|
|
7256
7661
|
return "few";
|
|
7257
7662
|
}
|
|
7258
|
-
var
|
|
7663
|
+
var error28 = () => {
|
|
7259
7664
|
const Sizable = {
|
|
7260
7665
|
string: {
|
|
7261
7666
|
unit: {
|
|
@@ -7441,11 +7846,11 @@ var error26 = () => {
|
|
|
7441
7846
|
};
|
|
7442
7847
|
function lt_default() {
|
|
7443
7848
|
return {
|
|
7444
|
-
localeError:
|
|
7849
|
+
localeError: error28()
|
|
7445
7850
|
};
|
|
7446
7851
|
}
|
|
7447
|
-
//
|
|
7448
|
-
var
|
|
7852
|
+
// node_modules/zod/v4/locales/mk.js
|
|
7853
|
+
var error29 = () => {
|
|
7449
7854
|
const Sizable = {
|
|
7450
7855
|
string: { unit: "знаци", verb: "да имаат" },
|
|
7451
7856
|
file: { unit: "бајти", verb: "да имаат" },
|
|
@@ -7550,11 +7955,11 @@ var error27 = () => {
|
|
|
7550
7955
|
};
|
|
7551
7956
|
function mk_default() {
|
|
7552
7957
|
return {
|
|
7553
|
-
localeError:
|
|
7958
|
+
localeError: error29()
|
|
7554
7959
|
};
|
|
7555
7960
|
}
|
|
7556
|
-
//
|
|
7557
|
-
var
|
|
7961
|
+
// node_modules/zod/v4/locales/ms.js
|
|
7962
|
+
var error30 = () => {
|
|
7558
7963
|
const Sizable = {
|
|
7559
7964
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
7560
7965
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -7657,11 +8062,11 @@ var error28 = () => {
|
|
|
7657
8062
|
};
|
|
7658
8063
|
function ms_default() {
|
|
7659
8064
|
return {
|
|
7660
|
-
localeError:
|
|
8065
|
+
localeError: error30()
|
|
7661
8066
|
};
|
|
7662
8067
|
}
|
|
7663
|
-
//
|
|
7664
|
-
var
|
|
8068
|
+
// node_modules/zod/v4/locales/nl.js
|
|
8069
|
+
var error31 = () => {
|
|
7665
8070
|
const Sizable = {
|
|
7666
8071
|
string: { unit: "tekens", verb: "heeft" },
|
|
7667
8072
|
file: { unit: "bytes", verb: "heeft" },
|
|
@@ -7767,11 +8172,11 @@ var error29 = () => {
|
|
|
7767
8172
|
};
|
|
7768
8173
|
function nl_default() {
|
|
7769
8174
|
return {
|
|
7770
|
-
localeError:
|
|
8175
|
+
localeError: error31()
|
|
7771
8176
|
};
|
|
7772
8177
|
}
|
|
7773
|
-
//
|
|
7774
|
-
var
|
|
8178
|
+
// node_modules/zod/v4/locales/no.js
|
|
8179
|
+
var error32 = () => {
|
|
7775
8180
|
const Sizable = {
|
|
7776
8181
|
string: { unit: "tegn", verb: "å ha" },
|
|
7777
8182
|
file: { unit: "bytes", verb: "å ha" },
|
|
@@ -7875,11 +8280,11 @@ var error30 = () => {
|
|
|
7875
8280
|
};
|
|
7876
8281
|
function no_default() {
|
|
7877
8282
|
return {
|
|
7878
|
-
localeError:
|
|
8283
|
+
localeError: error32()
|
|
7879
8284
|
};
|
|
7880
8285
|
}
|
|
7881
|
-
//
|
|
7882
|
-
var
|
|
8286
|
+
// node_modules/zod/v4/locales/ota.js
|
|
8287
|
+
var error33 = () => {
|
|
7883
8288
|
const Sizable = {
|
|
7884
8289
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
7885
8290
|
file: { unit: "bayt", verb: "olmalıdır" },
|
|
@@ -7984,11 +8389,11 @@ var error31 = () => {
|
|
|
7984
8389
|
};
|
|
7985
8390
|
function ota_default() {
|
|
7986
8391
|
return {
|
|
7987
|
-
localeError:
|
|
8392
|
+
localeError: error33()
|
|
7988
8393
|
};
|
|
7989
8394
|
}
|
|
7990
|
-
//
|
|
7991
|
-
var
|
|
8395
|
+
// node_modules/zod/v4/locales/ps.js
|
|
8396
|
+
var error34 = () => {
|
|
7992
8397
|
const Sizable = {
|
|
7993
8398
|
string: { unit: "توکي", verb: "ولري" },
|
|
7994
8399
|
file: { unit: "بایټس", verb: "ولري" },
|
|
@@ -8098,11 +8503,11 @@ var error32 = () => {
|
|
|
8098
8503
|
};
|
|
8099
8504
|
function ps_default() {
|
|
8100
8505
|
return {
|
|
8101
|
-
localeError:
|
|
8506
|
+
localeError: error34()
|
|
8102
8507
|
};
|
|
8103
8508
|
}
|
|
8104
|
-
//
|
|
8105
|
-
var
|
|
8509
|
+
// node_modules/zod/v4/locales/pl.js
|
|
8510
|
+
var error35 = () => {
|
|
8106
8511
|
const Sizable = {
|
|
8107
8512
|
string: { unit: "znaków", verb: "mieć" },
|
|
8108
8513
|
file: { unit: "bajtów", verb: "mieć" },
|
|
@@ -8207,11 +8612,11 @@ var error33 = () => {
|
|
|
8207
8612
|
};
|
|
8208
8613
|
function pl_default() {
|
|
8209
8614
|
return {
|
|
8210
|
-
localeError:
|
|
8615
|
+
localeError: error35()
|
|
8211
8616
|
};
|
|
8212
8617
|
}
|
|
8213
|
-
//
|
|
8214
|
-
var
|
|
8618
|
+
// node_modules/zod/v4/locales/pt.js
|
|
8619
|
+
var error36 = () => {
|
|
8215
8620
|
const Sizable = {
|
|
8216
8621
|
string: { unit: "caracteres", verb: "ter" },
|
|
8217
8622
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -8315,10 +8720,129 @@ var error34 = () => {
|
|
|
8315
8720
|
};
|
|
8316
8721
|
function pt_default() {
|
|
8317
8722
|
return {
|
|
8318
|
-
localeError:
|
|
8723
|
+
localeError: error36()
|
|
8319
8724
|
};
|
|
8320
8725
|
}
|
|
8321
|
-
//
|
|
8726
|
+
// node_modules/zod/v4/locales/ro.js
|
|
8727
|
+
var error37 = () => {
|
|
8728
|
+
const Sizable = {
|
|
8729
|
+
string: { unit: "caractere", verb: "să aibă" },
|
|
8730
|
+
file: { unit: "octeți", verb: "să aibă" },
|
|
8731
|
+
array: { unit: "elemente", verb: "să aibă" },
|
|
8732
|
+
set: { unit: "elemente", verb: "să aibă" },
|
|
8733
|
+
map: { unit: "intrări", verb: "să aibă" }
|
|
8734
|
+
};
|
|
8735
|
+
function getSizing(origin) {
|
|
8736
|
+
return Sizable[origin] ?? null;
|
|
8737
|
+
}
|
|
8738
|
+
const FormatDictionary = {
|
|
8739
|
+
regex: "intrare",
|
|
8740
|
+
email: "adresă de email",
|
|
8741
|
+
url: "URL",
|
|
8742
|
+
emoji: "emoji",
|
|
8743
|
+
uuid: "UUID",
|
|
8744
|
+
uuidv4: "UUIDv4",
|
|
8745
|
+
uuidv6: "UUIDv6",
|
|
8746
|
+
nanoid: "nanoid",
|
|
8747
|
+
guid: "GUID",
|
|
8748
|
+
cuid: "cuid",
|
|
8749
|
+
cuid2: "cuid2",
|
|
8750
|
+
ulid: "ULID",
|
|
8751
|
+
xid: "XID",
|
|
8752
|
+
ksuid: "KSUID",
|
|
8753
|
+
datetime: "dată și oră ISO",
|
|
8754
|
+
date: "dată ISO",
|
|
8755
|
+
time: "oră ISO",
|
|
8756
|
+
duration: "durată ISO",
|
|
8757
|
+
ipv4: "adresă IPv4",
|
|
8758
|
+
ipv6: "adresă IPv6",
|
|
8759
|
+
mac: "adresă MAC",
|
|
8760
|
+
cidrv4: "interval IPv4",
|
|
8761
|
+
cidrv6: "interval IPv6",
|
|
8762
|
+
base64: "șir codat base64",
|
|
8763
|
+
base64url: "șir codat base64url",
|
|
8764
|
+
json_string: "șir JSON",
|
|
8765
|
+
e164: "număr E.164",
|
|
8766
|
+
jwt: "JWT",
|
|
8767
|
+
template_literal: "intrare"
|
|
8768
|
+
};
|
|
8769
|
+
const TypeDictionary = {
|
|
8770
|
+
nan: "NaN",
|
|
8771
|
+
string: "șir",
|
|
8772
|
+
number: "număr",
|
|
8773
|
+
boolean: "boolean",
|
|
8774
|
+
function: "funcție",
|
|
8775
|
+
array: "matrice",
|
|
8776
|
+
object: "obiect",
|
|
8777
|
+
undefined: "nedefinit",
|
|
8778
|
+
symbol: "simbol",
|
|
8779
|
+
bigint: "număr mare",
|
|
8780
|
+
void: "void",
|
|
8781
|
+
never: "never",
|
|
8782
|
+
map: "hartă",
|
|
8783
|
+
set: "set"
|
|
8784
|
+
};
|
|
8785
|
+
return (issue2) => {
|
|
8786
|
+
switch (issue2.code) {
|
|
8787
|
+
case "invalid_type": {
|
|
8788
|
+
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8789
|
+
const receivedType = parsedType(issue2.input);
|
|
8790
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8791
|
+
return `Intrare invalidă: așteptat ${expected}, primit ${received}`;
|
|
8792
|
+
}
|
|
8793
|
+
case "invalid_value":
|
|
8794
|
+
if (issue2.values.length === 1)
|
|
8795
|
+
return `Intrare invalidă: așteptat ${stringifyPrimitive(issue2.values[0])}`;
|
|
8796
|
+
return `Opțiune invalidă: așteptat una dintre ${joinValues(issue2.values, "|")}`;
|
|
8797
|
+
case "too_big": {
|
|
8798
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
8799
|
+
const sizing = getSizing(issue2.origin);
|
|
8800
|
+
if (sizing)
|
|
8801
|
+
return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemente"}`;
|
|
8802
|
+
return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} să fie ${adj}${issue2.maximum.toString()}`;
|
|
8803
|
+
}
|
|
8804
|
+
case "too_small": {
|
|
8805
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
8806
|
+
const sizing = getSizing(issue2.origin);
|
|
8807
|
+
if (sizing) {
|
|
8808
|
+
return `Prea mic: așteptat ca ${issue2.origin} ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
8809
|
+
}
|
|
8810
|
+
return `Prea mic: așteptat ca ${issue2.origin} să fie ${adj}${issue2.minimum.toString()}`;
|
|
8811
|
+
}
|
|
8812
|
+
case "invalid_format": {
|
|
8813
|
+
const _issue = issue2;
|
|
8814
|
+
if (_issue.format === "starts_with") {
|
|
8815
|
+
return `Șir invalid: trebuie să înceapă cu "${_issue.prefix}"`;
|
|
8816
|
+
}
|
|
8817
|
+
if (_issue.format === "ends_with")
|
|
8818
|
+
return `Șir invalid: trebuie să se termine cu "${_issue.suffix}"`;
|
|
8819
|
+
if (_issue.format === "includes")
|
|
8820
|
+
return `Șir invalid: trebuie să includă "${_issue.includes}"`;
|
|
8821
|
+
if (_issue.format === "regex")
|
|
8822
|
+
return `Șir invalid: trebuie să se potrivească cu modelul ${_issue.pattern}`;
|
|
8823
|
+
return `Format invalid: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
8824
|
+
}
|
|
8825
|
+
case "not_multiple_of":
|
|
8826
|
+
return `Număr invalid: trebuie să fie multiplu de ${issue2.divisor}`;
|
|
8827
|
+
case "unrecognized_keys":
|
|
8828
|
+
return `Chei nerecunoscute: ${joinValues(issue2.keys, ", ")}`;
|
|
8829
|
+
case "invalid_key":
|
|
8830
|
+
return `Cheie invalidă în ${issue2.origin}`;
|
|
8831
|
+
case "invalid_union":
|
|
8832
|
+
return "Intrare invalidă";
|
|
8833
|
+
case "invalid_element":
|
|
8834
|
+
return `Valoare invalidă în ${issue2.origin}`;
|
|
8835
|
+
default:
|
|
8836
|
+
return `Intrare invalidă`;
|
|
8837
|
+
}
|
|
8838
|
+
};
|
|
8839
|
+
};
|
|
8840
|
+
function ro_default() {
|
|
8841
|
+
return {
|
|
8842
|
+
localeError: error37()
|
|
8843
|
+
};
|
|
8844
|
+
}
|
|
8845
|
+
// node_modules/zod/v4/locales/ru.js
|
|
8322
8846
|
function getRussianPlural(count, one, few, many) {
|
|
8323
8847
|
const absCount = Math.abs(count);
|
|
8324
8848
|
const lastDigit = absCount % 10;
|
|
@@ -8334,7 +8858,7 @@ function getRussianPlural(count, one, few, many) {
|
|
|
8334
8858
|
}
|
|
8335
8859
|
return many;
|
|
8336
8860
|
}
|
|
8337
|
-
var
|
|
8861
|
+
var error38 = () => {
|
|
8338
8862
|
const Sizable = {
|
|
8339
8863
|
string: {
|
|
8340
8864
|
unit: {
|
|
@@ -8471,11 +8995,11 @@ var error35 = () => {
|
|
|
8471
8995
|
};
|
|
8472
8996
|
function ru_default() {
|
|
8473
8997
|
return {
|
|
8474
|
-
localeError:
|
|
8998
|
+
localeError: error38()
|
|
8475
8999
|
};
|
|
8476
9000
|
}
|
|
8477
|
-
//
|
|
8478
|
-
var
|
|
9001
|
+
// node_modules/zod/v4/locales/sl.js
|
|
9002
|
+
var error39 = () => {
|
|
8479
9003
|
const Sizable = {
|
|
8480
9004
|
string: { unit: "znakov", verb: "imeti" },
|
|
8481
9005
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -8580,11 +9104,11 @@ var error36 = () => {
|
|
|
8580
9104
|
};
|
|
8581
9105
|
function sl_default() {
|
|
8582
9106
|
return {
|
|
8583
|
-
localeError:
|
|
9107
|
+
localeError: error39()
|
|
8584
9108
|
};
|
|
8585
9109
|
}
|
|
8586
|
-
//
|
|
8587
|
-
var
|
|
9110
|
+
// node_modules/zod/v4/locales/sv.js
|
|
9111
|
+
var error40 = () => {
|
|
8588
9112
|
const Sizable = {
|
|
8589
9113
|
string: { unit: "tecken", verb: "att ha" },
|
|
8590
9114
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -8690,11 +9214,11 @@ var error37 = () => {
|
|
|
8690
9214
|
};
|
|
8691
9215
|
function sv_default() {
|
|
8692
9216
|
return {
|
|
8693
|
-
localeError:
|
|
9217
|
+
localeError: error40()
|
|
8694
9218
|
};
|
|
8695
9219
|
}
|
|
8696
|
-
//
|
|
8697
|
-
var
|
|
9220
|
+
// node_modules/zod/v4/locales/ta.js
|
|
9221
|
+
var error41 = () => {
|
|
8698
9222
|
const Sizable = {
|
|
8699
9223
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
8700
9224
|
file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -8800,11 +9324,11 @@ var error38 = () => {
|
|
|
8800
9324
|
};
|
|
8801
9325
|
function ta_default() {
|
|
8802
9326
|
return {
|
|
8803
|
-
localeError:
|
|
9327
|
+
localeError: error41()
|
|
8804
9328
|
};
|
|
8805
9329
|
}
|
|
8806
|
-
//
|
|
8807
|
-
var
|
|
9330
|
+
// node_modules/zod/v4/locales/th.js
|
|
9331
|
+
var error42 = () => {
|
|
8808
9332
|
const Sizable = {
|
|
8809
9333
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
8810
9334
|
file: { unit: "ไบต์", verb: "ควรมี" },
|
|
@@ -8910,11 +9434,11 @@ var error39 = () => {
|
|
|
8910
9434
|
};
|
|
8911
9435
|
function th_default() {
|
|
8912
9436
|
return {
|
|
8913
|
-
localeError:
|
|
9437
|
+
localeError: error42()
|
|
8914
9438
|
};
|
|
8915
9439
|
}
|
|
8916
|
-
//
|
|
8917
|
-
var
|
|
9440
|
+
// node_modules/zod/v4/locales/tr.js
|
|
9441
|
+
var error43 = () => {
|
|
8918
9442
|
const Sizable = {
|
|
8919
9443
|
string: { unit: "karakter", verb: "olmalı" },
|
|
8920
9444
|
file: { unit: "bayt", verb: "olmalı" },
|
|
@@ -9015,11 +9539,11 @@ var error40 = () => {
|
|
|
9015
9539
|
};
|
|
9016
9540
|
function tr_default() {
|
|
9017
9541
|
return {
|
|
9018
|
-
localeError:
|
|
9542
|
+
localeError: error43()
|
|
9019
9543
|
};
|
|
9020
9544
|
}
|
|
9021
|
-
//
|
|
9022
|
-
var
|
|
9545
|
+
// node_modules/zod/v4/locales/uk.js
|
|
9546
|
+
var error44 = () => {
|
|
9023
9547
|
const Sizable = {
|
|
9024
9548
|
string: { unit: "символів", verb: "матиме" },
|
|
9025
9549
|
file: { unit: "байтів", verb: "матиме" },
|
|
@@ -9123,16 +9647,16 @@ var error41 = () => {
|
|
|
9123
9647
|
};
|
|
9124
9648
|
function uk_default() {
|
|
9125
9649
|
return {
|
|
9126
|
-
localeError:
|
|
9650
|
+
localeError: error44()
|
|
9127
9651
|
};
|
|
9128
9652
|
}
|
|
9129
9653
|
|
|
9130
|
-
//
|
|
9654
|
+
// node_modules/zod/v4/locales/ua.js
|
|
9131
9655
|
function ua_default() {
|
|
9132
9656
|
return uk_default();
|
|
9133
9657
|
}
|
|
9134
|
-
//
|
|
9135
|
-
var
|
|
9658
|
+
// node_modules/zod/v4/locales/ur.js
|
|
9659
|
+
var error45 = () => {
|
|
9136
9660
|
const Sizable = {
|
|
9137
9661
|
string: { unit: "حروف", verb: "ہونا" },
|
|
9138
9662
|
file: { unit: "بائٹس", verb: "ہونا" },
|
|
@@ -9238,16 +9762,17 @@ var error42 = () => {
|
|
|
9238
9762
|
};
|
|
9239
9763
|
function ur_default() {
|
|
9240
9764
|
return {
|
|
9241
|
-
localeError:
|
|
9765
|
+
localeError: error45()
|
|
9242
9766
|
};
|
|
9243
9767
|
}
|
|
9244
|
-
//
|
|
9245
|
-
var
|
|
9768
|
+
// node_modules/zod/v4/locales/uz.js
|
|
9769
|
+
var error46 = () => {
|
|
9246
9770
|
const Sizable = {
|
|
9247
9771
|
string: { unit: "belgi", verb: "bo‘lishi kerak" },
|
|
9248
9772
|
file: { unit: "bayt", verb: "bo‘lishi kerak" },
|
|
9249
9773
|
array: { unit: "element", verb: "bo‘lishi kerak" },
|
|
9250
|
-
set: { unit: "element", verb: "bo‘lishi kerak" }
|
|
9774
|
+
set: { unit: "element", verb: "bo‘lishi kerak" },
|
|
9775
|
+
map: { unit: "yozuv", verb: "bo‘lishi kerak" }
|
|
9251
9776
|
};
|
|
9252
9777
|
function getSizing(origin) {
|
|
9253
9778
|
return Sizable[origin] ?? null;
|
|
@@ -9347,11 +9872,11 @@ var error43 = () => {
|
|
|
9347
9872
|
};
|
|
9348
9873
|
function uz_default() {
|
|
9349
9874
|
return {
|
|
9350
|
-
localeError:
|
|
9875
|
+
localeError: error46()
|
|
9351
9876
|
};
|
|
9352
9877
|
}
|
|
9353
|
-
//
|
|
9354
|
-
var
|
|
9878
|
+
// node_modules/zod/v4/locales/vi.js
|
|
9879
|
+
var error47 = () => {
|
|
9355
9880
|
const Sizable = {
|
|
9356
9881
|
string: { unit: "ký tự", verb: "có" },
|
|
9357
9882
|
file: { unit: "byte", verb: "có" },
|
|
@@ -9455,11 +9980,11 @@ var error44 = () => {
|
|
|
9455
9980
|
};
|
|
9456
9981
|
function vi_default() {
|
|
9457
9982
|
return {
|
|
9458
|
-
localeError:
|
|
9983
|
+
localeError: error47()
|
|
9459
9984
|
};
|
|
9460
9985
|
}
|
|
9461
|
-
//
|
|
9462
|
-
var
|
|
9986
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
9987
|
+
var error48 = () => {
|
|
9463
9988
|
const Sizable = {
|
|
9464
9989
|
string: { unit: "字符", verb: "包含" },
|
|
9465
9990
|
file: { unit: "字节", verb: "包含" },
|
|
@@ -9564,11 +10089,11 @@ var error45 = () => {
|
|
|
9564
10089
|
};
|
|
9565
10090
|
function zh_CN_default() {
|
|
9566
10091
|
return {
|
|
9567
|
-
localeError:
|
|
10092
|
+
localeError: error48()
|
|
9568
10093
|
};
|
|
9569
10094
|
}
|
|
9570
|
-
//
|
|
9571
|
-
var
|
|
10095
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
10096
|
+
var error49 = () => {
|
|
9572
10097
|
const Sizable = {
|
|
9573
10098
|
string: { unit: "字元", verb: "擁有" },
|
|
9574
10099
|
file: { unit: "位元組", verb: "擁有" },
|
|
@@ -9671,11 +10196,11 @@ var error46 = () => {
|
|
|
9671
10196
|
};
|
|
9672
10197
|
function zh_TW_default() {
|
|
9673
10198
|
return {
|
|
9674
|
-
localeError:
|
|
10199
|
+
localeError: error49()
|
|
9675
10200
|
};
|
|
9676
10201
|
}
|
|
9677
|
-
//
|
|
9678
|
-
var
|
|
10202
|
+
// node_modules/zod/v4/locales/yo.js
|
|
10203
|
+
var error50 = () => {
|
|
9679
10204
|
const Sizable = {
|
|
9680
10205
|
string: { unit: "àmi", verb: "ní" },
|
|
9681
10206
|
file: { unit: "bytes", verb: "ní" },
|
|
@@ -9778,11 +10303,11 @@ var error47 = () => {
|
|
|
9778
10303
|
};
|
|
9779
10304
|
function yo_default() {
|
|
9780
10305
|
return {
|
|
9781
|
-
localeError:
|
|
10306
|
+
localeError: error50()
|
|
9782
10307
|
};
|
|
9783
10308
|
}
|
|
9784
|
-
//
|
|
9785
|
-
var
|
|
10309
|
+
// node_modules/zod/v4/core/registries.js
|
|
10310
|
+
var _a2;
|
|
9786
10311
|
var $output = Symbol("ZodOutput");
|
|
9787
10312
|
var $input = Symbol("ZodInput");
|
|
9788
10313
|
|
|
@@ -9829,9 +10354,9 @@ class $ZodRegistry {
|
|
|
9829
10354
|
function registry() {
|
|
9830
10355
|
return new $ZodRegistry;
|
|
9831
10356
|
}
|
|
9832
|
-
(
|
|
10357
|
+
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
9833
10358
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
9834
|
-
//
|
|
10359
|
+
// node_modules/zod/v4/core/api.js
|
|
9835
10360
|
function _string(Class2, params) {
|
|
9836
10361
|
return new Class2({
|
|
9837
10362
|
type: "string",
|
|
@@ -10635,7 +11160,7 @@ function _refine(Class2, fn, _params) {
|
|
|
10635
11160
|
});
|
|
10636
11161
|
return schema;
|
|
10637
11162
|
}
|
|
10638
|
-
function _superRefine(fn) {
|
|
11163
|
+
function _superRefine(fn, params) {
|
|
10639
11164
|
const ch = _check((payload) => {
|
|
10640
11165
|
payload.addIssue = (issue2) => {
|
|
10641
11166
|
if (typeof issue2 === "string") {
|
|
@@ -10652,7 +11177,7 @@ function _superRefine(fn) {
|
|
|
10652
11177
|
}
|
|
10653
11178
|
};
|
|
10654
11179
|
return fn(payload.value, payload);
|
|
10655
|
-
});
|
|
11180
|
+
}, params);
|
|
10656
11181
|
return ch;
|
|
10657
11182
|
}
|
|
10658
11183
|
function _check(fn, params) {
|
|
@@ -10751,7 +11276,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
10751
11276
|
const inst = new Class2(def);
|
|
10752
11277
|
return inst;
|
|
10753
11278
|
}
|
|
10754
|
-
//
|
|
11279
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
10755
11280
|
function initializeContext(params) {
|
|
10756
11281
|
let target = params?.target ?? "draft-2020-12";
|
|
10757
11282
|
if (target === "draft-4")
|
|
@@ -10773,7 +11298,7 @@ function initializeContext(params) {
|
|
|
10773
11298
|
};
|
|
10774
11299
|
}
|
|
10775
11300
|
function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
10776
|
-
var
|
|
11301
|
+
var _a3;
|
|
10777
11302
|
const def = schema._zod.def;
|
|
10778
11303
|
const seen = ctx.seen.get(schema);
|
|
10779
11304
|
if (seen) {
|
|
@@ -10820,8 +11345,8 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
10820
11345
|
delete result.schema.examples;
|
|
10821
11346
|
delete result.schema.default;
|
|
10822
11347
|
}
|
|
10823
|
-
if (ctx.io === "input" && result.schema
|
|
10824
|
-
(
|
|
11348
|
+
if (ctx.io === "input" && "_prefault" in result.schema)
|
|
11349
|
+
(_a3 = result.schema).default ?? (_a3.default = result.schema._prefault);
|
|
10825
11350
|
delete result.schema._prefault;
|
|
10826
11351
|
const _result = ctx.seen.get(schema);
|
|
10827
11352
|
return _result.schema;
|
|
@@ -10998,10 +11523,15 @@ function finalize(ctx, schema) {
|
|
|
10998
11523
|
result.$id = ctx.external.uri(id);
|
|
10999
11524
|
}
|
|
11000
11525
|
Object.assign(result, root.def ?? root.schema);
|
|
11526
|
+
const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
|
|
11527
|
+
if (rootMetaId !== undefined && result.id === rootMetaId)
|
|
11528
|
+
delete result.id;
|
|
11001
11529
|
const defs = ctx.external?.defs ?? {};
|
|
11002
11530
|
for (const entry of ctx.seen.entries()) {
|
|
11003
11531
|
const seen = entry[1];
|
|
11004
11532
|
if (seen.def && seen.defId) {
|
|
11533
|
+
if (seen.def.id === seen.defId)
|
|
11534
|
+
delete seen.def.id;
|
|
11005
11535
|
defs[seen.defId] = seen.def;
|
|
11006
11536
|
}
|
|
11007
11537
|
}
|
|
@@ -11056,6 +11586,8 @@ function isTransforming(_schema, _ctx) {
|
|
|
11056
11586
|
return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
11057
11587
|
}
|
|
11058
11588
|
if (def.type === "pipe") {
|
|
11589
|
+
if (_schema._zod.traits.has("$ZodCodec"))
|
|
11590
|
+
return true;
|
|
11059
11591
|
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
11060
11592
|
}
|
|
11061
11593
|
if (def.type === "object") {
|
|
@@ -11096,7 +11628,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
11096
11628
|
extractDefs(ctx, schema);
|
|
11097
11629
|
return finalize(ctx, schema);
|
|
11098
11630
|
};
|
|
11099
|
-
//
|
|
11631
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
11100
11632
|
var formatMap = {
|
|
11101
11633
|
guid: "uuid",
|
|
11102
11634
|
url: "uri",
|
|
@@ -11143,39 +11675,28 @@ var numberProcessor = (schema, ctx, _json, _params) => {
|
|
|
11143
11675
|
json.type = "integer";
|
|
11144
11676
|
else
|
|
11145
11677
|
json.type = "number";
|
|
11146
|
-
|
|
11147
|
-
|
|
11678
|
+
const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
|
|
11679
|
+
const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
|
|
11680
|
+
const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
|
|
11681
|
+
if (exMin) {
|
|
11682
|
+
if (legacy) {
|
|
11148
11683
|
json.minimum = exclusiveMinimum;
|
|
11149
11684
|
json.exclusiveMinimum = true;
|
|
11150
11685
|
} else {
|
|
11151
11686
|
json.exclusiveMinimum = exclusiveMinimum;
|
|
11152
11687
|
}
|
|
11153
|
-
}
|
|
11154
|
-
if (typeof minimum === "number") {
|
|
11688
|
+
} else if (typeof minimum === "number") {
|
|
11155
11689
|
json.minimum = minimum;
|
|
11156
|
-
if (typeof exclusiveMinimum === "number" && ctx.target !== "draft-04") {
|
|
11157
|
-
if (exclusiveMinimum >= minimum)
|
|
11158
|
-
delete json.minimum;
|
|
11159
|
-
else
|
|
11160
|
-
delete json.exclusiveMinimum;
|
|
11161
|
-
}
|
|
11162
11690
|
}
|
|
11163
|
-
if (
|
|
11164
|
-
if (
|
|
11691
|
+
if (exMax) {
|
|
11692
|
+
if (legacy) {
|
|
11165
11693
|
json.maximum = exclusiveMaximum;
|
|
11166
11694
|
json.exclusiveMaximum = true;
|
|
11167
11695
|
} else {
|
|
11168
11696
|
json.exclusiveMaximum = exclusiveMaximum;
|
|
11169
11697
|
}
|
|
11170
|
-
}
|
|
11171
|
-
if (typeof maximum === "number") {
|
|
11698
|
+
} else if (typeof maximum === "number") {
|
|
11172
11699
|
json.maximum = maximum;
|
|
11173
|
-
if (typeof exclusiveMaximum === "number" && ctx.target !== "draft-04") {
|
|
11174
|
-
if (exclusiveMaximum <= maximum)
|
|
11175
|
-
delete json.maximum;
|
|
11176
|
-
else
|
|
11177
|
-
delete json.exclusiveMaximum;
|
|
11178
|
-
}
|
|
11179
11700
|
}
|
|
11180
11701
|
if (typeof multipleOf === "number")
|
|
11181
11702
|
json.multipleOf = multipleOf;
|
|
@@ -11343,7 +11864,10 @@ var arrayProcessor = (schema, ctx, _json, params) => {
|
|
|
11343
11864
|
if (typeof maximum === "number")
|
|
11344
11865
|
json.maxItems = maximum;
|
|
11345
11866
|
json.type = "array";
|
|
11346
|
-
json.items = process2(def.element, ctx, {
|
|
11867
|
+
json.items = process2(def.element, ctx, {
|
|
11868
|
+
...params,
|
|
11869
|
+
path: [...params.path, "items"]
|
|
11870
|
+
});
|
|
11347
11871
|
};
|
|
11348
11872
|
var objectProcessor = (schema, ctx, _json, params) => {
|
|
11349
11873
|
const json = _json;
|
|
@@ -11536,7 +12060,8 @@ var catchProcessor = (schema, ctx, json, params) => {
|
|
|
11536
12060
|
};
|
|
11537
12061
|
var pipeProcessor = (schema, ctx, _json, params) => {
|
|
11538
12062
|
const def = schema._zod.def;
|
|
11539
|
-
const
|
|
12063
|
+
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
12064
|
+
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
11540
12065
|
process2(innerType, ctx, params);
|
|
11541
12066
|
const seen = ctx.seen.get(schema);
|
|
11542
12067
|
seen.ref = innerType;
|
|
@@ -11641,7 +12166,7 @@ function toJSONSchema(input, params) {
|
|
|
11641
12166
|
extractDefs(ctx, input);
|
|
11642
12167
|
return finalize(ctx, input);
|
|
11643
12168
|
}
|
|
11644
|
-
//
|
|
12169
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
11645
12170
|
class JSONSchemaGenerator {
|
|
11646
12171
|
get metadataRegistry() {
|
|
11647
12172
|
return this.ctx.metadataRegistry;
|
|
@@ -11700,9 +12225,9 @@ class JSONSchemaGenerator {
|
|
|
11700
12225
|
return plainResult;
|
|
11701
12226
|
}
|
|
11702
12227
|
}
|
|
11703
|
-
//
|
|
12228
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
11704
12229
|
var exports_json_schema = {};
|
|
11705
|
-
//
|
|
12230
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
11706
12231
|
var exports_schemas2 = {};
|
|
11707
12232
|
__export(exports_schemas2, {
|
|
11708
12233
|
xor: () => xor,
|
|
@@ -11762,6 +12287,7 @@ __export(exports_schemas2, {
|
|
|
11762
12287
|
json: () => json,
|
|
11763
12288
|
ipv6: () => ipv62,
|
|
11764
12289
|
ipv4: () => ipv42,
|
|
12290
|
+
invertCodec: () => invertCodec,
|
|
11765
12291
|
intersection: () => intersection,
|
|
11766
12292
|
int64: () => int64,
|
|
11767
12293
|
int32: () => int32,
|
|
@@ -11822,6 +12348,7 @@ __export(exports_schemas2, {
|
|
|
11822
12348
|
ZodRecord: () => ZodRecord,
|
|
11823
12349
|
ZodReadonly: () => ZodReadonly,
|
|
11824
12350
|
ZodPromise: () => ZodPromise,
|
|
12351
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
11825
12352
|
ZodPrefault: () => ZodPrefault,
|
|
11826
12353
|
ZodPipe: () => ZodPipe,
|
|
11827
12354
|
ZodOptional: () => ZodOptional,
|
|
@@ -11871,7 +12398,7 @@ __export(exports_schemas2, {
|
|
|
11871
12398
|
ZodAny: () => ZodAny
|
|
11872
12399
|
});
|
|
11873
12400
|
|
|
11874
|
-
//
|
|
12401
|
+
// node_modules/zod/v4/classic/checks.js
|
|
11875
12402
|
var exports_checks2 = {};
|
|
11876
12403
|
__export(exports_checks2, {
|
|
11877
12404
|
uppercase: () => _uppercase,
|
|
@@ -11905,7 +12432,7 @@ __export(exports_checks2, {
|
|
|
11905
12432
|
endsWith: () => _endsWith
|
|
11906
12433
|
});
|
|
11907
12434
|
|
|
11908
|
-
//
|
|
12435
|
+
// node_modules/zod/v4/classic/iso.js
|
|
11909
12436
|
var exports_iso = {};
|
|
11910
12437
|
__export(exports_iso, {
|
|
11911
12438
|
time: () => time2,
|
|
@@ -11946,7 +12473,7 @@ function duration2(params) {
|
|
|
11946
12473
|
return _isoDuration(ZodISODuration, params);
|
|
11947
12474
|
}
|
|
11948
12475
|
|
|
11949
|
-
//
|
|
12476
|
+
// node_modules/zod/v4/classic/errors.js
|
|
11950
12477
|
var initializer2 = (inst, issues) => {
|
|
11951
12478
|
$ZodError.init(inst, issues);
|
|
11952
12479
|
inst.name = "ZodError";
|
|
@@ -11976,12 +12503,12 @@ var initializer2 = (inst, issues) => {
|
|
|
11976
12503
|
}
|
|
11977
12504
|
});
|
|
11978
12505
|
};
|
|
11979
|
-
var ZodError = $constructor("ZodError", initializer2);
|
|
11980
|
-
var ZodRealError = $constructor("ZodError", initializer2, {
|
|
12506
|
+
var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
|
|
12507
|
+
var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
11981
12508
|
Parent: Error
|
|
11982
12509
|
});
|
|
11983
12510
|
|
|
11984
|
-
//
|
|
12511
|
+
// node_modules/zod/v4/classic/parse.js
|
|
11985
12512
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
11986
12513
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
11987
12514
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -11995,7 +12522,44 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
11995
12522
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
11996
12523
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
11997
12524
|
|
|
11998
|
-
//
|
|
12525
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
12526
|
+
var _installedGroups = /* @__PURE__ */ new WeakMap;
|
|
12527
|
+
function _installLazyMethods(inst, group, methods) {
|
|
12528
|
+
const proto = Object.getPrototypeOf(inst);
|
|
12529
|
+
let installed = _installedGroups.get(proto);
|
|
12530
|
+
if (!installed) {
|
|
12531
|
+
installed = new Set;
|
|
12532
|
+
_installedGroups.set(proto, installed);
|
|
12533
|
+
}
|
|
12534
|
+
if (installed.has(group))
|
|
12535
|
+
return;
|
|
12536
|
+
installed.add(group);
|
|
12537
|
+
for (const key in methods) {
|
|
12538
|
+
const fn = methods[key];
|
|
12539
|
+
Object.defineProperty(proto, key, {
|
|
12540
|
+
configurable: true,
|
|
12541
|
+
enumerable: false,
|
|
12542
|
+
get() {
|
|
12543
|
+
const bound = fn.bind(this);
|
|
12544
|
+
Object.defineProperty(this, key, {
|
|
12545
|
+
configurable: true,
|
|
12546
|
+
writable: true,
|
|
12547
|
+
enumerable: true,
|
|
12548
|
+
value: bound
|
|
12549
|
+
});
|
|
12550
|
+
return bound;
|
|
12551
|
+
},
|
|
12552
|
+
set(v) {
|
|
12553
|
+
Object.defineProperty(this, key, {
|
|
12554
|
+
configurable: true,
|
|
12555
|
+
writable: true,
|
|
12556
|
+
enumerable: true,
|
|
12557
|
+
value: v
|
|
12558
|
+
});
|
|
12559
|
+
}
|
|
12560
|
+
});
|
|
12561
|
+
}
|
|
12562
|
+
}
|
|
11999
12563
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
12000
12564
|
$ZodType.init(inst, def);
|
|
12001
12565
|
Object.assign(inst["~standard"], {
|
|
@@ -12008,23 +12572,6 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12008
12572
|
inst.def = def;
|
|
12009
12573
|
inst.type = def.type;
|
|
12010
12574
|
Object.defineProperty(inst, "_def", { value: def });
|
|
12011
|
-
inst.check = (...checks2) => {
|
|
12012
|
-
return inst.clone(exports_util.mergeDefs(def, {
|
|
12013
|
-
checks: [
|
|
12014
|
-
...def.checks ?? [],
|
|
12015
|
-
...checks2.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12016
|
-
]
|
|
12017
|
-
}), {
|
|
12018
|
-
parent: true
|
|
12019
|
-
});
|
|
12020
|
-
};
|
|
12021
|
-
inst.with = inst.check;
|
|
12022
|
-
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
12023
|
-
inst.brand = () => inst;
|
|
12024
|
-
inst.register = (reg, meta2) => {
|
|
12025
|
-
reg.add(inst, meta2);
|
|
12026
|
-
return inst;
|
|
12027
|
-
};
|
|
12028
12575
|
inst.parse = (data, params) => parse3(inst, data, params, { callee: inst.parse });
|
|
12029
12576
|
inst.safeParse = (data, params) => safeParse2(inst, data, params);
|
|
12030
12577
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -12038,45 +12585,108 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12038
12585
|
inst.safeDecode = (data, params) => safeDecode2(inst, data, params);
|
|
12039
12586
|
inst.safeEncodeAsync = async (data, params) => safeEncodeAsync2(inst, data, params);
|
|
12040
12587
|
inst.safeDecodeAsync = async (data, params) => safeDecodeAsync2(inst, data, params);
|
|
12041
|
-
inst
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12588
|
+
_installLazyMethods(inst, "ZodType", {
|
|
12589
|
+
check(...chks) {
|
|
12590
|
+
const def2 = this.def;
|
|
12591
|
+
return this.clone(exports_util.mergeDefs(def2, {
|
|
12592
|
+
checks: [
|
|
12593
|
+
...def2.checks ?? [],
|
|
12594
|
+
...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12595
|
+
]
|
|
12596
|
+
}), { parent: true });
|
|
12597
|
+
},
|
|
12598
|
+
with(...chks) {
|
|
12599
|
+
return this.check(...chks);
|
|
12600
|
+
},
|
|
12601
|
+
clone(def2, params) {
|
|
12602
|
+
return clone(this, def2, params);
|
|
12603
|
+
},
|
|
12604
|
+
brand() {
|
|
12605
|
+
return this;
|
|
12606
|
+
},
|
|
12607
|
+
register(reg, meta2) {
|
|
12608
|
+
reg.add(this, meta2);
|
|
12609
|
+
return this;
|
|
12610
|
+
},
|
|
12611
|
+
refine(check, params) {
|
|
12612
|
+
return this.check(refine(check, params));
|
|
12613
|
+
},
|
|
12614
|
+
superRefine(refinement, params) {
|
|
12615
|
+
return this.check(superRefine(refinement, params));
|
|
12616
|
+
},
|
|
12617
|
+
overwrite(fn) {
|
|
12618
|
+
return this.check(_overwrite(fn));
|
|
12619
|
+
},
|
|
12620
|
+
optional() {
|
|
12621
|
+
return optional(this);
|
|
12622
|
+
},
|
|
12623
|
+
exactOptional() {
|
|
12624
|
+
return exactOptional(this);
|
|
12625
|
+
},
|
|
12626
|
+
nullable() {
|
|
12627
|
+
return nullable(this);
|
|
12628
|
+
},
|
|
12629
|
+
nullish() {
|
|
12630
|
+
return optional(nullable(this));
|
|
12631
|
+
},
|
|
12632
|
+
nonoptional(params) {
|
|
12633
|
+
return nonoptional(this, params);
|
|
12634
|
+
},
|
|
12635
|
+
array() {
|
|
12636
|
+
return array(this);
|
|
12637
|
+
},
|
|
12638
|
+
or(arg) {
|
|
12639
|
+
return union([this, arg]);
|
|
12640
|
+
},
|
|
12641
|
+
and(arg) {
|
|
12642
|
+
return intersection(this, arg);
|
|
12643
|
+
},
|
|
12644
|
+
transform(tx) {
|
|
12645
|
+
return pipe(this, transform(tx));
|
|
12646
|
+
},
|
|
12647
|
+
default(d) {
|
|
12648
|
+
return _default2(this, d);
|
|
12649
|
+
},
|
|
12650
|
+
prefault(d) {
|
|
12651
|
+
return prefault(this, d);
|
|
12652
|
+
},
|
|
12653
|
+
catch(params) {
|
|
12654
|
+
return _catch2(this, params);
|
|
12655
|
+
},
|
|
12656
|
+
pipe(target) {
|
|
12657
|
+
return pipe(this, target);
|
|
12658
|
+
},
|
|
12659
|
+
readonly() {
|
|
12660
|
+
return readonly(this);
|
|
12661
|
+
},
|
|
12662
|
+
describe(description) {
|
|
12663
|
+
const cl = this.clone();
|
|
12664
|
+
globalRegistry.add(cl, { description });
|
|
12665
|
+
return cl;
|
|
12666
|
+
},
|
|
12667
|
+
meta(...args) {
|
|
12668
|
+
if (args.length === 0)
|
|
12669
|
+
return globalRegistry.get(this);
|
|
12670
|
+
const cl = this.clone();
|
|
12671
|
+
globalRegistry.add(cl, args[0]);
|
|
12672
|
+
return cl;
|
|
12673
|
+
},
|
|
12674
|
+
isOptional() {
|
|
12675
|
+
return this.safeParse(undefined).success;
|
|
12676
|
+
},
|
|
12677
|
+
isNullable() {
|
|
12678
|
+
return this.safeParse(null).success;
|
|
12679
|
+
},
|
|
12680
|
+
apply(fn) {
|
|
12681
|
+
return fn(this);
|
|
12682
|
+
}
|
|
12683
|
+
});
|
|
12063
12684
|
Object.defineProperty(inst, "description", {
|
|
12064
12685
|
get() {
|
|
12065
12686
|
return globalRegistry.get(inst)?.description;
|
|
12066
12687
|
},
|
|
12067
12688
|
configurable: true
|
|
12068
12689
|
});
|
|
12069
|
-
inst.meta = (...args) => {
|
|
12070
|
-
if (args.length === 0) {
|
|
12071
|
-
return globalRegistry.get(inst);
|
|
12072
|
-
}
|
|
12073
|
-
const cl = inst.clone();
|
|
12074
|
-
globalRegistry.add(cl, args[0]);
|
|
12075
|
-
return cl;
|
|
12076
|
-
};
|
|
12077
|
-
inst.isOptional = () => inst.safeParse(undefined).success;
|
|
12078
|
-
inst.isNullable = () => inst.safeParse(null).success;
|
|
12079
|
-
inst.apply = (fn) => fn(inst);
|
|
12080
12690
|
return inst;
|
|
12081
12691
|
});
|
|
12082
12692
|
var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
@@ -12087,21 +12697,53 @@ var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
|
12087
12697
|
inst.format = bag.format ?? null;
|
|
12088
12698
|
inst.minLength = bag.minimum ?? null;
|
|
12089
12699
|
inst.maxLength = bag.maximum ?? null;
|
|
12090
|
-
inst
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12700
|
+
_installLazyMethods(inst, "_ZodString", {
|
|
12701
|
+
regex(...args) {
|
|
12702
|
+
return this.check(_regex(...args));
|
|
12703
|
+
},
|
|
12704
|
+
includes(...args) {
|
|
12705
|
+
return this.check(_includes(...args));
|
|
12706
|
+
},
|
|
12707
|
+
startsWith(...args) {
|
|
12708
|
+
return this.check(_startsWith(...args));
|
|
12709
|
+
},
|
|
12710
|
+
endsWith(...args) {
|
|
12711
|
+
return this.check(_endsWith(...args));
|
|
12712
|
+
},
|
|
12713
|
+
min(...args) {
|
|
12714
|
+
return this.check(_minLength(...args));
|
|
12715
|
+
},
|
|
12716
|
+
max(...args) {
|
|
12717
|
+
return this.check(_maxLength(...args));
|
|
12718
|
+
},
|
|
12719
|
+
length(...args) {
|
|
12720
|
+
return this.check(_length(...args));
|
|
12721
|
+
},
|
|
12722
|
+
nonempty(...args) {
|
|
12723
|
+
return this.check(_minLength(1, ...args));
|
|
12724
|
+
},
|
|
12725
|
+
lowercase(params) {
|
|
12726
|
+
return this.check(_lowercase(params));
|
|
12727
|
+
},
|
|
12728
|
+
uppercase(params) {
|
|
12729
|
+
return this.check(_uppercase(params));
|
|
12730
|
+
},
|
|
12731
|
+
trim() {
|
|
12732
|
+
return this.check(_trim());
|
|
12733
|
+
},
|
|
12734
|
+
normalize(...args) {
|
|
12735
|
+
return this.check(_normalize(...args));
|
|
12736
|
+
},
|
|
12737
|
+
toLowerCase() {
|
|
12738
|
+
return this.check(_toLowerCase());
|
|
12739
|
+
},
|
|
12740
|
+
toUpperCase() {
|
|
12741
|
+
return this.check(_toUpperCase());
|
|
12742
|
+
},
|
|
12743
|
+
slugify() {
|
|
12744
|
+
return this.check(_slugify());
|
|
12745
|
+
}
|
|
12746
|
+
});
|
|
12105
12747
|
});
|
|
12106
12748
|
var ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
12107
12749
|
$ZodString.init(inst, def);
|
|
@@ -12180,7 +12822,7 @@ function url(params) {
|
|
|
12180
12822
|
}
|
|
12181
12823
|
function httpUrl(params) {
|
|
12182
12824
|
return _url(ZodURL, {
|
|
12183
|
-
protocol:
|
|
12825
|
+
protocol: exports_regexes.httpProtocol,
|
|
12184
12826
|
hostname: exports_regexes.domain,
|
|
12185
12827
|
...exports_util.normalizeParams(params)
|
|
12186
12828
|
});
|
|
@@ -12322,21 +12964,53 @@ var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
|
|
|
12322
12964
|
$ZodNumber.init(inst, def);
|
|
12323
12965
|
ZodType.init(inst, def);
|
|
12324
12966
|
inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
|
|
12325
|
-
inst
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12967
|
+
_installLazyMethods(inst, "ZodNumber", {
|
|
12968
|
+
gt(value, params) {
|
|
12969
|
+
return this.check(_gt(value, params));
|
|
12970
|
+
},
|
|
12971
|
+
gte(value, params) {
|
|
12972
|
+
return this.check(_gte(value, params));
|
|
12973
|
+
},
|
|
12974
|
+
min(value, params) {
|
|
12975
|
+
return this.check(_gte(value, params));
|
|
12976
|
+
},
|
|
12977
|
+
lt(value, params) {
|
|
12978
|
+
return this.check(_lt(value, params));
|
|
12979
|
+
},
|
|
12980
|
+
lte(value, params) {
|
|
12981
|
+
return this.check(_lte(value, params));
|
|
12982
|
+
},
|
|
12983
|
+
max(value, params) {
|
|
12984
|
+
return this.check(_lte(value, params));
|
|
12985
|
+
},
|
|
12986
|
+
int(params) {
|
|
12987
|
+
return this.check(int(params));
|
|
12988
|
+
},
|
|
12989
|
+
safe(params) {
|
|
12990
|
+
return this.check(int(params));
|
|
12991
|
+
},
|
|
12992
|
+
positive(params) {
|
|
12993
|
+
return this.check(_gt(0, params));
|
|
12994
|
+
},
|
|
12995
|
+
nonnegative(params) {
|
|
12996
|
+
return this.check(_gte(0, params));
|
|
12997
|
+
},
|
|
12998
|
+
negative(params) {
|
|
12999
|
+
return this.check(_lt(0, params));
|
|
13000
|
+
},
|
|
13001
|
+
nonpositive(params) {
|
|
13002
|
+
return this.check(_lte(0, params));
|
|
13003
|
+
},
|
|
13004
|
+
multipleOf(value, params) {
|
|
13005
|
+
return this.check(_multipleOf(value, params));
|
|
13006
|
+
},
|
|
13007
|
+
step(value, params) {
|
|
13008
|
+
return this.check(_multipleOf(value, params));
|
|
13009
|
+
},
|
|
13010
|
+
finite() {
|
|
13011
|
+
return this;
|
|
13012
|
+
}
|
|
13013
|
+
});
|
|
12340
13014
|
const bag = inst._zod.bag;
|
|
12341
13015
|
inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
|
|
12342
13016
|
inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
|
|
@@ -12483,11 +13157,23 @@ var ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
|
|
|
12483
13157
|
ZodType.init(inst, def);
|
|
12484
13158
|
inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
|
|
12485
13159
|
inst.element = def.element;
|
|
12486
|
-
inst
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
|
|
13160
|
+
_installLazyMethods(inst, "ZodArray", {
|
|
13161
|
+
min(n, params) {
|
|
13162
|
+
return this.check(_minLength(n, params));
|
|
13163
|
+
},
|
|
13164
|
+
nonempty(params) {
|
|
13165
|
+
return this.check(_minLength(1, params));
|
|
13166
|
+
},
|
|
13167
|
+
max(n, params) {
|
|
13168
|
+
return this.check(_maxLength(n, params));
|
|
13169
|
+
},
|
|
13170
|
+
length(n, params) {
|
|
13171
|
+
return this.check(_length(n, params));
|
|
13172
|
+
},
|
|
13173
|
+
unwrap() {
|
|
13174
|
+
return this.element;
|
|
13175
|
+
}
|
|
13176
|
+
});
|
|
12491
13177
|
});
|
|
12492
13178
|
function array(element, params) {
|
|
12493
13179
|
return _array(ZodArray, element, params);
|
|
@@ -12503,23 +13189,47 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
|
12503
13189
|
exports_util.defineLazy(inst, "shape", () => {
|
|
12504
13190
|
return def.shape;
|
|
12505
13191
|
});
|
|
12506
|
-
inst
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
13192
|
+
_installLazyMethods(inst, "ZodObject", {
|
|
13193
|
+
keyof() {
|
|
13194
|
+
return _enum2(Object.keys(this._zod.def.shape));
|
|
13195
|
+
},
|
|
13196
|
+
catchall(catchall) {
|
|
13197
|
+
return this.clone({ ...this._zod.def, catchall });
|
|
13198
|
+
},
|
|
13199
|
+
passthrough() {
|
|
13200
|
+
return this.clone({ ...this._zod.def, catchall: unknown() });
|
|
13201
|
+
},
|
|
13202
|
+
loose() {
|
|
13203
|
+
return this.clone({ ...this._zod.def, catchall: unknown() });
|
|
13204
|
+
},
|
|
13205
|
+
strict() {
|
|
13206
|
+
return this.clone({ ...this._zod.def, catchall: never() });
|
|
13207
|
+
},
|
|
13208
|
+
strip() {
|
|
13209
|
+
return this.clone({ ...this._zod.def, catchall: undefined });
|
|
13210
|
+
},
|
|
13211
|
+
extend(incoming) {
|
|
13212
|
+
return exports_util.extend(this, incoming);
|
|
13213
|
+
},
|
|
13214
|
+
safeExtend(incoming) {
|
|
13215
|
+
return exports_util.safeExtend(this, incoming);
|
|
13216
|
+
},
|
|
13217
|
+
merge(other) {
|
|
13218
|
+
return exports_util.merge(this, other);
|
|
13219
|
+
},
|
|
13220
|
+
pick(mask) {
|
|
13221
|
+
return exports_util.pick(this, mask);
|
|
13222
|
+
},
|
|
13223
|
+
omit(mask) {
|
|
13224
|
+
return exports_util.omit(this, mask);
|
|
13225
|
+
},
|
|
13226
|
+
partial(...args) {
|
|
13227
|
+
return exports_util.partial(ZodOptional, this, args[0]);
|
|
13228
|
+
},
|
|
13229
|
+
required(...args) {
|
|
13230
|
+
return exports_util.required(ZodNonOptional, this, args[0]);
|
|
13231
|
+
}
|
|
13232
|
+
});
|
|
12523
13233
|
});
|
|
12524
13234
|
function object(shape, params) {
|
|
12525
13235
|
const def = {
|
|
@@ -12624,6 +13334,14 @@ var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
|
|
|
12624
13334
|
inst.valueType = def.valueType;
|
|
12625
13335
|
});
|
|
12626
13336
|
function record(keyType, valueType, params) {
|
|
13337
|
+
if (!valueType || !valueType._zod) {
|
|
13338
|
+
return new ZodRecord({
|
|
13339
|
+
type: "record",
|
|
13340
|
+
keyType: string2(),
|
|
13341
|
+
valueType: keyType,
|
|
13342
|
+
...exports_util.normalizeParams(valueType)
|
|
13343
|
+
});
|
|
13344
|
+
}
|
|
12627
13345
|
return new ZodRecord({
|
|
12628
13346
|
type: "record",
|
|
12629
13347
|
keyType,
|
|
@@ -12795,10 +13513,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
|
|
|
12795
13513
|
if (output instanceof Promise) {
|
|
12796
13514
|
return output.then((output2) => {
|
|
12797
13515
|
payload.value = output2;
|
|
13516
|
+
payload.fallback = true;
|
|
12798
13517
|
return payload;
|
|
12799
13518
|
});
|
|
12800
13519
|
}
|
|
12801
13520
|
payload.value = output;
|
|
13521
|
+
payload.fallback = true;
|
|
12802
13522
|
return payload;
|
|
12803
13523
|
};
|
|
12804
13524
|
});
|
|
@@ -12952,6 +13672,20 @@ function codec(in_, out, params) {
|
|
|
12952
13672
|
reverseTransform: params.encode
|
|
12953
13673
|
});
|
|
12954
13674
|
}
|
|
13675
|
+
function invertCodec(codec2) {
|
|
13676
|
+
const def = codec2._zod.def;
|
|
13677
|
+
return new ZodCodec({
|
|
13678
|
+
type: "pipe",
|
|
13679
|
+
in: def.out,
|
|
13680
|
+
out: def.in,
|
|
13681
|
+
transform: def.reverseTransform,
|
|
13682
|
+
reverseTransform: def.transform
|
|
13683
|
+
});
|
|
13684
|
+
}
|
|
13685
|
+
var ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
|
|
13686
|
+
ZodPipe.init(inst, def);
|
|
13687
|
+
$ZodPreprocess.init(inst, def);
|
|
13688
|
+
});
|
|
12955
13689
|
var ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
|
|
12956
13690
|
$ZodReadonly.init(inst, def);
|
|
12957
13691
|
ZodType.init(inst, def);
|
|
@@ -13030,8 +13764,8 @@ function custom(fn, _params) {
|
|
|
13030
13764
|
function refine(fn, _params = {}) {
|
|
13031
13765
|
return _refine(ZodCustom, fn, _params);
|
|
13032
13766
|
}
|
|
13033
|
-
function superRefine(fn) {
|
|
13034
|
-
return _superRefine(fn);
|
|
13767
|
+
function superRefine(fn, params) {
|
|
13768
|
+
return _superRefine(fn, params);
|
|
13035
13769
|
}
|
|
13036
13770
|
var describe2 = describe;
|
|
13037
13771
|
var meta2 = meta;
|
|
@@ -13069,9 +13803,13 @@ function json(params) {
|
|
|
13069
13803
|
return jsonSchema;
|
|
13070
13804
|
}
|
|
13071
13805
|
function preprocess(fn, schema) {
|
|
13072
|
-
return
|
|
13806
|
+
return new ZodPreprocess({
|
|
13807
|
+
type: "pipe",
|
|
13808
|
+
in: transform(fn),
|
|
13809
|
+
out: schema
|
|
13810
|
+
});
|
|
13073
13811
|
}
|
|
13074
|
-
//
|
|
13812
|
+
// node_modules/zod/v4/classic/compat.js
|
|
13075
13813
|
var ZodIssueCode = {
|
|
13076
13814
|
invalid_type: "invalid_type",
|
|
13077
13815
|
too_big: "too_big",
|
|
@@ -13095,13 +13833,13 @@ function getErrorMap() {
|
|
|
13095
13833
|
}
|
|
13096
13834
|
var ZodFirstPartyTypeKind;
|
|
13097
13835
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13098
|
-
//
|
|
13836
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
13099
13837
|
var z = {
|
|
13100
13838
|
...exports_schemas2,
|
|
13101
13839
|
...exports_checks2,
|
|
13102
13840
|
iso: exports_iso
|
|
13103
13841
|
};
|
|
13104
|
-
var RECOGNIZED_KEYS = new Set([
|
|
13842
|
+
var RECOGNIZED_KEYS = /* @__PURE__ */ new Set([
|
|
13105
13843
|
"$schema",
|
|
13106
13844
|
"$ref",
|
|
13107
13845
|
"$defs",
|
|
@@ -13475,12 +14213,6 @@ function convertBaseSchema(schema, ctx) {
|
|
|
13475
14213
|
default:
|
|
13476
14214
|
throw new Error(`Unsupported type: ${type}`);
|
|
13477
14215
|
}
|
|
13478
|
-
if (schema.description) {
|
|
13479
|
-
zodSchema = zodSchema.describe(schema.description);
|
|
13480
|
-
}
|
|
13481
|
-
if (schema.default !== undefined) {
|
|
13482
|
-
zodSchema = zodSchema.default(schema.default);
|
|
13483
|
-
}
|
|
13484
14216
|
return zodSchema;
|
|
13485
14217
|
}
|
|
13486
14218
|
function convertSchema(schema, ctx) {
|
|
@@ -13517,6 +14249,9 @@ function convertSchema(schema, ctx) {
|
|
|
13517
14249
|
if (schema.readOnly === true) {
|
|
13518
14250
|
baseSchema = z.readonly(baseSchema);
|
|
13519
14251
|
}
|
|
14252
|
+
if (schema.default !== undefined) {
|
|
14253
|
+
baseSchema = baseSchema.default(schema.default);
|
|
14254
|
+
}
|
|
13520
14255
|
const extraMeta = {};
|
|
13521
14256
|
const coreMetadataKeys = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
|
|
13522
14257
|
for (const key of coreMetadataKeys) {
|
|
@@ -13538,25 +14273,34 @@ function convertSchema(schema, ctx) {
|
|
|
13538
14273
|
if (Object.keys(extraMeta).length > 0) {
|
|
13539
14274
|
ctx.registry.add(baseSchema, extraMeta);
|
|
13540
14275
|
}
|
|
14276
|
+
if (schema.description) {
|
|
14277
|
+
baseSchema = baseSchema.describe(schema.description);
|
|
14278
|
+
}
|
|
13541
14279
|
return baseSchema;
|
|
13542
14280
|
}
|
|
13543
14281
|
function fromJSONSchema(schema, params) {
|
|
13544
14282
|
if (typeof schema === "boolean") {
|
|
13545
14283
|
return schema ? z.any() : z.never();
|
|
13546
14284
|
}
|
|
13547
|
-
|
|
13548
|
-
|
|
14285
|
+
let normalized;
|
|
14286
|
+
try {
|
|
14287
|
+
normalized = JSON.parse(JSON.stringify(schema));
|
|
14288
|
+
} catch {
|
|
14289
|
+
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
|
|
14290
|
+
}
|
|
14291
|
+
const version2 = detectVersion(normalized, params?.defaultTarget);
|
|
14292
|
+
const defs = normalized.$defs || normalized.definitions || {};
|
|
13549
14293
|
const ctx = {
|
|
13550
14294
|
version: version2,
|
|
13551
14295
|
defs,
|
|
13552
14296
|
refs: new Map,
|
|
13553
14297
|
processing: new Set,
|
|
13554
|
-
rootSchema:
|
|
14298
|
+
rootSchema: normalized,
|
|
13555
14299
|
registry: params?.registry ?? globalRegistry
|
|
13556
14300
|
};
|
|
13557
|
-
return convertSchema(
|
|
14301
|
+
return convertSchema(normalized, ctx);
|
|
13558
14302
|
}
|
|
13559
|
-
//
|
|
14303
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
13560
14304
|
var exports_coerce = {};
|
|
13561
14305
|
__export(exports_coerce, {
|
|
13562
14306
|
string: () => string3,
|
|
@@ -13581,7 +14325,7 @@ function date4(params) {
|
|
|
13581
14325
|
return _coercedDate(ZodDate, params);
|
|
13582
14326
|
}
|
|
13583
14327
|
|
|
13584
|
-
//
|
|
14328
|
+
// node_modules/zod/v4/classic/external.js
|
|
13585
14329
|
config(en_default());
|
|
13586
14330
|
// src/cron.ts
|
|
13587
14331
|
var FIELD_RANGES = [
|