@salesforce/b2c-dx-mcp 2.1.2 → 3.0.1

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 (1439) hide show
  1. package/README.md +20 -129
  2. package/content/guidance/b2c/b2c-business-manager-extensions/SKILL.md +361 -0
  3. package/content/guidance/b2c/b2c-business-manager-extensions/references/EXTENSIONS-XML.md +458 -0
  4. package/content/guidance/b2c/b2c-controllers/SKILL.md +301 -0
  5. package/content/guidance/b2c/b2c-controllers/references/CLASSIC-PATTERNS.md +335 -0
  6. package/content/guidance/b2c/b2c-controllers/references/SFRA-PATTERNS.md +400 -0
  7. package/content/guidance/b2c/b2c-custom-api-development/SKILL.md +281 -0
  8. package/content/guidance/b2c/b2c-custom-api-development/references/CONTRACT.md +142 -0
  9. package/content/guidance/b2c/b2c-custom-api-development/references/IMPLEMENTATION.md +153 -0
  10. package/content/guidance/b2c/b2c-custom-api-development/references/TESTING.md +118 -0
  11. package/content/guidance/b2c/b2c-custom-caches/SKILL.md +279 -0
  12. package/content/guidance/b2c/b2c-custom-job-steps/SKILL.md +520 -0
  13. package/content/guidance/b2c/b2c-custom-job-steps/references/CHUNK-ORIENTED.md +377 -0
  14. package/content/guidance/b2c/b2c-custom-job-steps/references/JOBS-XML.md +212 -0
  15. package/content/guidance/b2c/b2c-custom-job-steps/references/STEPTYPES-JSON.md +373 -0
  16. package/content/guidance/b2c/b2c-custom-job-steps/references/TASK-ORIENTED.md +344 -0
  17. package/content/guidance/b2c/b2c-custom-objects/SKILL.md +327 -0
  18. package/content/guidance/b2c/b2c-custom-objects/references/OCAPI-SEARCH.md +298 -0
  19. package/content/guidance/b2c/b2c-forms/SKILL.md +242 -0
  20. package/content/guidance/b2c/b2c-forms/references/FORM-XML.md +409 -0
  21. package/content/guidance/b2c/b2c-hooks/SKILL.md +500 -0
  22. package/content/guidance/b2c/b2c-hooks/references/OCAPI-SCAPI-HOOKS.md +403 -0
  23. package/content/guidance/b2c/b2c-hooks/references/ORDER-HOOK-LIFECYCLE.md +169 -0
  24. package/content/guidance/b2c/b2c-hooks/references/SYSTEM-HOOKS.md +433 -0
  25. package/content/guidance/b2c/b2c-isml/SKILL.md +320 -0
  26. package/content/guidance/b2c/b2c-isml/references/EXPRESSIONS.md +366 -0
  27. package/content/guidance/b2c/b2c-isml/references/TAGS.md +443 -0
  28. package/content/guidance/b2c/b2c-localization/SKILL.md +344 -0
  29. package/content/guidance/b2c/b2c-localization/references/PATTERNS.md +407 -0
  30. package/content/guidance/b2c/b2c-logging/SKILL.md +352 -0
  31. package/content/guidance/b2c/b2c-logging/references/LOG-FILES.md +282 -0
  32. package/content/guidance/b2c/b2c-metadata/SKILL.md +406 -0
  33. package/content/guidance/b2c/b2c-metadata/references/SYSTEM-OBJECTS.md +320 -0
  34. package/content/guidance/b2c/b2c-metadata/references/XML-EXAMPLES.md +366 -0
  35. package/content/guidance/b2c/b2c-onboarding/SKILL.md +154 -0
  36. package/content/guidance/b2c/b2c-ordering/SKILL.md +391 -0
  37. package/content/guidance/b2c/b2c-page-designer/SKILL.md +410 -0
  38. package/content/guidance/b2c/b2c-page-designer/references/ATTRIBUTE-TYPES.md +436 -0
  39. package/content/guidance/b2c/b2c-page-designer/references/META-DEFINITIONS.md +340 -0
  40. package/content/guidance/b2c/b2c-querying-data/SKILL.md +289 -0
  41. package/content/guidance/b2c/b2c-querying-data/references/PERFORMANCE-APIS.md +74 -0
  42. package/content/guidance/b2c/b2c-scapi-admin/SKILL.md +53 -0
  43. package/content/guidance/b2c/b2c-scapi-admin/references/CLIENT-EXAMPLES.md +440 -0
  44. package/content/guidance/b2c/b2c-scapi-admin/references/INTEGRATION-PATTERNS.md +518 -0
  45. package/content/guidance/b2c/b2c-scapi-admin/references/OAUTH-SCOPES.md +337 -0
  46. package/content/guidance/b2c/b2c-scapi-shopper/SKILL.md +56 -0
  47. package/content/guidance/b2c/b2c-scapi-shopper/references/CHECKOUT-FLOW.md +466 -0
  48. package/content/guidance/b2c/b2c-scapi-shopper/references/CLIENT-EXAMPLES.md +352 -0
  49. package/content/guidance/b2c/b2c-scapi-shopper/references/COMMON-PATTERNS.md +390 -0
  50. package/content/guidance/b2c/b2c-scapi-shopper/references/SCOPES.md +290 -0
  51. package/content/guidance/b2c/b2c-slas-auth-patterns/SKILL.md +420 -0
  52. package/content/guidance/b2c/b2c-slas-auth-patterns/references/PASSKEYS.md +126 -0
  53. package/content/guidance/b2c/b2c-slas-auth-patterns/references/SESSION-BRIDGE.md +267 -0
  54. package/content/guidance/b2c/b2c-slas-auth-patterns/references/TOKEN-LIFECYCLE.md +367 -0
  55. package/content/guidance/b2c/b2c-webservices/SKILL.md +318 -0
  56. package/content/guidance/b2c/b2c-webservices/references/FTP-SERVICES.md +524 -0
  57. package/content/guidance/b2c/b2c-webservices/references/HTTP-SERVICES.md +578 -0
  58. package/content/guidance/b2c/b2c-webservices/references/SERVICES-XML.md +351 -0
  59. package/content/guidance/b2c/b2c-webservices/references/SOAP-SERVICES.md +587 -0
  60. package/content/guidance/b2c-cli/b2c-am/SKILL.md +277 -0
  61. package/content/guidance/b2c-cli/b2c-bm-users-roles/SKILL.md +210 -0
  62. package/content/guidance/b2c-cli/b2c-cap/SKILL.md +131 -0
  63. package/content/guidance/b2c-cli/b2c-cip/SKILL.md +116 -0
  64. package/content/guidance/b2c-cli/b2c-cip/references/KNOWN_TABLES.md +105 -0
  65. package/content/guidance/b2c-cli/b2c-cip/references/SALES_ANALYSIS.md +50 -0
  66. package/content/guidance/b2c-cli/b2c-cip/references/STARTER_QUERIES.md +147 -0
  67. package/content/guidance/b2c-cli/b2c-code/SKILL.md +146 -0
  68. package/content/guidance/b2c-cli/b2c-config/SKILL.md +412 -0
  69. package/content/guidance/b2c-cli/b2c-content/SKILL.md +176 -0
  70. package/content/guidance/b2c-cli/b2c-debug/SKILL.md +138 -0
  71. package/content/guidance/b2c-cli/b2c-docs/SKILL.md +274 -0
  72. package/content/guidance/b2c-cli/b2c-ecdn/SKILL.md +135 -0
  73. package/content/guidance/b2c-cli/b2c-ecdn/references/ADVANCED.md +82 -0
  74. package/content/guidance/b2c-cli/b2c-ecdn/references/SECURITY.md +75 -0
  75. package/content/guidance/b2c-cli/b2c-import-set-migrations/SKILL.md +265 -0
  76. package/content/guidance/b2c-cli/b2c-job/SKILL.md +62 -0
  77. package/content/guidance/b2c-cli/b2c-job/references/EXPORT.md +115 -0
  78. package/content/guidance/b2c-cli/b2c-job/references/IMPORT.md +43 -0
  79. package/content/guidance/b2c-cli/b2c-job/references/RUN-AND-MONITOR.md +119 -0
  80. package/content/guidance/b2c-cli/b2c-logs/SKILL.md +249 -0
  81. package/content/guidance/b2c-cli/b2c-metrics/SKILL.md +315 -0
  82. package/content/guidance/b2c-cli/b2c-mrt/SKILL.md +206 -0
  83. package/content/guidance/b2c-cli/b2c-mrt/references/BUNDLE-COMMANDS.md +185 -0
  84. package/content/guidance/b2c-cli/b2c-mrt/references/ENVIRONMENT-COMMANDS.md +195 -0
  85. package/content/guidance/b2c-cli/b2c-mrt/references/PROJECT-COMMANDS.md +154 -0
  86. package/content/guidance/b2c-cli/b2c-sandbox/SKILL.md +112 -0
  87. package/content/guidance/b2c-cli/b2c-scapi-custom/SKILL.md +126 -0
  88. package/content/guidance/b2c-cli/b2c-scapi-schemas/SKILL.md +64 -0
  89. package/content/guidance/b2c-cli/b2c-scapi-schemas/references/CLI-EXAMPLES.md +108 -0
  90. package/content/guidance/b2c-cli/b2c-site-import-export/SKILL.md +57 -0
  91. package/content/guidance/b2c-cli/b2c-site-import-export/references/IMPORT-OPTIONS.md +118 -0
  92. package/content/guidance/b2c-cli/b2c-site-import-export/references/METADATA-XML.md +381 -0
  93. package/content/guidance/b2c-cli/b2c-site-import-export/references/WORKFLOWS.md +182 -0
  94. package/content/guidance/b2c-cli/b2c-sites/SKILL.md +112 -0
  95. package/content/guidance/b2c-cli/b2c-slas/SKILL.md +182 -0
  96. package/content/guidance/b2c-cli/b2c-webdav/SKILL.md +169 -0
  97. package/content/guidance/b2c-ops/b2c-checkout-triage/SKILL.md +68 -0
  98. package/content/guidance/b2c-ops/b2c-job-health/SKILL.md +75 -0
  99. package/content/guidance/b2c-ops/b2c-job-health/references/job-logs.md +21 -0
  100. package/content/guidance/b2c-ops/b2c-order-failure-triage/SKILL.md +66 -0
  101. package/content/guidance/b2c-ops/b2c-order-failure-triage/references/order-evidence.md +87 -0
  102. package/content/guidance/b2c-ops/b2c-production-triage/SKILL.md +87 -0
  103. package/content/guidance/b2c-ops/b2c-production-triage/references/escalation.md +57 -0
  104. package/content/guidance/index.json +1427 -0
  105. package/content/guidance/mcp/b2c-config/SKILL.md +86 -0
  106. package/content/guidance/mcp/cip/SKILL.md +86 -0
  107. package/content/guidance/mcp/debugger/SKILL.md +71 -0
  108. package/content/guidance/mcp/scapi/SKILL.md +153 -0
  109. package/content/guidance/mcp/scapi/references/custom-apis.md +51 -0
  110. package/content/guidance/mcp/scapi/references/custom-properties.md +43 -0
  111. package/content/guidance/mcp/scapi/references/jobs.md +30 -0
  112. package/content/guidance/mcp/scapi/references/products.md +37 -0
  113. package/content/guidance/mcp/scapi/references/promotions.md +19 -0
  114. package/content/guidance/mcp/scapi/references/saving.md +12 -0
  115. package/content/guidance/mcp/scapi/references/snippets.md +89 -0
  116. package/content/guidance/mcp/scapi/references/tokens.md +56 -0
  117. package/content/guidance/mcp/server/SKILL.md +99 -0
  118. package/content/guidance/mcp/server/references/files.md +37 -0
  119. package/content/guidance/storefront-next/sfnext-authentication/SKILL.md +120 -0
  120. package/content/guidance/storefront-next/sfnext-components/SKILL.md +191 -0
  121. package/content/guidance/storefront-next/sfnext-configuration/SKILL.md +160 -0
  122. package/content/guidance/storefront-next/sfnext-create-component/SKILL.md +195 -0
  123. package/content/guidance/storefront-next/sfnext-create-component/references/COMPONENT-AUTHORING.md +206 -0
  124. package/content/guidance/storefront-next/sfnext-create-component/references/PROJECT-STRUCTURE.md +43 -0
  125. package/content/guidance/storefront-next/sfnext-create-component/references/TOKEN-SYSTEM.md +130 -0
  126. package/content/guidance/storefront-next/sfnext-create-component/references/TROUBLESHOOTING.md +34 -0
  127. package/content/guidance/storefront-next/sfnext-create-vertical/SKILL.md +135 -0
  128. package/content/guidance/storefront-next/sfnext-create-vertical/references/COMPONENT-AUTHORING.md +206 -0
  129. package/content/guidance/storefront-next/sfnext-create-vertical/references/PROJECT-STRUCTURE.md +43 -0
  130. package/content/guidance/storefront-next/sfnext-create-vertical/references/TOKEN-SYSTEM.md +130 -0
  131. package/content/guidance/storefront-next/sfnext-create-vertical/references/TROUBLESHOOTING.md +34 -0
  132. package/content/guidance/storefront-next/sfnext-custom-apis/SKILL.md +221 -0
  133. package/content/guidance/storefront-next/sfnext-custom-apis/references/WORKFLOW-EXAMPLES.md +294 -0
  134. package/content/guidance/storefront-next/sfnext-data-fetching/SKILL.md +190 -0
  135. package/content/guidance/storefront-next/sfnext-data-fetching/references/LOADER-PATTERNS.md +102 -0
  136. package/content/guidance/storefront-next/sfnext-data-fetching/references/SCAPI-FETCHER.md +93 -0
  137. package/content/guidance/storefront-next/sfnext-deployment/SKILL.md +141 -0
  138. package/content/guidance/storefront-next/sfnext-deployment/references/MRT-DEPLOYMENT.md +90 -0
  139. package/content/guidance/storefront-next/sfnext-extensions/SKILL.md +142 -0
  140. package/content/guidance/storefront-next/sfnext-extensions/references/BASE-AUDIT.md +65 -0
  141. package/content/guidance/storefront-next/sfnext-extensions/references/EXTENSION-EXAMPLES.md +116 -0
  142. package/content/guidance/storefront-next/sfnext-hybrid-storefronts/SKILL.md +148 -0
  143. package/content/guidance/storefront-next/sfnext-hybrid-storefronts/references/HYBRID-PROXY-CONFIG.md +123 -0
  144. package/content/guidance/storefront-next/sfnext-i18n/SKILL.md +187 -0
  145. package/content/guidance/storefront-next/sfnext-page-designer/SKILL.md +181 -0
  146. package/content/guidance/storefront-next/sfnext-page-designer/references/COMPONENT-REGISTRY.md +78 -0
  147. package/content/guidance/storefront-next/sfnext-page-designer/references/DECORATOR-PATTERNS.md +180 -0
  148. package/content/guidance/storefront-next/sfnext-performance/SKILL.md +132 -0
  149. package/content/guidance/storefront-next/sfnext-project-setup/SKILL.md +160 -0
  150. package/content/guidance/storefront-next/sfnext-project-setup/references/ENV-VARIABLES.md +82 -0
  151. package/content/guidance/storefront-next/sfnext-project-setup/references/PROJECT-STRUCTURE.md +99 -0
  152. package/content/guidance/storefront-next/sfnext-routing/SKILL.md +180 -0
  153. package/content/guidance/storefront-next/sfnext-routing/references/ROUTE-CONVENTIONS.md +65 -0
  154. package/content/guidance/storefront-next/sfnext-scapi-management/SKILL.md +203 -0
  155. package/content/guidance/storefront-next/sfnext-scapi-management/references/CLI-COMMANDS.md +122 -0
  156. package/content/guidance/storefront-next/sfnext-state-management/SKILL.md +123 -0
  157. package/content/guidance/storefront-next/sfnext-testing/SKILL.md +184 -0
  158. package/content/guidance/storefront-next/sfnext-testing/references/STORYBOOK-PATTERNS.md +118 -0
  159. package/dist/commands/mcp.d.ts +3 -3
  160. package/dist/commands/mcp.js +60 -48
  161. package/dist/guidance.d.ts +6 -0
  162. package/dist/guidance.js +157 -0
  163. package/dist/registry.d.ts +2 -1
  164. package/dist/registry.js +22 -170
  165. package/dist/server.d.ts +19 -5
  166. package/dist/server.js +65 -8
  167. package/dist/skill-references.d.ts +28 -0
  168. package/dist/skill-references.js +14 -0
  169. package/dist/tools/adapter.d.ts +8 -5
  170. package/dist/tools/adapter.js +19 -7
  171. package/dist/tools/cartridges/index.js +38 -15
  172. package/dist/tools/cartridges/selected-files.d.ts +11 -0
  173. package/dist/tools/cartridges/selected-files.js +61 -0
  174. package/dist/tools/cip/client.d.ts +9 -0
  175. package/dist/tools/cip/client.js +44 -0
  176. package/dist/tools/cip/index.d.ts +6 -0
  177. package/dist/tools/cip/index.js +209 -0
  178. package/dist/tools/diagnostics/config-inspect.js +8 -4
  179. package/dist/tools/diagnostics/debug-capture-at-breakpoint.js +37 -11
  180. package/dist/tools/diagnostics/{debug-step.d.ts → debug-control.d.ts} +1 -1
  181. package/dist/tools/diagnostics/debug-control.js +36 -0
  182. package/dist/tools/diagnostics/debug-end-session.js +6 -7
  183. package/dist/tools/diagnostics/debug-evaluate.js +8 -6
  184. package/dist/tools/diagnostics/{debug-continue.d.ts → debug-inspect.d.ts} +1 -1
  185. package/dist/tools/diagnostics/debug-inspect.js +70 -0
  186. package/dist/tools/diagnostics/debug-list-sessions.js +4 -2
  187. package/dist/tools/diagnostics/debug-set-breakpoints.js +16 -15
  188. package/dist/tools/diagnostics/debug-start-session.js +5 -2
  189. package/dist/tools/diagnostics/debug-wait-for-stop.js +5 -2
  190. package/dist/tools/diagnostics/index.d.ts +2 -2
  191. package/dist/tools/diagnostics/index.js +8 -20
  192. package/dist/tools/diagnostics/log-watch-registry.d.ts +1 -1
  193. package/dist/tools/diagnostics/log-watch-registry.js +2 -2
  194. package/dist/tools/diagnostics/logs-get-recent.js +4 -1
  195. package/dist/tools/diagnostics/logs-list-files.js +4 -2
  196. package/dist/tools/diagnostics/logs-watch-poll.js +7 -11
  197. package/dist/tools/diagnostics/{logs-watch-start.d.ts → logs-watch.d.ts} +1 -1
  198. package/dist/tools/diagnostics/{logs-watch-start.js → logs-watch.js} +45 -12
  199. package/dist/tools/diagnostics/mrt-log-watch-registry.js +2 -2
  200. package/dist/tools/diagnostics/mrt-logs-watch-poll.js +6 -8
  201. package/dist/tools/diagnostics/{mrt-logs-watch-start.d.ts → mrt-logs-watch.d.ts} +1 -1
  202. package/dist/tools/diagnostics/{mrt-logs-watch-start.js → mrt-logs-watch.js} +44 -11
  203. package/dist/tools/diagnostics/watch-lifecycle.d.ts +3 -0
  204. package/dist/tools/diagnostics/watch-lifecycle.js +47 -0
  205. package/dist/tools/docs/docs-list.js +12 -8
  206. package/dist/tools/docs/docs-read.js +8 -2
  207. package/dist/tools/docs/docs-schema-list.js +5 -1
  208. package/dist/tools/docs/docs-schema-read.js +5 -1
  209. package/dist/tools/docs/docs-schema-search.js +5 -1
  210. package/dist/tools/docs/docs-search.js +8 -7
  211. package/dist/tools/docs/storefront.d.ts +21 -1
  212. package/dist/tools/docs/storefront.js +25 -0
  213. package/dist/tools/index.d.ts +2 -2
  214. package/dist/tools/index.js +2 -2
  215. package/dist/tools/mrt/index.js +3 -1
  216. package/dist/tools/project-context.d.ts +5 -3
  217. package/dist/tools/project-context.js +1 -1
  218. package/dist/tools/scapi/index.d.ts +1 -1
  219. package/dist/tools/scapi/index.js +2 -2
  220. package/dist/tools/scapi/metrics-get.js +3 -1
  221. package/dist/tools/scapi/scapi-code.d.ts +3 -0
  222. package/dist/tools/scapi/scapi-code.js +237 -0
  223. package/dist/tools/scapi/scapi-custom-apis-get-status.js +3 -1
  224. package/dist/tools/scapi/scapi-schemas-list.js +8 -1
  225. package/dist/tools/webdav/files.d.ts +14 -0
  226. package/dist/tools/webdav/files.js +118 -0
  227. package/dist/tools/webdav/index.d.ts +3 -0
  228. package/dist/tools/webdav/index.js +160 -0
  229. package/dist/utils/constants.d.ts +2 -2
  230. package/dist/utils/constants.js +1 -1
  231. package/dist/utils/index.d.ts +1 -0
  232. package/dist/utils/index.js +1 -0
  233. package/dist/utils/tool-effects.d.ts +4 -0
  234. package/dist/utils/tool-effects.js +15 -0
  235. package/dist/utils/types.d.ts +17 -8
  236. package/dist/utils/types.js +0 -5
  237. package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
  238. package/node_modules/@modelcontextprotocol/core/README.md +40 -0
  239. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
  240. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
  241. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
  242. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
  243. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
  244. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
  245. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
  246. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
  247. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
  248. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
  249. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
  250. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  251. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
  252. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
  253. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
  254. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
  255. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
  256. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  257. package/node_modules/@modelcontextprotocol/core/package.json +85 -0
  258. package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
  259. package/node_modules/@modelcontextprotocol/server/README.md +30 -0
  260. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
  261. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
  262. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
  263. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
  264. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
  265. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
  266. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
  267. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
  268. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
  269. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
  270. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
  271. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
  272. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
  273. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
  274. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
  275. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
  276. package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
  277. package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
  278. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts +4043 -0
  279. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts.map +1 -0
  280. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts +4045 -0
  281. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts.map +1 -0
  282. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
  283. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
  284. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
  285. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
  286. package/node_modules/@modelcontextprotocol/server/dist/index.cjs +2055 -0
  287. package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
  288. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +739 -0
  289. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
  290. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +739 -0
  291. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
  292. package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1870 -0
  293. package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
  294. package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs +2022 -0
  295. package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs.map +1 -0
  296. package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs +1931 -0
  297. package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs.map +1 -0
  298. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
  299. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
  300. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
  301. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
  302. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
  303. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
  304. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
  305. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
  306. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
  307. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
  308. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
  309. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
  310. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
  311. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
  312. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
  313. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
  314. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
  315. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
  316. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
  317. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
  318. package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs +7606 -0
  319. package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs.map +1 -0
  320. package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs +8104 -0
  321. package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs.map +1 -0
  322. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +564 -0
  323. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
  324. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +107 -0
  325. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
  326. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +107 -0
  327. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
  328. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +562 -0
  329. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
  330. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
  331. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
  332. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
  333. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
  334. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
  335. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
  336. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
  337. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
  338. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
  339. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
  340. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
  341. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
  342. package/node_modules/@modelcontextprotocol/server/package.json +160 -0
  343. package/node_modules/@salesforce/b2c-agent-plugins/CHANGELOG.md +351 -0
  344. package/node_modules/@salesforce/b2c-agent-plugins/README.md +84 -0
  345. package/node_modules/@salesforce/b2c-agent-plugins/b2c/.codex-plugin/plugin.json +40 -0
  346. package/node_modules/@salesforce/b2c-agent-plugins/b2c/README.md +42 -0
  347. package/node_modules/@salesforce/b2c-agent-plugins/b2c/assets/logo.svg +31 -0
  348. package/node_modules/@salesforce/b2c-agent-plugins/b2c/plugin.json +44 -0
  349. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/SKILL.md +361 -0
  350. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/evals/trigger-evals.json +12 -0
  351. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/references/EXTENSIONS-XML.md +458 -0
  352. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/SKILL.md +301 -0
  353. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/evals/trigger-evals.json +12 -0
  354. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/references/CLASSIC-PATTERNS.md +335 -0
  355. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/references/SFRA-PATTERNS.md +400 -0
  356. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/SKILL.md +281 -0
  357. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/evals/trigger-evals.json +12 -0
  358. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/CONTRACT.md +142 -0
  359. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/IMPLEMENTATION.md +153 -0
  360. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/TESTING.md +118 -0
  361. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-caches/SKILL.md +279 -0
  362. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-caches/evals/trigger-evals.json +12 -0
  363. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/SKILL.md +520 -0
  364. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/evals/trigger-evals.json +12 -0
  365. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/CHUNK-ORIENTED.md +377 -0
  366. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/JOBS-XML.md +212 -0
  367. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/STEPTYPES-JSON.md +373 -0
  368. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/TASK-ORIENTED.md +344 -0
  369. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/SKILL.md +327 -0
  370. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/evals/trigger-evals.json +12 -0
  371. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/references/OCAPI-SEARCH.md +298 -0
  372. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/SKILL.md +242 -0
  373. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/evals/trigger-evals.json +12 -0
  374. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/references/FORM-XML.md +409 -0
  375. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/SKILL.md +500 -0
  376. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/evals/trigger-evals.json +14 -0
  377. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/OCAPI-SCAPI-HOOKS.md +403 -0
  378. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/ORDER-HOOK-LIFECYCLE.md +169 -0
  379. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/SYSTEM-HOOKS.md +433 -0
  380. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/SKILL.md +320 -0
  381. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/evals/trigger-evals.json +12 -0
  382. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/references/EXPRESSIONS.md +366 -0
  383. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/references/TAGS.md +443 -0
  384. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/SKILL.md +344 -0
  385. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/evals/trigger-evals.json +12 -0
  386. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/references/PATTERNS.md +407 -0
  387. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/SKILL.md +352 -0
  388. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/evals/trigger-evals.json +12 -0
  389. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/references/LOG-FILES.md +282 -0
  390. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/SKILL.md +406 -0
  391. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/evals/trigger-evals.json +12 -0
  392. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/references/SYSTEM-OBJECTS.md +320 -0
  393. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/references/XML-EXAMPLES.md +366 -0
  394. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-onboarding/SKILL.md +154 -0
  395. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-ordering/SKILL.md +391 -0
  396. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-ordering/evals/trigger-evals.json +12 -0
  397. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/SKILL.md +410 -0
  398. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/evals/trigger-evals.json +12 -0
  399. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/references/ATTRIBUTE-TYPES.md +436 -0
  400. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/references/META-DEFINITIONS.md +340 -0
  401. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/SKILL.md +289 -0
  402. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/evals/trigger-evals.json +12 -0
  403. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/references/PERFORMANCE-APIS.md +74 -0
  404. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/SKILL.md +53 -0
  405. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/evals/trigger-evals.json +12 -0
  406. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/CLIENT-EXAMPLES.md +440 -0
  407. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/INTEGRATION-PATTERNS.md +518 -0
  408. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/OAUTH-SCOPES.md +337 -0
  409. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/SKILL.md +56 -0
  410. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/evals/trigger-evals.json +12 -0
  411. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/CHECKOUT-FLOW.md +466 -0
  412. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/CLIENT-EXAMPLES.md +352 -0
  413. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/COMMON-PATTERNS.md +390 -0
  414. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/SCOPES.md +290 -0
  415. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/SKILL.md +420 -0
  416. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/evals/trigger-evals.json +12 -0
  417. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/PASSKEYS.md +126 -0
  418. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/SESSION-BRIDGE.md +267 -0
  419. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/TOKEN-LIFECYCLE.md +367 -0
  420. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/SKILL.md +318 -0
  421. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/evals/trigger-evals.json +12 -0
  422. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/FTP-SERVICES.md +524 -0
  423. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/HTTP-SERVICES.md +578 -0
  424. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/SERVICES-XML.md +351 -0
  425. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/SOAP-SERVICES.md +587 -0
  426. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/.codex-plugin/plugin.json +40 -0
  427. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/README.md +42 -0
  428. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/assets/logo.svg +31 -0
  429. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/plugin.json +44 -0
  430. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-am/SKILL.md +277 -0
  431. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-am/evals/trigger-evals.json +12 -0
  432. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-bm-users-roles/SKILL.md +210 -0
  433. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cap/SKILL.md +131 -0
  434. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/SKILL.md +116 -0
  435. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/evals/trigger-evals.json +12 -0
  436. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/KNOWN_TABLES.md +105 -0
  437. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/SALES_ANALYSIS.md +50 -0
  438. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/STARTER_QUERIES.md +147 -0
  439. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-code/SKILL.md +146 -0
  440. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-code/evals/trigger-evals.json +14 -0
  441. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-config/SKILL.md +412 -0
  442. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-config/evals/trigger-evals.json +12 -0
  443. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-content/SKILL.md +176 -0
  444. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-content/evals/trigger-evals.json +12 -0
  445. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-debug/SKILL.md +138 -0
  446. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-debug/evals/trigger-evals.json +16 -0
  447. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-docs/SKILL.md +274 -0
  448. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-docs/evals/trigger-evals.json +12 -0
  449. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/SKILL.md +135 -0
  450. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/evals/trigger-evals.json +12 -0
  451. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/references/ADVANCED.md +82 -0
  452. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/references/SECURITY.md +75 -0
  453. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-import-set-migrations/SKILL.md +265 -0
  454. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-import-set-migrations/evals/trigger-evals.json +12 -0
  455. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/SKILL.md +62 -0
  456. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/evals/trigger-evals.json +12 -0
  457. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/EXPORT.md +115 -0
  458. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/IMPORT.md +43 -0
  459. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/RUN-AND-MONITOR.md +119 -0
  460. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-logs/SKILL.md +249 -0
  461. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-logs/evals/trigger-evals.json +12 -0
  462. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-metrics/SKILL.md +315 -0
  463. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/SKILL.md +206 -0
  464. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/evals/trigger-evals.json +12 -0
  465. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/BUNDLE-COMMANDS.md +185 -0
  466. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/ENVIRONMENT-COMMANDS.md +195 -0
  467. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/PROJECT-COMMANDS.md +154 -0
  468. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sandbox/SKILL.md +112 -0
  469. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sandbox/evals/trigger-evals.json +12 -0
  470. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-custom/SKILL.md +126 -0
  471. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-custom/evals/trigger-evals.json +12 -0
  472. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/SKILL.md +64 -0
  473. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/evals/trigger-evals.json +12 -0
  474. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/references/CLI-EXAMPLES.md +108 -0
  475. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/SKILL.md +57 -0
  476. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/evals/trigger-evals.json +14 -0
  477. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/IMPORT-OPTIONS.md +118 -0
  478. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/METADATA-XML.md +381 -0
  479. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/WORKFLOWS.md +182 -0
  480. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sites/SKILL.md +112 -0
  481. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sites/evals/trigger-evals.json +12 -0
  482. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-slas/SKILL.md +182 -0
  483. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-slas/evals/trigger-evals.json +12 -0
  484. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-webdav/SKILL.md +169 -0
  485. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-webdav/evals/trigger-evals.json +12 -0
  486. package/node_modules/@salesforce/b2c-agent-plugins/b2c-experimental/skills/b2c-scaffold/SKILL.md +168 -0
  487. package/node_modules/@salesforce/b2c-agent-plugins/b2c-experimental/skills/b2c-scaffold/evals/trigger-evals.json +12 -0
  488. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/.codex-plugin/plugin.json +39 -0
  489. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/README.md +31 -0
  490. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/assets/logo.svg +31 -0
  491. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/plugin.json +43 -0
  492. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-checkout-triage/SKILL.md +68 -0
  493. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-job-health/SKILL.md +75 -0
  494. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-job-health/references/job-logs.md +21 -0
  495. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-order-failure-triage/SKILL.md +66 -0
  496. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-order-failure-triage/references/order-evidence.md +87 -0
  497. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-production-triage/SKILL.md +87 -0
  498. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-production-triage/references/escalation.md +57 -0
  499. package/node_modules/@salesforce/b2c-agent-plugins/eval/README.md +160 -0
  500. package/node_modules/@salesforce/b2c-agent-plugins/eval/eval_lib.py +705 -0
  501. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/CLAUDE.md +10 -0
  502. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/README.md +24 -0
  503. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/controllers/Loyalty.js +16 -0
  504. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/models/loyalty.js +13 -0
  505. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/templates/default/loyalty/dashboard.isml +22 -0
  506. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/dw.json +5 -0
  507. package/node_modules/@salesforce/b2c-agent-plugins/eval/run_eval.py +187 -0
  508. package/node_modules/@salesforce/b2c-agent-plugins/eval/run_loop.py +467 -0
  509. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/.codex-plugin/plugin.json +40 -0
  510. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/README.md +55 -0
  511. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/assets/logo.svg +31 -0
  512. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/plugin.json +44 -0
  513. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/SKILL.md +444 -0
  514. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/evals/trigger-evals.json +12 -0
  515. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/references/PAGE-DESIGNER-SFN.md +120 -0
  516. package/node_modules/@salesforce/b2c-agent-plugins/package.json +6 -0
  517. package/node_modules/@salesforce/b2c-agent-plugins/plugins.json +23 -0
  518. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/.codex-plugin/plugin.json +39 -0
  519. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/README.md +56 -0
  520. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/assets/logo.svg +31 -0
  521. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/plugin.json +43 -0
  522. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-authentication/SKILL.md +120 -0
  523. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-components/SKILL.md +191 -0
  524. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-configuration/SKILL.md +160 -0
  525. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/SKILL.md +195 -0
  526. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/evals/trigger-evals.json +12 -0
  527. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/COMPONENT-AUTHORING.md +206 -0
  528. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/PROJECT-STRUCTURE.md +43 -0
  529. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/TOKEN-SYSTEM.md +130 -0
  530. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/TROUBLESHOOTING.md +34 -0
  531. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/SKILL.md +135 -0
  532. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/evals/trigger-evals.json +12 -0
  533. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/COMPONENT-AUTHORING.md +206 -0
  534. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/PROJECT-STRUCTURE.md +43 -0
  535. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/TOKEN-SYSTEM.md +130 -0
  536. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/TROUBLESHOOTING.md +34 -0
  537. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/SKILL.md +221 -0
  538. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/evals/trigger-evals.json +12 -0
  539. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/references/WORKFLOW-EXAMPLES.md +294 -0
  540. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/SKILL.md +190 -0
  541. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/references/LOADER-PATTERNS.md +102 -0
  542. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/references/SCAPI-FETCHER.md +93 -0
  543. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-deployment/SKILL.md +141 -0
  544. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-deployment/references/MRT-DEPLOYMENT.md +90 -0
  545. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/SKILL.md +142 -0
  546. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/references/BASE-AUDIT.md +65 -0
  547. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/references/EXTENSION-EXAMPLES.md +116 -0
  548. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-hybrid-storefronts/SKILL.md +148 -0
  549. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-hybrid-storefronts/references/HYBRID-PROXY-CONFIG.md +123 -0
  550. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-i18n/SKILL.md +187 -0
  551. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/SKILL.md +181 -0
  552. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/references/COMPONENT-REGISTRY.md +78 -0
  553. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/references/DECORATOR-PATTERNS.md +180 -0
  554. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-performance/SKILL.md +132 -0
  555. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/SKILL.md +160 -0
  556. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/references/ENV-VARIABLES.md +82 -0
  557. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/references/PROJECT-STRUCTURE.md +99 -0
  558. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-routing/SKILL.md +180 -0
  559. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-routing/references/ROUTE-CONVENTIONS.md +65 -0
  560. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/SKILL.md +203 -0
  561. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/evals/trigger-evals.json +12 -0
  562. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/references/CLI-COMMANDS.md +122 -0
  563. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-state-management/SKILL.md +123 -0
  564. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-testing/SKILL.md +184 -0
  565. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-testing/references/STORYBOOK-PATTERNS.md +118 -0
  566. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/.codex-plugin/plugin.json +40 -0
  567. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/README.md +45 -0
  568. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/assets/logo.svg +31 -0
  569. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/plugin.json +44 -0
  570. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/SKILL.md +133 -0
  571. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/evals/trigger-evals.json +12 -0
  572. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/FIGMA-COMPONENT-EDITING.md +92 -0
  573. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/PROJECT-STRUCTURE.md +43 -0
  574. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/TOKEN-SYSTEM.md +130 -0
  575. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/TROUBLESHOOTING.md +34 -0
  576. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/VERTICAL-FIGMA-SYNC.md +45 -0
  577. package/node_modules/zod/LICENSE +21 -0
  578. package/node_modules/zod/README.md +218 -0
  579. package/node_modules/zod/compile.cjs +77 -0
  580. package/node_modules/zod/compile.d.cts +1 -0
  581. package/node_modules/zod/compile.d.ts +1 -0
  582. package/node_modules/zod/compile.js +52 -0
  583. package/node_modules/zod/index.cjs +33 -0
  584. package/node_modules/zod/index.d.cts +3 -0
  585. package/node_modules/zod/index.d.ts +3 -0
  586. package/node_modules/zod/index.js +7 -0
  587. package/node_modules/zod/locales/index.cjs +17 -0
  588. package/node_modules/zod/locales/index.d.cts +1 -0
  589. package/node_modules/zod/locales/index.d.ts +1 -0
  590. package/node_modules/zod/locales/index.js +1 -0
  591. package/node_modules/zod/locales/package.json +7 -0
  592. package/node_modules/zod/mini/index.cjs +32 -0
  593. package/node_modules/zod/mini/index.d.cts +3 -0
  594. package/node_modules/zod/mini/index.d.ts +3 -0
  595. package/node_modules/zod/mini/index.js +3 -0
  596. package/node_modules/zod/mini/package.json +7 -0
  597. package/node_modules/zod/package.json +146 -0
  598. package/node_modules/zod/src/compile.ts +56 -0
  599. package/node_modules/zod/src/index.ts +7 -0
  600. package/node_modules/zod/src/locales/index.ts +1 -0
  601. package/node_modules/zod/src/mini/index.ts +3 -0
  602. package/node_modules/zod/src/v3/ZodError.ts +340 -0
  603. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  604. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  605. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  606. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  607. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  608. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  609. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  610. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  611. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  612. package/node_modules/zod/src/v3/errors.ts +13 -0
  613. package/node_modules/zod/src/v3/external.ts +6 -0
  614. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  615. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  616. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  617. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  618. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  619. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  620. package/node_modules/zod/src/v3/index.ts +4 -0
  621. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  622. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  623. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  624. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  625. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  626. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  627. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  628. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  629. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  630. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  631. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  632. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  633. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  634. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  635. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  636. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  637. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  638. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  639. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  640. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  641. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  642. package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
  643. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  644. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  645. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  646. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  647. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  648. package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
  649. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  650. package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
  651. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  652. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  653. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  654. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  655. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  656. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  657. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  658. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  659. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  660. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  661. package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
  662. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  663. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  664. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  665. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  666. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  667. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  668. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  669. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  670. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  671. package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
  672. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  673. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  674. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  675. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  676. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  677. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  678. package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
  679. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  680. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  681. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  682. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  683. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  684. package/node_modules/zod/src/v3/types.ts +5138 -0
  685. package/node_modules/zod/src/v4/classic/checks.ts +33 -0
  686. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  687. package/node_modules/zod/src/v4/classic/compat.ts +78 -0
  688. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  689. package/node_modules/zod/src/v4/classic/errors.ts +97 -0
  690. package/node_modules/zod/src/v4/classic/external.ts +55 -0
  691. package/node_modules/zod/src/v4/classic/from-json-schema.ts +721 -0
  692. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  693. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  694. package/node_modules/zod/src/v4/classic/iso.ts +20 -0
  695. package/node_modules/zod/src/v4/classic/parse.ts +88 -0
  696. package/node_modules/zod/src/v4/classic/schemas.ts +2862 -0
  697. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  698. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  699. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  700. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +351 -0
  701. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  702. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  703. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  704. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +83 -0
  705. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  706. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
  707. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  708. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  709. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  710. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  711. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  712. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  713. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  714. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +720 -0
  715. package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
  716. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
  717. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  718. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  719. package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
  720. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  721. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  722. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  723. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +836 -0
  724. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +296 -0
  725. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
  726. package/node_modules/zod/src/v4/classic/tests/error.test.ts +979 -0
  727. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  728. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  729. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  730. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1310 -0
  731. package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
  732. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  733. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  734. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  735. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  736. package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
  737. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +281 -0
  738. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +107 -0
  739. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
  740. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +183 -0
  741. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  742. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  743. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
  744. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
  745. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  746. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  747. package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
  748. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  749. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  750. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  751. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  752. package/node_modules/zod/src/v4/classic/tests/number.test.ts +362 -0
  753. package/node_modules/zod/src/v4/classic/tests/object.test.ts +950 -0
  754. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -0
  755. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
  756. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
  757. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  758. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  759. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  760. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  761. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  762. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  763. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  764. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  765. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
  766. package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
  767. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +662 -0
  768. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  769. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
  770. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  771. package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
  772. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  773. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  774. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1346 -0
  775. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
  776. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +780 -0
  777. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  778. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4537 -0
  779. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  780. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
  781. package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
  782. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  783. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +76 -0
  784. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  785. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  786. package/node_modules/zod/src/v4/core/api.ts +1859 -0
  787. package/node_modules/zod/src/v4/core/checks.ts +1306 -0
  788. package/node_modules/zod/src/v4/core/compile.ts +2188 -0
  789. package/node_modules/zod/src/v4/core/core.ts +232 -0
  790. package/node_modules/zod/src/v4/core/doc.ts +48 -0
  791. package/node_modules/zod/src/v4/core/errors.ts +546 -0
  792. package/node_modules/zod/src/v4/core/index.ts +19 -0
  793. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  794. package/node_modules/zod/src/v4/core/json-schema-processors.ts +830 -0
  795. package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  796. package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
  797. package/node_modules/zod/src/v4/core/parse.ts +288 -0
  798. package/node_modules/zod/src/v4/core/regexes.ts +207 -0
  799. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  800. package/node_modules/zod/src/v4/core/schemas.ts +5028 -0
  801. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  802. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -0
  803. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  804. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  805. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  806. package/node_modules/zod/src/v4/core/tests/compile.test.ts +1639 -0
  807. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  808. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  809. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  810. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  811. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  812. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  813. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  814. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  815. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  816. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  817. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  818. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  819. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  820. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  821. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  822. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  823. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  824. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  825. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +31 -0
  826. package/node_modules/zod/src/v4/core/to-json-schema.ts +855 -0
  827. package/node_modules/zod/src/v4/core/util.ts +1209 -0
  828. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  829. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  830. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  831. package/node_modules/zod/src/v4/index.ts +4 -0
  832. package/node_modules/zod/src/v4/locales/ar.ts +118 -0
  833. package/node_modules/zod/src/v4/locales/az.ts +114 -0
  834. package/node_modules/zod/src/v4/locales/be.ts +186 -0
  835. package/node_modules/zod/src/v4/locales/bg.ts +131 -0
  836. package/node_modules/zod/src/v4/locales/bn.ts +121 -0
  837. package/node_modules/zod/src/v4/locales/ca.ts +119 -0
  838. package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
  839. package/node_modules/zod/src/v4/locales/cs.ts +121 -0
  840. package/node_modules/zod/src/v4/locales/da.ts +126 -0
  841. package/node_modules/zod/src/v4/locales/de.ts +119 -0
  842. package/node_modules/zod/src/v4/locales/el.ts +122 -0
  843. package/node_modules/zod/src/v4/locales/en.ts +134 -0
  844. package/node_modules/zod/src/v4/locales/eo.ts +121 -0
  845. package/node_modules/zod/src/v4/locales/es.ts +143 -0
  846. package/node_modules/zod/src/v4/locales/fa.ts +129 -0
  847. package/node_modules/zod/src/v4/locales/fi.ts +124 -0
  848. package/node_modules/zod/src/v4/locales/fr-CA.ts +119 -0
  849. package/node_modules/zod/src/v4/locales/fr.ts +137 -0
  850. package/node_modules/zod/src/v4/locales/gu.ts +121 -0
  851. package/node_modules/zod/src/v4/locales/he.ts +251 -0
  852. package/node_modules/zod/src/v4/locales/hi.ts +124 -0
  853. package/node_modules/zod/src/v4/locales/hr.ts +133 -0
  854. package/node_modules/zod/src/v4/locales/hu.ts +120 -0
  855. package/node_modules/zod/src/v4/locales/hy.ts +173 -0
  856. package/node_modules/zod/src/v4/locales/id.ts +118 -0
  857. package/node_modules/zod/src/v4/locales/index.ts +62 -0
  858. package/node_modules/zod/src/v4/locales/is.ts +122 -0
  859. package/node_modules/zod/src/v4/locales/it.ts +119 -0
  860. package/node_modules/zod/src/v4/locales/ja.ts +117 -0
  861. package/node_modules/zod/src/v4/locales/ka.ts +126 -0
  862. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  863. package/node_modules/zod/src/v4/locales/km.ts +122 -0
  864. package/node_modules/zod/src/v4/locales/kn.ts +124 -0
  865. package/node_modules/zod/src/v4/locales/ko.ts +124 -0
  866. package/node_modules/zod/src/v4/locales/lt.ts +241 -0
  867. package/node_modules/zod/src/v4/locales/mk.ts +121 -0
  868. package/node_modules/zod/src/v4/locales/ms.ts +118 -0
  869. package/node_modules/zod/src/v4/locales/ne.ts +126 -0
  870. package/node_modules/zod/src/v4/locales/nl.ts +124 -0
  871. package/node_modules/zod/src/v4/locales/nn.ts +119 -0
  872. package/node_modules/zod/src/v4/locales/no.ts +119 -0
  873. package/node_modules/zod/src/v4/locales/ota.ts +120 -0
  874. package/node_modules/zod/src/v4/locales/pl.ts +121 -0
  875. package/node_modules/zod/src/v4/locales/ps.ts +129 -0
  876. package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
  877. package/node_modules/zod/src/v4/locales/pt.ts +157 -0
  878. package/node_modules/zod/src/v4/locales/ro.ts +130 -0
  879. package/node_modules/zod/src/v4/locales/ru.ts +186 -0
  880. package/node_modules/zod/src/v4/locales/sk.ts +121 -0
  881. package/node_modules/zod/src/v4/locales/sl.ts +121 -0
  882. package/node_modules/zod/src/v4/locales/sv.ts +122 -0
  883. package/node_modules/zod/src/v4/locales/ta.ts +121 -0
  884. package/node_modules/zod/src/v4/locales/th.ts +122 -0
  885. package/node_modules/zod/src/v4/locales/tk.ts +111 -0
  886. package/node_modules/zod/src/v4/locales/tr.ts +114 -0
  887. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  888. package/node_modules/zod/src/v4/locales/uk.ts +120 -0
  889. package/node_modules/zod/src/v4/locales/ur.ts +122 -0
  890. package/node_modules/zod/src/v4/locales/uz.ts +118 -0
  891. package/node_modules/zod/src/v4/locales/vi.ts +120 -0
  892. package/node_modules/zod/src/v4/locales/yo.ts +127 -0
  893. package/node_modules/zod/src/v4/locales/zh-CN.ts +119 -0
  894. package/node_modules/zod/src/v4/locales/zh-TW.ts +118 -0
  895. package/node_modules/zod/src/v4/mini/checks.ts +33 -0
  896. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  897. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  898. package/node_modules/zod/src/v4/mini/external.ts +50 -0
  899. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  900. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  901. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  902. package/node_modules/zod/src/v4/mini/parse.ts +16 -0
  903. package/node_modules/zod/src/v4/mini/schemas.ts +2026 -0
  904. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  905. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
  906. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  907. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
  908. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  909. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  910. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  911. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  912. package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
  913. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
  914. package/node_modules/zod/src/v4/mini/tests/index.test.ts +1060 -0
  915. package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
  916. package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
  917. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  918. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  919. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  920. package/node_modules/zod/src/v4/mini/tests/string.test.ts +373 -0
  921. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  922. package/node_modules/zod/v3/ZodError.cjs +148 -0
  923. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  924. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  925. package/node_modules/zod/v3/ZodError.js +143 -0
  926. package/node_modules/zod/v3/errors.cjs +17 -0
  927. package/node_modules/zod/v3/errors.d.cts +5 -0
  928. package/node_modules/zod/v3/errors.d.ts +5 -0
  929. package/node_modules/zod/v3/errors.js +9 -0
  930. package/node_modules/zod/v3/external.cjs +22 -0
  931. package/node_modules/zod/v3/external.d.cts +6 -0
  932. package/node_modules/zod/v3/external.d.ts +6 -0
  933. package/node_modules/zod/v3/external.js +6 -0
  934. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  935. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  936. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  937. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  938. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  939. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  940. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  941. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  942. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  943. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  944. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  945. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  946. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  947. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  948. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  949. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  950. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  951. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  952. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  953. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  954. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  955. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  956. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  957. package/node_modules/zod/v3/helpers/util.js +133 -0
  958. package/node_modules/zod/v3/index.cjs +33 -0
  959. package/node_modules/zod/v3/index.d.cts +4 -0
  960. package/node_modules/zod/v3/index.d.ts +4 -0
  961. package/node_modules/zod/v3/index.js +4 -0
  962. package/node_modules/zod/v3/locales/en.cjs +112 -0
  963. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  964. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  965. package/node_modules/zod/v3/locales/en.js +109 -0
  966. package/node_modules/zod/v3/package.json +7 -0
  967. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  968. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  969. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  970. package/node_modules/zod/v3/standard-schema.js +1 -0
  971. package/node_modules/zod/v3/types.cjs +3779 -0
  972. package/node_modules/zod/v3/types.d.cts +1034 -0
  973. package/node_modules/zod/v3/types.d.ts +1034 -0
  974. package/node_modules/zod/v3/types.js +3697 -0
  975. package/node_modules/zod/v4/classic/checks.cjs +34 -0
  976. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  977. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  978. package/node_modules/zod/v4/classic/checks.js +1 -0
  979. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  980. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  981. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  982. package/node_modules/zod/v4/classic/coerce.js +17 -0
  983. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  984. package/node_modules/zod/v4/classic/compat.d.cts +48 -0
  985. package/node_modules/zod/v4/classic/compat.d.ts +48 -0
  986. package/node_modules/zod/v4/classic/compat.js +31 -0
  987. package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
  988. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  989. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  990. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  991. package/node_modules/zod/v4/classic/errors.cjs +83 -0
  992. package/node_modules/zod/v4/classic/errors.d.cts +29 -0
  993. package/node_modules/zod/v4/classic/errors.d.ts +29 -0
  994. package/node_modules/zod/v4/classic/errors.js +57 -0
  995. package/node_modules/zod/v4/classic/external.cjs +76 -0
  996. package/node_modules/zod/v4/classic/external.d.cts +19 -0
  997. package/node_modules/zod/v4/classic/external.d.ts +19 -0
  998. package/node_modules/zod/v4/classic/external.js +17 -0
  999. package/node_modules/zod/v4/classic/from-json-schema.cjs +686 -0
  1000. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  1001. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  1002. package/node_modules/zod/v4/classic/from-json-schema.js +660 -0
  1003. package/node_modules/zod/v4/classic/in-out.cjs +63 -0
  1004. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  1005. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  1006. package/node_modules/zod/v4/classic/in-out.js +36 -0
  1007. package/node_modules/zod/v4/classic/index.cjs +33 -0
  1008. package/node_modules/zod/v4/classic/index.d.cts +3 -0
  1009. package/node_modules/zod/v4/classic/index.d.ts +3 -0
  1010. package/node_modules/zod/v4/classic/index.js +4 -0
  1011. package/node_modules/zod/v4/classic/iso.cjs +49 -0
  1012. package/node_modules/zod/v4/classic/iso.d.cts +7 -0
  1013. package/node_modules/zod/v4/classic/iso.d.ts +7 -0
  1014. package/node_modules/zod/v4/classic/iso.js +15 -0
  1015. package/node_modules/zod/v4/classic/package.json +7 -0
  1016. package/node_modules/zod/v4/classic/parse.cjs +44 -0
  1017. package/node_modules/zod/v4/classic/parse.d.cts +44 -0
  1018. package/node_modules/zod/v4/classic/parse.d.ts +44 -0
  1019. package/node_modules/zod/v4/classic/parse.js +16 -0
  1020. package/node_modules/zod/v4/classic/schemas.cjs +1611 -0
  1021. package/node_modules/zod/v4/classic/schemas.d.cts +802 -0
  1022. package/node_modules/zod/v4/classic/schemas.d.ts +802 -0
  1023. package/node_modules/zod/v4/classic/schemas.js +1491 -0
  1024. package/node_modules/zod/v4/core/api.cjs +1246 -0
  1025. package/node_modules/zod/v4/core/api.d.cts +329 -0
  1026. package/node_modules/zod/v4/core/api.d.ts +329 -0
  1027. package/node_modules/zod/v4/core/api.js +1104 -0
  1028. package/node_modules/zod/v4/core/checks.cjs +607 -0
  1029. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  1030. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  1031. package/node_modules/zod/v4/core/checks.js +581 -0
  1032. package/node_modules/zod/v4/core/compile.cjs +1813 -0
  1033. package/node_modules/zod/v4/core/compile.d.cts +51 -0
  1034. package/node_modules/zod/v4/core/compile.d.ts +51 -0
  1035. package/node_modules/zod/v4/core/compile.js +1783 -0
  1036. package/node_modules/zod/v4/core/core.cjs +148 -0
  1037. package/node_modules/zod/v4/core/core.d.cts +82 -0
  1038. package/node_modules/zod/v4/core/core.d.ts +82 -0
  1039. package/node_modules/zod/v4/core/core.js +141 -0
  1040. package/node_modules/zod/v4/core/doc.cjs +37 -0
  1041. package/node_modules/zod/v4/core/doc.d.cts +16 -0
  1042. package/node_modules/zod/v4/core/doc.d.ts +16 -0
  1043. package/node_modules/zod/v4/core/doc.js +33 -0
  1044. package/node_modules/zod/v4/core/errors.cjs +301 -0
  1045. package/node_modules/zod/v4/core/errors.d.cts +225 -0
  1046. package/node_modules/zod/v4/core/errors.d.ts +225 -0
  1047. package/node_modules/zod/v4/core/errors.js +270 -0
  1048. package/node_modules/zod/v4/core/index.cjs +51 -0
  1049. package/node_modules/zod/v4/core/index.d.cts +19 -0
  1050. package/node_modules/zod/v4/core/index.d.ts +19 -0
  1051. package/node_modules/zod/v4/core/index.js +19 -0
  1052. package/node_modules/zod/v4/core/json-schema-generator.cjs +103 -0
  1053. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  1054. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  1055. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  1056. package/node_modules/zod/v4/core/json-schema-processors.cjs +813 -0
  1057. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  1058. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  1059. package/node_modules/zod/v4/core/json-schema-processors.js +747 -0
  1060. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1061. package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  1062. package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  1063. package/node_modules/zod/v4/core/json-schema.js +1 -0
  1064. package/node_modules/zod/v4/core/memoizer.cjs +272 -0
  1065. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  1066. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  1067. package/node_modules/zod/v4/core/memoizer.js +265 -0
  1068. package/node_modules/zod/v4/core/package.json +7 -0
  1069. package/node_modules/zod/v4/core/parse.cjs +193 -0
  1070. package/node_modules/zod/v4/core/parse.d.cts +52 -0
  1071. package/node_modules/zod/v4/core/parse.d.ts +52 -0
  1072. package/node_modules/zod/v4/core/parse.js +154 -0
  1073. package/node_modules/zod/v4/core/regexes.cjs +184 -0
  1074. package/node_modules/zod/v4/core/regexes.d.cts +87 -0
  1075. package/node_modules/zod/v4/core/regexes.d.ts +87 -0
  1076. package/node_modules/zod/v4/core/regexes.js +150 -0
  1077. package/node_modules/zod/v4/core/registries.cjs +56 -0
  1078. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  1079. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  1080. package/node_modules/zod/v4/core/registries.js +51 -0
  1081. package/node_modules/zod/v4/core/schemas.cjs +2481 -0
  1082. package/node_modules/zod/v4/core/schemas.d.cts +1253 -0
  1083. package/node_modules/zod/v4/core/schemas.d.ts +1253 -0
  1084. package/node_modules/zod/v4/core/schemas.js +2440 -0
  1085. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1086. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  1087. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  1088. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  1089. package/node_modules/zod/v4/core/to-json-schema.cjs +660 -0
  1090. package/node_modules/zod/v4/core/to-json-schema.d.cts +153 -0
  1091. package/node_modules/zod/v4/core/to-json-schema.d.ts +153 -0
  1092. package/node_modules/zod/v4/core/to-json-schema.js +650 -0
  1093. package/node_modules/zod/v4/core/util.cjs +915 -0
  1094. package/node_modules/zod/v4/core/util.d.cts +257 -0
  1095. package/node_modules/zod/v4/core/util.d.ts +257 -0
  1096. package/node_modules/zod/v4/core/util.js +846 -0
  1097. package/node_modules/zod/v4/core/versions.cjs +8 -0
  1098. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  1099. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  1100. package/node_modules/zod/v4/core/versions.js +5 -0
  1101. package/node_modules/zod/v4/core/visit.cjs +195 -0
  1102. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  1103. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  1104. package/node_modules/zod/v4/core/visit.js +169 -0
  1105. package/node_modules/zod/v4/index.cjs +32 -0
  1106. package/node_modules/zod/v4/index.d.cts +3 -0
  1107. package/node_modules/zod/v4/index.d.ts +3 -0
  1108. package/node_modules/zod/v4/index.js +4 -0
  1109. package/node_modules/zod/v4/locales/ar.cjs +136 -0
  1110. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  1111. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1112. package/node_modules/zod/v4/locales/ar.js +109 -0
  1113. package/node_modules/zod/v4/locales/az.cjs +135 -0
  1114. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  1115. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  1116. package/node_modules/zod/v4/locales/az.js +108 -0
  1117. package/node_modules/zod/v4/locales/be.cjs +193 -0
  1118. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  1119. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  1120. package/node_modules/zod/v4/locales/be.js +166 -0
  1121. package/node_modules/zod/v4/locales/bg.cjs +150 -0
  1122. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  1123. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  1124. package/node_modules/zod/v4/locales/bg.js +123 -0
  1125. package/node_modules/zod/v4/locales/bn.cjs +138 -0
  1126. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  1127. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  1128. package/node_modules/zod/v4/locales/bn.js +111 -0
  1129. package/node_modules/zod/v4/locales/ca.cjs +137 -0
  1130. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  1131. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1132. package/node_modules/zod/v4/locales/ca.js +110 -0
  1133. package/node_modules/zod/v4/locales/ckb.cjs +158 -0
  1134. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  1135. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  1136. package/node_modules/zod/v4/locales/ckb.js +131 -0
  1137. package/node_modules/zod/v4/locales/cs.cjs +141 -0
  1138. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  1139. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1140. package/node_modules/zod/v4/locales/cs.js +114 -0
  1141. package/node_modules/zod/v4/locales/da.cjs +145 -0
  1142. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  1143. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  1144. package/node_modules/zod/v4/locales/da.js +118 -0
  1145. package/node_modules/zod/v4/locales/de.cjs +138 -0
  1146. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  1147. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  1148. package/node_modules/zod/v4/locales/de.js +111 -0
  1149. package/node_modules/zod/v4/locales/el.cjs +137 -0
  1150. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  1151. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  1152. package/node_modules/zod/v4/locales/el.js +110 -0
  1153. package/node_modules/zod/v4/locales/en.cjs +150 -0
  1154. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  1155. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  1156. package/node_modules/zod/v4/locales/en.js +123 -0
  1157. package/node_modules/zod/v4/locales/eo.cjs +139 -0
  1158. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1159. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  1160. package/node_modules/zod/v4/locales/eo.js +112 -0
  1161. package/node_modules/zod/v4/locales/es.cjs +161 -0
  1162. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  1163. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  1164. package/node_modules/zod/v4/locales/es.js +134 -0
  1165. package/node_modules/zod/v4/locales/fa.cjs +144 -0
  1166. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  1167. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1168. package/node_modules/zod/v4/locales/fa.js +117 -0
  1169. package/node_modules/zod/v4/locales/fi.cjs +142 -0
  1170. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  1171. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1172. package/node_modules/zod/v4/locales/fi.js +115 -0
  1173. package/node_modules/zod/v4/locales/fr-CA.cjs +137 -0
  1174. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  1175. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1176. package/node_modules/zod/v4/locales/fr-CA.js +110 -0
  1177. package/node_modules/zod/v4/locales/fr.cjs +154 -0
  1178. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  1179. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1180. package/node_modules/zod/v4/locales/fr.js +127 -0
  1181. package/node_modules/zod/v4/locales/gu.cjs +138 -0
  1182. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  1183. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  1184. package/node_modules/zod/v4/locales/gu.js +111 -0
  1185. package/node_modules/zod/v4/locales/he.cjs +246 -0
  1186. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  1187. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  1188. package/node_modules/zod/v4/locales/he.js +219 -0
  1189. package/node_modules/zod/v4/locales/hi.cjs +136 -0
  1190. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  1191. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  1192. package/node_modules/zod/v4/locales/hi.js +109 -0
  1193. package/node_modules/zod/v4/locales/hr.cjs +151 -0
  1194. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  1195. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  1196. package/node_modules/zod/v4/locales/hr.js +124 -0
  1197. package/node_modules/zod/v4/locales/hu.cjs +138 -0
  1198. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  1199. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1200. package/node_modules/zod/v4/locales/hu.js +111 -0
  1201. package/node_modules/zod/v4/locales/hy.cjs +183 -0
  1202. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  1203. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  1204. package/node_modules/zod/v4/locales/hy.js +156 -0
  1205. package/node_modules/zod/v4/locales/id.cjs +136 -0
  1206. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  1207. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  1208. package/node_modules/zod/v4/locales/id.js +109 -0
  1209. package/node_modules/zod/v4/locales/index.cjs +131 -0
  1210. package/node_modules/zod/v4/locales/index.d.cts +62 -0
  1211. package/node_modules/zod/v4/locales/index.d.ts +62 -0
  1212. package/node_modules/zod/v4/locales/index.js +62 -0
  1213. package/node_modules/zod/v4/locales/is.cjs +139 -0
  1214. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  1215. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  1216. package/node_modules/zod/v4/locales/is.js +112 -0
  1217. package/node_modules/zod/v4/locales/it.cjs +138 -0
  1218. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  1219. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  1220. package/node_modules/zod/v4/locales/it.js +111 -0
  1221. package/node_modules/zod/v4/locales/ja.cjs +137 -0
  1222. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  1223. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1224. package/node_modules/zod/v4/locales/ja.js +110 -0
  1225. package/node_modules/zod/v4/locales/ka.cjs +142 -0
  1226. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  1227. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  1228. package/node_modules/zod/v4/locales/ka.js +115 -0
  1229. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  1230. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  1231. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  1232. package/node_modules/zod/v4/locales/kh.js +5 -0
  1233. package/node_modules/zod/v4/locales/km.cjs +140 -0
  1234. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  1235. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  1236. package/node_modules/zod/v4/locales/km.js +113 -0
  1237. package/node_modules/zod/v4/locales/kn.cjs +141 -0
  1238. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  1239. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  1240. package/node_modules/zod/v4/locales/kn.js +114 -0
  1241. package/node_modules/zod/v4/locales/ko.cjs +141 -0
  1242. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  1243. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1244. package/node_modules/zod/v4/locales/ko.js +114 -0
  1245. package/node_modules/zod/v4/locales/lt.cjs +232 -0
  1246. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  1247. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  1248. package/node_modules/zod/v4/locales/lt.js +205 -0
  1249. package/node_modules/zod/v4/locales/mk.cjs +139 -0
  1250. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  1251. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1252. package/node_modules/zod/v4/locales/mk.js +112 -0
  1253. package/node_modules/zod/v4/locales/ms.cjs +137 -0
  1254. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  1255. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1256. package/node_modules/zod/v4/locales/ms.js +110 -0
  1257. package/node_modules/zod/v4/locales/ne.cjs +136 -0
  1258. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  1259. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  1260. package/node_modules/zod/v4/locales/ne.js +109 -0
  1261. package/node_modules/zod/v4/locales/nl.cjs +140 -0
  1262. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  1263. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1264. package/node_modules/zod/v4/locales/nl.js +113 -0
  1265. package/node_modules/zod/v4/locales/nn.cjs +138 -0
  1266. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  1267. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  1268. package/node_modules/zod/v4/locales/nn.js +111 -0
  1269. package/node_modules/zod/v4/locales/no.cjs +138 -0
  1270. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  1271. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  1272. package/node_modules/zod/v4/locales/no.js +111 -0
  1273. package/node_modules/zod/v4/locales/ota.cjs +139 -0
  1274. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  1275. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1276. package/node_modules/zod/v4/locales/ota.js +112 -0
  1277. package/node_modules/zod/v4/locales/package.json +7 -0
  1278. package/node_modules/zod/v4/locales/pl.cjs +139 -0
  1279. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  1280. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1281. package/node_modules/zod/v4/locales/pl.js +112 -0
  1282. package/node_modules/zod/v4/locales/ps.cjs +144 -0
  1283. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  1284. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1285. package/node_modules/zod/v4/locales/ps.js +117 -0
  1286. package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
  1287. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  1288. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  1289. package/node_modules/zod/v4/locales/pt-BR.js +141 -0
  1290. package/node_modules/zod/v4/locales/pt.cjs +167 -0
  1291. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1292. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1293. package/node_modules/zod/v4/locales/pt.js +140 -0
  1294. package/node_modules/zod/v4/locales/ro.cjs +147 -0
  1295. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  1296. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  1297. package/node_modules/zod/v4/locales/ro.js +120 -0
  1298. package/node_modules/zod/v4/locales/ru.cjs +193 -0
  1299. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1300. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1301. package/node_modules/zod/v4/locales/ru.js +166 -0
  1302. package/node_modules/zod/v4/locales/sk.cjs +141 -0
  1303. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  1304. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  1305. package/node_modules/zod/v4/locales/sk.js +114 -0
  1306. package/node_modules/zod/v4/locales/sl.cjs +139 -0
  1307. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1308. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1309. package/node_modules/zod/v4/locales/sl.js +112 -0
  1310. package/node_modules/zod/v4/locales/sv.cjs +140 -0
  1311. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1312. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1313. package/node_modules/zod/v4/locales/sv.js +113 -0
  1314. package/node_modules/zod/v4/locales/ta.cjs +140 -0
  1315. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1316. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1317. package/node_modules/zod/v4/locales/ta.js +113 -0
  1318. package/node_modules/zod/v4/locales/th.cjs +140 -0
  1319. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1320. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1321. package/node_modules/zod/v4/locales/th.js +113 -0
  1322. package/node_modules/zod/v4/locales/tk.cjs +132 -0
  1323. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  1324. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  1325. package/node_modules/zod/v4/locales/tk.js +105 -0
  1326. package/node_modules/zod/v4/locales/tr.cjs +135 -0
  1327. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1328. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1329. package/node_modules/zod/v4/locales/tr.js +108 -0
  1330. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1331. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1332. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1333. package/node_modules/zod/v4/locales/ua.js +5 -0
  1334. package/node_modules/zod/v4/locales/uk.cjs +138 -0
  1335. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1336. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1337. package/node_modules/zod/v4/locales/uk.js +111 -0
  1338. package/node_modules/zod/v4/locales/ur.cjs +140 -0
  1339. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1340. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1341. package/node_modules/zod/v4/locales/ur.js +113 -0
  1342. package/node_modules/zod/v4/locales/uz.cjs +138 -0
  1343. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1344. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1345. package/node_modules/zod/v4/locales/uz.js +111 -0
  1346. package/node_modules/zod/v4/locales/vi.cjs +138 -0
  1347. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1348. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1349. package/node_modules/zod/v4/locales/vi.js +111 -0
  1350. package/node_modules/zod/v4/locales/yo.cjs +137 -0
  1351. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1352. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1353. package/node_modules/zod/v4/locales/yo.js +110 -0
  1354. package/node_modules/zod/v4/locales/zh-CN.cjs +139 -0
  1355. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1356. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1357. package/node_modules/zod/v4/locales/zh-CN.js +112 -0
  1358. package/node_modules/zod/v4/locales/zh-TW.cjs +137 -0
  1359. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1360. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1361. package/node_modules/zod/v4/locales/zh-TW.js +110 -0
  1362. package/node_modules/zod/v4/mini/checks.cjs +35 -0
  1363. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1364. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1365. package/node_modules/zod/v4/mini/checks.js +1 -0
  1366. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1367. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1368. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1369. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1370. package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
  1371. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  1372. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  1373. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1374. package/node_modules/zod/v4/mini/external.cjs +74 -0
  1375. package/node_modules/zod/v4/mini/external.d.cts +16 -0
  1376. package/node_modules/zod/v4/mini/external.d.ts +16 -0
  1377. package/node_modules/zod/v4/mini/external.js +16 -0
  1378. package/node_modules/zod/v4/mini/in-out.cjs +63 -0
  1379. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  1380. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  1381. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1382. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1383. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1384. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1385. package/node_modules/zod/v4/mini/index.js +3 -0
  1386. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1387. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1388. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1389. package/node_modules/zod/v4/mini/iso.js +34 -0
  1390. package/node_modules/zod/v4/mini/package.json +7 -0
  1391. package/node_modules/zod/v4/mini/parse.cjs +18 -0
  1392. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1393. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1394. package/node_modules/zod/v4/mini/parse.js +1 -0
  1395. package/node_modules/zod/v4/mini/schemas.cjs +1111 -0
  1396. package/node_modules/zod/v4/mini/schemas.d.cts +475 -0
  1397. package/node_modules/zod/v4/mini/schemas.d.ts +475 -0
  1398. package/node_modules/zod/v4/mini/schemas.js +987 -0
  1399. package/node_modules/zod/v4/package.json +7 -0
  1400. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1401. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1402. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1403. package/node_modules/zod/v4-mini/index.js +3 -0
  1404. package/node_modules/zod/v4-mini/package.json +7 -0
  1405. package/oclif.manifest.json +95 -62
  1406. package/package.json +17 -9
  1407. package/content/pwav3/components.md +0 -400
  1408. package/content/pwav3/config.md +0 -124
  1409. package/content/pwav3/data-fetching.md +0 -213
  1410. package/content/pwav3/extensibility.md +0 -167
  1411. package/content/pwav3/i18n.md +0 -214
  1412. package/content/pwav3/quick-reference.md +0 -169
  1413. package/content/pwav3/routing.md +0 -107
  1414. package/content/pwav3/state-management.md +0 -193
  1415. package/content/pwav3/styling.md +0 -248
  1416. package/content/pwav3/testing.md +0 -124
  1417. package/content/site-theming/theming-accessibility.md +0 -126
  1418. package/content/site-theming/theming-questions.md +0 -208
  1419. package/content/site-theming/theming-validation.md +0 -174
  1420. package/dist/tools/diagnostics/debug-continue.js +0 -27
  1421. package/dist/tools/diagnostics/debug-get-stack.d.ts +0 -4
  1422. package/dist/tools/diagnostics/debug-get-stack.js +0 -31
  1423. package/dist/tools/diagnostics/debug-get-variables.d.ts +0 -4
  1424. package/dist/tools/diagnostics/debug-get-variables.js +0 -45
  1425. package/dist/tools/diagnostics/debug-step.js +0 -38
  1426. package/dist/tools/diagnostics/logs-watch-list.d.ts +0 -4
  1427. package/dist/tools/diagnostics/logs-watch-list.js +0 -37
  1428. package/dist/tools/diagnostics/logs-watch-stop.d.ts +0 -4
  1429. package/dist/tools/diagnostics/logs-watch-stop.js +0 -36
  1430. package/dist/tools/diagnostics/mrt-logs-watch-list.d.ts +0 -4
  1431. package/dist/tools/diagnostics/mrt-logs-watch-list.js +0 -37
  1432. package/dist/tools/diagnostics/mrt-logs-watch-stop.d.ts +0 -4
  1433. package/dist/tools/diagnostics/mrt-logs-watch-stop.js +0 -37
  1434. package/dist/tools/pwav3/index.d.ts +0 -22
  1435. package/dist/tools/pwav3/index.js +0 -20
  1436. package/dist/tools/pwav3/pwa-kit-development-guidelines.d.ts +0 -9
  1437. package/dist/tools/pwav3/pwa-kit-development-guidelines.js +0 -111
  1438. package/dist/tools/scapi/scapi-custom-api-generate-scaffold.d.ts +0 -67
  1439. package/dist/tools/scapi/scapi-custom-api-generate-scaffold.js +0 -204
