@openclaw/discord 2026.7.2-beta.5 → 2026.7.33

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.
Files changed (3103) hide show
  1. package/README.md +1 -1
  2. package/dist/.setup/account-inspect-5xopt4s3.mjs +83 -0
  3. package/dist/.setup/accounts-CetktX10.mjs +225 -0
  4. package/dist/.setup/allow-list-aF0WK_xB.mjs +358 -0
  5. package/dist/.setup/api-B9klHRld.mjs +139 -0
  6. package/dist/.setup/approval-handler.runtime-C2x27lJb.mjs +447 -0
  7. package/dist/.setup/audit-CJpXzUB2.mjs +25 -0
  8. package/dist/.setup/channel-B-0bM2vY.mjs +792 -0
  9. package/dist/.setup/channel-actions-CBcIRuMd.mjs +206 -0
  10. package/dist/.setup/channel-actions.runtime-DiAtC0pu.mjs +261 -0
  11. package/dist/.setup/channel.setup-CjWc8bH8.mjs +323 -0
  12. package/dist/.setup/components-BIqVqL7H.mjs +1001 -0
  13. package/dist/.setup/config-api-JiPdJeb0.mjs +2 -0
  14. package/dist/.setup/config-schema-BYYSZVWb.mjs +409 -0
  15. package/dist/.setup/conversation-identity-SMTT0aIh.mjs +273 -0
  16. package/dist/.setup/directory-config-BYKhHWCH.mjs +49 -0
  17. package/dist/.setup/directory-live-C4oZfzY_.mjs +159 -0
  18. package/dist/.setup/doctor-DE2EmaEP.mjs +244 -0
  19. package/dist/.setup/doctor-contract-C-FVX5b-.mjs +476 -0
  20. package/dist/.setup/handle-action.guild-admin-ByHAjaFU.mjs +312 -0
  21. package/dist/.setup/inbound-event-delivery-BFiEAErb.mjs +62 -0
  22. package/dist/.setup/legacy-state-migrations-api-Btgw8Z-D.mjs +135 -0
  23. package/dist/.setup/legacy-state-migrations-api-BtukxVpb.mjs +2 -0
  24. package/dist/.setup/manager.runtime-CSLNIAh-.mjs +3269 -0
  25. package/dist/.setup/message-handler-DBUOrisx.mjs +534 -0
  26. package/dist/.setup/message-handler.preflight-CfUCRAXh.mjs +1119 -0
  27. package/dist/.setup/message-handler.process-CFYB-wNl.mjs +1651 -0
  28. package/dist/.setup/message-utils-C_2A56eM.mjs +556 -0
  29. package/dist/.setup/outbound-adapter-Y8YHg0Dl.mjs +496 -0
  30. package/dist/.setup/pluralkit-DgdbPiIr.mjs +24 -0
  31. package/dist/.setup/preflight-audio-CAbvZMVJ.mjs +69 -0
  32. package/dist/.setup/preview-streaming-DXT8oJdo.mjs +8 -0
  33. package/dist/.setup/probe-OjgJ4sIJ.mjs +143 -0
  34. package/dist/.setup/probe.runtime-DSYP3iJ1.mjs +2 -0
  35. package/dist/.setup/provider-jQ_M-zQG.mjs +10382 -0
  36. package/dist/.setup/provider-session.runtime-B5adcJTs.mjs +6 -0
  37. package/dist/.setup/provider.runtime-DYzpCDyT.mjs +2 -0
  38. package/dist/.setup/resolve-allowlist-common-DwZCgJkD.mjs +34 -0
  39. package/dist/.setup/resolve-channels-DNoy0AEi.mjs +265 -0
  40. package/dist/.setup/resolve-users-6fyjg6Ab.mjs +121 -0
  41. package/dist/.setup/retry-after-BHoAVgTb.mjs +26 -0
  42. package/dist/.setup/runtime-u8Vu4pcr.mjs +1532 -0
  43. package/dist/.setup/secret-config-contract-BDNrRWvd.mjs +120 -0
  44. package/dist/.setup/security-audit-DOphAm-m.mjs +117 -0
  45. package/dist/.setup/security-audit.runtime-DjrNKxS6.mjs +2 -0
  46. package/dist/.setup/security-doctor-uUo8hTD5.mjs +18 -0
  47. package/dist/.setup/send-CWTlYYol.mjs +937 -0
  48. package/dist/.setup/send.components-DEKlx--m.mjs +529 -0
  49. package/dist/.setup/send.outbound-C9AU-oWi.mjs +474 -0
  50. package/dist/.setup/send.receipt-BWF_jBih.mjs +3291 -0
  51. package/dist/.setup/send.shared-_6GIKg0j.mjs +867 -0
  52. package/dist/.setup/sender-identity-DOR79Lwd.mjs +43 -0
  53. package/dist/.setup/setup-plugin-api-HD5L_yCq.mjs +3 -0
  54. package/dist/.setup/shared-Dnr-D7oC.mjs +164 -0
  55. package/dist/.setup/subagent-hooks-C-cJLyBL.mjs +120 -0
  56. package/dist/.setup/system-events-opXGj9b1.mjs +34 -0
  57. package/dist/.setup/target-resolver-Dpyl0ZFd.mjs +83 -0
  58. package/dist/.setup/targets-CyQ4PE0h.mjs +3 -0
  59. package/dist/.setup/thread-bindings-BtE4ymzY.mjs +255 -0
  60. package/dist/.setup/thread-bindings.discord-api-CEZ8mHzi.mjs +246 -0
  61. package/dist/.setup/thread-bindings.manager-BYCcNtCV.mjs +534 -0
  62. package/dist/.setup/thread-bindings.session-updates-BbGx6cft.mjs +55 -0
  63. package/dist/.setup/thread-bindings.state-Zrb1Dpt8.mjs +353 -0
  64. package/dist/.setup/timeouts-CgL53eVy.mjs +106 -0
  65. package/dist/.setup/transcripts-source-27okISHQ.mjs +123 -0
  66. package/dist/.setup/typing-BIilxjkD.mjs +14 -0
  67. package/dist/account-inspect-api.js +1 -1
  68. package/dist/action-runtime-api.js +1 -1
  69. package/dist/api.js +19 -28
  70. package/dist/channel-config-api.js +1 -1
  71. package/dist/channel-plugin-api.js +1 -1
  72. package/dist/configured-state.js +6 -0
  73. package/dist/contract-api.js +1 -1
  74. package/dist/directory-contract-api.js +1 -1
  75. package/dist/doctor-contract-api.js +1 -1
  76. package/dist/index.js +1 -3
  77. package/dist/legacy-state-migrations-api.js +1 -137
  78. package/dist/runtime-api.actions.js +2 -2
  79. package/dist/runtime-api.js +26 -26
  80. package/dist/runtime-api.lookup.js +6 -6
  81. package/dist/runtime-api.monitor.js +8 -8
  82. package/dist/runtime-api.send.js +5 -6
  83. package/dist/runtime-api.threads.js +6 -6
  84. package/dist/runtime-setter-api.js +1 -1
  85. package/dist/secret-contract-api.js +1 -1
  86. package/dist/security-audit-contract-api.js +1 -1
  87. package/dist/security-contract-api.js +1 -1
  88. package/dist/session-binding-contract-api.js +1 -1
  89. package/dist/session-key-api.js +1 -1
  90. package/dist/setup-entry.js +3 -2
  91. package/dist/setup-plugin-api.js +1 -1
  92. package/dist/subagent-hooks-api.js +1 -10
  93. package/dist/thread-binding-api.js +3 -1
  94. package/dist/timeouts.js +2 -0
  95. package/dist/transcripts-source-api.js +1 -1
  96. package/node_modules/@types/node/README.md +1 -1
  97. package/node_modules/@types/node/fs/promises.d.ts +6 -16
  98. package/node_modules/@types/node/package.json +2 -2
  99. package/node_modules/discord-api-types/CHANGELOG.md +0 -9
  100. package/node_modules/discord-api-types/package.json +4 -4
  101. package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
  102. package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
  103. package/node_modules/discord-api-types/payloads/v10/channel.d.ts +1 -5
  104. package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -1
  105. package/node_modules/discord-api-types/payloads/v10/channel.js +0 -4
  106. package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -1
  107. package/node_modules/discord-api-types/payloads/v10/message.d.ts +2 -9
  108. package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -1
  109. package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -1
  110. package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
  111. package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
  112. package/node_modules/discord-api-types/payloads/v9/channel.d.ts +1 -5
  113. package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -1
  114. package/node_modules/discord-api-types/payloads/v9/channel.js +0 -4
  115. package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -1
  116. package/node_modules/discord-api-types/payloads/v9/message.d.ts +2 -9
  117. package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -1
  118. package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -1
  119. package/node_modules/discord-api-types/rest/v10/channel.d.ts +8 -39
  120. package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -1
  121. package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -1
  122. package/node_modules/discord-api-types/rest/v10/webhook.d.ts +3 -3
  123. package/node_modules/discord-api-types/rest/v9/channel.d.ts +8 -39
  124. package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -1
  125. package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -1
  126. package/node_modules/discord-api-types/rest/v9/webhook.d.ts +3 -3
  127. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  128. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  129. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  130. package/node_modules/typebox/build/guard/string.mjs +4 -16
  131. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  132. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  133. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  134. package/node_modules/typebox/build/typebox.d.mts +1 -1
  135. package/node_modules/typebox/build/typebox.mjs +1 -1
  136. package/node_modules/typebox/package.json +1 -1
  137. package/node_modules/typebox/readme.md +32 -29
  138. package/node_modules/undici/README.md +5 -0
  139. package/node_modules/undici/docs/docs/api/Client.md +29 -8
  140. package/node_modules/undici/docs/docs/api/Dispatcher.md +6 -0
  141. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  142. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  143. package/node_modules/undici/docs/docs/api/Interceptors.md +66 -3
  144. package/node_modules/undici/docs/docs/api/MockAgent.md +27 -0
  145. package/node_modules/undici/docs/docs/api/MockPool.md +28 -1
  146. package/node_modules/undici/docs/docs/api/ProxyAgent.md +13 -6
  147. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  148. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +1 -1
  149. package/node_modules/undici/docs/docs/index.md +5 -0
  150. package/node_modules/undici/lib/api/readable.js +37 -43
  151. package/node_modules/undici/lib/cache/memory-cache-store.js +56 -11
  152. package/node_modules/undici/lib/cache/sqlite-cache-store.js +7 -1
  153. package/node_modules/undici/lib/core/connect.js +16 -2
  154. package/node_modules/undici/lib/core/request.js +13 -2
  155. package/node_modules/undici/lib/core/symbols.js +3 -0
  156. package/node_modules/undici/lib/core/util.js +27 -1
  157. package/node_modules/undici/lib/dispatcher/agent.js +10 -5
  158. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  159. package/node_modules/undici/lib/dispatcher/client-h1.js +51 -9
  160. package/node_modules/undici/lib/dispatcher/client-h2.js +446 -148
  161. package/node_modules/undici/lib/dispatcher/client.js +76 -30
  162. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  163. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  164. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  165. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +37 -8
  166. package/node_modules/undici/lib/dispatcher/proxy-agent.js +49 -6
  167. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  168. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  169. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +106 -22
  170. package/node_modules/undici/lib/global.js +36 -16
  171. package/node_modules/undici/lib/handler/cache-handler.js +297 -65
  172. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +13 -3
  173. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  174. package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  175. package/node_modules/undici/lib/handler/redirect-handler.js +25 -5
  176. package/node_modules/undici/lib/handler/retry-handler.js +186 -37
  177. package/node_modules/undici/lib/interceptor/cache.js +221 -58
  178. package/node_modules/undici/lib/interceptor/decompress.js +124 -15
  179. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  180. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  181. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  182. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  183. package/node_modules/undici/lib/mock/mock-interceptor.js +25 -7
  184. package/node_modules/undici/lib/mock/mock-utils.js +246 -27
  185. package/node_modules/undici/lib/util/cache.js +415 -71
  186. package/node_modules/undici/lib/util/date.js +23 -6
  187. package/node_modules/undici/lib/web/cookies/parse.js +150 -146
  188. package/node_modules/undici/lib/web/cookies/util.js +79 -9
  189. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  190. package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  191. package/node_modules/undici/lib/web/eventsource/util.js +1 -1
  192. package/node_modules/undici/lib/web/fetch/body.js +2 -1
  193. package/node_modules/undici/lib/web/fetch/index.js +6 -0
  194. package/node_modules/undici/lib/web/fetch/request.js +2 -3
  195. package/node_modules/undici/lib/web/fetch/response.js +1 -3
  196. package/node_modules/undici/lib/web/fetch/util.js +10 -2
  197. package/node_modules/undici/lib/web/webidl/index.js +3 -3
  198. package/node_modules/undici/lib/web/websocket/connection.js +1 -1
  199. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  200. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  201. package/node_modules/undici/lib/web/websocket/websocket.js +22 -0
  202. package/node_modules/undici/package.json +4 -4
  203. package/node_modules/undici/types/client.d.ts +52 -2
  204. package/node_modules/undici/types/dispatcher.d.ts +3 -3
  205. package/node_modules/undici/types/handlers.d.ts +2 -0
  206. package/node_modules/undici/types/interceptors.d.ts +2 -0
  207. package/node_modules/undici/types/mock-agent.d.ts +11 -10
  208. package/node_modules/undici/types/mock-interceptor.d.ts +5 -1
  209. package/node_modules/undici/types/proxy-agent.d.ts +7 -0
  210. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  211. package/node_modules/ws/lib/permessage-deflate.js +3 -1
  212. package/node_modules/ws/package.json +1 -1
  213. package/openclaw.plugin.json +860 -656
  214. package/package.json +18 -57
  215. package/dist/account-inspect-SXiCBCgP.js +0 -83
  216. package/dist/accounts-DJTf1LtA.js +0 -219
  217. package/dist/activities-api-CHnz7E7t.js +0 -786
  218. package/dist/activities-api.js +0 -2
  219. package/dist/allow-list-DzKrtfah.js +0 -386
  220. package/dist/api-C43z8vUm.js +0 -155
  221. package/dist/approval-handler.runtime-86UuBchU.js +0 -446
  222. package/dist/approval-message-safety-yjFtfJcK.js +0 -140
  223. package/dist/assets/embedded-app-sdk.mjs +0 -1
  224. package/dist/audit-BF8hmDKp.js +0 -24
  225. package/dist/channel-DnOg9aoT.js +0 -1019
  226. package/dist/channel-actions-BweII8kV.js +0 -208
  227. package/dist/channel-actions.runtime-Dsv063Re.js +0 -289
  228. package/dist/channel.setup-Cpv7n0I8.js +0 -339
  229. package/dist/chunk-CMVEczdm.js +0 -3153
  230. package/dist/command-deploy-store-DFkBTViB.js +0 -12
  231. package/dist/config-schema-D-YrV-5E.js +0 -665
  232. package/dist/directory-config-677F_rhf.js +0 -49
  233. package/dist/directory-live-BQk4bBOC.js +0 -161
  234. package/dist/doctor-DIcs6IDL.js +0 -245
  235. package/dist/doctor-contract-CCFMIDk9.js +0 -416
  236. package/dist/handle-action.guild-admin-D14y2JtA.js +0 -312
  237. package/dist/inbound-event-delivery-CEPlt2uz.js +0 -60
  238. package/dist/manager.runtime-asX6a4R4.js +0 -3655
  239. package/dist/message-handler-CxjL-a-8.js +0 -524
  240. package/dist/message-handler.history-CJOsN9w5.js +0 -28
  241. package/dist/message-handler.preflight-D-5zBjwh.js +0 -1155
  242. package/dist/message-handler.process-W9QxWA1g.js +0 -1809
  243. package/dist/message-utils-DSxXsDcG.js +0 -565
  244. package/dist/model-picker-preference-primitives-D25pnCOu.js +0 -37
  245. package/dist/outbound-adapter-kse7KV--.js +0 -428
  246. package/dist/outbound-components-DNgLQwXl.js +0 -99
  247. package/dist/outbound-session-route-DJUzy5WA.js +0 -1145
  248. package/dist/pluralkit-DbN-Z7BG.js +0 -43
  249. package/dist/preflight-audio-BjnQZ5yS.js +0 -72
  250. package/dist/probe-BYRdyuw1.js +0 -156
  251. package/dist/probe.runtime-uyKOQSBB.js +0 -2
  252. package/dist/provider-Ca5Gua1B.js +0 -11116
  253. package/dist/provider-session.runtime-IEheobg4.js +0 -6
  254. package/dist/provider.runtime-Bn8horYu.js +0 -2
  255. package/dist/resolve-allowlist-common-BU6_eGKg.js +0 -34
  256. package/dist/resolve-channels-ByNsOMJj.js +0 -265
  257. package/dist/resolve-users-CgWAonw-.js +0 -120
  258. package/dist/retry-after-DdLPmPoa.js +0 -12
  259. package/dist/runtime-BZm4_qXV.js +0 -1707
  260. package/dist/runtime-api.monitor-BKYTUIuf.js +0 -5
  261. package/dist/runtime-h03Wce1c.js +0 -83
  262. package/dist/secret-config-contract-B1akrlyY.js +0 -121
  263. package/dist/security-audit-jGnJF__m.js +0 -147
  264. package/dist/security-audit.runtime-CPN0xFYz.js +0 -2
  265. package/dist/security-doctor-nGgPm65L.js +0 -5
  266. package/dist/send-C_PfNVFH.js +0 -858
  267. package/dist/send.components-BrfbRJNq.js +0 -540
  268. package/dist/send.outbound-1t1CryCK.js +0 -749
  269. package/dist/send.reactions-gesJG-Yp.js +0 -85
  270. package/dist/send.receipt-CuwRrpFz.js +0 -48
  271. package/dist/send.shared-BRGI9T9F.js +0 -865
  272. package/dist/sender-identity-mG_zsdox.js +0 -43
  273. package/dist/shared--6-q1Zhl.js +0 -186
  274. package/dist/subagent-hooks-Dx9hr5Qy.js +0 -120
  275. package/dist/subagent-progress-BZREb7jm.js +0 -664
  276. package/dist/system-events-tVfIe6Xm.js +0 -34
  277. package/dist/target-resolver-_m_TsenB.js +0 -82
  278. package/dist/targets-DqNz_mmW.js +0 -3
  279. package/dist/thread-binding-api-BDZJD4na.js +0 -4
  280. package/dist/thread-bindings-u_7pNz5d.js +0 -237
  281. package/dist/thread-bindings.discord-api-DOCKdVgx.js +0 -246
  282. package/dist/thread-bindings.manager-BB-OD9-d.js +0 -534
  283. package/dist/thread-bindings.session-updates-DAIlp7Px.js +0 -54
  284. package/dist/thread-bindings.state-Cgi5uRn-.js +0 -301
  285. package/dist/timeouts-B9cy6RvQ.js +0 -90
  286. package/dist/transcripts-source-BW2VfPX0.js +0 -123
  287. package/dist/typing-eAhz8LT2.js +0 -14
  288. package/node_modules/@discord/embedded-app-sdk/LICENSE.md +0 -9
  289. package/node_modules/@discord/embedded-app-sdk/README.md +0 -74
  290. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/LICENSE +0 -21
  291. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/README.md +0 -208
  292. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.cjs +0 -33
  293. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.cts +0 -4
  294. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.ts +0 -4
  295. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.js +0 -4
  296. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/package.json +0 -118
  297. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/index.ts +0 -4
  298. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/ZodError.ts +0 -330
  299. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  300. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  301. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  302. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  303. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  304. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  305. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  306. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  307. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  308. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/errors.ts +0 -13
  309. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/external.ts +0 -6
  310. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  311. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  312. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  313. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  314. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  315. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/util.ts +0 -224
  316. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/index.ts +0 -4
  317. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/locales/en.ts +0 -124
  318. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/standard-schema.ts +0 -113
  319. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  320. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  321. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  322. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  323. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  324. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  325. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  326. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  327. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  328. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  329. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  330. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  331. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  332. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  333. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  334. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  335. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  336. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  337. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  338. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  339. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  340. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  341. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  342. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  343. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  344. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  345. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  346. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  347. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  348. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  349. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  350. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  351. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  352. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  353. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  354. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  355. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  356. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  357. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  358. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  359. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  360. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  361. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  362. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  363. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  364. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  365. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  366. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  367. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  368. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  369. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  370. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  371. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  372. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  373. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  374. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  375. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  376. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  377. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  378. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  379. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  380. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/types.ts +0 -5136
  381. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/checks.ts +0 -30
  382. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  383. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/compat.ts +0 -66
  384. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/errors.ts +0 -75
  385. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/external.ts +0 -50
  386. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/index.ts +0 -5
  387. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/iso.ts +0 -90
  388. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/parse.ts +0 -33
  389. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  390. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  391. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  392. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  393. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  394. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  395. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  396. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  397. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  398. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  399. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  400. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  401. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  402. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  403. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  404. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  405. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  406. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  407. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  408. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  409. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  410. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  411. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  412. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  413. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  414. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  415. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  416. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  417. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  418. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  419. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  420. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  421. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  422. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  423. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  424. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  425. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  426. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  427. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  428. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  429. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  430. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  431. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  432. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  433. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  434. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  435. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  436. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  437. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  438. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  439. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  440. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  441. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  442. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  443. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  444. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  445. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  446. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  447. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  448. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  449. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  450. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  451. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  452. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  453. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  454. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/api.ts +0 -1594
  455. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/checks.ts +0 -1283
  456. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/config.ts +0 -15
  457. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/core.ts +0 -134
  458. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/doc.ts +0 -44
  459. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/errors.ts +0 -424
  460. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/function.ts +0 -176
  461. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/index.ts +0 -15
  462. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  463. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/parse.ts +0 -94
  464. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/regexes.ts +0 -135
  465. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/registries.ts +0 -96
  466. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  467. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  468. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  469. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  470. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  471. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  472. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  473. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  474. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/util.ts +0 -775
  475. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/versions.ts +0 -5
  476. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/zsf.ts +0 -323
  477. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/index.ts +0 -4
  478. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ar.ts +0 -125
  479. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/az.ts +0 -121
  480. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/be.ts +0 -184
  481. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ca.ts +0 -127
  482. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/cs.ts +0 -142
  483. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/de.ts +0 -124
  484. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/en.ts +0 -127
  485. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/eo.ts +0 -125
  486. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/es.ts +0 -125
  487. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fa.ts +0 -134
  488. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fi.ts +0 -131
  489. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  490. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr.ts +0 -124
  491. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/he.ts +0 -125
  492. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/hu.ts +0 -126
  493. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/id.ts +0 -125
  494. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/index.ts +0 -39
  495. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/it.ts +0 -125
  496. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ja.ts +0 -122
  497. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/kh.ts +0 -126
  498. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ko.ts +0 -131
  499. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/mk.ts +0 -127
  500. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ms.ts +0 -124
  501. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/nl.ts +0 -126
  502. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/no.ts +0 -124
  503. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ota.ts +0 -125
  504. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pl.ts +0 -126
  505. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ps.ts +0 -133
  506. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pt.ts +0 -123
  507. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ru.ts +0 -184
  508. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sl.ts +0 -126
  509. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sv.ts +0 -127
  510. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ta.ts +0 -125
  511. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/th.ts +0 -126
  512. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/tr.ts +0 -121
  513. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ua.ts +0 -126
  514. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ur.ts +0 -126
  515. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/vi.ts +0 -125
  516. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  517. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  518. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/checks.ts +0 -32
  519. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  520. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/external.ts +0 -40
  521. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/index.ts +0 -3
  522. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/iso.ts +0 -62
  523. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/parse.ts +0 -1
  524. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  525. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  526. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  527. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  528. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  529. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  530. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  531. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  532. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  533. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  534. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  535. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  536. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  537. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4-mini/index.ts +0 -1
  538. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.cjs +0 -138
  539. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.cts +0 -164
  540. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.ts +0 -164
  541. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.js +0 -133
  542. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.cjs +0 -17
  543. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.cts +0 -5
  544. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.ts +0 -5
  545. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.js +0 -9
  546. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.cjs +0 -22
  547. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.cts +0 -6
  548. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.ts +0 -6
  549. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.js +0 -6
  550. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  551. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  552. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  553. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  554. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  555. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  556. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  557. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  558. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  559. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  560. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  561. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  562. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  563. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  564. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  565. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  566. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  567. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  568. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  569. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  570. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.cjs +0 -137
  571. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.cts +0 -85
  572. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.ts +0 -85
  573. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.js +0 -133
  574. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.cjs +0 -33
  575. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.cts +0 -4
  576. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.ts +0 -4
  577. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.js +0 -4
  578. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.cjs +0 -111
  579. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.cts +0 -3
  580. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.ts +0 -3
  581. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.js +0 -109
  582. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.cjs +0 -2
  583. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.cts +0 -102
  584. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.ts +0 -102
  585. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.js +0 -1
  586. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.cjs +0 -3775
  587. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.cts +0 -1031
  588. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.ts +0 -1031
  589. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.js +0 -3693
  590. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.cjs +0 -32
  591. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.cts +0 -1
  592. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.ts +0 -1
  593. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.js +0 -1
  594. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.cjs +0 -47
  595. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  596. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  597. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.js +0 -17
  598. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.cjs +0 -57
  599. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.cts +0 -46
  600. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.ts +0 -46
  601. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.js +0 -27
  602. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.cjs +0 -67
  603. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.cts +0 -30
  604. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.ts +0 -30
  605. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.js +0 -41
  606. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.cjs +0 -70
  607. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.cts +0 -13
  608. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.ts +0 -13
  609. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.js +0 -18
  610. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.cjs +0 -33
  611. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.cts +0 -4
  612. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.ts +0 -4
  613. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.js +0 -4
  614. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.cjs +0 -60
  615. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.cts +0 -22
  616. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.ts +0 -22
  617. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.js +0 -30
  618. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.cjs +0 -32
  619. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.cts +0 -23
  620. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.ts +0 -23
  621. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.js +0 -6
  622. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  623. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  624. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  625. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.js +0 -1006
  626. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.cjs +0 -1039
  627. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.cts +0 -284
  628. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.ts +0 -284
  629. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.js +0 -906
  630. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.cjs +0 -591
  631. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.cts +0 -278
  632. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.ts +0 -278
  633. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.js +0 -565
  634. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.cjs +0 -67
  635. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.cts +0 -49
  636. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.ts +0 -49
  637. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.js +0 -61
  638. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.cjs +0 -39
  639. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.cts +0 -14
  640. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.ts +0 -14
  641. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.js +0 -35
  642. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.cjs +0 -226
  643. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.cts +0 -208
  644. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.ts +0 -208
  645. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.js +0 -195
  646. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.cjs +0 -102
  647. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.cts +0 -52
  648. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.ts +0 -52
  649. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.js +0 -75
  650. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.cjs +0 -44
  651. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.cts +0 -15
  652. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.ts +0 -15
  653. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.js +0 -15
  654. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.cjs +0 -2
  655. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  656. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  657. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.js +0 -1
  658. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.cjs +0 -87
  659. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.cts +0 -25
  660. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.ts +0 -25
  661. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.js +0 -57
  662. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.cjs +0 -103
  663. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.cts +0 -62
  664. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.ts +0 -62
  665. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.js +0 -95
  666. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.cjs +0 -56
  667. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.cts +0 -35
  668. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.ts +0 -35
  669. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.js +0 -51
  670. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.cjs +0 -1748
  671. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  672. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  673. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.js +0 -1717
  674. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  675. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  676. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  677. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.js +0 -1
  678. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  679. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  680. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  681. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.js +0 -849
  682. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.cjs +0 -539
  683. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.cts +0 -183
  684. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.ts +0 -183
  685. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.js +0 -493
  686. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.cjs +0 -8
  687. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.cts +0 -5
  688. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.ts +0 -5
  689. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.js +0 -5
  690. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.cjs +0 -22
  691. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.cts +0 -3
  692. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.ts +0 -3
  693. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.js +0 -3
  694. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.cjs +0 -142
  695. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.cts +0 -4
  696. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.ts +0 -4
  697. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.js +0 -116
  698. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.cjs +0 -141
  699. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.cts +0 -4
  700. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.ts +0 -4
  701. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.js +0 -115
  702. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.cjs +0 -190
  703. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.cts +0 -4
  704. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.ts +0 -4
  705. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.js +0 -164
  706. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.cjs +0 -144
  707. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.cts +0 -4
  708. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.ts +0 -4
  709. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.js +0 -118
  710. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.cjs +0 -161
  711. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.cts +0 -4
  712. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.ts +0 -4
  713. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.js +0 -135
  714. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.cjs +0 -142
  715. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.cts +0 -4
  716. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.ts +0 -4
  717. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.js +0 -116
  718. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.cjs +0 -145
  719. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.cts +0 -5
  720. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.ts +0 -5
  721. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.js +0 -117
  722. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.cjs +0 -144
  723. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.cts +0 -5
  724. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.ts +0 -5
  725. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.js +0 -116
  726. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.cjs +0 -143
  727. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.cts +0 -4
  728. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.ts +0 -4
  729. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.js +0 -117
  730. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.cjs +0 -148
  731. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.cts +0 -4
  732. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.ts +0 -4
  733. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.js +0 -122
  734. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.cjs +0 -148
  735. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.cts +0 -4
  736. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.ts +0 -4
  737. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.js +0 -122
  738. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  739. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  740. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  741. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.js +0 -117
  742. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.cjs +0 -142
  743. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.cts +0 -4
  744. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.ts +0 -4
  745. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.js +0 -116
  746. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.cjs +0 -143
  747. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.cts +0 -4
  748. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.ts +0 -4
  749. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.js +0 -117
  750. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.cjs +0 -143
  751. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.cts +0 -4
  752. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.ts +0 -4
  753. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.js +0 -117
  754. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.cjs +0 -142
  755. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.cts +0 -4
  756. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.ts +0 -4
  757. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.js +0 -116
  758. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.cjs +0 -84
  759. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.cts +0 -39
  760. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.ts +0 -39
  761. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.js +0 -39
  762. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.cjs +0 -143
  763. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.cts +0 -4
  764. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.ts +0 -4
  765. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.js +0 -117
  766. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.cjs +0 -141
  767. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.cts +0 -4
  768. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.ts +0 -4
  769. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.js +0 -115
  770. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.cjs +0 -143
  771. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.cts +0 -4
  772. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.ts +0 -4
  773. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.js +0 -117
  774. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.cjs +0 -147
  775. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.cts +0 -4
  776. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.ts +0 -4
  777. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.js +0 -121
  778. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.cjs +0 -144
  779. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.cts +0 -4
  780. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.ts +0 -4
  781. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.js +0 -118
  782. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.cjs +0 -142
  783. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.cts +0 -4
  784. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.ts +0 -4
  785. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.js +0 -116
  786. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.cjs +0 -143
  787. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.cts +0 -4
  788. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.ts +0 -4
  789. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.js +0 -117
  790. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.cjs +0 -142
  791. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.cts +0 -4
  792. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.ts +0 -4
  793. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.js +0 -116
  794. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.cjs +0 -143
  795. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.cts +0 -4
  796. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.ts +0 -4
  797. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.js +0 -117
  798. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.cjs +0 -143
  799. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.cts +0 -4
  800. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.ts +0 -4
  801. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.js +0 -117
  802. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.cjs +0 -148
  803. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.cts +0 -4
  804. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.ts +0 -4
  805. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.js +0 -122
  806. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.cjs +0 -142
  807. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.cts +0 -4
  808. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.ts +0 -4
  809. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.js +0 -116
  810. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.cjs +0 -190
  811. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.cts +0 -4
  812. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.ts +0 -4
  813. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.js +0 -164
  814. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.cjs +0 -143
  815. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.cts +0 -4
  816. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.ts +0 -4
  817. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.js +0 -117
  818. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.cjs +0 -144
  819. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.cts +0 -4
  820. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.ts +0 -4
  821. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.js +0 -118
  822. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.cjs +0 -143
  823. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.cts +0 -4
  824. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.ts +0 -4
  825. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.js +0 -117
  826. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.cjs +0 -143
  827. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.cts +0 -4
  828. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.ts +0 -4
  829. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.js +0 -117
  830. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.cjs +0 -143
  831. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.cts +0 -5
  832. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.ts +0 -5
  833. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.js +0 -115
  834. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.cjs +0 -143
  835. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.cts +0 -4
  836. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.ts +0 -4
  837. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.js +0 -117
  838. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.cjs +0 -143
  839. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.cts +0 -4
  840. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.ts +0 -4
  841. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.js +0 -117
  842. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.cjs +0 -142
  843. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.cts +0 -4
  844. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.ts +0 -4
  845. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.js +0 -116
  846. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  847. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  848. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  849. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.js +0 -116
  850. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  851. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  852. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  853. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.js +0 -117
  854. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.cjs +0 -34
  855. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.cts +0 -1
  856. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.ts +0 -1
  857. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.js +0 -1
  858. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.cjs +0 -47
  859. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  860. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  861. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.js +0 -17
  862. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.cjs +0 -62
  863. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.cts +0 -11
  864. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.ts +0 -11
  865. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.js +0 -13
  866. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.cjs +0 -32
  867. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.cts +0 -3
  868. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.ts +0 -3
  869. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.js +0 -3
  870. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.cjs +0 -60
  871. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.cts +0 -22
  872. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.ts +0 -22
  873. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.js +0 -30
  874. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.cjs +0 -8
  875. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.cts +0 -1
  876. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.ts +0 -1
  877. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.js +0 -1
  878. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.cjs +0 -839
  879. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  880. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  881. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.js +0 -732
  882. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.cjs +0 -17
  883. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.cts +0 -1
  884. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.ts +0 -1
  885. package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.js +0 -1
  886. package/node_modules/@discord/embedded-app-sdk/output/Constants.cjs +0 -100
  887. package/node_modules/@discord/embedded-app-sdk/output/Constants.d.ts +0 -88
  888. package/node_modules/@discord/embedded-app-sdk/output/Constants.mjs +0 -96
  889. package/node_modules/@discord/embedded-app-sdk/output/Discord.cjs +0 -286
  890. package/node_modules/@discord/embedded-app-sdk/output/Discord.d.ts +0 -603
  891. package/node_modules/@discord/embedded-app-sdk/output/Discord.mjs +0 -284
  892. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.cjs +0 -11
  893. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.mjs +0 -7
  894. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.cjs +0 -5
  895. package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.mjs +0 -3
  896. package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.cjs +0 -10
  897. package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.mjs +0 -7
  898. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.cjs +0 -11
  899. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.mjs +0 -7
  900. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.cjs +0 -11
  901. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.mjs +0 -7
  902. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.cjs +0 -5
  903. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.mjs +0 -3
  904. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.cjs +0 -5
  905. package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.mjs +0 -3
  906. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.cjs +0 -11
  907. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.d.ts +0 -25
  908. package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.mjs +0 -9
  909. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.cjs +0 -16
  910. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.d.ts +0 -20
  911. package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.mjs +0 -14
  912. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.cjs +0 -12
  913. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.d.ts +0 -10
  914. package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.mjs +0 -10
  915. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.cjs +0 -12
  916. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.d.ts +0 -7
  917. package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.mjs +0 -10
  918. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.cjs +0 -8
  919. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.d.ts +0 -18
  920. package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.mjs +0 -6
  921. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.cjs +0 -29
  922. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.d.ts +0 -230
  923. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.mjs +0 -27
  924. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.cjs +0 -13
  925. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.d.ts +0 -8
  926. package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.mjs +0 -11
  927. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.cjs +0 -12
  928. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.d.ts +0 -22
  929. package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.mjs +0 -10
  930. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.cjs +0 -16
  931. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.d.ts +0 -11
  932. package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.mjs +0 -14
  933. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.cjs +0 -8
  934. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.d.ts +0 -6
  935. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.mjs +0 -6
  936. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.cjs +0 -8
  937. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.d.ts +0 -7
  938. package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.mjs +0 -6
  939. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.cjs +0 -8
  940. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.d.ts +0 -70
  941. package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.mjs +0 -6
  942. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.cjs +0 -12
  943. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.d.ts +0 -15
  944. package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.mjs +0 -10
  945. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.cjs +0 -8
  946. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.d.ts +0 -17
  947. package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.mjs +0 -6
  948. package/node_modules/@discord/embedded-app-sdk/output/commands/index.cjs +0 -76
  949. package/node_modules/@discord/embedded-app-sdk/output/commands/index.d.ts +0 -562
  950. package/node_modules/@discord/embedded-app-sdk/output/commands/index.mjs +0 -68
  951. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.cjs +0 -17
  952. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.d.ts +0 -12
  953. package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.mjs +0 -15
  954. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.cjs +0 -8
  955. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.d.ts +0 -4
  956. package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.mjs +0 -6
  957. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.cjs +0 -12
  958. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.d.ts +0 -10
  959. package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.mjs +0 -10
  960. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.cjs +0 -14
  961. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.d.ts +0 -7
  962. package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.mjs +0 -12
  963. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.cjs +0 -14
  964. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.d.ts +0 -9
  965. package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.mjs +0 -12
  966. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.cjs +0 -8
  967. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.d.ts +0 -5
  968. package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.mjs +0 -6
  969. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.cjs +0 -8
  970. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.d.ts +0 -3
  971. package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.mjs +0 -6
  972. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.cjs +0 -48
  973. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.d.ts +0 -304
  974. package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.mjs +0 -46
  975. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.cjs +0 -12
  976. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.d.ts +0 -10
  977. package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.mjs +0 -10
  978. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.cjs +0 -20
  979. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.d.ts +0 -11
  980. package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.mjs +0 -18
  981. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.cjs +0 -8
  982. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.d.ts +0 -26
  983. package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.mjs +0 -6
  984. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.cjs +0 -16
  985. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.d.ts +0 -17
  986. package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.mjs +0 -14
  987. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.cjs +0 -12
  988. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.d.ts +0 -24
  989. package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.mjs +0 -10
  990. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.cjs +0 -12
  991. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.d.ts +0 -7
  992. package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.mjs +0 -10
  993. package/node_modules/@discord/embedded-app-sdk/output/error.cjs +0 -12
  994. package/node_modules/@discord/embedded-app-sdk/output/error.d.ts +0 -10
  995. package/node_modules/@discord/embedded-app-sdk/output/error.mjs +0 -10
  996. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.cjs +0 -408
  997. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.d.ts +0 -2227
  998. package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.mjs +0 -387
  999. package/node_modules/@discord/embedded-app-sdk/output/index.cjs +0 -44
  1000. package/node_modules/@discord/embedded-app-sdk/output/index.d.ts +0 -17
  1001. package/node_modules/@discord/embedded-app-sdk/output/index.mjs +0 -14
  1002. package/node_modules/@discord/embedded-app-sdk/output/interface.d.ts +0 -35
  1003. package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.cjs +0 -1460
  1004. package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.mjs +0 -1458
  1005. package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.cjs +0 -1991
  1006. package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.mjs +0 -1987
  1007. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.cjs +0 -10
  1008. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.mjs +0 -5
  1009. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.cjs +0 -350
  1010. package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.mjs +0 -348
  1011. package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.cjs +0 -2343
  1012. package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.mjs +0 -2341
  1013. package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.cjs +0 -37
  1014. package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.mjs +0 -35
  1015. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.cjs +0 -8
  1016. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.mjs +0 -4
  1017. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.cjs +0 -17
  1018. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.mjs +0 -13
  1019. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.cjs +0 -30
  1020. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.mjs +0 -28
  1021. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.cjs +0 -23
  1022. package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.mjs +0 -19
  1023. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +0 -4342
  1024. package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +0 -4233
  1025. package/node_modules/@discord/embedded-app-sdk/output/mock.cjs +0 -181
  1026. package/node_modules/@discord/embedded-app-sdk/output/mock.d.ts +0 -579
  1027. package/node_modules/@discord/embedded-app-sdk/output/mock.mjs +0 -178
  1028. package/node_modules/@discord/embedded-app-sdk/output/package.json.cjs +0 -5
  1029. package/node_modules/@discord/embedded-app-sdk/output/package.json.mjs +0 -3
  1030. package/node_modules/@discord/embedded-app-sdk/output/schema/common.cjs +0 -587
  1031. package/node_modules/@discord/embedded-app-sdk/output/schema/common.d.ts +0 -5141
  1032. package/node_modules/@discord/embedded-app-sdk/output/schema/common.mjs +0 -531
  1033. package/node_modules/@discord/embedded-app-sdk/output/schema/events.cjs +0 -221
  1034. package/node_modules/@discord/embedded-app-sdk/output/schema/events.d.ts +0 -3832
  1035. package/node_modules/@discord/embedded-app-sdk/output/schema/events.mjs +0 -213
  1036. package/node_modules/@discord/embedded-app-sdk/output/schema/index.cjs +0 -47
  1037. package/node_modules/@discord/embedded-app-sdk/output/schema/index.d.ts +0 -59
  1038. package/node_modules/@discord/embedded-app-sdk/output/schema/index.mjs +0 -44
  1039. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.cjs +0 -189
  1040. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.d.ts +0 -7224
  1041. package/node_modules/@discord/embedded-app-sdk/output/schema/responses.mjs +0 -163
  1042. package/node_modules/@discord/embedded-app-sdk/output/schema/types.d.ts +0 -61
  1043. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.cjs +0 -235
  1044. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.d.ts +0 -59
  1045. package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.mjs +0 -231
  1046. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.cjs +0 -14
  1047. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.d.ts +0 -6
  1048. package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.mjs +0 -10
  1049. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.cjs +0 -373
  1050. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.d.ts +0 -368
  1051. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.mjs +0 -371
  1052. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.cjs +0 -26
  1053. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.d.ts +0 -8
  1054. package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.mjs +0 -22
  1055. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.cjs +0 -13
  1056. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.d.ts +0 -5
  1057. package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.mjs +0 -9
  1058. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.cjs +0 -37
  1059. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.d.ts +0 -9
  1060. package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.mjs +0 -34
  1061. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.cjs +0 -39
  1062. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.d.ts +0 -15
  1063. package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.mjs +0 -35
  1064. package/node_modules/@discord/embedded-app-sdk/output/utils/console.cjs +0 -19
  1065. package/node_modules/@discord/embedded-app-sdk/output/utils/console.d.ts +0 -3
  1066. package/node_modules/@discord/embedded-app-sdk/output/utils/console.mjs +0 -16
  1067. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.cjs +0 -11
  1068. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.d.ts +0 -2
  1069. package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.mjs +0 -7
  1070. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.cjs +0 -153
  1071. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.d.ts +0 -17
  1072. package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.mjs +0 -150
  1073. package/node_modules/@discord/embedded-app-sdk/output/utils/url.cjs +0 -62
  1074. package/node_modules/@discord/embedded-app-sdk/output/utils/url.d.ts +0 -17
  1075. package/node_modules/@discord/embedded-app-sdk/output/utils/url.mjs +0 -59
  1076. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.cjs +0 -44
  1077. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.d.ts +0 -28
  1078. package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.mjs +0 -41
  1079. package/node_modules/@discord/embedded-app-sdk/package.json +0 -88
  1080. package/node_modules/@types/debug/LICENSE +0 -21
  1081. package/node_modules/@types/debug/README.md +0 -69
  1082. package/node_modules/@types/debug/index.d.ts +0 -50
  1083. package/node_modules/@types/debug/package.json +0 -58
  1084. package/node_modules/@types/lodash/LICENSE +0 -21
  1085. package/node_modules/@types/lodash/README.md +0 -15
  1086. package/node_modules/@types/lodash/add.d.ts +0 -2
  1087. package/node_modules/@types/lodash/after.d.ts +0 -2
  1088. package/node_modules/@types/lodash/ary.d.ts +0 -2
  1089. package/node_modules/@types/lodash/assign.d.ts +0 -2
  1090. package/node_modules/@types/lodash/assignIn.d.ts +0 -2
  1091. package/node_modules/@types/lodash/assignInWith.d.ts +0 -2
  1092. package/node_modules/@types/lodash/assignWith.d.ts +0 -2
  1093. package/node_modules/@types/lodash/at.d.ts +0 -2
  1094. package/node_modules/@types/lodash/attempt.d.ts +0 -2
  1095. package/node_modules/@types/lodash/before.d.ts +0 -2
  1096. package/node_modules/@types/lodash/bind.d.ts +0 -2
  1097. package/node_modules/@types/lodash/bindAll.d.ts +0 -2
  1098. package/node_modules/@types/lodash/bindKey.d.ts +0 -2
  1099. package/node_modules/@types/lodash/camelCase.d.ts +0 -2
  1100. package/node_modules/@types/lodash/capitalize.d.ts +0 -2
  1101. package/node_modules/@types/lodash/castArray.d.ts +0 -2
  1102. package/node_modules/@types/lodash/ceil.d.ts +0 -2
  1103. package/node_modules/@types/lodash/chain.d.ts +0 -2
  1104. package/node_modules/@types/lodash/chunk.d.ts +0 -2
  1105. package/node_modules/@types/lodash/clamp.d.ts +0 -2
  1106. package/node_modules/@types/lodash/clone.d.ts +0 -2
  1107. package/node_modules/@types/lodash/cloneDeep.d.ts +0 -2
  1108. package/node_modules/@types/lodash/cloneDeepWith.d.ts +0 -2
  1109. package/node_modules/@types/lodash/cloneWith.d.ts +0 -2
  1110. package/node_modules/@types/lodash/common/array.d.ts +0 -2160
  1111. package/node_modules/@types/lodash/common/collection.d.ts +0 -1938
  1112. package/node_modules/@types/lodash/common/common.d.ts +0 -287
  1113. package/node_modules/@types/lodash/common/date.d.ts +0 -23
  1114. package/node_modules/@types/lodash/common/function.d.ts +0 -1455
  1115. package/node_modules/@types/lodash/common/lang.d.ts +0 -1696
  1116. package/node_modules/@types/lodash/common/math.d.ts +0 -407
  1117. package/node_modules/@types/lodash/common/number.d.ts +0 -131
  1118. package/node_modules/@types/lodash/common/object.d.ts +0 -2643
  1119. package/node_modules/@types/lodash/common/seq.d.ts +0 -210
  1120. package/node_modules/@types/lodash/common/string.d.ts +0 -788
  1121. package/node_modules/@types/lodash/common/util.d.ts +0 -1220
  1122. package/node_modules/@types/lodash/compact.d.ts +0 -2
  1123. package/node_modules/@types/lodash/concat.d.ts +0 -2
  1124. package/node_modules/@types/lodash/cond.d.ts +0 -2
  1125. package/node_modules/@types/lodash/conformsTo.d.ts +0 -2
  1126. package/node_modules/@types/lodash/constant.d.ts +0 -2
  1127. package/node_modules/@types/lodash/countBy.d.ts +0 -2
  1128. package/node_modules/@types/lodash/create.d.ts +0 -2
  1129. package/node_modules/@types/lodash/curry.d.ts +0 -2
  1130. package/node_modules/@types/lodash/curryRight.d.ts +0 -2
  1131. package/node_modules/@types/lodash/debounce.d.ts +0 -2
  1132. package/node_modules/@types/lodash/deburr.d.ts +0 -2
  1133. package/node_modules/@types/lodash/defaultTo.d.ts +0 -2
  1134. package/node_modules/@types/lodash/defaults.d.ts +0 -2
  1135. package/node_modules/@types/lodash/defaultsDeep.d.ts +0 -2
  1136. package/node_modules/@types/lodash/defer.d.ts +0 -2
  1137. package/node_modules/@types/lodash/delay.d.ts +0 -2
  1138. package/node_modules/@types/lodash/difference.d.ts +0 -2
  1139. package/node_modules/@types/lodash/differenceBy.d.ts +0 -2
  1140. package/node_modules/@types/lodash/differenceWith.d.ts +0 -2
  1141. package/node_modules/@types/lodash/divide.d.ts +0 -2
  1142. package/node_modules/@types/lodash/drop.d.ts +0 -2
  1143. package/node_modules/@types/lodash/dropRight.d.ts +0 -2
  1144. package/node_modules/@types/lodash/dropRightWhile.d.ts +0 -2
  1145. package/node_modules/@types/lodash/dropWhile.d.ts +0 -2
  1146. package/node_modules/@types/lodash/each.d.ts +0 -2
  1147. package/node_modules/@types/lodash/eachRight.d.ts +0 -2
  1148. package/node_modules/@types/lodash/endsWith.d.ts +0 -2
  1149. package/node_modules/@types/lodash/entries.d.ts +0 -2
  1150. package/node_modules/@types/lodash/entriesIn.d.ts +0 -2
  1151. package/node_modules/@types/lodash/eq.d.ts +0 -2
  1152. package/node_modules/@types/lodash/escape.d.ts +0 -2
  1153. package/node_modules/@types/lodash/escapeRegExp.d.ts +0 -2
  1154. package/node_modules/@types/lodash/every.d.ts +0 -2
  1155. package/node_modules/@types/lodash/extend.d.ts +0 -2
  1156. package/node_modules/@types/lodash/extendWith.d.ts +0 -2
  1157. package/node_modules/@types/lodash/fill.d.ts +0 -2
  1158. package/node_modules/@types/lodash/filter.d.ts +0 -2
  1159. package/node_modules/@types/lodash/find.d.ts +0 -2
  1160. package/node_modules/@types/lodash/findIndex.d.ts +0 -2
  1161. package/node_modules/@types/lodash/findKey.d.ts +0 -2
  1162. package/node_modules/@types/lodash/findLast.d.ts +0 -2
  1163. package/node_modules/@types/lodash/findLastIndex.d.ts +0 -2
  1164. package/node_modules/@types/lodash/findLastKey.d.ts +0 -2
  1165. package/node_modules/@types/lodash/first.d.ts +0 -2
  1166. package/node_modules/@types/lodash/flatMap.d.ts +0 -2
  1167. package/node_modules/@types/lodash/flatMapDeep.d.ts +0 -2
  1168. package/node_modules/@types/lodash/flatMapDepth.d.ts +0 -2
  1169. package/node_modules/@types/lodash/flatten.d.ts +0 -2
  1170. package/node_modules/@types/lodash/flattenDeep.d.ts +0 -2
  1171. package/node_modules/@types/lodash/flattenDepth.d.ts +0 -2
  1172. package/node_modules/@types/lodash/flip.d.ts +0 -2
  1173. package/node_modules/@types/lodash/floor.d.ts +0 -2
  1174. package/node_modules/@types/lodash/flow.d.ts +0 -2
  1175. package/node_modules/@types/lodash/flowRight.d.ts +0 -2
  1176. package/node_modules/@types/lodash/forEach.d.ts +0 -2
  1177. package/node_modules/@types/lodash/forEachRight.d.ts +0 -2
  1178. package/node_modules/@types/lodash/forIn.d.ts +0 -2
  1179. package/node_modules/@types/lodash/forInRight.d.ts +0 -2
  1180. package/node_modules/@types/lodash/forOwn.d.ts +0 -2
  1181. package/node_modules/@types/lodash/forOwnRight.d.ts +0 -2
  1182. package/node_modules/@types/lodash/fp/F.d.ts +0 -2
  1183. package/node_modules/@types/lodash/fp/T.d.ts +0 -2
  1184. package/node_modules/@types/lodash/fp/__.d.ts +0 -3
  1185. package/node_modules/@types/lodash/fp/add.d.ts +0 -2
  1186. package/node_modules/@types/lodash/fp/after.d.ts +0 -2
  1187. package/node_modules/@types/lodash/fp/all.d.ts +0 -2
  1188. package/node_modules/@types/lodash/fp/allPass.d.ts +0 -2
  1189. package/node_modules/@types/lodash/fp/always.d.ts +0 -2
  1190. package/node_modules/@types/lodash/fp/any.d.ts +0 -2
  1191. package/node_modules/@types/lodash/fp/anyPass.d.ts +0 -2
  1192. package/node_modules/@types/lodash/fp/apply.d.ts +0 -2
  1193. package/node_modules/@types/lodash/fp/ary.d.ts +0 -2
  1194. package/node_modules/@types/lodash/fp/assign.d.ts +0 -2
  1195. package/node_modules/@types/lodash/fp/assignAll.d.ts +0 -2
  1196. package/node_modules/@types/lodash/fp/assignAllWith.d.ts +0 -2
  1197. package/node_modules/@types/lodash/fp/assignIn.d.ts +0 -2
  1198. package/node_modules/@types/lodash/fp/assignInAll.d.ts +0 -2
  1199. package/node_modules/@types/lodash/fp/assignInAllWith.d.ts +0 -2
  1200. package/node_modules/@types/lodash/fp/assignInWith.d.ts +0 -2
  1201. package/node_modules/@types/lodash/fp/assignWith.d.ts +0 -2
  1202. package/node_modules/@types/lodash/fp/assoc.d.ts +0 -2
  1203. package/node_modules/@types/lodash/fp/assocPath.d.ts +0 -2
  1204. package/node_modules/@types/lodash/fp/at.d.ts +0 -2
  1205. package/node_modules/@types/lodash/fp/attempt.d.ts +0 -2
  1206. package/node_modules/@types/lodash/fp/before.d.ts +0 -2
  1207. package/node_modules/@types/lodash/fp/bind.d.ts +0 -2
  1208. package/node_modules/@types/lodash/fp/bindAll.d.ts +0 -2
  1209. package/node_modules/@types/lodash/fp/bindKey.d.ts +0 -2
  1210. package/node_modules/@types/lodash/fp/camelCase.d.ts +0 -2
  1211. package/node_modules/@types/lodash/fp/capitalize.d.ts +0 -2
  1212. package/node_modules/@types/lodash/fp/castArray.d.ts +0 -2
  1213. package/node_modules/@types/lodash/fp/ceil.d.ts +0 -2
  1214. package/node_modules/@types/lodash/fp/chunk.d.ts +0 -2
  1215. package/node_modules/@types/lodash/fp/clamp.d.ts +0 -2
  1216. package/node_modules/@types/lodash/fp/clone.d.ts +0 -2
  1217. package/node_modules/@types/lodash/fp/cloneDeep.d.ts +0 -2
  1218. package/node_modules/@types/lodash/fp/cloneDeepWith.d.ts +0 -2
  1219. package/node_modules/@types/lodash/fp/cloneWith.d.ts +0 -2
  1220. package/node_modules/@types/lodash/fp/compact.d.ts +0 -2
  1221. package/node_modules/@types/lodash/fp/complement.d.ts +0 -2
  1222. package/node_modules/@types/lodash/fp/compose.d.ts +0 -2
  1223. package/node_modules/@types/lodash/fp/concat.d.ts +0 -2
  1224. package/node_modules/@types/lodash/fp/cond.d.ts +0 -2
  1225. package/node_modules/@types/lodash/fp/conforms.d.ts +0 -2
  1226. package/node_modules/@types/lodash/fp/conformsTo.d.ts +0 -2
  1227. package/node_modules/@types/lodash/fp/constant.d.ts +0 -2
  1228. package/node_modules/@types/lodash/fp/contains.d.ts +0 -2
  1229. package/node_modules/@types/lodash/fp/convert.d.ts +0 -15
  1230. package/node_modules/@types/lodash/fp/countBy.d.ts +0 -2
  1231. package/node_modules/@types/lodash/fp/create.d.ts +0 -2
  1232. package/node_modules/@types/lodash/fp/curry.d.ts +0 -2
  1233. package/node_modules/@types/lodash/fp/curryN.d.ts +0 -2
  1234. package/node_modules/@types/lodash/fp/curryRight.d.ts +0 -2
  1235. package/node_modules/@types/lodash/fp/curryRightN.d.ts +0 -2
  1236. package/node_modules/@types/lodash/fp/debounce.d.ts +0 -2
  1237. package/node_modules/@types/lodash/fp/deburr.d.ts +0 -2
  1238. package/node_modules/@types/lodash/fp/defaultTo.d.ts +0 -2
  1239. package/node_modules/@types/lodash/fp/defaults.d.ts +0 -2
  1240. package/node_modules/@types/lodash/fp/defaultsAll.d.ts +0 -2
  1241. package/node_modules/@types/lodash/fp/defaultsDeep.d.ts +0 -2
  1242. package/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts +0 -2
  1243. package/node_modules/@types/lodash/fp/defer.d.ts +0 -2
  1244. package/node_modules/@types/lodash/fp/delay.d.ts +0 -2
  1245. package/node_modules/@types/lodash/fp/difference.d.ts +0 -2
  1246. package/node_modules/@types/lodash/fp/differenceBy.d.ts +0 -2
  1247. package/node_modules/@types/lodash/fp/differenceWith.d.ts +0 -2
  1248. package/node_modules/@types/lodash/fp/dissoc.d.ts +0 -2
  1249. package/node_modules/@types/lodash/fp/dissocPath.d.ts +0 -2
  1250. package/node_modules/@types/lodash/fp/divide.d.ts +0 -2
  1251. package/node_modules/@types/lodash/fp/drop.d.ts +0 -2
  1252. package/node_modules/@types/lodash/fp/dropLast.d.ts +0 -2
  1253. package/node_modules/@types/lodash/fp/dropLastWhile.d.ts +0 -2
  1254. package/node_modules/@types/lodash/fp/dropRight.d.ts +0 -2
  1255. package/node_modules/@types/lodash/fp/dropRightWhile.d.ts +0 -2
  1256. package/node_modules/@types/lodash/fp/dropWhile.d.ts +0 -2
  1257. package/node_modules/@types/lodash/fp/each.d.ts +0 -2
  1258. package/node_modules/@types/lodash/fp/eachRight.d.ts +0 -2
  1259. package/node_modules/@types/lodash/fp/endsWith.d.ts +0 -2
  1260. package/node_modules/@types/lodash/fp/entries.d.ts +0 -2
  1261. package/node_modules/@types/lodash/fp/entriesIn.d.ts +0 -2
  1262. package/node_modules/@types/lodash/fp/eq.d.ts +0 -2
  1263. package/node_modules/@types/lodash/fp/equals.d.ts +0 -2
  1264. package/node_modules/@types/lodash/fp/escape.d.ts +0 -2
  1265. package/node_modules/@types/lodash/fp/escapeRegExp.d.ts +0 -2
  1266. package/node_modules/@types/lodash/fp/every.d.ts +0 -2
  1267. package/node_modules/@types/lodash/fp/extend.d.ts +0 -2
  1268. package/node_modules/@types/lodash/fp/extendAll.d.ts +0 -2
  1269. package/node_modules/@types/lodash/fp/extendAllWith.d.ts +0 -2
  1270. package/node_modules/@types/lodash/fp/extendWith.d.ts +0 -2
  1271. package/node_modules/@types/lodash/fp/fill.d.ts +0 -2
  1272. package/node_modules/@types/lodash/fp/filter.d.ts +0 -2
  1273. package/node_modules/@types/lodash/fp/find.d.ts +0 -2
  1274. package/node_modules/@types/lodash/fp/findFrom.d.ts +0 -2
  1275. package/node_modules/@types/lodash/fp/findIndex.d.ts +0 -2
  1276. package/node_modules/@types/lodash/fp/findIndexFrom.d.ts +0 -2
  1277. package/node_modules/@types/lodash/fp/findKey.d.ts +0 -2
  1278. package/node_modules/@types/lodash/fp/findLast.d.ts +0 -2
  1279. package/node_modules/@types/lodash/fp/findLastFrom.d.ts +0 -2
  1280. package/node_modules/@types/lodash/fp/findLastIndex.d.ts +0 -2
  1281. package/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts +0 -2
  1282. package/node_modules/@types/lodash/fp/findLastKey.d.ts +0 -2
  1283. package/node_modules/@types/lodash/fp/first.d.ts +0 -2
  1284. package/node_modules/@types/lodash/fp/flatMap.d.ts +0 -2
  1285. package/node_modules/@types/lodash/fp/flatMapDeep.d.ts +0 -2
  1286. package/node_modules/@types/lodash/fp/flatMapDepth.d.ts +0 -2
  1287. package/node_modules/@types/lodash/fp/flatten.d.ts +0 -2
  1288. package/node_modules/@types/lodash/fp/flattenDeep.d.ts +0 -2
  1289. package/node_modules/@types/lodash/fp/flattenDepth.d.ts +0 -2
  1290. package/node_modules/@types/lodash/fp/flip.d.ts +0 -2
  1291. package/node_modules/@types/lodash/fp/floor.d.ts +0 -2
  1292. package/node_modules/@types/lodash/fp/flow.d.ts +0 -2
  1293. package/node_modules/@types/lodash/fp/flowRight.d.ts +0 -2
  1294. package/node_modules/@types/lodash/fp/forEach.d.ts +0 -2
  1295. package/node_modules/@types/lodash/fp/forEachRight.d.ts +0 -2
  1296. package/node_modules/@types/lodash/fp/forIn.d.ts +0 -2
  1297. package/node_modules/@types/lodash/fp/forInRight.d.ts +0 -2
  1298. package/node_modules/@types/lodash/fp/forOwn.d.ts +0 -2
  1299. package/node_modules/@types/lodash/fp/forOwnRight.d.ts +0 -2
  1300. package/node_modules/@types/lodash/fp/fromPairs.d.ts +0 -2
  1301. package/node_modules/@types/lodash/fp/functions.d.ts +0 -2
  1302. package/node_modules/@types/lodash/fp/functionsIn.d.ts +0 -2
  1303. package/node_modules/@types/lodash/fp/get.d.ts +0 -2
  1304. package/node_modules/@types/lodash/fp/getOr.d.ts +0 -2
  1305. package/node_modules/@types/lodash/fp/groupBy.d.ts +0 -2
  1306. package/node_modules/@types/lodash/fp/gt.d.ts +0 -2
  1307. package/node_modules/@types/lodash/fp/gte.d.ts +0 -2
  1308. package/node_modules/@types/lodash/fp/has.d.ts +0 -2
  1309. package/node_modules/@types/lodash/fp/hasIn.d.ts +0 -2
  1310. package/node_modules/@types/lodash/fp/head.d.ts +0 -2
  1311. package/node_modules/@types/lodash/fp/identical.d.ts +0 -2
  1312. package/node_modules/@types/lodash/fp/identity.d.ts +0 -2
  1313. package/node_modules/@types/lodash/fp/inRange.d.ts +0 -2
  1314. package/node_modules/@types/lodash/fp/includes.d.ts +0 -2
  1315. package/node_modules/@types/lodash/fp/includesFrom.d.ts +0 -2
  1316. package/node_modules/@types/lodash/fp/indexBy.d.ts +0 -2
  1317. package/node_modules/@types/lodash/fp/indexOf.d.ts +0 -2
  1318. package/node_modules/@types/lodash/fp/indexOfFrom.d.ts +0 -2
  1319. package/node_modules/@types/lodash/fp/init.d.ts +0 -2
  1320. package/node_modules/@types/lodash/fp/initial.d.ts +0 -2
  1321. package/node_modules/@types/lodash/fp/intersection.d.ts +0 -2
  1322. package/node_modules/@types/lodash/fp/intersectionBy.d.ts +0 -2
  1323. package/node_modules/@types/lodash/fp/intersectionWith.d.ts +0 -2
  1324. package/node_modules/@types/lodash/fp/invert.d.ts +0 -2
  1325. package/node_modules/@types/lodash/fp/invertBy.d.ts +0 -2
  1326. package/node_modules/@types/lodash/fp/invertObj.d.ts +0 -2
  1327. package/node_modules/@types/lodash/fp/invoke.d.ts +0 -2
  1328. package/node_modules/@types/lodash/fp/invokeArgs.d.ts +0 -2
  1329. package/node_modules/@types/lodash/fp/invokeArgsMap.d.ts +0 -2
  1330. package/node_modules/@types/lodash/fp/invokeMap.d.ts +0 -2
  1331. package/node_modules/@types/lodash/fp/isArguments.d.ts +0 -2
  1332. package/node_modules/@types/lodash/fp/isArray.d.ts +0 -2
  1333. package/node_modules/@types/lodash/fp/isArrayBuffer.d.ts +0 -2
  1334. package/node_modules/@types/lodash/fp/isArrayLike.d.ts +0 -2
  1335. package/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts +0 -2
  1336. package/node_modules/@types/lodash/fp/isBoolean.d.ts +0 -2
  1337. package/node_modules/@types/lodash/fp/isBuffer.d.ts +0 -2
  1338. package/node_modules/@types/lodash/fp/isDate.d.ts +0 -2
  1339. package/node_modules/@types/lodash/fp/isElement.d.ts +0 -2
  1340. package/node_modules/@types/lodash/fp/isEmpty.d.ts +0 -2
  1341. package/node_modules/@types/lodash/fp/isEqual.d.ts +0 -2
  1342. package/node_modules/@types/lodash/fp/isEqualWith.d.ts +0 -2
  1343. package/node_modules/@types/lodash/fp/isError.d.ts +0 -2
  1344. package/node_modules/@types/lodash/fp/isFinite.d.ts +0 -2
  1345. package/node_modules/@types/lodash/fp/isFunction.d.ts +0 -2
  1346. package/node_modules/@types/lodash/fp/isInteger.d.ts +0 -2
  1347. package/node_modules/@types/lodash/fp/isLength.d.ts +0 -2
  1348. package/node_modules/@types/lodash/fp/isMap.d.ts +0 -2
  1349. package/node_modules/@types/lodash/fp/isMatch.d.ts +0 -2
  1350. package/node_modules/@types/lodash/fp/isMatchWith.d.ts +0 -2
  1351. package/node_modules/@types/lodash/fp/isNaN.d.ts +0 -2
  1352. package/node_modules/@types/lodash/fp/isNative.d.ts +0 -2
  1353. package/node_modules/@types/lodash/fp/isNil.d.ts +0 -2
  1354. package/node_modules/@types/lodash/fp/isNull.d.ts +0 -2
  1355. package/node_modules/@types/lodash/fp/isNumber.d.ts +0 -2
  1356. package/node_modules/@types/lodash/fp/isObject.d.ts +0 -2
  1357. package/node_modules/@types/lodash/fp/isObjectLike.d.ts +0 -2
  1358. package/node_modules/@types/lodash/fp/isPlainObject.d.ts +0 -2
  1359. package/node_modules/@types/lodash/fp/isRegExp.d.ts +0 -2
  1360. package/node_modules/@types/lodash/fp/isSafeInteger.d.ts +0 -2
  1361. package/node_modules/@types/lodash/fp/isSet.d.ts +0 -2
  1362. package/node_modules/@types/lodash/fp/isString.d.ts +0 -2
  1363. package/node_modules/@types/lodash/fp/isSymbol.d.ts +0 -2
  1364. package/node_modules/@types/lodash/fp/isTypedArray.d.ts +0 -2
  1365. package/node_modules/@types/lodash/fp/isUndefined.d.ts +0 -2
  1366. package/node_modules/@types/lodash/fp/isWeakMap.d.ts +0 -2
  1367. package/node_modules/@types/lodash/fp/isWeakSet.d.ts +0 -2
  1368. package/node_modules/@types/lodash/fp/iteratee.d.ts +0 -2
  1369. package/node_modules/@types/lodash/fp/join.d.ts +0 -2
  1370. package/node_modules/@types/lodash/fp/juxt.d.ts +0 -2
  1371. package/node_modules/@types/lodash/fp/kebabCase.d.ts +0 -2
  1372. package/node_modules/@types/lodash/fp/keyBy.d.ts +0 -2
  1373. package/node_modules/@types/lodash/fp/keys.d.ts +0 -2
  1374. package/node_modules/@types/lodash/fp/keysIn.d.ts +0 -2
  1375. package/node_modules/@types/lodash/fp/last.d.ts +0 -2
  1376. package/node_modules/@types/lodash/fp/lastIndexOf.d.ts +0 -2
  1377. package/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts +0 -2
  1378. package/node_modules/@types/lodash/fp/lowerCase.d.ts +0 -2
  1379. package/node_modules/@types/lodash/fp/lowerFirst.d.ts +0 -2
  1380. package/node_modules/@types/lodash/fp/lt.d.ts +0 -2
  1381. package/node_modules/@types/lodash/fp/lte.d.ts +0 -2
  1382. package/node_modules/@types/lodash/fp/map.d.ts +0 -2
  1383. package/node_modules/@types/lodash/fp/mapKeys.d.ts +0 -2
  1384. package/node_modules/@types/lodash/fp/mapValues.d.ts +0 -2
  1385. package/node_modules/@types/lodash/fp/matches.d.ts +0 -2
  1386. package/node_modules/@types/lodash/fp/matchesProperty.d.ts +0 -2
  1387. package/node_modules/@types/lodash/fp/max.d.ts +0 -2
  1388. package/node_modules/@types/lodash/fp/maxBy.d.ts +0 -2
  1389. package/node_modules/@types/lodash/fp/mean.d.ts +0 -2
  1390. package/node_modules/@types/lodash/fp/meanBy.d.ts +0 -2
  1391. package/node_modules/@types/lodash/fp/memoize.d.ts +0 -2
  1392. package/node_modules/@types/lodash/fp/merge.d.ts +0 -2
  1393. package/node_modules/@types/lodash/fp/mergeAll.d.ts +0 -2
  1394. package/node_modules/@types/lodash/fp/mergeAllWith.d.ts +0 -2
  1395. package/node_modules/@types/lodash/fp/mergeWith.d.ts +0 -2
  1396. package/node_modules/@types/lodash/fp/method.d.ts +0 -2
  1397. package/node_modules/@types/lodash/fp/methodOf.d.ts +0 -2
  1398. package/node_modules/@types/lodash/fp/min.d.ts +0 -2
  1399. package/node_modules/@types/lodash/fp/minBy.d.ts +0 -2
  1400. package/node_modules/@types/lodash/fp/multiply.d.ts +0 -2
  1401. package/node_modules/@types/lodash/fp/nAry.d.ts +0 -2
  1402. package/node_modules/@types/lodash/fp/negate.d.ts +0 -2
  1403. package/node_modules/@types/lodash/fp/noConflict.d.ts +0 -2
  1404. package/node_modules/@types/lodash/fp/noop.d.ts +0 -2
  1405. package/node_modules/@types/lodash/fp/now.d.ts +0 -2
  1406. package/node_modules/@types/lodash/fp/nth.d.ts +0 -2
  1407. package/node_modules/@types/lodash/fp/nthArg.d.ts +0 -2
  1408. package/node_modules/@types/lodash/fp/omit.d.ts +0 -2
  1409. package/node_modules/@types/lodash/fp/omitAll.d.ts +0 -2
  1410. package/node_modules/@types/lodash/fp/omitBy.d.ts +0 -2
  1411. package/node_modules/@types/lodash/fp/once.d.ts +0 -2
  1412. package/node_modules/@types/lodash/fp/orderBy.d.ts +0 -2
  1413. package/node_modules/@types/lodash/fp/over.d.ts +0 -2
  1414. package/node_modules/@types/lodash/fp/overArgs.d.ts +0 -2
  1415. package/node_modules/@types/lodash/fp/overEvery.d.ts +0 -2
  1416. package/node_modules/@types/lodash/fp/overSome.d.ts +0 -2
  1417. package/node_modules/@types/lodash/fp/pad.d.ts +0 -2
  1418. package/node_modules/@types/lodash/fp/padChars.d.ts +0 -2
  1419. package/node_modules/@types/lodash/fp/padCharsEnd.d.ts +0 -2
  1420. package/node_modules/@types/lodash/fp/padCharsStart.d.ts +0 -2
  1421. package/node_modules/@types/lodash/fp/padEnd.d.ts +0 -2
  1422. package/node_modules/@types/lodash/fp/padStart.d.ts +0 -2
  1423. package/node_modules/@types/lodash/fp/parseInt.d.ts +0 -2
  1424. package/node_modules/@types/lodash/fp/partial.d.ts +0 -2
  1425. package/node_modules/@types/lodash/fp/partialRight.d.ts +0 -2
  1426. package/node_modules/@types/lodash/fp/partition.d.ts +0 -2
  1427. package/node_modules/@types/lodash/fp/path.d.ts +0 -2
  1428. package/node_modules/@types/lodash/fp/pathEq.d.ts +0 -2
  1429. package/node_modules/@types/lodash/fp/pathOr.d.ts +0 -2
  1430. package/node_modules/@types/lodash/fp/paths.d.ts +0 -2
  1431. package/node_modules/@types/lodash/fp/pick.d.ts +0 -2
  1432. package/node_modules/@types/lodash/fp/pickAll.d.ts +0 -2
  1433. package/node_modules/@types/lodash/fp/pickBy.d.ts +0 -2
  1434. package/node_modules/@types/lodash/fp/pipe.d.ts +0 -2
  1435. package/node_modules/@types/lodash/fp/placeholder.d.ts +0 -3
  1436. package/node_modules/@types/lodash/fp/pluck.d.ts +0 -2
  1437. package/node_modules/@types/lodash/fp/prop.d.ts +0 -2
  1438. package/node_modules/@types/lodash/fp/propEq.d.ts +0 -2
  1439. package/node_modules/@types/lodash/fp/propOr.d.ts +0 -2
  1440. package/node_modules/@types/lodash/fp/property.d.ts +0 -2
  1441. package/node_modules/@types/lodash/fp/propertyOf.d.ts +0 -2
  1442. package/node_modules/@types/lodash/fp/props.d.ts +0 -2
  1443. package/node_modules/@types/lodash/fp/pull.d.ts +0 -2
  1444. package/node_modules/@types/lodash/fp/pullAll.d.ts +0 -2
  1445. package/node_modules/@types/lodash/fp/pullAllBy.d.ts +0 -2
  1446. package/node_modules/@types/lodash/fp/pullAllWith.d.ts +0 -2
  1447. package/node_modules/@types/lodash/fp/pullAt.d.ts +0 -2
  1448. package/node_modules/@types/lodash/fp/random.d.ts +0 -2
  1449. package/node_modules/@types/lodash/fp/range.d.ts +0 -2
  1450. package/node_modules/@types/lodash/fp/rangeRight.d.ts +0 -2
  1451. package/node_modules/@types/lodash/fp/rangeStep.d.ts +0 -2
  1452. package/node_modules/@types/lodash/fp/rangeStepRight.d.ts +0 -2
  1453. package/node_modules/@types/lodash/fp/rearg.d.ts +0 -2
  1454. package/node_modules/@types/lodash/fp/reduce.d.ts +0 -2
  1455. package/node_modules/@types/lodash/fp/reduceRight.d.ts +0 -2
  1456. package/node_modules/@types/lodash/fp/reject.d.ts +0 -2
  1457. package/node_modules/@types/lodash/fp/remove.d.ts +0 -2
  1458. package/node_modules/@types/lodash/fp/repeat.d.ts +0 -2
  1459. package/node_modules/@types/lodash/fp/replace.d.ts +0 -2
  1460. package/node_modules/@types/lodash/fp/rest.d.ts +0 -2
  1461. package/node_modules/@types/lodash/fp/restFrom.d.ts +0 -2
  1462. package/node_modules/@types/lodash/fp/result.d.ts +0 -2
  1463. package/node_modules/@types/lodash/fp/reverse.d.ts +0 -2
  1464. package/node_modules/@types/lodash/fp/round.d.ts +0 -2
  1465. package/node_modules/@types/lodash/fp/runInContext.d.ts +0 -2
  1466. package/node_modules/@types/lodash/fp/sample.d.ts +0 -2
  1467. package/node_modules/@types/lodash/fp/sampleSize.d.ts +0 -2
  1468. package/node_modules/@types/lodash/fp/set.d.ts +0 -2
  1469. package/node_modules/@types/lodash/fp/setWith.d.ts +0 -2
  1470. package/node_modules/@types/lodash/fp/shuffle.d.ts +0 -2
  1471. package/node_modules/@types/lodash/fp/size.d.ts +0 -2
  1472. package/node_modules/@types/lodash/fp/slice.d.ts +0 -2
  1473. package/node_modules/@types/lodash/fp/snakeCase.d.ts +0 -2
  1474. package/node_modules/@types/lodash/fp/some.d.ts +0 -2
  1475. package/node_modules/@types/lodash/fp/sortBy.d.ts +0 -2
  1476. package/node_modules/@types/lodash/fp/sortedIndex.d.ts +0 -2
  1477. package/node_modules/@types/lodash/fp/sortedIndexBy.d.ts +0 -2
  1478. package/node_modules/@types/lodash/fp/sortedIndexOf.d.ts +0 -2
  1479. package/node_modules/@types/lodash/fp/sortedLastIndex.d.ts +0 -2
  1480. package/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts +0 -2
  1481. package/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts +0 -2
  1482. package/node_modules/@types/lodash/fp/sortedUniq.d.ts +0 -2
  1483. package/node_modules/@types/lodash/fp/sortedUniqBy.d.ts +0 -2
  1484. package/node_modules/@types/lodash/fp/split.d.ts +0 -2
  1485. package/node_modules/@types/lodash/fp/spread.d.ts +0 -2
  1486. package/node_modules/@types/lodash/fp/spreadFrom.d.ts +0 -2
  1487. package/node_modules/@types/lodash/fp/startCase.d.ts +0 -2
  1488. package/node_modules/@types/lodash/fp/startsWith.d.ts +0 -2
  1489. package/node_modules/@types/lodash/fp/stubArray.d.ts +0 -2
  1490. package/node_modules/@types/lodash/fp/stubFalse.d.ts +0 -2
  1491. package/node_modules/@types/lodash/fp/stubObject.d.ts +0 -2
  1492. package/node_modules/@types/lodash/fp/stubString.d.ts +0 -2
  1493. package/node_modules/@types/lodash/fp/stubTrue.d.ts +0 -2
  1494. package/node_modules/@types/lodash/fp/subtract.d.ts +0 -2
  1495. package/node_modules/@types/lodash/fp/sum.d.ts +0 -2
  1496. package/node_modules/@types/lodash/fp/sumBy.d.ts +0 -2
  1497. package/node_modules/@types/lodash/fp/symmetricDifference.d.ts +0 -2
  1498. package/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts +0 -2
  1499. package/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts +0 -2
  1500. package/node_modules/@types/lodash/fp/tail.d.ts +0 -2
  1501. package/node_modules/@types/lodash/fp/take.d.ts +0 -2
  1502. package/node_modules/@types/lodash/fp/takeLast.d.ts +0 -2
  1503. package/node_modules/@types/lodash/fp/takeLastWhile.d.ts +0 -2
  1504. package/node_modules/@types/lodash/fp/takeRight.d.ts +0 -2
  1505. package/node_modules/@types/lodash/fp/takeRightWhile.d.ts +0 -2
  1506. package/node_modules/@types/lodash/fp/takeWhile.d.ts +0 -2
  1507. package/node_modules/@types/lodash/fp/tap.d.ts +0 -2
  1508. package/node_modules/@types/lodash/fp/template.d.ts +0 -2
  1509. package/node_modules/@types/lodash/fp/throttle.d.ts +0 -2
  1510. package/node_modules/@types/lodash/fp/thru.d.ts +0 -2
  1511. package/node_modules/@types/lodash/fp/times.d.ts +0 -2
  1512. package/node_modules/@types/lodash/fp/toArray.d.ts +0 -2
  1513. package/node_modules/@types/lodash/fp/toFinite.d.ts +0 -2
  1514. package/node_modules/@types/lodash/fp/toInteger.d.ts +0 -2
  1515. package/node_modules/@types/lodash/fp/toLength.d.ts +0 -2
  1516. package/node_modules/@types/lodash/fp/toLower.d.ts +0 -2
  1517. package/node_modules/@types/lodash/fp/toNumber.d.ts +0 -2
  1518. package/node_modules/@types/lodash/fp/toPairs.d.ts +0 -2
  1519. package/node_modules/@types/lodash/fp/toPairsIn.d.ts +0 -2
  1520. package/node_modules/@types/lodash/fp/toPath.d.ts +0 -2
  1521. package/node_modules/@types/lodash/fp/toPlainObject.d.ts +0 -2
  1522. package/node_modules/@types/lodash/fp/toSafeInteger.d.ts +0 -2
  1523. package/node_modules/@types/lodash/fp/toString.d.ts +0 -2
  1524. package/node_modules/@types/lodash/fp/toUpper.d.ts +0 -2
  1525. package/node_modules/@types/lodash/fp/transform.d.ts +0 -2
  1526. package/node_modules/@types/lodash/fp/trim.d.ts +0 -2
  1527. package/node_modules/@types/lodash/fp/trimChars.d.ts +0 -2
  1528. package/node_modules/@types/lodash/fp/trimCharsEnd.d.ts +0 -2
  1529. package/node_modules/@types/lodash/fp/trimCharsStart.d.ts +0 -2
  1530. package/node_modules/@types/lodash/fp/trimEnd.d.ts +0 -2
  1531. package/node_modules/@types/lodash/fp/trimStart.d.ts +0 -2
  1532. package/node_modules/@types/lodash/fp/truncate.d.ts +0 -2
  1533. package/node_modules/@types/lodash/fp/unapply.d.ts +0 -2
  1534. package/node_modules/@types/lodash/fp/unary.d.ts +0 -2
  1535. package/node_modules/@types/lodash/fp/unescape.d.ts +0 -2
  1536. package/node_modules/@types/lodash/fp/union.d.ts +0 -2
  1537. package/node_modules/@types/lodash/fp/unionBy.d.ts +0 -2
  1538. package/node_modules/@types/lodash/fp/unionWith.d.ts +0 -2
  1539. package/node_modules/@types/lodash/fp/uniq.d.ts +0 -2
  1540. package/node_modules/@types/lodash/fp/uniqBy.d.ts +0 -2
  1541. package/node_modules/@types/lodash/fp/uniqWith.d.ts +0 -2
  1542. package/node_modules/@types/lodash/fp/uniqueId.d.ts +0 -2
  1543. package/node_modules/@types/lodash/fp/unnest.d.ts +0 -2
  1544. package/node_modules/@types/lodash/fp/unset.d.ts +0 -2
  1545. package/node_modules/@types/lodash/fp/unzip.d.ts +0 -2
  1546. package/node_modules/@types/lodash/fp/unzipWith.d.ts +0 -2
  1547. package/node_modules/@types/lodash/fp/update.d.ts +0 -2
  1548. package/node_modules/@types/lodash/fp/updateWith.d.ts +0 -2
  1549. package/node_modules/@types/lodash/fp/upperCase.d.ts +0 -2
  1550. package/node_modules/@types/lodash/fp/upperFirst.d.ts +0 -2
  1551. package/node_modules/@types/lodash/fp/useWith.d.ts +0 -2
  1552. package/node_modules/@types/lodash/fp/values.d.ts +0 -2
  1553. package/node_modules/@types/lodash/fp/valuesIn.d.ts +0 -2
  1554. package/node_modules/@types/lodash/fp/where.d.ts +0 -2
  1555. package/node_modules/@types/lodash/fp/whereEq.d.ts +0 -2
  1556. package/node_modules/@types/lodash/fp/without.d.ts +0 -2
  1557. package/node_modules/@types/lodash/fp/words.d.ts +0 -2
  1558. package/node_modules/@types/lodash/fp/wrap.d.ts +0 -2
  1559. package/node_modules/@types/lodash/fp/xor.d.ts +0 -2
  1560. package/node_modules/@types/lodash/fp/xorBy.d.ts +0 -2
  1561. package/node_modules/@types/lodash/fp/xorWith.d.ts +0 -2
  1562. package/node_modules/@types/lodash/fp/zip.d.ts +0 -2
  1563. package/node_modules/@types/lodash/fp/zipAll.d.ts +0 -2
  1564. package/node_modules/@types/lodash/fp/zipObj.d.ts +0 -2
  1565. package/node_modules/@types/lodash/fp/zipObject.d.ts +0 -2
  1566. package/node_modules/@types/lodash/fp/zipObjectDeep.d.ts +0 -2
  1567. package/node_modules/@types/lodash/fp/zipWith.d.ts +0 -2
  1568. package/node_modules/@types/lodash/fp.d.ts +0 -4962
  1569. package/node_modules/@types/lodash/fromPairs.d.ts +0 -2
  1570. package/node_modules/@types/lodash/functions.d.ts +0 -2
  1571. package/node_modules/@types/lodash/functionsIn.d.ts +0 -2
  1572. package/node_modules/@types/lodash/get.d.ts +0 -2
  1573. package/node_modules/@types/lodash/groupBy.d.ts +0 -2
  1574. package/node_modules/@types/lodash/gt.d.ts +0 -2
  1575. package/node_modules/@types/lodash/gte.d.ts +0 -2
  1576. package/node_modules/@types/lodash/has.d.ts +0 -2
  1577. package/node_modules/@types/lodash/hasIn.d.ts +0 -2
  1578. package/node_modules/@types/lodash/head.d.ts +0 -2
  1579. package/node_modules/@types/lodash/identity.d.ts +0 -2
  1580. package/node_modules/@types/lodash/inRange.d.ts +0 -2
  1581. package/node_modules/@types/lodash/includes.d.ts +0 -2
  1582. package/node_modules/@types/lodash/index.d.ts +0 -21
  1583. package/node_modules/@types/lodash/indexOf.d.ts +0 -2
  1584. package/node_modules/@types/lodash/initial.d.ts +0 -2
  1585. package/node_modules/@types/lodash/intersection.d.ts +0 -2
  1586. package/node_modules/@types/lodash/intersectionBy.d.ts +0 -2
  1587. package/node_modules/@types/lodash/intersectionWith.d.ts +0 -2
  1588. package/node_modules/@types/lodash/invert.d.ts +0 -2
  1589. package/node_modules/@types/lodash/invertBy.d.ts +0 -2
  1590. package/node_modules/@types/lodash/invoke.d.ts +0 -2
  1591. package/node_modules/@types/lodash/invokeMap.d.ts +0 -2
  1592. package/node_modules/@types/lodash/isArguments.d.ts +0 -2
  1593. package/node_modules/@types/lodash/isArray.d.ts +0 -2
  1594. package/node_modules/@types/lodash/isArrayBuffer.d.ts +0 -2
  1595. package/node_modules/@types/lodash/isArrayLike.d.ts +0 -2
  1596. package/node_modules/@types/lodash/isArrayLikeObject.d.ts +0 -2
  1597. package/node_modules/@types/lodash/isBoolean.d.ts +0 -2
  1598. package/node_modules/@types/lodash/isBuffer.d.ts +0 -2
  1599. package/node_modules/@types/lodash/isDate.d.ts +0 -2
  1600. package/node_modules/@types/lodash/isElement.d.ts +0 -2
  1601. package/node_modules/@types/lodash/isEmpty.d.ts +0 -2
  1602. package/node_modules/@types/lodash/isEqual.d.ts +0 -2
  1603. package/node_modules/@types/lodash/isEqualWith.d.ts +0 -2
  1604. package/node_modules/@types/lodash/isError.d.ts +0 -2
  1605. package/node_modules/@types/lodash/isFinite.d.ts +0 -2
  1606. package/node_modules/@types/lodash/isFunction.d.ts +0 -2
  1607. package/node_modules/@types/lodash/isInteger.d.ts +0 -2
  1608. package/node_modules/@types/lodash/isLength.d.ts +0 -2
  1609. package/node_modules/@types/lodash/isMap.d.ts +0 -2
  1610. package/node_modules/@types/lodash/isMatch.d.ts +0 -2
  1611. package/node_modules/@types/lodash/isMatchWith.d.ts +0 -2
  1612. package/node_modules/@types/lodash/isNaN.d.ts +0 -2
  1613. package/node_modules/@types/lodash/isNative.d.ts +0 -2
  1614. package/node_modules/@types/lodash/isNil.d.ts +0 -2
  1615. package/node_modules/@types/lodash/isNull.d.ts +0 -2
  1616. package/node_modules/@types/lodash/isNumber.d.ts +0 -2
  1617. package/node_modules/@types/lodash/isObject.d.ts +0 -2
  1618. package/node_modules/@types/lodash/isObjectLike.d.ts +0 -2
  1619. package/node_modules/@types/lodash/isPlainObject.d.ts +0 -2
  1620. package/node_modules/@types/lodash/isRegExp.d.ts +0 -2
  1621. package/node_modules/@types/lodash/isSafeInteger.d.ts +0 -2
  1622. package/node_modules/@types/lodash/isSet.d.ts +0 -2
  1623. package/node_modules/@types/lodash/isString.d.ts +0 -2
  1624. package/node_modules/@types/lodash/isSymbol.d.ts +0 -2
  1625. package/node_modules/@types/lodash/isTypedArray.d.ts +0 -2
  1626. package/node_modules/@types/lodash/isUndefined.d.ts +0 -2
  1627. package/node_modules/@types/lodash/isWeakMap.d.ts +0 -2
  1628. package/node_modules/@types/lodash/isWeakSet.d.ts +0 -2
  1629. package/node_modules/@types/lodash/iteratee.d.ts +0 -2
  1630. package/node_modules/@types/lodash/join.d.ts +0 -2
  1631. package/node_modules/@types/lodash/kebabCase.d.ts +0 -2
  1632. package/node_modules/@types/lodash/keyBy.d.ts +0 -2
  1633. package/node_modules/@types/lodash/keys.d.ts +0 -2
  1634. package/node_modules/@types/lodash/keysIn.d.ts +0 -2
  1635. package/node_modules/@types/lodash/last.d.ts +0 -2
  1636. package/node_modules/@types/lodash/lastIndexOf.d.ts +0 -2
  1637. package/node_modules/@types/lodash/lowerCase.d.ts +0 -2
  1638. package/node_modules/@types/lodash/lowerFirst.d.ts +0 -2
  1639. package/node_modules/@types/lodash/lt.d.ts +0 -2
  1640. package/node_modules/@types/lodash/lte.d.ts +0 -2
  1641. package/node_modules/@types/lodash/map.d.ts +0 -2
  1642. package/node_modules/@types/lodash/mapKeys.d.ts +0 -2
  1643. package/node_modules/@types/lodash/mapValues.d.ts +0 -2
  1644. package/node_modules/@types/lodash/matches.d.ts +0 -2
  1645. package/node_modules/@types/lodash/matchesProperty.d.ts +0 -2
  1646. package/node_modules/@types/lodash/max.d.ts +0 -2
  1647. package/node_modules/@types/lodash/maxBy.d.ts +0 -2
  1648. package/node_modules/@types/lodash/mean.d.ts +0 -2
  1649. package/node_modules/@types/lodash/meanBy.d.ts +0 -2
  1650. package/node_modules/@types/lodash/memoize.d.ts +0 -2
  1651. package/node_modules/@types/lodash/merge.d.ts +0 -2
  1652. package/node_modules/@types/lodash/mergeWith.d.ts +0 -2
  1653. package/node_modules/@types/lodash/method.d.ts +0 -2
  1654. package/node_modules/@types/lodash/methodOf.d.ts +0 -2
  1655. package/node_modules/@types/lodash/min.d.ts +0 -2
  1656. package/node_modules/@types/lodash/minBy.d.ts +0 -2
  1657. package/node_modules/@types/lodash/mixin.d.ts +0 -2
  1658. package/node_modules/@types/lodash/multiply.d.ts +0 -2
  1659. package/node_modules/@types/lodash/negate.d.ts +0 -2
  1660. package/node_modules/@types/lodash/noConflict.d.ts +0 -2
  1661. package/node_modules/@types/lodash/noop.d.ts +0 -2
  1662. package/node_modules/@types/lodash/now.d.ts +0 -2
  1663. package/node_modules/@types/lodash/nth.d.ts +0 -2
  1664. package/node_modules/@types/lodash/nthArg.d.ts +0 -2
  1665. package/node_modules/@types/lodash/omit.d.ts +0 -2
  1666. package/node_modules/@types/lodash/omitBy.d.ts +0 -2
  1667. package/node_modules/@types/lodash/once.d.ts +0 -2
  1668. package/node_modules/@types/lodash/orderBy.d.ts +0 -2
  1669. package/node_modules/@types/lodash/over.d.ts +0 -2
  1670. package/node_modules/@types/lodash/overArgs.d.ts +0 -2
  1671. package/node_modules/@types/lodash/overEvery.d.ts +0 -2
  1672. package/node_modules/@types/lodash/overSome.d.ts +0 -2
  1673. package/node_modules/@types/lodash/package.json +0 -56
  1674. package/node_modules/@types/lodash/pad.d.ts +0 -2
  1675. package/node_modules/@types/lodash/padEnd.d.ts +0 -2
  1676. package/node_modules/@types/lodash/padStart.d.ts +0 -2
  1677. package/node_modules/@types/lodash/parseInt.d.ts +0 -2
  1678. package/node_modules/@types/lodash/partial.d.ts +0 -2
  1679. package/node_modules/@types/lodash/partialRight.d.ts +0 -2
  1680. package/node_modules/@types/lodash/partition.d.ts +0 -2
  1681. package/node_modules/@types/lodash/pick.d.ts +0 -2
  1682. package/node_modules/@types/lodash/pickBy.d.ts +0 -2
  1683. package/node_modules/@types/lodash/property.d.ts +0 -2
  1684. package/node_modules/@types/lodash/propertyOf.d.ts +0 -2
  1685. package/node_modules/@types/lodash/pull.d.ts +0 -2
  1686. package/node_modules/@types/lodash/pullAll.d.ts +0 -2
  1687. package/node_modules/@types/lodash/pullAllBy.d.ts +0 -2
  1688. package/node_modules/@types/lodash/pullAllWith.d.ts +0 -2
  1689. package/node_modules/@types/lodash/pullAt.d.ts +0 -2
  1690. package/node_modules/@types/lodash/random.d.ts +0 -2
  1691. package/node_modules/@types/lodash/range.d.ts +0 -2
  1692. package/node_modules/@types/lodash/rangeRight.d.ts +0 -2
  1693. package/node_modules/@types/lodash/rearg.d.ts +0 -2
  1694. package/node_modules/@types/lodash/reduce.d.ts +0 -2
  1695. package/node_modules/@types/lodash/reduceRight.d.ts +0 -2
  1696. package/node_modules/@types/lodash/reject.d.ts +0 -2
  1697. package/node_modules/@types/lodash/remove.d.ts +0 -2
  1698. package/node_modules/@types/lodash/repeat.d.ts +0 -2
  1699. package/node_modules/@types/lodash/replace.d.ts +0 -2
  1700. package/node_modules/@types/lodash/rest.d.ts +0 -2
  1701. package/node_modules/@types/lodash/result.d.ts +0 -2
  1702. package/node_modules/@types/lodash/reverse.d.ts +0 -2
  1703. package/node_modules/@types/lodash/round.d.ts +0 -2
  1704. package/node_modules/@types/lodash/runInContext.d.ts +0 -2
  1705. package/node_modules/@types/lodash/sample.d.ts +0 -2
  1706. package/node_modules/@types/lodash/sampleSize.d.ts +0 -2
  1707. package/node_modules/@types/lodash/set.d.ts +0 -2
  1708. package/node_modules/@types/lodash/setWith.d.ts +0 -2
  1709. package/node_modules/@types/lodash/shuffle.d.ts +0 -2
  1710. package/node_modules/@types/lodash/size.d.ts +0 -2
  1711. package/node_modules/@types/lodash/slice.d.ts +0 -2
  1712. package/node_modules/@types/lodash/snakeCase.d.ts +0 -2
  1713. package/node_modules/@types/lodash/some.d.ts +0 -2
  1714. package/node_modules/@types/lodash/sortBy.d.ts +0 -2
  1715. package/node_modules/@types/lodash/sortedIndex.d.ts +0 -2
  1716. package/node_modules/@types/lodash/sortedIndexBy.d.ts +0 -2
  1717. package/node_modules/@types/lodash/sortedIndexOf.d.ts +0 -2
  1718. package/node_modules/@types/lodash/sortedLastIndex.d.ts +0 -2
  1719. package/node_modules/@types/lodash/sortedLastIndexBy.d.ts +0 -2
  1720. package/node_modules/@types/lodash/sortedLastIndexOf.d.ts +0 -2
  1721. package/node_modules/@types/lodash/sortedUniq.d.ts +0 -2
  1722. package/node_modules/@types/lodash/sortedUniqBy.d.ts +0 -2
  1723. package/node_modules/@types/lodash/split.d.ts +0 -2
  1724. package/node_modules/@types/lodash/spread.d.ts +0 -2
  1725. package/node_modules/@types/lodash/startCase.d.ts +0 -2
  1726. package/node_modules/@types/lodash/startsWith.d.ts +0 -2
  1727. package/node_modules/@types/lodash/stubFalse.d.ts +0 -2
  1728. package/node_modules/@types/lodash/stubTrue.d.ts +0 -2
  1729. package/node_modules/@types/lodash/subtract.d.ts +0 -2
  1730. package/node_modules/@types/lodash/sum.d.ts +0 -2
  1731. package/node_modules/@types/lodash/sumBy.d.ts +0 -2
  1732. package/node_modules/@types/lodash/tail.d.ts +0 -2
  1733. package/node_modules/@types/lodash/take.d.ts +0 -2
  1734. package/node_modules/@types/lodash/takeRight.d.ts +0 -2
  1735. package/node_modules/@types/lodash/takeRightWhile.d.ts +0 -2
  1736. package/node_modules/@types/lodash/takeWhile.d.ts +0 -2
  1737. package/node_modules/@types/lodash/tap.d.ts +0 -2
  1738. package/node_modules/@types/lodash/template.d.ts +0 -2
  1739. package/node_modules/@types/lodash/throttle.d.ts +0 -2
  1740. package/node_modules/@types/lodash/thru.d.ts +0 -2
  1741. package/node_modules/@types/lodash/times.d.ts +0 -2
  1742. package/node_modules/@types/lodash/toArray.d.ts +0 -2
  1743. package/node_modules/@types/lodash/toFinite.d.ts +0 -2
  1744. package/node_modules/@types/lodash/toInteger.d.ts +0 -2
  1745. package/node_modules/@types/lodash/toLength.d.ts +0 -2
  1746. package/node_modules/@types/lodash/toLower.d.ts +0 -2
  1747. package/node_modules/@types/lodash/toNumber.d.ts +0 -2
  1748. package/node_modules/@types/lodash/toPairs.d.ts +0 -2
  1749. package/node_modules/@types/lodash/toPairsIn.d.ts +0 -2
  1750. package/node_modules/@types/lodash/toPath.d.ts +0 -2
  1751. package/node_modules/@types/lodash/toPlainObject.d.ts +0 -2
  1752. package/node_modules/@types/lodash/toSafeInteger.d.ts +0 -2
  1753. package/node_modules/@types/lodash/toString.d.ts +0 -2
  1754. package/node_modules/@types/lodash/toUpper.d.ts +0 -2
  1755. package/node_modules/@types/lodash/transform.d.ts +0 -2
  1756. package/node_modules/@types/lodash/trim.d.ts +0 -2
  1757. package/node_modules/@types/lodash/trimEnd.d.ts +0 -2
  1758. package/node_modules/@types/lodash/trimStart.d.ts +0 -2
  1759. package/node_modules/@types/lodash/truncate.d.ts +0 -2
  1760. package/node_modules/@types/lodash/unary.d.ts +0 -2
  1761. package/node_modules/@types/lodash/unescape.d.ts +0 -2
  1762. package/node_modules/@types/lodash/union.d.ts +0 -2
  1763. package/node_modules/@types/lodash/unionBy.d.ts +0 -2
  1764. package/node_modules/@types/lodash/unionWith.d.ts +0 -2
  1765. package/node_modules/@types/lodash/uniq.d.ts +0 -2
  1766. package/node_modules/@types/lodash/uniqBy.d.ts +0 -2
  1767. package/node_modules/@types/lodash/uniqWith.d.ts +0 -2
  1768. package/node_modules/@types/lodash/uniqueId.d.ts +0 -2
  1769. package/node_modules/@types/lodash/unset.d.ts +0 -2
  1770. package/node_modules/@types/lodash/unzip.d.ts +0 -2
  1771. package/node_modules/@types/lodash/unzipWith.d.ts +0 -2
  1772. package/node_modules/@types/lodash/update.d.ts +0 -2
  1773. package/node_modules/@types/lodash/updateWith.d.ts +0 -2
  1774. package/node_modules/@types/lodash/upperCase.d.ts +0 -2
  1775. package/node_modules/@types/lodash/upperFirst.d.ts +0 -2
  1776. package/node_modules/@types/lodash/values.d.ts +0 -2
  1777. package/node_modules/@types/lodash/valuesIn.d.ts +0 -2
  1778. package/node_modules/@types/lodash/without.d.ts +0 -2
  1779. package/node_modules/@types/lodash/words.d.ts +0 -2
  1780. package/node_modules/@types/lodash/wrap.d.ts +0 -2
  1781. package/node_modules/@types/lodash/xor.d.ts +0 -2
  1782. package/node_modules/@types/lodash/xorBy.d.ts +0 -2
  1783. package/node_modules/@types/lodash/xorWith.d.ts +0 -2
  1784. package/node_modules/@types/lodash/zip.d.ts +0 -2
  1785. package/node_modules/@types/lodash/zipObject.d.ts +0 -2
  1786. package/node_modules/@types/lodash/zipObjectDeep.d.ts +0 -2
  1787. package/node_modules/@types/lodash/zipWith.d.ts +0 -2
  1788. package/node_modules/@types/lodash.transform/LICENSE +0 -21
  1789. package/node_modules/@types/lodash.transform/README.md +0 -23
  1790. package/node_modules/@types/lodash.transform/index.d.ts +0 -4
  1791. package/node_modules/@types/lodash.transform/package.json +0 -32
  1792. package/node_modules/@types/mdast/LICENSE +0 -21
  1793. package/node_modules/@types/mdast/README.md +0 -15
  1794. package/node_modules/@types/mdast/index.d.ts +0 -1123
  1795. package/node_modules/@types/mdast/package.json +0 -47
  1796. package/node_modules/@types/ms/LICENSE +0 -21
  1797. package/node_modules/@types/ms/README.md +0 -82
  1798. package/node_modules/@types/ms/index.d.ts +0 -63
  1799. package/node_modules/@types/ms/package.json +0 -26
  1800. package/node_modules/@types/unist/LICENSE +0 -21
  1801. package/node_modules/@types/unist/README.md +0 -15
  1802. package/node_modules/@types/unist/index.d.ts +0 -119
  1803. package/node_modules/@types/unist/package.json +0 -60
  1804. package/node_modules/@types/uuid/LICENSE +0 -21
  1805. package/node_modules/@types/uuid/README.md +0 -15
  1806. package/node_modules/@types/uuid/index.d.mts +0 -19
  1807. package/node_modules/@types/uuid/index.d.ts +0 -113
  1808. package/node_modules/@types/uuid/package.json +0 -54
  1809. package/node_modules/big-integer/BigInteger.d.ts +0 -2393
  1810. package/node_modules/big-integer/BigInteger.js +0 -1453
  1811. package/node_modules/big-integer/BigInteger.min.js +0 -1
  1812. package/node_modules/big-integer/LICENSE +0 -24
  1813. package/node_modules/big-integer/README.md +0 -589
  1814. package/node_modules/big-integer/bower.json +0 -29
  1815. package/node_modules/big-integer/package.json +0 -48
  1816. package/node_modules/big-integer/tsconfig.json +0 -24
  1817. package/node_modules/character-entities/index.d.ts +0 -6
  1818. package/node_modules/character-entities/index.js +0 -2132
  1819. package/node_modules/character-entities/license +0 -22
  1820. package/node_modules/character-entities/package.json +0 -78
  1821. package/node_modules/character-entities/readme.md +0 -152
  1822. package/node_modules/debug/LICENSE +0 -20
  1823. package/node_modules/debug/README.md +0 -481
  1824. package/node_modules/debug/package.json +0 -64
  1825. package/node_modules/debug/src/browser.js +0 -272
  1826. package/node_modules/debug/src/common.js +0 -292
  1827. package/node_modules/debug/src/index.js +0 -10
  1828. package/node_modules/debug/src/node.js +0 -263
  1829. package/node_modules/decimal.js-light/CHANGELOG.md +0 -87
  1830. package/node_modules/decimal.js-light/LICENCE.md +0 -23
  1831. package/node_modules/decimal.js-light/README.md +0 -92
  1832. package/node_modules/decimal.js-light/decimal.d.ts +0 -570
  1833. package/node_modules/decimal.js-light/decimal.js +0 -2014
  1834. package/node_modules/decimal.js-light/decimal.min.js +0 -3
  1835. package/node_modules/decimal.js-light/decimal.mjs +0 -1985
  1836. package/node_modules/decimal.js-light/doc/API.html +0 -1312
  1837. package/node_modules/decimal.js-light/doc/decimal.js.map +0 -1
  1838. package/node_modules/decimal.js-light/package.json +0 -36
  1839. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  1840. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  1841. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  1842. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  1843. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  1844. package/node_modules/decode-named-character-reference/index.js +0 -19
  1845. package/node_modules/decode-named-character-reference/license +0 -22
  1846. package/node_modules/decode-named-character-reference/package.json +0 -90
  1847. package/node_modules/decode-named-character-reference/readme.md +0 -136
  1848. package/node_modules/dequal/dist/index.js +0 -86
  1849. package/node_modules/dequal/dist/index.min.js +0 -1
  1850. package/node_modules/dequal/dist/index.mjs +0 -84
  1851. package/node_modules/dequal/index.d.ts +0 -1
  1852. package/node_modules/dequal/license +0 -21
  1853. package/node_modules/dequal/lite/index.d.ts +0 -1
  1854. package/node_modules/dequal/lite/index.js +0 -31
  1855. package/node_modules/dequal/lite/index.min.js +0 -1
  1856. package/node_modules/dequal/lite/index.mjs +0 -29
  1857. package/node_modules/dequal/package.json +0 -57
  1858. package/node_modules/dequal/readme.md +0 -112
  1859. package/node_modules/devlop/lib/default.js +0 -9
  1860. package/node_modules/devlop/lib/development.d.ts +0 -84
  1861. package/node_modules/devlop/lib/development.js +0 -238
  1862. package/node_modules/devlop/license +0 -22
  1863. package/node_modules/devlop/package.json +0 -80
  1864. package/node_modules/devlop/readme.md +0 -360
  1865. package/node_modules/eventemitter3/LICENSE +0 -21
  1866. package/node_modules/eventemitter3/README.md +0 -85
  1867. package/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -355
  1868. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  1869. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  1870. package/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -363
  1871. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  1872. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  1873. package/node_modules/eventemitter3/index.d.ts +0 -135
  1874. package/node_modules/eventemitter3/index.js +0 -336
  1875. package/node_modules/eventemitter3/index.mjs +0 -4
  1876. package/node_modules/eventemitter3/package.json +0 -62
  1877. package/node_modules/lodash.transform/LICENSE +0 -47
  1878. package/node_modules/lodash.transform/README.md +0 -18
  1879. package/node_modules/lodash.transform/index.js +0 -2329
  1880. package/node_modules/lodash.transform/package.json +0 -17
  1881. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  1882. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  1883. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  1884. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  1885. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1348
  1886. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -295
  1887. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  1888. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  1889. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  1890. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  1891. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  1892. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1177
  1893. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -295
  1894. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  1895. package/node_modules/mdast-util-from-markdown/license +0 -22
  1896. package/node_modules/mdast-util-from-markdown/package.json +0 -99
  1897. package/node_modules/mdast-util-from-markdown/readme.md +0 -535
  1898. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  1899. package/node_modules/mdast-util-to-string/index.js +0 -5
  1900. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  1901. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  1902. package/node_modules/mdast-util-to-string/license +0 -22
  1903. package/node_modules/mdast-util-to-string/package.json +0 -78
  1904. package/node_modules/mdast-util-to-string/readme.md +0 -218
  1905. package/node_modules/micromark/dev/index.d.ts +0 -82
  1906. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  1907. package/node_modules/micromark/dev/index.js +0 -68
  1908. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  1909. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  1910. package/node_modules/micromark/dev/lib/compile.js +0 -1152
  1911. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  1912. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  1913. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  1914. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  1915. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  1916. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
  1917. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  1918. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  1919. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  1920. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  1921. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  1922. package/node_modules/micromark/dev/lib/initialize/document.js +0 -445
  1923. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  1924. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  1925. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  1926. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  1927. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  1928. package/node_modules/micromark/dev/lib/initialize/text.js +0 -244
  1929. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  1930. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  1931. package/node_modules/micromark/dev/lib/parse.js +0 -58
  1932. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  1933. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  1934. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  1935. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  1936. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  1937. package/node_modules/micromark/dev/lib/preprocess.js +0 -141
  1938. package/node_modules/micromark/dev/stream.d.ts +0 -35
  1939. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  1940. package/node_modules/micromark/dev/stream.js +0 -270
  1941. package/node_modules/micromark/index.d.ts +0 -82
  1942. package/node_modules/micromark/index.d.ts.map +0 -1
  1943. package/node_modules/micromark/index.js +0 -60
  1944. package/node_modules/micromark/lib/compile.d.ts +0 -16
  1945. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  1946. package/node_modules/micromark/lib/compile.js +0 -1060
  1947. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  1948. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  1949. package/node_modules/micromark/lib/constructs.js +0 -85
  1950. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  1951. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  1952. package/node_modules/micromark/lib/create-tokenizer.js +0 -611
  1953. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  1954. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  1955. package/node_modules/micromark/lib/initialize/content.js +0 -79
  1956. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  1957. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  1958. package/node_modules/micromark/lib/initialize/document.js +0 -362
  1959. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  1960. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  1961. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  1962. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  1963. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  1964. package/node_modules/micromark/lib/initialize/text.js +0 -212
  1965. package/node_modules/micromark/lib/parse.d.ts +0 -10
  1966. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  1967. package/node_modules/micromark/lib/parse.js +0 -56
  1968. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  1969. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  1970. package/node_modules/micromark/lib/postprocess.js +0 -18
  1971. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  1972. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  1973. package/node_modules/micromark/lib/preprocess.js +0 -115
  1974. package/node_modules/micromark/license +0 -22
  1975. package/node_modules/micromark/package.json +0 -100
  1976. package/node_modules/micromark/readme.md +0 -488
  1977. package/node_modules/micromark/stream.d.ts +0 -35
  1978. package/node_modules/micromark/stream.d.ts.map +0 -1
  1979. package/node_modules/micromark/stream.js +0 -256
  1980. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  1981. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  1982. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  1983. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  1984. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  1985. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
  1986. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  1987. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  1988. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  1989. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  1990. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  1991. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  1992. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  1993. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  1994. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  1995. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  1996. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  1997. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  1998. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  1999. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  2000. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  2001. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  2002. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  2003. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
  2004. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  2005. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  2006. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
  2007. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  2008. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  2009. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  2010. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  2011. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  2012. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  2013. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  2014. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  2015. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  2016. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  2017. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  2018. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  2019. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  2020. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  2021. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
  2022. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  2023. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  2024. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
  2025. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  2026. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  2027. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  2028. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  2029. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  2030. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
  2031. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  2032. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  2033. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
  2034. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  2035. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  2036. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
  2037. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  2038. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  2039. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  2040. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  2041. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  2042. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  2043. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  2044. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  2045. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
  2046. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  2047. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  2048. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  2049. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  2050. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  2051. package/node_modules/micromark-core-commonmark/index.js +0 -22
  2052. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  2053. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  2054. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
  2055. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  2056. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  2057. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  2058. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  2059. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  2060. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  2061. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  2062. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  2063. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  2064. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  2065. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  2066. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  2067. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  2068. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  2069. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  2070. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  2071. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  2072. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
  2073. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  2074. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  2075. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
  2076. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  2077. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  2078. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  2079. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  2080. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  2081. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  2082. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  2083. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  2084. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  2085. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  2086. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  2087. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  2088. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  2089. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  2090. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
  2091. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  2092. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  2093. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
  2094. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  2095. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  2096. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  2097. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  2098. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  2099. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
  2100. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  2101. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  2102. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
  2103. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  2104. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  2105. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
  2106. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  2107. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  2108. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  2109. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  2110. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  2111. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  2112. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  2113. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  2114. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
  2115. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  2116. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  2117. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  2118. package/node_modules/micromark-core-commonmark/license +0 -22
  2119. package/node_modules/micromark-core-commonmark/package.json +0 -74
  2120. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  2121. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  2122. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  2123. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  2124. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  2125. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  2126. package/node_modules/micromark-factory-destination/index.js +0 -206
  2127. package/node_modules/micromark-factory-destination/license +0 -22
  2128. package/node_modules/micromark-factory-destination/package.json +0 -57
  2129. package/node_modules/micromark-factory-destination/readme.md +0 -234
  2130. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  2131. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  2132. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  2133. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  2134. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  2135. package/node_modules/micromark-factory-label/index.js +0 -148
  2136. package/node_modules/micromark-factory-label/license +0 -22
  2137. package/node_modules/micromark-factory-label/package.json +0 -60
  2138. package/node_modules/micromark-factory-label/readme.md +0 -224
  2139. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
  2140. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  2141. package/node_modules/micromark-factory-space/dev/index.js +0 -67
  2142. package/node_modules/micromark-factory-space/index.d.ts +0 -37
  2143. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  2144. package/node_modules/micromark-factory-space/index.js +0 -64
  2145. package/node_modules/micromark-factory-space/license +0 -22
  2146. package/node_modules/micromark-factory-space/package.json +0 -55
  2147. package/node_modules/micromark-factory-space/readme.md +0 -225
  2148. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  2149. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  2150. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  2151. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  2152. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  2153. package/node_modules/micromark-factory-title/index.js +0 -158
  2154. package/node_modules/micromark-factory-title/license +0 -22
  2155. package/node_modules/micromark-factory-title/package.json +0 -58
  2156. package/node_modules/micromark-factory-title/readme.md +0 -229
  2157. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  2158. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  2159. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  2160. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  2161. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  2162. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  2163. package/node_modules/micromark-factory-whitespace/license +0 -22
  2164. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  2165. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  2166. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  2167. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  2168. package/node_modules/micromark-util-character/dev/index.js +0 -252
  2169. package/node_modules/micromark-util-character/index.d.ts +0 -195
  2170. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  2171. package/node_modules/micromark-util-character/index.js +0 -246
  2172. package/node_modules/micromark-util-character/license +0 -22
  2173. package/node_modules/micromark-util-character/package.json +0 -57
  2174. package/node_modules/micromark-util-character/readme.md +0 -446
  2175. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  2176. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  2177. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  2178. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  2179. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  2180. package/node_modules/micromark-util-chunked/index.js +0 -81
  2181. package/node_modules/micromark-util-chunked/license +0 -22
  2182. package/node_modules/micromark-util-chunked/package.json +0 -57
  2183. package/node_modules/micromark-util-chunked/readme.md +0 -219
  2184. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  2185. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  2186. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  2187. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  2188. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  2189. package/node_modules/micromark-util-classify-character/index.js +0 -27
  2190. package/node_modules/micromark-util-classify-character/license +0 -22
  2191. package/node_modules/micromark-util-classify-character/package.json +0 -59
  2192. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  2193. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  2194. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  2195. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  2196. package/node_modules/micromark-util-combine-extensions/license +0 -22
  2197. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  2198. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  2199. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  2200. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  2201. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  2202. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  2203. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  2204. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  2205. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  2206. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  2207. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  2208. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  2209. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  2210. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  2211. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  2212. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  2213. package/node_modules/micromark-util-decode-string/index.js +0 -45
  2214. package/node_modules/micromark-util-decode-string/license +0 -22
  2215. package/node_modules/micromark-util-decode-string/package.json +0 -63
  2216. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  2217. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  2218. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  2219. package/node_modules/micromark-util-encode/index.js +0 -33
  2220. package/node_modules/micromark-util-encode/license +0 -22
  2221. package/node_modules/micromark-util-encode/package.json +0 -47
  2222. package/node_modules/micromark-util-encode/readme.md +0 -176
  2223. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  2224. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  2225. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  2226. package/node_modules/micromark-util-html-tag-name/license +0 -22
  2227. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  2228. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  2229. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  2230. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  2231. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  2232. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  2233. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  2234. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  2235. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  2236. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  2237. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  2238. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  2239. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  2240. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  2241. package/node_modules/micromark-util-resolve-all/license +0 -22
  2242. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  2243. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  2244. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  2245. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  2246. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  2247. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  2248. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  2249. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  2250. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  2251. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  2252. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  2253. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  2254. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  2255. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  2256. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  2257. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  2258. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  2259. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  2260. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  2261. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  2262. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  2263. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  2264. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  2265. package/node_modules/micromark-util-subtokenize/license +0 -22
  2266. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  2267. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  2268. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  2269. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  2270. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  2271. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  2272. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  2273. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  2274. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  2275. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  2276. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  2277. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  2278. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  2279. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  2280. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  2281. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  2282. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  2283. package/node_modules/micromark-util-symbol/license +0 -22
  2284. package/node_modules/micromark-util-symbol/package.json +0 -43
  2285. package/node_modules/micromark-util-symbol/readme.md +0 -168
  2286. package/node_modules/micromark-util-types/index.d.ts +0 -1312
  2287. package/node_modules/micromark-util-types/index.js +0 -2
  2288. package/node_modules/micromark-util-types/license +0 -22
  2289. package/node_modules/micromark-util-types/package.json +0 -71
  2290. package/node_modules/micromark-util-types/readme.md +0 -151
  2291. package/node_modules/ms/index.js +0 -162
  2292. package/node_modules/ms/license.md +0 -21
  2293. package/node_modules/ms/package.json +0 -38
  2294. package/node_modules/ms/readme.md +0 -59
  2295. package/node_modules/p-map/index.d.ts +0 -155
  2296. package/node_modules/p-map/index.js +0 -284
  2297. package/node_modules/p-map/license +0 -9
  2298. package/node_modules/p-map/package.json +0 -57
  2299. package/node_modules/p-map/readme.md +0 -190
  2300. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  2301. package/node_modules/unist-util-stringify-position/index.js +0 -1
  2302. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  2303. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  2304. package/node_modules/unist-util-stringify-position/license +0 -22
  2305. package/node_modules/unist-util-stringify-position/package.json +0 -80
  2306. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  2307. package/node_modules/uuid/LICENSE.md +0 -9
  2308. package/node_modules/uuid/README.md +0 -491
  2309. package/node_modules/uuid/dist/index.d.ts +0 -15
  2310. package/node_modules/uuid/dist/index.js +0 -14
  2311. package/node_modules/uuid/dist/max.d.ts +0 -2
  2312. package/node_modules/uuid/dist/max.js +0 -1
  2313. package/node_modules/uuid/dist/md5.d.ts +0 -2
  2314. package/node_modules/uuid/dist/md5.js +0 -135
  2315. package/node_modules/uuid/dist/nil.d.ts +0 -2
  2316. package/node_modules/uuid/dist/nil.js +0 -1
  2317. package/node_modules/uuid/dist/parse.d.ts +0 -3
  2318. package/node_modules/uuid/dist/parse.js +0 -9
  2319. package/node_modules/uuid/dist/regex.d.ts +0 -2
  2320. package/node_modules/uuid/dist/regex.js +0 -1
  2321. package/node_modules/uuid/dist/rng.d.ts +0 -1
  2322. package/node_modules/uuid/dist/rng.js +0 -4
  2323. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  2324. package/node_modules/uuid/dist/sha1.js +0 -70
  2325. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  2326. package/node_modules/uuid/dist/stringify.js +0 -35
  2327. package/node_modules/uuid/dist/types.d.ts +0 -22
  2328. package/node_modules/uuid/dist/types.js +0 -1
  2329. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  2330. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2331. package/node_modules/uuid/dist/v1.d.ts +0 -11
  2332. package/node_modules/uuid/dist/v1.js +0 -83
  2333. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  2334. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  2335. package/node_modules/uuid/dist/v3.d.ts +0 -9
  2336. package/node_modules/uuid/dist/v3.js +0 -9
  2337. package/node_modules/uuid/dist/v35.d.ts +0 -7
  2338. package/node_modules/uuid/dist/v35.js +0 -39
  2339. package/node_modules/uuid/dist/v4.d.ts +0 -4
  2340. package/node_modules/uuid/dist/v4.js +0 -29
  2341. package/node_modules/uuid/dist/v5.d.ts +0 -9
  2342. package/node_modules/uuid/dist/v5.js +0 -9
  2343. package/node_modules/uuid/dist/v6.d.ts +0 -4
  2344. package/node_modules/uuid/dist/v6.js +0 -20
  2345. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  2346. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  2347. package/node_modules/uuid/dist/v7.d.ts +0 -9
  2348. package/node_modules/uuid/dist/v7.js +0 -65
  2349. package/node_modules/uuid/dist/validate.d.ts +0 -2
  2350. package/node_modules/uuid/dist/validate.js +0 -5
  2351. package/node_modules/uuid/dist/version.d.ts +0 -2
  2352. package/node_modules/uuid/dist/version.js +0 -8
  2353. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  2354. package/node_modules/uuid/dist-node/index.js +0 -14
  2355. package/node_modules/uuid/dist-node/max.js +0 -1
  2356. package/node_modules/uuid/dist-node/md5.js +0 -11
  2357. package/node_modules/uuid/dist-node/nil.js +0 -1
  2358. package/node_modules/uuid/dist-node/parse.js +0 -9
  2359. package/node_modules/uuid/dist-node/regex.js +0 -1
  2360. package/node_modules/uuid/dist-node/rng.js +0 -4
  2361. package/node_modules/uuid/dist-node/sha1.js +0 -11
  2362. package/node_modules/uuid/dist-node/stringify.js +0 -35
  2363. package/node_modules/uuid/dist-node/types.js +0 -1
  2364. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  2365. package/node_modules/uuid/dist-node/v1.js +0 -83
  2366. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  2367. package/node_modules/uuid/dist-node/v3.js +0 -9
  2368. package/node_modules/uuid/dist-node/v35.js +0 -39
  2369. package/node_modules/uuid/dist-node/v4.js +0 -29
  2370. package/node_modules/uuid/dist-node/v5.js +0 -9
  2371. package/node_modules/uuid/dist-node/v6.js +0 -20
  2372. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  2373. package/node_modules/uuid/dist-node/v7.js +0 -65
  2374. package/node_modules/uuid/dist-node/validate.js +0 -5
  2375. package/node_modules/uuid/dist-node/version.js +0 -8
  2376. package/node_modules/uuid/package.json +0 -114
  2377. package/node_modules/zod/LICENSE +0 -21
  2378. package/node_modules/zod/README.md +0 -191
  2379. package/node_modules/zod/index.cjs +0 -33
  2380. package/node_modules/zod/index.d.cts +0 -4
  2381. package/node_modules/zod/index.d.ts +0 -4
  2382. package/node_modules/zod/index.js +0 -4
  2383. package/node_modules/zod/locales/index.cjs +0 -17
  2384. package/node_modules/zod/locales/index.d.cts +0 -1
  2385. package/node_modules/zod/locales/index.d.ts +0 -1
  2386. package/node_modules/zod/locales/index.js +0 -1
  2387. package/node_modules/zod/locales/package.json +0 -7
  2388. package/node_modules/zod/mini/index.cjs +0 -32
  2389. package/node_modules/zod/mini/index.d.cts +0 -3
  2390. package/node_modules/zod/mini/index.d.ts +0 -3
  2391. package/node_modules/zod/mini/index.js +0 -3
  2392. package/node_modules/zod/mini/package.json +0 -7
  2393. package/node_modules/zod/package.json +0 -135
  2394. package/node_modules/zod/src/index.ts +0 -4
  2395. package/node_modules/zod/src/locales/index.ts +0 -1
  2396. package/node_modules/zod/src/mini/index.ts +0 -3
  2397. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2398. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2399. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2400. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2401. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2402. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2403. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2404. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2405. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2406. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2407. package/node_modules/zod/src/v3/errors.ts +0 -13
  2408. package/node_modules/zod/src/v3/external.ts +0 -6
  2409. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2410. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2411. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2412. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2413. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2414. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2415. package/node_modules/zod/src/v3/index.ts +0 -4
  2416. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2417. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2418. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2419. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2420. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2421. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2422. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2423. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2424. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2425. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2426. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2427. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2428. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2429. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  2430. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2431. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2432. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2433. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2434. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2435. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2436. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2437. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2438. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2439. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2440. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  2441. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2442. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2443. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2444. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2445. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2446. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2447. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2448. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2449. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2450. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  2451. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2452. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2453. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2454. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2455. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2456. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2457. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2458. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2459. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2460. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2461. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2462. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2463. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2464. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2465. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2466. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2467. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2468. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2469. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2470. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2471. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2472. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2473. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2474. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2475. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2476. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2477. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2478. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2479. package/node_modules/zod/src/v3/types.ts +0 -5138
  2480. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  2481. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2482. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  2483. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  2484. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  2485. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  2486. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2487. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2488. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  2489. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  2490. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2491. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  2492. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2493. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  2494. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2495. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2496. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2497. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2498. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  2499. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  2500. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2501. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  2502. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  2503. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2504. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  2505. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2506. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  2507. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  2508. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  2509. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  2510. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2511. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  2512. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  2513. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2514. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  2515. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2516. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  2517. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  2518. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  2519. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  2520. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  2521. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2522. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  2523. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  2524. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  2525. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  2526. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  2527. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  2528. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  2529. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2530. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  2531. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  2532. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  2533. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  2534. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2535. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2536. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  2537. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2538. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  2539. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  2540. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  2541. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  2542. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  2543. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  2544. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  2545. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  2546. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  2547. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2548. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2549. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2550. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2551. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  2552. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  2553. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  2554. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  2555. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  2556. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  2557. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  2558. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  2559. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  2560. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  2561. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  2562. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  2563. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  2564. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  2565. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  2566. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  2567. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2568. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2569. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  2570. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  2571. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2572. package/node_modules/zod/src/v4/core/core.ts +0 -153
  2573. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2574. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  2575. package/node_modules/zod/src/v4/core/index.ts +0 -16
  2576. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  2577. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  2578. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  2579. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  2580. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  2581. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  2582. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  2583. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  2584. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  2585. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2586. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2587. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  2588. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2589. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  2590. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  2591. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  2592. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  2593. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  2594. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2595. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2596. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  2597. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  2598. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  2599. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  2600. package/node_modules/zod/src/v4/core/util.ts +0 -983
  2601. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2602. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2603. package/node_modules/zod/src/v4/index.ts +0 -4
  2604. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  2605. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  2606. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  2607. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  2608. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  2609. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  2610. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  2611. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  2612. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  2613. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  2614. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  2615. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  2616. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  2617. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  2618. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  2619. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  2620. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  2621. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  2622. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  2623. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  2624. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  2625. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  2626. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  2627. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  2628. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  2629. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  2630. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  2631. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  2632. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  2633. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  2634. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  2635. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  2636. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  2637. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  2638. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  2639. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  2640. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  2641. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  2642. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  2643. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  2644. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  2645. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  2646. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  2647. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  2648. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  2649. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  2650. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  2651. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  2652. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  2653. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  2654. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  2655. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  2656. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  2657. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2658. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  2659. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  2660. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2661. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  2662. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  2663. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  2664. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  2665. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2666. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  2667. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2668. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  2669. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2670. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2671. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  2672. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  2673. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2674. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  2675. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2676. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  2677. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  2678. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  2679. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  2680. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2681. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2682. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2683. package/node_modules/zod/v3/ZodError.js +0 -133
  2684. package/node_modules/zod/v3/errors.cjs +0 -17
  2685. package/node_modules/zod/v3/errors.d.cts +0 -5
  2686. package/node_modules/zod/v3/errors.d.ts +0 -5
  2687. package/node_modules/zod/v3/errors.js +0 -9
  2688. package/node_modules/zod/v3/external.cjs +0 -22
  2689. package/node_modules/zod/v3/external.d.cts +0 -6
  2690. package/node_modules/zod/v3/external.d.ts +0 -6
  2691. package/node_modules/zod/v3/external.js +0 -6
  2692. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2693. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2694. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2695. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2696. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2697. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2698. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2699. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2700. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2701. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2702. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2703. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2704. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2705. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2706. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2707. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2708. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2709. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2710. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2711. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2712. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2713. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2714. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2715. package/node_modules/zod/v3/helpers/util.js +0 -133
  2716. package/node_modules/zod/v3/index.cjs +0 -33
  2717. package/node_modules/zod/v3/index.d.cts +0 -4
  2718. package/node_modules/zod/v3/index.d.ts +0 -4
  2719. package/node_modules/zod/v3/index.js +0 -4
  2720. package/node_modules/zod/v3/locales/en.cjs +0 -112
  2721. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2722. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2723. package/node_modules/zod/v3/locales/en.js +0 -109
  2724. package/node_modules/zod/v3/package.json +0 -7
  2725. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2726. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2727. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2728. package/node_modules/zod/v3/standard-schema.js +0 -1
  2729. package/node_modules/zod/v3/types.cjs +0 -3777
  2730. package/node_modules/zod/v3/types.d.cts +0 -1034
  2731. package/node_modules/zod/v3/types.d.ts +0 -1034
  2732. package/node_modules/zod/v3/types.js +0 -3695
  2733. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  2734. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2735. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2736. package/node_modules/zod/v4/classic/checks.js +0 -1
  2737. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2738. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2739. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2740. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2741. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  2742. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  2743. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  2744. package/node_modules/zod/v4/classic/compat.js +0 -31
  2745. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  2746. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2747. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2748. package/node_modules/zod/v4/classic/errors.js +0 -48
  2749. package/node_modules/zod/v4/classic/external.cjs +0 -73
  2750. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  2751. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  2752. package/node_modules/zod/v4/classic/external.js +0 -20
  2753. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  2754. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  2755. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  2756. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  2757. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2758. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2759. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2760. package/node_modules/zod/v4/classic/index.js +0 -4
  2761. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2762. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2763. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2764. package/node_modules/zod/v4/classic/iso.js +0 -30
  2765. package/node_modules/zod/v4/classic/package.json +0 -7
  2766. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  2767. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  2768. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  2769. package/node_modules/zod/v4/classic/parse.js +0 -15
  2770. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  2771. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  2772. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  2773. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  2774. package/node_modules/zod/v4/core/api.cjs +0 -1227
  2775. package/node_modules/zod/v4/core/api.d.cts +0 -325
  2776. package/node_modules/zod/v4/core/api.d.ts +0 -325
  2777. package/node_modules/zod/v4/core/api.js +0 -1087
  2778. package/node_modules/zod/v4/core/checks.cjs +0 -601
  2779. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2780. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2781. package/node_modules/zod/v4/core/checks.js +0 -575
  2782. package/node_modules/zod/v4/core/core.cjs +0 -85
  2783. package/node_modules/zod/v4/core/core.d.cts +0 -70
  2784. package/node_modules/zod/v4/core/core.d.ts +0 -70
  2785. package/node_modules/zod/v4/core/core.js +0 -78
  2786. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2787. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2788. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2789. package/node_modules/zod/v4/core/doc.js +0 -35
  2790. package/node_modules/zod/v4/core/errors.cjs +0 -216
  2791. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  2792. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  2793. package/node_modules/zod/v4/core/errors.js +0 -185
  2794. package/node_modules/zod/v4/core/index.cjs +0 -47
  2795. package/node_modules/zod/v4/core/index.d.cts +0 -16
  2796. package/node_modules/zod/v4/core/index.d.ts +0 -16
  2797. package/node_modules/zod/v4/core/index.js +0 -16
  2798. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  2799. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  2800. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  2801. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  2802. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  2803. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  2804. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  2805. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  2806. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2807. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  2808. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  2809. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2810. package/node_modules/zod/v4/core/package.json +0 -7
  2811. package/node_modules/zod/v4/core/parse.cjs +0 -131
  2812. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  2813. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  2814. package/node_modules/zod/v4/core/parse.js +0 -93
  2815. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  2816. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  2817. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  2818. package/node_modules/zod/v4/core/regexes.js +0 -139
  2819. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2820. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2821. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2822. package/node_modules/zod/v4/core/registries.js +0 -51
  2823. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  2824. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  2825. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  2826. package/node_modules/zod/v4/core/schemas.js +0 -2239
  2827. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2828. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  2829. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  2830. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2831. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  2832. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  2833. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  2834. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  2835. package/node_modules/zod/v4/core/util.cjs +0 -734
  2836. package/node_modules/zod/v4/core/util.d.cts +0 -200
  2837. package/node_modules/zod/v4/core/util.d.ts +0 -200
  2838. package/node_modules/zod/v4/core/util.js +0 -674
  2839. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2840. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2841. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2842. package/node_modules/zod/v4/core/versions.js +0 -5
  2843. package/node_modules/zod/v4/index.cjs +0 -22
  2844. package/node_modules/zod/v4/index.d.cts +0 -3
  2845. package/node_modules/zod/v4/index.d.ts +0 -3
  2846. package/node_modules/zod/v4/index.js +0 -3
  2847. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  2848. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  2849. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2850. package/node_modules/zod/v4/locales/ar.js +0 -106
  2851. package/node_modules/zod/v4/locales/az.cjs +0 -132
  2852. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  2853. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2854. package/node_modules/zod/v4/locales/az.js +0 -105
  2855. package/node_modules/zod/v4/locales/be.cjs +0 -183
  2856. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  2857. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2858. package/node_modules/zod/v4/locales/be.js +0 -156
  2859. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  2860. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  2861. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  2862. package/node_modules/zod/v4/locales/bg.js +0 -120
  2863. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  2864. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  2865. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2866. package/node_modules/zod/v4/locales/ca.js +0 -107
  2867. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  2868. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  2869. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2870. package/node_modules/zod/v4/locales/cs.js +0 -111
  2871. package/node_modules/zod/v4/locales/da.cjs +0 -142
  2872. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  2873. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  2874. package/node_modules/zod/v4/locales/da.js +0 -115
  2875. package/node_modules/zod/v4/locales/de.cjs +0 -135
  2876. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  2877. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2878. package/node_modules/zod/v4/locales/de.js +0 -108
  2879. package/node_modules/zod/v4/locales/el.cjs +0 -136
  2880. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  2881. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  2882. package/node_modules/zod/v4/locales/el.js +0 -109
  2883. package/node_modules/zod/v4/locales/en.cjs +0 -140
  2884. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2885. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  2886. package/node_modules/zod/v4/locales/en.js +0 -113
  2887. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  2888. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2889. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  2890. package/node_modules/zod/v4/locales/eo.js +0 -109
  2891. package/node_modules/zod/v4/locales/es.cjs +0 -159
  2892. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  2893. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2894. package/node_modules/zod/v4/locales/es.js +0 -132
  2895. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  2896. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  2897. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2898. package/node_modules/zod/v4/locales/fa.js +0 -114
  2899. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  2900. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  2901. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2902. package/node_modules/zod/v4/locales/fi.js +0 -112
  2903. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  2904. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  2905. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2906. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  2907. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  2908. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  2909. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2910. package/node_modules/zod/v4/locales/fr.js +0 -125
  2911. package/node_modules/zod/v4/locales/he.cjs +0 -241
  2912. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  2913. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2914. package/node_modules/zod/v4/locales/he.js +0 -214
  2915. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  2916. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  2917. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  2918. package/node_modules/zod/v4/locales/hr.js +0 -122
  2919. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  2920. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  2921. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2922. package/node_modules/zod/v4/locales/hu.js +0 -108
  2923. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  2924. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  2925. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  2926. package/node_modules/zod/v4/locales/hy.js +0 -147
  2927. package/node_modules/zod/v4/locales/id.cjs +0 -133
  2928. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  2929. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2930. package/node_modules/zod/v4/locales/id.js +0 -106
  2931. package/node_modules/zod/v4/locales/index.cjs +0 -111
  2932. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  2933. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  2934. package/node_modules/zod/v4/locales/index.js +0 -52
  2935. package/node_modules/zod/v4/locales/is.cjs +0 -136
  2936. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  2937. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  2938. package/node_modules/zod/v4/locales/is.js +0 -109
  2939. package/node_modules/zod/v4/locales/it.cjs +0 -135
  2940. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  2941. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2942. package/node_modules/zod/v4/locales/it.js +0 -108
  2943. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  2944. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  2945. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2946. package/node_modules/zod/v4/locales/ja.js +0 -107
  2947. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  2948. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  2949. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  2950. package/node_modules/zod/v4/locales/ka.js +0 -112
  2951. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  2952. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  2953. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  2954. package/node_modules/zod/v4/locales/kh.js +0 -5
  2955. package/node_modules/zod/v4/locales/km.cjs +0 -137
  2956. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  2957. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  2958. package/node_modules/zod/v4/locales/km.js +0 -110
  2959. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  2960. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  2961. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2962. package/node_modules/zod/v4/locales/ko.js +0 -111
  2963. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  2964. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  2965. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  2966. package/node_modules/zod/v4/locales/lt.js +0 -203
  2967. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  2968. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  2969. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2970. package/node_modules/zod/v4/locales/mk.js +0 -109
  2971. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  2972. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  2973. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2974. package/node_modules/zod/v4/locales/ms.js +0 -107
  2975. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  2976. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  2977. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2978. package/node_modules/zod/v4/locales/nl.js +0 -110
  2979. package/node_modules/zod/v4/locales/no.cjs +0 -135
  2980. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  2981. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2982. package/node_modules/zod/v4/locales/no.js +0 -108
  2983. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  2984. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  2985. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2986. package/node_modules/zod/v4/locales/ota.js +0 -109
  2987. package/node_modules/zod/v4/locales/package.json +0 -7
  2988. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  2989. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  2990. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2991. package/node_modules/zod/v4/locales/pl.js +0 -109
  2992. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  2993. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  2994. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2995. package/node_modules/zod/v4/locales/ps.js +0 -114
  2996. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  2997. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  2998. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2999. package/node_modules/zod/v4/locales/pt.js +0 -108
  3000. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  3001. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  3002. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  3003. package/node_modules/zod/v4/locales/ro.js +0 -119
  3004. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  3005. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  3006. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  3007. package/node_modules/zod/v4/locales/ru.js +0 -156
  3008. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  3009. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  3010. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  3011. package/node_modules/zod/v4/locales/sl.js +0 -109
  3012. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  3013. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  3014. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  3015. package/node_modules/zod/v4/locales/sv.js +0 -110
  3016. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  3017. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  3018. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  3019. package/node_modules/zod/v4/locales/ta.js +0 -110
  3020. package/node_modules/zod/v4/locales/th.cjs +0 -137
  3021. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  3022. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  3023. package/node_modules/zod/v4/locales/th.js +0 -110
  3024. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  3025. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  3026. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  3027. package/node_modules/zod/v4/locales/tr.js +0 -105
  3028. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  3029. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  3030. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  3031. package/node_modules/zod/v4/locales/ua.js +0 -5
  3032. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  3033. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  3034. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  3035. package/node_modules/zod/v4/locales/uk.js +0 -108
  3036. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  3037. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  3038. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  3039. package/node_modules/zod/v4/locales/ur.js +0 -110
  3040. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  3041. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  3042. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  3043. package/node_modules/zod/v4/locales/uz.js +0 -110
  3044. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  3045. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  3046. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  3047. package/node_modules/zod/v4/locales/vi.js +0 -108
  3048. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  3049. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  3050. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  3051. package/node_modules/zod/v4/locales/yo.js +0 -107
  3052. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  3053. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  3054. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  3055. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  3056. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  3057. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  3058. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  3059. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  3060. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  3061. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  3062. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  3063. package/node_modules/zod/v4/mini/checks.js +0 -1
  3064. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  3065. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  3066. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  3067. package/node_modules/zod/v4/mini/coerce.js +0 -22
  3068. package/node_modules/zod/v4/mini/external.cjs +0 -63
  3069. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  3070. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  3071. package/node_modules/zod/v4/mini/external.js +0 -14
  3072. package/node_modules/zod/v4/mini/index.cjs +0 -32
  3073. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  3074. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  3075. package/node_modules/zod/v4/mini/index.js +0 -3
  3076. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  3077. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  3078. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  3079. package/node_modules/zod/v4/mini/iso.js +0 -34
  3080. package/node_modules/zod/v4/mini/package.json +0 -7
  3081. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  3082. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  3083. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  3084. package/node_modules/zod/v4/mini/parse.js +0 -1
  3085. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  3086. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  3087. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  3088. package/node_modules/zod/v4/mini/schemas.js +0 -961
  3089. package/node_modules/zod/v4/package.json +0 -7
  3090. package/node_modules/zod/v4-mini/index.cjs +0 -32
  3091. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  3092. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  3093. package/node_modules/zod/v4-mini/index.js +0 -3
  3094. package/node_modules/zod/v4-mini/package.json +0 -7
  3095. /package/dist/{agent-components.runtime-CEPrf2SY.js → .setup/agent-components.runtime-CEPrf2SY.mjs} +0 -0
  3096. /package/dist/{audit-core-xwjIczO0.js → .setup/audit-core-xwjIczO0.mjs} +0 -0
  3097. /package/dist/{channel-api-CAJ0wMoV.js → .setup/channel-api-CAJ0wMoV.mjs} +0 -0
  3098. /package/dist/{preflight-audio.runtime-CoCXMM8r.js → .setup/preflight-audio.runtime-CoCXMM8r.mjs} +0 -0
  3099. /package/dist/{presence-cache-z1N8MbJ3.js → .setup/presence-cache-z1N8MbJ3.mjs} +0 -0
  3100. /package/dist/{runtime-DgnVQ7zW.js → .setup/runtime-DgnVQ7zW.mjs} +0 -0
  3101. /package/dist/{security-contract-DSHk7I2w.js → .setup/security-contract-DSHk7I2w.mjs} +0 -0
  3102. /package/dist/{session-contract-BO5tlIdl.js → .setup/session-contract-BO5tlIdl.mjs} +0 -0
  3103. /package/dist/{session-key-normalization-wJgsKPNF.js → .setup/session-key-normalization-wJgsKPNF.mjs} +0 -0
