@loomhelm/multi-task-flow 0.2.6 → 0.2.8

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