@openclaw/discord 2026.7.2-beta.2 → 2026.7.2-beta.4
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/{account-inspect-dFV0JrnR.js → account-inspect-Dztmn4J4.js} +1 -1
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-CMd4nzLB.js → accounts-D2LKPukU.js} +3 -10
- package/dist/action-runtime-api.js +1 -1
- package/dist/{activities-api-D0D_87n3.js → activities-api-8TMGXUH4.js} +63 -69
- package/dist/activities-api.js +1 -1
- package/dist/{allow-list-B7qOH5xu.js → allow-list-DzKrtfah.js} +18 -7
- package/dist/{api-B88T4rFN.js → api-C43z8vUm.js} +3 -1
- package/dist/api.js +27 -18
- package/dist/{approval-handler.runtime-B7E1-x5q.js → approval-handler.runtime-ClZpan85.js} +7 -12
- package/dist/{conversation-identity-BPcbhCAH.js → approval-message-safety-LyND6GR3.js} +49 -3
- package/dist/{audit-CjpnY1yb.js → audit-CFfounXC.js} +4 -4
- package/dist/{channel-actions-BQct-o4T.js → channel-actions-C8n1zWZ-.js} +4 -4
- package/dist/{channel-actions.runtime-CC4QwYVO.js → channel-actions.runtime-CgJy35O0.js} +8 -8
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-BDfKr14H.js → channel-yq-so4jJ.js} +24 -21
- package/dist/{channel.setup-BS4gd8sc.js → channel.setup-Tn_O2B7F.js} +78 -31
- package/dist/{chunk-CHpY_lsO.js → chunk-BrZocpfs.js} +41 -110
- package/dist/{config-schema-CoDck1GW.js → config-schema-D-YrV-5E.js} +328 -57
- package/dist/{directory-config-G1QwBIdi.js → directory-config-DF85-bUY.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-nfvekMil.js → directory-live-CrMtTrb0.js} +4 -4
- package/dist/{doctor-Bq4pJAQk.js → doctor-CORGPgoY.js} +4 -4
- package/dist/{doctor-contract-wId6pV41.js → doctor-contract-BPUD3Di9.js} +46 -65
- package/dist/doctor-contract-api.js +1 -1
- package/dist/{handle-action.guild-admin-LYY75_Oa.js → handle-action.guild-admin-DikBWer5.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/legacy-state-migrations-api.js +1 -1
- package/dist/{manager.runtime-w6VVYQMl.js → manager.runtime-DVvlH8NR.js} +102 -149
- package/dist/message-handler-1ui-YxsF.js +564 -0
- package/dist/{message-handler.preflight-DnAH04Ss.js → message-handler.preflight-CAEQvP3t.js} +76 -47
- package/dist/{message-handler.process-ClgKz8I5.js → message-handler.process-REBztvIW.js} +617 -570
- package/dist/{message-utils-BU3gc01v.js → message-utils-ajbkdTVA.js} +60 -52
- package/dist/{outbound-adapter-ByoXsR-V.js → outbound-adapter-XZWo4_HD.js} +36 -5
- package/dist/{outbound-components-7wAolLuS.js → outbound-components-CTFDDcq5.js} +3 -3
- package/dist/{outbound-session-route-D4QqePZN.js → outbound-session-route-D_nc_Ayk.js} +36 -6
- package/dist/{pluralkit-r4wiI2yy.js → pluralkit-CCovPs9s.js} +5 -2
- package/dist/{preflight-audio-DDSZna4F.js → preflight-audio-BjnQZ5yS.js} +9 -6
- package/dist/{probe-WKeTYyJX.js → probe-Bci2pS8M.js} +2 -2
- package/dist/{probe.runtime-CRY-qUke.js → probe.runtime-C88gnnXj.js} +1 -1
- package/dist/{provider-PRlF_lZm.js → provider-CfiChtjf.js} +950 -878
- package/dist/{provider-session.runtime-BZPUZRjn.js → provider-session.runtime-D9GTBKPg.js} +3 -3
- package/dist/provider.runtime-DSzKjpKs.js +2 -0
- package/dist/{resolve-allowlist-common-QN7VMZaC.js → resolve-allowlist-common-C1hTvZa4.js} +3 -3
- package/dist/{resolve-channels-BO9NUPlS.js → resolve-channels-CmFAdMeQ.js} +4 -4
- package/dist/{resolve-users-CU3oG5-m.js → resolve-users-Cmu75lZy.js} +3 -3
- package/dist/{runtime-BsefAQ9q.js → runtime-D-6AugWA.js} +11 -10
- package/dist/{runtime-CCf5nkV3.js → runtime-TwM8IrZU.js} +2 -3
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +24 -24
- package/dist/runtime-api.lookup.js +5 -5
- package/dist/runtime-api.monitor-DPa2ZoSK.js +5 -0
- package/dist/runtime-api.monitor.js +7 -8
- package/dist/runtime-api.send.js +6 -5
- package/dist/runtime-api.threads.js +6 -6
- package/dist/{secret-config-contract-BDNrRWvd.js → secret-config-contract-B1akrlyY.js} +1 -0
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-audit-contract-api.js +1 -1
- package/dist/{security-audit-aLbWmUjl.js → security-audit-njzOejQp.js} +2 -10
- package/dist/{security-audit.runtime-K0nkzjzJ.js → security-audit.runtime-DZbDdAnw.js} +1 -1
- package/dist/{send-JJzVo_sK.js → send-CfnXLUXq.js} +27 -88
- package/dist/{send.components-CCRW54gK.js → send.components-V7cyCKbH.js} +8 -6
- package/dist/{send.outbound-Cvulb-k_.js → send.outbound-BbC2qjpH.js} +303 -8
- package/dist/send.reactions-bLrJCZ4G.js +85 -0
- package/dist/send.receipt-CuwRrpFz.js +48 -0
- package/dist/{send.shared-XuOTO1dW.js → send.shared-Dfacnk-E.js} +7 -33
- package/dist/{sender-identity-C62lBe18.js → sender-identity-mG_zsdox.js} +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-Bngr0I-v.js → shared-DMA7f3a8.js} +31 -9
- package/dist/subagent-hooks-api.js +10 -1
- package/dist/{subagent-hooks-mSxRv4AE.js → subagent-hooks-kFyJQ-MK.js} +3 -3
- package/dist/subagent-progress-mjPRFz-a.js +664 -0
- package/dist/{system-events-BANBRAe3.js → system-events-BSlhBq3u.js} +2 -2
- package/dist/{target-resolver-BaEmTxeK.js → target-resolver-Bo1oWLPO.js} +3 -3
- package/dist/targets-CB8ahjZk.js +3 -0
- package/dist/{thread-bindings-4MV-u8vU.js → thread-bindings-DAHJuT22.js} +7 -8
- package/dist/{thread-bindings.discord-api-DXfXsHGZ.js → thread-bindings.discord-api-C_tCQcv3.js} +10 -6
- package/dist/{thread-bindings.manager-DJ4cO5Eu.js → thread-bindings.manager-DlZEGvC1.js} +5 -5
- package/dist/{thread-bindings.session-updates-DnTpkroM.js → thread-bindings.session-updates-DAIlp7Px.js} +1 -1
- package/dist/{thread-bindings.state-C5afR9TD.js → thread-bindings.state-Cgi5uRn-.js} +9 -48
- package/dist/{timeouts-D5lWili0.js → timeouts-B9cy6RvQ.js} +1 -6
- package/dist/{transcripts-source-TDZcMriu.js → transcripts-source-CyJ-sc3n.js} +1 -1
- package/dist/transcripts-source-api.js +1 -1
- package/dist/{typing-CKd2NMWG.js → typing-Ci9nhuSi.js} +2 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/LICENSE +21 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/README.md +208 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.cjs +33 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.js +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/package.json +118 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/index.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/types.ts +5136 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.js +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.js +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.cjs +111 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.cjs +3775 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.js +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.js +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.js +30 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.js +1 -0
- package/node_modules/@types/debug/LICENSE +21 -0
- package/node_modules/@types/debug/README.md +69 -0
- package/node_modules/@types/debug/index.d.ts +50 -0
- package/node_modules/@types/debug/package.json +58 -0
- package/node_modules/@types/mdast/LICENSE +21 -0
- package/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/@types/mdast/index.d.ts +1123 -0
- package/node_modules/@types/mdast/package.json +47 -0
- package/node_modules/@types/ms/LICENSE +21 -0
- package/node_modules/@types/ms/README.md +82 -0
- package/node_modules/@types/ms/index.d.ts +63 -0
- package/node_modules/@types/ms/package.json +26 -0
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +16 -6
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/@types/unist/README.md +15 -0
- package/node_modules/@types/unist/index.d.ts +119 -0
- package/node_modules/@types/unist/package.json +60 -0
- package/node_modules/character-entities/index.d.ts +6 -0
- package/node_modules/character-entities/index.js +2132 -0
- package/node_modules/character-entities/license +22 -0
- package/node_modules/character-entities/package.json +78 -0
- package/node_modules/character-entities/readme.md +152 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/decode-named-character-reference/index.d.ts +13 -0
- package/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.js +32 -0
- package/node_modules/decode-named-character-reference/index.js +19 -0
- package/node_modules/decode-named-character-reference/license +22 -0
- package/node_modules/decode-named-character-reference/package.json +90 -0
- package/node_modules/decode-named-character-reference/readme.md +136 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/dequal/readme.md +112 -0
- package/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/devlop/license +22 -0
- package/node_modules/devlop/package.json +80 -0
- package/node_modules/devlop/readme.md +360 -0
- package/node_modules/discord-api-types/CHANGELOG.md +9 -0
- package/node_modules/discord-api-types/package.json +4 -4
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +4 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts +5 -1
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/channel.js +4 -0
- package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.d.ts +9 -2
- package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +4 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts +5 -1
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/channel.js +4 -0
- package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.d.ts +9 -2
- package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -1
- package/node_modules/discord-api-types/rest/v10/channel.d.ts +39 -8
- package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -1
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts +3 -3
- package/node_modules/discord-api-types/rest/v9/channel.d.ts +39 -8
- package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -1
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts +3 -3
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +23 -0
- package/node_modules/mdast-util-from-markdown/dev/index.js +2 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +53 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +1348 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +295 -0
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +2 -0
- package/node_modules/mdast-util-from-markdown/index.d.ts +23 -0
- package/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +53 -0
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-from-markdown/lib/index.js +1177 -0
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +295 -0
- package/node_modules/mdast-util-from-markdown/lib/types.js +2 -0
- package/node_modules/mdast-util-from-markdown/license +22 -0
- package/node_modules/mdast-util-from-markdown/package.json +99 -0
- package/node_modules/mdast-util-from-markdown/readme.md +535 -0
- package/node_modules/mdast-util-to-string/index.d.ts +2 -0
- package/node_modules/mdast-util-to-string/index.js +5 -0
- package/node_modules/mdast-util-to-string/lib/index.d.ts +31 -0
- package/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/node_modules/mdast-util-to-string/license +22 -0
- package/node_modules/mdast-util-to-string/package.json +78 -0
- package/node_modules/mdast-util-to-string/readme.md +218 -0
- package/node_modules/micromark/dev/index.d.ts +82 -0
- package/node_modules/micromark/dev/index.d.ts.map +1 -0
- package/node_modules/micromark/dev/index.js +68 -0
- package/node_modules/micromark/dev/lib/compile.d.ts +16 -0
- package/node_modules/micromark/dev/lib/compile.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/compile.js +1152 -0
- package/node_modules/micromark/dev/lib/constructs.d.ts +73 -0
- package/node_modules/micromark/dev/lib/constructs.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/constructs.js +101 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +46 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/create-tokenizer.js +717 -0
- package/node_modules/micromark/dev/lib/initialize/content.d.ts +4 -0
- package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/content.js +99 -0
- package/node_modules/micromark/dev/lib/initialize/document.d.ts +10 -0
- package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/document.js +445 -0
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts +4 -0
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/flow.js +86 -0
- package/node_modules/micromark/dev/lib/initialize/text.d.ts +8 -0
- package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/initialize/text.js +244 -0
- package/node_modules/micromark/dev/lib/parse.d.ts +10 -0
- package/node_modules/micromark/dev/lib/parse.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/parse.js +58 -0
- package/node_modules/micromark/dev/lib/postprocess.d.ts +9 -0
- package/node_modules/micromark/dev/lib/postprocess.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/postprocess.js +19 -0
- package/node_modules/micromark/dev/lib/preprocess.d.ts +13 -0
- package/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -0
- package/node_modules/micromark/dev/lib/preprocess.js +141 -0
- package/node_modules/micromark/dev/stream.d.ts +35 -0
- package/node_modules/micromark/dev/stream.d.ts.map +1 -0
- package/node_modules/micromark/dev/stream.js +270 -0
- package/node_modules/micromark/index.d.ts +82 -0
- package/node_modules/micromark/index.d.ts.map +1 -0
- package/node_modules/micromark/index.js +60 -0
- package/node_modules/micromark/lib/compile.d.ts +16 -0
- package/node_modules/micromark/lib/compile.d.ts.map +1 -0
- package/node_modules/micromark/lib/compile.js +1060 -0
- package/node_modules/micromark/lib/constructs.d.ts +73 -0
- package/node_modules/micromark/lib/constructs.d.ts.map +1 -0
- package/node_modules/micromark/lib/constructs.js +85 -0
- package/node_modules/micromark/lib/create-tokenizer.d.ts +46 -0
- package/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -0
- package/node_modules/micromark/lib/create-tokenizer.js +611 -0
- package/node_modules/micromark/lib/initialize/content.d.ts +4 -0
- package/node_modules/micromark/lib/initialize/content.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/content.js +79 -0
- package/node_modules/micromark/lib/initialize/document.d.ts +10 -0
- package/node_modules/micromark/lib/initialize/document.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/document.js +362 -0
- package/node_modules/micromark/lib/initialize/flow.d.ts +4 -0
- package/node_modules/micromark/lib/initialize/flow.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/node_modules/micromark/lib/initialize/text.d.ts +8 -0
- package/node_modules/micromark/lib/initialize/text.d.ts.map +1 -0
- package/node_modules/micromark/lib/initialize/text.js +212 -0
- package/node_modules/micromark/lib/parse.d.ts +10 -0
- package/node_modules/micromark/lib/parse.d.ts.map +1 -0
- package/node_modules/micromark/lib/parse.js +56 -0
- package/node_modules/micromark/lib/postprocess.d.ts +9 -0
- package/node_modules/micromark/lib/postprocess.d.ts.map +1 -0
- package/node_modules/micromark/lib/postprocess.js +18 -0
- package/node_modules/micromark/lib/preprocess.d.ts +13 -0
- package/node_modules/micromark/lib/preprocess.d.ts.map +1 -0
- package/node_modules/micromark/lib/preprocess.js +115 -0
- package/node_modules/micromark/license +22 -0
- package/node_modules/micromark/package.json +100 -0
- package/node_modules/micromark/readme.md +488 -0
- package/node_modules/micromark/stream.d.ts +35 -0
- package/node_modules/micromark/stream.d.ts.map +1 -0
- package/node_modules/micromark/stream.js +256 -0
- package/node_modules/micromark-core-commonmark/dev/index.d.ts +23 -0
- package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/index.js +22 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/attention.js +300 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +269 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +62 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +162 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +69 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +166 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +514 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +202 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +257 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +7 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/content.js +185 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/definition.js +295 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +65 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +233 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +989 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +783 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +656 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +110 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +62 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +34 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/list.js +306 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +210 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +120 -0
- package/node_modules/micromark-core-commonmark/index.d.ts +23 -0
- package/node_modules/micromark-core-commonmark/index.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/index.js +22 -0
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/attention.js +241 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-fenced.js +460 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-indented.js +177 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/node_modules/micromark-core-commonmark/lib/content.d.ts +7 -0
- package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/heading-atx.js +195 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/html-flow.js +876 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-end.js +560 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-image.js +102 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/label-start-link.js +55 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/node_modules/micromark-core-commonmark/lib/list.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/setext-underline.js +185 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +4 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +1 -0
- package/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/node_modules/micromark-core-commonmark/license +22 -0
- package/node_modules/micromark-core-commonmark/package.json +74 -0
- package/node_modules/micromark-core-commonmark/readme.md +171 -0
- package/node_modules/micromark-factory-destination/dev/index.d.ts +42 -0
- package/node_modules/micromark-factory-destination/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-destination/dev/index.js +255 -0
- package/node_modules/micromark-factory-destination/index.d.ts +42 -0
- package/node_modules/micromark-factory-destination/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-destination/index.js +206 -0
- package/node_modules/micromark-factory-destination/license +22 -0
- package/node_modules/micromark-factory-destination/package.json +57 -0
- package/node_modules/micromark-factory-destination/readme.md +234 -0
- package/node_modules/micromark-factory-label/dev/index.d.ts +37 -0
- package/node_modules/micromark-factory-label/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-label/dev/index.js +172 -0
- package/node_modules/micromark-factory-label/index.d.ts +37 -0
- package/node_modules/micromark-factory-label/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-label/index.js +148 -0
- package/node_modules/micromark-factory-label/license +22 -0
- package/node_modules/micromark-factory-label/package.json +60 -0
- package/node_modules/micromark-factory-label/readme.md +224 -0
- package/node_modules/micromark-factory-space/dev/index.d.ts +37 -0
- package/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-space/dev/index.js +67 -0
- package/node_modules/micromark-factory-space/index.d.ts +37 -0
- package/node_modules/micromark-factory-space/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-space/index.js +64 -0
- package/node_modules/micromark-factory-space/license +22 -0
- package/node_modules/micromark-factory-space/package.json +55 -0
- package/node_modules/micromark-factory-space/readme.md +225 -0
- package/node_modules/micromark-factory-title/dev/index.d.ts +36 -0
- package/node_modules/micromark-factory-title/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-title/dev/index.js +169 -0
- package/node_modules/micromark-factory-title/index.d.ts +36 -0
- package/node_modules/micromark-factory-title/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-title/index.js +158 -0
- package/node_modules/micromark-factory-title/license +22 -0
- package/node_modules/micromark-factory-title/package.json +58 -0
- package/node_modules/micromark-factory-title/readme.md +229 -0
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts +22 -0
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-whitespace/dev/index.js +53 -0
- package/node_modules/micromark-factory-whitespace/index.d.ts +22 -0
- package/node_modules/micromark-factory-whitespace/index.d.ts.map +1 -0
- package/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/node_modules/micromark-factory-whitespace/license +22 -0
- package/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/node_modules/micromark-factory-whitespace/readme.md +205 -0
- package/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-util-chunked/dev/index.d.ts +41 -0
- package/node_modules/micromark-util-chunked/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-chunked/dev/index.js +89 -0
- package/node_modules/micromark-util-chunked/index.d.ts +41 -0
- package/node_modules/micromark-util-chunked/index.d.ts.map +1 -0
- package/node_modules/micromark-util-chunked/index.js +81 -0
- package/node_modules/micromark-util-chunked/license +22 -0
- package/node_modules/micromark-util-chunked/package.json +57 -0
- package/node_modules/micromark-util-chunked/readme.md +219 -0
- package/node_modules/micromark-util-classify-character/dev/index.d.ts +18 -0
- package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-classify-character/dev/index.js +38 -0
- package/node_modules/micromark-util-classify-character/index.d.ts +18 -0
- package/node_modules/micromark-util-classify-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-classify-character/index.js +27 -0
- package/node_modules/micromark-util-classify-character/license +22 -0
- package/node_modules/micromark-util-classify-character/package.json +59 -0
- package/node_modules/micromark-util-classify-character/readme.md +205 -0
- package/node_modules/micromark-util-combine-extensions/index.d.ts +22 -0
- package/node_modules/micromark-util-combine-extensions/index.d.ts.map +1 -0
- package/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/node_modules/micromark-util-combine-extensions/license +22 -0
- package/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/node_modules/micromark-util-combine-extensions/readme.md +201 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +16 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +42 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +16 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/license +22 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +184 -0
- package/node_modules/micromark-util-decode-string/dev/index.d.ts +14 -0
- package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-string/dev/index.js +53 -0
- package/node_modules/micromark-util-decode-string/index.d.ts +14 -0
- package/node_modules/micromark-util-decode-string/index.d.ts.map +1 -0
- package/node_modules/micromark-util-decode-string/index.js +45 -0
- package/node_modules/micromark-util-decode-string/license +22 -0
- package/node_modules/micromark-util-decode-string/package.json +63 -0
- package/node_modules/micromark-util-decode-string/readme.md +179 -0
- package/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/node_modules/micromark-util-encode/index.js +33 -0
- package/node_modules/micromark-util-encode/license +22 -0
- package/node_modules/micromark-util-encode/package.json +47 -0
- package/node_modules/micromark-util-encode/readme.md +176 -0
- package/node_modules/micromark-util-html-tag-name/index.d.ts +30 -0
- package/node_modules/micromark-util-html-tag-name/index.d.ts.map +1 -0
- package/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/node_modules/micromark-util-html-tag-name/license +22 -0
- package/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/node_modules/micromark-util-html-tag-name/readme.md +193 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +21 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-normalize-identifier/dev/index.js +38 -0
- package/node_modules/micromark-util-normalize-identifier/index.d.ts +21 -0
- package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +1 -0
- package/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/node_modules/micromark-util-normalize-identifier/license +22 -0
- package/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/node_modules/micromark-util-normalize-identifier/readme.md +187 -0
- package/node_modules/micromark-util-resolve-all/index.d.ts +22 -0
- package/node_modules/micromark-util-resolve-all/index.d.ts.map +1 -0
- package/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/node_modules/micromark-util-resolve-all/license +22 -0
- package/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/node_modules/micromark-util-resolve-all/readme.md +238 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts +12 -0
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/dev/index.js +284 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +161 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +288 -0
- package/node_modules/micromark-util-subtokenize/index.d.ts +12 -0
- package/node_modules/micromark-util-subtokenize/index.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +161 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +1 -0
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/node_modules/micromark-util-subtokenize/license +22 -0
- package/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/node_modules/micromark-util-subtokenize/readme.md +181 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-util-types/index.d.ts +1312 -0
- package/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/typebox/build/compile/validator.d.mts +1 -4
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +5 -2
- package/node_modules/typebox/build/guard/string.mjs +16 -4
- package/node_modules/typebox/build/schema/engine/_functions.mjs +34 -15
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +5 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +8 -0
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +29 -32
- package/node_modules/undici/README.md +3 -2
- package/node_modules/undici/docs/docs/api/Agent.md +248 -44
- package/node_modules/undici/docs/docs/api/BalancedPool.md +246 -48
- package/node_modules/undici/docs/docs/api/CacheStorage.md +171 -13
- package/node_modules/undici/docs/docs/api/CacheStore.md +294 -98
- package/node_modules/undici/docs/docs/api/Client.md +365 -179
- package/node_modules/undici/docs/docs/api/ClientStats.md +80 -14
- package/node_modules/undici/docs/docs/api/Connector.md +118 -36
- package/node_modules/undici/docs/docs/api/ContentType.md +65 -25
- package/node_modules/undici/docs/docs/api/Cookies.md +122 -71
- package/node_modules/undici/docs/docs/api/Debug.md +34 -18
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +364 -164
- package/node_modules/undici/docs/docs/api/Dispatcher.md +479 -1102
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +101 -87
- package/node_modules/undici/docs/docs/api/Errors.md +503 -40
- package/node_modules/undici/docs/docs/api/EventSource.md +294 -32
- package/node_modules/undici/docs/docs/api/Fetch.md +680 -31
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +78 -98
- package/node_modules/undici/docs/docs/api/H2CClient.md +298 -176
- package/node_modules/undici/docs/docs/api/Interceptors.md +355 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +314 -322
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +272 -98
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +189 -26
- package/node_modules/undici/docs/docs/api/MockClient.md +151 -33
- package/node_modules/undici/docs/docs/api/MockErrors.md +56 -5
- package/node_modules/undici/docs/docs/api/MockPool.md +299 -263
- package/node_modules/undici/docs/docs/api/Pool.md +235 -43
- package/node_modules/undici/docs/docs/api/PoolStats.md +119 -13
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +172 -160
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +238 -63
- package/node_modules/undici/docs/docs/api/RetryAgent.md +113 -26
- package/node_modules/undici/docs/docs/api/RetryHandler.md +161 -77
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +166 -72
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +264 -542
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +162 -187
- package/node_modules/undici/docs/docs/api/Util.md +68 -11
- package/node_modules/undici/docs/docs/api/WebSocket.md +475 -80
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +100 -32
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +2 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +3 -1
- package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +6 -4
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +8 -6
- package/node_modules/undici/docs/docs/best-practices/proxy.md +3 -1
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +10 -8
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +2 -0
- package/node_modules/undici/docs/docs/{GettingStarted.md → getting-started.md} +22 -19
- package/node_modules/undici/docs/docs/index.md +779 -0
- package/node_modules/undici/docs/docs/site.json +125 -0
- package/node_modules/undici/docs/docs/type-map.json +79 -0
- package/node_modules/undici/lib/api/api-request.js +7 -1
- package/node_modules/undici/lib/api/readable.js +43 -2
- package/node_modules/undici/lib/core/errors.js +20 -0
- package/node_modules/undici/lib/core/request.js +1 -1
- package/node_modules/undici/lib/core/util.js +3 -1
- package/node_modules/undici/lib/dispatcher/client-h1.js +23 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +40 -6
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +9 -1
- package/node_modules/undici/lib/handler/redirect-handler.js +1 -0
- package/node_modules/undici/lib/handler/retry-handler.js +57 -19
- package/node_modules/undici/lib/web/fetch/constants.js +1 -1
- package/node_modules/undici/lib/web/fetch/index.js +11 -2
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/client.d.ts +1 -1
- package/node_modules/undici/types/cookies.d.ts +1 -1
- package/node_modules/undici/types/errors.d.ts +10 -0
- package/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/node_modules/unist-util-stringify-position/index.js +1 -0
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/node_modules/unist-util-stringify-position/license +22 -0
- package/node_modules/unist-util-stringify-position/package.json +80 -0
- package/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/node_modules/uuid/README.md +99 -99
- package/node_modules/uuid/package.json +10 -6
- package/node_modules/ws/lib/receiver.js +15 -32
- package/node_modules/ws/lib/websocket-server.js +4 -4
- package/node_modules/ws/lib/websocket.js +4 -4
- package/node_modules/ws/package.json +5 -1
- package/node_modules/zod/README.md +5 -22
- package/node_modules/zod/index.cjs +2 -2
- package/node_modules/zod/index.d.cts +2 -2
- package/node_modules/zod/index.d.ts +2 -2
- package/node_modules/zod/index.js +2 -2
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +29 -12
- package/node_modules/zod/src/index.ts +2 -2
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +1 -1
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +3 -3
- package/node_modules/zod/src/v3/tests/complex.test.ts +17 -3
- package/node_modules/zod/src/v3/tests/function.test.ts +7 -3
- package/node_modules/zod/src/v3/tests/nan.test.ts +5 -2
- package/node_modules/zod/src/v3/tests/object.test.ts +7 -7
- package/node_modules/zod/src/v3/tests/partials.test.ts +3 -3
- package/node_modules/zod/src/v3/tests/string.test.ts +2 -2
- package/node_modules/zod/src/v3/types.ts +3 -1
- package/node_modules/zod/src/v4/classic/checks.ts +2 -0
- package/node_modules/zod/src/v4/classic/compat.ts +4 -0
- package/node_modules/zod/src/v4/classic/errors.ts +11 -4
- package/node_modules/zod/src/v4/classic/external.ts +4 -2
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/parse.ts +51 -2
- package/node_modules/zod/src/v4/classic/schemas.ts +846 -228
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +6 -6
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +6 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +43 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +79 -5
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +24 -2
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +37 -6
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +7 -1
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +76 -1
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +284 -4
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +9 -4
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +4 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +129 -37
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +113 -3
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +32 -5
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +4 -3
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +25 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +15 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +78 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +162 -8
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +214 -4
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +303 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +89 -5
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +25 -5
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +74 -21
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +1 -1
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +1 -1
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +385 -10
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +275 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +169 -68
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +40 -1
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +5 -3
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +77 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +16 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +349 -6
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +26 -13
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +938 -127
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +338 -5
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +182 -3
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/core/api.ts +365 -136
- package/node_modules/zod/src/v4/core/checks.ts +15 -5
- package/node_modules/zod/src/v4/core/core.ts +60 -41
- package/node_modules/zod/src/v4/core/doc.ts +2 -2
- package/node_modules/zod/src/v4/core/errors.ts +116 -85
- package/node_modules/zod/src/v4/core/index.ts +2 -1
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +7 -3
- package/node_modules/zod/src/v4/core/parse.ts +104 -3
- package/node_modules/zod/src/v4/core/regexes.ts +72 -17
- package/node_modules/zod/src/v4/core/registries.ts +17 -8
- package/node_modules/zod/src/v4/core/schemas.ts +1225 -337
- package/node_modules/zod/src/v4/core/standard-schema.ts +114 -19
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +1 -1
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +2 -2
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +480 -835
- package/node_modules/zod/src/v4/core/util.ts +337 -129
- package/node_modules/zod/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/locales/ar.ts +17 -27
- package/node_modules/zod/src/v4/locales/az.ts +17 -27
- package/node_modules/zod/src/v4/locales/be.ts +19 -27
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +17 -28
- package/node_modules/zod/src/v4/locales/cs.ts +21 -45
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +19 -27
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +23 -27
- package/node_modules/zod/src/v4/locales/eo.ts +20 -27
- package/node_modules/zod/src/v4/locales/es.ts +49 -33
- package/node_modules/zod/src/v4/locales/fa.ts +19 -27
- package/node_modules/zod/src/v4/locales/fi.ts +17 -27
- package/node_modules/zod/src/v4/locales/fr-CA.ts +17 -27
- package/node_modules/zod/src/v4/locales/fr.ts +42 -34
- package/node_modules/zod/src/v4/locales/he.ts +201 -80
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +19 -28
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +17 -27
- package/node_modules/zod/src/v4/locales/index.ts +13 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +19 -28
- package/node_modules/zod/src/v4/locales/ja.ts +19 -27
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +3 -122
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +17 -27
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +19 -28
- package/node_modules/zod/src/v4/locales/ms.ts +18 -27
- package/node_modules/zod/src/v4/locales/nl.ts +32 -37
- package/node_modules/zod/src/v4/locales/no.ts +19 -27
- package/node_modules/zod/src/v4/locales/ota.ts +20 -28
- package/node_modules/zod/src/v4/locales/pl.ts +19 -27
- package/node_modules/zod/src/v4/locales/ps.ts +19 -26
- package/node_modules/zod/src/v4/locales/pt.ts +19 -26
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +19 -27
- package/node_modules/zod/src/v4/locales/sl.ts +19 -27
- package/node_modules/zod/src/v4/locales/sv.ts +19 -27
- package/node_modules/zod/src/v4/locales/ta.ts +20 -27
- package/node_modules/zod/src/v4/locales/th.ts +20 -27
- package/node_modules/zod/src/v4/locales/tr.ts +17 -27
- package/node_modules/zod/src/v4/locales/ua.ts +3 -122
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +20 -27
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +19 -27
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +20 -27
- package/node_modules/zod/src/v4/locales/zh-TW.ts +17 -27
- package/node_modules/zod/src/v4/mini/coerce.ts +5 -0
- package/node_modules/zod/src/v4/mini/external.ts +3 -2
- package/node_modules/zod/src/v4/mini/iso.ts +8 -4
- package/node_modules/zod/src/v4/mini/parse.ts +14 -1
- package/node_modules/zod/src/v4/mini/schemas.ts +440 -72
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -38
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +126 -4
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +51 -9
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +52 -2
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +54 -1
- package/node_modules/zod/src/v4-mini/index.ts +3 -1
- package/node_modules/zod/v3/ZodError.cjs +1 -1
- package/node_modules/zod/v3/ZodError.d.cts +6 -6
- package/node_modules/zod/v3/ZodError.d.ts +6 -6
- package/node_modules/zod/v3/ZodError.js +1 -1
- package/node_modules/zod/v3/locales/en.cjs +1 -0
- package/node_modules/zod/v3/locales/en.d.cts +1 -1
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/types.cjs +2 -0
- package/node_modules/zod/v3/types.d.cts +4 -1
- package/node_modules/zod/v3/types.d.ts +4 -1
- package/node_modules/zod/v3/types.js +2 -0
- package/node_modules/zod/v4/classic/checks.cjs +2 -1
- package/node_modules/zod/v4/classic/checks.d.cts +1 -1
- package/node_modules/zod/v4/classic/checks.d.ts +1 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/compat.cjs +5 -1
- package/node_modules/zod/v4/classic/compat.d.cts +4 -0
- package/node_modules/zod/v4/classic/compat.d.ts +4 -0
- package/node_modules/zod/v4/classic/compat.js +4 -0
- package/node_modules/zod/v4/classic/errors.cjs +9 -2
- package/node_modules/zod/v4/classic/errors.js +11 -4
- package/node_modules/zod/v4/classic/external.cjs +6 -3
- package/node_modules/zod/v4/classic/external.d.cts +4 -1
- package/node_modules/zod/v4/classic/external.d.ts +4 -1
- package/node_modules/zod/v4/classic/external.js +3 -1
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +10 -1
- package/node_modules/zod/v4/classic/parse.d.cts +8 -0
- package/node_modules/zod/v4/classic/parse.d.ts +8 -0
- package/node_modules/zod/v4/classic/parse.js +9 -0
- package/node_modules/zod/v4/classic/schemas.cjs +558 -156
- package/node_modules/zod/v4/classic/schemas.d.cts +179 -42
- package/node_modules/zod/v4/classic/schemas.d.ts +179 -42
- package/node_modules/zod/v4/classic/schemas.js +544 -155
- package/node_modules/zod/v4/core/api.cjs +219 -31
- package/node_modules/zod/v4/core/api.d.cts +120 -79
- package/node_modules/zod/v4/core/api.d.ts +120 -79
- package/node_modules/zod/v4/core/api.js +212 -31
- package/node_modules/zod/v4/core/checks.cjs +12 -2
- package/node_modules/zod/v4/core/checks.d.cts +3 -3
- package/node_modules/zod/v4/core/checks.d.ts +3 -3
- package/node_modules/zod/v4/core/checks.js +12 -2
- package/node_modules/zod/v4/core/core.cjs +31 -13
- package/node_modules/zod/v4/core/core.d.cts +24 -3
- package/node_modules/zod/v4/core/core.d.ts +24 -3
- package/node_modules/zod/v4/core/core.js +30 -13
- package/node_modules/zod/v4/core/doc.d.cts +1 -1
- package/node_modules/zod/v4/core/doc.d.ts +1 -1
- package/node_modules/zod/v4/core/errors.cjs +32 -42
- package/node_modules/zod/v4/core/errors.d.cts +37 -24
- package/node_modules/zod/v4/core/errors.d.ts +37 -24
- package/node_modules/zod/v4/core/errors.js +32 -42
- package/node_modules/zod/v4/core/index.cjs +5 -2
- package/node_modules/zod/v4/core/index.d.cts +2 -1
- package/node_modules/zod/v4/core/index.d.ts +2 -1
- package/node_modules/zod/v4/core/index.js +2 -1
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +4 -3
- package/node_modules/zod/v4/core/json-schema.d.ts +4 -3
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +48 -4
- package/node_modules/zod/v4/core/parse.d.cts +24 -0
- package/node_modules/zod/v4/core/parse.d.ts +24 -0
- package/node_modules/zod/v4/core/parse.js +39 -3
- package/node_modules/zod/v4/core/regexes.cjs +87 -18
- package/node_modules/zod/v4/core/regexes.d.cts +25 -2
- package/node_modules/zod/v4/core/regexes.d.ts +25 -2
- package/node_modules/zod/v4/core/regexes.js +60 -16
- package/node_modules/zod/v4/core/registries.cjs +7 -7
- package/node_modules/zod/v4/core/registries.d.cts +2 -2
- package/node_modules/zod/v4/core/registries.d.ts +2 -2
- package/node_modules/zod/v4/core/registries.js +7 -7
- package/node_modules/zod/v4/core/schemas.cjs +759 -237
- package/node_modules/zod/v4/core/schemas.d.cts +163 -20
- package/node_modules/zod/v4/core/schemas.d.ts +163 -20
- package/node_modules/zod/v4/core/schemas.js +758 -236
- package/node_modules/zod/v4/core/standard-schema.d.cts +90 -19
- package/node_modules/zod/v4/core/standard-schema.d.ts +90 -19
- package/node_modules/zod/v4/core/to-json-schema.cjs +408 -805
- package/node_modules/zod/v4/core/to-json-schema.d.cts +59 -33
- package/node_modules/zod/v4/core/to-json-schema.d.ts +59 -33
- package/node_modules/zod/v4/core/to-json-schema.js +402 -803
- package/node_modules/zod/v4/core/util.cjs +320 -125
- package/node_modules/zod/v4/core/util.d.cts +17 -0
- package/node_modules/zod/v4/core/util.d.ts +17 -0
- package/node_modules/zod/v4/core/util.js +308 -127
- package/node_modules/zod/v4/core/versions.cjs +2 -2
- package/node_modules/zod/v4/core/versions.d.cts +1 -1
- package/node_modules/zod/v4/core/versions.d.ts +1 -1
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/locales/ar.cjs +15 -24
- package/node_modules/zod/v4/locales/ar.d.cts +2 -1
- package/node_modules/zod/v4/locales/ar.js +14 -24
- package/node_modules/zod/v4/locales/az.cjs +15 -24
- package/node_modules/zod/v4/locales/az.d.cts +2 -1
- package/node_modules/zod/v4/locales/az.js +14 -24
- package/node_modules/zod/v4/locales/be.cjs +17 -24
- package/node_modules/zod/v4/locales/be.d.cts +2 -1
- package/node_modules/zod/v4/locales/be.js +16 -24
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +15 -25
- package/node_modules/zod/v4/locales/ca.d.cts +2 -1
- package/node_modules/zod/v4/locales/ca.js +14 -25
- package/node_modules/zod/v4/locales/cs.cjs +19 -42
- package/node_modules/zod/v4/locales/cs.d.cts +2 -1
- package/node_modules/zod/v4/locales/cs.js +18 -42
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +17 -24
- package/node_modules/zod/v4/locales/de.d.cts +2 -1
- package/node_modules/zod/v4/locales/de.js +16 -24
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +21 -26
- package/node_modules/zod/v4/locales/en.d.cts +2 -2
- package/node_modules/zod/v4/locales/en.d.ts +0 -1
- package/node_modules/zod/v4/locales/en.js +20 -24
- package/node_modules/zod/v4/locales/eo.cjs +18 -26
- package/node_modules/zod/v4/locales/eo.d.cts +2 -2
- package/node_modules/zod/v4/locales/eo.d.ts +0 -1
- package/node_modules/zod/v4/locales/eo.js +17 -24
- package/node_modules/zod/v4/locales/es.cjs +47 -31
- package/node_modules/zod/v4/locales/es.d.cts +2 -1
- package/node_modules/zod/v4/locales/es.js +46 -31
- package/node_modules/zod/v4/locales/fa.cjs +17 -24
- package/node_modules/zod/v4/locales/fa.d.cts +2 -1
- package/node_modules/zod/v4/locales/fa.js +16 -24
- package/node_modules/zod/v4/locales/fi.cjs +15 -24
- package/node_modules/zod/v4/locales/fi.d.cts +2 -1
- package/node_modules/zod/v4/locales/fi.js +14 -24
- package/node_modules/zod/v4/locales/fr-CA.cjs +15 -24
- package/node_modules/zod/v4/locales/fr-CA.d.cts +2 -1
- package/node_modules/zod/v4/locales/fr-CA.js +14 -24
- package/node_modules/zod/v4/locales/fr.cjs +40 -30
- package/node_modules/zod/v4/locales/fr.d.cts +2 -1
- package/node_modules/zod/v4/locales/fr.js +39 -30
- package/node_modules/zod/v4/locales/he.cjs +176 -78
- package/node_modules/zod/v4/locales/he.d.cts +2 -1
- package/node_modules/zod/v4/locales/he.js +175 -78
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +17 -25
- package/node_modules/zod/v4/locales/hu.d.cts +2 -1
- package/node_modules/zod/v4/locales/hu.js +16 -25
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +15 -24
- package/node_modules/zod/v4/locales/id.d.cts +2 -1
- package/node_modules/zod/v4/locales/id.js +14 -24
- package/node_modules/zod/v4/locales/index.cjs +28 -1
- package/node_modules/zod/v4/locales/index.d.cts +13 -0
- package/node_modules/zod/v4/locales/index.d.ts +13 -0
- package/node_modules/zod/v4/locales/index.js +13 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +17 -25
- package/node_modules/zod/v4/locales/it.d.cts +2 -1
- package/node_modules/zod/v4/locales/it.js +16 -25
- package/node_modules/zod/v4/locales/ja.cjs +17 -24
- package/node_modules/zod/v4/locales/ja.d.cts +2 -1
- package/node_modules/zod/v4/locales/ja.js +16 -24
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +6 -137
- package/node_modules/zod/v4/locales/kh.d.cts +2 -1
- package/node_modules/zod/v4/locales/kh.d.ts +1 -0
- package/node_modules/zod/v4/locales/kh.js +3 -115
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +15 -24
- package/node_modules/zod/v4/locales/ko.d.cts +2 -1
- package/node_modules/zod/v4/locales/ko.js +14 -24
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +17 -25
- package/node_modules/zod/v4/locales/mk.d.cts +2 -1
- package/node_modules/zod/v4/locales/mk.js +16 -25
- package/node_modules/zod/v4/locales/ms.cjs +16 -24
- package/node_modules/zod/v4/locales/ms.d.cts +2 -1
- package/node_modules/zod/v4/locales/ms.js +15 -24
- package/node_modules/zod/v4/locales/nl.cjs +26 -32
- package/node_modules/zod/v4/locales/nl.d.cts +2 -1
- package/node_modules/zod/v4/locales/nl.js +25 -32
- package/node_modules/zod/v4/locales/no.cjs +17 -24
- package/node_modules/zod/v4/locales/no.d.cts +2 -1
- package/node_modules/zod/v4/locales/no.js +16 -24
- package/node_modules/zod/v4/locales/ota.cjs +18 -25
- package/node_modules/zod/v4/locales/ota.d.cts +2 -1
- package/node_modules/zod/v4/locales/ota.js +17 -25
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +17 -24
- package/node_modules/zod/v4/locales/pl.d.cts +2 -1
- package/node_modules/zod/v4/locales/pl.js +16 -24
- package/node_modules/zod/v4/locales/ps.cjs +17 -24
- package/node_modules/zod/v4/locales/ps.d.cts +2 -1
- package/node_modules/zod/v4/locales/ps.js +16 -24
- package/node_modules/zod/v4/locales/pt.cjs +17 -24
- package/node_modules/zod/v4/locales/pt.d.cts +2 -1
- package/node_modules/zod/v4/locales/pt.js +16 -24
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +17 -24
- package/node_modules/zod/v4/locales/ru.d.cts +2 -1
- package/node_modules/zod/v4/locales/ru.js +16 -24
- package/node_modules/zod/v4/locales/sl.cjs +17 -24
- package/node_modules/zod/v4/locales/sl.d.cts +2 -1
- package/node_modules/zod/v4/locales/sl.js +16 -24
- package/node_modules/zod/v4/locales/sv.cjs +17 -24
- package/node_modules/zod/v4/locales/sv.d.cts +2 -1
- package/node_modules/zod/v4/locales/sv.js +16 -24
- package/node_modules/zod/v4/locales/ta.cjs +18 -24
- package/node_modules/zod/v4/locales/ta.d.cts +2 -1
- package/node_modules/zod/v4/locales/ta.js +17 -24
- package/node_modules/zod/v4/locales/th.cjs +18 -24
- package/node_modules/zod/v4/locales/th.d.cts +2 -1
- package/node_modules/zod/v4/locales/th.js +17 -24
- package/node_modules/zod/v4/locales/tr.cjs +15 -26
- package/node_modules/zod/v4/locales/tr.d.cts +2 -2
- package/node_modules/zod/v4/locales/tr.d.ts +0 -1
- package/node_modules/zod/v4/locales/tr.js +14 -24
- package/node_modules/zod/v4/locales/ua.cjs +6 -137
- package/node_modules/zod/v4/locales/ua.d.cts +2 -1
- package/node_modules/zod/v4/locales/ua.d.ts +1 -0
- package/node_modules/zod/v4/locales/ua.js +3 -115
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +18 -24
- package/node_modules/zod/v4/locales/ur.d.cts +2 -1
- package/node_modules/zod/v4/locales/ur.js +17 -24
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +17 -24
- package/node_modules/zod/v4/locales/vi.d.cts +2 -1
- package/node_modules/zod/v4/locales/vi.js +16 -24
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +18 -24
- package/node_modules/zod/v4/locales/zh-CN.d.cts +2 -1
- package/node_modules/zod/v4/locales/zh-CN.js +17 -24
- package/node_modules/zod/v4/locales/zh-TW.cjs +15 -24
- package/node_modules/zod/v4/locales/zh-TW.d.cts +2 -1
- package/node_modules/zod/v4/locales/zh-TW.js +14 -24
- package/node_modules/zod/v4/mini/coerce.cjs +5 -0
- package/node_modules/zod/v4/mini/coerce.js +5 -0
- package/node_modules/zod/v4/mini/external.cjs +4 -3
- package/node_modules/zod/v4/mini/external.d.cts +3 -1
- package/node_modules/zod/v4/mini/external.d.ts +3 -1
- package/node_modules/zod/v4/mini/external.js +2 -1
- package/node_modules/zod/v4/mini/iso.cjs +8 -4
- package/node_modules/zod/v4/mini/iso.js +8 -4
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +9 -1
- package/node_modules/zod/v4/mini/parse.d.cts +1 -1
- package/node_modules/zod/v4/mini/parse.d.ts +1 -1
- package/node_modules/zod/v4/mini/parse.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +301 -57
- package/node_modules/zod/v4/mini/schemas.d.cts +109 -20
- package/node_modules/zod/v4/mini/schemas.d.ts +109 -20
- package/node_modules/zod/v4/mini/schemas.js +260 -31
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +16 -1
- package/node_modules/zod/v4-mini/index.d.cts +3 -1
- package/node_modules/zod/v4-mini/index.d.ts +3 -1
- package/node_modules/zod/v4-mini/index.js +3 -1
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/npm-shrinkwrap.json +629 -28
- package/openclaw.plugin.json +529 -888
- package/package.json +44 -16
- package/dist/approval-message-safety-C-8BL6Kv.js +0 -47
- package/dist/config-api-B18fR8M5.js +0 -3
- package/dist/message-handler-DExaghWK.js +0 -331
- package/dist/provider.runtime-BX8GcCYx.js +0 -2
- package/dist/runtime-api.monitor-DCS_ETft.js +0 -6
- package/dist/targets-fjJt3PYG.js +0 -3
- /package/node_modules/{zod → @discord/embedded-app-sdk/node_modules/zod}/src/v4/core/function.ts +0 -0
- /package/node_modules/{zod → @discord/embedded-app-sdk/node_modules/zod}/v4/core/function.cjs +0 -0
- /package/node_modules/{zod → @discord/embedded-app-sdk/node_modules/zod}/v4/core/function.d.cts +0 -0
- /package/node_modules/{zod → @discord/embedded-app-sdk/node_modules/zod}/v4/core/function.d.ts +0 -0
- /package/node_modules/{zod → @discord/embedded-app-sdk/node_modules/zod}/v4/core/function.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as core from "../core/index.js";
|
|
2
|
-
import
|
|
2
|
+
import * as util from "../core/util.js";
|
|
3
3
|
import * as parse from "./parse.js";
|
|
4
4
|
|
|
5
5
|
type SomeType = core.SomeType;
|
|
@@ -9,7 +9,9 @@ export interface ZodMiniType<
|
|
|
9
9
|
out Input = unknown,
|
|
10
10
|
out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>,
|
|
11
11
|
> extends core.$ZodType<Output, Input, Internals> {
|
|
12
|
+
type: Internals["def"]["type"];
|
|
12
13
|
check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
14
|
+
with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
13
15
|
clone(def?: Internals["def"], params?: { parent: boolean }): this;
|
|
14
16
|
register<R extends core.$ZodRegistry>(
|
|
15
17
|
registry: R,
|
|
@@ -19,9 +21,9 @@ export interface ZodMiniType<
|
|
|
19
21
|
: [core.$replace<R["_meta"], this>]
|
|
20
22
|
: ["Incompatible schema"]
|
|
21
23
|
): this;
|
|
22
|
-
brand<T extends PropertyKey = PropertyKey>(
|
|
24
|
+
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(
|
|
23
25
|
value?: T
|
|
24
|
-
): PropertyKey extends T ? this : this
|
|
26
|
+
): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
|
|
25
27
|
|
|
26
28
|
def: Internals["def"];
|
|
27
29
|
|
|
@@ -32,6 +34,7 @@ export interface ZodMiniType<
|
|
|
32
34
|
data: unknown,
|
|
33
35
|
params?: core.ParseContext<core.$ZodIssue>
|
|
34
36
|
): Promise<util.SafeParseResult<core.output<this>>>;
|
|
37
|
+
apply<T>(fn: (schema: this) => T): T;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
interface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>
|
|
@@ -43,7 +46,9 @@ export const ZodMiniType: core.$constructor<ZodMiniType> = /*@__PURE__*/ core.$c
|
|
|
43
46
|
if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType.");
|
|
44
47
|
|
|
45
48
|
core.$ZodType.init(inst, def);
|
|
49
|
+
|
|
46
50
|
inst.def = def;
|
|
51
|
+
inst.type = def.type;
|
|
47
52
|
inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
|
|
48
53
|
inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
|
|
49
54
|
inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -55,19 +60,25 @@ export const ZodMiniType: core.$constructor<ZodMiniType> = /*@__PURE__*/ core.$c
|
|
|
55
60
|
checks: [
|
|
56
61
|
...(def.checks ?? []),
|
|
57
62
|
...checks.map((ch) =>
|
|
58
|
-
typeof ch === "function"
|
|
63
|
+
typeof ch === "function"
|
|
64
|
+
? {
|
|
65
|
+
_zod: { check: ch, def: { check: "custom" }, onattach: [] },
|
|
66
|
+
}
|
|
67
|
+
: ch
|
|
59
68
|
),
|
|
60
69
|
],
|
|
61
|
-
}
|
|
62
|
-
|
|
70
|
+
},
|
|
71
|
+
{ parent: true }
|
|
63
72
|
);
|
|
64
73
|
};
|
|
74
|
+
inst.with = inst.check;
|
|
65
75
|
inst.clone = (_def, params) => core.clone(inst, _def, params);
|
|
66
76
|
inst.brand = () => inst as any;
|
|
67
77
|
inst.register = ((reg: any, meta: any) => {
|
|
68
78
|
reg.add(inst, meta);
|
|
69
79
|
return inst;
|
|
70
80
|
}) as any;
|
|
81
|
+
inst.apply = (fn) => fn(inst);
|
|
71
82
|
}
|
|
72
83
|
);
|
|
73
84
|
|
|
@@ -89,6 +100,7 @@ export const ZodMiniString: core.$constructor<ZodMiniString> = /*@__PURE__*/ cor
|
|
|
89
100
|
}
|
|
90
101
|
);
|
|
91
102
|
|
|
103
|
+
// @__NO_SIDE_EFFECTS__
|
|
92
104
|
export function string(params?: string | core.$ZodStringParams): ZodMiniString<string> {
|
|
93
105
|
return core._string(ZodMiniString, params) as any;
|
|
94
106
|
}
|
|
@@ -117,6 +129,7 @@ export const ZodMiniEmail: core.$constructor<ZodMiniEmail> = /*@__PURE__*/ core.
|
|
|
117
129
|
}
|
|
118
130
|
);
|
|
119
131
|
|
|
132
|
+
// @__NO_SIDE_EFFECTS__
|
|
120
133
|
export function email(params?: string | core.$ZodEmailParams): ZodMiniEmail {
|
|
121
134
|
return core._email(ZodMiniEmail, params);
|
|
122
135
|
}
|
|
@@ -133,6 +146,7 @@ export const ZodMiniGUID: core.$constructor<ZodMiniGUID> = /*@__PURE__*/ core.$c
|
|
|
133
146
|
}
|
|
134
147
|
);
|
|
135
148
|
|
|
149
|
+
// @__NO_SIDE_EFFECTS__
|
|
136
150
|
export function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID {
|
|
137
151
|
return core._guid(ZodMiniGUID, params);
|
|
138
152
|
}
|
|
@@ -149,22 +163,26 @@ export const ZodMiniUUID: core.$constructor<ZodMiniUUID> = /*@__PURE__*/ core.$c
|
|
|
149
163
|
}
|
|
150
164
|
);
|
|
151
165
|
|
|
166
|
+
// @__NO_SIDE_EFFECTS__
|
|
152
167
|
export function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID {
|
|
153
168
|
return core._uuid(ZodMiniUUID, params);
|
|
154
169
|
}
|
|
155
170
|
|
|
171
|
+
// @__NO_SIDE_EFFECTS__
|
|
156
172
|
export function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID {
|
|
157
173
|
return core._uuidv4(ZodMiniUUID, params);
|
|
158
174
|
}
|
|
159
175
|
|
|
160
176
|
// ZodMiniUUIDv6
|
|
161
177
|
|
|
178
|
+
// @__NO_SIDE_EFFECTS__
|
|
162
179
|
export function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID {
|
|
163
180
|
return core._uuidv6(ZodMiniUUID, params);
|
|
164
181
|
}
|
|
165
182
|
|
|
166
183
|
// ZodMiniUUIDv7
|
|
167
184
|
|
|
185
|
+
// @__NO_SIDE_EFFECTS__
|
|
168
186
|
export function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID {
|
|
169
187
|
return core._uuidv7(ZodMiniUUID, params);
|
|
170
188
|
}
|
|
@@ -178,10 +196,20 @@ export const ZodMiniURL: core.$constructor<ZodMiniURL> = /*@__PURE__*/ core.$con
|
|
|
178
196
|
ZodMiniStringFormat.init(inst, def);
|
|
179
197
|
});
|
|
180
198
|
|
|
199
|
+
// @__NO_SIDE_EFFECTS__
|
|
181
200
|
export function url(params?: string | core.$ZodURLParams): ZodMiniURL {
|
|
182
201
|
return core._url(ZodMiniURL, params);
|
|
183
202
|
}
|
|
184
203
|
|
|
204
|
+
// @__NO_SIDE_EFFECTS__
|
|
205
|
+
export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodMiniURL {
|
|
206
|
+
return core._url(ZodMiniURL, {
|
|
207
|
+
protocol: core.regexes.httpProtocol,
|
|
208
|
+
hostname: core.regexes.domain,
|
|
209
|
+
...util.normalizeParams(params),
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
185
213
|
// ZodMiniEmoji
|
|
186
214
|
export interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {
|
|
187
215
|
// _zod: core.$ZodEmojiInternals;
|
|
@@ -194,6 +222,7 @@ export const ZodMiniEmoji: core.$constructor<ZodMiniEmoji> = /*@__PURE__*/ core.
|
|
|
194
222
|
}
|
|
195
223
|
);
|
|
196
224
|
|
|
225
|
+
// @__NO_SIDE_EFFECTS__
|
|
197
226
|
export function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji {
|
|
198
227
|
return core._emoji(ZodMiniEmoji, params);
|
|
199
228
|
}
|
|
@@ -210,14 +239,25 @@ export const ZodMiniNanoID: core.$constructor<ZodMiniNanoID> = /*@__PURE__*/ cor
|
|
|
210
239
|
}
|
|
211
240
|
);
|
|
212
241
|
|
|
242
|
+
// @__NO_SIDE_EFFECTS__
|
|
213
243
|
export function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID {
|
|
214
244
|
return core._nanoid(ZodMiniNanoID, params);
|
|
215
245
|
}
|
|
216
246
|
|
|
217
247
|
// ZodMiniCUID
|
|
248
|
+
/**
|
|
249
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
250
|
+
* (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
|
|
251
|
+
* See https://github.com/paralleldrive/cuid.
|
|
252
|
+
*/
|
|
218
253
|
export interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {
|
|
219
254
|
// _zod: core.$ZodCUIDInternals;
|
|
220
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
258
|
+
* (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
|
|
259
|
+
* See https://github.com/paralleldrive/cuid.
|
|
260
|
+
*/
|
|
221
261
|
export const ZodMiniCUID: core.$constructor<ZodMiniCUID> = /*@__PURE__*/ core.$constructor(
|
|
222
262
|
"ZodMiniCUID",
|
|
223
263
|
(inst, def) => {
|
|
@@ -226,6 +266,14 @@ export const ZodMiniCUID: core.$constructor<ZodMiniCUID> = /*@__PURE__*/ core.$c
|
|
|
226
266
|
}
|
|
227
267
|
);
|
|
228
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Validates a CUID v1 string.
|
|
271
|
+
*
|
|
272
|
+
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
273
|
+
* (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
|
|
274
|
+
* See https://github.com/paralleldrive/cuid.
|
|
275
|
+
*/
|
|
276
|
+
// @__NO_SIDE_EFFECTS__
|
|
229
277
|
export function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID {
|
|
230
278
|
return core._cuid(ZodMiniCUID, params);
|
|
231
279
|
}
|
|
@@ -242,6 +290,7 @@ export const ZodMiniCUID2: core.$constructor<ZodMiniCUID2> = /*@__PURE__*/ core.
|
|
|
242
290
|
}
|
|
243
291
|
);
|
|
244
292
|
|
|
293
|
+
// @__NO_SIDE_EFFECTS__
|
|
245
294
|
export function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2 {
|
|
246
295
|
return core._cuid2(ZodMiniCUID2, params);
|
|
247
296
|
}
|
|
@@ -258,6 +307,7 @@ export const ZodMiniULID: core.$constructor<ZodMiniULID> = /*@__PURE__*/ core.$c
|
|
|
258
307
|
}
|
|
259
308
|
);
|
|
260
309
|
|
|
310
|
+
// @__NO_SIDE_EFFECTS__
|
|
261
311
|
export function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID {
|
|
262
312
|
return core._ulid(ZodMiniULID, params);
|
|
263
313
|
}
|
|
@@ -271,6 +321,7 @@ export const ZodMiniXID: core.$constructor<ZodMiniXID> = /*@__PURE__*/ core.$con
|
|
|
271
321
|
ZodMiniStringFormat.init(inst, def);
|
|
272
322
|
});
|
|
273
323
|
|
|
324
|
+
// @__NO_SIDE_EFFECTS__
|
|
274
325
|
export function xid(params?: string | core.$ZodXIDParams): ZodMiniXID {
|
|
275
326
|
return core._xid(ZodMiniXID, params);
|
|
276
327
|
}
|
|
@@ -287,6 +338,7 @@ export const ZodMiniKSUID: core.$constructor<ZodMiniKSUID> = /*@__PURE__*/ core.
|
|
|
287
338
|
}
|
|
288
339
|
);
|
|
289
340
|
|
|
341
|
+
// @__NO_SIDE_EFFECTS__
|
|
290
342
|
export function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID {
|
|
291
343
|
return core._ksuid(ZodMiniKSUID, params);
|
|
292
344
|
}
|
|
@@ -303,6 +355,7 @@ export const ZodMiniIPv4: core.$constructor<ZodMiniIPv4> = /*@__PURE__*/ core.$c
|
|
|
303
355
|
}
|
|
304
356
|
);
|
|
305
357
|
|
|
358
|
+
// @__NO_SIDE_EFFECTS__
|
|
306
359
|
export function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4 {
|
|
307
360
|
return core._ipv4(ZodMiniIPv4, params);
|
|
308
361
|
}
|
|
@@ -319,6 +372,7 @@ export const ZodMiniIPv6: core.$constructor<ZodMiniIPv6> = /*@__PURE__*/ core.$c
|
|
|
319
372
|
}
|
|
320
373
|
);
|
|
321
374
|
|
|
375
|
+
// @__NO_SIDE_EFFECTS__
|
|
322
376
|
export function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6 {
|
|
323
377
|
return core._ipv6(ZodMiniIPv6, params);
|
|
324
378
|
}
|
|
@@ -335,6 +389,7 @@ export const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4> = /*@__PURE__*/ cor
|
|
|
335
389
|
}
|
|
336
390
|
);
|
|
337
391
|
|
|
392
|
+
// @__NO_SIDE_EFFECTS__
|
|
338
393
|
export function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4 {
|
|
339
394
|
return core._cidrv4(ZodMiniCIDRv4, params);
|
|
340
395
|
}
|
|
@@ -351,10 +406,25 @@ export const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6> = /*@__PURE__*/ cor
|
|
|
351
406
|
}
|
|
352
407
|
);
|
|
353
408
|
|
|
409
|
+
// @__NO_SIDE_EFFECTS__
|
|
354
410
|
export function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6 {
|
|
355
411
|
return core._cidrv6(ZodMiniCIDRv6, params);
|
|
356
412
|
}
|
|
357
413
|
|
|
414
|
+
// ZodMiniMAC
|
|
415
|
+
export interface ZodMiniMAC extends _ZodMiniString<core.$ZodMACInternals> {
|
|
416
|
+
// _zod: core.$ZodMACInternals;
|
|
417
|
+
}
|
|
418
|
+
export const ZodMiniMAC: core.$constructor<ZodMiniMAC> = /*@__PURE__*/ core.$constructor("ZodMiniMAC", (inst, def) => {
|
|
419
|
+
core.$ZodMAC.init(inst, def);
|
|
420
|
+
ZodMiniStringFormat.init(inst, def);
|
|
421
|
+
});
|
|
422
|
+
|
|
423
|
+
// @__NO_SIDE_EFFECTS__
|
|
424
|
+
export function mac(params?: string | core.$ZodMACParams): ZodMiniMAC {
|
|
425
|
+
return core._mac(ZodMiniMAC, params);
|
|
426
|
+
}
|
|
427
|
+
|
|
358
428
|
// ZodMiniBase64
|
|
359
429
|
export interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {
|
|
360
430
|
// _zod: core.$ZodBase64Internals;
|
|
@@ -366,6 +436,7 @@ export const ZodMiniBase64: core.$constructor<ZodMiniBase64> = /*@__PURE__*/ cor
|
|
|
366
436
|
ZodMiniStringFormat.init(inst, def);
|
|
367
437
|
}
|
|
368
438
|
);
|
|
439
|
+
// @__NO_SIDE_EFFECTS__
|
|
369
440
|
export function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64 {
|
|
370
441
|
return core._base64(ZodMiniBase64, params);
|
|
371
442
|
}
|
|
@@ -381,6 +452,7 @@ export const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL> = /*@__PURE__
|
|
|
381
452
|
ZodMiniStringFormat.init(inst, def);
|
|
382
453
|
}
|
|
383
454
|
);
|
|
455
|
+
// @__NO_SIDE_EFFECTS__
|
|
384
456
|
export function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL {
|
|
385
457
|
return core._base64url(ZodMiniBase64URL, params);
|
|
386
458
|
}
|
|
@@ -397,6 +469,7 @@ export const ZodMiniE164: core.$constructor<ZodMiniE164> = /*@__PURE__*/ core.$c
|
|
|
397
469
|
}
|
|
398
470
|
);
|
|
399
471
|
|
|
472
|
+
// @__NO_SIDE_EFFECTS__
|
|
400
473
|
export function e164(params?: string | core.$ZodE164Params): ZodMiniE164 {
|
|
401
474
|
return core._e164(ZodMiniE164, params);
|
|
402
475
|
}
|
|
@@ -410,6 +483,7 @@ export const ZodMiniJWT: core.$constructor<ZodMiniJWT> = /*@__PURE__*/ core.$con
|
|
|
410
483
|
ZodMiniStringFormat.init(inst, def);
|
|
411
484
|
});
|
|
412
485
|
|
|
486
|
+
// @__NO_SIDE_EFFECTS__
|
|
413
487
|
export function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT {
|
|
414
488
|
return core._jwt(ZodMiniJWT, params);
|
|
415
489
|
}
|
|
@@ -428,6 +502,7 @@ export const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomStringFor
|
|
|
428
502
|
}
|
|
429
503
|
);
|
|
430
504
|
|
|
505
|
+
// @__NO_SIDE_EFFECTS__
|
|
431
506
|
export function stringFormat<Format extends string>(
|
|
432
507
|
format: Format,
|
|
433
508
|
fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
|
|
@@ -436,6 +511,31 @@ export function stringFormat<Format extends string>(
|
|
|
436
511
|
return core._stringFormat(ZodMiniCustomStringFormat, format, fnOrRegex, _params) as any;
|
|
437
512
|
}
|
|
438
513
|
|
|
514
|
+
// @__NO_SIDE_EFFECTS__
|
|
515
|
+
export function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hostname"> {
|
|
516
|
+
return core._stringFormat(ZodMiniCustomStringFormat, "hostname", core.regexes.hostname, _params) as any;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// @__NO_SIDE_EFFECTS__
|
|
520
|
+
export function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hex"> {
|
|
521
|
+
return core._stringFormat(ZodMiniCustomStringFormat, "hex", core.regexes.hex, _params) as any;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// @__NO_SIDE_EFFECTS__
|
|
525
|
+
export function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(
|
|
526
|
+
alg: Alg,
|
|
527
|
+
params?: {
|
|
528
|
+
enc?: Enc;
|
|
529
|
+
} & core.$ZodStringFormatParams
|
|
530
|
+
): ZodMiniCustomStringFormat<`${Alg}_${Enc}`> {
|
|
531
|
+
const enc = params?.enc ?? "hex";
|
|
532
|
+
const format = `${alg}_${enc}` as const;
|
|
533
|
+
const regex = core.regexes[format as keyof typeof core.regexes] as RegExp;
|
|
534
|
+
// check for unrecognized format
|
|
535
|
+
if (!regex) throw new Error(`Unrecognized hash format: ${format}`);
|
|
536
|
+
return core._stringFormat(ZodMiniCustomStringFormat, format, regex, params) as any;
|
|
537
|
+
}
|
|
538
|
+
|
|
439
539
|
// ZodMiniNumber
|
|
440
540
|
interface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>>
|
|
441
541
|
extends _ZodMiniType<T>,
|
|
@@ -453,6 +553,7 @@ export const ZodMiniNumber: core.$constructor<ZodMiniNumber> = /*@__PURE__*/ cor
|
|
|
453
553
|
}
|
|
454
554
|
);
|
|
455
555
|
|
|
556
|
+
// @__NO_SIDE_EFFECTS__
|
|
456
557
|
export function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number> {
|
|
457
558
|
return core._number(ZodMiniNumber, params) as any;
|
|
458
559
|
}
|
|
@@ -469,30 +570,35 @@ export const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat> = /*@__
|
|
|
469
570
|
|
|
470
571
|
// int
|
|
471
572
|
|
|
573
|
+
// @__NO_SIDE_EFFECTS__
|
|
472
574
|
export function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat {
|
|
473
575
|
return core._int(ZodMiniNumberFormat, params);
|
|
474
576
|
}
|
|
475
577
|
|
|
476
578
|
// float32
|
|
477
579
|
|
|
580
|
+
// @__NO_SIDE_EFFECTS__
|
|
478
581
|
export function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat {
|
|
479
582
|
return core._float32(ZodMiniNumberFormat, params);
|
|
480
583
|
}
|
|
481
584
|
|
|
482
585
|
// float64
|
|
483
586
|
|
|
587
|
+
// @__NO_SIDE_EFFECTS__
|
|
484
588
|
export function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat {
|
|
485
589
|
return core._float64(ZodMiniNumberFormat, params);
|
|
486
590
|
}
|
|
487
591
|
|
|
488
592
|
// int32
|
|
489
593
|
|
|
594
|
+
// @__NO_SIDE_EFFECTS__
|
|
490
595
|
export function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat {
|
|
491
596
|
return core._int32(ZodMiniNumberFormat, params);
|
|
492
597
|
}
|
|
493
598
|
|
|
494
599
|
// uint32
|
|
495
600
|
|
|
601
|
+
// @__NO_SIDE_EFFECTS__
|
|
496
602
|
export function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniNumberFormat {
|
|
497
603
|
return core._uint32(ZodMiniNumberFormat, params);
|
|
498
604
|
}
|
|
@@ -509,6 +615,7 @@ export const ZodMiniBoolean: core.$constructor<ZodMiniBoolean> = /*@__PURE__*/ c
|
|
|
509
615
|
}
|
|
510
616
|
);
|
|
511
617
|
|
|
618
|
+
// @__NO_SIDE_EFFECTS__
|
|
512
619
|
export function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean> {
|
|
513
620
|
return core._boolean(ZodMiniBoolean, params) as any;
|
|
514
621
|
}
|
|
@@ -525,6 +632,7 @@ export const ZodMiniBigInt: core.$constructor<ZodMiniBigInt> = /*@__PURE__*/ cor
|
|
|
525
632
|
}
|
|
526
633
|
);
|
|
527
634
|
|
|
635
|
+
// @__NO_SIDE_EFFECTS__
|
|
528
636
|
export function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint> {
|
|
529
637
|
return core._bigint(ZodMiniBigInt, params) as any;
|
|
530
638
|
}
|
|
@@ -545,12 +653,14 @@ export const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat> = /*@__
|
|
|
545
653
|
|
|
546
654
|
// int64
|
|
547
655
|
|
|
656
|
+
// @__NO_SIDE_EFFECTS__
|
|
548
657
|
export function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat {
|
|
549
658
|
return core._int64(ZodMiniBigIntFormat, params);
|
|
550
659
|
}
|
|
551
660
|
|
|
552
661
|
// uint64
|
|
553
662
|
|
|
663
|
+
// @__NO_SIDE_EFFECTS__
|
|
554
664
|
export function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniBigIntFormat {
|
|
555
665
|
return core._uint64(ZodMiniBigIntFormat, params);
|
|
556
666
|
}
|
|
@@ -567,6 +677,7 @@ export const ZodMiniSymbol: core.$constructor<ZodMiniSymbol> = /*@__PURE__*/ cor
|
|
|
567
677
|
}
|
|
568
678
|
);
|
|
569
679
|
|
|
680
|
+
// @__NO_SIDE_EFFECTS__
|
|
570
681
|
export function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol {
|
|
571
682
|
return core._symbol(ZodMiniSymbol, params) as any;
|
|
572
683
|
}
|
|
@@ -583,6 +694,7 @@ export const ZodMiniUndefined: core.$constructor<ZodMiniUndefined> = /*@__PURE__
|
|
|
583
694
|
}
|
|
584
695
|
);
|
|
585
696
|
|
|
697
|
+
// @__NO_SIDE_EFFECTS__
|
|
586
698
|
function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined {
|
|
587
699
|
return core._undefined(ZodMiniUndefined, params) as any;
|
|
588
700
|
}
|
|
@@ -600,6 +712,7 @@ export const ZodMiniNull: core.$constructor<ZodMiniNull> = /*@__PURE__*/ core.$c
|
|
|
600
712
|
}
|
|
601
713
|
);
|
|
602
714
|
|
|
715
|
+
// @__NO_SIDE_EFFECTS__
|
|
603
716
|
function _null(params?: string | core.$ZodNullParams): ZodMiniNull {
|
|
604
717
|
return core._null(ZodMiniNull, params) as any;
|
|
605
718
|
}
|
|
@@ -614,6 +727,7 @@ export const ZodMiniAny: core.$constructor<ZodMiniAny> = /*@__PURE__*/ core.$con
|
|
|
614
727
|
ZodMiniType.init(inst, def);
|
|
615
728
|
});
|
|
616
729
|
|
|
730
|
+
// @__NO_SIDE_EFFECTS__
|
|
617
731
|
export function any(): ZodMiniAny {
|
|
618
732
|
return core._any(ZodMiniAny) as any;
|
|
619
733
|
}
|
|
@@ -630,6 +744,7 @@ export const ZodMiniUnknown: core.$constructor<ZodMiniUnknown> = /*@__PURE__*/ c
|
|
|
630
744
|
}
|
|
631
745
|
);
|
|
632
746
|
|
|
747
|
+
// @__NO_SIDE_EFFECTS__
|
|
633
748
|
export function unknown(): ZodMiniUnknown {
|
|
634
749
|
return core._unknown(ZodMiniUnknown) as any;
|
|
635
750
|
}
|
|
@@ -646,6 +761,7 @@ export const ZodMiniNever: core.$constructor<ZodMiniNever> = /*@__PURE__*/ core.
|
|
|
646
761
|
}
|
|
647
762
|
);
|
|
648
763
|
|
|
764
|
+
// @__NO_SIDE_EFFECTS__
|
|
649
765
|
export function never(params?: string | core.$ZodNeverParams): ZodMiniNever {
|
|
650
766
|
return core._never(ZodMiniNever, params) as any;
|
|
651
767
|
}
|
|
@@ -662,6 +778,7 @@ export const ZodMiniVoid: core.$constructor<ZodMiniVoid> = /*@__PURE__*/ core.$c
|
|
|
662
778
|
}
|
|
663
779
|
);
|
|
664
780
|
|
|
781
|
+
// @__NO_SIDE_EFFECTS__
|
|
665
782
|
function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid {
|
|
666
783
|
return core._void(ZodMiniVoid, params) as any;
|
|
667
784
|
}
|
|
@@ -680,6 +797,7 @@ export const ZodMiniDate: core.$constructor<ZodMiniDate> = /*@__PURE__*/ core.$c
|
|
|
680
797
|
}
|
|
681
798
|
);
|
|
682
799
|
|
|
800
|
+
// @__NO_SIDE_EFFECTS__
|
|
683
801
|
export function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date> {
|
|
684
802
|
return core._date(ZodMiniDate, params) as any;
|
|
685
803
|
}
|
|
@@ -699,6 +817,7 @@ export const ZodMiniArray: core.$constructor<ZodMiniArray> = /*@__PURE__*/ core.
|
|
|
699
817
|
);
|
|
700
818
|
|
|
701
819
|
export function array<T extends SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray<T>;
|
|
820
|
+
// @__NO_SIDE_EFFECTS__
|
|
702
821
|
export function array<T extends SomeType>(element: SomeType, params?: any): ZodMiniArray<T> {
|
|
703
822
|
return new ZodMiniArray({
|
|
704
823
|
type: "array",
|
|
@@ -708,9 +827,10 @@ export function array<T extends SomeType>(element: SomeType, params?: any): ZodM
|
|
|
708
827
|
}
|
|
709
828
|
|
|
710
829
|
// .keyof
|
|
711
|
-
|
|
830
|
+
// @__NO_SIDE_EFFECTS__
|
|
831
|
+
export function keyof<T extends ZodMiniObject>(schema: T): ZodMiniEnum<util.KeysEnum<T["shape"]>> {
|
|
712
832
|
const shape = schema._zod.def.shape;
|
|
713
|
-
return
|
|
833
|
+
return _enum(Object.keys(shape)) as any;
|
|
714
834
|
}
|
|
715
835
|
|
|
716
836
|
// ZodMiniObject
|
|
@@ -730,108 +850,122 @@ export const ZodMiniObject: core.$constructor<ZodMiniObject> = /*@__PURE__*/ cor
|
|
|
730
850
|
util.defineLazy(inst, "shape", () => def.shape);
|
|
731
851
|
}
|
|
732
852
|
);
|
|
853
|
+
// @__NO_SIDE_EFFECTS__
|
|
733
854
|
export function object<T extends core.$ZodLooseShape = Record<never, SomeType>>(
|
|
734
855
|
shape?: T,
|
|
735
856
|
params?: string | core.$ZodObjectParams
|
|
736
|
-
): ZodMiniObject<T
|
|
857
|
+
): ZodMiniObject<util.Writeable<T>, core.$strip> {
|
|
737
858
|
const def: core.$ZodObjectDef = {
|
|
738
859
|
type: "object",
|
|
739
|
-
|
|
740
|
-
util.assignProp(this, "shape", { ...shape });
|
|
741
|
-
return this.shape;
|
|
742
|
-
},
|
|
860
|
+
shape: shape ?? {},
|
|
743
861
|
...util.normalizeParams(params),
|
|
744
862
|
};
|
|
745
863
|
return new ZodMiniObject(def) as any;
|
|
746
864
|
}
|
|
747
865
|
|
|
748
866
|
// strictObject
|
|
867
|
+
// @__NO_SIDE_EFFECTS__
|
|
749
868
|
export function strictObject<T extends core.$ZodLooseShape>(
|
|
750
869
|
shape: T,
|
|
751
870
|
params?: string | core.$ZodObjectParams
|
|
752
|
-
): ZodMiniObject<T
|
|
871
|
+
): ZodMiniObject<util.Writeable<T>, core.$strict> {
|
|
753
872
|
return new ZodMiniObject({
|
|
754
873
|
type: "object",
|
|
755
|
-
|
|
756
|
-
get shape() {
|
|
757
|
-
util.assignProp(this, "shape", { ...shape });
|
|
758
|
-
return this.shape;
|
|
759
|
-
},
|
|
874
|
+
shape,
|
|
760
875
|
catchall: never(),
|
|
761
876
|
...util.normalizeParams(params),
|
|
762
877
|
}) as any;
|
|
763
878
|
}
|
|
764
879
|
|
|
765
880
|
// looseObject
|
|
881
|
+
// @__NO_SIDE_EFFECTS__
|
|
766
882
|
export function looseObject<T extends core.$ZodLooseShape>(
|
|
767
883
|
shape: T,
|
|
768
884
|
params?: string | core.$ZodObjectParams
|
|
769
|
-
): ZodMiniObject<T
|
|
885
|
+
): ZodMiniObject<util.Writeable<T>, core.$loose> {
|
|
770
886
|
return new ZodMiniObject({
|
|
771
887
|
type: "object",
|
|
772
|
-
|
|
773
|
-
get shape() {
|
|
774
|
-
util.assignProp(this, "shape", { ...shape });
|
|
775
|
-
return this.shape;
|
|
776
|
-
},
|
|
777
|
-
// get optional() {
|
|
778
|
-
// return util.optionalKeys(shape);
|
|
779
|
-
// },
|
|
888
|
+
shape,
|
|
780
889
|
catchall: unknown(),
|
|
781
890
|
...util.normalizeParams(params),
|
|
782
891
|
}) as any;
|
|
783
892
|
}
|
|
784
893
|
|
|
785
894
|
// object methods
|
|
895
|
+
// @__NO_SIDE_EFFECTS__
|
|
786
896
|
export function extend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
|
|
787
897
|
schema: T,
|
|
788
898
|
shape: U
|
|
789
|
-
): ZodMiniObject<util.Extend<T["shape"], U
|
|
899
|
+
): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
|
|
790
900
|
return util.extend(schema, shape);
|
|
791
901
|
}
|
|
792
902
|
|
|
903
|
+
export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
|
|
904
|
+
[K in keyof Ext]: K extends keyof Base
|
|
905
|
+
? core.output<Ext[K]> extends core.output<Base[K]>
|
|
906
|
+
? core.input<Ext[K]> extends core.input<Base[K]>
|
|
907
|
+
? Ext[K]
|
|
908
|
+
: never
|
|
909
|
+
: never
|
|
910
|
+
: Ext[K];
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
// @__NO_SIDE_EFFECTS__
|
|
914
|
+
export function safeExtend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
|
|
915
|
+
schema: T,
|
|
916
|
+
shape: SafeExtendShape<T["shape"], U>
|
|
917
|
+
): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
|
|
918
|
+
return util.safeExtend(schema, shape as any);
|
|
919
|
+
}
|
|
920
|
+
|
|
793
921
|
/** @deprecated Identical to `z.extend(A, B)` */
|
|
794
922
|
export function merge<T extends ZodMiniObject, U extends ZodMiniObject>(
|
|
795
923
|
a: T,
|
|
796
924
|
b: U
|
|
797
925
|
): ZodMiniObject<util.Extend<T["shape"], U["shape"]>, T["_zod"]["config"]>;
|
|
926
|
+
// @__NO_SIDE_EFFECTS__
|
|
798
927
|
export function merge(schema: ZodMiniObject, shape: any): ZodMiniObject {
|
|
799
928
|
return util.extend(schema, shape);
|
|
800
929
|
}
|
|
801
930
|
|
|
931
|
+
// @__NO_SIDE_EFFECTS__
|
|
802
932
|
export function pick<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
803
933
|
schema: T,
|
|
804
|
-
mask: M
|
|
934
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
805
935
|
): ZodMiniObject<util.Flatten<Pick<T["shape"], keyof T["shape"] & keyof M>>, T["_zod"]["config"]> {
|
|
806
936
|
return util.pick(schema, mask as any);
|
|
807
937
|
}
|
|
808
938
|
|
|
809
939
|
// .omit
|
|
810
940
|
|
|
811
|
-
|
|
941
|
+
// @__NO_SIDE_EFFECTS__
|
|
942
|
+
export function omit<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
812
943
|
schema: T,
|
|
813
|
-
mask: M
|
|
944
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
814
945
|
): ZodMiniObject<util.Flatten<Omit<T["shape"], keyof M>>, T["_zod"]["config"]> {
|
|
815
946
|
return util.omit(schema, mask);
|
|
816
947
|
}
|
|
817
948
|
|
|
949
|
+
// @__NO_SIDE_EFFECTS__
|
|
818
950
|
export function partial<T extends ZodMiniObject>(
|
|
819
951
|
schema: T
|
|
820
952
|
): ZodMiniObject<
|
|
821
953
|
{
|
|
822
|
-
[k in keyof T["shape"]]: ZodMiniOptional<T["shape"][k]>;
|
|
954
|
+
-readonly [k in keyof T["shape"]]: ZodMiniOptional<T["shape"][k]>;
|
|
823
955
|
},
|
|
824
956
|
T["_zod"]["config"]
|
|
825
957
|
>;
|
|
958
|
+
// @__NO_SIDE_EFFECTS__
|
|
826
959
|
export function partial<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
827
960
|
schema: T,
|
|
828
|
-
mask: M
|
|
961
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
829
962
|
): ZodMiniObject<
|
|
830
963
|
{
|
|
831
|
-
[k in keyof T["shape"]]: k extends keyof M ? ZodMiniOptional<T["shape"][k]> : T["shape"][k];
|
|
964
|
+
-readonly [k in keyof T["shape"]]: k extends keyof M ? ZodMiniOptional<T["shape"][k]> : T["shape"][k];
|
|
832
965
|
},
|
|
833
966
|
T["_zod"]["config"]
|
|
834
967
|
>;
|
|
968
|
+
// @__NO_SIDE_EFFECTS__
|
|
835
969
|
export function partial(schema: ZodMiniObject, mask?: object) {
|
|
836
970
|
return util.partial(ZodMiniOptional, schema, mask);
|
|
837
971
|
}
|
|
@@ -847,17 +981,19 @@ export type RequiredInterfaceShape<
|
|
|
847
981
|
}
|
|
848
982
|
>;
|
|
849
983
|
|
|
984
|
+
// @__NO_SIDE_EFFECTS__
|
|
850
985
|
export function required<T extends ZodMiniObject>(
|
|
851
986
|
schema: T
|
|
852
987
|
): ZodMiniObject<
|
|
853
988
|
{
|
|
854
|
-
[k in keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
|
|
989
|
+
-readonly [k in keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
|
|
855
990
|
},
|
|
856
991
|
T["_zod"]["config"]
|
|
857
992
|
>;
|
|
993
|
+
// @__NO_SIDE_EFFECTS__
|
|
858
994
|
export function required<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
|
|
859
995
|
schema: T,
|
|
860
|
-
mask: M
|
|
996
|
+
mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
|
|
861
997
|
): ZodMiniObject<
|
|
862
998
|
util.Extend<
|
|
863
999
|
T["shape"],
|
|
@@ -867,10 +1003,12 @@ export function required<T extends ZodMiniObject, M extends util.Mask<keyof T["s
|
|
|
867
1003
|
>,
|
|
868
1004
|
T["_zod"]["config"]
|
|
869
1005
|
>;
|
|
1006
|
+
// @__NO_SIDE_EFFECTS__
|
|
870
1007
|
export function required(schema: ZodMiniObject, mask?: object) {
|
|
871
1008
|
return util.required(ZodMiniNonOptional, schema, mask);
|
|
872
1009
|
}
|
|
873
1010
|
|
|
1011
|
+
// @__NO_SIDE_EFFECTS__
|
|
874
1012
|
export function catchall<T extends ZodMiniObject, U extends SomeType>(
|
|
875
1013
|
inst: T,
|
|
876
1014
|
catchall: U
|
|
@@ -891,6 +1029,7 @@ export const ZodMiniUnion: core.$constructor<ZodMiniUnion> = /*@__PURE__*/ core.
|
|
|
891
1029
|
}
|
|
892
1030
|
);
|
|
893
1031
|
|
|
1032
|
+
// @__NO_SIDE_EFFECTS__
|
|
894
1033
|
export function union<const T extends readonly SomeType[]>(
|
|
895
1034
|
options: T,
|
|
896
1035
|
params?: string | core.$ZodUnionParams
|
|
@@ -902,10 +1041,37 @@ export function union<const T extends readonly SomeType[]>(
|
|
|
902
1041
|
}) as any;
|
|
903
1042
|
}
|
|
904
1043
|
|
|
1044
|
+
// ZodMiniXor
|
|
1045
|
+
export interface ZodMiniXor<T extends readonly SomeType[] = readonly core.$ZodType[]>
|
|
1046
|
+
extends _ZodMiniType<core.$ZodXorInternals<T>> {
|
|
1047
|
+
// _zod: core.$ZodXorInternals<T>;
|
|
1048
|
+
}
|
|
1049
|
+
export const ZodMiniXor: core.$constructor<ZodMiniXor> = /*@__PURE__*/ core.$constructor("ZodMiniXor", (inst, def) => {
|
|
1050
|
+
ZodMiniUnion.init(inst, def);
|
|
1051
|
+
core.$ZodXor.init(inst, def);
|
|
1052
|
+
});
|
|
1053
|
+
|
|
1054
|
+
/** Creates an exclusive union (XOR) where exactly one option must match.
|
|
1055
|
+
* Unlike regular unions that succeed when any option matches, xor fails if
|
|
1056
|
+
* zero or more than one option matches the input. */
|
|
1057
|
+
export function xor<const T extends readonly SomeType[]>(
|
|
1058
|
+
options: T,
|
|
1059
|
+
params?: string | core.$ZodXorParams
|
|
1060
|
+
): ZodMiniXor<T> {
|
|
1061
|
+
return new ZodMiniXor({
|
|
1062
|
+
type: "union",
|
|
1063
|
+
options: options as any as core.$ZodType[],
|
|
1064
|
+
inclusive: false,
|
|
1065
|
+
...util.normalizeParams(params),
|
|
1066
|
+
}) as any;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
905
1069
|
// ZodMiniDiscriminatedUnion
|
|
906
|
-
export interface ZodMiniDiscriminatedUnion<
|
|
907
|
-
extends
|
|
908
|
-
|
|
1070
|
+
export interface ZodMiniDiscriminatedUnion<
|
|
1071
|
+
Options extends readonly SomeType[] = readonly core.$ZodType[],
|
|
1072
|
+
Disc extends string = string,
|
|
1073
|
+
> extends ZodMiniUnion<Options> {
|
|
1074
|
+
_zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
|
|
909
1075
|
}
|
|
910
1076
|
export const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion> = /*@__PURE__*/ core.$constructor(
|
|
911
1077
|
"ZodMiniDiscriminatedUnion",
|
|
@@ -915,19 +1081,21 @@ export const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUn
|
|
|
915
1081
|
}
|
|
916
1082
|
);
|
|
917
1083
|
|
|
1084
|
+
// @__NO_SIDE_EFFECTS__
|
|
918
1085
|
export function discriminatedUnion<
|
|
919
|
-
Types extends readonly [core.$ZodTypeDiscriminable
|
|
1086
|
+
Types extends readonly [core.$ZodTypeDiscriminable<Disc>, ...core.$ZodTypeDiscriminable<Disc>[]],
|
|
1087
|
+
Disc extends string,
|
|
920
1088
|
>(
|
|
921
|
-
discriminator:
|
|
1089
|
+
discriminator: Disc,
|
|
922
1090
|
options: Types,
|
|
923
1091
|
params?: string | core.$ZodDiscriminatedUnionParams
|
|
924
|
-
): ZodMiniDiscriminatedUnion<Types> {
|
|
1092
|
+
): ZodMiniDiscriminatedUnion<Types, Disc> {
|
|
925
1093
|
return new ZodMiniDiscriminatedUnion({
|
|
926
1094
|
type: "union",
|
|
927
1095
|
options,
|
|
928
1096
|
discriminator,
|
|
929
1097
|
...util.normalizeParams(params),
|
|
930
|
-
}) as ZodMiniDiscriminatedUnion<Types>;
|
|
1098
|
+
}) as ZodMiniDiscriminatedUnion<Types, Disc>;
|
|
931
1099
|
}
|
|
932
1100
|
|
|
933
1101
|
// ZodMiniIntersection
|
|
@@ -943,6 +1111,7 @@ export const ZodMiniIntersection: core.$constructor<ZodMiniIntersection> = /*@__
|
|
|
943
1111
|
}
|
|
944
1112
|
);
|
|
945
1113
|
|
|
1114
|
+
// @__NO_SIDE_EFFECTS__
|
|
946
1115
|
export function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U> {
|
|
947
1116
|
return new ZodMiniIntersection({
|
|
948
1117
|
type: "intersection",
|
|
@@ -976,6 +1145,7 @@ export function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest e
|
|
|
976
1145
|
params?: string | core.$ZodTupleParams
|
|
977
1146
|
): ZodMiniTuple<T, Rest>;
|
|
978
1147
|
export function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;
|
|
1148
|
+
// @__NO_SIDE_EFFECTS__
|
|
979
1149
|
export function tuple(
|
|
980
1150
|
items: SomeType[],
|
|
981
1151
|
_paramsOrRest?: string | core.$ZodTupleParams | SomeType,
|
|
@@ -1007,11 +1177,21 @@ export const ZodMiniRecord: core.$constructor<ZodMiniRecord> = /*@__PURE__*/ cor
|
|
|
1007
1177
|
}
|
|
1008
1178
|
);
|
|
1009
1179
|
|
|
1180
|
+
// @__NO_SIDE_EFFECTS__
|
|
1010
1181
|
export function record<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1011
1182
|
keyType: Key,
|
|
1012
1183
|
valueType: Value,
|
|
1013
1184
|
params?: string | core.$ZodRecordParams
|
|
1014
1185
|
): ZodMiniRecord<Key, Value> {
|
|
1186
|
+
// v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
|
|
1187
|
+
if (!valueType || !(valueType as any)._zod) {
|
|
1188
|
+
return new ZodMiniRecord({
|
|
1189
|
+
type: "record",
|
|
1190
|
+
keyType: string() as any,
|
|
1191
|
+
valueType: keyType as any as core.$ZodType,
|
|
1192
|
+
...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
|
|
1193
|
+
}) as any;
|
|
1194
|
+
}
|
|
1015
1195
|
return new ZodMiniRecord({
|
|
1016
1196
|
type: "record",
|
|
1017
1197
|
keyType,
|
|
@@ -1019,19 +1199,36 @@ export function record<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
|
1019
1199
|
...util.normalizeParams(params),
|
|
1020
1200
|
}) as any;
|
|
1021
1201
|
}
|
|
1202
|
+
// @__NO_SIDE_EFFECTS__
|
|
1022
1203
|
export function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1023
1204
|
keyType: Key,
|
|
1024
1205
|
valueType: Value,
|
|
1025
1206
|
params?: string | core.$ZodRecordParams
|
|
1026
1207
|
): ZodMiniRecord<Key & core.$partial, Value> {
|
|
1208
|
+
const k = core.clone(keyType);
|
|
1209
|
+
k._zod.values = undefined;
|
|
1027
1210
|
return new ZodMiniRecord({
|
|
1028
1211
|
type: "record",
|
|
1029
|
-
keyType:
|
|
1212
|
+
keyType: k,
|
|
1030
1213
|
valueType: valueType as any,
|
|
1031
1214
|
...util.normalizeParams(params),
|
|
1032
1215
|
}) as any;
|
|
1033
1216
|
}
|
|
1034
1217
|
|
|
1218
|
+
export function looseRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
|
|
1219
|
+
keyType: Key,
|
|
1220
|
+
valueType: Value,
|
|
1221
|
+
params?: string | core.$ZodRecordParams
|
|
1222
|
+
): ZodMiniRecord<Key, Value> {
|
|
1223
|
+
return new ZodMiniRecord({
|
|
1224
|
+
type: "record",
|
|
1225
|
+
keyType,
|
|
1226
|
+
valueType: valueType as any as core.$ZodType,
|
|
1227
|
+
mode: "loose",
|
|
1228
|
+
...util.normalizeParams(params),
|
|
1229
|
+
}) as any;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1035
1232
|
// ZodMiniMap
|
|
1036
1233
|
export interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType>
|
|
1037
1234
|
extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {
|
|
@@ -1042,6 +1239,7 @@ export const ZodMiniMap: core.$constructor<ZodMiniMap> = /*@__PURE__*/ core.$con
|
|
|
1042
1239
|
ZodMiniType.init(inst, def);
|
|
1043
1240
|
});
|
|
1044
1241
|
|
|
1242
|
+
// @__NO_SIDE_EFFECTS__
|
|
1045
1243
|
export function map<Key extends SomeType, Value extends SomeType>(
|
|
1046
1244
|
keyType: Key,
|
|
1047
1245
|
valueType: Value,
|
|
@@ -1064,6 +1262,7 @@ export const ZodMiniSet: core.$constructor<ZodMiniSet> = /*@__PURE__*/ core.$con
|
|
|
1064
1262
|
ZodMiniType.init(inst, def);
|
|
1065
1263
|
});
|
|
1066
1264
|
|
|
1265
|
+
// @__NO_SIDE_EFFECTS__
|
|
1067
1266
|
export function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value> {
|
|
1068
1267
|
return new ZodMiniSet({
|
|
1069
1268
|
type: "set",
|
|
@@ -1075,12 +1274,15 @@ export function set<Value extends SomeType>(valueType: Value, params?: string |
|
|
|
1075
1274
|
// ZodMiniEnum
|
|
1076
1275
|
export interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {
|
|
1077
1276
|
// _zod: core.$ZodEnumInternals<T>;
|
|
1277
|
+
options: Array<T[keyof T]>;
|
|
1078
1278
|
}
|
|
1079
1279
|
export const ZodMiniEnum: core.$constructor<ZodMiniEnum> = /*@__PURE__*/ core.$constructor(
|
|
1080
1280
|
"ZodMiniEnum",
|
|
1081
1281
|
(inst, def) => {
|
|
1082
1282
|
core.$ZodEnum.init(inst, def);
|
|
1083
1283
|
ZodMiniType.init(inst, def);
|
|
1284
|
+
|
|
1285
|
+
inst.options = Object.values(def.entries);
|
|
1084
1286
|
}
|
|
1085
1287
|
);
|
|
1086
1288
|
|
|
@@ -1089,6 +1291,7 @@ function _enum<const T extends readonly string[]>(
|
|
|
1089
1291
|
params?: string | core.$ZodEnumParams
|
|
1090
1292
|
): ZodMiniEnum<util.ToEnum<T[number]>>;
|
|
1091
1293
|
function _enum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;
|
|
1294
|
+
// @__NO_SIDE_EFFECTS__
|
|
1092
1295
|
function _enum(values: any, params?: string | core.$ZodEnumParams) {
|
|
1093
1296
|
const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
|
|
1094
1297
|
|
|
@@ -1100,6 +1303,7 @@ function _enum(values: any, params?: string | core.$ZodEnumParams) {
|
|
|
1100
1303
|
}
|
|
1101
1304
|
export { _enum as enum };
|
|
1102
1305
|
|
|
1306
|
+
// @__NO_SIDE_EFFECTS__
|
|
1103
1307
|
/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
|
|
1104
1308
|
*
|
|
1105
1309
|
* ```ts
|
|
@@ -1136,6 +1340,7 @@ export function literal<const T extends util.Literal>(
|
|
|
1136
1340
|
value: T,
|
|
1137
1341
|
params?: string | core.$ZodLiteralParams
|
|
1138
1342
|
): ZodMiniLiteral<T>;
|
|
1343
|
+
// @__NO_SIDE_EFFECTS__
|
|
1139
1344
|
export function literal(value: any, params: any) {
|
|
1140
1345
|
return new ZodMiniLiteral({
|
|
1141
1346
|
type: "literal",
|
|
@@ -1156,6 +1361,7 @@ export const ZodMiniFile: core.$constructor<ZodMiniFile> = /*@__PURE__*/ core.$c
|
|
|
1156
1361
|
}
|
|
1157
1362
|
);
|
|
1158
1363
|
|
|
1364
|
+
// @__NO_SIDE_EFFECTS__
|
|
1159
1365
|
export function file(params?: string | core.$ZodFileParams): ZodMiniFile {
|
|
1160
1366
|
return core._file(ZodMiniFile, params) as any;
|
|
1161
1367
|
}
|
|
@@ -1172,6 +1378,7 @@ export const ZodMiniTransform: core.$constructor<ZodMiniTransform> = /*@__PURE__
|
|
|
1172
1378
|
}
|
|
1173
1379
|
);
|
|
1174
1380
|
|
|
1381
|
+
// @__NO_SIDE_EFFECTS__
|
|
1175
1382
|
export function transform<I = unknown, O = I>(
|
|
1176
1383
|
fn: (input: I, ctx: core.ParsePayload) => O
|
|
1177
1384
|
): ZodMiniTransform<Awaited<O>, I> {
|
|
@@ -1195,6 +1402,7 @@ export const ZodMiniOptional: core.$constructor<ZodMiniOptional> = /*@__PURE__*/
|
|
|
1195
1402
|
}
|
|
1196
1403
|
);
|
|
1197
1404
|
|
|
1405
|
+
// @__NO_SIDE_EFFECTS__
|
|
1198
1406
|
export function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T> {
|
|
1199
1407
|
return new ZodMiniOptional({
|
|
1200
1408
|
type: "optional",
|
|
@@ -1202,6 +1410,28 @@ export function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T> {
|
|
|
1202
1410
|
}) as any;
|
|
1203
1411
|
}
|
|
1204
1412
|
|
|
1413
|
+
// ZodMiniExactOptional
|
|
1414
|
+
export interface ZodMiniExactOptional<T extends SomeType = core.$ZodType>
|
|
1415
|
+
extends _ZodMiniType<core.$ZodExactOptionalInternals<T>>,
|
|
1416
|
+
core.$ZodExactOptional<T> {
|
|
1417
|
+
// _zod: core.$ZodExactOptionalInternals<T>;
|
|
1418
|
+
}
|
|
1419
|
+
export const ZodMiniExactOptional: core.$constructor<ZodMiniExactOptional> = /*@__PURE__*/ core.$constructor(
|
|
1420
|
+
"ZodMiniExactOptional",
|
|
1421
|
+
(inst, def) => {
|
|
1422
|
+
core.$ZodExactOptional.init(inst, def);
|
|
1423
|
+
ZodMiniType.init(inst, def);
|
|
1424
|
+
}
|
|
1425
|
+
);
|
|
1426
|
+
|
|
1427
|
+
// @__NO_SIDE_EFFECTS__
|
|
1428
|
+
export function exactOptional<T extends SomeType>(innerType: T): ZodMiniExactOptional<T> {
|
|
1429
|
+
return new ZodMiniExactOptional({
|
|
1430
|
+
type: "optional",
|
|
1431
|
+
innerType: innerType as any as core.$ZodType,
|
|
1432
|
+
}) as any;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1205
1435
|
// ZodMiniNullable
|
|
1206
1436
|
export interface ZodMiniNullable<T extends SomeType = core.$ZodType>
|
|
1207
1437
|
extends _ZodMiniType<core.$ZodNullableInternals<T>> {
|
|
@@ -1215,6 +1445,7 @@ export const ZodMiniNullable: core.$constructor<ZodMiniNullable> = /*@__PURE__*/
|
|
|
1215
1445
|
}
|
|
1216
1446
|
);
|
|
1217
1447
|
|
|
1448
|
+
// @__NO_SIDE_EFFECTS__
|
|
1218
1449
|
export function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T> {
|
|
1219
1450
|
return new ZodMiniNullable({
|
|
1220
1451
|
type: "nullable",
|
|
@@ -1223,6 +1454,7 @@ export function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T> {
|
|
|
1223
1454
|
}
|
|
1224
1455
|
|
|
1225
1456
|
// nullish
|
|
1457
|
+
// @__NO_SIDE_EFFECTS__
|
|
1226
1458
|
export function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>> {
|
|
1227
1459
|
return optional(nullable(innerType));
|
|
1228
1460
|
}
|
|
@@ -1239,6 +1471,7 @@ export const ZodMiniDefault: core.$constructor<ZodMiniDefault> = /*@__PURE__*/ c
|
|
|
1239
1471
|
}
|
|
1240
1472
|
);
|
|
1241
1473
|
|
|
1474
|
+
// @__NO_SIDE_EFFECTS__
|
|
1242
1475
|
export function _default<T extends SomeType>(
|
|
1243
1476
|
innerType: T,
|
|
1244
1477
|
defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
|
|
@@ -1247,7 +1480,7 @@ export function _default<T extends SomeType>(
|
|
|
1247
1480
|
type: "default",
|
|
1248
1481
|
innerType: innerType as any as core.$ZodType,
|
|
1249
1482
|
get defaultValue() {
|
|
1250
|
-
return typeof defaultValue === "function" ? (defaultValue as Function)() : defaultValue;
|
|
1483
|
+
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1251
1484
|
},
|
|
1252
1485
|
}) as any;
|
|
1253
1486
|
}
|
|
@@ -1264,6 +1497,7 @@ export const ZodMiniPrefault: core.$constructor<ZodMiniPrefault> = /*@__PURE__*/
|
|
|
1264
1497
|
ZodMiniType.init(inst, def);
|
|
1265
1498
|
}
|
|
1266
1499
|
);
|
|
1500
|
+
// @__NO_SIDE_EFFECTS__
|
|
1267
1501
|
export function prefault<T extends SomeType>(
|
|
1268
1502
|
innerType: T,
|
|
1269
1503
|
defaultValue: util.NoUndefined<core.input<T>> | (() => util.NoUndefined<core.input<T>>)
|
|
@@ -1272,7 +1506,7 @@ export function prefault<T extends SomeType>(
|
|
|
1272
1506
|
type: "prefault",
|
|
1273
1507
|
innerType: innerType as any as core.$ZodType,
|
|
1274
1508
|
get defaultValue() {
|
|
1275
|
-
return typeof defaultValue === "function" ? (defaultValue as Function)() : defaultValue;
|
|
1509
|
+
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1276
1510
|
},
|
|
1277
1511
|
}) as any;
|
|
1278
1512
|
}
|
|
@@ -1290,6 +1524,7 @@ export const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional> = /*@__PU
|
|
|
1290
1524
|
}
|
|
1291
1525
|
);
|
|
1292
1526
|
|
|
1527
|
+
// @__NO_SIDE_EFFECTS__
|
|
1293
1528
|
export function nonoptional<T extends SomeType>(
|
|
1294
1529
|
innerType: T,
|
|
1295
1530
|
params?: string | core.$ZodNonOptionalParams
|
|
@@ -1313,6 +1548,7 @@ export const ZodMiniSuccess: core.$constructor<ZodMiniSuccess> = /*@__PURE__*/ c
|
|
|
1313
1548
|
}
|
|
1314
1549
|
);
|
|
1315
1550
|
|
|
1551
|
+
// @__NO_SIDE_EFFECTS__
|
|
1316
1552
|
export function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T> {
|
|
1317
1553
|
return new ZodMiniSuccess({
|
|
1318
1554
|
type: "success",
|
|
@@ -1332,6 +1568,7 @@ export const ZodMiniCatch: core.$constructor<ZodMiniCatch> = /*@__PURE__*/ core.
|
|
|
1332
1568
|
}
|
|
1333
1569
|
);
|
|
1334
1570
|
|
|
1571
|
+
// @__NO_SIDE_EFFECTS__
|
|
1335
1572
|
function _catch<T extends SomeType>(
|
|
1336
1573
|
innerType: T,
|
|
1337
1574
|
catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)
|
|
@@ -1355,6 +1592,7 @@ export const ZodMiniNaN: core.$constructor<ZodMiniNaN> = /*@__PURE__*/ core.$con
|
|
|
1355
1592
|
ZodMiniType.init(inst, def);
|
|
1356
1593
|
});
|
|
1357
1594
|
|
|
1595
|
+
// @__NO_SIDE_EFFECTS__
|
|
1358
1596
|
export function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN {
|
|
1359
1597
|
return core._nan(ZodMiniNaN, params) as any;
|
|
1360
1598
|
}
|
|
@@ -1372,6 +1610,7 @@ export const ZodMiniPipe: core.$constructor<ZodMiniPipe> = /*@__PURE__*/ core.$c
|
|
|
1372
1610
|
}
|
|
1373
1611
|
);
|
|
1374
1612
|
|
|
1613
|
+
// @__NO_SIDE_EFFECTS__
|
|
1375
1614
|
export function pipe<
|
|
1376
1615
|
const A extends SomeType,
|
|
1377
1616
|
B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>,
|
|
@@ -1383,14 +1622,50 @@ export function pipe<
|
|
|
1383
1622
|
}) as any;
|
|
1384
1623
|
}
|
|
1385
1624
|
|
|
1386
|
-
//
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1625
|
+
// ZodMiniCodec
|
|
1626
|
+
export interface ZodMiniCodec<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
|
|
1627
|
+
extends ZodMiniPipe<A, B>,
|
|
1628
|
+
core.$ZodCodec<A, B> {
|
|
1629
|
+
_zod: core.$ZodCodecInternals<A, B>;
|
|
1630
|
+
def: core.$ZodCodecDef<A, B>;
|
|
1631
|
+
}
|
|
1632
|
+
export const ZodMiniCodec: core.$constructor<ZodMiniCodec> = /*@__PURE__*/ core.$constructor(
|
|
1633
|
+
"ZodMiniCodec",
|
|
1634
|
+
(inst, def) => {
|
|
1635
|
+
ZodMiniPipe.init(inst, def);
|
|
1636
|
+
core.$ZodCodec.init(inst, def);
|
|
1637
|
+
}
|
|
1638
|
+
);
|
|
1639
|
+
|
|
1640
|
+
// @__NO_SIDE_EFFECTS__
|
|
1641
|
+
export function codec<const A extends SomeType, B extends core.SomeType = core.$ZodType>(
|
|
1642
|
+
in_: A,
|
|
1643
|
+
out: B,
|
|
1644
|
+
params: {
|
|
1645
|
+
decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
|
|
1646
|
+
encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
|
|
1647
|
+
}
|
|
1648
|
+
): ZodMiniCodec<A, B> {
|
|
1649
|
+
return new ZodMiniCodec({
|
|
1650
|
+
type: "pipe",
|
|
1651
|
+
in: in_ as any as core.$ZodType,
|
|
1652
|
+
out: out as any as core.$ZodType,
|
|
1653
|
+
transform: params.decode as any,
|
|
1654
|
+
reverseTransform: params.encode as any,
|
|
1655
|
+
}) as any;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
// @__NO_SIDE_EFFECTS__
|
|
1659
|
+
export function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodMiniCodec<A, B>): ZodMiniCodec<B, A> {
|
|
1660
|
+
const def = codec._zod.def;
|
|
1661
|
+
return new ZodMiniCodec({
|
|
1662
|
+
type: "pipe",
|
|
1663
|
+
in: def.out as any,
|
|
1664
|
+
out: def.in as any,
|
|
1665
|
+
transform: def.reverseTransform as any,
|
|
1666
|
+
reverseTransform: def.transform as any,
|
|
1667
|
+
}) as any;
|
|
1668
|
+
}
|
|
1394
1669
|
|
|
1395
1670
|
// ZodMiniReadonly
|
|
1396
1671
|
export interface ZodMiniReadonly<T extends SomeType = core.$ZodType>
|
|
@@ -1405,6 +1680,7 @@ export const ZodMiniReadonly: core.$constructor<ZodMiniReadonly> = /*@__PURE__*/
|
|
|
1405
1680
|
}
|
|
1406
1681
|
);
|
|
1407
1682
|
|
|
1683
|
+
// @__NO_SIDE_EFFECTS__
|
|
1408
1684
|
export function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T> {
|
|
1409
1685
|
return new ZodMiniReadonly({
|
|
1410
1686
|
type: "readonly",
|
|
@@ -1425,6 +1701,7 @@ export const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral> =
|
|
|
1425
1701
|
}
|
|
1426
1702
|
);
|
|
1427
1703
|
|
|
1704
|
+
// @__NO_SIDE_EFFECTS__
|
|
1428
1705
|
export function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(
|
|
1429
1706
|
parts: Parts,
|
|
1430
1707
|
params?: string | core.$ZodTemplateLiteralParams
|
|
@@ -1451,6 +1728,7 @@ export const ZodMiniLazy: core.$constructor<ZodMiniLazy> = /*@__PURE__*/ core.$c
|
|
|
1451
1728
|
// export function lazy<T extends object>(getter: () => T): T {
|
|
1452
1729
|
// return util.createTransparentProxy<T>(getter);
|
|
1453
1730
|
// }
|
|
1731
|
+
// @__NO_SIDE_EFFECTS__
|
|
1454
1732
|
function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T> {
|
|
1455
1733
|
return new ZodMiniLazy({
|
|
1456
1734
|
type: "lazy",
|
|
@@ -1471,6 +1749,7 @@ export const ZodMiniPromise: core.$constructor<ZodMiniPromise> = /*@__PURE__*/ c
|
|
|
1471
1749
|
}
|
|
1472
1750
|
);
|
|
1473
1751
|
|
|
1752
|
+
// @__NO_SIDE_EFFECTS__
|
|
1474
1753
|
export function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T> {
|
|
1475
1754
|
return new ZodMiniPromise({
|
|
1476
1755
|
type: "promise",
|
|
@@ -1491,6 +1770,7 @@ export const ZodMiniCustom: core.$constructor<ZodMiniCustom> = /*@__PURE__*/ cor
|
|
|
1491
1770
|
);
|
|
1492
1771
|
|
|
1493
1772
|
// custom checks
|
|
1773
|
+
// @__NO_SIDE_EFFECTS__
|
|
1494
1774
|
export function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O> {
|
|
1495
1775
|
const ch = new core.$ZodCheck({
|
|
1496
1776
|
check: "custom",
|
|
@@ -1503,6 +1783,7 @@ export function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$
|
|
|
1503
1783
|
|
|
1504
1784
|
// ZodCustom
|
|
1505
1785
|
// custom schema
|
|
1786
|
+
// @__NO_SIDE_EFFECTS__
|
|
1506
1787
|
export function custom<O = unknown, I = O>(
|
|
1507
1788
|
fn?: (data: O) => unknown,
|
|
1508
1789
|
_params?: string | core.$ZodCustomParams | undefined
|
|
@@ -1511,6 +1792,7 @@ export function custom<O = unknown, I = O>(
|
|
|
1511
1792
|
}
|
|
1512
1793
|
|
|
1513
1794
|
// refine
|
|
1795
|
+
// @__NO_SIDE_EFFECTS__
|
|
1514
1796
|
export function refine<T>(
|
|
1515
1797
|
fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>,
|
|
1516
1798
|
_params: string | core.$ZodCustomParams = {}
|
|
@@ -1518,40 +1800,62 @@ export function refine<T>(
|
|
|
1518
1800
|
return core._refine(ZodMiniCustom, fn, _params);
|
|
1519
1801
|
}
|
|
1520
1802
|
|
|
1803
|
+
// superRefine
|
|
1804
|
+
// @__NO_SIDE_EFFECTS__
|
|
1805
|
+
export function superRefine<T>(
|
|
1806
|
+
fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
|
|
1807
|
+
params?: core.$ZodSuperRefineParams
|
|
1808
|
+
): core.$ZodCheck<T> {
|
|
1809
|
+
return core._superRefine(fn, params);
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
// Re-export describe and meta from core
|
|
1813
|
+
export const describe = core.describe;
|
|
1814
|
+
export const meta = core.meta;
|
|
1815
|
+
|
|
1521
1816
|
// instanceof
|
|
1522
1817
|
abstract class Class {
|
|
1523
1818
|
constructor(..._args: any[]) {}
|
|
1524
1819
|
}
|
|
1820
|
+
// @__NO_SIDE_EFFECTS__
|
|
1525
1821
|
function _instanceof<T extends typeof Class>(
|
|
1526
1822
|
cls: T,
|
|
1527
|
-
params: core.$ZodCustomParams = {
|
|
1528
|
-
error: `Input not instance of ${cls.name}`,
|
|
1529
|
-
}
|
|
1823
|
+
params: core.$ZodCustomParams = {}
|
|
1530
1824
|
): ZodMiniCustom<InstanceType<T>, InstanceType<T>> {
|
|
1531
1825
|
const inst = custom((data) => data instanceof cls, params);
|
|
1532
1826
|
inst._zod.bag.Class = cls;
|
|
1827
|
+
// Override check to emit invalid_type instead of custom
|
|
1828
|
+
inst._zod.check = (payload) => {
|
|
1829
|
+
if (!(payload.value instanceof cls)) {
|
|
1830
|
+
payload.issues.push({
|
|
1831
|
+
code: "invalid_type",
|
|
1832
|
+
expected: cls.name,
|
|
1833
|
+
input: payload.value,
|
|
1834
|
+
inst,
|
|
1835
|
+
path: [...(inst._zod.def.path ?? [])],
|
|
1836
|
+
});
|
|
1837
|
+
}
|
|
1838
|
+
};
|
|
1533
1839
|
return inst as any;
|
|
1534
1840
|
}
|
|
1535
1841
|
export { _instanceof as instanceof };
|
|
1536
1842
|
|
|
1537
1843
|
// stringbool
|
|
1538
|
-
export const stringbool: (
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
...args
|
|
1549
|
-
) as any;
|
|
1844
|
+
export const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniCodec<ZodMiniString, ZodMiniBoolean> =
|
|
1845
|
+
(...args) =>
|
|
1846
|
+
core._stringbool(
|
|
1847
|
+
{
|
|
1848
|
+
Codec: ZodMiniCodec,
|
|
1849
|
+
Boolean: ZodMiniBoolean,
|
|
1850
|
+
String: ZodMiniString,
|
|
1851
|
+
},
|
|
1852
|
+
...args
|
|
1853
|
+
) as any;
|
|
1550
1854
|
|
|
1551
1855
|
// json
|
|
1552
1856
|
|
|
1553
1857
|
// json
|
|
1554
|
-
type _ZodMiniJSONSchema = ZodMiniUnion<
|
|
1858
|
+
export type _ZodMiniJSONSchema = ZodMiniUnion<
|
|
1555
1859
|
[
|
|
1556
1860
|
ZodMiniString,
|
|
1557
1861
|
ZodMiniNumber,
|
|
@@ -1561,7 +1865,7 @@ type _ZodMiniJSONSchema = ZodMiniUnion<
|
|
|
1561
1865
|
ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>,
|
|
1562
1866
|
]
|
|
1563
1867
|
>;
|
|
1564
|
-
type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema["_zod"];
|
|
1868
|
+
export type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema["_zod"];
|
|
1565
1869
|
|
|
1566
1870
|
export interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {
|
|
1567
1871
|
output: util.JSONType;
|
|
@@ -1571,9 +1875,73 @@ export interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {
|
|
|
1571
1875
|
_zod: ZodMiniJSONSchemaInternals;
|
|
1572
1876
|
}
|
|
1573
1877
|
|
|
1878
|
+
// @__NO_SIDE_EFFECTS__
|
|
1574
1879
|
export function json(): ZodMiniJSONSchema {
|
|
1575
1880
|
const jsonSchema: any = _lazy(() => {
|
|
1576
1881
|
return union([string(), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
|
|
1577
1882
|
});
|
|
1578
1883
|
return jsonSchema;
|
|
1579
1884
|
}
|
|
1885
|
+
|
|
1886
|
+
// ZodMiniFunction
|
|
1887
|
+
export interface ZodMiniFunction<
|
|
1888
|
+
Args extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
1889
|
+
Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
1890
|
+
> extends _ZodMiniType<core.$ZodFunctionInternals<Args, Returns>>,
|
|
1891
|
+
core.$ZodFunction<Args, Returns> {
|
|
1892
|
+
_def: core.$ZodFunctionDef<Args, Returns>;
|
|
1893
|
+
_input: core.$InferInnerFunctionType<Args, Returns>;
|
|
1894
|
+
_output: core.$InferOuterFunctionType<Args, Returns>;
|
|
1895
|
+
|
|
1896
|
+
input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(
|
|
1897
|
+
args: Items,
|
|
1898
|
+
rest?: Rest
|
|
1899
|
+
): ZodMiniFunction<ZodMiniTuple<Items, Rest>, Returns>;
|
|
1900
|
+
input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodMiniFunction<NewArgs, Returns>;
|
|
1901
|
+
input(...args: any[]): ZodMiniFunction<any, Returns>;
|
|
1902
|
+
|
|
1903
|
+
output<NewReturns extends core.$ZodFunctionOut>(output: NewReturns): ZodMiniFunction<Args, NewReturns>;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
export const ZodMiniFunction: core.$constructor<ZodMiniFunction> = /*@__PURE__*/ core.$constructor(
|
|
1907
|
+
"ZodMiniFunction",
|
|
1908
|
+
(inst, def) => {
|
|
1909
|
+
core.$ZodFunction.init(inst, def);
|
|
1910
|
+
ZodMiniType.init(inst, def);
|
|
1911
|
+
}
|
|
1912
|
+
);
|
|
1913
|
+
|
|
1914
|
+
export function _function(): ZodMiniFunction;
|
|
1915
|
+
export function _function<const In extends Array<SomeType> = Array<SomeType>>(params: {
|
|
1916
|
+
input: In;
|
|
1917
|
+
}): ZodMiniFunction<ZodMiniTuple<In, null>, core.$ZodFunctionOut>;
|
|
1918
|
+
export function _function<
|
|
1919
|
+
const In extends Array<SomeType> = Array<SomeType>,
|
|
1920
|
+
const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
1921
|
+
>(params: {
|
|
1922
|
+
input: In;
|
|
1923
|
+
output: Out;
|
|
1924
|
+
}): ZodMiniFunction<ZodMiniTuple<In, null>, Out>;
|
|
1925
|
+
export function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
|
|
1926
|
+
input: In;
|
|
1927
|
+
}): ZodMiniFunction<In, core.$ZodFunctionOut>;
|
|
1928
|
+
export function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
|
|
1929
|
+
output: Out;
|
|
1930
|
+
}): ZodMiniFunction<core.$ZodFunctionIn, Out>;
|
|
1931
|
+
export function _function<
|
|
1932
|
+
In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
1933
|
+
Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
1934
|
+
>(params?: { input: In; output: Out }): ZodMiniFunction<In, Out>;
|
|
1935
|
+
// @__NO_SIDE_EFFECTS__
|
|
1936
|
+
export function _function(params?: {
|
|
1937
|
+
output?: core.$ZodFunctionOut;
|
|
1938
|
+
input?: core.$ZodFunctionArgs | Array<SomeType>;
|
|
1939
|
+
}): ZodMiniFunction {
|
|
1940
|
+
return new ZodMiniFunction({
|
|
1941
|
+
type: "function",
|
|
1942
|
+
input: Array.isArray(params?.input) ? tuple(params?.input as any) : (params?.input ?? array(unknown())),
|
|
1943
|
+
output: params?.output ?? unknown(),
|
|
1944
|
+
});
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export { _function as function };
|