@@ -0,0 +1,2026 @@
1
+ import * as core from "../core/index.js";
2
+ import type { $ZodBigIntFormats } from "../core/index.js";
3
+ import * as util from "../core/util.js";
4
+ import * as parse from "./parse.js";
5
+
6
+ type SomeType = core.SomeType;
7
+
8
+ export interface ZodMiniType<
9
+ out Output = unknown,
10
+ out Input = unknown,
11
+ out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>,
12
+ > extends core.$ZodType<Output, Input, Internals> {
13
+ type: Internals["def"]["type"];
14
+ check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
15
+ with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
16
+ clone(def?: Internals["def"], params?: { parent: boolean }): this;
17
+ register<R extends core.$ZodRegistry>(
18
+ registry: R,
19
+ ...meta: this extends R["_schema"]
20
+ ? undefined extends R["_meta"]
21
+ ? [core.$replace<R["_meta"], this>?]
22
+ : [core.$replace<R["_meta"], this>]
23
+ : ["Incompatible schema"]
24
+ ): this;
25
+ brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(
26
+ value?: T
27
+ ): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
28
+
29
+ def: Internals["def"];
30
+
31
+ parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
32
+ safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): util.SafeParseResult<core.output<this>>;
33
+ parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
34
+ safeParseAsync(
35
+ data: unknown,
36
+ params?: core.ParseContext<core.$ZodIssue>
37
+ ): Promise<util.SafeParseResult<core.output<this>>>;
38
+ apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;
39
+ }
40
+
41
+ interface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>
42
+ extends ZodMiniType<any, any, Internals> {}
43
+
44
+ export const ZodMiniType: core.$constructor<ZodMiniType> = /*@__PURE__*/ core.$constructor<ZodMiniType>(
45
+ "ZodMiniType",
46
+ (inst, def) => {
47
+ if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType.");
48
+
49
+ core.$ZodType.init(inst, def);
50
+
51
+ inst.def = def;
52
+ inst.type = def.type;
53
+ },
54
+ {
55
+ // `with` is an alias for `check`: the same function object, not a wrapper.
56
+ get with(): ZodMiniType["check"] {
57
+ return this.check;
58
+ },
59
+ set with(value: ZodMiniType["check"]) {
60
+ util.own(this, "with", value);
61
+ },
62
+ parse(data, params) {
63
+ return parse.parse(this, data, params, { callee: this.parse });
64
+ },
65
+ parseAsync(data, params) {
66
+ return parse.parseAsync(this, data, params, { callee: this.parseAsync });
67
+ },
68
+ safeParse(data, params) {
69
+ return parse.safeParse(this, data, params);
70
+ },
71
+ safeParseAsync(data, params) {
72
+ return parse.safeParseAsync(this, data, params);
73
+ },
74
+ check(...checks) {
75
+ const def = this.def;
76
+ return this.clone(
77
+ {
78
+ ...def,
79
+ checks: [
80
+ ...(def.checks ?? []),
81
+ ...checks.map((ch) =>
82
+ typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
83
+ ),
84
+ ],
85
+ },
86
+ { parent: true }
87
+ );
88
+ },
89
+ clone(_def, params) {
90
+ return core.clone(this, _def, params);
91
+ },
92
+ brand() {
93
+ return this as any;
94
+ },
95
+ register(reg: any, meta: any): any {
96
+ reg.add(this, meta);
97
+ return this;
98
+ },
99
+ apply(fn: any, ...args: any[]) {
100
+ return args.length === 0 ? fn(this) : fn(this, ...args);
101
+ },
102
+ }
103
+ );
104
+
105
+ export interface _ZodMiniString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>>
106
+ extends _ZodMiniType<T>,
107
+ core.$ZodString<T["input"]> {
108
+ _zod: T;
109
+ }
110
+
111
+ // ZodMiniString
112
+ export interface ZodMiniString<Input = unknown>
113
+ extends _ZodMiniString<core.$ZodStringInternals<Input>>,
114
+ core.$ZodString<Input> {}
115
+ export const ZodMiniString: core.$constructor<ZodMiniString> = /*@__PURE__*/ core.$constructor(
116
+ "ZodMiniString",
117
+ (inst, def) => {
118
+ core.$ZodString.init(inst, def);
119
+ ZodMiniType.init(inst, def);
120
+ }
121
+ );
122
+
123
+ // @__NO_SIDE_EFFECTS__
124
+ export function string(params?: string | core.$ZodStringParams): ZodMiniString<string> {
125
+ return core._string(ZodMiniString, params) as any;
126
+ }
127
+
128
+ // ZodMiniStringFormat
129
+ export interface ZodMiniStringFormat<Format extends string = string>
130
+ extends _ZodMiniString<core.$ZodStringFormatInternals<Format>>,
131
+ core.$ZodStringFormat<Format> {
132
+ // _zod: core.$ZodStringFormatInternals<Format>;
133
+ }
134
+ export const ZodMiniStringFormat: core.$constructor<ZodMiniStringFormat> = /*@__PURE__*/ core.$constructor(
135
+ "ZodMiniStringFormat",
136
+ (inst, def) => {
137
+ core.$ZodStringFormat.init(inst, def);
138
+ ZodMiniString.init(inst, def);
139
+ }
140
+ );
141
+
142
+ // ZodMiniEmail
143
+ export interface ZodMiniEmail extends _ZodMiniString<core.$ZodEmailInternals> {}
144
+ export const ZodMiniEmail: core.$constructor<ZodMiniEmail> = /*@__PURE__*/ core.$constructor(
145
+ "ZodMiniEmail",
146
+ (inst, def) => {
147
+ core.$ZodEmail.init(inst, def);
148
+ ZodMiniStringFormat.init(inst, def);
149
+ }
150
+ );
151
+
152
+ // @__NO_SIDE_EFFECTS__
153
+ export function email(params?: string | core.$ZodEmailParams): ZodMiniEmail {
154
+ return core._email(ZodMiniEmail, params);
155
+ }
156
+
157
+ // ZodMiniGUID
158
+ export interface ZodMiniGUID extends _ZodMiniString<core.$ZodGUIDInternals> {
159
+ // _zod: core.$ZodGUIDInternals;
160
+ }
161
+ export const ZodMiniGUID: core.$constructor<ZodMiniGUID> = /*@__PURE__*/ core.$constructor(
162
+ "ZodMiniGUID",
163
+ (inst, def) => {
164
+ core.$ZodGUID.init(inst, def);
165
+ ZodMiniStringFormat.init(inst, def);
166
+ }
167
+ );
168
+
169
+ // @__NO_SIDE_EFFECTS__
170
+ export function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID {
171
+ return core._guid(ZodMiniGUID, params);
172
+ }
173
+
174
+ // ZodMiniUUID
175
+ export interface ZodMiniUUID extends _ZodMiniString<core.$ZodUUIDInternals> {
176
+ // _zod: core.$ZodUUIDInternals;
177
+ }
178
+ export const ZodMiniUUID: core.$constructor<ZodMiniUUID> = /*@__PURE__*/ core.$constructor(
179
+ "ZodMiniUUID",
180
+ (inst, def) => {
181
+ core.$ZodUUID.init(inst, def);
182
+ ZodMiniStringFormat.init(inst, def);
183
+ }
184
+ );
185
+
186
+ // @__NO_SIDE_EFFECTS__
187
+ export function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID {
188
+ return core._uuid(ZodMiniUUID, params);
189
+ }
190
+
191
+ // @__NO_SIDE_EFFECTS__
192
+ export function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID {
193
+ return core._uuidv4(ZodMiniUUID, params);
194
+ }
195
+
196
+ // ZodMiniUUIDv6
197
+
198
+ // @__NO_SIDE_EFFECTS__
199
+ export function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID {
200
+ return core._uuidv6(ZodMiniUUID, params);
201
+ }
202
+
203
+ // ZodMiniUUIDv7
204
+
205
+ // @__NO_SIDE_EFFECTS__
206
+ export function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID {
207
+ return core._uuidv7(ZodMiniUUID, params);
208
+ }
209
+
210
+ // ZodMiniURL
211
+ export interface ZodMiniURL extends _ZodMiniString<core.$ZodURLInternals> {
212
+ // _zod: core.$ZodURLInternals;
213
+ }
214
+ export const ZodMiniURL: core.$constructor<ZodMiniURL> = /*@__PURE__*/ core.$constructor("ZodMiniURL", (inst, def) => {
215
+ core.$ZodURL.init(inst, def);
216
+ ZodMiniStringFormat.init(inst, def);
217
+ });
218
+
219
+ // @__NO_SIDE_EFFECTS__
220
+ export function url(params?: string | core.$ZodURLParams): ZodMiniURL {
221
+ return core._url(ZodMiniURL, params);
222
+ }
223
+
224
+ // @__NO_SIDE_EFFECTS__
225
+ export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodMiniURL {
226
+ return core._url(ZodMiniURL, {
227
+ protocol: core.regexes.httpProtocol,
228
+ hostname: core.regexes.domain,
229
+ ...util.normalizeParams(params),
230
+ });
231
+ }
232
+
233
+ // ZodMiniEmoji
234
+ export interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {
235
+ // _zod: core.$ZodEmojiInternals;
236
+ }
237
+ export const ZodMiniEmoji: core.$constructor<ZodMiniEmoji> = /*@__PURE__*/ core.$constructor(
238
+ "ZodMiniEmoji",
239
+ (inst, def) => {
240
+ core.$ZodEmoji.init(inst, def);
241
+ ZodMiniStringFormat.init(inst, def);
242
+ }
243
+ );
244
+
245
+ // @__NO_SIDE_EFFECTS__
246
+ export function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji {
247
+ return core._emoji(ZodMiniEmoji, params);
248
+ }
249
+
250
+ // ZodMiniNanoID
251
+ export interface ZodMiniNanoID extends _ZodMiniString<core.$ZodNanoIDInternals> {
252
+ // _zod: core.$ZodNanoIDInternals;
253
+ }
254
+ export const ZodMiniNanoID: core.$constructor<ZodMiniNanoID> = /*@__PURE__*/ core.$constructor(
255
+ "ZodMiniNanoID",
256
+ (inst, def) => {
257
+ core.$ZodNanoID.init(inst, def);
258
+ ZodMiniStringFormat.init(inst, def);
259
+ }
260
+ );
261
+
262
+ // @__NO_SIDE_EFFECTS__
263
+ export function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID {
264
+ return core._nanoid(ZodMiniNanoID, params);
265
+ }
266
+
267
+ // ZodMiniCUID
268
+ /**
269
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
270
+ * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
271
+ * See https://github.com/paralleldrive/cuid.
272
+ */
273
+ export interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {
274
+ // _zod: core.$ZodCUIDInternals;
275
+ }
276
+ /**
277
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
278
+ * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
279
+ * See https://github.com/paralleldrive/cuid.
280
+ */
281
+ export const ZodMiniCUID: core.$constructor<ZodMiniCUID> = /*@__PURE__*/ core.$constructor(
282
+ "ZodMiniCUID",
283
+ (inst, def) => {
284
+ core.$ZodCUID.init(inst, def);
285
+ ZodMiniStringFormat.init(inst, def);
286
+ }
287
+ );
288
+
289
+ /**
290
+ * Validates a CUID v1 string.
291
+ *
292
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
293
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
294
+ * See https://github.com/paralleldrive/cuid.
295
+ */
296
+ // @__NO_SIDE_EFFECTS__
297
+ export function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID {
298
+ return core._cuid(ZodMiniCUID, params);
299
+ }
300
+
301
+ // ZodMiniCUID2
302
+ export interface ZodMiniCUID2 extends _ZodMiniString<core.$ZodCUID2Internals> {
303
+ // _zod: core.$ZodCUID2Internals;
304
+ }
305
+ export const ZodMiniCUID2: core.$constructor<ZodMiniCUID2> = /*@__PURE__*/ core.$constructor(
306
+ "ZodMiniCUID2",
307
+ (inst, def) => {
308
+ core.$ZodCUID2.init(inst, def);
309
+ ZodMiniStringFormat.init(inst, def);
310
+ }
311
+ );
312
+
313
+ // @__NO_SIDE_EFFECTS__
314
+ export function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2 {
315
+ return core._cuid2(ZodMiniCUID2, params);
316
+ }
317
+
318
+ // ZodMiniULID
319
+ export interface ZodMiniULID extends _ZodMiniString<core.$ZodULIDInternals> {
320
+ // _zod: core.$ZodULIDInternals;
321
+ }
322
+ export const ZodMiniULID: core.$constructor<ZodMiniULID> = /*@__PURE__*/ core.$constructor(
323
+ "ZodMiniULID",
324
+ (inst, def) => {
325
+ core.$ZodULID.init(inst, def);
326
+ ZodMiniStringFormat.init(inst, def);
327
+ }
328
+ );
329
+
330
+ // @__NO_SIDE_EFFECTS__
331
+ export function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID {
332
+ return core._ulid(ZodMiniULID, params);
333
+ }
334
+
335
+ // ZodMiniXID
336
+ export interface ZodMiniXID extends _ZodMiniString<core.$ZodXIDInternals> {
337
+ // _zod: core.$ZodXIDInternals;
338
+ }
339
+ export const ZodMiniXID: core.$constructor<ZodMiniXID> = /*@__PURE__*/ core.$constructor("ZodMiniXID", (inst, def) => {
340
+ core.$ZodXID.init(inst, def);
341
+ ZodMiniStringFormat.init(inst, def);
342
+ });
343
+
344
+ // @__NO_SIDE_EFFECTS__
345
+ export function xid(params?: string | core.$ZodXIDParams): ZodMiniXID {
346
+ return core._xid(ZodMiniXID, params);
347
+ }
348
+
349
+ // ZodMiniKSUID
350
+ export interface ZodMiniKSUID extends _ZodMiniString<core.$ZodKSUIDInternals> {
351
+ // _zod: core.$ZodKSUIDInternals;
352
+ }
353
+ export const ZodMiniKSUID: core.$constructor<ZodMiniKSUID> = /*@__PURE__*/ core.$constructor(
354
+ "ZodMiniKSUID",
355
+ (inst, def) => {
356
+ core.$ZodKSUID.init(inst, def);
357
+ ZodMiniStringFormat.init(inst, def);
358
+ }
359
+ );
360
+
361
+ // @__NO_SIDE_EFFECTS__
362
+ export function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID {
363
+ return core._ksuid(ZodMiniKSUID, params);
364
+ }
365
+
366
+ // ZodMiniIPv4
367
+ export interface ZodMiniIPv4 extends _ZodMiniString<core.$ZodIPv4Internals> {
368
+ // _zod: core.$ZodIPv4Internals;
369
+ }
370
+ export const ZodMiniIPv4: core.$constructor<ZodMiniIPv4> = /*@__PURE__*/ core.$constructor(
371
+ "ZodMiniIPv4",
372
+ (inst, def) => {
373
+ core.$ZodIPv4.init(inst, def);
374
+ ZodMiniStringFormat.init(inst, def);
375
+ }
376
+ );
377
+
378
+ // @__NO_SIDE_EFFECTS__
379
+ export function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4 {
380
+ return core._ipv4(ZodMiniIPv4, params);
381
+ }
382
+
383
+ // ZodMiniIPv6
384
+ export interface ZodMiniIPv6 extends _ZodMiniString<core.$ZodIPv6Internals> {
385
+ // _zod: core.$ZodIPv6Internals;
386
+ }
387
+ export const ZodMiniIPv6: core.$constructor<ZodMiniIPv6> = /*@__PURE__*/ core.$constructor(
388
+ "ZodMiniIPv6",
389
+ (inst, def) => {
390
+ core.$ZodIPv6.init(inst, def);
391
+ ZodMiniStringFormat.init(inst, def);
392
+ }
393
+ );
394
+
395
+ // @__NO_SIDE_EFFECTS__
396
+ export function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6 {
397
+ return core._ipv6(ZodMiniIPv6, params);
398
+ }
399
+
400
+ // ZodMiniCIDRv4
401
+ export interface ZodMiniCIDRv4 extends _ZodMiniString<core.$ZodCIDRv4Internals> {
402
+ // _zod: core.$ZodCIDRv4Internals;
403
+ }
404
+ export const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4> = /*@__PURE__*/ core.$constructor(
405
+ "ZodMiniCIDRv4",
406
+ (inst, def) => {
407
+ core.$ZodCIDRv4.init(inst, def);
408
+ ZodMiniStringFormat.init(inst, def);
409
+ }
410
+ );
411
+
412
+ // @__NO_SIDE_EFFECTS__
413
+ export function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4 {
414
+ return core._cidrv4(ZodMiniCIDRv4, params);
415
+ }
416
+
417
+ // ZodMiniCIDRv6
418
+ export interface ZodMiniCIDRv6 extends _ZodMiniString<core.$ZodCIDRv6Internals> {
419
+ // _zod: core.$ZodCIDRv6Internals;
420
+ }
421
+ export const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6> = /*@__PURE__*/ core.$constructor(
422
+ "ZodMiniCIDRv6",
423
+ (inst, def) => {
424
+ core.$ZodCIDRv6.init(inst, def);
425
+ ZodMiniStringFormat.init(inst, def);
426
+ }
427
+ );
428
+
429
+ // @__NO_SIDE_EFFECTS__
430
+ export function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6 {
431
+ return core._cidrv6(ZodMiniCIDRv6, params);
432
+ }
433
+
434
+ // ZodMiniMAC
435
+ export interface ZodMiniMAC extends _ZodMiniString<core.$ZodMACInternals> {
436
+ // _zod: core.$ZodMACInternals;
437
+ }
438
+ export const ZodMiniMAC: core.$constructor<ZodMiniMAC> = /*@__PURE__*/ core.$constructor("ZodMiniMAC", (inst, def) => {
439
+ core.$ZodMAC.init(inst, def);
440
+ ZodMiniStringFormat.init(inst, def);
441
+ });
442
+
443
+ // @__NO_SIDE_EFFECTS__
444
+ export function mac(params?: string | core.$ZodMACParams): ZodMiniMAC {
445
+ return core._mac(ZodMiniMAC, params);
446
+ }
447
+
448
+ // ZodMiniBase64
449
+ export interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {
450
+ // _zod: core.$ZodBase64Internals;
451
+ }
452
+ export const ZodMiniBase64: core.$constructor<ZodMiniBase64> = /*@__PURE__*/ core.$constructor(
453
+ "ZodMiniBase64",
454
+ (inst, def) => {
455
+ core.$ZodBase64.init(inst, def);
456
+ ZodMiniStringFormat.init(inst, def);
457
+ }
458
+ );
459
+ // @__NO_SIDE_EFFECTS__
460
+ export function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64 {
461
+ return core._base64(ZodMiniBase64, params);
462
+ }
463
+
464
+ // ZodMiniBase64URL
465
+ export interface ZodMiniBase64URL extends _ZodMiniString<core.$ZodBase64URLInternals> {
466
+ // _zod: core.$ZodBase64URLInternals;
467
+ }
468
+ export const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL> = /*@__PURE__*/ core.$constructor(
469
+ "ZodMiniBase64URL",
470
+ (inst, def) => {
471
+ core.$ZodBase64URL.init(inst, def);
472
+ ZodMiniStringFormat.init(inst, def);
473
+ }
474
+ );
475
+ // @__NO_SIDE_EFFECTS__
476
+ export function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL {
477
+ return core._base64url(ZodMiniBase64URL, params);
478
+ }
479
+
480
+ // ZodMiniE164
481
+ export interface ZodMiniE164 extends _ZodMiniString<core.$ZodE164Internals> {
482
+ // _zod: core.$ZodE164Internals;
483
+ }
484
+ export const ZodMiniE164: core.$constructor<ZodMiniE164> = /*@__PURE__*/ core.$constructor(
485
+ "ZodMiniE164",
486
+ (inst, def) => {
487
+ core.$ZodE164.init(inst, def);
488
+ ZodMiniStringFormat.init(inst, def);
489
+ }
490
+ );
491
+
492
+ // @__NO_SIDE_EFFECTS__
493
+ export function e164(params?: string | core.$ZodE164Params): ZodMiniE164 {
494
+ return core._e164(ZodMiniE164, params);
495
+ }
496
+
497
+ // ZodMiniCreditCard
498
+ export interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInternals> {}
499
+ export const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard> = /*@__PURE__*/ core.$constructor(
500
+ "ZodMiniCreditCard",
501
+ (inst, def) => {
502
+ core.$ZodCreditCard.init(inst, def);
503
+ ZodMiniStringFormat.init(inst, def);
504
+ }
505
+ );
506
+
507
+ // @__NO_SIDE_EFFECTS__
508
+ export function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard {
509
+ return core._creditCard(ZodMiniCreditCard, params);
510
+ }
511
+
512
+ // ZodMiniJWT
513
+ export interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {
514
+ // _zod: core.$ZodJWTInternals;
515
+ }
516
+ export const ZodMiniJWT: core.$constructor<ZodMiniJWT> = /*@__PURE__*/ core.$constructor("ZodMiniJWT", (inst, def) => {
517
+ core.$ZodJWT.init(inst, def);
518
+ ZodMiniStringFormat.init(inst, def);
519
+ });
520
+
521
+ // @__NO_SIDE_EFFECTS__
522
+ export function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT {
523
+ return core._jwt(ZodMiniJWT, params);
524
+ }
525
+
526
+ // ZodMiniCustomStringFormat
527
+ export interface ZodMiniCustomStringFormat<Format extends string = string>
528
+ extends ZodMiniStringFormat<Format>,
529
+ core.$ZodCustomStringFormat<Format> {
530
+ _zod: core.$ZodCustomStringFormatInternals<Format>;
531
+ }
532
+ export const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomStringFormat> = /*@__PURE__*/ core.$constructor(
533
+ "ZodMiniCustomStringFormat",
534
+ (inst, def) => {
535
+ core.$ZodCustomStringFormat.init(inst, def);
536
+ ZodMiniStringFormat.init(inst, def);
537
+ }
538
+ );
539
+
540
+ // @__NO_SIDE_EFFECTS__
541
+ export function stringFormat<Format extends string>(
542
+ format: Format,
543
+ fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
544
+ _params: string | core.$ZodStringFormatParams = {}
545
+ ): ZodMiniCustomStringFormat<Format> {
546
+ return core._stringFormat(ZodMiniCustomStringFormat, format, fnOrRegex, _params) as any;
547
+ }
548
+
549
+ // @__NO_SIDE_EFFECTS__
550
+ export function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hostname"> {
551
+ return core._stringFormat(ZodMiniCustomStringFormat, "hostname", core.regexes.hostname, _params) as any;
552
+ }
553
+
554
+ // @__NO_SIDE_EFFECTS__
555
+ export function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hex"> {
556
+ return core._stringFormat(ZodMiniCustomStringFormat, "hex", core.regexes.hex, _params) as any;
557
+ }
558
+
559
+ // @__NO_SIDE_EFFECTS__
560
+ export function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(
561
+ alg: Alg,
562
+ params?: {
563
+ enc?: Enc;
564
+ } & core.$ZodStringFormatParams
565
+ ): ZodMiniCustomStringFormat<`${Alg}_${Enc}`> {
566
+ const enc = params?.enc ?? "hex";
567
+ const format = `${alg}_${enc}` as const;
568
+ const regex = core.regexes[format as keyof typeof core.regexes] as RegExp;
569
+ // check for unrecognized format
570
+ if (!regex) throw new Error(`Unrecognized hash format: ${format}`);
571
+ return core._stringFormat(ZodMiniCustomStringFormat, format, regex, params) as any;
572
+ }
573
+
574
+ // ZodMiniNumber
575
+ interface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>>
576
+ extends _ZodMiniType<T>,
577
+ core.$ZodNumber<T["input"]> {
578
+ _zod: T;
579
+ }
580
+ export interface ZodMiniNumber<Input = unknown>
581
+ extends _ZodMiniNumber<core.$ZodNumberInternals<Input>>,
582
+ core.$ZodNumber<Input> {}
583
+ export const ZodMiniNumber: core.$constructor<ZodMiniNumber> = /*@__PURE__*/ core.$constructor(
584
+ "ZodMiniNumber",
585
+ (inst, def) => {
586
+ core.$ZodNumber.init(inst, def);
587
+ ZodMiniType.init(inst, def);
588
+ }
589
+ );
590
+
591
+ // @__NO_SIDE_EFFECTS__
592
+ export function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number> {
593
+ return core._number(ZodMiniNumber, params) as any;
594
+ }
595
+
596
+ // ZodMiniNumberFormat
597
+ export interface ZodMiniNumberFormat<Format extends core.$ZodNumberFormats = core.$ZodNumberFormats>
598
+ extends _ZodMiniNumber<core.$ZodNumberFormatInternals<Format>>,
599
+ core.$ZodNumberFormat<Format> {}
600
+ export const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat> = /*@__PURE__*/ core.$constructor(
601
+ "ZodMiniNumberFormat",
602
+ (inst, def) => {
603
+ core.$ZodNumberFormat.init(inst, def);
604
+ ZodMiniNumber.init(inst, def);
605
+ }
606
+ );
607
+
608
+ // int
609
+
610
+ // @__NO_SIDE_EFFECTS__
611
+ export interface ZodMiniInt extends ZodMiniNumberFormat<"safeint"> {}
612
+ export function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt {
613
+ return core._int(ZodMiniNumberFormat, params) as ZodMiniInt;
614
+ }
615
+
616
+ // float32
617
+
618
+ // @__NO_SIDE_EFFECTS__
619
+ export interface ZodMiniFloat32 extends ZodMiniNumberFormat<"float32"> {}
620
+ export function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat32 {
621
+ return core._float32(ZodMiniNumberFormat, params) as ZodMiniFloat32;
622
+ }
623
+
624
+ // float64
625
+
626
+ // @__NO_SIDE_EFFECTS__
627
+ export interface ZodMiniFloat64 extends ZodMiniNumberFormat<"float64"> {}
628
+ export function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat64 {
629
+ return core._float64(ZodMiniNumberFormat, params) as ZodMiniFloat64;
630
+ }
631
+
632
+ // int32
633
+
634
+ // @__NO_SIDE_EFFECTS__
635
+ export interface ZodMiniInt32 extends ZodMiniNumberFormat<"int32"> {}
636
+ export function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt32 {
637
+ return core._int32(ZodMiniNumberFormat, params) as ZodMiniInt32;
638
+ }
639
+
640
+ // uint32
641
+
642
+ // @__NO_SIDE_EFFECTS__
643
+ export interface ZodMiniUInt32 extends ZodMiniNumberFormat<"uint32"> {}
644
+ export function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniUInt32 {
645
+ return core._uint32(ZodMiniNumberFormat, params) as ZodMiniUInt32;
646
+ }
647
+
648
+ // ZodMiniBoolean
649
+ export interface ZodMiniBoolean<T = unknown> extends _ZodMiniType<core.$ZodBooleanInternals<T>> {
650
+ // _zod: core.$ZodBooleanInternals<T>;
651
+ }
652
+ export const ZodMiniBoolean: core.$constructor<ZodMiniBoolean> = /*@__PURE__*/ core.$constructor(
653
+ "ZodMiniBoolean",
654
+ (inst, def) => {
655
+ core.$ZodBoolean.init(inst, def);
656
+ ZodMiniType.init(inst, def);
657
+ }
658
+ );
659
+
660
+ // @__NO_SIDE_EFFECTS__
661
+ export function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean> {
662
+ return core._boolean(ZodMiniBoolean, params) as any;
663
+ }
664
+
665
+ // ZodMiniBigInt
666
+ export interface ZodMiniBigInt<T = unknown> extends _ZodMiniType<core.$ZodBigIntInternals<T>>, core.$ZodBigInt<T> {
667
+ // _zod: core.$ZodBigIntInternals<T>;
668
+ }
669
+ export const ZodMiniBigInt: core.$constructor<ZodMiniBigInt> = /*@__PURE__*/ core.$constructor(
670
+ "ZodMiniBigInt",
671
+ (inst, def) => {
672
+ core.$ZodBigInt.init(inst, def);
673
+ ZodMiniType.init(inst, def);
674
+ }
675
+ );
676
+
677
+ // @__NO_SIDE_EFFECTS__
678
+ export function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint> {
679
+ return core._bigint(ZodMiniBigInt, params) as any;
680
+ }
681
+
682
+ // bigint formats
683
+
684
+ // ZodMiniBigIntFormat
685
+ export interface ZodMiniBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats>
686
+ extends _ZodMiniType<core.$ZodBigIntFormatInternals<Format>> {
687
+ // _zod: core.$ZodBigIntFormatInternals<Format>;
688
+ }
689
+ export const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat> = /*@__PURE__*/ core.$constructor(
690
+ "ZodMiniBigIntFormat",
691
+ (inst, def) => {
692
+ core.$ZodBigIntFormat.init(inst, def);
693
+ ZodMiniBigInt.init(inst, def);
694
+ }
695
+ );
696
+
697
+ // int64
698
+
699
+ // @__NO_SIDE_EFFECTS__
700
+ export interface ZodMiniInt64 extends ZodMiniBigIntFormat<"int64"> {}
701
+ export function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniInt64 {
702
+ return core._int64(ZodMiniBigIntFormat, params) as ZodMiniInt64;
703
+ }
704
+
705
+ // uint64
706
+
707
+ // @__NO_SIDE_EFFECTS__
708
+ export interface ZodMiniUInt64 extends ZodMiniBigIntFormat<"uint64"> {}
709
+ export function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniUInt64 {
710
+ return core._uint64(ZodMiniBigIntFormat, params) as ZodMiniUInt64;
711
+ }
712
+
713
+ // ZodMiniSymbol
714
+ export interface ZodMiniSymbol extends _ZodMiniType<core.$ZodSymbolInternals> {
715
+ // _zod: core.$ZodSymbolInternals;
716
+ }
717
+ export const ZodMiniSymbol: core.$constructor<ZodMiniSymbol> = /*@__PURE__*/ core.$constructor(
718
+ "ZodMiniSymbol",
719
+ (inst, def) => {
720
+ core.$ZodSymbol.init(inst, def);
721
+ ZodMiniType.init(inst, def);
722
+ }
723
+ );
724
+
725
+ // @__NO_SIDE_EFFECTS__
726
+ export function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol {
727
+ return core._symbol(ZodMiniSymbol, params) as any;
728
+ }
729
+
730
+ // ZodMiniUndefined
731
+ export interface ZodMiniUndefined extends _ZodMiniType<core.$ZodUndefinedInternals> {
732
+ // _zod: core.$ZodUndefinedInternals;
733
+ }
734
+ export const ZodMiniUndefined: core.$constructor<ZodMiniUndefined> = /*@__PURE__*/ core.$constructor(
735
+ "ZodMiniUndefined",
736
+ (inst, def) => {
737
+ core.$ZodUndefined.init(inst, def);
738
+ ZodMiniType.init(inst, def);
739
+ }
740
+ );
741
+
742
+ // @__NO_SIDE_EFFECTS__
743
+ function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined {
744
+ return core._undefined(ZodMiniUndefined, params) as any;
745
+ }
746
+ export { _undefined as undefined };
747
+
748
+ // ZodMiniNull
749
+ export interface ZodMiniNull extends _ZodMiniType<core.$ZodNullInternals> {
750
+ // _zod: core.$ZodNullInternals;
751
+ }
752
+ export const ZodMiniNull: core.$constructor<ZodMiniNull> = /*@__PURE__*/ core.$constructor(
753
+ "ZodMiniNull",
754
+ (inst, def) => {
755
+ core.$ZodNull.init(inst, def);
756
+ ZodMiniType.init(inst, def);
757
+ }
758
+ );
759
+
760
+ // @__NO_SIDE_EFFECTS__
761
+ function _null(params?: string | core.$ZodNullParams): ZodMiniNull {
762
+ return core._null(ZodMiniNull, params) as any;
763
+ }
764
+ export { _null as null };
765
+
766
+ // ZodMiniAny
767
+ export interface ZodMiniAny extends _ZodMiniType<core.$ZodAnyInternals> {
768
+ // _zod: core.$ZodAnyInternals;
769
+ }
770
+ export const ZodMiniAny: core.$constructor<ZodMiniAny> = /*@__PURE__*/ core.$constructor("ZodMiniAny", (inst, def) => {
771
+ core.$ZodAny.init(inst, def);
772
+ ZodMiniType.init(inst, def);
773
+ });
774
+
775
+ // @__NO_SIDE_EFFECTS__
776
+ export function any(): ZodMiniAny {
777
+ return core._any(ZodMiniAny) as any;
778
+ }
779
+
780
+ // ZodMiniUnknown
781
+ export interface ZodMiniUnknown extends _ZodMiniType<core.$ZodUnknownInternals> {
782
+ // _zod: core.$ZodUnknownInternals;
783
+ }
784
+ export const ZodMiniUnknown: core.$constructor<ZodMiniUnknown> = /*@__PURE__*/ core.$constructor(
785
+ "ZodMiniUnknown",
786
+ (inst, def) => {
787
+ core.$ZodUnknown.init(inst, def);
788
+ ZodMiniType.init(inst, def);
789
+ }
790
+ );
791
+
792
+ // @__NO_SIDE_EFFECTS__
793
+ export function unknown(): ZodMiniUnknown {
794
+ return core._unknown(ZodMiniUnknown) as any;
795
+ }
796
+
797
+ // ZodMiniNever
798
+ export interface ZodMiniNever extends _ZodMiniType<core.$ZodNeverInternals> {
799
+ // _zod: core.$ZodNeverInternals;
800
+ }
801
+ export const ZodMiniNever: core.$constructor<ZodMiniNever> = /*@__PURE__*/ core.$constructor(
802
+ "ZodMiniNever",
803
+ (inst, def) => {
804
+ core.$ZodNever.init(inst, def);
805
+ ZodMiniType.init(inst, def);
806
+ }
807
+ );
808
+
809
+ // @__NO_SIDE_EFFECTS__
810
+ export function never(params?: string | core.$ZodNeverParams): ZodMiniNever {
811
+ return core._never(ZodMiniNever, params) as any;
812
+ }
813
+
814
+ // ZodMiniVoid
815
+ export interface ZodMiniVoid extends _ZodMiniType<core.$ZodVoidInternals> {
816
+ // _zod: core.$ZodVoidInternals;
817
+ }
818
+ export const ZodMiniVoid: core.$constructor<ZodMiniVoid> = /*@__PURE__*/ core.$constructor(
819
+ "ZodMiniVoid",
820
+ (inst, def) => {
821
+ core.$ZodVoid.init(inst, def);
822
+ ZodMiniType.init(inst, def);
823
+ }
824
+ );
825
+
826
+ // @__NO_SIDE_EFFECTS__
827
+ function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid {
828
+ return core._void(ZodMiniVoid, params) as any;
829
+ }
830
+ export { _void as void };
831
+
832
+ // ZodMiniDate
833
+ export interface ZodMiniDate<T = unknown> extends _ZodMiniType<core.$ZodDateInternals<T>> {
834
+ // _zod: core.$ZodDateInternals<T>;
835
+ }
836
+
837
+ export const ZodMiniDate: core.$constructor<ZodMiniDate> = /*@__PURE__*/ core.$constructor(
838
+ "ZodMiniDate",
839
+ (inst, def) => {
840
+ core.$ZodDate.init(inst, def);
841
+ ZodMiniType.init(inst, def);
842
+ }
843
+ );
844
+
845
+ // @__NO_SIDE_EFFECTS__
846
+ export function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date> {
847
+ return core._date(ZodMiniDate, params) as any;
848
+ }
849
+
850
+ // ZodMiniArray
851
+ export interface ZodMiniArray<T extends SomeType = core.$ZodType>
852
+ extends _ZodMiniType<core.$ZodArrayInternals<T>>,
853
+ core.$ZodArray<T> {
854
+ // _zod: core.$ZodArrayInternals<T>;
855
+ }
856
+ export const ZodMiniArray: core.$constructor<ZodMiniArray> = /*@__PURE__*/ core.$constructor(
857
+ "ZodMiniArray",
858
+ (inst, def) => {
859
+ core.$ZodArray.init(inst, def);
860
+ ZodMiniType.init(inst, def);
861
+ }
862
+ );
863
+
864
+ export function array<T extends SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray<T>;
865
+ // @__NO_SIDE_EFFECTS__
866
+ export function array<T extends SomeType>(element: SomeType, params?: any): ZodMiniArray<T> {
867
+ return new ZodMiniArray({
868
+ type: "array",
869
+ element: element as core.$ZodType,
870
+ ...util.normalizeParams(params),
871
+ }) as any;
872
+ }
873
+
874
+ // .keyof
875
+ // @__NO_SIDE_EFFECTS__
876
+ export function keyof<T extends ZodMiniObject>(schema: T): ZodMiniEnum<util.KeysEnum<T["shape"]>> {
877
+ const shape = schema._zod.def.shape;
878
+ return _enum(Object.keys(shape)) as any;
879
+ }
880
+
881
+ // ZodMiniObject
882
+ export interface ZodMiniObject<
883
+ /** @ts-ignore Cast variance */
884
+ out Shape extends core.$ZodShape = core.$ZodShape,
885
+ out Config extends core.$ZodObjectConfig = core.$strip,
886
+ > extends ZodMiniType<any, any, core.$ZodObjectInternals<Shape, Config>>,
887
+ core.$ZodObject<Shape, Config> {
888
+ shape: Shape;
889
+ }
890
+ export const ZodMiniObject: core.$constructor<ZodMiniObject> = /*@__PURE__*/ core.$constructor(
891
+ "ZodMiniObject",
892
+ (inst, def) => {
893
+ core.$ZodObject.init(inst, def);
894
+ ZodMiniType.init(inst, def);
895
+ util.installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
896
+ }
897
+ );
898
+ // @__NO_SIDE_EFFECTS__
899
+ export function object<T extends core.$ZodLooseShape = Record<never, SomeType>>(
900
+ shape?: T,
901
+ params?: string | core.$ZodObjectParams
902
+ ): ZodMiniObject<util.Writeable<T>, core.$strip> {
903
+ const def: core.$ZodObjectDef = {
904
+ type: "object",
905
+ shape: shape ?? {},
906
+ ...util.normalizeParams(params),
907
+ };
908
+ return new ZodMiniObject(def) as any;
909
+ }
910
+
911
+ // strictObject
912
+ // @__NO_SIDE_EFFECTS__
913
+ export function strictObject<T extends core.$ZodLooseShape>(
914
+ shape: T,
915
+ params?: string | core.$ZodObjectParams
916
+ ): ZodMiniObject<util.Writeable<T>, core.$strict> {
917
+ return new ZodMiniObject({
918
+ type: "object",
919
+ shape,
920
+ catchall: never(),
921
+ ...util.normalizeParams(params),
922
+ }) as any;
923
+ }
924
+
925
+ // looseObject
926
+ // @__NO_SIDE_EFFECTS__
927
+ export function looseObject<T extends core.$ZodLooseShape>(
928
+ shape: T,
929
+ params?: string | core.$ZodObjectParams
930
+ ): ZodMiniObject<util.Writeable<T>, core.$loose> {
931
+ return new ZodMiniObject({
932
+ type: "object",
933
+ shape,
934
+ catchall: unknown(),
935
+ ...util.normalizeParams(params),
936
+ }) as any;
937
+ }
938
+
939
+ // object methods
940
+ // @__NO_SIDE_EFFECTS__
941
+ export function extend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
942
+ schema: T,
943
+ shape: U
944
+ ): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
945
+ return util.extend(schema, shape);
946
+ }
947
+
948
+ export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
949
+ [K in keyof Ext]: K extends keyof Base
950
+ ? core.output<Ext[K]> extends core.output<Base[K]>
951
+ ? core.input<Ext[K]> extends core.input<Base[K]>
952
+ ? Ext[K]
953
+ : never
954
+ : never
955
+ : Ext[K];
956
+ };
957
+
958
+ // @__NO_SIDE_EFFECTS__
959
+ export function safeExtend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(
960
+ schema: T,
961
+ shape: SafeExtendShape<T["shape"], U>
962
+ ): ZodMiniObject<util.Extend<T["shape"], util.Writeable<U>>, T["_zod"]["config"]> {
963
+ return util.safeExtend(schema, shape as any);
964
+ }
965
+
966
+ /**
967
+ * @deprecated Use [`z.extend(A, B.shape)`](https://zod.dev/api?id=extend) instead.
968
+ */
969
+ // @__NO_SIDE_EFFECTS__
970
+ export function merge<T extends ZodMiniObject, U extends ZodMiniObject>(
971
+ a: T,
972
+ b: U
973
+ ): ZodMiniObject<util.Extend<T["shape"], U["shape"]>, U["_zod"]["config"]> {
974
+ return util.merge(a, b) as any;
975
+ }
976
+
977
+ // @__NO_SIDE_EFFECTS__
978
+ export function pick<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
979
+ schema: T,
980
+ mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
981
+ ): ZodMiniObject<util.Flatten<Pick<T["shape"], keyof T["shape"] & keyof M>>, T["_zod"]["config"]> {
982
+ return util.pick(schema, mask as any);
983
+ }
984
+
985
+ // .omit
986
+
987
+ // @__NO_SIDE_EFFECTS__
988
+ export function omit<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
989
+ schema: T,
990
+ mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
991
+ ): ZodMiniObject<util.Flatten<Omit<T["shape"], keyof M>>, T["_zod"]["config"]> {
992
+ return util.omit(schema, mask);
993
+ }
994
+
995
+ // @__NO_SIDE_EFFECTS__
996
+ export function partial<T extends ZodMiniObject>(
997
+ schema: T
998
+ ): ZodMiniObject<
999
+ {
1000
+ -readonly [k in keyof T["shape"]]: ZodMiniOptional<T["shape"][k]>;
1001
+ },
1002
+ T["_zod"]["config"]
1003
+ >;
1004
+ // @__NO_SIDE_EFFECTS__
1005
+ export function partial<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
1006
+ schema: T,
1007
+ mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
1008
+ ): ZodMiniObject<
1009
+ {
1010
+ -readonly [k in keyof T["shape"]]: k extends keyof M ? ZodMiniOptional<T["shape"][k]> : T["shape"][k];
1011
+ },
1012
+ T["_zod"]["config"]
1013
+ >;
1014
+ // @__NO_SIDE_EFFECTS__
1015
+ export function partial<T extends util.TupleItems, Rest extends SomeType | null>(
1016
+ schema: ZodMiniTuple<T, Rest>
1017
+ ): ZodMiniTuple<{ -readonly [k in keyof T]: ZodMiniOptional<T[k]> }, Rest>;
1018
+ // @__NO_SIDE_EFFECTS__
1019
+ export function partial(schema: ZodMiniObject | ZodMiniTuple, mask?: object) {
1020
+ const def = schema._zod.def;
1021
+ if (def.type !== "tuple") return util.partial(ZodMiniOptional, schema as ZodMiniObject, mask);
1022
+ // a refinement was authored against the full arity; partialing would run it on a shorter array
1023
+ if (def.checks?.length) throw new Error(".partial() cannot be used on tuple schemas containing refinements");
1024
+ return util.clone(schema, {
1025
+ ...def,
1026
+ items: def.items.map((item) => new ZodMiniOptional({ type: "optional", innerType: item as core.$ZodType })),
1027
+ });
1028
+ }
1029
+
1030
+ // @__NO_SIDE_EFFECTS__
1031
+ export function exactPartial<T extends ZodMiniObject>(
1032
+ schema: T
1033
+ ): ZodMiniObject<
1034
+ {
1035
+ -readonly [k in keyof T["shape"]]: ZodMiniExactOptional<T["shape"][k]>;
1036
+ },
1037
+ T["_zod"]["config"]
1038
+ >;
1039
+ // @__NO_SIDE_EFFECTS__
1040
+ export function exactPartial<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
1041
+ schema: T,
1042
+ mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
1043
+ ): ZodMiniObject<
1044
+ {
1045
+ -readonly [k in keyof T["shape"]]: k extends keyof M ? ZodMiniExactOptional<T["shape"][k]> : T["shape"][k];
1046
+ },
1047
+ T["_zod"]["config"]
1048
+ >;
1049
+ // @__NO_SIDE_EFFECTS__
1050
+ export function exactPartial(schema: ZodMiniObject, mask?: object) {
1051
+ return util.partial(ZodMiniExactOptional, schema, mask, "exactPartial");
1052
+ }
1053
+
1054
+ export type RequiredInterfaceShape<
1055
+ Shape extends core.$ZodLooseShape,
1056
+ Keys extends PropertyKey = keyof Shape,
1057
+ > = util.Identity<
1058
+ {
1059
+ [k in keyof Shape as k extends Keys ? k : never]: ZodMiniNonOptional<Shape[k]>;
1060
+ } & {
1061
+ [k in keyof Shape as k extends Keys ? never : k]: Shape[k];
1062
+ }
1063
+ >;
1064
+
1065
+ // @__NO_SIDE_EFFECTS__
1066
+ export function required<T extends ZodMiniObject>(
1067
+ schema: T
1068
+ ): ZodMiniObject<
1069
+ {
1070
+ -readonly [k in keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
1071
+ },
1072
+ T["_zod"]["config"]
1073
+ >;
1074
+ // @__NO_SIDE_EFFECTS__
1075
+ export function required<T extends ZodMiniObject, M extends util.Mask<keyof T["shape"]>>(
1076
+ schema: T,
1077
+ mask: M & Record<Exclude<keyof M, keyof T["shape"]>, never>
1078
+ ): ZodMiniObject<
1079
+ util.Extend<
1080
+ T["shape"],
1081
+ {
1082
+ [k in keyof M & keyof T["shape"]]: ZodMiniNonOptional<T["shape"][k]>;
1083
+ }
1084
+ >,
1085
+ T["_zod"]["config"]
1086
+ >;
1087
+ // @__NO_SIDE_EFFECTS__
1088
+ export function required(schema: ZodMiniObject, mask?: object) {
1089
+ return util.required(ZodMiniNonOptional, schema, mask);
1090
+ }
1091
+
1092
+ // @__NO_SIDE_EFFECTS__
1093
+ export function catchall<T extends ZodMiniObject, U extends SomeType>(
1094
+ inst: T,
1095
+ catchall: U
1096
+ ): ZodMiniObject<T["shape"], core.$catchall<U>> {
1097
+ return inst.clone({ ...inst._zod.def, catchall: catchall as any }) as any;
1098
+ }
1099
+
1100
+ // ZodMiniUnion
1101
+ export interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]>
1102
+ extends _ZodMiniType<core.$ZodUnionInternals<T>> {
1103
+ // _zod: core.$ZodUnionInternals<T>;
1104
+ }
1105
+ export const ZodMiniUnion: core.$constructor<ZodMiniUnion> = /*@__PURE__*/ core.$constructor(
1106
+ "ZodMiniUnion",
1107
+ (inst, def) => {
1108
+ core.$ZodUnion.init(inst, def);
1109
+ ZodMiniType.init(inst, def);
1110
+ }
1111
+ );
1112
+
1113
+ // @__NO_SIDE_EFFECTS__
1114
+ export function union<const T extends readonly SomeType[]>(
1115
+ options: T,
1116
+ params?: string | core.$ZodUnionParams
1117
+ ): ZodMiniUnion<T> {
1118
+ return new ZodMiniUnion({
1119
+ type: "union",
1120
+ options: options as any as core.$ZodType[],
1121
+ ...util.normalizeParams(params),
1122
+ }) as any;
1123
+ }
1124
+
1125
+ // ZodMiniXor
1126
+ export interface ZodMiniXor<T extends readonly SomeType[] = readonly core.$ZodType[]>
1127
+ extends _ZodMiniType<core.$ZodXorInternals<T>> {
1128
+ // _zod: core.$ZodXorInternals<T>;
1129
+ }
1130
+ export const ZodMiniXor: core.$constructor<ZodMiniXor> = /*@__PURE__*/ core.$constructor("ZodMiniXor", (inst, def) => {
1131
+ ZodMiniUnion.init(inst, def);
1132
+ core.$ZodXor.init(inst, def);
1133
+ });
1134
+
1135
+ /** Creates an exclusive union (XOR) where exactly one option must match.
1136
+ * Unlike regular unions that succeed when any option matches, xor fails if
1137
+ * zero or more than one option matches the input. */
1138
+ export function xor<const T extends readonly SomeType[]>(
1139
+ options: T,
1140
+ params?: string | core.$ZodXorParams
1141
+ ): ZodMiniXor<T> {
1142
+ return new ZodMiniXor({
1143
+ type: "union",
1144
+ options: options as any as core.$ZodType[],
1145
+ inclusive: false,
1146
+ ...util.normalizeParams(params),
1147
+ }) as any;
1148
+ }
1149
+
1150
+ // ZodMiniDiscriminatedUnion
1151
+ export interface ZodMiniDiscriminatedUnion<
1152
+ Options extends readonly SomeType[] = readonly core.$ZodType[],
1153
+ Disc extends string = string,
1154
+ > extends ZodMiniUnion<Options> {
1155
+ _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
1156
+ }
1157
+ export const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion> = /*@__PURE__*/ core.$constructor(
1158
+ "ZodMiniDiscriminatedUnion",
1159
+ (inst, def) => {
1160
+ core.$ZodDiscriminatedUnion.init(inst, def);
1161
+ ZodMiniType.init(inst, def);
1162
+ }
1163
+ );
1164
+
1165
+ // @__NO_SIDE_EFFECTS__
1166
+ export function discriminatedUnion<
1167
+ Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
1168
+ Disc extends string,
1169
+ >(
1170
+ discriminator: Disc,
1171
+ options: Types,
1172
+ params?: string | core.$ZodDiscriminatedUnionParams
1173
+ ): ZodMiniDiscriminatedUnion<Types, Disc> {
1174
+ return new ZodMiniDiscriminatedUnion({
1175
+ type: "union",
1176
+ options: options as any as core.$ZodType[],
1177
+ discriminator,
1178
+ ...util.normalizeParams(params),
1179
+ }) as any as ZodMiniDiscriminatedUnion<Types, Disc>;
1180
+ }
1181
+
1182
+ // ZodMiniIntersection
1183
+ export interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
1184
+ extends _ZodMiniType<core.$ZodIntersectionInternals<A, B>> {
1185
+ // _zod: core.$ZodIntersectionInternals<A, B>;
1186
+ }
1187
+ export const ZodMiniIntersection: core.$constructor<ZodMiniIntersection> = /*@__PURE__*/ core.$constructor(
1188
+ "ZodMiniIntersection",
1189
+ (inst, def) => {
1190
+ core.$ZodIntersection.init(inst, def);
1191
+ ZodMiniType.init(inst, def);
1192
+ }
1193
+ );
1194
+
1195
+ // @__NO_SIDE_EFFECTS__
1196
+ export function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U> {
1197
+ return new ZodMiniIntersection({
1198
+ type: "intersection",
1199
+ left: left as any as core.$ZodType,
1200
+ right: right as any as core.$ZodType,
1201
+ }) as any;
1202
+ }
1203
+
1204
+ // ZodMiniTuple
1205
+ export interface ZodMiniTuple<
1206
+ T extends util.TupleItems = readonly core.$ZodType[],
1207
+ Rest extends SomeType | null = core.$ZodType | null,
1208
+ > extends _ZodMiniType<core.$ZodTupleInternals<T, Rest>> {
1209
+ // _zod: core.$ZodTupleInternals<T, Rest>;
1210
+ }
1211
+ export const ZodMiniTuple: core.$constructor<ZodMiniTuple> = /*@__PURE__*/ core.$constructor(
1212
+ "ZodMiniTuple",
1213
+ (inst, def) => {
1214
+ core.$ZodTuple.init(inst, def);
1215
+ ZodMiniType.init(inst, def);
1216
+ }
1217
+ );
1218
+
1219
+ export function tuple<const T extends readonly [SomeType, ...SomeType[]]>(
1220
+ items: T,
1221
+ params?: string | core.$ZodTupleParams
1222
+ ): ZodMiniTuple<T, null>;
1223
+ export function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(
1224
+ items: T,
1225
+ rest: Rest,
1226
+ params?: string | core.$ZodTupleParams
1227
+ ): ZodMiniTuple<T, Rest>;
1228
+ export function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;
1229
+ // @__NO_SIDE_EFFECTS__
1230
+ export function tuple(
1231
+ items: SomeType[],
1232
+ _paramsOrRest?: string | core.$ZodTupleParams | SomeType,
1233
+ _params?: string | core.$ZodTupleParams
1234
+ ) {
1235
+ const hasRest = _paramsOrRest instanceof core.$ZodType;
1236
+ const params = hasRest ? _params : _paramsOrRest;
1237
+ const rest = hasRest ? _paramsOrRest : null;
1238
+ return new ZodMiniTuple({
1239
+ type: "tuple",
1240
+ items: items as any as core.$ZodType[],
1241
+ rest,
1242
+ ...util.normalizeParams(params),
1243
+ });
1244
+ }
1245
+
1246
+ // ZodMiniRecord
1247
+ export interface ZodMiniRecord<
1248
+ Key extends core.$ZodRecordKey = core.$ZodRecordKey,
1249
+ Value extends SomeType = core.$ZodType,
1250
+ > extends _ZodMiniType<core.$ZodRecordInternals<Key, Value>> {
1251
+ // _zod: core.$ZodRecordInternals<Key, Value>;
1252
+ }
1253
+ export const ZodMiniRecord: core.$constructor<ZodMiniRecord> = /*@__PURE__*/ core.$constructor(
1254
+ "ZodMiniRecord",
1255
+ (inst, def) => {
1256
+ core.$ZodRecord.init(inst, def);
1257
+ ZodMiniType.init(inst, def);
1258
+ }
1259
+ );
1260
+
1261
+ // @__NO_SIDE_EFFECTS__
1262
+ export function record<Key extends core.$ZodRecordKey, Value extends SomeType>(
1263
+ keyType: Key,
1264
+ valueType: Value,
1265
+ params?: string | core.$ZodRecordParams
1266
+ ): ZodMiniRecord<Key, Value> {
1267
+ // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
1268
+ if (!valueType || !(valueType as any)._zod) {
1269
+ return new ZodMiniRecord({
1270
+ type: "record",
1271
+ keyType: string() as any,
1272
+ valueType: keyType as any as core.$ZodType,
1273
+ ...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
1274
+ }) as any;
1275
+ }
1276
+ return new ZodMiniRecord({
1277
+ type: "record",
1278
+ keyType,
1279
+ valueType: valueType as any as core.$ZodType,
1280
+ ...util.normalizeParams(params),
1281
+ }) as any;
1282
+ }
1283
+ // @__NO_SIDE_EFFECTS__
1284
+ export function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
1285
+ keyType: Key,
1286
+ valueType: Value,
1287
+ params?: string | core.$ZodRecordParams
1288
+ ): ZodMiniRecord<Key & core.$partial, Value> {
1289
+ return new ZodMiniRecord({
1290
+ type: "record",
1291
+ keyType,
1292
+ valueType: valueType as any,
1293
+ ...util.normalizeParams(params),
1294
+ partial: true,
1295
+ }) as any;
1296
+ }
1297
+
1298
+ export function looseRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(
1299
+ keyType: Key,
1300
+ valueType: Value,
1301
+ params?: string | core.$ZodRecordParams
1302
+ ): ZodMiniRecord<Key, Value> {
1303
+ return new ZodMiniRecord({
1304
+ type: "record",
1305
+ keyType,
1306
+ valueType: valueType as any as core.$ZodType,
1307
+ mode: "loose",
1308
+ ...util.normalizeParams(params),
1309
+ }) as any;
1310
+ }
1311
+
1312
+ // ZodMiniMap
1313
+ export interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType>
1314
+ extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {
1315
+ // _zod: core.$ZodMapInternals<Key, Value>;
1316
+ }
1317
+ export const ZodMiniMap: core.$constructor<ZodMiniMap> = /*@__PURE__*/ core.$constructor("ZodMiniMap", (inst, def) => {
1318
+ core.$ZodMap.init(inst, def);
1319
+ ZodMiniType.init(inst, def);
1320
+ });
1321
+
1322
+ // @__NO_SIDE_EFFECTS__
1323
+ export function map<Key extends SomeType, Value extends SomeType>(
1324
+ keyType: Key,
1325
+ valueType: Value,
1326
+ params?: string | core.$ZodMapParams
1327
+ ): ZodMiniMap<Key, Value> {
1328
+ return new ZodMiniMap({
1329
+ type: "map",
1330
+ keyType: keyType as any as core.$ZodType,
1331
+ valueType: valueType as any as core.$ZodType,
1332
+ ...util.normalizeParams(params),
1333
+ }) as any;
1334
+ }
1335
+
1336
+ // ZodMiniSet
1337
+ export interface ZodMiniSet<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSetInternals<T>> {
1338
+ // _zod: core.$ZodSetInternals<T>;
1339
+ }
1340
+ export const ZodMiniSet: core.$constructor<ZodMiniSet> = /*@__PURE__*/ core.$constructor("ZodMiniSet", (inst, def) => {
1341
+ core.$ZodSet.init(inst, def);
1342
+ ZodMiniType.init(inst, def);
1343
+ });
1344
+
1345
+ // @__NO_SIDE_EFFECTS__
1346
+ export function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value> {
1347
+ return new ZodMiniSet({
1348
+ type: "set",
1349
+ valueType: valueType as any as core.$ZodType,
1350
+ ...util.normalizeParams(params),
1351
+ }) as any;
1352
+ }
1353
+
1354
+ // ZodMiniEnum
1355
+ export interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {
1356
+ // _zod: core.$ZodEnumInternals<T>;
1357
+ options: Array<T[keyof T]>;
1358
+ }
1359
+ export const ZodMiniEnum: core.$constructor<ZodMiniEnum> = /*@__PURE__*/ core.$constructor(
1360
+ "ZodMiniEnum",
1361
+ (inst, def) => {
1362
+ core.$ZodEnum.init(inst, def);
1363
+ ZodMiniType.init(inst, def);
1364
+
1365
+ inst.options = Object.values(def.entries);
1366
+ }
1367
+ );
1368
+
1369
+ function _enum<const T extends readonly string[]>(
1370
+ values: T,
1371
+ params?: string | core.$ZodEnumParams
1372
+ ): ZodMiniEnum<util.ToEnum<T[number]>>;
1373
+ function _enum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;
1374
+ // @__NO_SIDE_EFFECTS__
1375
+ function _enum(values: any, params?: string | core.$ZodEnumParams) {
1376
+ const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
1377
+
1378
+ return new ZodMiniEnum({
1379
+ type: "enum",
1380
+ entries,
1381
+ ...util.normalizeParams(params),
1382
+ }) as any;
1383
+ }
1384
+ export { _enum as enum };
1385
+
1386
+ // @__NO_SIDE_EFFECTS__
1387
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
1388
+ *
1389
+ * ```ts
1390
+ * enum Colors { red, green, blue }
1391
+ * z.enum(Colors);
1392
+ * ```
1393
+ */
1394
+ export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T> {
1395
+ return new ZodMiniEnum({
1396
+ type: "enum",
1397
+ entries,
1398
+ ...util.normalizeParams(params),
1399
+ }) as any as ZodMiniEnum<T>;
1400
+ }
1401
+
1402
+ // ZodMiniLiteral
1403
+ export interface ZodMiniLiteral<T extends util.Literal = util.Literal>
1404
+ extends _ZodMiniType<core.$ZodLiteralInternals<T>> {
1405
+ // _zod: core.$ZodLiteralInternals<T>;
1406
+ }
1407
+ export const ZodMiniLiteral: core.$constructor<ZodMiniLiteral> = /*@__PURE__*/ core.$constructor(
1408
+ "ZodMiniLiteral",
1409
+ (inst, def) => {
1410
+ core.$ZodLiteral.init(inst, def);
1411
+ ZodMiniType.init(inst, def);
1412
+ }
1413
+ );
1414
+
1415
+ export function literal<const T extends ReadonlyArray<util.Literal>>(
1416
+ value: T,
1417
+ params?: string | core.$ZodLiteralParams
1418
+ ): ZodMiniLiteral<T[number]>;
1419
+ export function literal<const T extends util.Literal>(
1420
+ value: T,
1421
+ params?: string | core.$ZodLiteralParams
1422
+ ): ZodMiniLiteral<T>;
1423
+ // @__NO_SIDE_EFFECTS__
1424
+ export function literal(value: any, params: any) {
1425
+ return new ZodMiniLiteral({
1426
+ type: "literal",
1427
+ values: Array.isArray(value) ? value : [value],
1428
+ ...util.normalizeParams(params),
1429
+ });
1430
+ }
1431
+
1432
+ // ZodMiniFile
1433
+ export interface ZodMiniFile extends _ZodMiniType<core.$ZodFileInternals> {
1434
+ // _zod: core.$ZodFileInternals;
1435
+ }
1436
+ export const ZodMiniFile: core.$constructor<ZodMiniFile> = /*@__PURE__*/ core.$constructor(
1437
+ "ZodMiniFile",
1438
+ (inst, def) => {
1439
+ core.$ZodFile.init(inst, def);
1440
+ ZodMiniType.init(inst, def);
1441
+ }
1442
+ );
1443
+
1444
+ // @__NO_SIDE_EFFECTS__
1445
+ export function file(params?: string | core.$ZodFileParams): ZodMiniFile {
1446
+ return core._file(ZodMiniFile, params) as any;
1447
+ }
1448
+
1449
+ // ZodMiniTransform
1450
+ export interface ZodMiniTransform<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodTransformInternals<O, I>> {
1451
+ // _zod: core.$ZodTransformInternals<O, I>;
1452
+ }
1453
+ export const ZodMiniTransform: core.$constructor<ZodMiniTransform> = /*@__PURE__*/ core.$constructor(
1454
+ "ZodMiniTransform",
1455
+ (inst, def) => {
1456
+ core.$ZodTransform.init(inst, def);
1457
+ ZodMiniType.init(inst, def);
1458
+ }
1459
+ );
1460
+
1461
+ // @__NO_SIDE_EFFECTS__
1462
+ export function transform<I = unknown, O = I>(
1463
+ fn: (input: I, ctx: core.ParsePayload) => O
1464
+ ): ZodMiniTransform<Awaited<O>, I> {
1465
+ return new ZodMiniTransform({
1466
+ type: "transform",
1467
+ transform: fn as any,
1468
+ }) as any;
1469
+ }
1470
+
1471
+ // ZodMiniOptional
1472
+ export interface ZodMiniOptional<T extends SomeType = core.$ZodType>
1473
+ extends _ZodMiniType<core.$ZodOptionalInternals<T>>,
1474
+ core.$ZodOptional<T> {
1475
+ // _zod: core.$ZodOptionalInternals<T>;
1476
+ }
1477
+ export const ZodMiniOptional: core.$constructor<ZodMiniOptional> = /*@__PURE__*/ core.$constructor(
1478
+ "ZodMiniOptional",
1479
+ (inst, def) => {
1480
+ core.$ZodOptional.init(inst, def);
1481
+ ZodMiniType.init(inst, def);
1482
+ }
1483
+ );
1484
+
1485
+ // @__NO_SIDE_EFFECTS__
1486
+ export function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T> {
1487
+ return new ZodMiniOptional({
1488
+ type: "optional",
1489
+ innerType: innerType as any as core.$ZodType,
1490
+ }) as any;
1491
+ }
1492
+
1493
+ // ZodMiniExactOptional
1494
+ export interface ZodMiniExactOptional<T extends SomeType = core.$ZodType>
1495
+ extends _ZodMiniType<core.$ZodExactOptionalInternals<T>>,
1496
+ core.$ZodExactOptional<T> {
1497
+ // _zod: core.$ZodExactOptionalInternals<T>;
1498
+ }
1499
+ export const ZodMiniExactOptional: core.$constructor<ZodMiniExactOptional> = /*@__PURE__*/ core.$constructor(
1500
+ "ZodMiniExactOptional",
1501
+ (inst, def) => {
1502
+ core.$ZodExactOptional.init(inst, def);
1503
+ ZodMiniType.init(inst, def);
1504
+ }
1505
+ );
1506
+
1507
+ // @__NO_SIDE_EFFECTS__
1508
+ export function exactOptional<T extends SomeType>(innerType: T): ZodMiniExactOptional<T> {
1509
+ return new ZodMiniExactOptional({
1510
+ type: "optional",
1511
+ innerType: innerType as any as core.$ZodType,
1512
+ }) as any;
1513
+ }
1514
+
1515
+ // ZodMiniNullable
1516
+ export interface ZodMiniNullable<T extends SomeType = core.$ZodType>
1517
+ extends _ZodMiniType<core.$ZodNullableInternals<T>> {
1518
+ // _zod: core.$ZodNullableInternals<T>;
1519
+ }
1520
+ export const ZodMiniNullable: core.$constructor<ZodMiniNullable> = /*@__PURE__*/ core.$constructor(
1521
+ "ZodMiniNullable",
1522
+ (inst, def) => {
1523
+ core.$ZodNullable.init(inst, def);
1524
+ ZodMiniType.init(inst, def);
1525
+ }
1526
+ );
1527
+
1528
+ // @__NO_SIDE_EFFECTS__
1529
+ export function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T> {
1530
+ return new ZodMiniNullable({
1531
+ type: "nullable",
1532
+ innerType: innerType as any as core.$ZodType,
1533
+ }) as any;
1534
+ }
1535
+
1536
+ // nullish
1537
+ // @__NO_SIDE_EFFECTS__
1538
+ export function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>> {
1539
+ return optional(nullable(innerType));
1540
+ }
1541
+
1542
+ // ZodMiniDefault
1543
+ export interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodDefaultInternals<T>> {
1544
+ // _zod: core.$ZodDefaultInternals<T>;
1545
+ }
1546
+ export const ZodMiniDefault: core.$constructor<ZodMiniDefault> = /*@__PURE__*/ core.$constructor(
1547
+ "ZodMiniDefault",
1548
+ (inst, def) => {
1549
+ core.$ZodDefault.init(inst, def);
1550
+ ZodMiniType.init(inst, def);
1551
+ }
1552
+ );
1553
+
1554
+ // @__NO_SIDE_EFFECTS__
1555
+ export function _default<T extends SomeType>(
1556
+ innerType: T,
1557
+ defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
1558
+ ): ZodMiniDefault<T> {
1559
+ return new ZodMiniDefault({
1560
+ type: "default",
1561
+ innerType: innerType as any as core.$ZodType,
1562
+ get defaultValue() {
1563
+ return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
1564
+ },
1565
+ }) as any;
1566
+ }
1567
+
1568
+ // ZodMiniPrefault
1569
+ export interface ZodMiniPrefault<T extends SomeType = core.$ZodType>
1570
+ extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {
1571
+ // _zod: core.$ZodPrefaultInternals<T>;
1572
+ }
1573
+ export const ZodMiniPrefault: core.$constructor<ZodMiniPrefault> = /*@__PURE__*/ core.$constructor(
1574
+ "ZodMiniPrefault",
1575
+ (inst, def) => {
1576
+ core.$ZodPrefault.init(inst, def);
1577
+ ZodMiniType.init(inst, def);
1578
+ }
1579
+ );
1580
+ // @__NO_SIDE_EFFECTS__
1581
+ export function prefault<T extends SomeType>(
1582
+ innerType: T,
1583
+ defaultValue: util.NoUndefined<core.input<T>> | (() => util.NoUndefined<core.input<T>>)
1584
+ ): ZodMiniPrefault<T> {
1585
+ return new ZodMiniPrefault({
1586
+ type: "prefault",
1587
+ innerType: innerType as any as core.$ZodType,
1588
+ get defaultValue() {
1589
+ return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
1590
+ },
1591
+ }) as any;
1592
+ }
1593
+
1594
+ // ZodMiniNonOptional
1595
+ export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType>
1596
+ extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {
1597
+ // _zod: core.$ZodNonOptionalInternals<T>;
1598
+ }
1599
+ export const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional> = /*@__PURE__*/ core.$constructor(
1600
+ "ZodMiniNonOptional",
1601
+ (inst, def) => {
1602
+ core.$ZodNonOptional.init(inst, def);
1603
+ ZodMiniType.init(inst, def);
1604
+ }
1605
+ );
1606
+
1607
+ // @__NO_SIDE_EFFECTS__
1608
+ export function nonoptional<T extends SomeType>(
1609
+ innerType: T,
1610
+ params?: string | core.$ZodNonOptionalParams
1611
+ ): ZodMiniNonOptional<T> {
1612
+ return new ZodMiniNonOptional({
1613
+ type: "nonoptional",
1614
+ innerType: innerType as any as core.$ZodType,
1615
+ ...util.normalizeParams(params),
1616
+ }) as any;
1617
+ }
1618
+
1619
+ // ZodMiniSuccess
1620
+ export interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSuccessInternals<T>> {
1621
+ // _zod: core.$ZodSuccessInternals<T>;
1622
+ }
1623
+ export const ZodMiniSuccess: core.$constructor<ZodMiniSuccess> = /*@__PURE__*/ core.$constructor(
1624
+ "ZodMiniSuccess",
1625
+ (inst, def) => {
1626
+ core.$ZodSuccess.init(inst, def);
1627
+ ZodMiniType.init(inst, def);
1628
+ }
1629
+ );
1630
+
1631
+ // @__NO_SIDE_EFFECTS__
1632
+ export function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T> {
1633
+ return new ZodMiniSuccess({
1634
+ type: "success",
1635
+ innerType: innerType as any as core.$ZodType,
1636
+ }) as any;
1637
+ }
1638
+
1639
+ // ZodMiniCatch
1640
+ export interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodCatchInternals<T>> {
1641
+ // _zod: core.$ZodCatchInternals<T>;
1642
+ }
1643
+ export const ZodMiniCatch: core.$constructor<ZodMiniCatch> = /*@__PURE__*/ core.$constructor(
1644
+ "ZodMiniCatch",
1645
+ (inst, def) => {
1646
+ core.$ZodCatch.init(inst, def);
1647
+ ZodMiniType.init(inst, def);
1648
+ }
1649
+ );
1650
+
1651
+ // @__NO_SIDE_EFFECTS__
1652
+ function _catch<T extends SomeType>(
1653
+ innerType: T,
1654
+ catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)
1655
+ ): ZodMiniCatch<T> {
1656
+ return new ZodMiniCatch({
1657
+ type: "catch",
1658
+ innerType: innerType as any as core.$ZodType,
1659
+ catchValue: (typeof catchValue === "function" ? catchValue : core.util.constantCatch(catchValue)) as (
1660
+ ctx: core.$ZodCatchCtx
1661
+ ) => core.output<T>,
1662
+ }) as any;
1663
+ }
1664
+ export { _catch as catch };
1665
+
1666
+ // ZodMiniNaN
1667
+ export interface ZodMiniNaN extends _ZodMiniType<core.$ZodNaNInternals> {
1668
+ // _zod: core.$ZodNaNInternals;
1669
+ }
1670
+ export const ZodMiniNaN: core.$constructor<ZodMiniNaN> = /*@__PURE__*/ core.$constructor("ZodMiniNaN", (inst, def) => {
1671
+ core.$ZodNaN.init(inst, def);
1672
+ ZodMiniType.init(inst, def);
1673
+ });
1674
+
1675
+ // @__NO_SIDE_EFFECTS__
1676
+ export function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN {
1677
+ return core._nan(ZodMiniNaN, params) as any;
1678
+ }
1679
+
1680
+ // ZodMiniPipe
1681
+ export interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
1682
+ extends _ZodMiniType<core.$ZodPipeInternals<A, B>> {
1683
+ // _zod: core.$ZodPipeInternals<A, B>;
1684
+ }
1685
+ export const ZodMiniPipe: core.$constructor<ZodMiniPipe> = /*@__PURE__*/ core.$constructor(
1686
+ "ZodMiniPipe",
1687
+ (inst, def) => {
1688
+ core.$ZodPipe.init(inst, def);
1689
+ ZodMiniType.init(inst, def);
1690
+ }
1691
+ );
1692
+
1693
+ // @__NO_SIDE_EFFECTS__
1694
+ export function pipe<
1695
+ const A extends SomeType,
1696
+ B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>,
1697
+ >(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodMiniPipe<A, B> {
1698
+ return new ZodMiniPipe({
1699
+ type: "pipe",
1700
+ in: in_ as any as core.$ZodType,
1701
+ out: out as any as core.$ZodType,
1702
+ }) as any;
1703
+ }
1704
+
1705
+ // ZodMiniCodec
1706
+ export interface ZodMiniCodec<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType>
1707
+ extends ZodMiniPipe<A, B>,
1708
+ core.$ZodCodec<A, B> {
1709
+ _zod: core.$ZodCodecInternals<A, B>;
1710
+ def: core.$ZodCodecDef<A, B>;
1711
+ }
1712
+ export const ZodMiniCodec: core.$constructor<ZodMiniCodec> = /*@__PURE__*/ core.$constructor(
1713
+ "ZodMiniCodec",
1714
+ (inst, def) => {
1715
+ ZodMiniPipe.init(inst, def);
1716
+ core.$ZodCodec.init(inst, def);
1717
+ }
1718
+ );
1719
+
1720
+ // @__NO_SIDE_EFFECTS__
1721
+ export function codec<const A extends SomeType, B extends core.SomeType = core.$ZodType>(
1722
+ in_: A,
1723
+ out: B,
1724
+ params: {
1725
+ decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
1726
+ encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
1727
+ }
1728
+ ): ZodMiniCodec<A, B> {
1729
+ return new ZodMiniCodec({
1730
+ type: "pipe",
1731
+ in: in_ as any as core.$ZodType,
1732
+ out: out as any as core.$ZodType,
1733
+ transform: params.decode as any,
1734
+ reverseTransform: params.encode as any,
1735
+ }) as any;
1736
+ }
1737
+
1738
+ // @__NO_SIDE_EFFECTS__
1739
+ export function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodMiniCodec<A, B>): ZodMiniCodec<B, A> {
1740
+ const def = codec._zod.def;
1741
+ return new ZodMiniCodec({
1742
+ type: "pipe",
1743
+ in: def.out as any,
1744
+ out: def.in as any,
1745
+ transform: def.reverseTransform as any,
1746
+ reverseTransform: def.transform as any,
1747
+ }) as any;
1748
+ }
1749
+
1750
+ // ZodMiniReadonly
1751
+ export interface ZodMiniReadonly<T extends SomeType = core.$ZodType>
1752
+ extends _ZodMiniType<core.$ZodReadonlyInternals<T>> {
1753
+ // _zod: core.$ZodReadonlyInternals<T>;
1754
+ }
1755
+ export const ZodMiniReadonly: core.$constructor<ZodMiniReadonly> = /*@__PURE__*/ core.$constructor(
1756
+ "ZodMiniReadonly",
1757
+ (inst, def) => {
1758
+ core.$ZodReadonly.init(inst, def);
1759
+ ZodMiniType.init(inst, def);
1760
+ }
1761
+ );
1762
+
1763
+ // @__NO_SIDE_EFFECTS__
1764
+ export function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T> {
1765
+ return new ZodMiniReadonly({
1766
+ type: "readonly",
1767
+ innerType: innerType as any as core.$ZodType,
1768
+ }) as any;
1769
+ }
1770
+
1771
+ // ZodMiniTemplateLiteral
1772
+ export interface ZodMiniTemplateLiteral<Template extends string = string>
1773
+ extends _ZodMiniType<core.$ZodTemplateLiteralInternals<Template>> {
1774
+ // _zod: core.$ZodTemplateLiteralInternals<Template>;
1775
+ }
1776
+ export const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral> = /*@__PURE__*/ core.$constructor(
1777
+ "ZodMiniTemplateLiteral",
1778
+ (inst, def) => {
1779
+ core.$ZodTemplateLiteral.init(inst, def);
1780
+ ZodMiniType.init(inst, def);
1781
+ }
1782
+ );
1783
+
1784
+ // @__NO_SIDE_EFFECTS__
1785
+ export function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(
1786
+ parts: Parts,
1787
+ params?: string | core.$ZodTemplateLiteralParams
1788
+ ): ZodMiniTemplateLiteral<core.$PartsToTemplateLiteral<Parts>> {
1789
+ return new ZodMiniTemplateLiteral({
1790
+ type: "template_literal",
1791
+ parts,
1792
+ ...util.normalizeParams(params),
1793
+ }) as any;
1794
+ }
1795
+
1796
+ // ZodMiniLazy
1797
+ export interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodLazyInternals<T>> {
1798
+ // _zod: core.$ZodLazyInternals<T>;
1799
+ }
1800
+ export const ZodMiniLazy: core.$constructor<ZodMiniLazy> = /*@__PURE__*/ core.$constructor(
1801
+ "ZodMiniLazy",
1802
+ (inst, def) => {
1803
+ core.$ZodLazy.init(inst, def);
1804
+ ZodMiniType.init(inst, def);
1805
+ }
1806
+ );
1807
+
1808
+ // export function lazy<T extends object>(getter: () => T): T {
1809
+ // return util.createTransparentProxy<T>(getter);
1810
+ // }
1811
+ // @__NO_SIDE_EFFECTS__
1812
+ function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T> {
1813
+ return new ZodMiniLazy({
1814
+ type: "lazy",
1815
+ getter: getter as any,
1816
+ }) as any;
1817
+ }
1818
+ export { _lazy as lazy };
1819
+
1820
+ // ZodMiniPromise
1821
+ export interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPromiseInternals<T>> {
1822
+ // _zod: core.$ZodPromiseInternals<T>;
1823
+ }
1824
+ export const ZodMiniPromise: core.$constructor<ZodMiniPromise> = /*@__PURE__*/ core.$constructor(
1825
+ "ZodMiniPromise",
1826
+ (inst, def) => {
1827
+ core.$ZodPromise.init(inst, def);
1828
+ ZodMiniType.init(inst, def);
1829
+ }
1830
+ );
1831
+
1832
+ // @__NO_SIDE_EFFECTS__
1833
+ export function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T> {
1834
+ return new ZodMiniPromise({
1835
+ type: "promise",
1836
+ innerType: innerType as any as core.$ZodType,
1837
+ }) as any;
1838
+ }
1839
+
1840
+ // ZodMiniCustom
1841
+ export interface ZodMiniCustom<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodCustomInternals<O, I>> {
1842
+ // _zod: core.$ZodCustomInternals<O, I>;
1843
+ }
1844
+ export const ZodMiniCustom: core.$constructor<ZodMiniCustom> = /*@__PURE__*/ core.$constructor(
1845
+ "ZodMiniCustom",
1846
+ (inst, def) => {
1847
+ core.$ZodCustom.init(inst, def);
1848
+ ZodMiniType.init(inst, def);
1849
+ }
1850
+ );
1851
+
1852
+ // custom checks
1853
+ // @__NO_SIDE_EFFECTS__
1854
+ export function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O> {
1855
+ const ch = new core.$ZodCheck({
1856
+ check: "custom",
1857
+ ...util.normalizeParams(params),
1858
+ });
1859
+
1860
+ ch._zod.check = fn;
1861
+ return ch;
1862
+ }
1863
+
1864
+ // ZodCustom custom schema
1865
+ // @__NO_SIDE_EFFECTS__
1866
+ export function custom<O = unknown, I = O>(
1867
+ fn?: (data: O) => unknown,
1868
+ _params?: string | core.$ZodCustomParams | undefined
1869
+ ): ZodMiniCustom<O, I> {
1870
+ return core._custom(ZodMiniCustom, fn ?? (() => true), _params) as any;
1871
+ }
1872
+
1873
+ // refine
1874
+ // @__NO_SIDE_EFFECTS__
1875
+ export function refine<T>(
1876
+ fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>,
1877
+ _params: string | core.$ZodCustomParams = {}
1878
+ ): core.$ZodCheck<T> {
1879
+ return core._refine(ZodMiniCustom, fn, _params);
1880
+ }
1881
+
1882
+ // superRefine
1883
+ // @__NO_SIDE_EFFECTS__
1884
+ export function superRefine<T>(
1885
+ fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
1886
+ params?: core.$ZodSuperRefineParams
1887
+ ): core.$ZodCheck<T> {
1888
+ return core._superRefine(fn, params);
1889
+ }
1890
+
1891
+ // Re-export describe and meta from core
1892
+ export const describe = core.describe;
1893
+ export const meta = core.meta;
1894
+
1895
+ // instanceof
1896
+ abstract class Class {
1897
+ constructor(..._args: any[]) {}
1898
+ }
1899
+ // @__NO_SIDE_EFFECTS__
1900
+ function _instanceof<T extends typeof Class>(
1901
+ cls: T,
1902
+ params: core.$ZodCustomParams = {}
1903
+ ): ZodMiniCustom<InstanceType<T>, InstanceType<T>> {
1904
+ const inst = custom((data) => data instanceof cls, params);
1905
+ inst._zod.bag.Class = cls;
1906
+ // Override check to emit invalid_type instead of custom
1907
+ inst._zod.check = (payload) => {
1908
+ if (!(payload.value instanceof cls)) {
1909
+ payload.issues.push({
1910
+ code: "invalid_type",
1911
+ expected: cls.name,
1912
+ input: payload.value,
1913
+ inst,
1914
+ path: [...(inst._zod.def.path ?? [])],
1915
+ });
1916
+ }
1917
+ };
1918
+ return inst as any;
1919
+ }
1920
+ export { _instanceof as instanceof };
1921
+
1922
+ // stringbool
1923
+ export const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniCodec<ZodMiniString, ZodMiniBoolean> =
1924
+ (...args) =>
1925
+ core._stringbool(
1926
+ {
1927
+ Codec: ZodMiniCodec,
1928
+ Boolean: ZodMiniBoolean,
1929
+ String: ZodMiniString,
1930
+ },
1931
+ ...args
1932
+ ) as any;
1933
+
1934
+ // json
1935
+
1936
+ // json
1937
+ export type _ZodMiniJSONSchema = ZodMiniUnion<
1938
+ [
1939
+ ZodMiniString,
1940
+ ZodMiniNumber,
1941
+ ZodMiniBoolean,
1942
+ ZodMiniNull,
1943
+ ZodMiniArray<ZodMiniJSONSchema>,
1944
+ ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>,
1945
+ ]
1946
+ >;
1947
+ export type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema["_zod"];
1948
+
1949
+ export interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {
1950
+ output: util.JSONType;
1951
+ input: util.JSONType;
1952
+ }
1953
+ export interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {
1954
+ _zod: ZodMiniJSONSchemaInternals;
1955
+ }
1956
+
1957
+ // @__NO_SIDE_EFFECTS__
1958
+ export function json(): ZodMiniJSONSchema {
1959
+ const jsonSchema: any = _lazy(() => {
1960
+ return union([string(), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
1961
+ });
1962
+ return jsonSchema;
1963
+ }
1964
+
1965
+ // ZodMiniFunction
1966
+ export interface ZodMiniFunction<
1967
+ Args extends core.$ZodFunctionIn = core.$ZodFunctionIn,
1968
+ Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut,
1969
+ > extends _ZodMiniType<core.$ZodFunctionInternals<Args, Returns>>,
1970
+ core.$ZodFunction<Args, Returns> {
1971
+ _def: core.$ZodFunctionDef<Args, Returns>;
1972
+ _input: core.$InferInnerFunctionType<Args, Returns>;
1973
+ _output: core.$InferOuterFunctionType<Args, Returns>;
1974
+
1975
+ input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(
1976
+ args: Items,
1977
+ rest?: Rest
1978
+ ): ZodMiniFunction<ZodMiniTuple<Items, Rest>, Returns>;
1979
+ input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodMiniFunction<NewArgs, Returns>;
1980
+ input(...args: any[]): ZodMiniFunction<any, Returns>;
1981
+
1982
+ output<NewReturns extends core.$ZodFunctionOut>(output: NewReturns): ZodMiniFunction<Args, NewReturns>;
1983
+ }
1984
+
1985
+ export const ZodMiniFunction: core.$constructor<ZodMiniFunction> = /*@__PURE__*/ core.$constructor(
1986
+ "ZodMiniFunction",
1987
+ (inst, def) => {
1988
+ core.$ZodFunction.init(inst, def);
1989
+ ZodMiniType.init(inst, def);
1990
+ }
1991
+ );
1992
+
1993
+ export function _function(): ZodMiniFunction;
1994
+ export function _function<const In extends Array<SomeType> = Array<SomeType>>(params: {
1995
+ input: In;
1996
+ }): ZodMiniFunction<ZodMiniTuple<In, null>, core.$ZodFunctionOut>;
1997
+ export function _function<
1998
+ const In extends Array<SomeType> = Array<SomeType>,
1999
+ const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
2000
+ >(params: {
2001
+ input: In;
2002
+ output: Out;
2003
+ }): ZodMiniFunction<ZodMiniTuple<In, null>, Out>;
2004
+ export function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
2005
+ input: In;
2006
+ }): ZodMiniFunction<In, core.$ZodFunctionOut>;
2007
+ export function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
2008
+ output: Out;
2009
+ }): ZodMiniFunction<core.$ZodFunctionIn, Out>;
2010
+ export function _function<
2011
+ In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
2012
+ Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
2013
+ >(params?: { input: In; output: Out }): ZodMiniFunction<In, Out>;
2014
+ // @__NO_SIDE_EFFECTS__
2015
+ export function _function(params?: {
2016
+ output?: core.$ZodFunctionOut;
2017
+ input?: core.$ZodFunctionArgs | Array<SomeType>;
2018
+ }): ZodMiniFunction {
2019
+ return new ZodMiniFunction({
2020
+ type: "function",
2021
+ input: Array.isArray(params?.input) ? tuple(params?.input as any) : (params?.input ?? array(unknown())),
2022
+ output: params?.output ?? unknown(),
2023
+ });
2024
+ }
2025
+
2026
+ export { _function as function };