@@ -1,4730 +0,0 @@
1
- import type { $ZodTypeDiscriminable } from "./api.js";
2
- import * as checks from "./checks.js";
3
- import * as core from "./core.js";
4
- import { Doc } from "./doc.js";
5
- import type * as errors from "./errors.js";
6
- import type * as JSONSchema from "./json-schema.js";
7
- import { parse, parseAsync, safeParse, safeParseAsync } from "./parse.js";
8
- import * as regexes from "./regexes.js";
9
- import type { StandardSchemaV1 } from "./standard-schema.js";
10
- import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.js";
11
- import * as util from "./util.js";
12
- import { version } from "./versions.js";
13
-
14
- ///////////////////////////// PARSE //////////////////////////////
15
-
16
- export interface ParseContext<T extends errors.$ZodIssueBase = never> {
17
- /** Customize error messages. */
18
- readonly error?: errors.$ZodErrorMap<T>;
19
- /** Include the `input` field in issue objects. Default `false`. */
20
- readonly reportInput?: boolean;
21
- /** Skip eval-based fast path. Default `false`. */
22
- readonly jitless?: boolean;
23
- /** Abort validation after the first error. Default `false`. */
24
- // readonly abortEarly?: boolean;
25
- }
26
-
27
- /** @internal */
28
- export interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {
29
- readonly async?: boolean | undefined;
30
- readonly direction?: "forward" | "backward";
31
- readonly skipChecks?: boolean;
32
- }
33
-
34
- export interface ParsePayload<T = unknown> {
35
- value: T;
36
- issues: errors.$ZodRawIssue[];
37
- /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
38
- aborted?: boolean;
39
- /** @internal Marks a value as a fallback that an outer wrapper (e.g.
40
- * $ZodOptional) may override with its own interpretation when input was
41
- * undefined. Set by $ZodCatch when catchValue substitutes and by every
42
- * $ZodTransform invocation. */
43
- fallback?: boolean | undefined;
44
- }
45
-
46
- export type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;
47
-
48
- ///////////////////////////// SCHEMAS //////////////////////////////
49
-
50
- export interface $ZodTypeDef {
51
- type:
52
- | "string"
53
- | "number"
54
- | "int"
55
- | "boolean"
56
- | "bigint"
57
- | "symbol"
58
- | "null"
59
- | "undefined"
60
- | "void" // merge with undefined?
61
- | "never"
62
- | "any"
63
- | "unknown"
64
- | "date"
65
- | "object"
66
- | "record"
67
- | "file"
68
- | "array"
69
- | "tuple"
70
- | "union"
71
- | "intersection"
72
- | "map"
73
- | "set"
74
- | "enum"
75
- | "literal"
76
- | "nullable"
77
- | "optional"
78
- | "nonoptional"
79
- | "success"
80
- | "transform"
81
- | "default"
82
- | "prefault"
83
- | "catch"
84
- | "nan"
85
- | "pipe"
86
- | "readonly"
87
- | "template_literal"
88
- | "promise"
89
- | "lazy"
90
- | "function"
91
- | "custom";
92
- error?: errors.$ZodErrorMap<never> | undefined;
93
- checks?: checks.$ZodCheck<never>[];
94
- }
95
-
96
- export interface _$ZodTypeInternals {
97
- /** The `@zod/core` version of this schema */
98
- version: typeof version;
99
-
100
- /** Schema definition. */
101
- def: $ZodTypeDef;
102
- // types: Types;
103
-
104
- /** @internal Randomly generated ID for this schema. */
105
- // id: string;
106
-
107
- /** @internal List of deferred initializers. */
108
- deferred: util.AnyFunc[] | undefined;
109
-
110
- /** @internal Parses input and runs all checks (refinements). */
111
- run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
112
-
113
- /** @internal Parses input, doesn't run checks. */
114
- parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
115
-
116
- /** @internal Stores identifiers for the set of traits implemented by this schema. */
117
- traits: Set<string>;
118
-
119
- /** @internal Indicates that a schema output type should be considered optional inside objects.
120
- * @default Required
121
- */
122
-
123
- /** @internal */
124
- optin?: "optional" | undefined;
125
- /** @internal */
126
- optout?: "optional" | undefined;
127
-
128
- /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
129
- *
130
- * Defined on: enum, const, literal, null, undefined
131
- * Passthrough: optional, nullable, branded, default, catch, pipe
132
- * Todo: unions?
133
- */
134
- values?: util.PrimitiveSet | undefined;
135
-
136
- /** Default value bubbled up from */
137
- // default?: unknown | undefined;
138
-
139
- /** @internal A set of literal discriminators used for the fast path in discriminated unions. */
140
- propValues?: util.PropValues | undefined;
141
-
142
- /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
143
- pattern: RegExp | undefined;
144
-
145
- /** @internal The constructor function of this schema. */
146
- constr: new (
147
- def: any
148
- ) => $ZodType;
149
-
150
- /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
151
- bag: Record<string, unknown>;
152
-
153
- /** @internal The set of issues this schema might throw during type checking. */
154
- isst: errors.$ZodIssueBase;
155
-
156
- /** @internal Subject to change, not a public API. */
157
- processJSONSchema?:
158
- | ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void)
159
- | undefined;
160
-
161
- /** An optional method used to override `toJSONSchema` logic. */
162
- toJSONSchema?: () => unknown;
163
-
164
- /** @internal The parent of this schema. Only set during certain clone operations. */
165
- parent?: $ZodType | undefined;
166
- }
167
- /** @internal */
168
- export interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
169
- /** @internal The inferred output type */
170
- output: O; //extends { $out: infer O } ? O : Out;
171
- /** @internal The inferred input type */
172
- input: I; //extends { $in: infer I } ? I : In;
173
- }
174
-
175
- export type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;
176
-
177
- export type SomeType = { _zod: _$ZodTypeInternals };
178
-
179
- export interface $ZodType<
180
- O = unknown,
181
- I = unknown,
182
- Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>,
183
- > {
184
- _zod: Internals;
185
- "~standard": $ZodStandardSchema<this>;
186
- }
187
- export interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals>
188
- extends $ZodType<T["output"], T["input"], T> {}
189
-
190
- export const $ZodType: core.$constructor<$ZodType> = /*@__PURE__*/ core.$constructor("$ZodType", (inst, def) => {
191
- inst ??= {} as any;
192
-
193
- inst._zod.def = def; // set _def property
194
- inst._zod.bag = inst._zod.bag || {}; // initialize _bag object
195
- inst._zod.version = version;
196
-
197
- const checks = [...(inst._zod.def.checks ?? [])];
198
-
199
- // if inst is itself a checks.$ZodCheck, run it as a check
200
- if (inst._zod.traits.has("$ZodCheck")) {
201
- checks.unshift(inst as any);
202
- }
203
-
204
- for (const ch of checks) {
205
- for (const fn of ch._zod.onattach) {
206
- fn(inst);
207
- }
208
- }
209
-
210
- if (checks.length === 0) {
211
- // deferred initializer
212
- // inst._zod.parse is not yet defined
213
- inst._zod.deferred ??= [];
214
- inst._zod.deferred?.push(() => {
215
- inst._zod.run = inst._zod.parse;
216
- });
217
- } else {
218
- const runChecks = (
219
- payload: ParsePayload,
220
- checks: checks.$ZodCheck<never>[],
221
- ctx?: ParseContextInternal | undefined
222
- ): util.MaybeAsync<ParsePayload> => {
223
- let isAborted = util.aborted(payload);
224
-
225
- let asyncResult!: Promise<unknown> | undefined;
226
- for (const ch of checks) {
227
- if (ch._zod.def.when) {
228
- if (util.explicitlyAborted(payload)) continue;
229
- const shouldRun = ch._zod.def.when(payload);
230
- if (!shouldRun) continue;
231
- } else if (isAborted) {
232
- continue;
233
- }
234
- const currLen = payload.issues.length;
235
- const _ = ch._zod.check(payload as any) as any as ParsePayload;
236
-
237
- if (_ instanceof Promise && ctx?.async === false) {
238
- throw new core.$ZodAsyncError();
239
- }
240
- if (asyncResult || _ instanceof Promise) {
241
- asyncResult = (asyncResult ?? Promise.resolve()).then(async () => {
242
- await _;
243
- const nextLen = payload.issues.length;
244
- if (nextLen === currLen) return;
245
- if (!isAborted) isAborted = util.aborted(payload, currLen);
246
- });
247
- } else {
248
- const nextLen = payload.issues.length;
249
- if (nextLen === currLen) continue;
250
- if (!isAborted) isAborted = util.aborted(payload, currLen);
251
- }
252
- }
253
-
254
- if (asyncResult) {
255
- return asyncResult.then(() => {
256
- return payload;
257
- });
258
- }
259
- return payload;
260
- };
261
-
262
- const handleCanaryResult = (canary: ParsePayload, payload: ParsePayload, ctx: ParseContextInternal) => {
263
- // abort if the canary is aborted
264
- if (util.aborted(canary)) {
265
- canary.aborted = true;
266
- return canary;
267
- }
268
-
269
- // run checks first, then
270
- const checkResult = runChecks(payload, checks, ctx);
271
- if (checkResult instanceof Promise) {
272
- if (ctx.async === false) throw new core.$ZodAsyncError();
273
- return checkResult.then((checkResult) => inst._zod.parse(checkResult, ctx));
274
- }
275
- return inst._zod.parse(checkResult, ctx);
276
- };
277
-
278
- inst._zod.run = (payload, ctx) => {
279
- if (ctx.skipChecks) {
280
- return inst._zod.parse(payload, ctx);
281
- }
282
- if (ctx.direction === "backward") {
283
- // run canary
284
- // initial pass (no checks)
285
- const canary = inst._zod.parse({ value: payload.value, issues: [] }, { ...ctx, skipChecks: true });
286
-
287
- if (canary instanceof Promise) {
288
- return canary.then((canary) => {
289
- return handleCanaryResult(canary, payload, ctx);
290
- });
291
- }
292
-
293
- return handleCanaryResult(canary, payload, ctx);
294
- }
295
-
296
- // forward
297
- const result = inst._zod.parse(payload, ctx);
298
- if (result instanceof Promise) {
299
- if (ctx.async === false) throw new core.$ZodAsyncError();
300
- return result.then((result) => runChecks(result, checks, ctx));
301
- }
302
-
303
- return runChecks(result, checks, ctx);
304
- };
305
- }
306
-
307
- // Lazy initialize ~standard to avoid creating objects for every schema
308
- util.defineLazy(inst, "~standard", () => ({
309
- validate: (value: unknown) => {
310
- try {
311
- const r = safeParse(inst, value);
312
- return r.success ? { value: r.data } : { issues: r.error?.issues };
313
- } catch (_) {
314
- return safeParseAsync(inst, value).then((r) => (r.success ? { value: r.data } : { issues: r.error?.issues }));
315
- }
316
- },
317
- vendor: "zod",
318
- version: 1 as const,
319
- }));
320
- });
321
-
322
- export { clone } from "./util.js";
323
-
324
- //////////////////////////////////////////
325
- //////////////////////////////////////////
326
- ////////// //////////
327
- ////////// $ZodString //////////
328
- ////////// //////////
329
- //////////////////////////////////////////
330
- //////////////////////////////////////////
331
- export interface $ZodStringDef extends $ZodTypeDef {
332
- type: "string";
333
- coerce?: boolean;
334
- checks?: checks.$ZodCheck<string>[];
335
- }
336
-
337
- export interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
338
- def: $ZodStringDef;
339
- /** @deprecated Internal API, use with caution (not deprecated) */
340
- pattern: RegExp;
341
-
342
- /** @deprecated Internal API, use with caution (not deprecated) */
343
- isst: errors.$ZodIssueInvalidType;
344
- bag: util.LoosePartial<{
345
- minimum: number;
346
- maximum: number;
347
- patterns: Set<RegExp>;
348
- format: string;
349
- contentEncoding: string;
350
- }>;
351
- }
352
-
353
- export interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {
354
- // _zod: $ZodStringInternals<Input>;
355
- }
356
-
357
- export const $ZodString: core.$constructor<$ZodString> = /*@__PURE__*/ core.$constructor("$ZodString", (inst, def) => {
358
- $ZodType.init(inst, def);
359
- inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? regexes.string(inst._zod.bag);
360
- inst._zod.parse = (payload, _) => {
361
- if (def.coerce)
362
- try {
363
- payload.value = String(payload.value);
364
- } catch (_) {}
365
-
366
- if (typeof payload.value === "string") return payload;
367
-
368
- payload.issues.push({
369
- expected: "string",
370
- code: "invalid_type",
371
-
372
- input: payload.value,
373
- inst,
374
- });
375
- return payload;
376
- };
377
- });
378
-
379
- ////////////////////////////// ZodStringFormat //////////////////////////////
380
-
381
- export interface $ZodStringFormatDef<Format extends string = string>
382
- extends $ZodStringDef,
383
- checks.$ZodCheckStringFormatDef<Format> {}
384
-
385
- export interface $ZodStringFormatInternals<Format extends string = string>
386
- extends $ZodStringInternals<string>,
387
- checks.$ZodCheckStringFormatInternals {
388
- def: $ZodStringFormatDef<Format>;
389
- }
390
- export interface $ZodStringFormat<Format extends string = string> extends $ZodType {
391
- _zod: $ZodStringFormatInternals<Format>;
392
- }
393
-
394
- export const $ZodStringFormat: core.$constructor<$ZodStringFormat> = /*@__PURE__*/ core.$constructor(
395
- "$ZodStringFormat",
396
- (inst, def): void => {
397
- // check initialization must come first
398
- checks.$ZodCheckStringFormat.init(inst, def);
399
- $ZodString.init(inst, def);
400
- }
401
- );
402
-
403
- ////////////////////////////// ZodGUID //////////////////////////////
404
- export interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {}
405
- export interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
406
-
407
- export interface $ZodGUID extends $ZodType {
408
- _zod: $ZodGUIDInternals;
409
- }
410
-
411
- export const $ZodGUID: core.$constructor<$ZodGUID> = /*@__PURE__*/ core.$constructor("$ZodGUID", (inst, def): void => {
412
- def.pattern ??= regexes.guid;
413
- $ZodStringFormat.init(inst, def);
414
- });
415
-
416
- ////////////////////////////// ZodUUID //////////////////////////////
417
-
418
- export interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
419
- version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
420
- }
421
-
422
- export interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
423
- def: $ZodUUIDDef;
424
- }
425
-
426
- export interface $ZodUUID extends $ZodType {
427
- _zod: $ZodUUIDInternals;
428
- }
429
-
430
- export const $ZodUUID: core.$constructor<$ZodUUID> = /*@__PURE__*/ core.$constructor("$ZodUUID", (inst, def): void => {
431
- if (def.version) {
432
- const versionMap: Record<string, number> = {
433
- v1: 1,
434
- v2: 2,
435
- v3: 3,
436
- v4: 4,
437
- v5: 5,
438
- v6: 6,
439
- v7: 7,
440
- v8: 8,
441
- };
442
- const v = versionMap[def.version];
443
- if (v === undefined) throw new Error(`Invalid UUID version: "${def.version}"`);
444
- def.pattern ??= regexes.uuid(v);
445
- } else def.pattern ??= regexes.uuid();
446
- $ZodStringFormat.init(inst, def);
447
- });
448
-
449
- ////////////////////////////// ZodEmail //////////////////////////////
450
-
451
- export interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {}
452
- export interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
453
- export interface $ZodEmail extends $ZodType {
454
- _zod: $ZodEmailInternals;
455
- }
456
-
457
- export const $ZodEmail: core.$constructor<$ZodEmail> = /*@__PURE__*/ core.$constructor(
458
- "$ZodEmail",
459
- (inst, def): void => {
460
- def.pattern ??= regexes.email;
461
- $ZodStringFormat.init(inst, def);
462
- }
463
- );
464
-
465
- ////////////////////////////// ZodURL //////////////////////////////
466
-
467
- export interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
468
- hostname?: RegExp | undefined;
469
- protocol?: RegExp | undefined;
470
- normalize?: boolean | undefined;
471
- }
472
- export interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
473
- def: $ZodURLDef;
474
- }
475
-
476
- export interface $ZodURL extends $ZodType {
477
- _zod: $ZodURLInternals;
478
- }
479
-
480
- export const $ZodURL: core.$constructor<$ZodURL> = /*@__PURE__*/ core.$constructor("$ZodURL", (inst, def) => {
481
- $ZodStringFormat.init(inst, def);
482
- inst._zod.check = (payload) => {
483
- try {
484
- // Trim whitespace from input
485
- const trimmed = payload.value.trim();
486
-
487
- // When normalize is off, require :// for http/https URLs
488
- // This prevents strings like "http:example.com" or "https:/path" from being silently accepted
489
- if (!def.normalize && def.protocol?.source === regexes.httpProtocol.source) {
490
- if (!/^https?:\/\//i.test(trimmed)) {
491
- payload.issues.push({
492
- code: "invalid_format",
493
- format: "url",
494
- note: "Invalid URL format",
495
- input: payload.value,
496
- inst,
497
- continue: !def.abort,
498
- });
499
- return;
500
- }
501
- }
502
-
503
- // @ts-ignore
504
- const url = new URL(trimmed);
505
-
506
- if (def.hostname) {
507
- def.hostname.lastIndex = 0;
508
- if (!def.hostname.test(url.hostname)) {
509
- payload.issues.push({
510
- code: "invalid_format",
511
- format: "url",
512
- note: "Invalid hostname",
513
- pattern: def.hostname.source,
514
- input: payload.value,
515
- inst,
516
- continue: !def.abort,
517
- });
518
- }
519
- }
520
-
521
- if (def.protocol) {
522
- def.protocol.lastIndex = 0;
523
- if (!def.protocol.test(url.protocol.endsWith(":") ? url.protocol.slice(0, -1) : url.protocol)) {
524
- payload.issues.push({
525
- code: "invalid_format",
526
- format: "url",
527
- note: "Invalid protocol",
528
- pattern: def.protocol.source,
529
- input: payload.value,
530
- inst,
531
- continue: !def.abort,
532
- });
533
- }
534
- }
535
-
536
- // Set the output value based on normalize flag
537
- if (def.normalize) {
538
- // Use normalized URL
539
- payload.value = url.href;
540
- } else {
541
- // Preserve the original input (trimmed)
542
- payload.value = trimmed;
543
- }
544
-
545
- return;
546
- } catch (_) {
547
- payload.issues.push({
548
- code: "invalid_format",
549
- format: "url",
550
- input: payload.value,
551
- inst,
552
- continue: !def.abort,
553
- });
554
- }
555
- };
556
- });
557
-
558
- ////////////////////////////// ZodEmoji //////////////////////////////
559
-
560
- export interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
561
- export interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
562
-
563
- export interface $ZodEmoji extends $ZodType {
564
- _zod: $ZodEmojiInternals;
565
- }
566
-
567
- export const $ZodEmoji: core.$constructor<$ZodEmoji> = /*@__PURE__*/ core.$constructor(
568
- "$ZodEmoji",
569
- (inst, def): void => {
570
- def.pattern ??= regexes.emoji();
571
- $ZodStringFormat.init(inst, def);
572
- }
573
- );
574
-
575
- ////////////////////////////// ZodNanoID //////////////////////////////
576
-
577
- export interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {}
578
- export interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
579
-
580
- export interface $ZodNanoID extends $ZodType {
581
- _zod: $ZodNanoIDInternals;
582
- }
583
-
584
- export const $ZodNanoID: core.$constructor<$ZodNanoID> = /*@__PURE__*/ core.$constructor(
585
- "$ZodNanoID",
586
- (inst, def): void => {
587
- def.pattern ??= regexes.nanoid;
588
- $ZodStringFormat.init(inst, def);
589
- }
590
- );
591
-
592
- ////////////////////////////// ZodCUID //////////////////////////////
593
-
594
- /**
595
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
596
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
597
- * See https://github.com/paralleldrive/cuid.
598
- */
599
- export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
600
- /**
601
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
602
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
603
- * See https://github.com/paralleldrive/cuid.
604
- */
605
- export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
606
-
607
- /**
608
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
609
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
610
- * See https://github.com/paralleldrive/cuid.
611
- */
612
- export interface $ZodCUID extends $ZodType {
613
- _zod: $ZodCUIDInternals;
614
- }
615
-
616
- /**
617
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
618
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
619
- * See https://github.com/paralleldrive/cuid.
620
- */
621
- export const $ZodCUID: core.$constructor<$ZodCUID> = /*@__PURE__*/ core.$constructor("$ZodCUID", (inst, def): void => {
622
- def.pattern ??= regexes.cuid;
623
- $ZodStringFormat.init(inst, def);
624
- });
625
-
626
- ////////////////////////////// ZodCUID2 //////////////////////////////
627
-
628
- export interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
629
- export interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
630
-
631
- export interface $ZodCUID2 extends $ZodType {
632
- _zod: $ZodCUID2Internals;
633
- }
634
-
635
- export const $ZodCUID2: core.$constructor<$ZodCUID2> = /*@__PURE__*/ core.$constructor(
636
- "$ZodCUID2",
637
- (inst, def): void => {
638
- def.pattern ??= regexes.cuid2;
639
- $ZodStringFormat.init(inst, def);
640
- }
641
- );
642
-
643
- ////////////////////////////// ZodULID //////////////////////////////
644
-
645
- export interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {}
646
- export interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
647
-
648
- export interface $ZodULID extends $ZodType {
649
- _zod: $ZodULIDInternals;
650
- }
651
-
652
- export const $ZodULID: core.$constructor<$ZodULID> = /*@__PURE__*/ core.$constructor("$ZodULID", (inst, def): void => {
653
- def.pattern ??= regexes.ulid;
654
- $ZodStringFormat.init(inst, def);
655
- });
656
-
657
- ////////////////////////////// ZodXID //////////////////////////////
658
-
659
- export interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {}
660
- export interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
661
-
662
- export interface $ZodXID extends $ZodType {
663
- _zod: $ZodXIDInternals;
664
- }
665
-
666
- export const $ZodXID: core.$constructor<$ZodXID> = /*@__PURE__*/ core.$constructor("$ZodXID", (inst, def): void => {
667
- def.pattern ??= regexes.xid;
668
- $ZodStringFormat.init(inst, def);
669
- });
670
-
671
- ////////////////////////////// ZodKSUID //////////////////////////////
672
-
673
- export interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {}
674
- export interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
675
-
676
- export interface $ZodKSUID extends $ZodType {
677
- _zod: $ZodKSUIDInternals;
678
- }
679
-
680
- export const $ZodKSUID: core.$constructor<$ZodKSUID> = /*@__PURE__*/ core.$constructor(
681
- "$ZodKSUID",
682
- (inst, def): void => {
683
- def.pattern ??= regexes.ksuid;
684
- $ZodStringFormat.init(inst, def);
685
- }
686
- );
687
-
688
- ////////////////////////////// ZodISODateTime //////////////////////////////
689
-
690
- export interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
691
- precision: number | null;
692
- offset: boolean;
693
- local: boolean;
694
- }
695
-
696
- export interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
697
- def: $ZodISODateTimeDef;
698
- }
699
-
700
- export interface $ZodISODateTime extends $ZodType {
701
- _zod: $ZodISODateTimeInternals;
702
- }
703
-
704
- export const $ZodISODateTime: core.$constructor<$ZodISODateTime> = /*@__PURE__*/ core.$constructor(
705
- "$ZodISODateTime",
706
- (inst, def): void => {
707
- def.pattern ??= regexes.datetime(def);
708
- $ZodStringFormat.init(inst, def);
709
- }
710
- );
711
-
712
- ////////////////////////////// ZodISODate //////////////////////////////
713
-
714
- export interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {}
715
- export interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
716
-
717
- export interface $ZodISODate extends $ZodType {
718
- _zod: $ZodISODateInternals;
719
- }
720
-
721
- export const $ZodISODate: core.$constructor<$ZodISODate> = /*@__PURE__*/ core.$constructor(
722
- "$ZodISODate",
723
- (inst, def): void => {
724
- def.pattern ??= regexes.date;
725
- $ZodStringFormat.init(inst, def);
726
- }
727
- );
728
-
729
- ////////////////////////////// ZodISOTime //////////////////////////////
730
-
731
- export interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
732
- precision?: number | null;
733
- }
734
-
735
- export interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
736
- def: $ZodISOTimeDef;
737
- }
738
-
739
- export interface $ZodISOTime extends $ZodType {
740
- _zod: $ZodISOTimeInternals;
741
- }
742
-
743
- export const $ZodISOTime: core.$constructor<$ZodISOTime> = /*@__PURE__*/ core.$constructor(
744
- "$ZodISOTime",
745
- (inst, def): void => {
746
- def.pattern ??= regexes.time(def);
747
- $ZodStringFormat.init(inst, def);
748
- }
749
- );
750
-
751
- ////////////////////////////// ZodISODuration //////////////////////////////
752
-
753
- export interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {}
754
- export interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
755
-
756
- export interface $ZodISODuration extends $ZodType {
757
- _zod: $ZodISODurationInternals;
758
- }
759
-
760
- export const $ZodISODuration: core.$constructor<$ZodISODuration> = /*@__PURE__*/ core.$constructor(
761
- "$ZodISODuration",
762
- (inst, def): void => {
763
- def.pattern ??= regexes.duration;
764
- $ZodStringFormat.init(inst, def);
765
- }
766
- );
767
-
768
- ////////////////////////////// ZodIPv4 //////////////////////////////
769
-
770
- export interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
771
- version?: "v4";
772
- }
773
-
774
- export interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
775
- def: $ZodIPv4Def;
776
- }
777
-
778
- export interface $ZodIPv4 extends $ZodType {
779
- _zod: $ZodIPv4Internals;
780
- }
781
-
782
- export const $ZodIPv4: core.$constructor<$ZodIPv4> = /*@__PURE__*/ core.$constructor("$ZodIPv4", (inst, def): void => {
783
- def.pattern ??= regexes.ipv4;
784
- $ZodStringFormat.init(inst, def);
785
-
786
- inst._zod.bag.format = `ipv4`;
787
- });
788
-
789
- ////////////////////////////// ZodIPv6 //////////////////////////////
790
-
791
- export interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
792
- version?: "v6";
793
- }
794
-
795
- export interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
796
- def: $ZodIPv6Def;
797
- }
798
-
799
- export interface $ZodIPv6 extends $ZodType {
800
- _zod: $ZodIPv6Internals;
801
- }
802
-
803
- export const $ZodIPv6: core.$constructor<$ZodIPv6> = /*@__PURE__*/ core.$constructor("$ZodIPv6", (inst, def): void => {
804
- def.pattern ??= regexes.ipv6;
805
- $ZodStringFormat.init(inst, def);
806
-
807
- inst._zod.bag.format = `ipv6`;
808
-
809
- inst._zod.check = (payload) => {
810
- try {
811
- // @ts-ignore
812
- new URL(`http://[${payload.value}]`);
813
- // return;
814
- } catch {
815
- payload.issues.push({
816
- code: "invalid_format",
817
- format: "ipv6",
818
- input: payload.value,
819
- inst,
820
- continue: !def.abort,
821
- });
822
- }
823
- };
824
- });
825
-
826
- ////////////////////////////// ZodMAC //////////////////////////////
827
- export interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
828
- delimiter?: string;
829
- }
830
-
831
- export interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
832
- def: $ZodMACDef;
833
- }
834
-
835
- export interface $ZodMAC extends $ZodType {
836
- _zod: $ZodMACInternals;
837
- }
838
-
839
- export const $ZodMAC: core.$constructor<$ZodMAC> = /*@__PURE__*/ core.$constructor("$ZodMAC", (inst, def): void => {
840
- def.pattern ??= regexes.mac(def.delimiter);
841
- $ZodStringFormat.init(inst, def);
842
-
843
- inst._zod.bag.format = `mac`;
844
- });
845
-
846
- ////////////////////////////// ZodCIDRv4 //////////////////////////////
847
-
848
- export interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
849
- version?: "v4";
850
- }
851
-
852
- export interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
853
- def: $ZodCIDRv4Def;
854
- }
855
-
856
- export interface $ZodCIDRv4 extends $ZodType {
857
- _zod: $ZodCIDRv4Internals;
858
- }
859
-
860
- export const $ZodCIDRv4: core.$constructor<$ZodCIDRv4> = /*@__PURE__*/ core.$constructor(
861
- "$ZodCIDRv4",
862
- (inst, def): void => {
863
- def.pattern ??= regexes.cidrv4;
864
- $ZodStringFormat.init(inst, def);
865
- }
866
- );
867
-
868
- ////////////////////////////// ZodCIDRv6 //////////////////////////////
869
-
870
- export interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
871
- version?: "v6";
872
- }
873
-
874
- export interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
875
- def: $ZodCIDRv6Def;
876
- }
877
-
878
- export interface $ZodCIDRv6 extends $ZodType {
879
- _zod: $ZodCIDRv6Internals;
880
- }
881
-
882
- export const $ZodCIDRv6: core.$constructor<$ZodCIDRv6> = /*@__PURE__*/ core.$constructor(
883
- "$ZodCIDRv6",
884
- (inst, def): void => {
885
- def.pattern ??= regexes.cidrv6; // not used for validation
886
- $ZodStringFormat.init(inst, def);
887
-
888
- inst._zod.check = (payload) => {
889
- const parts = payload.value.split("/");
890
- try {
891
- if (parts.length !== 2) throw new Error();
892
- const [address, prefix] = parts;
893
- if (!prefix) throw new Error();
894
- const prefixNum = Number(prefix);
895
- if (`${prefixNum}` !== prefix) throw new Error();
896
- if (prefixNum < 0 || prefixNum > 128) throw new Error();
897
- // @ts-ignore
898
- new URL(`http://[${address}]`);
899
- } catch {
900
- payload.issues.push({
901
- code: "invalid_format",
902
- format: "cidrv6",
903
- input: payload.value,
904
- inst,
905
- continue: !def.abort,
906
- });
907
- }
908
- };
909
- }
910
- );
911
-
912
- ////////////////////////////// ZodBase64 //////////////////////////////
913
- export function isValidBase64(data: string): boolean {
914
- if (data === "") return true;
915
- // atob ignores whitespace, so reject it up front.
916
- if (/\s/.test(data)) return false;
917
- if (data.length % 4 !== 0) return false;
918
- try {
919
- // @ts-ignore
920
- atob(data);
921
- return true;
922
- } catch {
923
- return false;
924
- }
925
- }
926
-
927
- export interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
928
- export interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
929
-
930
- export interface $ZodBase64 extends $ZodType {
931
- _zod: $ZodBase64Internals;
932
- }
933
-
934
- export const $ZodBase64: core.$constructor<$ZodBase64> = /*@__PURE__*/ core.$constructor(
935
- "$ZodBase64",
936
- (inst, def): void => {
937
- def.pattern ??= regexes.base64;
938
- $ZodStringFormat.init(inst, def);
939
-
940
- inst._zod.bag.contentEncoding = "base64";
941
-
942
- inst._zod.check = (payload) => {
943
- if (isValidBase64(payload.value)) return;
944
-
945
- payload.issues.push({
946
- code: "invalid_format",
947
- format: "base64",
948
- input: payload.value,
949
- inst,
950
- continue: !def.abort,
951
- });
952
- };
953
- }
954
- );
955
-
956
- ////////////////////////////// ZodBase64 //////////////////////////////
957
- export function isValidBase64URL(data: string): boolean {
958
- if (!regexes.base64url.test(data)) return false;
959
- const base64 = data.replace(/[-_]/g, (c) => (c === "-" ? "+" : "/"));
960
- const padded = base64.padEnd(Math.ceil(base64.length / 4) * 4, "=");
961
- return isValidBase64(padded);
962
- }
963
-
964
- export interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
965
- export interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
966
-
967
- export interface $ZodBase64URL extends $ZodType {
968
- _zod: $ZodBase64URLInternals;
969
- }
970
-
971
- export const $ZodBase64URL: core.$constructor<$ZodBase64URL> = /*@__PURE__*/ core.$constructor(
972
- "$ZodBase64URL",
973
- (inst, def): void => {
974
- def.pattern ??= regexes.base64url;
975
- $ZodStringFormat.init(inst, def);
976
-
977
- inst._zod.bag.contentEncoding = "base64url";
978
-
979
- inst._zod.check = (payload) => {
980
- if (isValidBase64URL(payload.value)) return;
981
-
982
- payload.issues.push({
983
- code: "invalid_format",
984
- format: "base64url",
985
- input: payload.value,
986
- inst,
987
- continue: !def.abort,
988
- });
989
- };
990
- }
991
- );
992
-
993
- ////////////////////////////// ZodE164 //////////////////////////////
994
-
995
- export interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {}
996
- export interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
997
-
998
- export interface $ZodE164 extends $ZodType {
999
- _zod: $ZodE164Internals;
1000
- }
1001
-
1002
- export const $ZodE164: core.$constructor<$ZodE164> = /*@__PURE__*/ core.$constructor("$ZodE164", (inst, def): void => {
1003
- def.pattern ??= regexes.e164;
1004
- $ZodStringFormat.init(inst, def);
1005
- });
1006
-
1007
- ////////////////////////////// ZodJWT //////////////////////////////
1008
-
1009
- export function isValidJWT(token: string, algorithm: util.JWTAlgorithm | null = null): boolean {
1010
- try {
1011
- const tokensParts = token.split(".");
1012
- if (tokensParts.length !== 3) return false;
1013
- const [header] = tokensParts;
1014
- if (!header) return false;
1015
- // @ts-ignore
1016
- const parsedHeader = JSON.parse(atob(header));
1017
- if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT") return false;
1018
- if (!parsedHeader.alg) return false;
1019
- if (algorithm && (!("alg" in parsedHeader) || parsedHeader.alg !== algorithm)) return false;
1020
- return true;
1021
- } catch {
1022
- return false;
1023
- }
1024
- }
1025
-
1026
- export interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
1027
- alg?: util.JWTAlgorithm | undefined;
1028
- }
1029
-
1030
- export interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
1031
- def: $ZodJWTDef;
1032
- }
1033
-
1034
- export interface $ZodJWT extends $ZodType {
1035
- _zod: $ZodJWTInternals;
1036
- }
1037
-
1038
- export const $ZodJWT: core.$constructor<$ZodJWT> = /*@__PURE__*/ core.$constructor("$ZodJWT", (inst, def): void => {
1039
- $ZodStringFormat.init(inst, def);
1040
- inst._zod.check = (payload) => {
1041
- if (isValidJWT(payload.value, def.alg)) return;
1042
-
1043
- payload.issues.push({
1044
- code: "invalid_format",
1045
- format: "jwt",
1046
- input: payload.value,
1047
- inst,
1048
- continue: !def.abort,
1049
- });
1050
- };
1051
- });
1052
-
1053
- ////////////////////////////// ZodCustomStringFormat //////////////////////////////
1054
-
1055
- export interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
1056
- fn: (val: string) => unknown;
1057
- }
1058
-
1059
- export interface $ZodCustomStringFormatInternals<Format extends string = string>
1060
- extends $ZodStringFormatInternals<Format> {
1061
- def: $ZodCustomStringFormatDef<Format>;
1062
- }
1063
-
1064
- export interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
1065
- _zod: $ZodCustomStringFormatInternals<Format>;
1066
- }
1067
-
1068
- export const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat> = /*@__PURE__*/ core.$constructor(
1069
- "$ZodCustomStringFormat",
1070
- (inst, def): void => {
1071
- $ZodStringFormat.init(inst, def);
1072
- inst._zod.check = (payload) => {
1073
- if (def.fn(payload.value)) return;
1074
-
1075
- payload.issues.push({
1076
- code: "invalid_format",
1077
- format: def.format,
1078
- input: payload.value,
1079
- inst,
1080
- continue: !def.abort,
1081
- });
1082
- };
1083
- }
1084
- );
1085
-
1086
- /////////////////////////////////////////
1087
- /////////////////////////////////////////
1088
- ////////// //////////
1089
- ////////// ZodNumber //////////
1090
- ////////// //////////
1091
- /////////////////////////////////////////
1092
- /////////////////////////////////////////
1093
-
1094
- export interface $ZodNumberDef extends $ZodTypeDef {
1095
- type: "number";
1096
- coerce?: boolean;
1097
- // checks: checks.$ZodCheck<number>[];
1098
- }
1099
-
1100
- export interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
1101
- def: $ZodNumberDef;
1102
- /** @deprecated Internal API, use with caution (not deprecated) */
1103
- pattern: RegExp;
1104
- /** @deprecated Internal API, use with caution (not deprecated) */
1105
- isst: errors.$ZodIssueInvalidType;
1106
- bag: util.LoosePartial<{
1107
- minimum: number;
1108
- maximum: number;
1109
- exclusiveMinimum: number;
1110
- exclusiveMaximum: number;
1111
- format: string;
1112
- pattern: RegExp;
1113
- }>;
1114
- }
1115
-
1116
- export interface $ZodNumber<Input = unknown> extends $ZodType {
1117
- _zod: $ZodNumberInternals<Input>;
1118
- }
1119
-
1120
- export const $ZodNumber: core.$constructor<$ZodNumber> = /*@__PURE__*/ core.$constructor("$ZodNumber", (inst, def) => {
1121
- $ZodType.init(inst, def);
1122
-
1123
- inst._zod.pattern = inst._zod.bag.pattern ?? regexes.number;
1124
- inst._zod.parse = (payload, _ctx) => {
1125
- if (def.coerce)
1126
- try {
1127
- payload.value = Number(payload.value);
1128
- } catch (_) {}
1129
- const input = payload.value;
1130
- if (typeof input === "number" && !Number.isNaN(input) && Number.isFinite(input)) {
1131
- return payload;
1132
- }
1133
-
1134
- const received =
1135
- typeof input === "number"
1136
- ? Number.isNaN(input)
1137
- ? "NaN"
1138
- : !Number.isFinite(input)
1139
- ? "Infinity"
1140
- : undefined
1141
- : undefined;
1142
-
1143
- payload.issues.push({
1144
- expected: "number",
1145
- code: "invalid_type",
1146
-
1147
- input,
1148
- inst,
1149
- ...(received ? { received } : {}),
1150
- });
1151
- return payload;
1152
- };
1153
- });
1154
-
1155
- ///////////////////////////////////////////////
1156
- ////////// ZodNumberFormat //////////
1157
- ///////////////////////////////////////////////
1158
- export interface $ZodNumberFormatDef extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef {}
1159
-
1160
- export interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals {
1161
- def: $ZodNumberFormatDef;
1162
- isst: errors.$ZodIssueInvalidType;
1163
- }
1164
-
1165
- export interface $ZodNumberFormat extends $ZodType {
1166
- _zod: $ZodNumberFormatInternals;
1167
- }
1168
-
1169
- export const $ZodNumberFormat: core.$constructor<$ZodNumberFormat> = /*@__PURE__*/ core.$constructor(
1170
- "$ZodNumberFormat",
1171
- (inst, def) => {
1172
- checks.$ZodCheckNumberFormat.init(inst, def);
1173
- $ZodNumber.init(inst, def); // no format checks
1174
- }
1175
- );
1176
-
1177
- ///////////////////////////////////////////
1178
- ///////////////////////////////////////////
1179
- ////////// ///////////
1180
- ////////// $ZodBoolean //////////
1181
- ////////// ///////////
1182
- ///////////////////////////////////////////
1183
- ///////////////////////////////////////////
1184
-
1185
- export interface $ZodBooleanDef extends $ZodTypeDef {
1186
- type: "boolean";
1187
- coerce?: boolean;
1188
- checks?: checks.$ZodCheck<boolean>[];
1189
- }
1190
-
1191
- export interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
1192
- pattern: RegExp;
1193
- def: $ZodBooleanDef;
1194
- isst: errors.$ZodIssueInvalidType;
1195
- }
1196
-
1197
- export interface $ZodBoolean<T = unknown> extends $ZodType {
1198
- _zod: $ZodBooleanInternals<T>;
1199
- }
1200
-
1201
- export const $ZodBoolean: core.$constructor<$ZodBoolean> = /*@__PURE__*/ core.$constructor(
1202
- "$ZodBoolean",
1203
- (inst, def) => {
1204
- $ZodType.init(inst, def);
1205
- inst._zod.pattern = regexes.boolean;
1206
-
1207
- inst._zod.parse = (payload, _ctx) => {
1208
- if (def.coerce)
1209
- try {
1210
- payload.value = Boolean(payload.value);
1211
- } catch (_) {}
1212
- const input = payload.value;
1213
- if (typeof input === "boolean") return payload;
1214
- payload.issues.push({
1215
- expected: "boolean",
1216
- code: "invalid_type",
1217
-
1218
- input,
1219
- inst,
1220
- });
1221
- return payload;
1222
- };
1223
- }
1224
- );
1225
-
1226
- //////////////////////////////////////////
1227
- //////////////////////////////////////////
1228
- ////////// //////////
1229
- ////////// $ZodBigInt //////////
1230
- ////////// //////////
1231
- //////////////////////////////////////////
1232
- //////////////////////////////////////////
1233
-
1234
- export interface $ZodBigIntDef extends $ZodTypeDef {
1235
- type: "bigint";
1236
- coerce?: boolean;
1237
- // checks: checks.$ZodCheck<bigint>[];
1238
- }
1239
-
1240
- export interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
1241
- pattern: RegExp;
1242
- /** @internal Internal API, use with caution */
1243
- def: $ZodBigIntDef;
1244
- isst: errors.$ZodIssueInvalidType;
1245
- bag: util.LoosePartial<{
1246
- minimum: bigint;
1247
- maximum: bigint;
1248
- format: string;
1249
- }>;
1250
- }
1251
-
1252
- export interface $ZodBigInt<T = unknown> extends $ZodType {
1253
- _zod: $ZodBigIntInternals<T>;
1254
- }
1255
-
1256
- export const $ZodBigInt: core.$constructor<$ZodBigInt> = /*@__PURE__*/ core.$constructor("$ZodBigInt", (inst, def) => {
1257
- $ZodType.init(inst, def);
1258
- inst._zod.pattern = regexes.bigint;
1259
-
1260
- inst._zod.parse = (payload, _ctx) => {
1261
- if (def.coerce)
1262
- try {
1263
- payload.value = BigInt(payload.value);
1264
- } catch (_) {}
1265
-
1266
- if (typeof payload.value === "bigint") return payload;
1267
- payload.issues.push({
1268
- expected: "bigint",
1269
- code: "invalid_type",
1270
-
1271
- input: payload.value,
1272
- inst,
1273
- });
1274
- return payload;
1275
- };
1276
- });
1277
-
1278
- ///////////////////////////////////////////////
1279
- ////////// ZodBigIntFormat //////////
1280
- ///////////////////////////////////////////////
1281
- export interface $ZodBigIntFormatDef extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef {
1282
- check: "bigint_format";
1283
- }
1284
-
1285
- export interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals {
1286
- def: $ZodBigIntFormatDef;
1287
- }
1288
-
1289
- export interface $ZodBigIntFormat extends $ZodType {
1290
- _zod: $ZodBigIntFormatInternals;
1291
- }
1292
-
1293
- export const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat> = /*@__PURE__*/ core.$constructor(
1294
- "$ZodBigIntFormat",
1295
- (inst, def) => {
1296
- checks.$ZodCheckBigIntFormat.init(inst, def);
1297
- $ZodBigInt.init(inst, def); // no format checks
1298
- }
1299
- );
1300
-
1301
- ////////////////////////////////////////////
1302
- ////////////////////////////////////////////
1303
- ////////// //////////
1304
- ////////// $ZodSymbol //////////
1305
- ////////// //////////
1306
- ////////////////////////////////////////////
1307
- ////////////////////////////////////////////
1308
- export interface $ZodSymbolDef extends $ZodTypeDef {
1309
- type: "symbol";
1310
- }
1311
-
1312
- export interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
1313
- def: $ZodSymbolDef;
1314
- isst: errors.$ZodIssueInvalidType;
1315
- }
1316
-
1317
- export interface $ZodSymbol extends $ZodType {
1318
- _zod: $ZodSymbolInternals;
1319
- }
1320
-
1321
- export const $ZodSymbol: core.$constructor<$ZodSymbol> = /*@__PURE__*/ core.$constructor("$ZodSymbol", (inst, def) => {
1322
- $ZodType.init(inst, def);
1323
-
1324
- inst._zod.parse = (payload, _ctx) => {
1325
- const input = payload.value;
1326
- if (typeof input === "symbol") return payload;
1327
- payload.issues.push({
1328
- expected: "symbol",
1329
- code: "invalid_type",
1330
-
1331
- input,
1332
- inst,
1333
- });
1334
- return payload;
1335
- };
1336
- });
1337
-
1338
- ////////////////////////////////////////////
1339
- ////////////////////////////////////////////
1340
- ////////// //////////
1341
- ////////// $ZodUndefined //////////
1342
- ////////// //////////
1343
- ////////////////////////////////////////////
1344
- ////////////////////////////////////////////
1345
- export interface $ZodUndefinedDef extends $ZodTypeDef {
1346
- type: "undefined";
1347
- }
1348
-
1349
- export interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
1350
- pattern: RegExp;
1351
- def: $ZodUndefinedDef;
1352
- values: util.PrimitiveSet;
1353
- isst: errors.$ZodIssueInvalidType;
1354
- }
1355
-
1356
- export interface $ZodUndefined extends $ZodType {
1357
- _zod: $ZodUndefinedInternals;
1358
- }
1359
-
1360
- export const $ZodUndefined: core.$constructor<$ZodUndefined> = /*@__PURE__*/ core.$constructor(
1361
- "$ZodUndefined",
1362
- (inst, def) => {
1363
- $ZodType.init(inst, def);
1364
- inst._zod.pattern = regexes.undefined;
1365
- inst._zod.values = new Set([undefined]);
1366
-
1367
- inst._zod.parse = (payload, _ctx) => {
1368
- const input = payload.value;
1369
- if (typeof input === "undefined") return payload;
1370
- payload.issues.push({
1371
- expected: "undefined",
1372
- code: "invalid_type",
1373
-
1374
- input,
1375
- inst,
1376
- });
1377
- return payload;
1378
- };
1379
- }
1380
- );
1381
-
1382
- ///////////////////////////////////////
1383
- ///////////////////////////////////////
1384
- ////////// //////////
1385
- ////////// $ZodNull /////////
1386
- ////////// //////////
1387
- ///////////////////////////////////////
1388
- ///////////////////////////////////////
1389
-
1390
- export interface $ZodNullDef extends $ZodTypeDef {
1391
- type: "null";
1392
- }
1393
-
1394
- export interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
1395
- pattern: RegExp;
1396
- def: $ZodNullDef;
1397
- values: util.PrimitiveSet;
1398
- isst: errors.$ZodIssueInvalidType;
1399
- }
1400
-
1401
- export interface $ZodNull extends $ZodType {
1402
- _zod: $ZodNullInternals;
1403
- }
1404
-
1405
- export const $ZodNull: core.$constructor<$ZodNull> = /*@__PURE__*/ core.$constructor("$ZodNull", (inst, def) => {
1406
- $ZodType.init(inst, def);
1407
- inst._zod.pattern = regexes.null;
1408
- inst._zod.values = new Set([null]);
1409
-
1410
- inst._zod.parse = (payload, _ctx) => {
1411
- const input = payload.value;
1412
- if (input === null) return payload;
1413
- payload.issues.push({
1414
- expected: "null",
1415
- code: "invalid_type",
1416
-
1417
- input,
1418
- inst,
1419
- });
1420
- return payload;
1421
- };
1422
- });
1423
-
1424
- //////////////////////////////////////
1425
- //////////////////////////////////////
1426
- ////////// //////////
1427
- ////////// $ZodAny //////////
1428
- ////////// //////////
1429
- //////////////////////////////////////
1430
- //////////////////////////////////////
1431
-
1432
- export interface $ZodAnyDef extends $ZodTypeDef {
1433
- type: "any";
1434
- }
1435
-
1436
- export interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
1437
- def: $ZodAnyDef;
1438
- isst: never;
1439
- }
1440
-
1441
- export interface $ZodAny extends $ZodType {
1442
- _zod: $ZodAnyInternals;
1443
- }
1444
-
1445
- export const $ZodAny: core.$constructor<$ZodAny> = /*@__PURE__*/ core.$constructor("$ZodAny", (inst, def) => {
1446
- $ZodType.init(inst, def);
1447
-
1448
- inst._zod.parse = (payload) => payload;
1449
- });
1450
-
1451
- //////////////////////////////////////////
1452
- //////////////////////////////////////////
1453
- ////////// //////////
1454
- ////////// $ZodUnknown //////////
1455
- ////////// //////////
1456
- //////////////////////////////////////////
1457
- //////////////////////////////////////////
1458
-
1459
- export interface $ZodUnknownDef extends $ZodTypeDef {
1460
- type: "unknown";
1461
- }
1462
-
1463
- export interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
1464
- def: $ZodUnknownDef;
1465
- isst: never;
1466
- }
1467
-
1468
- export interface $ZodUnknown extends $ZodType {
1469
- _zod: $ZodUnknownInternals;
1470
- }
1471
-
1472
- export const $ZodUnknown: core.$constructor<$ZodUnknown> = /*@__PURE__*/ core.$constructor(
1473
- "$ZodUnknown",
1474
- (inst, def) => {
1475
- $ZodType.init(inst, def);
1476
-
1477
- inst._zod.parse = (payload) => payload;
1478
- }
1479
- );
1480
-
1481
- /////////////////////////////////////////
1482
- /////////////////////////////////////////
1483
- ////////// //////////
1484
- ////////// $ZodNever //////////
1485
- ////////// //////////
1486
- /////////////////////////////////////////
1487
- /////////////////////////////////////////
1488
-
1489
- export interface $ZodNeverDef extends $ZodTypeDef {
1490
- type: "never";
1491
- }
1492
-
1493
- export interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
1494
- def: $ZodNeverDef;
1495
- isst: errors.$ZodIssueInvalidType;
1496
- }
1497
-
1498
- export interface $ZodNever extends $ZodType {
1499
- _zod: $ZodNeverInternals;
1500
- }
1501
-
1502
- export const $ZodNever: core.$constructor<$ZodNever> = /*@__PURE__*/ core.$constructor("$ZodNever", (inst, def) => {
1503
- $ZodType.init(inst, def);
1504
- inst._zod.parse = (payload, _ctx) => {
1505
- payload.issues.push({
1506
- expected: "never",
1507
- code: "invalid_type",
1508
-
1509
- input: payload.value,
1510
- inst,
1511
- });
1512
- return payload;
1513
- };
1514
- });
1515
-
1516
- ////////////////////////////////////////
1517
- ////////////////////////////////////////
1518
- ////////// //////////
1519
- ////////// $ZodVoid //////////
1520
- ////////// //////////
1521
- ////////////////////////////////////////
1522
- ////////////////////////////////////////
1523
-
1524
- export interface $ZodVoidDef extends $ZodTypeDef {
1525
- type: "void";
1526
- }
1527
-
1528
- export interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
1529
- def: $ZodVoidDef;
1530
- isst: errors.$ZodIssueInvalidType;
1531
- }
1532
-
1533
- export interface $ZodVoid extends $ZodType {
1534
- _zod: $ZodVoidInternals;
1535
- }
1536
-
1537
- export const $ZodVoid: core.$constructor<$ZodVoid> = /*@__PURE__*/ core.$constructor("$ZodVoid", (inst, def) => {
1538
- $ZodType.init(inst, def);
1539
-
1540
- inst._zod.parse = (payload, _ctx) => {
1541
- const input = payload.value;
1542
- if (typeof input === "undefined") return payload;
1543
- payload.issues.push({
1544
- expected: "void",
1545
- code: "invalid_type",
1546
-
1547
- input,
1548
- inst,
1549
- });
1550
- return payload;
1551
- };
1552
- });
1553
-
1554
- ///////////////////////////////////////
1555
- ///////////////////////////////////////
1556
- ////////// ////////
1557
- ////////// $ZodDate ////////
1558
- ////////// ////////
1559
- ///////////////////////////////////////
1560
- ///////////////////////////////////////
1561
- export interface $ZodDateDef extends $ZodTypeDef {
1562
- type: "date";
1563
- coerce?: boolean;
1564
- }
1565
-
1566
- export interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
1567
- def: $ZodDateDef;
1568
- isst: errors.$ZodIssueInvalidType; // | errors.$ZodIssueInvalidDate;
1569
- bag: util.LoosePartial<{
1570
- minimum: Date;
1571
- maximum: Date;
1572
- format: string;
1573
- }>;
1574
- }
1575
-
1576
- export interface $ZodDate<T = unknown> extends $ZodType {
1577
- _zod: $ZodDateInternals<T>;
1578
- }
1579
-
1580
- export const $ZodDate: core.$constructor<$ZodDate> = /*@__PURE__*/ core.$constructor("$ZodDate", (inst, def) => {
1581
- $ZodType.init(inst, def);
1582
-
1583
- inst._zod.parse = (payload, _ctx) => {
1584
- if (def.coerce) {
1585
- try {
1586
- payload.value = new Date(payload.value as string | number | Date);
1587
- } catch (_err: any) {}
1588
- }
1589
- const input = payload.value;
1590
-
1591
- const isDate = input instanceof Date;
1592
- const isValidDate = isDate && !Number.isNaN(input.getTime());
1593
- if (isValidDate) return payload;
1594
- payload.issues.push({
1595
- expected: "date",
1596
- code: "invalid_type",
1597
-
1598
- input,
1599
- ...(isDate ? { received: "Invalid Date" } : {}),
1600
- inst,
1601
- });
1602
-
1603
- return payload;
1604
- };
1605
- });
1606
-
1607
- /////////////////////////////////////////
1608
- /////////////////////////////////////////
1609
- ////////// //////////
1610
- ////////// $ZodArray //////////
1611
- ////////// //////////
1612
- /////////////////////////////////////////
1613
- /////////////////////////////////////////
1614
-
1615
- export interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1616
- type: "array";
1617
- element: T;
1618
- }
1619
-
1620
- export interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
1621
- //$ZodTypeInternals<core.output<T>[], core.input<T>[]> {
1622
- def: $ZodArrayDef<T>;
1623
- isst: errors.$ZodIssueInvalidType;
1624
- output: core.output<T>[];
1625
- input: core.input<T>[];
1626
- }
1627
-
1628
- export interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
1629
-
1630
- function handleArrayResult(result: ParsePayload<any>, final: ParsePayload<any[]>, index: number) {
1631
- if (result.issues.length) {
1632
- final.issues.push(...util.prefixIssues(index, result.issues));
1633
- }
1634
- final.value[index] = result.value;
1635
- }
1636
-
1637
- export const $ZodArray: core.$constructor<$ZodArray> = /*@__PURE__*/ core.$constructor("$ZodArray", (inst, def) => {
1638
- $ZodType.init(inst, def);
1639
-
1640
- inst._zod.parse = (payload, ctx) => {
1641
- const input = payload.value;
1642
-
1643
- if (!Array.isArray(input)) {
1644
- payload.issues.push({
1645
- expected: "array",
1646
- code: "invalid_type",
1647
-
1648
- input,
1649
- inst,
1650
- });
1651
- return payload;
1652
- }
1653
-
1654
- payload.value = Array(input.length);
1655
- const proms: Promise<any>[] = [];
1656
- for (let i = 0; i < input.length; i++) {
1657
- const item = input[i];
1658
- const result = def.element._zod.run(
1659
- {
1660
- value: item,
1661
- issues: [],
1662
- },
1663
- ctx
1664
- );
1665
-
1666
- if (result instanceof Promise) {
1667
- proms.push(result.then((result) => handleArrayResult(result, payload, i)));
1668
- } else {
1669
- handleArrayResult(result, payload, i);
1670
- }
1671
- }
1672
-
1673
- if (proms.length) {
1674
- return Promise.all(proms).then(() => payload);
1675
- }
1676
-
1677
- return payload; //handleArrayResultsAsync(parseResults, final);
1678
- };
1679
- });
1680
-
1681
- //////////////////////////////////////////
1682
- //////////////////////////////////////////
1683
- ////////// //////////
1684
- ////////// $ZodObject //////////
1685
- ////////// //////////
1686
- //////////////////////////////////////////
1687
- //////////////////////////////////////////
1688
-
1689
- type OptionalOutSchema = { _zod: { optout: "optional" } };
1690
- type OptionalInSchema = { _zod: { optin: "optional" } };
1691
-
1692
- export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T
1693
- ? util.IsAny<T[keyof T]> extends true
1694
- ? Record<string, unknown>
1695
- : Record<string, core.output<T[keyof T]>>
1696
- : keyof (T & Extra) extends never
1697
- ? Record<string, never>
1698
- : util.Prettify<
1699
- {
1700
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"];
1701
- } & {
1702
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"];
1703
- } & Extra
1704
- >;
1705
-
1706
- // experimental
1707
- // export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = keyof (T &
1708
- // Extra) extends never
1709
- // ? Record<string, never>
1710
- // : string extends keyof T
1711
- // ? util.Prettify<
1712
- // {
1713
- // [k: string]: util.IsAny<T[string]["_zod"]["output"]> extends true ? unknown : T[string]["_zod"]["output"];
1714
- // } & $InferObjectOutputNoIndex<util.OmitIndexSignature<T>, Extra>
1715
- // >
1716
- // : util.Prettify<$InferObjectOutputNoIndex<T, Extra>>;
1717
-
1718
- // export type $InferObjectOutputNoIndex<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = {
1719
- // [k in keyof T as string extends k
1720
- // ? never
1721
- // : k extends string
1722
- // ? T[k] extends OptionalOutSchema
1723
- // ? never
1724
- // : k
1725
- // : never]: T[k]["_zod"]["output"];
1726
- // } & {
1727
- // [k in keyof T as string extends k
1728
- // ? never
1729
- // : k extends string
1730
- // ? T[k] extends OptionalOutSchema
1731
- // ? k
1732
- // : never
1733
- // : never]?: T[k]["_zod"]["output"];
1734
- // } & Extra;
1735
-
1736
- export type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T
1737
- ? util.IsAny<T[keyof T]> extends true
1738
- ? Record<string, unknown>
1739
- : Record<string, core.input<T[keyof T]>>
1740
- : keyof (T & Extra) extends never
1741
- ? Record<string, never>
1742
- : util.Prettify<
1743
- {
1744
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"];
1745
- } & {
1746
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"];
1747
- } & Extra
1748
- >;
1749
-
1750
- function handlePropertyResult(
1751
- result: ParsePayload,
1752
- final: ParsePayload,
1753
- key: PropertyKey,
1754
- input: any,
1755
- isOptionalIn: boolean,
1756
- isOptionalOut: boolean
1757
- ) {
1758
- const isPresent = key in input;
1759
- if (result.issues.length) {
1760
- // For optional-in/out schemas, ignore errors on absent keys.
1761
- if (isOptionalIn && isOptionalOut && !isPresent) {
1762
- return;
1763
- }
1764
- final.issues.push(...util.prefixIssues(key, result.issues));
1765
- }
1766
-
1767
- if (!isPresent && !isOptionalIn) {
1768
- if (!result.issues.length) {
1769
- final.issues.push({
1770
- code: "invalid_type",
1771
- expected: "nonoptional",
1772
- input: undefined,
1773
- path: [key],
1774
- });
1775
- }
1776
- return;
1777
- }
1778
-
1779
- if (result.value === undefined) {
1780
- if (isPresent) {
1781
- (final.value as any)[key] = undefined;
1782
- }
1783
- } else {
1784
- (final.value as any)[key] = result.value;
1785
- }
1786
- }
1787
-
1788
- export type $ZodObjectConfig = { out: Record<string, unknown>; in: Record<string, unknown> };
1789
-
1790
- export type $loose = {
1791
- out: Record<string, unknown>;
1792
- in: Record<string, unknown>;
1793
- };
1794
- export type $strict = {
1795
- out: {};
1796
- in: {};
1797
- };
1798
- export type $strip = {
1799
- out: {};
1800
- in: {};
1801
- };
1802
-
1803
- export type $catchall<T extends SomeType> = {
1804
- out: { [k: string]: core.output<T> };
1805
- in: { [k: string]: core.input<T> };
1806
- };
1807
-
1808
- export type $ZodShape = Readonly<{ [k: string]: $ZodType }>;
1809
-
1810
- export interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
1811
- type: "object";
1812
- shape: Shape;
1813
- catchall?: $ZodType | undefined;
1814
- }
1815
-
1816
- export interface $ZodObjectInternals<
1817
- /** @ts-ignore Cast variance */
1818
- out Shape extends $ZodShape = $ZodShape,
1819
- out Config extends $ZodObjectConfig = $ZodObjectConfig,
1820
- > extends _$ZodTypeInternals {
1821
- def: $ZodObjectDef<Shape>;
1822
- config: Config;
1823
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;
1824
- propValues: util.PropValues;
1825
- output: $InferObjectOutput<Shape, Config["out"]>;
1826
- input: $InferObjectInput<Shape, Config["in"]>;
1827
- optin?: "optional" | undefined;
1828
- optout?: "optional" | undefined;
1829
- }
1830
- export type $ZodLooseShape = Record<string, any>;
1831
-
1832
- export interface $ZodObject<
1833
- /** @ts-ignore Cast variance */
1834
- out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>,
1835
- out Params extends $ZodObjectConfig = $ZodObjectConfig,
1836
- > extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
1837
-
1838
- function normalizeDef(def: $ZodObjectDef) {
1839
- const keys = Object.keys(def.shape);
1840
- for (const k of keys) {
1841
- if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) {
1842
- throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
1843
- }
1844
- }
1845
- const okeys = util.optionalKeys(def.shape);
1846
-
1847
- return {
1848
- ...def,
1849
- keys,
1850
- keySet: new Set(keys),
1851
- numKeys: keys.length,
1852
- optionalKeys: new Set(okeys),
1853
- };
1854
- }
1855
-
1856
- function handleCatchall(
1857
- proms: Promise<any>[],
1858
- input: any,
1859
- payload: ParsePayload,
1860
- ctx: ParseContext,
1861
- def: ReturnType<typeof normalizeDef>,
1862
- inst: $ZodObject
1863
- ) {
1864
- const unrecognized: string[] = [];
1865
- const keySet = def.keySet;
1866
- const _catchall = def.catchall!._zod;
1867
- const t = _catchall.def.type;
1868
- const isOptionalIn = _catchall.optin === "optional";
1869
- const isOptionalOut = _catchall.optout === "optional";
1870
- for (const key in input) {
1871
- // skip __proto__ so it can't replace the result prototype via the
1872
- // assignment setter on the plain {} we build into
1873
- if (key === "__proto__") continue;
1874
- if (keySet.has(key)) continue;
1875
- if (t === "never") {
1876
- unrecognized.push(key);
1877
- continue;
1878
- }
1879
- const r = _catchall.run({ value: input[key], issues: [] }, ctx);
1880
-
1881
- if (r instanceof Promise) {
1882
- proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1883
- } else {
1884
- handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1885
- }
1886
- }
1887
-
1888
- if (unrecognized.length) {
1889
- payload.issues.push({
1890
- code: "unrecognized_keys",
1891
- keys: unrecognized,
1892
- input,
1893
- inst,
1894
- });
1895
- }
1896
-
1897
- if (!proms.length) return payload;
1898
- return Promise.all(proms).then(() => {
1899
- return payload;
1900
- });
1901
- }
1902
-
1903
- export const $ZodObject: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$constructor("$ZodObject", (inst, def) => {
1904
- // requires cast because technically $ZodObject doesn't extend
1905
- $ZodType.init(inst, def);
1906
- // const sh = def.shape;
1907
- const desc = Object.getOwnPropertyDescriptor(def, "shape");
1908
- if (!desc?.get) {
1909
- const sh = def.shape;
1910
- Object.defineProperty(def, "shape", {
1911
- get: () => {
1912
- const newSh = { ...sh };
1913
- Object.defineProperty(def, "shape", {
1914
- value: newSh,
1915
- });
1916
-
1917
- return newSh;
1918
- },
1919
- });
1920
- }
1921
-
1922
- const _normalized = util.cached(() => normalizeDef(def));
1923
-
1924
- util.defineLazy(inst._zod, "propValues", () => {
1925
- const shape = def.shape;
1926
- const propValues: util.PropValues = {};
1927
- for (const key in shape) {
1928
- const field = shape[key]!._zod;
1929
- if (field.values) {
1930
- propValues[key] ??= new Set();
1931
- for (const v of field.values) propValues[key].add(v);
1932
- }
1933
- }
1934
- return propValues;
1935
- });
1936
-
1937
- const isObject = util.isObject;
1938
- const catchall = def.catchall;
1939
-
1940
- let value!: typeof _normalized.value;
1941
-
1942
- inst._zod.parse = (payload, ctx) => {
1943
- value ??= _normalized.value;
1944
- const input = payload.value;
1945
- if (!isObject(input)) {
1946
- payload.issues.push({
1947
- expected: "object",
1948
- code: "invalid_type",
1949
- input,
1950
- inst,
1951
- });
1952
- return payload;
1953
- }
1954
-
1955
- payload.value = {};
1956
-
1957
- const proms: Promise<any>[] = [];
1958
- const shape = value.shape;
1959
-
1960
- for (const key of value.keys) {
1961
- const el = shape[key]!;
1962
- const isOptionalIn = el._zod.optin === "optional";
1963
- const isOptionalOut = el._zod.optout === "optional";
1964
-
1965
- const r = el._zod.run({ value: input[key], issues: [] }, ctx);
1966
- if (r instanceof Promise) {
1967
- proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1968
- } else {
1969
- handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1970
- }
1971
- }
1972
-
1973
- if (!catchall) {
1974
- return proms.length ? Promise.all(proms).then(() => payload) : payload;
1975
- }
1976
-
1977
- return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
1978
- };
1979
- });
1980
-
1981
- export const $ZodObjectJIT: core.$constructor<$ZodObject> = /*@__PURE__*/ core.$constructor(
1982
- "$ZodObjectJIT",
1983
- (inst, def) => {
1984
- // requires cast because technically $ZodObject doesn't extend
1985
- $ZodObject.init(inst, def);
1986
-
1987
- const superParse = inst._zod.parse;
1988
- const _normalized = util.cached(() => normalizeDef(def));
1989
-
1990
- const generateFastpass = (shape: any) => {
1991
- const doc = new Doc(["shape", "payload", "ctx"]);
1992
- const normalized = _normalized.value;
1993
-
1994
- const parseStr = (key: string) => {
1995
- const k = util.esc(key);
1996
- return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
1997
- };
1998
-
1999
- doc.write(`const input = payload.value;`);
2000
-
2001
- const ids: any = Object.create(null);
2002
- let counter = 0;
2003
- for (const key of normalized.keys) {
2004
- ids[key] = `key_${counter++}`;
2005
- }
2006
-
2007
- // A: preserve key order {
2008
- doc.write(`const newResult = {};`);
2009
- for (const key of normalized.keys) {
2010
- const id = ids[key];
2011
- const k = util.esc(key);
2012
- const schema = shape[key];
2013
- const isOptionalIn = schema?._zod?.optin === "optional";
2014
- const isOptionalOut = schema?._zod?.optout === "optional";
2015
-
2016
- doc.write(`const ${id} = ${parseStr(key)};`);
2017
-
2018
- if (isOptionalIn && isOptionalOut) {
2019
- // For optional-in/out schemas, ignore errors on absent keys
2020
- doc.write(`
2021
- if (${id}.issues.length) {
2022
- if (${k} in input) {
2023
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2024
- ...iss,
2025
- path: iss.path ? [${k}, ...iss.path] : [${k}]
2026
- })));
2027
- }
2028
- }
2029
-
2030
- if (${id}.value === undefined) {
2031
- if (${k} in input) {
2032
- newResult[${k}] = undefined;
2033
- }
2034
- } else {
2035
- newResult[${k}] = ${id}.value;
2036
- }
2037
-
2038
- `);
2039
- } else if (!isOptionalIn) {
2040
- doc.write(`
2041
- const ${id}_present = ${k} in input;
2042
- if (${id}.issues.length) {
2043
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2044
- ...iss,
2045
- path: iss.path ? [${k}, ...iss.path] : [${k}]
2046
- })));
2047
- }
2048
- if (!${id}_present && !${id}.issues.length) {
2049
- payload.issues.push({
2050
- code: "invalid_type",
2051
- expected: "nonoptional",
2052
- input: undefined,
2053
- path: [${k}]
2054
- });
2055
- }
2056
-
2057
- if (${id}_present) {
2058
- if (${id}.value === undefined) {
2059
- newResult[${k}] = undefined;
2060
- } else {
2061
- newResult[${k}] = ${id}.value;
2062
- }
2063
- }
2064
-
2065
- `);
2066
- } else {
2067
- doc.write(`
2068
- if (${id}.issues.length) {
2069
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
2070
- ...iss,
2071
- path: iss.path ? [${k}, ...iss.path] : [${k}]
2072
- })));
2073
- }
2074
-
2075
- if (${id}.value === undefined) {
2076
- if (${k} in input) {
2077
- newResult[${k}] = undefined;
2078
- }
2079
- } else {
2080
- newResult[${k}] = ${id}.value;
2081
- }
2082
-
2083
- `);
2084
- }
2085
- }
2086
-
2087
- doc.write(`payload.value = newResult;`);
2088
- doc.write(`return payload;`);
2089
- const fn = doc.compile();
2090
- return (payload: any, ctx: any) => fn(shape, payload, ctx);
2091
- };
2092
-
2093
- let fastpass!: ReturnType<typeof generateFastpass>;
2094
-
2095
- const isObject = util.isObject;
2096
- const jit = !core.globalConfig.jitless;
2097
- const allowsEval = util.allowsEval;
2098
-
2099
- const fastEnabled = jit && allowsEval.value; // && !def.catchall;
2100
- const catchall = def.catchall;
2101
-
2102
- let value!: typeof _normalized.value;
2103
-
2104
- inst._zod.parse = (payload, ctx) => {
2105
- value ??= _normalized.value;
2106
- const input = payload.value;
2107
- if (!isObject(input)) {
2108
- payload.issues.push({
2109
- expected: "object",
2110
- code: "invalid_type",
2111
- input,
2112
- inst,
2113
- });
2114
- return payload;
2115
- }
2116
-
2117
- if (jit && fastEnabled && ctx?.async === false && ctx.jitless !== true) {
2118
- // always synchronous
2119
- if (!fastpass) fastpass = generateFastpass(def.shape);
2120
- payload = fastpass(payload, ctx);
2121
-
2122
- if (!catchall) return payload;
2123
- return handleCatchall([], input, payload, ctx, value, inst);
2124
- }
2125
-
2126
- return superParse(payload, ctx);
2127
- };
2128
- }
2129
- );
2130
-
2131
- /////////////////////////////////////////
2132
- /////////////////////////////////////////
2133
- ////////// ///////////
2134
- ////////// $ZodUnion //////////
2135
- ////////// ///////////
2136
- /////////////////////////////////////////
2137
- /////////////////////////////////////////
2138
- // use generic to distribute union types
2139
- export type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;
2140
- export type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;
2141
- export interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
2142
- type: "union";
2143
- options: Options;
2144
- inclusive?: boolean;
2145
- }
2146
-
2147
- type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
2148
- type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
2149
-
2150
- export interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
2151
- def: $ZodUnionDef<T>;
2152
- isst: errors.$ZodIssueInvalidUnion;
2153
- pattern: T[number]["_zod"]["pattern"];
2154
- values: T[number]["_zod"]["values"]; //GetValues<T[number]>;
2155
- output: $InferUnionOutput<T[number]>;
2156
- input: $InferUnionInput<T[number]>;
2157
- // if any element in the union is optional, then the union is optional
2158
- optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
2159
- optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
2160
- }
2161
-
2162
- export interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]>
2163
- extends $ZodType<any, any, $ZodUnionInternals<T>> {
2164
- _zod: $ZodUnionInternals<T>;
2165
- }
2166
-
2167
- function handleUnionResults(results: ParsePayload[], final: ParsePayload, inst: $ZodUnion, ctx?: ParseContext) {
2168
- for (const result of results) {
2169
- if (result.issues.length === 0) {
2170
- final.value = result.value;
2171
- return final;
2172
- }
2173
- }
2174
-
2175
- const nonaborted = results.filter((r) => !util.aborted(r));
2176
- if (nonaborted.length === 1) {
2177
- final.value = nonaborted[0].value;
2178
- return nonaborted[0];
2179
- }
2180
-
2181
- final.issues.push({
2182
- code: "invalid_union",
2183
-
2184
- input: final.value,
2185
- inst,
2186
- errors: results.map((result) => result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))),
2187
- });
2188
-
2189
- return final;
2190
- }
2191
-
2192
- export const $ZodUnion: core.$constructor<$ZodUnion> = /*@__PURE__*/ core.$constructor("$ZodUnion", (inst, def) => {
2193
- $ZodType.init(inst, def);
2194
-
2195
- util.defineLazy(inst._zod, "optin", () =>
2196
- def.options.some((o) => o._zod.optin === "optional") ? "optional" : undefined
2197
- );
2198
-
2199
- util.defineLazy(inst._zod, "optout", () =>
2200
- def.options.some((o) => o._zod.optout === "optional") ? "optional" : undefined
2201
- );
2202
-
2203
- util.defineLazy(inst._zod, "values", () => {
2204
- if (def.options.every((o) => o._zod.values)) {
2205
- return new Set<util.Primitive>(def.options.flatMap((option) => Array.from(option._zod.values!)));
2206
- }
2207
- return undefined;
2208
- });
2209
-
2210
- util.defineLazy(inst._zod, "pattern", () => {
2211
- if (def.options.every((o) => o._zod.pattern)) {
2212
- const patterns = def.options.map((o) => o._zod.pattern);
2213
- return new RegExp(`^(${patterns.map((p) => util.cleanRegex(p!.source)).join("|")})$`);
2214
- }
2215
- return undefined;
2216
- });
2217
-
2218
- const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2219
-
2220
- inst._zod.parse = (payload, ctx) => {
2221
- if (first) {
2222
- return first(payload, ctx);
2223
- }
2224
- let async = false;
2225
-
2226
- const results: util.MaybeAsync<ParsePayload>[] = [];
2227
- for (const option of def.options) {
2228
- const result = option._zod.run(
2229
- {
2230
- value: payload.value,
2231
- issues: [],
2232
- },
2233
- ctx
2234
- );
2235
- if (result instanceof Promise) {
2236
- results.push(result);
2237
- async = true;
2238
- } else {
2239
- if (result.issues.length === 0) return result;
2240
- results.push(result);
2241
- }
2242
- }
2243
-
2244
- if (!async) return handleUnionResults(results as ParsePayload[], payload, inst, ctx);
2245
- return Promise.all(results).then((results) => {
2246
- return handleUnionResults(results as ParsePayload[], payload, inst, ctx);
2247
- });
2248
- };
2249
- });
2250
-
2251
- function handleExclusiveUnionResults(
2252
- results: ParsePayload[],
2253
- final: ParsePayload,
2254
- inst: $ZodUnion,
2255
- ctx?: ParseContext
2256
- ) {
2257
- const successes = results.filter((r) => r.issues.length === 0);
2258
-
2259
- if (successes.length === 1) {
2260
- final.value = successes[0].value;
2261
- return final;
2262
- }
2263
-
2264
- if (successes.length === 0) {
2265
- // No matches - same as regular union
2266
- final.issues.push({
2267
- code: "invalid_union",
2268
- input: final.value,
2269
- inst,
2270
- errors: results.map((result) => result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))),
2271
- });
2272
- } else {
2273
- // Multiple matches - exclusive union failure
2274
- final.issues.push({
2275
- code: "invalid_union",
2276
- input: final.value,
2277
- inst,
2278
- errors: [],
2279
- inclusive: false,
2280
- });
2281
- }
2282
-
2283
- return final;
2284
- }
2285
-
2286
- export interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {}
2287
-
2288
- export interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]>
2289
- extends $ZodType<any, any, $ZodXorInternals<T>> {
2290
- _zod: $ZodXorInternals<T>;
2291
- }
2292
-
2293
- export const $ZodXor: core.$constructor<$ZodXor> = /*@__PURE__*/ core.$constructor("$ZodXor", (inst, def) => {
2294
- $ZodUnion.init(inst, def);
2295
- def.inclusive = false;
2296
-
2297
- const first = def.options.length === 1 ? def.options[0]._zod.run : null;
2298
-
2299
- inst._zod.parse = (payload, ctx) => {
2300
- if (first) {
2301
- return first(payload, ctx);
2302
- }
2303
- let async = false;
2304
-
2305
- const results: util.MaybeAsync<ParsePayload>[] = [];
2306
- for (const option of def.options) {
2307
- const result = option._zod.run(
2308
- {
2309
- value: payload.value,
2310
- issues: [],
2311
- },
2312
- ctx
2313
- );
2314
- if (result instanceof Promise) {
2315
- results.push(result);
2316
- async = true;
2317
- } else {
2318
- results.push(result);
2319
- }
2320
- }
2321
-
2322
- if (!async) return handleExclusiveUnionResults(results as ParsePayload[], payload, inst, ctx);
2323
- return Promise.all(results).then((results) => {
2324
- return handleExclusiveUnionResults(results as ParsePayload[], payload, inst, ctx);
2325
- });
2326
- };
2327
- });
2328
-
2329
- //////////////////////////////////////////////////////
2330
- //////////////////////////////////////////////////////
2331
- ////////// //////////
2332
- ////////// $ZodDiscriminatedUnion //////////
2333
- ////////// //////////
2334
- //////////////////////////////////////////////////////
2335
- //////////////////////////////////////////////////////
2336
-
2337
- export interface $ZodDiscriminatedUnionDef<
2338
- Options extends readonly SomeType[] = readonly $ZodType[],
2339
- Disc extends string = string,
2340
- > extends $ZodUnionDef<Options> {
2341
- discriminator: Disc;
2342
- unionFallback?: boolean;
2343
- }
2344
-
2345
- export interface $ZodDiscriminatedUnionInternals<
2346
- Options extends readonly SomeType[] = readonly $ZodType[],
2347
- Disc extends string = string,
2348
- > extends $ZodUnionInternals<Options> {
2349
- def: $ZodDiscriminatedUnionDef<Options, Disc>;
2350
- propValues: util.PropValues;
2351
- }
2352
-
2353
- export interface $ZodDiscriminatedUnion<
2354
- Options extends readonly SomeType[] = readonly $ZodType[],
2355
- Disc extends string = string,
2356
- > extends $ZodType {
2357
- _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
2358
- }
2359
-
2360
- export const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion> =
2361
- /*@__PURE__*/
2362
- core.$constructor("$ZodDiscriminatedUnion", (inst, def) => {
2363
- def.inclusive = false;
2364
-
2365
- $ZodUnion.init(inst, def);
2366
-
2367
- const _super = inst._zod.parse;
2368
- util.defineLazy(inst._zod, "propValues", () => {
2369
- const propValues: util.PropValues = {};
2370
- for (const option of def.options) {
2371
- const pv = option._zod.propValues;
2372
- if (!pv || Object.keys(pv).length === 0)
2373
- throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
2374
- for (const [k, v] of Object.entries(pv!)) {
2375
- if (!propValues[k]) propValues[k] = new Set();
2376
- for (const val of v) {
2377
- propValues[k].add(val);
2378
- }
2379
- }
2380
- }
2381
- return propValues;
2382
- });
2383
-
2384
- const disc = util.cached(() => {
2385
- const opts = def.options as $ZodTypeDiscriminable[];
2386
- const map: Map<util.Primitive, $ZodType> = new Map();
2387
- for (const o of opts) {
2388
- const values = o._zod.propValues?.[def.discriminator];
2389
- if (!values || values.size === 0)
2390
- throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(o)}"`);
2391
- for (const v of values) {
2392
- if (map.has(v)) {
2393
- throw new Error(`Duplicate discriminator value "${String(v)}"`);
2394
- }
2395
- map.set(v, o);
2396
- }
2397
- }
2398
- return map;
2399
- });
2400
-
2401
- inst._zod.parse = (payload, ctx) => {
2402
- const input = payload.value;
2403
- if (!util.isObject(input)) {
2404
- payload.issues.push({
2405
- code: "invalid_type",
2406
-
2407
- expected: "object",
2408
- input,
2409
- inst,
2410
- });
2411
- return payload;
2412
- }
2413
-
2414
- const opt = disc.value.get(input?.[def.discriminator] as any);
2415
- if (opt) {
2416
- return opt._zod.run(payload, ctx) as any;
2417
- }
2418
-
2419
- // Fall back to union matching when the fast discriminator path fails:
2420
- // - explicitly enabled via unionFallback, or
2421
- // - during backward direction (encode), since codec-based discriminators
2422
- // have different values in forward vs backward directions
2423
- if (def.unionFallback || ctx.direction === "backward") {
2424
- return _super(payload, ctx);
2425
- }
2426
-
2427
- // no matching discriminator
2428
- payload.issues.push({
2429
- code: "invalid_union",
2430
- errors: [],
2431
- note: "No matching discriminator",
2432
- discriminator: def.discriminator,
2433
- options: Array.from(disc.value.keys()),
2434
- input,
2435
- path: [def.discriminator],
2436
- inst,
2437
- });
2438
-
2439
- return payload;
2440
- };
2441
- });
2442
-
2443
- ////////////////////////////////////////////////
2444
- ////////////////////////////////////////////////
2445
- ////////// //////////
2446
- ////////// $ZodIntersection //////////
2447
- ////////// //////////
2448
- ////////////////////////////////////////////////
2449
- ////////////////////////////////////////////////
2450
-
2451
- export interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType>
2452
- extends $ZodTypeDef {
2453
- type: "intersection";
2454
- left: Left;
2455
- right: Right;
2456
- }
2457
-
2458
- export interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
2459
- extends _$ZodTypeInternals {
2460
- // $ZodTypeInternals<core.output<A> & core.output<B>, core.input<A> & core.input<B>>
2461
- def: $ZodIntersectionDef<A, B>;
2462
- isst: never;
2463
- optin: A["_zod"]["optin"] | B["_zod"]["optin"];
2464
- optout: A["_zod"]["optout"] | B["_zod"]["optout"];
2465
- output: core.output<A> & core.output<B>;
2466
- input: core.input<A> & core.input<B>;
2467
- }
2468
-
2469
- export interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
2470
- _zod: $ZodIntersectionInternals<A, B>;
2471
- }
2472
-
2473
- export const $ZodIntersection: core.$constructor<$ZodIntersection> = /*@__PURE__*/ core.$constructor(
2474
- "$ZodIntersection",
2475
- (inst, def) => {
2476
- $ZodType.init(inst, def);
2477
-
2478
- inst._zod.parse = (payload, ctx) => {
2479
- const input = payload.value;
2480
- const left = def.left._zod.run({ value: input, issues: [] }, ctx);
2481
- const right = def.right._zod.run({ value: input, issues: [] }, ctx);
2482
- const async = left instanceof Promise || right instanceof Promise;
2483
-
2484
- if (async) {
2485
- return Promise.all([left, right]).then(([left, right]) => {
2486
- return handleIntersectionResults(payload, left, right);
2487
- });
2488
- }
2489
-
2490
- return handleIntersectionResults(payload, left, right);
2491
- };
2492
- }
2493
- );
2494
-
2495
- function mergeValues(
2496
- a: any,
2497
- b: any
2498
- ): { valid: true; data: any } | { valid: false; mergeErrorPath: (string | number)[] } {
2499
- // const aType = parse.t(a);
2500
- // const bType = parse.t(b);
2501
-
2502
- if (a === b) {
2503
- return { valid: true, data: a };
2504
- }
2505
- if (a instanceof Date && b instanceof Date && +a === +b) {
2506
- return { valid: true, data: a };
2507
- }
2508
- if (util.isPlainObject(a) && util.isPlainObject(b)) {
2509
- const bKeys = Object.keys(b);
2510
- const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
2511
-
2512
- const newObj: any = { ...a, ...b };
2513
- for (const key of sharedKeys) {
2514
- const sharedValue = mergeValues(a[key], b[key]);
2515
- if (!sharedValue.valid) {
2516
- return {
2517
- valid: false,
2518
- mergeErrorPath: [key, ...sharedValue.mergeErrorPath],
2519
- };
2520
- }
2521
- newObj[key] = sharedValue.data;
2522
- }
2523
-
2524
- return { valid: true, data: newObj };
2525
- }
2526
- if (Array.isArray(a) && Array.isArray(b)) {
2527
- if (a.length !== b.length) {
2528
- return { valid: false, mergeErrorPath: [] };
2529
- }
2530
-
2531
- const newArray: unknown[] = [];
2532
- for (let index = 0; index < a.length; index++) {
2533
- const itemA = a[index];
2534
- const itemB = b[index];
2535
- const sharedValue = mergeValues(itemA, itemB);
2536
-
2537
- if (!sharedValue.valid) {
2538
- return {
2539
- valid: false,
2540
- mergeErrorPath: [index, ...sharedValue.mergeErrorPath],
2541
- };
2542
- }
2543
-
2544
- newArray.push(sharedValue.data);
2545
- }
2546
-
2547
- return { valid: true, data: newArray };
2548
- }
2549
-
2550
- return { valid: false, mergeErrorPath: [] };
2551
- }
2552
-
2553
- function handleIntersectionResults(result: ParsePayload, left: ParsePayload, right: ParsePayload): ParsePayload {
2554
- // Track which side(s) report each key as unrecognized
2555
- const unrecKeys = new Map<string, { l?: true; r?: true }>();
2556
- let unrecIssue: errors.$ZodRawIssue | undefined;
2557
-
2558
- for (const iss of left.issues) {
2559
- if (iss.code === "unrecognized_keys") {
2560
- unrecIssue ??= iss;
2561
- for (const k of iss.keys) {
2562
- if (!unrecKeys.has(k)) unrecKeys.set(k, {});
2563
- unrecKeys.get(k)!.l = true;
2564
- }
2565
- } else {
2566
- result.issues.push(iss);
2567
- }
2568
- }
2569
-
2570
- for (const iss of right.issues) {
2571
- if (iss.code === "unrecognized_keys") {
2572
- for (const k of iss.keys) {
2573
- if (!unrecKeys.has(k)) unrecKeys.set(k, {});
2574
- unrecKeys.get(k)!.r = true;
2575
- }
2576
- } else {
2577
- result.issues.push(iss);
2578
- }
2579
- }
2580
-
2581
- // Report only keys unrecognized by BOTH sides
2582
- const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
2583
- if (bothKeys.length && unrecIssue) {
2584
- result.issues.push({ ...unrecIssue, keys: bothKeys });
2585
- }
2586
-
2587
- if (util.aborted(result)) return result;
2588
-
2589
- const merged = mergeValues(left.value, right.value);
2590
-
2591
- if (!merged.valid) {
2592
- throw new Error(`Unmergable intersection. Error path: ` + `${JSON.stringify(merged.mergeErrorPath)}`);
2593
- }
2594
-
2595
- result.value = merged.data;
2596
- return result;
2597
- }
2598
-
2599
- /////////////////////////////////////////
2600
- /////////////////////////////////////////
2601
- ////////// //////////
2602
- ////////// $ZodTuple //////////
2603
- ////////// //////////
2604
- /////////////////////////////////////////
2605
- /////////////////////////////////////////
2606
-
2607
- export interface $ZodTupleDef<
2608
- T extends util.TupleItems = readonly $ZodType[],
2609
- Rest extends SomeType | null = $ZodType | null,
2610
- > extends $ZodTypeDef {
2611
- type: "tuple";
2612
- items: T;
2613
- rest: Rest;
2614
- }
2615
-
2616
- export type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [
2617
- ...TupleInputTypeWithOptionals<T>,
2618
- ...(Rest extends SomeType ? core.input<Rest>[] : []),
2619
- ];
2620
- type TupleInputTypeNoOptionals<T extends util.TupleItems> = {
2621
- [k in keyof T]: core.input<T[k]>;
2622
- };
2623
- type TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
2624
- ...infer Prefix extends SomeType[],
2625
- infer Tail extends SomeType,
2626
- ]
2627
- ? Tail["_zod"]["optin"] extends "optional"
2628
- ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?]
2629
- : TupleInputTypeNoOptionals<T>
2630
- : [];
2631
-
2632
- export type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [
2633
- ...TupleOutputTypeWithOptionals<T>,
2634
- ...(Rest extends SomeType ? core.output<Rest>[] : []),
2635
- ];
2636
- type TupleOutputTypeNoOptionals<T extends util.TupleItems> = {
2637
- [k in keyof T]: core.output<T[k]>;
2638
- };
2639
- type TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
2640
- ...infer Prefix extends SomeType[],
2641
- infer Tail extends SomeType,
2642
- ]
2643
- ? Tail["_zod"]["optout"] extends "optional"
2644
- ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?]
2645
- : TupleOutputTypeNoOptionals<T>
2646
- : [];
2647
-
2648
- export interface $ZodTupleInternals<
2649
- T extends util.TupleItems = readonly $ZodType[],
2650
- Rest extends SomeType | null = $ZodType | null,
2651
- > extends _$ZodTypeInternals {
2652
- def: $ZodTupleDef<T, Rest>;
2653
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;
2654
- // $ZodTypeInternals<$InferTupleOutputType<T, Rest>, $InferTupleInputType<T, Rest>>
2655
- output: $InferTupleOutputType<T, Rest>;
2656
- input: $InferTupleInputType<T, Rest>;
2657
- }
2658
-
2659
- export interface $ZodTuple<
2660
- T extends util.TupleItems = readonly $ZodType[],
2661
- Rest extends SomeType | null = $ZodType | null,
2662
- > extends $ZodType {
2663
- _zod: $ZodTupleInternals<T, Rest>;
2664
- }
2665
-
2666
- export const $ZodTuple: core.$constructor<$ZodTuple> = /*@__PURE__*/ core.$constructor("$ZodTuple", (inst, def) => {
2667
- $ZodType.init(inst, def);
2668
- const items = def.items;
2669
-
2670
- inst._zod.parse = (payload, ctx) => {
2671
- const input = payload.value;
2672
- if (!Array.isArray(input)) {
2673
- payload.issues.push({
2674
- input,
2675
- inst,
2676
- expected: "tuple",
2677
- code: "invalid_type",
2678
- });
2679
- return payload;
2680
- }
2681
-
2682
- payload.value = [];
2683
- const proms: Promise<any>[] = [];
2684
-
2685
- const optinStart = getTupleOptStart(items, "optin");
2686
- const optoutStart = getTupleOptStart(items, "optout");
2687
-
2688
- if (!def.rest) {
2689
- if (input.length < optinStart) {
2690
- payload.issues.push({
2691
- code: "too_small",
2692
- minimum: optinStart,
2693
- inclusive: true,
2694
- input,
2695
- inst,
2696
- origin: "array" as const,
2697
- });
2698
- return payload;
2699
- }
2700
- if (input.length > items.length) {
2701
- payload.issues.push({
2702
- code: "too_big",
2703
- maximum: items.length,
2704
- inclusive: true,
2705
- input,
2706
- inst,
2707
- origin: "array" as const,
2708
- });
2709
- }
2710
- }
2711
-
2712
- // Run every item in parallel, collecting results into an indexed
2713
- // array. The post-processing in `handleTupleResults` walks them in
2714
- // order so it can decide whether an absent optional-output error can
2715
- // truncate the tail or must be reported to preserve required output.
2716
- const itemResults: ParsePayload[] = new Array(items.length);
2717
- for (let i = 0; i < items.length; i++) {
2718
- const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
2719
- if (r instanceof Promise) {
2720
- proms.push(
2721
- r.then((rr) => {
2722
- itemResults[i] = rr;
2723
- })
2724
- );
2725
- } else {
2726
- itemResults[i] = r;
2727
- }
2728
- }
2729
-
2730
- if (def.rest) {
2731
- let i = items.length - 1;
2732
- const rest = input.slice(items.length);
2733
- for (const el of rest) {
2734
- i++;
2735
- const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
2736
- if (result instanceof Promise) {
2737
- proms.push(result.then((r) => handleTupleResult(r, payload, i)));
2738
- } else {
2739
- handleTupleResult(result, payload, i);
2740
- }
2741
- }
2742
- }
2743
-
2744
- if (proms.length) {
2745
- return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
2746
- }
2747
- return handleTupleResults(itemResults, payload, items, input, optoutStart);
2748
- };
2749
- });
2750
-
2751
- function getTupleOptStart(items: readonly $ZodType[], key: "optin" | "optout") {
2752
- for (let i = items.length - 1; i >= 0; i--) {
2753
- if (items[i]._zod[key] !== "optional") return i + 1;
2754
- }
2755
- return 0;
2756
- }
2757
-
2758
- function handleTupleResult(result: ParsePayload, final: ParsePayload<any[]>, index: number) {
2759
- if (result.issues.length) {
2760
- final.issues.push(...util.prefixIssues(index, result.issues));
2761
- }
2762
- final.value[index] = result.value;
2763
- }
2764
-
2765
- function handleTupleResults(
2766
- itemResults: ParsePayload[],
2767
- final: ParsePayload<any[]>,
2768
- items: readonly $ZodType[],
2769
- input: unknown[],
2770
- optoutStart: number
2771
- ) {
2772
- // Walk results in order. Mirror $ZodObject's swallow-on-absent-optional
2773
- // rule, but only after `optoutStart`: the first index where the output
2774
- // tuple tail can be absent.
2775
- for (let i = 0; i < items.length; i++) {
2776
- const r = itemResults[i];
2777
- const isPresent = i < input.length;
2778
- if (r.issues.length) {
2779
- if (!isPresent && i >= optoutStart) {
2780
- final.value.length = i;
2781
- break;
2782
- }
2783
- final.issues.push(...util.prefixIssues(i, r.issues));
2784
- }
2785
- final.value[i] = r.value;
2786
- }
2787
-
2788
- // Drop trailing slots that produced `undefined` for absent input
2789
- // (the array analog of an absent optional key on an object). The
2790
- // `i >= input.length` floor is critical: an explicit `undefined`
2791
- // *inside* the input must be preserved even when the schema is
2792
- // optional-out (e.g. `z.string().or(z.undefined())` accepting an
2793
- // explicit undefined value).
2794
- for (let i = final.value.length - 1; i >= input.length; i--) {
2795
- if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
2796
- final.value.length = i;
2797
- } else {
2798
- break;
2799
- }
2800
- }
2801
- return final;
2802
- }
2803
-
2804
- //////////////////////////////////////////
2805
- //////////////////////////////////////////
2806
- ////////// //////////
2807
- ////////// $ZodRecord //////////
2808
- ////////// //////////
2809
- //////////////////////////////////////////
2810
- //////////////////////////////////////////
2811
-
2812
- export type $ZodRecordKey = $ZodType<string | number | symbol, unknown>; // $HasValues | $HasPattern;
2813
- export interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2814
- extends $ZodTypeDef {
2815
- type: "record";
2816
- keyType: Key;
2817
- valueType: Value;
2818
- /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
2819
- mode?: "strict" | "loose";
2820
- }
2821
-
2822
- // export type $InferZodRecordOutput<
2823
- // Key extends $ZodRecordKey = $ZodRecordKey,
2824
- // Value extends SomeType = $ZodType,
2825
- // > = undefined extends Key["_zod"]["values"]
2826
- // ? string extends core.output<Key>
2827
- // ? Record<core.output<Key>, core.output<Value>>
2828
- // : number extends core.output<Key>
2829
- // ? Record<core.output<Key>, core.output<Value>>
2830
- // : symbol extends core.output<Key>
2831
- // ? Record<core.output<Key>, core.output<Value>>
2832
- // : Record<core.output<Key>, core.output<Value>>
2833
- // : Record<core.output<Key>, core.output<Value>>;
2834
- export type $InferZodRecordOutput<
2835
- Key extends $ZodRecordKey = $ZodRecordKey,
2836
- Value extends SomeType = $ZodType,
2837
- > = Key extends $partial
2838
- ? Partial<Record<core.output<Key>, core.output<Value>>>
2839
- : Record<core.output<Key>, core.output<Value>>;
2840
-
2841
- // export type $InferZodRecordInput<
2842
- // Key extends $ZodRecordKey = $ZodRecordKey,
2843
- // Value extends SomeType = $ZodType,
2844
- // > = undefined extends Key["_zod"]["values"]
2845
- // ? string extends core.input<Key>
2846
- // ? Record<core.input<Key>, core.input<Value>>
2847
- // : number extends core.input<Key>
2848
- // ? Record<core.input<Key>, core.input<Value>>
2849
- // : symbol extends core.input<Key>
2850
- // ? Record<core.input<Key>, core.input<Value>>
2851
- // : Record<core.input<Key>, core.input<Value>>
2852
- // : Record<core.input<Key>, core.input<Value>>;
2853
-
2854
- export type $InferZodRecordInput<
2855
- Key extends $ZodRecordKey = $ZodRecordKey,
2856
- Value extends SomeType = $ZodType,
2857
- > = Key extends $partial
2858
- ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>>
2859
- : Record<core.input<Key> & PropertyKey, core.input<Value>>;
2860
-
2861
- export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2862
- extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
2863
- def: $ZodRecordDef<Key, Value>;
2864
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
2865
- optin?: "optional" | undefined;
2866
- optout?: "optional" | undefined;
2867
- }
2868
-
2869
- export type $partial = { "~~partial": true };
2870
- export interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType>
2871
- extends $ZodType {
2872
- _zod: $ZodRecordInternals<Key, Value>;
2873
- }
2874
-
2875
- export const $ZodRecord: core.$constructor<$ZodRecord> = /*@__PURE__*/ core.$constructor("$ZodRecord", (inst, def) => {
2876
- $ZodType.init(inst, def);
2877
-
2878
- inst._zod.parse = (payload, ctx) => {
2879
- const input = payload.value;
2880
-
2881
- if (!util.isPlainObject(input)) {
2882
- payload.issues.push({
2883
- expected: "record",
2884
- code: "invalid_type",
2885
-
2886
- input,
2887
- inst,
2888
- });
2889
- return payload;
2890
- }
2891
-
2892
- const proms: Promise<any>[] = [];
2893
-
2894
- const values = def.keyType._zod.values;
2895
- if (values) {
2896
- payload.value = {};
2897
- const recordKeys = new Set<string | symbol>();
2898
- for (const key of values) {
2899
- if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
2900
- recordKeys.add(typeof key === "number" ? key.toString() : key);
2901
- const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2902
- if (keyResult instanceof Promise) {
2903
- throw new Error("Async schemas not supported in object keys currently");
2904
- }
2905
- if (keyResult.issues.length) {
2906
- payload.issues.push({
2907
- code: "invalid_key",
2908
- origin: "record",
2909
- issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
2910
- input: key,
2911
- path: [key],
2912
- inst,
2913
- });
2914
- continue;
2915
- }
2916
- const outKey = keyResult.value as PropertyKey;
2917
- const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
2918
-
2919
- if (result instanceof Promise) {
2920
- proms.push(
2921
- result.then((result) => {
2922
- if (result.issues.length) {
2923
- payload.issues.push(...util.prefixIssues(key, result.issues));
2924
- }
2925
- payload.value[outKey] = result.value;
2926
- })
2927
- );
2928
- } else {
2929
- if (result.issues.length) {
2930
- payload.issues.push(...util.prefixIssues(key, result.issues));
2931
- }
2932
- payload.value[outKey] = result.value;
2933
- }
2934
- }
2935
- }
2936
-
2937
- let unrecognized!: string[];
2938
- for (const key in input) {
2939
- if (!recordKeys.has(key)) {
2940
- unrecognized = unrecognized ?? [];
2941
- unrecognized.push(key);
2942
- }
2943
- }
2944
- if (unrecognized && unrecognized.length > 0) {
2945
- payload.issues.push({
2946
- code: "unrecognized_keys",
2947
-
2948
- input,
2949
- inst,
2950
- keys: unrecognized,
2951
- });
2952
- }
2953
- } else {
2954
- payload.value = {};
2955
- // Reflect.ownKeys for Symbol-key support; filter non-enumerable to match z.object()
2956
- for (const key of Reflect.ownKeys(input)) {
2957
- if (key === "__proto__") continue;
2958
- if (!Object.prototype.propertyIsEnumerable.call(input, key)) continue;
2959
- let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
2960
- if (keyResult instanceof Promise) {
2961
- throw new Error("Async schemas not supported in object keys currently");
2962
- }
2963
-
2964
- // Numeric string fallback: if key is a numeric string and failed, retry with Number(key)
2965
- // This handles z.number(), z.literal([1, 2, 3]), and unions containing numeric literals
2966
- const checkNumericKey = typeof key === "string" && regexes.number.test(key) && keyResult.issues.length;
2967
- if (checkNumericKey) {
2968
- const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
2969
- if (retryResult instanceof Promise) {
2970
- throw new Error("Async schemas not supported in object keys currently");
2971
- }
2972
- if (retryResult.issues.length === 0) {
2973
- keyResult = retryResult;
2974
- }
2975
- }
2976
-
2977
- if (keyResult.issues.length) {
2978
- if (def.mode === "loose") {
2979
- // Pass through unchanged
2980
- payload.value[key] = input[key];
2981
- } else {
2982
- // Default "strict" behavior: error on invalid key
2983
- payload.issues.push({
2984
- code: "invalid_key",
2985
- origin: "record",
2986
- issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
2987
- input: key,
2988
- path: [key],
2989
- inst,
2990
- });
2991
- }
2992
- continue;
2993
- }
2994
-
2995
- const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
2996
-
2997
- if (result instanceof Promise) {
2998
- proms.push(
2999
- result.then((result) => {
3000
- if (result.issues.length) {
3001
- payload.issues.push(...util.prefixIssues(key, result.issues));
3002
- }
3003
- payload.value[keyResult.value as PropertyKey] = result.value;
3004
- })
3005
- );
3006
- } else {
3007
- if (result.issues.length) {
3008
- payload.issues.push(...util.prefixIssues(key, result.issues));
3009
- }
3010
- payload.value[keyResult.value as PropertyKey] = result.value;
3011
- }
3012
- }
3013
- }
3014
-
3015
- if (proms.length) {
3016
- return Promise.all(proms).then(() => payload);
3017
- }
3018
- return payload;
3019
- };
3020
- });
3021
-
3022
- ///////////////////////////////////////
3023
- ///////////////////////////////////////
3024
- ////////// //////////
3025
- ////////// $ZodMap //////////
3026
- ////////// //////////
3027
- ///////////////////////////////////////
3028
- ///////////////////////////////////////
3029
- export interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
3030
- type: "map";
3031
- keyType: Key;
3032
- valueType: Value;
3033
- }
3034
-
3035
- export interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType>
3036
- extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {
3037
- def: $ZodMapDef<Key, Value>;
3038
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;
3039
- optin?: "optional" | undefined;
3040
- optout?: "optional" | undefined;
3041
- }
3042
-
3043
- export interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
3044
- _zod: $ZodMapInternals<Key, Value>;
3045
- }
3046
-
3047
- export const $ZodMap: core.$constructor<$ZodMap> = /*@__PURE__*/ core.$constructor("$ZodMap", (inst, def) => {
3048
- $ZodType.init(inst, def);
3049
-
3050
- inst._zod.parse = (payload, ctx) => {
3051
- const input = payload.value;
3052
- if (!(input instanceof Map)) {
3053
- payload.issues.push({
3054
- expected: "map",
3055
- code: "invalid_type",
3056
-
3057
- input,
3058
- inst,
3059
- });
3060
- return payload;
3061
- }
3062
-
3063
- const proms: Promise<any>[] = [];
3064
- payload.value = new Map();
3065
-
3066
- for (const [key, value] of input) {
3067
- const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3068
- const valueResult = def.valueType._zod.run({ value: value, issues: [] }, ctx);
3069
-
3070
- if (keyResult instanceof Promise || valueResult instanceof Promise) {
3071
- proms.push(
3072
- Promise.all([keyResult, valueResult]).then(([keyResult, valueResult]) => {
3073
- handleMapResult(keyResult, valueResult, payload, key, input, inst, ctx);
3074
- })
3075
- );
3076
- } else {
3077
- handleMapResult(keyResult as ParsePayload, valueResult as ParsePayload, payload, key, input, inst, ctx);
3078
- }
3079
- }
3080
-
3081
- if (proms.length) return Promise.all(proms).then(() => payload);
3082
- return payload;
3083
- };
3084
- });
3085
-
3086
- function handleMapResult(
3087
- keyResult: ParsePayload,
3088
- valueResult: ParsePayload,
3089
- final: ParsePayload<Map<unknown, unknown>>,
3090
- key: unknown,
3091
- input: Map<any, any>,
3092
- inst: $ZodMap,
3093
- ctx?: ParseContext | undefined
3094
- ): void {
3095
- if (keyResult.issues.length) {
3096
- if (util.propertyKeyTypes.has(typeof key)) {
3097
- final.issues.push(...util.prefixIssues(key as PropertyKey, keyResult.issues));
3098
- } else {
3099
- final.issues.push({
3100
- code: "invalid_key",
3101
-
3102
- origin: "map",
3103
- input,
3104
- inst,
3105
- issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3106
- });
3107
- }
3108
- }
3109
- if (valueResult.issues.length) {
3110
- if (util.propertyKeyTypes.has(typeof key)) {
3111
- final.issues.push(...util.prefixIssues(key as PropertyKey, valueResult.issues));
3112
- } else {
3113
- final.issues.push({
3114
- origin: "map",
3115
- code: "invalid_element",
3116
-
3117
- input,
3118
- inst,
3119
- key: key,
3120
- issues: valueResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3121
- });
3122
- }
3123
- }
3124
- final.value.set(keyResult.value, valueResult.value);
3125
- }
3126
-
3127
- ///////////////////////////////////////
3128
- ///////////////////////////////////////
3129
- ////////// //////////
3130
- ////////// $ZodSet //////////
3131
- ////////// //////////
3132
- ///////////////////////////////////////
3133
- ///////////////////////////////////////
3134
- export interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3135
- type: "set";
3136
- valueType: T;
3137
- }
3138
-
3139
- export interface $ZodSetInternals<T extends SomeType = $ZodType>
3140
- extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {
3141
- def: $ZodSetDef<T>;
3142
- isst: errors.$ZodIssueInvalidType;
3143
- optin?: "optional" | undefined;
3144
- optout?: "optional" | undefined;
3145
- }
3146
-
3147
- export interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
3148
- _zod: $ZodSetInternals<T>;
3149
- }
3150
-
3151
- export const $ZodSet: core.$constructor<$ZodSet> = /*@__PURE__*/ core.$constructor("$ZodSet", (inst, def) => {
3152
- $ZodType.init(inst, def);
3153
-
3154
- inst._zod.parse = (payload, ctx) => {
3155
- const input = payload.value;
3156
- if (!(input instanceof Set)) {
3157
- payload.issues.push({
3158
- input,
3159
- inst,
3160
- expected: "set",
3161
- code: "invalid_type",
3162
- });
3163
- return payload;
3164
- }
3165
-
3166
- const proms: Promise<any>[] = [];
3167
- payload.value = new Set();
3168
- for (const item of input) {
3169
- const result = def.valueType._zod.run({ value: item, issues: [] }, ctx);
3170
- if (result instanceof Promise) {
3171
- proms.push(result.then((result) => handleSetResult(result, payload)));
3172
- } else handleSetResult(result, payload);
3173
- }
3174
-
3175
- if (proms.length) return Promise.all(proms).then(() => payload);
3176
- return payload;
3177
- };
3178
- });
3179
-
3180
- function handleSetResult(result: ParsePayload, final: ParsePayload<Set<any>>) {
3181
- if (result.issues.length) {
3182
- final.issues.push(...result.issues);
3183
- }
3184
- final.value.add(result.value);
3185
- }
3186
-
3187
- ////////////////////////////////////////
3188
- ////////////////////////////////////////
3189
- ////////// //////////
3190
- ////////// $ZodEnum //////////
3191
- ////////// //////////
3192
- ////////////////////////////////////////
3193
- ////////////////////////////////////////
3194
- export type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};
3195
- export type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};
3196
-
3197
- export interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {
3198
- type: "enum";
3199
- entries: T;
3200
- }
3201
-
3202
- export interface $ZodEnumInternals<
3203
- /** @ts-ignore Cast variance */
3204
- out T extends util.EnumLike = util.EnumLike,
3205
- > extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
3206
- // enum: T;
3207
-
3208
- def: $ZodEnumDef<T>;
3209
- /** @deprecated Internal API, use with caution (not deprecated) */
3210
- values: util.PrimitiveSet;
3211
- /** @deprecated Internal API, use with caution (not deprecated) */
3212
- pattern: RegExp;
3213
- isst: errors.$ZodIssueInvalidValue;
3214
- }
3215
-
3216
- export interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {
3217
- _zod: $ZodEnumInternals<T>;
3218
- }
3219
-
3220
- export const $ZodEnum: core.$constructor<$ZodEnum> = /*@__PURE__*/ core.$constructor("$ZodEnum", (inst, def) => {
3221
- $ZodType.init(inst, def);
3222
-
3223
- const values = util.getEnumValues(def.entries);
3224
- const valuesSet = new Set<util.Primitive>(values);
3225
- inst._zod.values = valuesSet;
3226
-
3227
- inst._zod.pattern = new RegExp(
3228
- `^(${values
3229
- .filter((k) => util.propertyKeyTypes.has(typeof k))
3230
- .map((o) => (typeof o === "string" ? util.escapeRegex(o) : o.toString()))
3231
- .join("|")})$`
3232
- );
3233
-
3234
- inst._zod.parse = (payload, _ctx) => {
3235
- const input = payload.value;
3236
- if (valuesSet.has(input)) {
3237
- return payload;
3238
- }
3239
- payload.issues.push({
3240
- code: "invalid_value",
3241
-
3242
- values,
3243
- input,
3244
- inst,
3245
- });
3246
- return payload;
3247
- };
3248
- });
3249
-
3250
- ////////////////////////////////////////
3251
- ////////////////////////////////////////
3252
- ////////// //////////
3253
- ////////// $ZodLiteral //////////
3254
- ////////// //////////
3255
- ////////////////////////////////////////
3256
- ////////////////////////////////////////
3257
-
3258
- export interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {
3259
- type: "literal";
3260
- values: T[];
3261
- }
3262
-
3263
- export interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
3264
- def: $ZodLiteralDef<T>;
3265
- values: Set<T>;
3266
- pattern: RegExp;
3267
- isst: errors.$ZodIssueInvalidValue;
3268
- }
3269
-
3270
- export interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {
3271
- _zod: $ZodLiteralInternals<T>;
3272
- }
3273
-
3274
- export const $ZodLiteral: core.$constructor<$ZodLiteral> = /*@__PURE__*/ core.$constructor(
3275
- "$ZodLiteral",
3276
- (inst, def) => {
3277
- $ZodType.init(inst, def);
3278
- if (def.values.length === 0) {
3279
- throw new Error("Cannot create literal schema with no valid values");
3280
- }
3281
-
3282
- const values = new Set<util.Literal>(def.values);
3283
- inst._zod.values = values;
3284
- inst._zod.pattern = new RegExp(
3285
- `^(${def.values
3286
-
3287
- .map((o) => (typeof o === "string" ? util.escapeRegex(o) : o ? util.escapeRegex(o.toString()) : String(o)))
3288
- .join("|")})$`
3289
- );
3290
-
3291
- inst._zod.parse = (payload, _ctx) => {
3292
- const input = payload.value;
3293
- if (values.has(input)) {
3294
- return payload;
3295
- }
3296
- payload.issues.push({
3297
- code: "invalid_value",
3298
-
3299
- values: def.values,
3300
- input,
3301
- inst,
3302
- });
3303
- return payload;
3304
- };
3305
- }
3306
- );
3307
-
3308
- ////////////////////////////////////////
3309
- ////////////////////////////////////////
3310
- ////////// //////////
3311
- ////////// $ZodConst //////////
3312
- ////////// //////////
3313
- ////////////////////////////////////////
3314
- ////////////////////////////////////////
3315
-
3316
- // export interface $ZodConstDef extends $ZodTypeDef {
3317
- // type: "const";
3318
- // value: unknown;
3319
- // }
3320
-
3321
- // export _interface $ZodConstInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
3322
- // _def: $ZodConstDef;
3323
- // _values: util.PrimitiveSet;
3324
- // _pattern: RegExp;
3325
- // _isst: errors.$ZodIssueInvalidValue;
3326
- // }
3327
-
3328
- // export const $ZodConst: core.$constructor<{_zod: $ZodConstInternals}> = /*@__PURE__*/ core.$constructor("$ZodConst", (inst, def) => {
3329
- // $ZodType.init(inst, def);
3330
-
3331
- // if (util.primitiveTypes.has(typeof def.value) || def.value === null) {
3332
- // inst._zod.values = new Set<util.Primitive>(def.value as any);
3333
- // }
3334
-
3335
- // if (util.propertyKeyTypes.has(typeof def.value)) {
3336
- // inst._zod.pattern = new RegExp(
3337
- // `^(${typeof def.value === "string" ? util.escapeRegex(def.value) : (def.value as any).toString()})$`
3338
- // );
3339
- // } else {
3340
- // throw new Error("Const value cannot be converted to regex");
3341
- // }
3342
-
3343
- // inst._zod.parse = (payload, _ctx) => {
3344
- // payload.value = def.value; // always override
3345
- // return payload;
3346
- // };
3347
- // });
3348
-
3349
- //////////////////////////////////////////
3350
- //////////////////////////////////////////
3351
- ////////// //////////
3352
- ////////// $ZodFile //////////
3353
- ////////// //////////
3354
- //////////////////////////////////////////
3355
- //////////////////////////////////////////
3356
-
3357
- // provide a fallback in case the File interface isn't provided in the environment
3358
- type _File = typeof globalThis extends { File: infer F extends new (...args: any[]) => any } ? InstanceType<F> : {};
3359
- /** Do not reference this directly. */
3360
- export interface File extends _File {
3361
- readonly type: string;
3362
- readonly size: number;
3363
- }
3364
-
3365
- export interface $ZodFileDef extends $ZodTypeDef {
3366
- type: "file";
3367
- }
3368
-
3369
- export interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
3370
- def: $ZodFileDef;
3371
- isst: errors.$ZodIssueInvalidType;
3372
- bag: util.LoosePartial<{
3373
- minimum: number;
3374
- maximum: number;
3375
- mime: util.MimeTypes[];
3376
- }>;
3377
- }
3378
-
3379
- export interface $ZodFile extends $ZodType {
3380
- _zod: $ZodFileInternals;
3381
- }
3382
-
3383
- export const $ZodFile: core.$constructor<$ZodFile> = /*@__PURE__*/ core.$constructor("$ZodFile", (inst, def) => {
3384
- $ZodType.init(inst, def);
3385
-
3386
- inst._zod.parse = (payload, _ctx) => {
3387
- const input = payload.value;
3388
- // @ts-ignore
3389
- if (input instanceof File) return payload;
3390
- payload.issues.push({
3391
- expected: "file",
3392
- code: "invalid_type",
3393
-
3394
- input,
3395
- inst,
3396
- });
3397
- return payload;
3398
- };
3399
- });
3400
-
3401
- //////////////////////////////////////////////
3402
- //////////////////////////////////////////////
3403
- ////////// //////////
3404
- ////////// $ZodTransform //////////
3405
- ////////// //////////
3406
- //////////////////////////////////////////////
3407
- //////////////////////////////////////////////
3408
- export interface $ZodTransformDef extends $ZodTypeDef {
3409
- type: "transform";
3410
- transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;
3411
- }
3412
- export interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
3413
- def: $ZodTransformDef;
3414
- isst: never;
3415
- }
3416
-
3417
- export interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
3418
- _zod: $ZodTransformInternals<O, I>;
3419
- }
3420
-
3421
- export const $ZodTransform: core.$constructor<$ZodTransform> = /*@__PURE__*/ core.$constructor(
3422
- "$ZodTransform",
3423
- (inst, def) => {
3424
- $ZodType.init(inst, def);
3425
- inst._zod.optin = "optional";
3426
- inst._zod.parse = (payload, ctx) => {
3427
- if (ctx.direction === "backward") {
3428
- throw new core.$ZodEncodeError(inst.constructor.name);
3429
- }
3430
-
3431
- const _out = def.transform(payload.value, payload);
3432
- if (ctx.async) {
3433
- const output = _out instanceof Promise ? _out : Promise.resolve(_out);
3434
- return output.then((output) => {
3435
- payload.value = output;
3436
- payload.fallback = true;
3437
- return payload;
3438
- });
3439
- }
3440
-
3441
- if (_out instanceof Promise) {
3442
- throw new core.$ZodAsyncError();
3443
- }
3444
-
3445
- payload.value = _out;
3446
- payload.fallback = true;
3447
- return payload;
3448
- };
3449
- }
3450
- );
3451
-
3452
- ////////////////////////////////////////////
3453
- ////////////////////////////////////////////
3454
- ////////// //////////
3455
- ////////// $ZodOptional //////////
3456
- ////////// //////////
3457
- ////////////////////////////////////////////
3458
- ////////////////////////////////////////////
3459
- export interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3460
- type: "optional";
3461
- innerType: T;
3462
- }
3463
-
3464
- export interface $ZodOptionalInternals<T extends SomeType = $ZodType>
3465
- extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {
3466
- def: $ZodOptionalDef<T>;
3467
- optin: "optional";
3468
- optout: "optional";
3469
- isst: never;
3470
- values: T["_zod"]["values"];
3471
- pattern: T["_zod"]["pattern"];
3472
- }
3473
-
3474
- export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
3475
- _zod: $ZodOptionalInternals<T>;
3476
- }
3477
-
3478
- function handleOptionalResult(result: ParsePayload, input: unknown) {
3479
- if (input === undefined && (result.issues.length || result.fallback)) {
3480
- return { issues: [], value: undefined };
3481
- }
3482
- return result;
3483
- }
3484
-
3485
- export const $ZodOptional: core.$constructor<$ZodOptional> = /*@__PURE__*/ core.$constructor(
3486
- "$ZodOptional",
3487
- (inst, def) => {
3488
- $ZodType.init(inst, def);
3489
- inst._zod.optin = "optional";
3490
- inst._zod.optout = "optional";
3491
-
3492
- util.defineLazy(inst._zod, "values", () => {
3493
- return def.innerType._zod.values ? new Set([...def.innerType._zod.values, undefined]) : undefined;
3494
- });
3495
- util.defineLazy(inst._zod, "pattern", () => {
3496
- const pattern = def.innerType._zod.pattern;
3497
- return pattern ? new RegExp(`^(${util.cleanRegex(pattern.source)})?$`) : undefined;
3498
- });
3499
-
3500
- inst._zod.parse = (payload, ctx) => {
3501
- if (def.innerType._zod.optin === "optional") {
3502
- const input = payload.value;
3503
- const result = def.innerType._zod.run(payload, ctx);
3504
- if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
3505
- return handleOptionalResult(result, input);
3506
- }
3507
- if (payload.value === undefined) {
3508
- return payload;
3509
- }
3510
- return def.innerType._zod.run(payload, ctx);
3511
- };
3512
- }
3513
- );
3514
-
3515
- ////////////////////////////////////////////////
3516
- ////////////////////////////////////////////////
3517
- ////////// //////////
3518
- ////////// $ZodExactOptional //////////
3519
- ////////// //////////
3520
- ////////////////////////////////////////////////
3521
- ////////////////////////////////////////////////
3522
-
3523
- // Def extends $ZodOptionalDef (no additional fields needed)
3524
- export interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
3525
-
3526
- // Internals extends $ZodOptionalInternals but narrows output/input types (removes | undefined)
3527
- export interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
3528
- def: $ZodExactOptionalDef<T>;
3529
- output: core.output<T>; // NO | undefined (narrowed from parent)
3530
- input: core.input<T>; // NO | undefined (narrowed from parent)
3531
- }
3532
-
3533
- export interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
3534
- _zod: $ZodExactOptionalInternals<T>;
3535
- }
3536
-
3537
- export const $ZodExactOptional: core.$constructor<$ZodExactOptional> = /*@__PURE__*/ core.$constructor(
3538
- "$ZodExactOptional",
3539
- (inst, def) => {
3540
- // Call parent init - inherits optin/optout = "optional"
3541
- $ZodOptional.init(inst, def);
3542
-
3543
- // Override values/pattern to NOT add undefined
3544
- util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3545
- util.defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
3546
-
3547
- // Override parse to just delegate (no undefined handling)
3548
- inst._zod.parse = (payload, ctx) => {
3549
- return def.innerType._zod.run(payload, ctx);
3550
- };
3551
- }
3552
- );
3553
-
3554
- ////////////////////////////////////////////
3555
- ////////////////////////////////////////////
3556
- ////////// //////////
3557
- ////////// $ZodNullable //////////
3558
- ////////// //////////
3559
- ////////////////////////////////////////////
3560
- ////////////////////////////////////////////
3561
- export interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3562
- type: "nullable";
3563
- innerType: T;
3564
- }
3565
-
3566
- export interface $ZodNullableInternals<T extends SomeType = $ZodType>
3567
- extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {
3568
- def: $ZodNullableDef<T>;
3569
- optin: T["_zod"]["optin"];
3570
- optout: T["_zod"]["optout"];
3571
- isst: never;
3572
- values: T["_zod"]["values"];
3573
- pattern: T["_zod"]["pattern"];
3574
- }
3575
-
3576
- export interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
3577
- _zod: $ZodNullableInternals<T>;
3578
- }
3579
-
3580
- export const $ZodNullable: core.$constructor<$ZodNullable> = /*@__PURE__*/ core.$constructor(
3581
- "$ZodNullable",
3582
- (inst, def) => {
3583
- $ZodType.init(inst, def);
3584
- util.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
3585
- util.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3586
-
3587
- util.defineLazy(inst._zod, "pattern", () => {
3588
- const pattern = def.innerType._zod.pattern;
3589
- return pattern ? new RegExp(`^(${util.cleanRegex(pattern.source)}|null)$`) : undefined;
3590
- });
3591
-
3592
- util.defineLazy(inst._zod, "values", () => {
3593
- return def.innerType._zod.values ? new Set([...def.innerType._zod.values, null]) : undefined;
3594
- });
3595
-
3596
- inst._zod.parse = (payload, ctx) => {
3597
- // Forward direction (decode): allow null to pass through
3598
- if (payload.value === null) return payload;
3599
- return def.innerType._zod.run(payload, ctx);
3600
- };
3601
- }
3602
- );
3603
- // );
3604
-
3605
- ////////////////////////////////////////////
3606
- ////////////////////////////////////////////
3607
- ////////// //////////
3608
- ////////// $ZodDefault //////////
3609
- ////////// //////////
3610
- ////////////////////////////////////////////
3611
- ////////////////////////////////////////////
3612
- export interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3613
- type: "default";
3614
- innerType: T;
3615
- /** The default value. May be a getter. */
3616
- defaultValue: util.NoUndefined<core.output<T>>;
3617
- }
3618
-
3619
- export interface $ZodDefaultInternals<T extends SomeType = $ZodType>
3620
- extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
3621
- def: $ZodDefaultDef<T>;
3622
- optin: "optional";
3623
- optout?: "optional" | undefined; // required
3624
- isst: never;
3625
- values: T["_zod"]["values"];
3626
- }
3627
-
3628
- export interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
3629
- _zod: $ZodDefaultInternals<T>;
3630
- }
3631
-
3632
- export const $ZodDefault: core.$constructor<$ZodDefault> = /*@__PURE__*/ core.$constructor(
3633
- "$ZodDefault",
3634
- (inst, def) => {
3635
- $ZodType.init(inst, def);
3636
-
3637
- // inst._zod.qin = "true";
3638
- inst._zod.optin = "optional";
3639
- util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3640
-
3641
- inst._zod.parse = (payload, ctx) => {
3642
- if (ctx.direction === "backward") {
3643
- return def.innerType._zod.run(payload, ctx);
3644
- }
3645
-
3646
- // Forward direction (decode): apply defaults for undefined input
3647
- if (payload.value === undefined) {
3648
- payload.value = def.defaultValue;
3649
- /**
3650
- * $ZodDefault returns the default value immediately in forward direction.
3651
- * It doesn't pass the default value into the validator ("prefault"). There's no reason to pass the default value through validation. The validity of the default is enforced by TypeScript statically. Otherwise, it's the responsibility of the user to ensure the default is valid. In the case of pipes with divergent in/out types, you can specify the default on the `in` schema of your ZodPipe to set a "prefault" for the pipe. */
3652
- return payload;
3653
- }
3654
- // Forward direction: continue with default handling
3655
- const result = def.innerType._zod.run(payload, ctx);
3656
- if (result instanceof Promise) {
3657
- return result.then((result) => handleDefaultResult(result, def));
3658
- }
3659
- return handleDefaultResult(result, def);
3660
- };
3661
- }
3662
- );
3663
-
3664
- function handleDefaultResult(payload: ParsePayload, def: $ZodDefaultDef) {
3665
- if (payload.value === undefined) {
3666
- payload.value = def.defaultValue;
3667
- }
3668
- return payload;
3669
- }
3670
-
3671
- ////////////////////////////////////////////
3672
- ////////////////////////////////////////////
3673
- ////////// //////////
3674
- ////////// $ZodPrefault //////////
3675
- ////////// //////////
3676
- ////////////////////////////////////////////
3677
- ////////////////////////////////////////////
3678
-
3679
- export interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3680
- type: "prefault";
3681
- innerType: T;
3682
- /** The default value. May be a getter. */
3683
- defaultValue: core.input<T>;
3684
- }
3685
-
3686
- export interface $ZodPrefaultInternals<T extends SomeType = $ZodType>
3687
- extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
3688
- def: $ZodPrefaultDef<T>;
3689
- optin: "optional";
3690
- optout?: "optional" | undefined;
3691
- isst: never;
3692
- values: T["_zod"]["values"];
3693
- }
3694
-
3695
- export interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
3696
- _zod: $ZodPrefaultInternals<T>;
3697
- }
3698
-
3699
- export const $ZodPrefault: core.$constructor<$ZodPrefault> = /*@__PURE__*/ core.$constructor(
3700
- "$ZodPrefault",
3701
- (inst, def) => {
3702
- $ZodType.init(inst, def);
3703
-
3704
- inst._zod.optin = "optional";
3705
- util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3706
-
3707
- inst._zod.parse = (payload, ctx) => {
3708
- if (ctx.direction === "backward") {
3709
- return def.innerType._zod.run(payload, ctx);
3710
- }
3711
-
3712
- // Forward direction (decode): apply prefault for undefined input
3713
- if (payload.value === undefined) {
3714
- payload.value = def.defaultValue;
3715
- }
3716
- return def.innerType._zod.run(payload, ctx);
3717
- };
3718
- }
3719
- );
3720
-
3721
- ///////////////////////////////////////////////
3722
- ///////////////////////////////////////////////
3723
- ////////// //////////
3724
- ////////// $ZodNonOptional //////////
3725
- ////////// //////////
3726
- ///////////////////////////////////////////////
3727
- ///////////////////////////////////////////////
3728
- export interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3729
- type: "nonoptional";
3730
- innerType: T;
3731
- }
3732
-
3733
- export interface $ZodNonOptionalInternals<T extends SomeType = $ZodType>
3734
- extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {
3735
- def: $ZodNonOptionalDef<T>;
3736
- isst: errors.$ZodIssueInvalidType;
3737
- values: T["_zod"]["values"];
3738
- optin: "optional" | undefined;
3739
- optout: "optional" | undefined;
3740
- }
3741
-
3742
- export interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
3743
- _zod: $ZodNonOptionalInternals<T>;
3744
- }
3745
-
3746
- export const $ZodNonOptional: core.$constructor<$ZodNonOptional> = /*@__PURE__*/ core.$constructor(
3747
- "$ZodNonOptional",
3748
- (inst, def) => {
3749
- $ZodType.init(inst, def);
3750
-
3751
- util.defineLazy(inst._zod, "values", () => {
3752
- const v = def.innerType._zod.values;
3753
- return v ? new Set([...v].filter((x) => x !== undefined)) : undefined;
3754
- });
3755
-
3756
- inst._zod.parse = (payload, ctx) => {
3757
- const result = def.innerType._zod.run(payload, ctx);
3758
- if (result instanceof Promise) {
3759
- return result.then((result) => handleNonOptionalResult(result, inst));
3760
- }
3761
- return handleNonOptionalResult(result, inst);
3762
- };
3763
- }
3764
- );
3765
-
3766
- function handleNonOptionalResult(payload: ParsePayload, inst: $ZodNonOptional) {
3767
- if (!payload.issues.length && payload.value === undefined) {
3768
- payload.issues.push({
3769
- code: "invalid_type",
3770
- expected: "nonoptional",
3771
- input: payload.value,
3772
- inst,
3773
- });
3774
- }
3775
- return payload;
3776
- }
3777
-
3778
- ////////////////////////////////////////////
3779
- ////////////////////////////////////////////
3780
- ////////// //////////
3781
- ////////// $ZodCoalesce //////////
3782
- ////////// //////////
3783
- ////////////////////////////////////////////
3784
- ////////////////////////////////////////////
3785
- // export interface $ZodCoalesceDef<T extends $ZodType = $ZodType> extends $ZodTypeDef {
3786
- // type: "coalesce";
3787
- // innerType: T;
3788
- // defaultValue: () => NonNullable<T['_zod']["output"]>;
3789
- // }
3790
-
3791
- // export _interface $ZodCoalesceInternals<T extends $ZodType = $ZodType>
3792
- // extends $ZodTypeInternals<NonNullable<T['_zod']["output"]>, T['_zod']["input"] | undefined | null> {
3793
- // _def: $ZodCoalesceDef<T>;
3794
- // _isst: errors.$ZodIssueInvalidType;
3795
- // _qin: "true";
3796
- // }
3797
-
3798
- // function handleCoalesceResult(payload: ParsePayload, def: $ZodCoalesceDef) {
3799
- // payload.value ??= def.defaultValue();
3800
- // return payload;
3801
- // }
3802
-
3803
- // export const $ZodCoalesce: core.$constructor<{_zod: $ZodCoalesceInternals}> = /*@__PURE__*/ core.$constructor(
3804
- // "$ZodCoalesce",
3805
- // (inst, def) => {
3806
- // $ZodType.init(inst, def);
3807
- // inst._zod.qin = "true";
3808
- // inst._zod.parse = (payload, ctx) => {
3809
- // const result = def.innerType._zod.run(payload, ctx);
3810
- // if (result instanceof Promise) {
3811
- // return result.then((result) => handleCoalesceResult(result, def));
3812
- // }
3813
- // return handleCoalesceResult(result, def);
3814
- // };
3815
- // }
3816
- // );
3817
-
3818
- /////////////////////////////////////////////
3819
- /////////////////////////////////////////////
3820
- ////////// //////////
3821
- ////////// $ZodSuccess //////////
3822
- ////////// //////////
3823
- /////////////////////////////////////////////
3824
- /////////////////////////////////////////////
3825
- export interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3826
- type: "success";
3827
- innerType: T;
3828
- }
3829
-
3830
- export interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {
3831
- def: $ZodSuccessDef<T>;
3832
- isst: never;
3833
- optin: T["_zod"]["optin"];
3834
- optout: "optional" | undefined;
3835
- }
3836
-
3837
- export interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
3838
- _zod: $ZodSuccessInternals<T>;
3839
- }
3840
-
3841
- export const $ZodSuccess: core.$constructor<$ZodSuccess> = /*@__PURE__*/ core.$constructor(
3842
- "$ZodSuccess",
3843
- (inst, def) => {
3844
- $ZodType.init(inst, def);
3845
-
3846
- inst._zod.parse = (payload, ctx) => {
3847
- if (ctx.direction === "backward") {
3848
- throw new core.$ZodEncodeError("ZodSuccess");
3849
- }
3850
-
3851
- const result = def.innerType._zod.run(payload, ctx);
3852
- if (result instanceof Promise) {
3853
- return result.then((result) => {
3854
- payload.value = result.issues.length === 0;
3855
- return payload;
3856
- });
3857
- }
3858
- payload.value = result.issues.length === 0;
3859
- return payload;
3860
- };
3861
- }
3862
- );
3863
-
3864
- ////////////////////////////////////////////
3865
- ////////////////////////////////////////////
3866
- ////////// //////////
3867
- ////////// $ZodCatch //////////
3868
- ////////// //////////
3869
- ////////////////////////////////////////////
3870
- ////////////////////////////////////////////
3871
- export interface $ZodCatchCtx extends ParsePayload {
3872
- /** @deprecated Use `ctx.issues` */
3873
- error: { issues: errors.$ZodIssue[] };
3874
- /** @deprecated Use `ctx.value` */
3875
- input: unknown;
3876
- }
3877
- export interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
3878
- type: "catch";
3879
- innerType: T;
3880
- catchValue: (ctx: $ZodCatchCtx) => unknown;
3881
- }
3882
-
3883
- export interface $ZodCatchInternals<T extends SomeType = $ZodType>
3884
- extends $ZodTypeInternals<core.output<T>, core.input<T>> {
3885
- def: $ZodCatchDef<T>;
3886
- optin: T["_zod"]["optin"];
3887
- optout: T["_zod"]["optout"];
3888
- isst: never;
3889
- values: T["_zod"]["values"];
3890
- }
3891
-
3892
- export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
3893
- _zod: $ZodCatchInternals<T>;
3894
- }
3895
-
3896
- export const $ZodCatch: core.$constructor<$ZodCatch> = /*@__PURE__*/ core.$constructor("$ZodCatch", (inst, def) => {
3897
- $ZodType.init(inst, def);
3898
- inst._zod.optin = "optional";
3899
- util.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
3900
- util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
3901
-
3902
- inst._zod.parse = (payload, ctx) => {
3903
- if (ctx.direction === "backward") {
3904
- return def.innerType._zod.run(payload, ctx);
3905
- }
3906
-
3907
- // Forward direction (decode): apply catch logic
3908
- const result = def.innerType._zod.run(payload, ctx);
3909
- if (result instanceof Promise) {
3910
- return result.then((result) => {
3911
- payload.value = result.value;
3912
- if (result.issues.length) {
3913
- payload.value = def.catchValue({
3914
- ...payload,
3915
- error: {
3916
- issues: result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3917
- },
3918
- input: payload.value,
3919
- });
3920
- payload.issues = [];
3921
- payload.fallback = true;
3922
- }
3923
-
3924
- return payload;
3925
- });
3926
- }
3927
-
3928
- payload.value = result.value;
3929
- if (result.issues.length) {
3930
- payload.value = def.catchValue({
3931
- ...payload,
3932
- error: {
3933
- issues: result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
3934
- },
3935
- input: payload.value,
3936
- });
3937
-
3938
- payload.issues = [];
3939
- payload.fallback = true;
3940
- }
3941
-
3942
- return payload;
3943
- };
3944
- });
3945
-
3946
- ////////////////////////////////////////////
3947
- ////////////////////////////////////////////
3948
- ////////// //////////
3949
- ////////// $ZodNaN //////////
3950
- ////////// //////////
3951
- ////////////////////////////////////////////
3952
- ////////////////////////////////////////////
3953
- export interface $ZodNaNDef extends $ZodTypeDef {
3954
- type: "nan";
3955
- }
3956
-
3957
- export interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
3958
- def: $ZodNaNDef;
3959
- isst: errors.$ZodIssueInvalidType;
3960
- }
3961
-
3962
- export interface $ZodNaN extends $ZodType {
3963
- _zod: $ZodNaNInternals;
3964
- }
3965
-
3966
- export const $ZodNaN: core.$constructor<$ZodNaN> = /*@__PURE__*/ core.$constructor("$ZodNaN", (inst, def) => {
3967
- $ZodType.init(inst, def);
3968
-
3969
- inst._zod.parse = (payload, _ctx) => {
3970
- if (typeof payload.value !== "number" || !Number.isNaN(payload.value)) {
3971
- payload.issues.push({
3972
- input: payload.value,
3973
- inst,
3974
- expected: "nan",
3975
- code: "invalid_type",
3976
- });
3977
- return payload;
3978
- }
3979
- return payload;
3980
- };
3981
- });
3982
-
3983
- ////////////////////////////////////////////
3984
- ////////////////////////////////////////////
3985
- ////////// //////////
3986
- ////////// $ZodPipe //////////
3987
- ////////// //////////
3988
- ////////////////////////////////////////////
3989
- ////////////////////////////////////////////
3990
- export interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
3991
- type: "pipe";
3992
- in: A;
3993
- out: B;
3994
- /** Only defined inside $ZodCodec instances. */
3995
- transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
3996
- /** Only defined inside $ZodCodec instances. */
3997
- reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
3998
- }
3999
-
4000
- export interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
4001
- extends $ZodTypeInternals<core.output<B>, core.input<A>> {
4002
- def: $ZodPipeDef<A, B>;
4003
- isst: never;
4004
- values: A["_zod"]["values"];
4005
- optin: A["_zod"]["optin"];
4006
- optout: B["_zod"]["optout"];
4007
- propValues: A["_zod"]["propValues"];
4008
- }
4009
-
4010
- export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
4011
- _zod: $ZodPipeInternals<A, B>;
4012
- }
4013
-
4014
- export const $ZodPipe: core.$constructor<$ZodPipe> = /*@__PURE__*/ core.$constructor("$ZodPipe", (inst, def) => {
4015
- $ZodType.init(inst, def);
4016
- util.defineLazy(inst._zod, "values", () => def.in._zod.values);
4017
- util.defineLazy(inst._zod, "optin", () => def.in._zod.optin);
4018
- util.defineLazy(inst._zod, "optout", () => def.out._zod.optout);
4019
- util.defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
4020
-
4021
- inst._zod.parse = (payload, ctx) => {
4022
- if (ctx.direction === "backward") {
4023
- const right = def.out._zod.run(payload, ctx);
4024
- if (right instanceof Promise) {
4025
- return right.then((right) => handlePipeResult(right, def.in, ctx));
4026
- }
4027
- return handlePipeResult(right, def.in, ctx);
4028
- }
4029
-
4030
- const left = def.in._zod.run(payload, ctx);
4031
- if (left instanceof Promise) {
4032
- return left.then((left) => handlePipeResult(left, def.out, ctx));
4033
- }
4034
- return handlePipeResult(left, def.out, ctx);
4035
- };
4036
- });
4037
-
4038
- function handlePipeResult(left: ParsePayload, next: $ZodType, ctx: ParseContextInternal) {
4039
- if (left.issues.length) {
4040
- // prevent further checks
4041
- left.aborted = true;
4042
- return left;
4043
- }
4044
- return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
4045
- }
4046
-
4047
- ////////////////////////////////////////////
4048
- ////////////////////////////////////////////
4049
- ////////// //////////
4050
- ////////// $ZodCodec //////////
4051
- ////////// //////////
4052
- ////////////////////////////////////////////
4053
- ////////////////////////////////////////////
4054
- export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
4055
- transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
4056
- reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
4057
- }
4058
-
4059
- export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
4060
- extends $ZodTypeInternals<core.output<B>, core.input<A>> {
4061
- def: $ZodCodecDef<A, B>;
4062
- isst: never;
4063
- values: A["_zod"]["values"];
4064
- optin: A["_zod"]["optin"];
4065
- optout: B["_zod"]["optout"];
4066
- propValues: A["_zod"]["propValues"];
4067
- }
4068
-
4069
- export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
4070
- _zod: $ZodCodecInternals<A, B>;
4071
- }
4072
-
4073
- export const $ZodCodec: core.$constructor<$ZodCodec> = /*@__PURE__*/ core.$constructor("$ZodCodec", (inst, def) => {
4074
- $ZodType.init(inst, def);
4075
- util.defineLazy(inst._zod, "values", () => def.in._zod.values);
4076
- util.defineLazy(inst._zod, "optin", () => def.in._zod.optin);
4077
- util.defineLazy(inst._zod, "optout", () => def.out._zod.optout);
4078
- util.defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
4079
-
4080
- inst._zod.parse = (payload, ctx) => {
4081
- const direction = ctx.direction || "forward";
4082
- if (direction === "forward") {
4083
- const left = def.in._zod.run(payload, ctx);
4084
- if (left instanceof Promise) {
4085
- return left.then((left) => handleCodecAResult(left, def, ctx));
4086
- }
4087
- return handleCodecAResult(left, def, ctx);
4088
- } else {
4089
- const right = def.out._zod.run(payload, ctx);
4090
- if (right instanceof Promise) {
4091
- return right.then((right) => handleCodecAResult(right, def, ctx));
4092
- }
4093
- return handleCodecAResult(right, def, ctx);
4094
- }
4095
- };
4096
- });
4097
-
4098
- function handleCodecAResult(result: ParsePayload, def: $ZodCodecDef, ctx: ParseContextInternal) {
4099
- if (result.issues.length) {
4100
- // prevent further checks
4101
- result.aborted = true;
4102
- return result;
4103
- }
4104
-
4105
- const direction = ctx.direction || "forward";
4106
-
4107
- if (direction === "forward") {
4108
- const transformed = def.transform(result.value, result);
4109
- if (transformed instanceof Promise) {
4110
- return transformed.then((value) => handleCodecTxResult(result, value, def.out, ctx));
4111
- }
4112
- return handleCodecTxResult(result, transformed, def.out, ctx);
4113
- } else {
4114
- const transformed = def.reverseTransform(result.value, result);
4115
- if (transformed instanceof Promise) {
4116
- return transformed.then((value) => handleCodecTxResult(result, value, def.in, ctx));
4117
- }
4118
- return handleCodecTxResult(result, transformed, def.in, ctx);
4119
- }
4120
- }
4121
-
4122
- function handleCodecTxResult(left: ParsePayload, value: any, nextSchema: SomeType, ctx: ParseContextInternal) {
4123
- // Check if transform added any issues
4124
- if (left.issues.length) {
4125
- left.aborted = true;
4126
- return left;
4127
- }
4128
-
4129
- return nextSchema._zod.run({ value, issues: left.issues }, ctx);
4130
- }
4131
-
4132
- /////////////////////////////////////////////////
4133
- /////////////////////////////////////////////////
4134
- ////////// //////////
4135
- ////////// $ZodPreprocess //////////
4136
- ////////// //////////
4137
- /////////////////////////////////////////////////
4138
- /////////////////////////////////////////////////
4139
- export interface $ZodPreprocessDef<B extends SomeType = $ZodType> extends $ZodPipeDef<$ZodTransform, B> {
4140
- in: $ZodTransform;
4141
- out: B;
4142
- }
4143
-
4144
- export interface $ZodPreprocessInternals<B extends SomeType = $ZodType> extends $ZodPipeInternals<$ZodTransform, B> {
4145
- def: $ZodPreprocessDef<B>;
4146
- optin: B["_zod"]["optin"];
4147
- optout: B["_zod"]["optout"];
4148
- }
4149
-
4150
- export interface $ZodPreprocess<B extends SomeType = $ZodType> extends $ZodPipe<$ZodTransform, B> {
4151
- _zod: $ZodPreprocessInternals<B>;
4152
- }
4153
-
4154
- export const $ZodPreprocess: core.$constructor<$ZodPreprocess> = /*@__PURE__*/ core.$constructor(
4155
- "$ZodPreprocess",
4156
- (inst, def) => {
4157
- $ZodPipe.init(inst, def);
4158
- }
4159
- );
4160
-
4161
- ////////////////////////////////////////////
4162
- ////////////////////////////////////////////
4163
- ////////// //////////
4164
- ////////// $ZodReadonly //////////
4165
- ////////// //////////
4166
- ////////////////////////////////////////////
4167
- ////////////////////////////////////////////
4168
-
4169
- export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4170
- type: "readonly";
4171
- innerType: T;
4172
- }
4173
-
4174
- export interface $ZodReadonlyInternals<T extends SomeType = $ZodType>
4175
- extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {
4176
- def: $ZodReadonlyDef<T>;
4177
- optin: T["_zod"]["optin"];
4178
- optout: T["_zod"]["optout"];
4179
- isst: never;
4180
- propValues: T["_zod"]["propValues"];
4181
- values: T["_zod"]["values"];
4182
- }
4183
-
4184
- export interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
4185
- _zod: $ZodReadonlyInternals<T>;
4186
- }
4187
-
4188
- export const $ZodReadonly: core.$constructor<$ZodReadonly> = /*@__PURE__*/ core.$constructor(
4189
- "$ZodReadonly",
4190
- (inst, def) => {
4191
- $ZodType.init(inst, def);
4192
- util.defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
4193
- util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
4194
- util.defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
4195
- util.defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
4196
-
4197
- inst._zod.parse = (payload, ctx) => {
4198
- if (ctx.direction === "backward") {
4199
- return def.innerType._zod.run(payload, ctx);
4200
- }
4201
- const result = def.innerType._zod.run(payload, ctx);
4202
- if (result instanceof Promise) {
4203
- return result.then(handleReadonlyResult);
4204
- }
4205
- return handleReadonlyResult(result);
4206
- };
4207
- }
4208
- );
4209
-
4210
- function handleReadonlyResult(payload: ParsePayload): ParsePayload {
4211
- payload.value = Object.freeze(payload.value);
4212
- return payload;
4213
- }
4214
-
4215
- /////////////////////////////////////////////
4216
- /////////////////////////////////////////////
4217
- ////////// //////////
4218
- ////////// $ZodTemplateLiteral //////////
4219
- ////////// //////////
4220
- /////////////////////////////////////////////
4221
- /////////////////////////////////////////////
4222
-
4223
- export interface $ZodTemplateLiteralDef extends $ZodTypeDef {
4224
- type: "template_literal";
4225
- parts: $ZodTemplateLiteralPart[];
4226
- format?: string | undefined;
4227
- }
4228
- export interface $ZodTemplateLiteralInternals<Template extends string = string>
4229
- extends $ZodTypeInternals<Template, Template> {
4230
- pattern: RegExp;
4231
- def: $ZodTemplateLiteralDef;
4232
- isst: errors.$ZodIssueInvalidType;
4233
- }
4234
-
4235
- export interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
4236
- _zod: $ZodTemplateLiteralInternals<Template>;
4237
- }
4238
-
4239
- type LiteralPart = Exclude<util.Literal, symbol>; //string | number | boolean | null | undefined;
4240
- interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
4241
- pattern: RegExp;
4242
- }
4243
- interface SchemaPart extends $ZodType {
4244
- _zod: SchemaPartInternals;
4245
- }
4246
- export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
4247
-
4248
- type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
4249
- type AppendToTemplateLiteral<
4250
- Template extends string,
4251
- Suffix extends LiteralPart | $ZodType,
4252
- > = Suffix extends LiteralPart
4253
- ? `${Template}${UndefinedToEmptyString<Suffix>}`
4254
- : Suffix extends $ZodType
4255
- ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}`
4256
- : never;
4257
-
4258
- export type ConcatenateTupleOfStrings<T extends string[]> = T extends [
4259
- infer First extends string,
4260
- ...infer Rest extends string[],
4261
- ]
4262
- ? Rest extends string[]
4263
- ? First extends ""
4264
- ? ConcatenateTupleOfStrings<Rest>
4265
- : `${First}${ConcatenateTupleOfStrings<Rest>}`
4266
- : never
4267
- : "";
4268
- export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {
4269
- [K in keyof Parts]: Parts[K] extends LiteralPart
4270
- ? `${UndefinedToEmptyString<Parts[K]>}`
4271
- : Parts[K] extends $ZodType
4272
- ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}`
4273
- : never;
4274
- };
4275
-
4276
- export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<
4277
- ConvertPartsToStringTuple<Parts>
4278
- >;
4279
- // type lkjasd = ConcatenateTupleOfStrings<["Hello", " ", "World", "!"]>; // "Hello World!"
4280
- export type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts
4281
- ? ``
4282
- : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart]
4283
- ? Rest extends $ZodTemplateLiteralPart[]
4284
- ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last>
4285
- : never
4286
- : never;
4287
-
4288
- export const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral> = /*@__PURE__*/ core.$constructor(
4289
- "$ZodTemplateLiteral",
4290
- (inst, def) => {
4291
- $ZodType.init(inst, def);
4292
- const regexParts: string[] = [];
4293
- for (const part of def.parts) {
4294
- if (typeof part === "object" && part !== null) {
4295
- // is Zod schema
4296
- if (!part._zod.pattern) {
4297
- // if (!source)
4298
- throw new Error(`Invalid template literal part, no pattern found: ${[...(part as any)._zod.traits].shift()}`);
4299
- }
4300
-
4301
- const source = part._zod.pattern instanceof RegExp ? part._zod.pattern.source : part._zod.pattern;
4302
-
4303
- if (!source) throw new Error(`Invalid template literal part: ${part._zod.traits}`);
4304
-
4305
- const start = source.startsWith("^") ? 1 : 0;
4306
- const end = source.endsWith("$") ? source.length - 1 : source.length;
4307
- regexParts.push(source.slice(start, end));
4308
- } else if (part === null || util.primitiveTypes.has(typeof part)) {
4309
- regexParts.push(util.escapeRegex(`${part}`));
4310
- } else {
4311
- throw new Error(`Invalid template literal part: ${part}`);
4312
- }
4313
- }
4314
- inst._zod.pattern = new RegExp(`^${regexParts.join("")}$`);
4315
-
4316
- inst._zod.parse = (payload, _ctx) => {
4317
- if (typeof payload.value !== "string") {
4318
- payload.issues.push({
4319
- input: payload.value,
4320
- inst,
4321
- expected: "string",
4322
- code: "invalid_type",
4323
- });
4324
- return payload;
4325
- }
4326
-
4327
- inst._zod.pattern.lastIndex = 0;
4328
-
4329
- if (!inst._zod.pattern.test(payload.value)) {
4330
- payload.issues.push({
4331
- input: payload.value,
4332
- inst,
4333
-
4334
- code: "invalid_format",
4335
- format: def.format ?? "template_literal",
4336
- pattern: inst._zod.pattern.source,
4337
- });
4338
- return payload;
4339
- }
4340
-
4341
- return payload;
4342
- };
4343
- }
4344
- );
4345
-
4346
- //////////////////////////////////////////
4347
- //////////////////////////////////////////
4348
- ////////// //////////
4349
- ////////// $ZodFunction //////////
4350
- ////////// //////////
4351
- //////////////////////////////////////////
4352
- //////////////////////////////////////////
4353
- export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
4354
- export type $ZodFunctionIn = $ZodFunctionArgs;
4355
- export type $ZodFunctionOut = $ZodType;
4356
-
4357
- export type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4358
- ...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>
4359
- ) => core.input<Returns>;
4360
-
4361
- export type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4362
- ...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>
4363
- ) => util.MaybeAsync<core.input<Returns>>;
4364
-
4365
- export type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4366
- ...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>
4367
- ) => core.output<Returns>;
4368
-
4369
- export type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (
4370
- ...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>
4371
- ) => Promise<core.output<Returns>>;
4372
-
4373
- export interface $ZodFunctionDef<
4374
- In extends $ZodFunctionIn = $ZodFunctionIn,
4375
- Out extends $ZodFunctionOut = $ZodFunctionOut,
4376
- > extends $ZodTypeDef {
4377
- type: "function";
4378
- input: In;
4379
- output: Out;
4380
- }
4381
-
4382
- export interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut>
4383
- extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
4384
- def: $ZodFunctionDef<Args, Returns>;
4385
- isst: errors.$ZodIssueInvalidType;
4386
- }
4387
-
4388
- export interface $ZodFunction<
4389
- Args extends $ZodFunctionIn = $ZodFunctionIn,
4390
- Returns extends $ZodFunctionOut = $ZodFunctionOut,
4391
- > extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
4392
- /** @deprecated */
4393
- _def: $ZodFunctionDef<Args, Returns>;
4394
- _input: $InferInnerFunctionType<Args, Returns>;
4395
- _output: $InferOuterFunctionType<Args, Returns>;
4396
-
4397
- implement<F extends $InferInnerFunctionType<Args, Returns>>(
4398
- func: F
4399
- ): // allow for return type inference
4400
- (
4401
- ...args: Parameters<this["_output"]>
4402
- ) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
4403
-
4404
- implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(
4405
- func: F
4406
- ): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
4407
-
4408
- input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(
4409
- args: Items,
4410
- rest?: Rest
4411
- ): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
4412
- input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
4413
- input(...args: any[]): $ZodFunction<any, Returns>;
4414
-
4415
- output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
4416
- }
4417
-
4418
- export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
4419
- input?: I;
4420
- output?: O;
4421
- }
4422
-
4423
- export const $ZodFunction: core.$constructor<$ZodFunction> = /*@__PURE__*/ core.$constructor(
4424
- "$ZodFunction",
4425
- (inst, def) => {
4426
- $ZodType.init(inst, def);
4427
- inst._def = def;
4428
- inst._zod.def = def;
4429
-
4430
- inst.implement = (func) => {
4431
- if (typeof func !== "function") {
4432
- throw new Error("implement() must be called with a function");
4433
- }
4434
- return function (this: any, ...args: never[]) {
4435
- const parsedArgs = inst._def.input ? parse(inst._def.input, args) : args;
4436
- const result = Reflect.apply(func, this, parsedArgs as never[]);
4437
- if (inst._def.output) {
4438
- return parse(inst._def.output, result);
4439
- }
4440
- return result as any;
4441
- };
4442
- };
4443
-
4444
- inst.implementAsync = (func) => {
4445
- if (typeof func !== "function") {
4446
- throw new Error("implementAsync() must be called with a function");
4447
- }
4448
- return async function (this: any, ...args: never[]) {
4449
- const parsedArgs = inst._def.input ? await parseAsync(inst._def.input, args) : args;
4450
- const result = await Reflect.apply(func, this, parsedArgs as never[]);
4451
- if (inst._def.output) {
4452
- return await parseAsync(inst._def.output, result);
4453
- }
4454
- return result;
4455
- } as any;
4456
- };
4457
-
4458
- inst._zod.parse = (payload, _ctx) => {
4459
- if (typeof payload.value !== "function") {
4460
- payload.issues.push({
4461
- code: "invalid_type",
4462
- expected: "function",
4463
- input: payload.value,
4464
- inst,
4465
- });
4466
- return payload;
4467
- }
4468
-
4469
- // Check if output is a promise type to determine if we should use async implementation
4470
- const hasPromiseOutput = inst._def.output && inst._def.output._zod.def.type === "promise";
4471
-
4472
- if (hasPromiseOutput) {
4473
- payload.value = inst.implementAsync(payload.value);
4474
- } else {
4475
- payload.value = inst.implement(payload.value);
4476
- }
4477
- return payload;
4478
- };
4479
-
4480
- inst.input = (...args: any[]): $ZodFunction<any, any> => {
4481
- const F: any = inst.constructor;
4482
- if (Array.isArray(args[0])) {
4483
- return new F({
4484
- type: "function",
4485
- input: new $ZodTuple({
4486
- type: "tuple",
4487
- items: args[0],
4488
- rest: args[1],
4489
- }),
4490
- output: inst._def.output,
4491
- });
4492
- }
4493
-
4494
- return new F({
4495
- type: "function",
4496
- input: args[0],
4497
- output: inst._def.output,
4498
- });
4499
- };
4500
-
4501
- inst.output = (output) => {
4502
- const F: any = inst.constructor;
4503
- return new F({
4504
- type: "function",
4505
- input: inst._def.input,
4506
- output,
4507
- });
4508
- };
4509
-
4510
- return inst;
4511
- }
4512
- );
4513
-
4514
- /////////////////////////////////////////
4515
- /////////////////////////////////////////
4516
- ////////// //////////
4517
- ////////// $ZodPromise //////////
4518
- ////////// //////////
4519
- /////////////////////////////////////////
4520
- /////////////////////////////////////////
4521
- export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4522
- type: "promise";
4523
- innerType: T;
4524
- }
4525
-
4526
- export interface $ZodPromiseInternals<T extends SomeType = $ZodType>
4527
- extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {
4528
- def: $ZodPromiseDef<T>;
4529
- isst: never;
4530
- }
4531
-
4532
- export interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
4533
- _zod: $ZodPromiseInternals<T>;
4534
- }
4535
-
4536
- export const $ZodPromise: core.$constructor<$ZodPromise> = /*@__PURE__*/ core.$constructor(
4537
- "$ZodPromise",
4538
- (inst, def) => {
4539
- $ZodType.init(inst, def);
4540
-
4541
- inst._zod.parse = (payload, ctx) => {
4542
- return Promise.resolve(payload.value).then((inner) => def.innerType._zod.run({ value: inner, issues: [] }, ctx));
4543
- };
4544
- }
4545
- );
4546
-
4547
- //////////////////////////////////////////
4548
- //////////////////////////////////////////
4549
- ////////// //////////
4550
- ////////// $ZodLazy //////////
4551
- ////////// //////////
4552
- //////////////////////////////////////////
4553
- //////////////////////////////////////////
4554
-
4555
- export interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
4556
- type: "lazy";
4557
- getter: () => T;
4558
- }
4559
-
4560
- export interface $ZodLazyInternals<T extends SomeType = $ZodType>
4561
- extends $ZodTypeInternals<core.output<T>, core.input<T>> {
4562
- def: $ZodLazyDef<T>;
4563
- isst: never;
4564
- /** Auto-cached way to retrieve the inner schema */
4565
- innerType: T;
4566
- pattern: T["_zod"]["pattern"];
4567
- propValues: T["_zod"]["propValues"];
4568
- optin: T["_zod"]["optin"];
4569
- optout: T["_zod"]["optout"];
4570
- }
4571
-
4572
- export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
4573
- _zod: $ZodLazyInternals<T>;
4574
- }
4575
-
4576
- export const $ZodLazy: core.$constructor<$ZodLazy> = /*@__PURE__*/ core.$constructor("$ZodLazy", (inst, def) => {
4577
- $ZodType.init(inst, def);
4578
-
4579
- // Cache the resolved inner type on the shared `def` so all clones of this
4580
- // lazy (e.g. via `.describe()`/`.meta()`) share the same inner instance,
4581
- // preserving identity for cycle detection on recursive schemas.
4582
- util.defineLazy(inst._zod, "innerType", () => {
4583
- const d = def as $ZodLazyDef & { _cachedInner?: $ZodType };
4584
- if (!d._cachedInner) d._cachedInner = def.getter() as $ZodType;
4585
- return d._cachedInner;
4586
- });
4587
- util.defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
4588
- util.defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
4589
- util.defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
4590
- util.defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? undefined);
4591
- inst._zod.parse = (payload, ctx) => {
4592
- const inner = inst._zod.innerType;
4593
- return inner._zod.run(payload, ctx);
4594
- };
4595
- });
4596
-
4597
- ////////////////////////////////////////
4598
- ////////////////////////////////////////
4599
- ////////// //////////
4600
- ////////// $ZodCustom //////////
4601
- ////////// //////////
4602
- ////////////////////////////////////////
4603
- ////////////////////////////////////////
4604
- export interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {
4605
- type: "custom";
4606
- check: "custom";
4607
- path?: PropertyKey[] | undefined;
4608
- error?: errors.$ZodErrorMap | undefined;
4609
- params?: Record<string, any> | undefined;
4610
- fn: (arg: O) => unknown;
4611
- }
4612
-
4613
- export interface $ZodCustomInternals<O = unknown, I = unknown>
4614
- extends $ZodTypeInternals<O, I>,
4615
- checks.$ZodCheckInternals<O> {
4616
- def: $ZodCustomDef;
4617
- issc: errors.$ZodIssue;
4618
- isst: never;
4619
- bag: util.LoosePartial<{
4620
- Class: typeof util.Class;
4621
- }>;
4622
- }
4623
-
4624
- export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
4625
- _zod: $ZodCustomInternals<O, I>;
4626
- }
4627
-
4628
- export const $ZodCustom: core.$constructor<$ZodCustom> = /*@__PURE__*/ core.$constructor("$ZodCustom", (inst, def) => {
4629
- checks.$ZodCheck.init(inst, def);
4630
- $ZodType.init(inst, def);
4631
-
4632
- inst._zod.parse = (payload, _) => {
4633
- return payload;
4634
- };
4635
-
4636
- inst._zod.check = (payload) => {
4637
- const input = payload.value;
4638
- const r = def.fn(input as any);
4639
- if (r instanceof Promise) {
4640
- return r.then((r) => handleRefineResult(r, payload, input, inst));
4641
- }
4642
- handleRefineResult(r, payload, input, inst);
4643
- return;
4644
- };
4645
- });
4646
-
4647
- function handleRefineResult(result: unknown, payload: ParsePayload, input: unknown, inst: $ZodCustom): void {
4648
- if (!result) {
4649
- const _iss: any = {
4650
- code: "custom",
4651
- input,
4652
- inst, // incorporates params.error into issue reporting
4653
- path: [...(inst._zod.def.path ?? [])], // incorporates params.error into issue reporting
4654
- continue: !inst._zod.def.abort,
4655
- // params: inst._zod.def.params,
4656
- };
4657
- if (inst._zod.def.params) _iss.params = inst._zod.def.params;
4658
- payload.issues.push(util.issue(_iss));
4659
- }
4660
- }
4661
-
4662
- export type $ZodTypes =
4663
- | $ZodString
4664
- | $ZodNumber
4665
- | $ZodBigInt
4666
- | $ZodBoolean
4667
- | $ZodDate
4668
- | $ZodSymbol
4669
- | $ZodUndefined
4670
- | $ZodNullable
4671
- | $ZodNull
4672
- | $ZodAny
4673
- | $ZodUnknown
4674
- | $ZodNever
4675
- | $ZodVoid
4676
- | $ZodArray
4677
- | $ZodObject
4678
- | $ZodUnion
4679
- | $ZodIntersection
4680
- | $ZodTuple
4681
- | $ZodRecord
4682
- | $ZodMap
4683
- | $ZodSet
4684
- | $ZodLiteral
4685
- | $ZodEnum
4686
- | $ZodFunction
4687
- | $ZodPromise
4688
- | $ZodLazy
4689
- | $ZodOptional
4690
- | $ZodDefault
4691
- | $ZodPrefault
4692
- | $ZodTemplateLiteral
4693
- | $ZodCustom
4694
- | $ZodTransform
4695
- | $ZodNonOptional
4696
- | $ZodReadonly
4697
- | $ZodNaN
4698
- | $ZodPipe
4699
- | $ZodSuccess
4700
- | $ZodCatch
4701
- | $ZodFile;
4702
-
4703
- export type $ZodStringFormatTypes =
4704
- | $ZodGUID
4705
- | $ZodUUID
4706
- | $ZodEmail
4707
- | $ZodURL
4708
- | $ZodEmoji
4709
- | $ZodNanoID
4710
- | $ZodCUID
4711
- | $ZodCUID2
4712
- | $ZodULID
4713
- | $ZodXID
4714
- | $ZodKSUID
4715
- | $ZodISODateTime
4716
- | $ZodISODate
4717
- | $ZodISOTime
4718
- | $ZodISODuration
4719
- | $ZodIPv4
4720
- | $ZodIPv6
4721
- | $ZodMAC
4722
- | $ZodCIDRv4
4723
- | $ZodCIDRv6
4724
- | $ZodBase64
4725
- | $ZodBase64URL
4726
- | $ZodE164
4727
- | $ZodJWT
4728
- | $ZodCustomStringFormat<"hex">
4729
- | $ZodCustomStringFormat<util.HashFormat>
4730
- | $ZodCustomStringFormat<"hostname">;