@cossistant/react 0.0.29 → 0.0.31

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 (305) hide show
  1. package/README.md +3 -1
  2. package/_virtual/rolldown_runtime.js +9 -23
  3. package/hooks/index.d.ts +2 -2
  4. package/hooks/private/store/use-conversations-store.d.ts +2 -0
  5. package/hooks/private/store/use-conversations-store.d.ts.map +1 -1
  6. package/hooks/private/store/use-conversations-store.js +15 -8
  7. package/hooks/private/store/use-conversations-store.js.map +1 -1
  8. package/hooks/private/store/use-store-selector.d.ts +3 -0
  9. package/hooks/private/store/use-store-selector.d.ts.map +1 -1
  10. package/hooks/private/store/use-store-selector.js +4 -8
  11. package/hooks/private/store/use-store-selector.js.map +1 -1
  12. package/hooks/private/store/use-website-store.d.ts +3 -1
  13. package/hooks/private/store/use-website-store.d.ts.map +1 -1
  14. package/hooks/private/store/use-website-store.js +14 -6
  15. package/hooks/private/store/use-website-store.js.map +1 -1
  16. package/hooks/private/use-client-query.d.ts +1 -1
  17. package/hooks/private/use-client-query.d.ts.map +1 -1
  18. package/hooks/private/use-client-query.js +1 -0
  19. package/hooks/private/use-client-query.js.map +1 -1
  20. package/hooks/private/use-default-messages.d.ts +1 -1
  21. package/hooks/private/use-grouped-messages.d.ts +2 -2
  22. package/hooks/private/use-grouped-messages.d.ts.map +1 -1
  23. package/hooks/private/use-grouped-messages.js +34 -10
  24. package/hooks/private/use-grouped-messages.js.map +1 -1
  25. package/hooks/private/use-rest-client.d.ts +13 -3
  26. package/hooks/private/use-rest-client.d.ts.map +1 -1
  27. package/hooks/private/use-rest-client.js +49 -22
  28. package/hooks/private/use-rest-client.js.map +1 -1
  29. package/hooks/private/use-visitor-typing-reporter.d.ts +1 -1
  30. package/hooks/use-conversation-auto-seen.d.ts +1 -1
  31. package/hooks/use-conversation-page.d.ts +1 -1
  32. package/hooks/use-conversation-page.d.ts.map +1 -1
  33. package/hooks/use-conversation-page.js +13 -4
  34. package/hooks/use-conversation-page.js.map +1 -1
  35. package/hooks/use-conversation-preview.d.ts +3 -1
  36. package/hooks/use-conversation-preview.d.ts.map +1 -1
  37. package/hooks/use-conversation-preview.js +8 -4
  38. package/hooks/use-conversation-preview.js.map +1 -1
  39. package/hooks/use-conversation-seen.d.ts +1 -1
  40. package/hooks/use-conversation-timeline-items.d.ts +1 -1
  41. package/hooks/use-conversation-timeline-items.js +2 -3
  42. package/hooks/use-conversation-timeline-items.js.map +1 -1
  43. package/hooks/use-conversation-timeline.d.ts +1 -1
  44. package/hooks/use-conversation.d.ts +1 -1
  45. package/hooks/use-conversation.js +2 -3
  46. package/hooks/use-conversation.js.map +1 -1
  47. package/hooks/use-conversations.d.ts +1 -1
  48. package/hooks/use-conversations.js +5 -3
  49. package/hooks/use-conversations.js.map +1 -1
  50. package/hooks/use-create-conversation.d.ts +3 -3
  51. package/hooks/use-create-conversation.js +1 -0
  52. package/hooks/use-create-conversation.js.map +1 -1
  53. package/hooks/use-file-upload.d.ts +1 -1
  54. package/hooks/use-file-upload.js +3 -3
  55. package/hooks/use-file-upload.js.map +1 -1
  56. package/hooks/use-home-page.js +3 -3
  57. package/hooks/use-home-page.js.map +1 -1
  58. package/hooks/use-message-composer.d.ts +10 -3
  59. package/hooks/use-message-composer.d.ts.map +1 -1
  60. package/hooks/use-message-composer.js +5 -2
  61. package/hooks/use-message-composer.js.map +1 -1
  62. package/hooks/use-realtime-support.d.ts +1 -1
  63. package/hooks/use-send-message.d.ts +8 -2
  64. package/hooks/use-send-message.d.ts.map +1 -1
  65. package/hooks/use-send-message.js +5 -3
  66. package/hooks/use-send-message.js.map +1 -1
  67. package/hooks/use-visitor.js +2 -2
  68. package/hooks/use-visitor.js.map +1 -1
  69. package/identify-visitor.d.ts.map +1 -1
  70. package/identify-visitor.js +15 -1
  71. package/identify-visitor.js.map +1 -1
  72. package/index.d.ts +2 -2
  73. package/index.js +1 -1
  74. package/package.json +6 -3
  75. package/{conversation.d.ts → packages/types/src/api/conversation.d.ts} +374 -64
  76. package/packages/types/src/api/conversation.d.ts.map +1 -0
  77. package/packages/types/src/api/timeline-item.d.ts +460 -0
  78. package/packages/types/src/api/timeline-item.d.ts.map +1 -0
  79. package/{realtime-events.d.ts → packages/types/src/realtime-events.d.ts} +449 -47
  80. package/packages/types/src/realtime-events.d.ts.map +1 -0
  81. package/{schemas3.d.ts → packages/types/src/schemas.d.ts} +97 -19
  82. package/packages/types/src/schemas.d.ts.map +1 -0
  83. package/primitives/avatar/avatar.js +1 -1
  84. package/primitives/avatar/avatar.js.map +1 -1
  85. package/primitives/avatar/fallback.js +1 -1
  86. package/primitives/avatar/fallback.js.map +1 -1
  87. package/primitives/avatar/image.js +1 -1
  88. package/primitives/avatar/image.js.map +1 -1
  89. package/primitives/button.js +1 -1
  90. package/primitives/button.js.map +1 -1
  91. package/primitives/conversation-timeline.d.ts +1 -1
  92. package/primitives/conversation-timeline.js +4 -4
  93. package/primitives/conversation-timeline.js.map +1 -1
  94. package/primitives/day-separator.js +3 -3
  95. package/primitives/day-separator.js.map +1 -1
  96. package/primitives/multimodal-input.d.ts +2 -2
  97. package/primitives/multimodal-input.d.ts.map +1 -1
  98. package/primitives/multimodal-input.js +2 -2
  99. package/primitives/multimodal-input.js.map +1 -1
  100. package/primitives/timeline-item-attachments.d.ts +1 -1
  101. package/primitives/timeline-item-attachments.js +6 -7
  102. package/primitives/timeline-item-attachments.js.map +1 -1
  103. package/primitives/timeline-item-group.d.ts +1 -1
  104. package/primitives/timeline-item-group.js +7 -7
  105. package/primitives/timeline-item-group.js.map +1 -1
  106. package/primitives/timeline-item.d.ts +1 -1
  107. package/primitives/timeline-item.d.ts.map +1 -1
  108. package/primitives/timeline-item.js +54 -14
  109. package/primitives/timeline-item.js.map +1 -1
  110. package/primitives/trigger.js +1 -1
  111. package/primitives/trigger.js.map +1 -1
  112. package/primitives/window.js +1 -1
  113. package/primitives/window.js.map +1 -1
  114. package/provider.d.ts +4 -2
  115. package/provider.d.ts.map +1 -1
  116. package/provider.js +56 -8
  117. package/provider.js.map +1 -1
  118. package/realtime/event-filter.d.ts +4 -1
  119. package/realtime/event-filter.d.ts.map +1 -1
  120. package/realtime/event-filter.js +14 -0
  121. package/realtime/event-filter.js.map +1 -1
  122. package/realtime/provider.d.ts +1 -1
  123. package/realtime/provider.d.ts.map +1 -1
  124. package/realtime/provider.js +1 -2
  125. package/realtime/provider.js.map +1 -1
  126. package/realtime/seen-store.d.ts +2 -2
  127. package/realtime/support-provider.js +3 -2
  128. package/realtime/support-provider.js.map +1 -1
  129. package/realtime/typing-store.d.ts +1 -1
  130. package/realtime/use-realtime.d.ts +1 -1
  131. package/support/components/avatar-stack.d.ts.map +1 -1
  132. package/support/components/avatar-stack.js +32 -12
  133. package/support/components/avatar-stack.js.map +1 -1
  134. package/support/components/avatar.d.ts +34 -3
  135. package/support/components/avatar.d.ts.map +1 -1
  136. package/support/components/avatar.js +61 -8
  137. package/support/components/avatar.js.map +1 -1
  138. package/support/components/button.d.ts +4 -2
  139. package/support/components/button.d.ts.map +1 -1
  140. package/support/components/button.js +3 -3
  141. package/support/components/button.js.map +1 -1
  142. package/support/components/configuration-error.d.ts +16 -0
  143. package/support/components/configuration-error.d.ts.map +1 -0
  144. package/support/components/configuration-error.js +162 -0
  145. package/support/components/configuration-error.js.map +1 -0
  146. package/support/components/content.js +1 -2
  147. package/support/components/content.js.map +1 -1
  148. package/support/components/conversation-button-link.js +18 -23
  149. package/support/components/conversation-button-link.js.map +1 -1
  150. package/support/components/conversation-event.d.ts.map +1 -1
  151. package/support/components/conversation-event.js +7 -5
  152. package/support/components/conversation-event.js.map +1 -1
  153. package/support/components/conversation-resolved-feedback.d.ts +21 -0
  154. package/support/components/conversation-resolved-feedback.d.ts.map +1 -0
  155. package/support/components/conversation-resolved-feedback.js +59 -0
  156. package/support/components/conversation-resolved-feedback.js.map +1 -0
  157. package/support/components/conversation-timeline-utils.d.ts +5 -0
  158. package/support/components/conversation-timeline-utils.d.ts.map +1 -0
  159. package/support/components/conversation-timeline-utils.js +10 -0
  160. package/support/components/conversation-timeline-utils.js.map +1 -0
  161. package/support/components/conversation-timeline.d.ts +1 -1
  162. package/support/components/conversation-timeline.d.ts.map +1 -1
  163. package/support/components/conversation-timeline.js +5 -4
  164. package/support/components/conversation-timeline.js.map +1 -1
  165. package/support/components/header.js +1 -1
  166. package/support/components/icons.d.ts +1 -1
  167. package/support/components/icons.d.ts.map +1 -1
  168. package/support/components/icons.js +6 -2
  169. package/support/components/icons.js.map +1 -1
  170. package/support/components/image-lightbox.d.ts +1 -1
  171. package/support/components/image-lightbox.js +1 -2
  172. package/support/components/image-lightbox.js.map +1 -1
  173. package/support/components/index.d.ts +2 -1
  174. package/support/components/index.js +3 -2
  175. package/support/components/multimodal-input.js +0 -1
  176. package/support/components/multimodal-input.js.map +1 -1
  177. package/support/components/navigation-tab.js +1 -1
  178. package/support/components/online-indicator.d.ts +50 -0
  179. package/support/components/online-indicator.d.ts.map +1 -0
  180. package/support/components/online-indicator.js +65 -0
  181. package/support/components/online-indicator.js.map +1 -0
  182. package/support/components/root.js +0 -1
  183. package/support/components/root.js.map +1 -1
  184. package/support/components/timeline-identification-tool.js +4 -4
  185. package/support/components/timeline-identification-tool.js.map +1 -1
  186. package/support/components/timeline-message-group.d.ts +1 -1
  187. package/support/components/timeline-message-group.d.ts.map +1 -1
  188. package/support/components/timeline-message-group.js +6 -4
  189. package/support/components/timeline-message-group.js.map +1 -1
  190. package/support/components/timeline-message-item.d.ts +1 -1
  191. package/support/components/timeline-message-item.js +4 -4
  192. package/support/components/timeline-message-item.js.map +1 -1
  193. package/support/components/trigger.js +1 -2
  194. package/support/components/trigger.js.map +1 -1
  195. package/support/components/typing-indicator.js +1 -1
  196. package/support/components/typing-indicator.js.map +1 -1
  197. package/support/context/controlled-state.js +0 -1
  198. package/support/context/controlled-state.js.map +1 -1
  199. package/support/context/events.d.ts +1 -1
  200. package/support/context/events.js +0 -1
  201. package/support/context/events.js.map +1 -1
  202. package/support/context/handle.js +0 -1
  203. package/support/context/handle.js.map +1 -1
  204. package/support/context/identification.d.ts +33 -0
  205. package/support/context/identification.d.ts.map +1 -0
  206. package/support/context/identification.js +34 -0
  207. package/support/context/identification.js.map +1 -0
  208. package/support/context/positioning.js +0 -1
  209. package/support/context/positioning.js.map +1 -1
  210. package/support/context/slots.js +0 -1
  211. package/support/context/slots.js.map +1 -1
  212. package/support/context/websocket.d.ts +1 -1
  213. package/support/context/websocket.js +0 -1
  214. package/support/context/websocket.js.map +1 -1
  215. package/support/index.d.ts.map +1 -1
  216. package/support/index.js +51 -18
  217. package/support/index.js.map +1 -1
  218. package/support/pages/conversation-history.js +2 -1
  219. package/support/pages/conversation-history.js.map +1 -1
  220. package/support/pages/conversation.d.ts +1 -1
  221. package/support/pages/conversation.d.ts.map +1 -1
  222. package/support/pages/conversation.js +34 -8
  223. package/support/pages/conversation.js.map +1 -1
  224. package/support/pages/home.js +5 -3
  225. package/support/pages/home.js.map +1 -1
  226. package/support/router.d.ts.map +1 -1
  227. package/support/router.js +4 -0
  228. package/support/router.js.map +1 -1
  229. package/support/store/support-store.js +0 -1
  230. package/support/store/support-store.js.map +1 -1
  231. package/support/{support-C7Xaw-N6.css → support-DmViRaga.css} +2 -2
  232. package/support/{support-C7Xaw-N6.css.map → support-DmViRaga.css.map} +1 -1
  233. package/support/text/index.js +1 -1
  234. package/support/text/index.js.map +1 -1
  235. package/support/text/locales/en.js +10 -1
  236. package/support/text/locales/en.js.map +1 -1
  237. package/support/text/locales/es.js +10 -1
  238. package/support/text/locales/es.js.map +1 -1
  239. package/support/text/locales/fr.js +10 -1
  240. package/support/text/locales/fr.js.map +1 -1
  241. package/support/text/locales/keys.d.ts +11 -0
  242. package/support/text/locales/keys.d.ts.map +1 -1
  243. package/support/text/locales/keys.js +3 -0
  244. package/support/text/locales/keys.js.map +1 -1
  245. package/support/utils/index.d.ts +1 -1
  246. package/support-config.js +0 -1
  247. package/support-config.js.map +1 -1
  248. package/support.css +1 -1
  249. package/tailwind.css +1 -1
  250. package/utils/conversation.d.ts.map +1 -1
  251. package/utils/conversation.js +1 -3
  252. package/utils/conversation.js.map +1 -1
  253. package/utils/use-render-element.js +2 -2
  254. package/utils/use-render-element.js.map +1 -1
  255. package/api.d.ts +0 -71
  256. package/api.d.ts.map +0 -1
  257. package/checks.d.ts +0 -189
  258. package/checks.d.ts.map +0 -1
  259. package/clsx.d.ts +0 -7
  260. package/clsx.d.ts.map +0 -1
  261. package/coerce.d.ts +0 -9
  262. package/coerce.d.ts.map +0 -1
  263. package/conversation.d.ts.map +0 -1
  264. package/core.d.ts +0 -35
  265. package/core.d.ts.map +0 -1
  266. package/errors.d.ts +0 -130
  267. package/errors.d.ts.map +0 -1
  268. package/errors2.d.ts +0 -24
  269. package/errors2.d.ts.map +0 -1
  270. package/index2.d.ts +0 -4
  271. package/index3.d.ts +0 -1
  272. package/json-schema.d.ts +0 -70
  273. package/json-schema.d.ts.map +0 -1
  274. package/metadata.d.ts +0 -1
  275. package/openapi-generator.d.ts +0 -1
  276. package/openapi-generator2.d.ts +0 -1
  277. package/openapi-generator3.d.ts +0 -1
  278. package/openapi30.d.ts +0 -125
  279. package/openapi30.d.ts.map +0 -1
  280. package/openapi31.d.ts +0 -131
  281. package/openapi31.d.ts.map +0 -1
  282. package/parse.d.ts +0 -17
  283. package/parse.d.ts.map +0 -1
  284. package/realtime-events.d.ts.map +0 -1
  285. package/registries.d.ts +0 -32
  286. package/registries.d.ts.map +0 -1
  287. package/schemas.d.ts +0 -971
  288. package/schemas.d.ts.map +0 -1
  289. package/schemas2.d.ts +0 -345
  290. package/schemas2.d.ts.map +0 -1
  291. package/schemas3.d.ts.map +0 -1
  292. package/specification-extension.d.ts +0 -9
  293. package/specification-extension.d.ts.map +0 -1
  294. package/standard-schema.d.ts +0 -121
  295. package/standard-schema.d.ts.map +0 -1
  296. package/timeline-item.d.ts +0 -227
  297. package/timeline-item.d.ts.map +0 -1
  298. package/to-json-schema.d.ts +0 -96
  299. package/to-json-schema.d.ts.map +0 -1
  300. package/util.d.ts +0 -45
  301. package/util.d.ts.map +0 -1
  302. package/versions.d.ts +0 -9
  303. package/versions.d.ts.map +0 -1
  304. package/zod-extensions.d.ts +0 -39
  305. package/zod-extensions.d.ts.map +0 -1
@@ -1,7 +1,5 @@
1
- import { ConversationStatus } from "@cossistant/types";
2
-
3
1
  //#region src/utils/conversation.ts
4
- const HIDDEN_STATUSES = new Set([ConversationStatus.RESOLVED, "closed"]);
2
+ const HIDDEN_STATUSES = new Set(["closed"]);
5
3
  function hasDisplayableTitle(conversation) {
6
4
  const title = conversation.title?.trim();
7
5
  if (title && title.length > 0) return true;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.js","names":[],"sources":["../../src/utils/conversation.ts"],"sourcesContent":["import { type Conversation, ConversationStatus } from \"@cossistant/types\";\n\nconst HIDDEN_STATUSES = new Set<ConversationStatus | \"closed\">([\n\tConversationStatus.RESOLVED,\n\t\"closed\",\n]);\n\nfunction hasDisplayableTitle(conversation: Conversation): boolean {\n\tconst title = conversation.title?.trim();\n\n\tif (title && title.length > 0) {\n\t\treturn true;\n\t}\n\n\t// Allow conversations with messages even if no explicit title\n\tconst lastMessageText = conversation.lastTimelineItem?.text?.trim();\n\treturn Boolean(lastMessageText && lastMessageText.length > 0);\n}\n\nexport function shouldDisplayConversation(conversation: Conversation): boolean {\n\tif (!hasDisplayableTitle(conversation)) {\n\t\treturn false;\n\t}\n\n\tif (conversation.deletedAt) {\n\t\treturn false;\n\t}\n\n\tif (HIDDEN_STATUSES.has(conversation.status)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n"],"mappings":";;;AAEA,MAAM,kBAAkB,IAAI,IAAmC,CAC9D,mBAAmB,UACnB,SACA,CAAC;AAEF,SAAS,oBAAoB,cAAqC;CACjE,MAAM,QAAQ,aAAa,OAAO,MAAM;AAExC,KAAI,SAAS,MAAM,SAAS,EAC3B,QAAO;CAIR,MAAM,kBAAkB,aAAa,kBAAkB,MAAM,MAAM;AACnE,QAAO,QAAQ,mBAAmB,gBAAgB,SAAS,EAAE;;AAG9D,SAAgB,0BAA0B,cAAqC;AAC9E,KAAI,CAAC,oBAAoB,aAAa,CACrC,QAAO;AAGR,KAAI,aAAa,UAChB,QAAO;AAGR,KAAI,gBAAgB,IAAI,aAAa,OAAO,CAC3C,QAAO;AAGR,QAAO"}
1
+ {"version":3,"file":"conversation.js","names":[],"sources":["../../src/utils/conversation.ts"],"sourcesContent":["import type { Conversation, ConversationStatus } from \"@cossistant/types\";\n\nconst HIDDEN_STATUSES = new Set<ConversationStatus | \"closed\">([\"closed\"]);\n\nfunction hasDisplayableTitle(conversation: Conversation): boolean {\n\tconst title = conversation.title?.trim();\n\n\tif (title && title.length > 0) {\n\t\treturn true;\n\t}\n\n\t// Allow conversations with messages even if no explicit title\n\tconst lastMessageText = conversation.lastTimelineItem?.text?.trim();\n\treturn Boolean(lastMessageText && lastMessageText.length > 0);\n}\n\nexport function shouldDisplayConversation(conversation: Conversation): boolean {\n\tif (!hasDisplayableTitle(conversation)) {\n\t\treturn false;\n\t}\n\n\tif (conversation.deletedAt) {\n\t\treturn false;\n\t}\n\n\tif (HIDDEN_STATUSES.has(conversation.status)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n"],"mappings":";AAEA,MAAM,kBAAkB,IAAI,IAAmC,CAAC,SAAS,CAAC;AAE1E,SAAS,oBAAoB,cAAqC;CACjE,MAAM,QAAQ,aAAa,OAAO,MAAM;AAExC,KAAI,SAAS,MAAM,SAAS,EAC3B,QAAO;CAIR,MAAM,kBAAkB,aAAa,kBAAkB,MAAM,MAAM;AACnE,QAAO,QAAQ,mBAAmB,gBAAgB,SAAS,EAAE;;AAG9D,SAAgB,0BAA0B,cAAqC;AAC9E,KAAI,CAAC,oBAAoB,aAAa,CACrC,QAAO;AAGR,KAAI,aAAa,UAChB,QAAO;AAGR,KAAI,gBAAgB,IAAI,aAAa,OAAO,CAC3C,QAAO;AAGR,QAAO"}
@@ -23,7 +23,7 @@ function getElementRef(element) {
23
23
  * Slot component that properly forwards refs when using asChild pattern.
24
24
  * Uses forwardRef to receive the ref and merges it with any existing ref on the child.
25
25
  */
26
- const Slot = React$1.forwardRef(({ children,...props }, forwardedRef) => {
26
+ const Slot = React$1.forwardRef(({ children, ...props }, forwardedRef) => {
27
27
  const mergedRef = mergeRefs([forwardedRef, getElementRef(children)]);
28
28
  return React$1.cloneElement(children, {
29
29
  ...props,
@@ -51,7 +51,7 @@ function useRenderElement(tag, componentProps, params) {
51
51
  ref: getElementRef(render) || ref
52
52
  });
53
53
  if (asChild && React$1.isValidElement(propsWithClassName.children)) {
54
- const { ref: slotRef,...restMergedProps } = mergedProps;
54
+ const { ref: slotRef, ...restMergedProps } = mergedProps;
55
55
  return /* @__PURE__ */ jsx(Slot, {
56
56
  ref: slotRef,
57
57
  ...restMergedProps,
@@ -1 +1 @@
1
- {"version":3,"file":"use-render-element.js","names":["React"],"sources":["../../src/utils/use-render-element.tsx"],"sourcesContent":["/** biome-ignore-all lint/suspicious/noExplicitAny: works well here */\n/** biome-ignore-all lint/nursery/noUnnecessaryConditions: ok */\n\nimport type { JSX } from \"react\";\nimport * as React from \"react\";\nimport { mergeRefs } from \"./merge-refs\";\n\n/**\n * Gets the ref from a React element in a way that's compatible with both React 18 and React 19.\n *\n * - Before React 19: accessing `element.props.ref` throws a warning, use `element.ref`\n * - After React 19: accessing `element.ref` throws a warning, use `element.props.ref`\n *\n * This function detects which version of React is being used by checking for the\n * `isReactWarning` property descriptor that React adds in DEV mode.\n *\n * @see https://github.com/radix-ui/primitives/pull/2811\n */\nfunction getElementRef(element: React.ReactElement): React.Ref<unknown> | null {\n\t// React 18 in DEV mode will throw a warning when accessing `element.props.ref`\n\t// and suggest using `element.ref` instead.\n\t// We detect this by checking for the `isReactWarning` getter on `props.ref`.\n\tconst getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n\tconst mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n\n\tif (mayWarn) {\n\t\t// React 18: use element.ref\n\t\treturn (element as any).ref;\n\t}\n\n\t// React 19 or production: prefer props.ref, fallback to element.ref for older versions\n\treturn (element.props as any).ref ?? (element as any).ref;\n}\n\ntype IntrinsicTag = keyof JSX.IntrinsicElements;\n\ntype ClassName<State> = string | ((state: State) => string);\n\ntype RenderFn<Props, State> = (\n\tprops: Props,\n\tstate: State\n) => React.ReactElement;\n\ntype RenderProps<State, Tag extends IntrinsicTag> = {\n\trender?: React.ReactElement | RenderFn<JSX.IntrinsicElements[Tag], State>;\n\tclassName?: ClassName<State>;\n\tasChild?: boolean;\n};\n\ntype RenderParams<State, Tag extends IntrinsicTag> = {\n\tstate?: State;\n\tref?: React.Ref<any>;\n\tprops?: Partial<JSX.IntrinsicElements[Tag]>;\n\tenabled?: boolean;\n};\n\ntype SlotProps = {\n\tchildren: React.ReactElement;\n\t[key: string]: any;\n};\n\n/**\n * Slot component that properly forwards refs when using asChild pattern.\n * Uses forwardRef to receive the ref and merges it with any existing ref on the child.\n */\nconst Slot = React.forwardRef<HTMLElement, SlotProps>(\n\t({ children, ...props }, forwardedRef) => {\n\t\t// Get the child's existing ref using React 18/19 compatible helper\n\t\tconst childRef = getElementRef(children);\n\n\t\t// Merge the forwarded ref with the child's ref\n\t\tconst mergedRef = mergeRefs([forwardedRef, childRef]);\n\n\t\treturn React.cloneElement(children, {\n\t\t\t...props,\n\t\t\tref: mergedRef,\n\t\t\tclassName: [(children.props as any).className, props.className]\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.join(\" \"),\n\t\t} as any);\n\t}\n);\n\n/**\n * Utility hook to support slot-style component overrides.\n */\nexport function useRenderElement<\n\tState extends Record<string, any>,\n\tTag extends IntrinsicTag,\n>(\n\ttag: Tag,\n\tcomponentProps: RenderProps<State, Tag>,\n\tparams?: RenderParams<State, Tag>\n): React.ReactElement | null {\n\tconst { render, className: classNameProp, asChild = false } = componentProps;\n\n\tconst {\n\t\tstate = {} as State,\n\t\tref,\n\t\tprops = {} as Partial<JSX.IntrinsicElements[Tag]>,\n\t\tenabled = true,\n\t} = params || {};\n\n\tif (!enabled) {\n\t\treturn null;\n\t}\n\n\tconst computedClassName =\n\t\ttypeof classNameProp === \"function\" ? classNameProp(state) : classNameProp;\n\n\tconst propsWithClassName = props as {\n\t\tclassName?: string;\n\t\tchildren?: React.ReactNode;\n\t};\n\tconst mergedProps = {\n\t\t...props,\n\t\tclassName: [propsWithClassName.className, computedClassName]\n\t\t\t.filter(Boolean)\n\t\t\t.join(\" \"),\n\t\tref,\n\t};\n\n\tif (typeof render === \"function\") {\n\t\treturn render(mergedProps as JSX.IntrinsicElements[Tag], state);\n\t}\n\n\tif (React.isValidElement(render)) {\n\t\treturn React.cloneElement(render, {\n\t\t\t...mergedProps,\n\t\t\tref: getElementRef(render) || ref,\n\t\t});\n\t}\n\n\tif (asChild && React.isValidElement(propsWithClassName.children)) {\n\t\t// Extract ref to pass explicitly to the forwardRef Slot component\n\t\t// React extracts ref from spread props, so we must pass it separately\n\t\tconst { ref: slotRef, ...restMergedProps } = mergedProps;\n\t\treturn (\n\t\t\t<Slot ref={slotRef} {...restMergedProps}>\n\t\t\t\t{propsWithClassName.children}\n\t\t\t</Slot>\n\t\t);\n\t}\n\n\treturn React.createElement(tag, mergedProps as any);\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAkBA,SAAS,cAAc,SAAwD;CAI9E,MAAM,SAAS,OAAO,yBAAyB,QAAQ,OAAO,MAAM,EAAE;AAGtE,KAFgB,UAAU,oBAAoB,UAAU,OAAO,eAI9D,QAAQ,QAAgB;AAIzB,QAAQ,QAAQ,MAAc,OAAQ,QAAgB;;;;;;AAkCvD,MAAM,OAAOA,QAAM,YACjB,EAAE,SAAU,GAAG,SAAS,iBAAiB;CAKzC,MAAM,YAAY,UAAU,CAAC,cAHZ,cAAc,SAAS,CAGY,CAAC;AAErD,QAAOA,QAAM,aAAa,UAAU;EACnC,GAAG;EACH,KAAK;EACL,WAAW,CAAE,SAAS,MAAc,WAAW,MAAM,UAAU,CAC7D,OAAO,QAAQ,CACf,KAAK,IAAI;EACX,CAAQ;EAEV;;;;AAKD,SAAgB,iBAIf,KACA,gBACA,QAC4B;CAC5B,MAAM,EAAE,QAAQ,WAAW,eAAe,UAAU,UAAU;CAE9D,MAAM,EACL,QAAQ,EAAE,EACV,KACA,QAAQ,EAAE,EACV,UAAU,SACP,UAAU,EAAE;AAEhB,KAAI,CAAC,QACJ,QAAO;CAGR,MAAM,oBACL,OAAO,kBAAkB,aAAa,cAAc,MAAM,GAAG;CAE9D,MAAM,qBAAqB;CAI3B,MAAM,cAAc;EACnB,GAAG;EACH,WAAW,CAAC,mBAAmB,WAAW,kBAAkB,CAC1D,OAAO,QAAQ,CACf,KAAK,IAAI;EACX;EACA;AAED,KAAI,OAAO,WAAW,WACrB,QAAO,OAAO,aAA2C,MAAM;AAGhE,KAAIA,QAAM,eAAe,OAAO,CAC/B,QAAOA,QAAM,aAAa,QAAQ;EACjC,GAAG;EACH,KAAK,cAAc,OAAO,IAAI;EAC9B,CAAC;AAGH,KAAI,WAAWA,QAAM,eAAe,mBAAmB,SAAS,EAAE;EAGjE,MAAM,EAAE,KAAK,QAAS,GAAG,oBAAoB;AAC7C,SACC,oBAAC;GAAK,KAAK;GAAS,GAAI;aACtB,mBAAmB;IACd;;AAIT,QAAOA,QAAM,cAAc,KAAK,YAAmB"}
1
+ {"version":3,"file":"use-render-element.js","names":["React"],"sources":["../../src/utils/use-render-element.tsx"],"sourcesContent":["/** biome-ignore-all lint/suspicious/noExplicitAny: works well here */\n/** biome-ignore-all lint/nursery/noUnnecessaryConditions: ok */\n\nimport type { JSX } from \"react\";\nimport * as React from \"react\";\nimport { mergeRefs } from \"./merge-refs\";\n\n/**\n * Gets the ref from a React element in a way that's compatible with both React 18 and React 19.\n *\n * - Before React 19: accessing `element.props.ref` throws a warning, use `element.ref`\n * - After React 19: accessing `element.ref` throws a warning, use `element.props.ref`\n *\n * This function detects which version of React is being used by checking for the\n * `isReactWarning` property descriptor that React adds in DEV mode.\n *\n * @see https://github.com/radix-ui/primitives/pull/2811\n */\nfunction getElementRef(element: React.ReactElement): React.Ref<unknown> | null {\n\t// React 18 in DEV mode will throw a warning when accessing `element.props.ref`\n\t// and suggest using `element.ref` instead.\n\t// We detect this by checking for the `isReactWarning` getter on `props.ref`.\n\tconst getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n\tconst mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n\n\tif (mayWarn) {\n\t\t// React 18: use element.ref\n\t\treturn (element as any).ref;\n\t}\n\n\t// React 19 or production: prefer props.ref, fallback to element.ref for older versions\n\treturn (element.props as any).ref ?? (element as any).ref;\n}\n\ntype IntrinsicTag = keyof JSX.IntrinsicElements;\n\ntype ClassName<State> = string | ((state: State) => string);\n\ntype RenderFn<Props, State> = (\n\tprops: Props,\n\tstate: State\n) => React.ReactElement;\n\ntype RenderProps<State, Tag extends IntrinsicTag> = {\n\trender?: React.ReactElement | RenderFn<JSX.IntrinsicElements[Tag], State>;\n\tclassName?: ClassName<State>;\n\tasChild?: boolean;\n};\n\ntype RenderParams<State, Tag extends IntrinsicTag> = {\n\tstate?: State;\n\tref?: React.Ref<any>;\n\tprops?: Partial<JSX.IntrinsicElements[Tag]>;\n\tenabled?: boolean;\n};\n\ntype SlotProps = {\n\tchildren: React.ReactElement;\n\t[key: string]: any;\n};\n\n/**\n * Slot component that properly forwards refs when using asChild pattern.\n * Uses forwardRef to receive the ref and merges it with any existing ref on the child.\n */\nconst Slot = React.forwardRef<HTMLElement, SlotProps>(\n\t({ children, ...props }, forwardedRef) => {\n\t\t// Get the child's existing ref using React 18/19 compatible helper\n\t\tconst childRef = getElementRef(children);\n\n\t\t// Merge the forwarded ref with the child's ref\n\t\tconst mergedRef = mergeRefs([forwardedRef, childRef]);\n\n\t\treturn React.cloneElement(children, {\n\t\t\t...props,\n\t\t\tref: mergedRef,\n\t\t\tclassName: [(children.props as any).className, props.className]\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.join(\" \"),\n\t\t} as any);\n\t}\n);\n\n/**\n * Utility hook to support slot-style component overrides.\n */\nexport function useRenderElement<\n\tState extends Record<string, any>,\n\tTag extends IntrinsicTag,\n>(\n\ttag: Tag,\n\tcomponentProps: RenderProps<State, Tag>,\n\tparams?: RenderParams<State, Tag>\n): React.ReactElement | null {\n\tconst { render, className: classNameProp, asChild = false } = componentProps;\n\n\tconst {\n\t\tstate = {} as State,\n\t\tref,\n\t\tprops = {} as Partial<JSX.IntrinsicElements[Tag]>,\n\t\tenabled = true,\n\t} = params || {};\n\n\tif (!enabled) {\n\t\treturn null;\n\t}\n\n\tconst computedClassName =\n\t\ttypeof classNameProp === \"function\" ? classNameProp(state) : classNameProp;\n\n\tconst propsWithClassName = props as {\n\t\tclassName?: string;\n\t\tchildren?: React.ReactNode;\n\t};\n\tconst mergedProps = {\n\t\t...props,\n\t\tclassName: [propsWithClassName.className, computedClassName]\n\t\t\t.filter(Boolean)\n\t\t\t.join(\" \"),\n\t\tref,\n\t};\n\n\tif (typeof render === \"function\") {\n\t\treturn render(mergedProps as JSX.IntrinsicElements[Tag], state);\n\t}\n\n\tif (React.isValidElement(render)) {\n\t\treturn React.cloneElement(render, {\n\t\t\t...mergedProps,\n\t\t\tref: getElementRef(render) || ref,\n\t\t});\n\t}\n\n\tif (asChild && React.isValidElement(propsWithClassName.children)) {\n\t\t// Extract ref to pass explicitly to the forwardRef Slot component\n\t\t// React extracts ref from spread props, so we must pass it separately\n\t\tconst { ref: slotRef, ...restMergedProps } = mergedProps;\n\t\treturn (\n\t\t\t<Slot ref={slotRef} {...restMergedProps}>\n\t\t\t\t{propsWithClassName.children}\n\t\t\t</Slot>\n\t\t);\n\t}\n\n\treturn React.createElement(tag, mergedProps as any);\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAkBA,SAAS,cAAc,SAAwD;CAI9E,MAAM,SAAS,OAAO,yBAAyB,QAAQ,OAAO,MAAM,EAAE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MakePartial } from "./util.js";
2
- import { $ZodBase64, $ZodBase64URL, $ZodCIDRv4, $ZodCIDRv6, $ZodCUID, $ZodCUID2, $ZodCustom, $ZodE164, $ZodEmail, $ZodEmoji, $ZodEnum, $ZodGUID, $ZodIPv4, $ZodIPv6, $ZodISODate, $ZodISODateTime, $ZodISODuration, $ZodISOTime, $ZodJWT, $ZodKSUID, $ZodNanoID, $ZodNonOptional, $ZodStringFormat, $ZodType, $ZodULID, $ZodURL, $ZodUUID, $ZodXID, ParsePayload } from "./schemas.js";
3
- import { $ZodCheck, $ZodCheckEndsWith, $ZodCheckGreaterThan, $ZodCheckIncludes, $ZodCheckLengthEquals, $ZodCheckLessThan, $ZodCheckLowerCase, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckRegex, $ZodCheckStartsWith, $ZodCheckUpperCase } from "./checks.js";
4
- import { $ZodErrorMap, $ZodIssue, $ZodIssueBase } from "./errors.js";
5
-
6
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/api.d.cts
7
- type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
8
- error?: string | $ZodErrorMap<IssueTypes> | undefined;
9
- /** @deprecated This parameter is deprecated. Use `error` instead. */
10
- message?: string | undefined;
11
- })>>>;
12
- type TypeParams<T extends $ZodType = $ZodType & {
13
- _isst: never;
14
- }, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
15
- type CheckParams<T extends $ZodCheck = $ZodCheck,
16
- // & { _issc: never },
17
- AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
18
- type CheckStringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
19
- type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
20
- type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
21
- type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
22
- type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
23
- type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
24
- type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
25
- type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
26
- type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
27
- type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
28
- type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
29
- type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
30
- type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
31
- type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
32
- type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
33
- type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
34
- type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
35
- type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
36
- type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
37
- type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
38
- type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
39
- type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
40
- type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
41
- type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
42
- type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
43
- type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
44
- type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
45
- type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
46
- type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
47
- type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
48
- type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
49
- type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
50
- type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
51
- type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
52
- type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
53
- type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
54
- type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
55
- type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
56
- type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
57
- type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
58
- type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
59
- type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
60
- type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
61
- /** The schema or check that originated this issue. */
62
- readonly inst?: $ZodType | $ZodCheck;
63
- /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
64
- readonly continue?: boolean | undefined;
65
- } & Record<string, unknown>> : never;
66
- interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
67
- addIssue(arg: string | $ZodSuperRefineIssue): void;
68
- }
69
- //#endregion
70
- export { $RefinementCtx, $ZodCheckBase64Params, $ZodCheckBase64URLParams, $ZodCheckCIDRv4Params, $ZodCheckCIDRv6Params, $ZodCheckCUID2Params, $ZodCheckCUIDParams, $ZodCheckE164Params, $ZodCheckEmailParams, $ZodCheckEmojiParams, $ZodCheckEndsWithParams, $ZodCheckGUIDParams, $ZodCheckGreaterThanParams, $ZodCheckIPv4Params, $ZodCheckIPv6Params, $ZodCheckISODateParams, $ZodCheckISODateTimeParams, $ZodCheckISODurationParams, $ZodCheckISOTimeParams, $ZodCheckIncludesParams, $ZodCheckJWTParams, $ZodCheckKSUIDParams, $ZodCheckLengthEqualsParams, $ZodCheckLessThanParams, $ZodCheckLowerCaseParams, $ZodCheckMaxLengthParams, $ZodCheckMinLengthParams, $ZodCheckMultipleOfParams, $ZodCheckNanoIDParams, $ZodCheckNumberFormatParams, $ZodCheckRegexParams, $ZodCheckStartsWithParams, $ZodCheckULIDParams, $ZodCheckURLParams, $ZodCheckUUIDParams, $ZodCheckUpperCaseParams, $ZodCheckXIDParams, $ZodCustomParams, $ZodEnumParams, $ZodNonOptionalParams };
71
- //# sourceMappingURL=api.d.ts.map
package/api.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","names":["checks","core","errors","registries","schemas","util","Params","T","IssueTypes","OmitKeys","$ZodType","$ZodCheck","$ZodIssueBase","Omit","$ZodErrorMap","EmptyToNever","Partial","Flatten","TypeParams","AlsoOmit","Exclude","NonNullable","CheckParams","StringFormatParams","$ZodStringFormat","CheckStringFormatParams","CheckTypeParams","$ZodStringParams","$ZodString","_string","SchemaClass","_coercedString","$ZodStringFormatParams","$ZodCheckStringFormatParams","$ZodCheckStringFormat","$ZodEmailParams","$ZodEmail","$ZodCheckEmailParams","_email","$ZodGUIDParams","$ZodGUID","$ZodCheckGUIDParams","_guid","$ZodUUIDParams","$ZodUUID","$ZodCheckUUIDParams","_uuid","$ZodUUIDv4Params","$ZodCheckUUIDv4Params","_uuidv4","$ZodUUIDv6Params","$ZodCheckUUIDv6Params","_uuidv6","$ZodUUIDv7Params","$ZodCheckUUIDv7Params","_uuidv7","$ZodURLParams","$ZodURL","$ZodCheckURLParams","_url","$ZodEmojiParams","$ZodEmoji","$ZodCheckEmojiParams","_emoji","$ZodNanoIDParams","$ZodNanoID","$ZodCheckNanoIDParams","_nanoid","$ZodCUIDParams","$ZodCUID","$ZodCheckCUIDParams","_cuid","$ZodCUID2Params","$ZodCUID2","$ZodCheckCUID2Params","_cuid2","$ZodULIDParams","$ZodULID","$ZodCheckULIDParams","_ulid","$ZodXIDParams","$ZodXID","$ZodCheckXIDParams","_xid","$ZodKSUIDParams","$ZodKSUID","$ZodCheckKSUIDParams","_ksuid","$ZodIPv4Params","$ZodIPv4","$ZodCheckIPv4Params","_ipv4","$ZodIPv6Params","$ZodIPv6","$ZodCheckIPv6Params","_ipv6","$ZodMACParams","$ZodMAC","$ZodCheckMACParams","_mac","$ZodCIDRv4Params","$ZodCIDRv4","$ZodCheckCIDRv4Params","_cidrv4","$ZodCIDRv6Params","$ZodCIDRv6","$ZodCheckCIDRv6Params","_cidrv6","$ZodBase64Params","$ZodBase64","$ZodCheckBase64Params","_base64","$ZodBase64URLParams","$ZodBase64URL","$ZodCheckBase64URLParams","_base64url","$ZodE164Params","$ZodE164","$ZodCheckE164Params","_e164","$ZodJWTParams","$ZodJWT","$ZodCheckJWTParams","_jwt","TimePrecision","$ZodISODateTimeParams","$ZodISODateTime","$ZodCheckISODateTimeParams","_isoDateTime","$ZodISODateParams","$ZodISODate","$ZodCheckISODateParams","_isoDate","$ZodISOTimeParams","$ZodISOTime","$ZodCheckISOTimeParams","_isoTime","$ZodISODurationParams","$ZodISODuration","$ZodCheckISODurationParams","_isoDuration","$ZodNumberParams","$ZodNumber","$ZodNumberFormatParams","$ZodNumberFormat","$ZodCheckNumberFormatParams","$ZodCheckNumberFormat","_number","_coercedNumber","_int","_float32","_float64","_int32","_uint32","$ZodBooleanParams","$ZodBoolean","_boolean","_coercedBoolean","$ZodBigIntParams","$ZodBigInt","$ZodBigIntFormatParams","$ZodBigIntFormat","$ZodCheckBigIntFormatParams","$ZodCheckBigIntFormat","_bigint","_coercedBigint","_int64","_uint64","$ZodSymbolParams","$ZodSymbol","_symbol","$ZodUndefinedParams","$ZodUndefined","_undefined","$ZodNullParams","$ZodNull","_null","$ZodAnyParams","$ZodAny","_any","$ZodUnknownParams","$ZodUnknown","_unknown","$ZodNeverParams","$ZodNever","_never","$ZodVoidParams","$ZodVoid","_void","$ZodDateParams","$ZodDate","_date","_coercedDate","$ZodNaNParams","$ZodNaN","_nan","$ZodCheckLessThanParams","$ZodCheckLessThan","_lt","Numeric","_lte","_max","$ZodCheckGreaterThanParams","$ZodCheckGreaterThan","_gt","_gte","_min","_positive","_negative","_nonpositive","_nonnegative","$ZodCheckMultipleOfParams","$ZodCheckMultipleOf","_multipleOf","$ZodCheckMaxSizeParams","$ZodCheckMaxSize","_maxSize","HasSize","$ZodCheckMinSizeParams","$ZodCheckMinSize","_minSize","$ZodCheckSizeEqualsParams","$ZodCheckSizeEquals","_size","$ZodCheckMaxLengthParams","$ZodCheckMaxLength","_maxLength","HasLength","$ZodCheckMinLengthParams","$ZodCheckMinLength","_minLength","$ZodCheckLengthEqualsParams","$ZodCheckLengthEquals","_length","$ZodCheckRegexParams","$ZodCheckRegex","_regex","RegExp","$ZodCheckLowerCaseParams","$ZodCheckLowerCase","_lowercase","$ZodCheckUpperCaseParams","$ZodCheckUpperCase","_uppercase","$ZodCheckIncludesParams","$ZodCheckIncludes","_includes","$ZodCheckStartsWithParams","$ZodCheckStartsWith","_startsWith","$ZodCheckEndsWithParams","$ZodCheckEndsWith","_endsWith","$ZodCheckPropertyParams","$ZodCheckProperty","_property","K","output","$ZodCheckMimeTypeParams","$ZodCheckMimeType","_mime","MimeTypes","_overwrite","$ZodCheckOverwrite","_normalize","_trim","_toLowerCase","_toUpperCase","_slugify","$ZodArrayParams","$ZodArray","_array","$ZodObjectParams","$ZodObject","$ZodUnionParams","$ZodUnion","_union","$ZodXorParams","$ZodXor","_xor","$ZodTypeDiscriminableInternals","PropValues","$ZodTypeInternals","$ZodTypeDiscriminable","$ZodDiscriminatedUnionParams","$ZodDiscriminatedUnion","_discriminatedUnion","Types","Disc","$ZodIntersectionParams","$ZodIntersection","_intersection","U","$ZodTupleParams","$ZodTuple","_tuple","Rest","$ZodRecordParams","$ZodRecord","_record","Key","Value","$ZodRecordKey","$ZodMapParams","$ZodMap","_map","$ZodSetParams","$ZodSet","_set","$ZodEnumParams","$ZodEnum","_enum","ToEnum","EnumLike","_nativeEnum","$ZodLiteralParams","$ZodLiteral","_literal","Literal","Array","$ZodFileParams","$ZodFile","_file","$ZodTransformParams","$ZodTransform","_transform","I","O","ParsePayload","Awaited","$ZodOptionalParams","$ZodOptional","_optional","$ZodNullableParams","$ZodNullable","_nullable","$ZodDefaultParams","$ZodDefault","_default","NoUndefined","$ZodNonOptionalParams","$ZodNonOptional","_nonoptional","$ZodSuccessParams","$ZodSuccess","_success","$ZodCatchParams","$ZodCatch","_catch","$ZodCatchCtx","$ZodPipeParams","$ZodPipe","_pipe","A","B","$ZodReadonlyParams","$ZodReadonly","_readonly","$ZodTemplateLiteralParams","$ZodTemplateLiteral","_templateLiteral","Parts","$ZodTemplateLiteralPart","$PartsToTemplateLiteral","$ZodLazyParams","$ZodLazy","_lazy","$ZodPromiseParams","$ZodPromise","_promise","$ZodCustomParams","$ZodCustom","_custom","_refine","$ZodSuperRefineIssue","$ZodIssue","RawIssue","MakePartial","Record","$RefinementCtx","_superRefine","Promise","_check","CheckFn","describe","meta","GlobalMeta","$ZodStringBoolParams","_stringbool","$ZodCodec","_stringFormat","Format","$ZodCustomStringFormat","MaybeAsync"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/api.d.cts"],"sourcesContent":["import * as checks from \"./checks.cjs\";\nimport type * as core from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport * as registries from \"./registries.cjs\";\nimport * as schemas from \"./schemas.cjs\";\nimport * as util from \"./util.cjs\";\nexport type Params<T extends schemas.$ZodType | checks.$ZodCheck, IssueTypes extends errors.$ZodIssueBase, OmitKeys extends keyof T[\"_zod\"][\"def\"] = never> = util.Flatten<Partial<util.EmptyToNever<Omit<T[\"_zod\"][\"def\"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {\n error?: string | errors.$ZodErrorMap<IssueTypes> | undefined;\n /** @deprecated This parameter is deprecated. Use `error` instead. */\n message?: string | undefined;\n})>>>;\nexport type TypeParams<T extends schemas.$ZodType = schemas.$ZodType & {\n _isst: never;\n}, AlsoOmit extends Exclude<keyof T[\"_zod\"][\"def\"], \"type\" | \"checks\" | \"error\"> = never> = Params<T, NonNullable<T[\"_zod\"][\"isst\"]>, \"type\" | \"checks\" | \"error\" | AlsoOmit>;\nexport type CheckParams<T extends checks.$ZodCheck = checks.$ZodCheck, // & { _issc: never },\nAlsoOmit extends Exclude<keyof T[\"_zod\"][\"def\"], \"check\" | \"error\"> = never> = Params<T, NonNullable<T[\"_zod\"][\"issc\"]>, \"check\" | \"error\" | AlsoOmit>;\nexport type StringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\"_zod\"][\"def\"], \"type\" | \"coerce\" | \"checks\" | \"error\" | \"check\" | \"format\"> = never> = Params<T, NonNullable<T[\"_zod\"][\"isst\"] | T[\"_zod\"][\"issc\"]>, \"type\" | \"coerce\" | \"checks\" | \"error\" | \"check\" | \"format\" | AlsoOmit>;\nexport type CheckStringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\"_zod\"][\"def\"], \"type\" | \"coerce\" | \"checks\" | \"error\" | \"check\" | \"format\"> = never> = Params<T, NonNullable<T[\"_zod\"][\"issc\"]>, \"type\" | \"coerce\" | \"checks\" | \"error\" | \"check\" | \"format\" | AlsoOmit>;\nexport type CheckTypeParams<T extends schemas.$ZodType & checks.$ZodCheck = schemas.$ZodType & checks.$ZodCheck, AlsoOmit extends Exclude<keyof T[\"_zod\"][\"def\"], \"type\" | \"checks\" | \"error\" | \"check\"> = never> = Params<T, NonNullable<T[\"_zod\"][\"isst\"] | T[\"_zod\"][\"issc\"]>, \"type\" | \"checks\" | \"error\" | \"check\" | AlsoOmit>;\nexport type $ZodStringParams = TypeParams<schemas.$ZodString<string>, \"coerce\">;\nexport declare function _string<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\nexport declare function _coercedString<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\nexport type $ZodStringFormatParams = CheckTypeParams<schemas.$ZodStringFormat, \"format\" | \"coerce\" | \"when\" | \"pattern\">;\nexport type $ZodCheckStringFormatParams = CheckParams<checks.$ZodCheckStringFormat, \"format\">;\nexport type $ZodEmailParams = StringFormatParams<schemas.$ZodEmail, \"when\">;\nexport type $ZodCheckEmailParams = CheckStringFormatParams<schemas.$ZodEmail, \"when\">;\nexport declare function _email<T extends schemas.$ZodEmail>(Class: util.SchemaClass<T>, params?: string | $ZodEmailParams | $ZodCheckEmailParams): T;\nexport type $ZodGUIDParams = StringFormatParams<schemas.$ZodGUID, \"pattern\" | \"when\">;\nexport type $ZodCheckGUIDParams = CheckStringFormatParams<schemas.$ZodGUID, \"pattern\" | \"when\">;\nexport declare function _guid<T extends schemas.$ZodGUID>(Class: util.SchemaClass<T>, params?: string | $ZodGUIDParams | $ZodCheckGUIDParams): T;\nexport type $ZodUUIDParams = StringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport type $ZodCheckUUIDParams = CheckStringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport declare function _uuid<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDParams | $ZodCheckUUIDParams): T;\nexport type $ZodUUIDv4Params = StringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport type $ZodCheckUUIDv4Params = CheckStringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport declare function _uuidv4<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params): T;\nexport type $ZodUUIDv6Params = StringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport type $ZodCheckUUIDv6Params = CheckStringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport declare function _uuidv6<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params): T;\nexport type $ZodUUIDv7Params = StringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport type $ZodCheckUUIDv7Params = CheckStringFormatParams<schemas.$ZodUUID, \"pattern\" | \"when\">;\nexport declare function _uuidv7<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params): T;\nexport type $ZodURLParams = StringFormatParams<schemas.$ZodURL, \"when\">;\nexport type $ZodCheckURLParams = CheckStringFormatParams<schemas.$ZodURL, \"when\">;\nexport declare function _url<T extends schemas.$ZodURL>(Class: util.SchemaClass<T>, params?: string | $ZodURLParams | $ZodCheckURLParams): T;\nexport type $ZodEmojiParams = StringFormatParams<schemas.$ZodEmoji, \"when\">;\nexport type $ZodCheckEmojiParams = CheckStringFormatParams<schemas.$ZodEmoji, \"when\">;\nexport declare function _emoji<T extends schemas.$ZodEmoji>(Class: util.SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;\nexport type $ZodNanoIDParams = StringFormatParams<schemas.$ZodNanoID, \"when\">;\nexport type $ZodCheckNanoIDParams = CheckStringFormatParams<schemas.$ZodNanoID, \"when\">;\nexport declare function _nanoid<T extends schemas.$ZodNanoID>(Class: util.SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;\nexport type $ZodCUIDParams = StringFormatParams<schemas.$ZodCUID, \"when\">;\nexport type $ZodCheckCUIDParams = CheckStringFormatParams<schemas.$ZodCUID, \"when\">;\nexport declare function _cuid<T extends schemas.$ZodCUID>(Class: util.SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;\nexport type $ZodCUID2Params = StringFormatParams<schemas.$ZodCUID2, \"when\">;\nexport type $ZodCheckCUID2Params = CheckStringFormatParams<schemas.$ZodCUID2, \"when\">;\nexport declare function _cuid2<T extends schemas.$ZodCUID2>(Class: util.SchemaClass<T>, params?: string | $ZodCUID2Params | $ZodCheckCUID2Params): T;\nexport type $ZodULIDParams = StringFormatParams<schemas.$ZodULID, \"when\">;\nexport type $ZodCheckULIDParams = CheckStringFormatParams<schemas.$ZodULID, \"when\">;\nexport declare function _ulid<T extends schemas.$ZodULID>(Class: util.SchemaClass<T>, params?: string | $ZodULIDParams | $ZodCheckULIDParams): T;\nexport type $ZodXIDParams = StringFormatParams<schemas.$ZodXID, \"when\">;\nexport type $ZodCheckXIDParams = CheckStringFormatParams<schemas.$ZodXID, \"when\">;\nexport declare function _xid<T extends schemas.$ZodXID>(Class: util.SchemaClass<T>, params?: string | $ZodXIDParams | $ZodCheckXIDParams): T;\nexport type $ZodKSUIDParams = StringFormatParams<schemas.$ZodKSUID, \"when\">;\nexport type $ZodCheckKSUIDParams = CheckStringFormatParams<schemas.$ZodKSUID, \"when\">;\nexport declare function _ksuid<T extends schemas.$ZodKSUID>(Class: util.SchemaClass<T>, params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams): T;\nexport type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, \"pattern\" | \"when\" | \"version\">;\nexport type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, \"pattern\" | \"when\" | \"version\">;\nexport declare function _ipv4<T extends schemas.$ZodIPv4>(Class: util.SchemaClass<T>, params?: string | $ZodIPv4Params | $ZodCheckIPv4Params): T;\nexport type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, \"pattern\" | \"when\" | \"version\">;\nexport type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, \"pattern\" | \"when\" | \"version\">;\nexport declare function _ipv6<T extends schemas.$ZodIPv6>(Class: util.SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;\nexport type $ZodMACParams = StringFormatParams<schemas.$ZodMAC, \"pattern\" | \"when\">;\nexport type $ZodCheckMACParams = CheckStringFormatParams<schemas.$ZodMAC, \"pattern\" | \"when\">;\nexport declare function _mac<T extends schemas.$ZodMAC>(Class: util.SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;\nexport type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, \"pattern\" | \"when\">;\nexport type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, \"pattern\" | \"when\">;\nexport declare function _cidrv4<T extends schemas.$ZodCIDRv4>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;\nexport type $ZodCIDRv6Params = StringFormatParams<schemas.$ZodCIDRv6, \"pattern\" | \"when\">;\nexport type $ZodCheckCIDRv6Params = CheckStringFormatParams<schemas.$ZodCIDRv6, \"pattern\" | \"when\">;\nexport declare function _cidrv6<T extends schemas.$ZodCIDRv6>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params): T;\nexport type $ZodBase64Params = StringFormatParams<schemas.$ZodBase64, \"pattern\" | \"when\">;\nexport type $ZodCheckBase64Params = CheckStringFormatParams<schemas.$ZodBase64, \"pattern\" | \"when\">;\nexport declare function _base64<T extends schemas.$ZodBase64>(Class: util.SchemaClass<T>, params?: string | $ZodBase64Params | $ZodCheckBase64Params): T;\nexport type $ZodBase64URLParams = StringFormatParams<schemas.$ZodBase64URL, \"pattern\" | \"when\">;\nexport type $ZodCheckBase64URLParams = CheckStringFormatParams<schemas.$ZodBase64URL, \"pattern\" | \"when\">;\nexport declare function _base64url<T extends schemas.$ZodBase64URL>(Class: util.SchemaClass<T>, params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams): T;\nexport type $ZodE164Params = StringFormatParams<schemas.$ZodE164, \"when\">;\nexport type $ZodCheckE164Params = CheckStringFormatParams<schemas.$ZodE164, \"when\">;\nexport declare function _e164<T extends schemas.$ZodE164>(Class: util.SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;\nexport type $ZodJWTParams = StringFormatParams<schemas.$ZodJWT, \"pattern\" | \"when\">;\nexport type $ZodCheckJWTParams = CheckStringFormatParams<schemas.$ZodJWT, \"pattern\" | \"when\">;\nexport declare function _jwt<T extends schemas.$ZodJWT>(Class: util.SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;\nexport declare const TimePrecision: {\n readonly Any: null;\n readonly Minute: -1;\n readonly Second: 0;\n readonly Millisecond: 3;\n readonly Microsecond: 6;\n};\nexport type $ZodISODateTimeParams = StringFormatParams<schemas.$ZodISODateTime, \"pattern\" | \"when\">;\nexport type $ZodCheckISODateTimeParams = CheckStringFormatParams<schemas.$ZodISODateTime, \"pattern\" | \"when\">;\nexport declare function _isoDateTime<T extends schemas.$ZodISODateTime>(Class: util.SchemaClass<T>, params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams): T;\nexport type $ZodISODateParams = StringFormatParams<schemas.$ZodISODate, \"pattern\" | \"when\">;\nexport type $ZodCheckISODateParams = CheckStringFormatParams<schemas.$ZodISODate, \"pattern\" | \"when\">;\nexport declare function _isoDate<T extends schemas.$ZodISODate>(Class: util.SchemaClass<T>, params?: string | $ZodISODateParams | $ZodCheckISODateParams): T;\nexport type $ZodISOTimeParams = StringFormatParams<schemas.$ZodISOTime, \"pattern\" | \"when\">;\nexport type $ZodCheckISOTimeParams = CheckStringFormatParams<schemas.$ZodISOTime, \"pattern\" | \"when\">;\nexport declare function _isoTime<T extends schemas.$ZodISOTime>(Class: util.SchemaClass<T>, params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams): T;\nexport type $ZodISODurationParams = StringFormatParams<schemas.$ZodISODuration, \"when\">;\nexport type $ZodCheckISODurationParams = CheckStringFormatParams<schemas.$ZodISODuration, \"when\">;\nexport declare function _isoDuration<T extends schemas.$ZodISODuration>(Class: util.SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;\nexport type $ZodNumberParams = TypeParams<schemas.$ZodNumber<number>, \"coerce\">;\nexport type $ZodNumberFormatParams = CheckTypeParams<schemas.$ZodNumberFormat, \"format\" | \"coerce\">;\nexport type $ZodCheckNumberFormatParams = CheckParams<checks.$ZodCheckNumberFormat, \"format\" | \"when\">;\nexport declare function _number<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\nexport declare function _coercedNumber<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\nexport declare function _int<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\nexport declare function _float32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\nexport declare function _float64<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\nexport declare function _int32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\nexport declare function _uint32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\nexport type $ZodBooleanParams = TypeParams<schemas.$ZodBoolean<boolean>, \"coerce\">;\nexport declare function _boolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\nexport declare function _coercedBoolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\nexport type $ZodBigIntParams = TypeParams<schemas.$ZodBigInt<bigint>>;\nexport type $ZodBigIntFormatParams = CheckTypeParams<schemas.$ZodBigIntFormat, \"format\" | \"coerce\">;\nexport type $ZodCheckBigIntFormatParams = CheckParams<checks.$ZodCheckBigIntFormat, \"format\" | \"when\">;\nexport declare function _bigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\nexport declare function _coercedBigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\nexport declare function _int64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\nexport declare function _uint64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\nexport type $ZodSymbolParams = TypeParams<schemas.$ZodSymbol>;\nexport declare function _symbol<T extends schemas.$ZodSymbol>(Class: util.SchemaClass<T>, params?: string | $ZodSymbolParams): T;\nexport type $ZodUndefinedParams = TypeParams<schemas.$ZodUndefined>;\nexport declare function _undefined<T extends schemas.$ZodUndefined>(Class: util.SchemaClass<T>, params?: string | $ZodUndefinedParams): T;\nexport type $ZodNullParams = TypeParams<schemas.$ZodNull>;\nexport declare function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T;\nexport type $ZodAnyParams = TypeParams<schemas.$ZodAny>;\nexport declare function _any<T extends schemas.$ZodAny>(Class: util.SchemaClass<T>): T;\nexport type $ZodUnknownParams = TypeParams<schemas.$ZodUnknown>;\nexport declare function _unknown<T extends schemas.$ZodUnknown>(Class: util.SchemaClass<T>): T;\nexport type $ZodNeverParams = TypeParams<schemas.$ZodNever>;\nexport declare function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T;\nexport type $ZodVoidParams = TypeParams<schemas.$ZodVoid>;\nexport declare function _void<T extends schemas.$ZodVoid>(Class: util.SchemaClass<T>, params?: string | $ZodVoidParams): T;\nexport type $ZodDateParams = TypeParams<schemas.$ZodDate, \"coerce\">;\nexport declare function _date<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\nexport declare function _coercedDate<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\nexport type $ZodNaNParams = TypeParams<schemas.$ZodNaN>;\nexport declare function _nan<T extends schemas.$ZodNaN>(Class: util.SchemaClass<T>, params?: string | $ZodNaNParams): T;\nexport type $ZodCheckLessThanParams = CheckParams<checks.$ZodCheckLessThan, \"inclusive\" | \"value\" | \"when\">;\nexport declare function _lt(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\nexport declare function _lte(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\nexport { \n/** @deprecated Use `z.lte()` instead. */\n_lte as _max, };\nexport type $ZodCheckGreaterThanParams = CheckParams<checks.$ZodCheckGreaterThan, \"inclusive\" | \"value\" | \"when\">;\nexport declare function _gt(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\nexport declare function _gte(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\nexport { \n/** @deprecated Use `z.gte()` instead. */\n_gte as _min, };\nexport declare function _positive(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\nexport declare function _negative(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\nexport declare function _nonpositive(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\nexport declare function _nonnegative(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\nexport type $ZodCheckMultipleOfParams = CheckParams<checks.$ZodCheckMultipleOf, \"value\" | \"when\">;\nexport declare function _multipleOf(value: number | bigint, params?: string | $ZodCheckMultipleOfParams): checks.$ZodCheckMultipleOf;\nexport type $ZodCheckMaxSizeParams = CheckParams<checks.$ZodCheckMaxSize, \"maximum\" | \"when\">;\nexport declare function _maxSize(maximum: number, params?: string | $ZodCheckMaxSizeParams): checks.$ZodCheckMaxSize<util.HasSize>;\nexport type $ZodCheckMinSizeParams = CheckParams<checks.$ZodCheckMinSize, \"minimum\" | \"when\">;\nexport declare function _minSize(minimum: number, params?: string | $ZodCheckMinSizeParams): checks.$ZodCheckMinSize<util.HasSize>;\nexport type $ZodCheckSizeEqualsParams = CheckParams<checks.$ZodCheckSizeEquals, \"size\" | \"when\">;\nexport declare function _size(size: number, params?: string | $ZodCheckSizeEqualsParams): checks.$ZodCheckSizeEquals<util.HasSize>;\nexport type $ZodCheckMaxLengthParams = CheckParams<checks.$ZodCheckMaxLength, \"maximum\" | \"when\">;\nexport declare function _maxLength(maximum: number, params?: string | $ZodCheckMaxLengthParams): checks.$ZodCheckMaxLength<util.HasLength>;\nexport type $ZodCheckMinLengthParams = CheckParams<checks.$ZodCheckMinLength, \"minimum\" | \"when\">;\nexport declare function _minLength(minimum: number, params?: string | $ZodCheckMinLengthParams): checks.$ZodCheckMinLength<util.HasLength>;\nexport type $ZodCheckLengthEqualsParams = CheckParams<checks.$ZodCheckLengthEquals, \"length\" | \"when\">;\nexport declare function _length(length: number, params?: string | $ZodCheckLengthEqualsParams): checks.$ZodCheckLengthEquals<util.HasLength>;\nexport type $ZodCheckRegexParams = CheckParams<checks.$ZodCheckRegex, \"format\" | \"pattern\" | \"when\">;\nexport declare function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): checks.$ZodCheckRegex;\nexport type $ZodCheckLowerCaseParams = CheckParams<checks.$ZodCheckLowerCase, \"format\" | \"when\">;\nexport declare function _lowercase(params?: string | $ZodCheckLowerCaseParams): checks.$ZodCheckLowerCase;\nexport type $ZodCheckUpperCaseParams = CheckParams<checks.$ZodCheckUpperCase, \"format\" | \"when\">;\nexport declare function _uppercase(params?: string | $ZodCheckUpperCaseParams): checks.$ZodCheckUpperCase;\nexport type $ZodCheckIncludesParams = CheckParams<checks.$ZodCheckIncludes, \"includes\" | \"format\" | \"when\" | \"pattern\">;\nexport declare function _includes(includes: string, params?: string | $ZodCheckIncludesParams): checks.$ZodCheckIncludes;\nexport type $ZodCheckStartsWithParams = CheckParams<checks.$ZodCheckStartsWith, \"prefix\" | \"format\" | \"when\" | \"pattern\">;\nexport declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): checks.$ZodCheckStartsWith;\nexport type $ZodCheckEndsWithParams = CheckParams<checks.$ZodCheckEndsWith, \"suffix\" | \"format\" | \"pattern\" | \"when\">;\nexport declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): checks.$ZodCheckEndsWith;\nexport type $ZodCheckPropertyParams = CheckParams<checks.$ZodCheckProperty, \"property\" | \"schema\" | \"when\">;\nexport declare function _property<K extends string, T extends schemas.$ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): checks.$ZodCheckProperty<{\n [k in K]: core.output<T>;\n}>;\nexport type $ZodCheckMimeTypeParams = CheckParams<checks.$ZodCheckMimeType, \"mime\" | \"when\">;\nexport declare function _mime(types: util.MimeTypes[], params?: string | $ZodCheckMimeTypeParams): checks.$ZodCheckMimeType;\nexport declare function _overwrite<T>(tx: (input: T) => T): checks.$ZodCheckOverwrite<T>;\nexport declare function _normalize(form?: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\" | (string & {})): checks.$ZodCheckOverwrite<string>;\nexport declare function _trim(): checks.$ZodCheckOverwrite<string>;\nexport declare function _toLowerCase(): checks.$ZodCheckOverwrite<string>;\nexport declare function _toUpperCase(): checks.$ZodCheckOverwrite<string>;\nexport declare function _slugify(): checks.$ZodCheckOverwrite<string>;\nexport type $ZodArrayParams = TypeParams<schemas.$ZodArray, \"element\">;\nexport declare function _array<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodArray>, element: T, params?: string | $ZodArrayParams): schemas.$ZodArray<T>;\nexport type $ZodObjectParams = TypeParams<schemas.$ZodObject, \"shape\" | \"catchall\">;\nexport type $ZodUnionParams = TypeParams<schemas.$ZodUnion, \"options\">;\nexport declare function _union<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodUnion>, options: T, params?: string | $ZodUnionParams): schemas.$ZodUnion<T>;\nexport type $ZodXorParams = TypeParams<schemas.$ZodXor, \"options\">;\nexport declare function _xor<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodXor>, options: T, params?: string | $ZodXorParams): schemas.$ZodXor<T>;\nexport interface $ZodTypeDiscriminableInternals extends schemas.$ZodTypeInternals {\n propValues: util.PropValues;\n}\nexport interface $ZodTypeDiscriminable extends schemas.$ZodType {\n _zod: $ZodTypeDiscriminableInternals;\n}\nexport type $ZodDiscriminatedUnionParams = TypeParams<schemas.$ZodDiscriminatedUnion, \"options\" | \"discriminator\">;\nexport declare function _discriminatedUnion<Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]], Disc extends string>(Class: util.SchemaClass<schemas.$ZodDiscriminatedUnion>, discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): schemas.$ZodDiscriminatedUnion<Types, Disc>;\nexport type $ZodIntersectionParams = TypeParams<schemas.$ZodIntersection, \"left\" | \"right\">;\nexport declare function _intersection<T extends schemas.$ZodObject, U extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodIntersection>, left: T, right: U): schemas.$ZodIntersection<T, U>;\nexport type $ZodTupleParams = TypeParams<schemas.$ZodTuple, \"items\" | \"rest\">;\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]]>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, null>;\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]], Rest extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, Rest>;\nexport type $ZodRecordParams = TypeParams<schemas.$ZodRecord, \"keyType\" | \"valueType\">;\nexport declare function _record<Key extends schemas.$ZodRecordKey, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): schemas.$ZodRecord<Key, Value>;\nexport type $ZodMapParams = TypeParams<schemas.$ZodMap, \"keyType\" | \"valueType\">;\nexport declare function _map<Key extends schemas.$ZodObject, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): schemas.$ZodMap<Key, Value>;\nexport type $ZodSetParams = TypeParams<schemas.$ZodSet, \"valueType\">;\nexport declare function _set<Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSet>, valueType: Value, params?: string | $ZodSetParams): schemas.$ZodSet<Value>;\nexport type $ZodEnumParams = TypeParams<schemas.$ZodEnum, \"entries\">;\nexport declare function _enum<const T extends string[]>(Class: util.SchemaClass<schemas.$ZodEnum>, values: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<util.ToEnum<T[number]>>;\nexport declare function _enum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\n *\n * ```ts\n * enum Colors { red, green, blue }\n * z.enum(Colors);\n * ```\n */\nexport declare function _nativeEnum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\nexport type $ZodLiteralParams = TypeParams<schemas.$ZodLiteral, \"values\">;\nexport declare function _literal<const T extends Array<util.Literal>>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T[number]>;\nexport declare function _literal<const T extends util.Literal>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T>;\nexport type $ZodFileParams = TypeParams<schemas.$ZodFile>;\nexport declare function _file(Class: util.SchemaClass<schemas.$ZodFile>, params?: string | $ZodFileParams): schemas.$ZodFile;\nexport type $ZodTransformParams = TypeParams<schemas.$ZodTransform, \"transform\">;\nexport declare function _transform<I = unknown, O = I>(Class: util.SchemaClass<schemas.$ZodTransform>, fn: (input: I, ctx?: schemas.ParsePayload) => O): schemas.$ZodTransform<Awaited<O>, I>;\nexport type $ZodOptionalParams = TypeParams<schemas.$ZodOptional, \"innerType\">;\nexport declare function _optional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodOptional>, innerType: T): schemas.$ZodOptional<T>;\nexport type $ZodNullableParams = TypeParams<schemas.$ZodNullable, \"innerType\">;\nexport declare function _nullable<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNullable>, innerType: T): schemas.$ZodNullable<T>;\nexport type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, \"innerType\" | \"defaultValue\">;\nexport declare function _default<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodDefault>, innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): schemas.$ZodDefault<T>;\nexport type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, \"innerType\">;\nexport declare function _nonoptional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): schemas.$ZodNonOptional<T>;\nexport type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, \"innerType\">;\nexport declare function _success<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSuccess>, innerType: T): schemas.$ZodSuccess<T>;\nexport type $ZodCatchParams = TypeParams<schemas.$ZodCatch, \"innerType\" | \"catchValue\">;\nexport declare function _catch<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodCatch>, innerType: T, catchValue: core.output<T> | ((ctx: schemas.$ZodCatchCtx) => core.output<T>)): schemas.$ZodCatch<T>;\nexport type $ZodPipeParams = TypeParams<schemas.$ZodPipe, \"in\" | \"out\">;\nexport declare function _pipe<const A extends schemas.$ZodType, B extends schemas.$ZodType<unknown, core.output<A>> = schemas.$ZodType<unknown, core.output<A>>>(Class: util.SchemaClass<schemas.$ZodPipe>, in_: A, out: B | schemas.$ZodType<unknown, core.output<A>>): schemas.$ZodPipe<A, B>;\nexport type $ZodReadonlyParams = TypeParams<schemas.$ZodReadonly, \"innerType\">;\nexport declare function _readonly<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodReadonly>, innerType: T): schemas.$ZodReadonly<T>;\nexport type $ZodTemplateLiteralParams = TypeParams<schemas.$ZodTemplateLiteral, \"parts\">;\nexport declare function _templateLiteral<const Parts extends schemas.$ZodTemplateLiteralPart[]>(Class: util.SchemaClass<schemas.$ZodTemplateLiteral>, parts: Parts, params?: string | $ZodTemplateLiteralParams): schemas.$ZodTemplateLiteral<schemas.$PartsToTemplateLiteral<Parts>>;\nexport type $ZodLazyParams = TypeParams<schemas.$ZodLazy, \"getter\">;\nexport declare function _lazy<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodLazy>, getter: () => T): schemas.$ZodLazy<T>;\nexport type $ZodPromiseParams = TypeParams<schemas.$ZodPromise, \"innerType\">;\nexport declare function _promise<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodPromise>, innerType: T): schemas.$ZodPromise<T>;\nexport type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, \"fn\">;\nexport declare function _custom<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\nexport declare function _refine<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\nexport type $ZodSuperRefineIssue<T extends errors.$ZodIssueBase = errors.$ZodIssue> = T extends any ? RawIssue<T> : never;\ntype RawIssue<T extends errors.$ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \"message\" | \"path\"> & {\n /** The schema or check that originated this issue. */\n readonly inst?: schemas.$ZodType | checks.$ZodCheck;\n /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */\n readonly continue?: boolean | undefined;\n} & Record<string, unknown>> : never;\nexport interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {\n addIssue(arg: string | $ZodSuperRefineIssue): void;\n}\nexport declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>): checks.$ZodCheck<T>;\nexport declare function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): checks.$ZodCheck<O>;\nexport declare function describe<T>(description: string): checks.$ZodCheck<T>;\nexport declare function meta<T>(metadata: registries.GlobalMeta): checks.$ZodCheck<T>;\nexport interface $ZodStringBoolParams extends TypeParams {\n truthy?: string[];\n falsy?: string[];\n /**\n * Options: `\"sensitive\"`, `\"insensitive\"`\n *\n * @default `\"insensitive\"`\n */\n case?: \"sensitive\" | \"insensitive\" | undefined;\n}\nexport declare function _stringbool(Classes: {\n Codec?: typeof schemas.$ZodCodec;\n Boolean?: typeof schemas.$ZodBoolean;\n String?: typeof schemas.$ZodString;\n}, _params?: string | $ZodStringBoolParams): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean>;\nexport declare function _stringFormat<Format extends string>(Class: typeof schemas.$ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): schemas.$ZodCustomStringFormat<Format>;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAMYM,KAAAA,MAAM,CAAA,UAAWF,QAAXK,GAA8BT,SAA9B,EAAA,mBAAmEE,aAAnE,EAAA,iBAAA,MAAgHK,CAAhH,CAAA,MAAA,CAAA,CAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAA4IF,OAA5I,CAAyJW,OAAzJ,CAAiKX,YAAjK,CAAmLQ,IAAnL,CAAwLN,CAAxL,CAAA,MAAA,CAAA,CAAA,KAAA,CAAA,EAA0ME,QAA1M,CAAA,GAAA,CAAA,CAAwND,UAAxN,CAAA,SAAA,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA;EAAWJ,KAAAA,CAAAA,EAAAA,MAAAA,GACRF,YADQE,CACYI,UADZJ,CAAAA,GAAAA,SAAAA;EAAmBJ;EAAqCE,OAAAA,CAAAA,EAAAA,MAAAA,GAAAA,SAAAA;CAA6CK,CAAAA,CAAAA,CAAAA,CAAAA;AAAwEA,KAK9LW,UAL8LX,CAAAA,UAKzKH,QALyKG,GAKtJH,QALsJG,GAAAA;EAAkBE,KAAAA,EAAAA,KAAAA;CAAvBI,EAAAA,iBAOjLO,OAPiLP,CAAAA,MAOnKN,CAPmKM,CAAAA,MAAAA,CAAAA,CAAAA,KAAAA,CAAAA,EAAAA,MAAAA,GAAAA,QAAAA,GAAAA,OAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAOzGP,MAPyGO,C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,uBAoK6ClB,CApKrBH,eAoKqBG,EAAAA,MAAAA,CAAAA;AACjFiX,KAjKOvO,2BAAAA,GAA8B3H,WAiK7B,CAjKyCtB,qBAiKzC,EAAA,QAAA,GAAA,MAAA,CAAA;KA5HDoM,uBAAAA,GAA0B9K,YAAYtB;KAMtC0M,0BAAAA,GAA6BpL,YAAYtB;KAUzCmN,yBAAAA,GAA4B7L,YAAYtB;KAQxCgO,wBAAAA,GAA2B1M,YAAYtB;KAEvCoO,wBAAAA,GAA2B9M,YAAYtB;KAEvCuO,2BAAAA,GAA8BjN,YAAYtB;KAE1C0O,oBAAAA,GAAuBpN,YAAYtB;KAEnC8O,wBAAAA,GAA2BxN,YAAYtB;KAEvCiP,wBAAAA,GAA2B3N,YAAYtB;KAEvCoP,uBAAAA,GAA0B9N,YAAYtB;KAEtCuP,yBAAAA,GAA4BjO,YAAYtB;KAExC0P,uBAAAA,GAA0BpO,YAAYtB;KAwCtCqT,cAAAA,GAAiBnS,WAAWd;KAwB5BgV,qBAAAA,GAAwBlU,WAAWd;KAgBnC8W,gBAAAA,GAAmBxV,gBAAgBtB;KAGnCkX,+BAA+BpX,gBAAuBA,aAAoBK,gBAAgBiX,SAASjX;KAC1GiX,mBAAmBtX,iBAAwBK,gBAAgBF,QAAaA,YAAiBE;;kBAE1EH,WAAmBJ;;;IAGnC0X;UACaC,oCAAoCvX,aAAqBG;yBAC/C+W"}
package/checks.d.ts DELETED
@@ -1,189 +0,0 @@
1
- import { HasLength, MaybeAsync, Numeric } from "./util.js";
2
- import { $ZodType, ParsePayload } from "./schemas.js";
3
- import { $ZodErrorMap, $ZodIssueBase, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueNotMultipleOf, $ZodIssueTooBig, $ZodIssueTooSmall } from "./errors.js";
4
- import { $constructor } from "./core.js";
5
-
6
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/checks.d.cts
7
- interface $ZodCheckDef {
8
- check: string;
9
- error?: $ZodErrorMap<never> | undefined;
10
- /** If true, no later checks will be executed if this check fails. Default `false`. */
11
- abort?: boolean | undefined;
12
- /** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */
13
- when?: ((payload: ParsePayload) => boolean) | undefined;
14
- }
15
- interface $ZodCheckInternals<T> {
16
- def: $ZodCheckDef;
17
- /** The set of issues this check might throw. */
18
- issc?: $ZodIssueBase;
19
- check(payload: ParsePayload<T>): MaybeAsync<void>;
20
- onattach: ((schema: $ZodType) => void)[];
21
- }
22
- interface $ZodCheck<in T = never> {
23
- _zod: $ZodCheckInternals<T>;
24
- }
25
- declare const $ZodCheck: $constructor<$ZodCheck<any>>;
26
- interface $ZodCheckLessThanDef extends $ZodCheckDef {
27
- check: "less_than";
28
- value: Numeric;
29
- inclusive: boolean;
30
- }
31
- interface $ZodCheckLessThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
32
- def: $ZodCheckLessThanDef;
33
- issc: $ZodIssueTooBig<T>;
34
- }
35
- interface $ZodCheckLessThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
36
- _zod: $ZodCheckLessThanInternals<T>;
37
- }
38
- declare const $ZodCheckLessThan: $constructor<$ZodCheckLessThan>;
39
- interface $ZodCheckGreaterThanDef extends $ZodCheckDef {
40
- check: "greater_than";
41
- value: Numeric;
42
- inclusive: boolean;
43
- }
44
- interface $ZodCheckGreaterThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
45
- def: $ZodCheckGreaterThanDef;
46
- issc: $ZodIssueTooSmall<T>;
47
- }
48
- interface $ZodCheckGreaterThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
49
- _zod: $ZodCheckGreaterThanInternals<T>;
50
- }
51
- declare const $ZodCheckGreaterThan: $constructor<$ZodCheckGreaterThan>;
52
- interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {
53
- check: "multiple_of";
54
- value: T;
55
- }
56
- interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {
57
- def: $ZodCheckMultipleOfDef<T>;
58
- issc: $ZodIssueNotMultipleOf;
59
- }
60
- interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {
61
- _zod: $ZodCheckMultipleOfInternals<T>;
62
- }
63
- declare const $ZodCheckMultipleOf: $constructor<$ZodCheckMultipleOf<number | bigint>>;
64
- type $ZodNumberFormats = "int32" | "uint32" | "float32" | "float64" | "safeint";
65
- interface $ZodCheckNumberFormatDef extends $ZodCheckDef {
66
- check: "number_format";
67
- format: $ZodNumberFormats;
68
- }
69
- interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {
70
- def: $ZodCheckNumberFormatDef;
71
- issc: $ZodIssueInvalidType | $ZodIssueTooBig<"number"> | $ZodIssueTooSmall<"number">;
72
- }
73
- interface $ZodCheckNumberFormat extends $ZodCheck<number> {
74
- _zod: $ZodCheckNumberFormatInternals;
75
- }
76
- declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
77
- interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
78
- check: "max_length";
79
- maximum: number;
80
- }
81
- interface $ZodCheckMaxLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
82
- def: $ZodCheckMaxLengthDef;
83
- issc: $ZodIssueTooBig<T>;
84
- }
85
- interface $ZodCheckMaxLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
86
- _zod: $ZodCheckMaxLengthInternals<T>;
87
- }
88
- declare const $ZodCheckMaxLength: $constructor<$ZodCheckMaxLength>;
89
- interface $ZodCheckMinLengthDef extends $ZodCheckDef {
90
- check: "min_length";
91
- minimum: number;
92
- }
93
- interface $ZodCheckMinLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
94
- def: $ZodCheckMinLengthDef;
95
- issc: $ZodIssueTooSmall<T>;
96
- }
97
- interface $ZodCheckMinLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
98
- _zod: $ZodCheckMinLengthInternals<T>;
99
- }
100
- declare const $ZodCheckMinLength: $constructor<$ZodCheckMinLength>;
101
- interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {
102
- check: "length_equals";
103
- length: number;
104
- }
105
- interface $ZodCheckLengthEqualsInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
106
- def: $ZodCheckLengthEqualsDef;
107
- issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
108
- }
109
- interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodCheck<T> {
110
- _zod: $ZodCheckLengthEqualsInternals<T>;
111
- }
112
- declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
113
- type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
114
- interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {
115
- check: "string_format";
116
- format: Format;
117
- pattern?: RegExp | undefined;
118
- }
119
- interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {
120
- def: $ZodCheckStringFormatDef;
121
- issc: $ZodIssueInvalidStringFormat;
122
- }
123
- interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {
124
- format: "regex";
125
- pattern: RegExp;
126
- }
127
- interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {
128
- def: $ZodCheckRegexDef;
129
- issc: $ZodIssueInvalidStringFormat;
130
- }
131
- interface $ZodCheckRegex extends $ZodCheck<string> {
132
- _zod: $ZodCheckRegexInternals;
133
- }
134
- declare const $ZodCheckRegex: $constructor<$ZodCheckRegex>;
135
- interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<"lowercase"> {}
136
- interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {
137
- def: $ZodCheckLowerCaseDef;
138
- issc: $ZodIssueInvalidStringFormat;
139
- }
140
- interface $ZodCheckLowerCase extends $ZodCheck<string> {
141
- _zod: $ZodCheckLowerCaseInternals;
142
- }
143
- declare const $ZodCheckLowerCase: $constructor<$ZodCheckLowerCase>;
144
- interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<"uppercase"> {}
145
- interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {
146
- def: $ZodCheckUpperCaseDef;
147
- issc: $ZodIssueInvalidStringFormat;
148
- }
149
- interface $ZodCheckUpperCase extends $ZodCheck<string> {
150
- _zod: $ZodCheckUpperCaseInternals;
151
- }
152
- declare const $ZodCheckUpperCase: $constructor<$ZodCheckUpperCase>;
153
- interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<"includes"> {
154
- includes: string;
155
- position?: number | undefined;
156
- }
157
- interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {
158
- def: $ZodCheckIncludesDef;
159
- issc: $ZodIssueInvalidStringFormat;
160
- }
161
- interface $ZodCheckIncludes extends $ZodCheck<string> {
162
- _zod: $ZodCheckIncludesInternals;
163
- }
164
- declare const $ZodCheckIncludes: $constructor<$ZodCheckIncludes>;
165
- interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<"starts_with"> {
166
- prefix: string;
167
- }
168
- interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {
169
- def: $ZodCheckStartsWithDef;
170
- issc: $ZodIssueInvalidStringFormat;
171
- }
172
- interface $ZodCheckStartsWith extends $ZodCheck<string> {
173
- _zod: $ZodCheckStartsWithInternals;
174
- }
175
- declare const $ZodCheckStartsWith: $constructor<$ZodCheckStartsWith>;
176
- interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<"ends_with"> {
177
- suffix: string;
178
- }
179
- interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {
180
- def: $ZodCheckEndsWithDef;
181
- issc: $ZodIssueInvalidStringFormat;
182
- }
183
- interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
184
- _zod: $ZodCheckEndsWithInternals;
185
- }
186
- declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
187
- //#endregion
188
- export { $ZodCheck, $ZodCheckDef, $ZodCheckEndsWith, $ZodCheckGreaterThan, $ZodCheckIncludes, $ZodCheckInternals, $ZodCheckLengthEquals, $ZodCheckLessThan, $ZodCheckLowerCase, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckRegex, $ZodCheckStartsWith, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckUpperCase, $ZodStringFormats };
189
- //# sourceMappingURL=checks.d.ts.map
package/checks.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"checks.d.ts","names":["core","errors","schemas","util","$ZodCheckDef","$ZodErrorMap","ParsePayload","$ZodCheckInternals","T","$ZodIssueBase","MaybeAsync","$ZodType","$ZodCheck","$constructor","$ZodCheckLessThanDef","Numeric","$ZodCheckLessThanInternals","$ZodIssueTooBig","$ZodCheckLessThan","$ZodCheckGreaterThanDef","$ZodCheckGreaterThanInternals","$ZodIssueTooSmall","$ZodCheckGreaterThan","$ZodCheckMultipleOfDef","$ZodCheckMultipleOfInternals","$ZodIssueNotMultipleOf","$ZodCheckMultipleOf","$ZodNumberFormats","$ZodCheckNumberFormatDef","$ZodCheckNumberFormatInternals","$ZodIssueInvalidType","$ZodCheckNumberFormat","$ZodBigIntFormats","$ZodCheckBigIntFormatDef","$ZodCheckBigIntFormatInternals","$ZodCheckBigIntFormat","$ZodCheckMaxSizeDef","$ZodCheckMaxSizeInternals","HasSize","$ZodCheckMaxSize","$ZodCheckMinSizeDef","$ZodCheckMinSizeInternals","$ZodCheckMinSize","$ZodCheckSizeEqualsDef","$ZodCheckSizeEqualsInternals","$ZodCheckSizeEquals","$ZodCheckMaxLengthDef","$ZodCheckMaxLengthInternals","HasLength","$ZodCheckMaxLength","$ZodCheckMinLengthDef","$ZodCheckMinLengthInternals","$ZodCheckMinLength","$ZodCheckLengthEqualsDef","$ZodCheckLengthEqualsInternals","$ZodCheckLengthEquals","$ZodStringFormats","$ZodCheckStringFormatDef","Format","RegExp","$ZodCheckStringFormatInternals","$ZodIssueInvalidStringFormat","$ZodCheckStringFormat","$ZodCheckRegexDef","$ZodCheckRegexInternals","$ZodCheckRegex","$ZodCheckLowerCaseDef","$ZodCheckLowerCaseInternals","$ZodCheckLowerCase","$ZodCheckUpperCaseDef","$ZodCheckUpperCaseInternals","$ZodCheckUpperCase","$ZodCheckIncludesDef","$ZodCheckIncludesInternals","$ZodCheckIncludes","$ZodCheckStartsWithDef","$ZodCheckStartsWithInternals","$ZodCheckStartsWith","$ZodCheckEndsWithDef","$ZodCheckEndsWithInternals","$ZodCheckEndsWith","$ZodCheckPropertyDef","$ZodCheckPropertyInternals","$ZodIssue","$ZodCheckProperty","$ZodCheckMimeTypeDef","MimeTypes","$ZodCheckMimeTypeInternals","File","$ZodIssueInvalidValue","$ZodCheckMimeType","$ZodCheckOverwriteDef","$ZodCheckOverwriteInternals","$ZodCheckOverwrite","$ZodChecks","$ZodStringFormatChecks","$ZodStringFormatTypes"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/checks.d.cts"],"sourcesContent":["import * as core from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodCheckDef {\n check: string;\n error?: errors.$ZodErrorMap<never> | undefined;\n /** If true, no later checks will be executed if this check fails. Default `false`. */\n abort?: boolean | undefined;\n /** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\n}\nexport interface $ZodCheckInternals<T> {\n def: $ZodCheckDef;\n /** The set of issues this check might throw. */\n issc?: errors.$ZodIssueBase;\n check(payload: schemas.ParsePayload<T>): util.MaybeAsync<void>;\n onattach: ((schema: schemas.$ZodType) => void)[];\n}\nexport interface $ZodCheck<in T = never> {\n _zod: $ZodCheckInternals<T>;\n}\nexport declare const $ZodCheck: core.$constructor<$ZodCheck<any>>;\nexport interface $ZodCheckLessThanDef extends $ZodCheckDef {\n check: \"less_than\";\n value: util.Numeric;\n inclusive: boolean;\n}\nexport interface $ZodCheckLessThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\n def: $ZodCheckLessThanDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckLessThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\n _zod: $ZodCheckLessThanInternals<T>;\n}\nexport declare const $ZodCheckLessThan: core.$constructor<$ZodCheckLessThan>;\nexport interface $ZodCheckGreaterThanDef extends $ZodCheckDef {\n check: \"greater_than\";\n value: util.Numeric;\n inclusive: boolean;\n}\nexport interface $ZodCheckGreaterThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\n def: $ZodCheckGreaterThanDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckGreaterThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\n _zod: $ZodCheckGreaterThanInternals<T>;\n}\nexport declare const $ZodCheckGreaterThan: core.$constructor<$ZodCheckGreaterThan>;\nexport interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {\n check: \"multiple_of\";\n value: T;\n}\nexport interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {\n def: $ZodCheckMultipleOfDef<T>;\n issc: errors.$ZodIssueNotMultipleOf;\n}\nexport interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {\n _zod: $ZodCheckMultipleOfInternals<T>;\n}\nexport declare const $ZodCheckMultipleOf: core.$constructor<$ZodCheckMultipleOf<number | bigint>>;\nexport type $ZodNumberFormats = \"int32\" | \"uint32\" | \"float32\" | \"float64\" | \"safeint\";\nexport interface $ZodCheckNumberFormatDef extends $ZodCheckDef {\n check: \"number_format\";\n format: $ZodNumberFormats;\n}\nexport interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {\n def: $ZodCheckNumberFormatDef;\n issc: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<\"number\"> | errors.$ZodIssueTooSmall<\"number\">;\n}\nexport interface $ZodCheckNumberFormat extends $ZodCheck<number> {\n _zod: $ZodCheckNumberFormatInternals;\n}\nexport declare const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat>;\nexport type $ZodBigIntFormats = \"int64\" | \"uint64\";\nexport interface $ZodCheckBigIntFormatDef extends $ZodCheckDef {\n check: \"bigint_format\";\n format: $ZodBigIntFormats | undefined;\n}\nexport interface $ZodCheckBigIntFormatInternals extends $ZodCheckInternals<bigint> {\n def: $ZodCheckBigIntFormatDef;\n issc: errors.$ZodIssueTooBig<\"bigint\"> | errors.$ZodIssueTooSmall<\"bigint\">;\n}\nexport interface $ZodCheckBigIntFormat extends $ZodCheck<bigint> {\n _zod: $ZodCheckBigIntFormatInternals;\n}\nexport declare const $ZodCheckBigIntFormat: core.$constructor<$ZodCheckBigIntFormat>;\nexport interface $ZodCheckMaxSizeDef extends $ZodCheckDef {\n check: \"max_size\";\n maximum: number;\n}\nexport interface $ZodCheckMaxSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckMaxSizeDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckMaxSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckMaxSizeInternals<T>;\n}\nexport declare const $ZodCheckMaxSize: core.$constructor<$ZodCheckMaxSize>;\nexport interface $ZodCheckMinSizeDef extends $ZodCheckDef {\n check: \"min_size\";\n minimum: number;\n}\nexport interface $ZodCheckMinSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckMinSizeDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckMinSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckMinSizeInternals<T>;\n}\nexport declare const $ZodCheckMinSize: core.$constructor<$ZodCheckMinSize>;\nexport interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {\n check: \"size_equals\";\n size: number;\n}\nexport interface $ZodCheckSizeEqualsInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckSizeEqualsDef;\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckSizeEquals<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckSizeEqualsInternals<T>;\n}\nexport declare const $ZodCheckSizeEquals: core.$constructor<$ZodCheckSizeEquals>;\nexport interface $ZodCheckMaxLengthDef extends $ZodCheckDef {\n check: \"max_length\";\n maximum: number;\n}\nexport interface $ZodCheckMaxLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckMaxLengthDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckMaxLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckMaxLengthInternals<T>;\n}\nexport declare const $ZodCheckMaxLength: core.$constructor<$ZodCheckMaxLength>;\nexport interface $ZodCheckMinLengthDef extends $ZodCheckDef {\n check: \"min_length\";\n minimum: number;\n}\nexport interface $ZodCheckMinLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckMinLengthDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckMinLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckMinLengthInternals<T>;\n}\nexport declare const $ZodCheckMinLength: core.$constructor<$ZodCheckMinLength>;\nexport interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {\n check: \"length_equals\";\n length: number;\n}\nexport interface $ZodCheckLengthEqualsInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckLengthEqualsDef;\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckLengthEquals<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckLengthEqualsInternals<T>;\n}\nexport declare const $ZodCheckLengthEquals: core.$constructor<$ZodCheckLengthEquals>;\nexport type $ZodStringFormats = \"email\" | \"url\" | \"emoji\" | \"uuid\" | \"guid\" | \"nanoid\" | \"cuid\" | \"cuid2\" | \"ulid\" | \"xid\" | \"ksuid\" | \"datetime\" | \"date\" | \"time\" | \"duration\" | \"ipv4\" | \"ipv6\" | \"cidrv4\" | \"cidrv6\" | \"base64\" | \"base64url\" | \"json_string\" | \"e164\" | \"lowercase\" | \"uppercase\" | \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\";\nexport interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {\n check: \"string_format\";\n format: Format;\n pattern?: RegExp | undefined;\n}\nexport interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckStringFormatDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckStringFormat extends $ZodCheck<string> {\n _zod: $ZodCheckStringFormatInternals;\n}\nexport declare const $ZodCheckStringFormat: core.$constructor<$ZodCheckStringFormat>;\nexport interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {\n format: \"regex\";\n pattern: RegExp;\n}\nexport interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckRegexDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckRegex extends $ZodCheck<string> {\n _zod: $ZodCheckRegexInternals;\n}\nexport declare const $ZodCheckRegex: core.$constructor<$ZodCheckRegex>;\nexport interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<\"lowercase\"> {\n}\nexport interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckLowerCaseDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckLowerCase extends $ZodCheck<string> {\n _zod: $ZodCheckLowerCaseInternals;\n}\nexport declare const $ZodCheckLowerCase: core.$constructor<$ZodCheckLowerCase>;\nexport interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<\"uppercase\"> {\n}\nexport interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckUpperCaseDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckUpperCase extends $ZodCheck<string> {\n _zod: $ZodCheckUpperCaseInternals;\n}\nexport declare const $ZodCheckUpperCase: core.$constructor<$ZodCheckUpperCase>;\nexport interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<\"includes\"> {\n includes: string;\n position?: number | undefined;\n}\nexport interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckIncludesDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckIncludes extends $ZodCheck<string> {\n _zod: $ZodCheckIncludesInternals;\n}\nexport declare const $ZodCheckIncludes: core.$constructor<$ZodCheckIncludes>;\nexport interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<\"starts_with\"> {\n prefix: string;\n}\nexport interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckStartsWithDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckStartsWith extends $ZodCheck<string> {\n _zod: $ZodCheckStartsWithInternals;\n}\nexport declare const $ZodCheckStartsWith: core.$constructor<$ZodCheckStartsWith>;\nexport interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<\"ends_with\"> {\n suffix: string;\n}\nexport interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckEndsWithDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {\n _zod: $ZodCheckEndsWithInternals;\n}\nexport declare const $ZodCheckEndsWith: core.$constructor<$ZodCheckEndsWith>;\nexport interface $ZodCheckPropertyDef extends $ZodCheckDef {\n check: \"property\";\n property: string;\n schema: schemas.$ZodType;\n}\nexport interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {\n def: $ZodCheckPropertyDef;\n issc: errors.$ZodIssue;\n}\nexport interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {\n _zod: $ZodCheckPropertyInternals<T>;\n}\nexport declare const $ZodCheckProperty: core.$constructor<$ZodCheckProperty>;\nexport interface $ZodCheckMimeTypeDef extends $ZodCheckDef {\n check: \"mime_type\";\n mime: util.MimeTypes[];\n}\nexport interface $ZodCheckMimeTypeInternals<T extends schemas.File = schemas.File> extends $ZodCheckInternals<T> {\n def: $ZodCheckMimeTypeDef;\n issc: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodCheckMimeType<T extends schemas.File = schemas.File> extends $ZodCheck<T> {\n _zod: $ZodCheckMimeTypeInternals<T>;\n}\nexport declare const $ZodCheckMimeType: core.$constructor<$ZodCheckMimeType>;\nexport interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {\n check: \"overwrite\";\n tx(value: T): T;\n}\nexport interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {\n def: $ZodCheckOverwriteDef<T>;\n issc: never;\n}\nexport interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {\n _zod: $ZodCheckOverwriteInternals<T>;\n}\nexport declare const $ZodCheckOverwrite: core.$constructor<$ZodCheckOverwrite>;\nexport type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;\nexport type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | schemas.$ZodStringFormatTypes;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;UAIiBI,YAAAA;;EAAAA,KAAAA,CAAAA,EAELH,YAFiB,CAAA,KAEjBA,CAAAA,GAAAA,SAIUC;EAELK;EACRH,KAAAA,CAAAA,EAAAA,OAAAA,GAAAA,SAAAA;EAEEH;EAC6BO,IAAAA,CAAAA,EAAAA,CAAAA,CAAAA,OAAAA,EANlBN,YAMkBM,EAAAA,GAAAA,OAAAA,CAAAA,GAAAA,SAAAA;;AAAKL,UAJ5BI,kBAI4BJ,CAAAA,CAAAA,CAAAA,CAAAA;EACrBD,GAAAA,EAJfE,YAIeF;EAAgB;EAEvBU,IAAAA,CAAAA,EAJNX,aAKkBO;EAERI,KAAAA,CAAAA,OAA4C,EAN9CV,YAM+BU,CANVJ,CAMRR,CAAAA,CAAAA,EANaG,UAMI,CAAA,IAAA,CAAA;EAChCW,QAAAA,EAAAA,CAAAA,CAAAA,MAAAA,EANOZ,QAMa,EAE1BC,GAAAA,IAAAA,CAFmCC,EAAAA;AAK9C;AAAsDD,UATrCS,SASqCT,CAAAA,OAAAA,KAAAA,CAAAA,CAAAA;EAAeA,IAAAA,EAR3DI,kBAQ2DJ,CARxCK,CAQwCL,CAAAA;;AAC5DW,cAPYF,SAOZE,EAPuBd,YAOvBc,CAPyCF,SAOzCE,CAAAA,GAAAA,CAAAA,CAAAA;AACwBN,UAPhBM,oBAAAA,SAA6BV,YAObI,CAAAA;EAAvBP,KAAAA,EAAAA,WAA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C,oBAAAA,SAA6Bf;;;;UAI7BgB,0BAAAA,SAAmClE;OAC3CiE;QACCvE;;UAEOyE,iBAAAA,SAA0B9D;QACjC6D;;cAEWC,mBAAmB1E,aAAkB0E;UACzCC,sBAAAA,SAA+BlB;;;UAG/BmB,4BAAAA,SAAqCrE;OAC7CoE;QACC1E;;UAEO4E,mBAAAA,SAA4BjE;QACnCgE;;cAEWC,qBAAqB7E,aAAkB6E;UAC3CC,oBAAAA,SAA6BrB;;;UAG7BsB,0BAAAA,SAAmCxE;OAC3CuE;QACC7E;;UAEO+E,iBAAAA,SAA0BzE;QACjCwE;;cAEWC,mBAAmBhF,aAAkBgF"}
package/clsx.d.ts DELETED
@@ -1,7 +0,0 @@
1
- //#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/clsx.d.mts
2
- type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
3
- type ClassDictionary = Record<string, any>;
4
- type ClassArray = ClassValue[];
5
- //#endregion
6
- export { ClassValue };
7
- //# sourceMappingURL=clsx.d.ts.map
package/clsx.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx.d.ts","names":["ClassValue","ClassArray","ClassDictionary","Record","clsx","default"],"sources":["../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/clsx.d.mts"],"sourcesContent":["export type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;\nexport type ClassDictionary = Record<string, any>;\nexport type ClassArray = ClassValue[];\n\nexport function clsx(...inputs: ClassValue[]): string;\nexport default clsx;\n"],"x_google_ignoreList":[0],"mappings":";KAAYA,UAAAA,GAAaC,aAAaC;AAA1BF,KACAE,eAAAA,GAAkBC,MADLF,CAAAA,MAAaC,EAAAA,GAAAA,CAAAA;AAC1BA,KACAD,UAAAA,GAAaD,UADKG,EAAAA"}
package/coerce.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { $ZodNumberInternals } from "./schemas.js";
2
- import { _ZodNumber } from "./schemas2.js";
3
-
4
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/coerce.d.cts
5
-
6
- interface ZodCoercedNumber<T = unknown> extends _ZodNumber<$ZodNumberInternals<T>> {}
7
- //#endregion
8
- export { ZodCoercedNumber };
9
- //# sourceMappingURL=coerce.d.ts.map
package/coerce.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"coerce.d.ts","names":["core","schemas","ZodCoercedString","T","$ZodStringInternals","_ZodString","string","$ZodStringParams","ZodCoercedNumber","$ZodNumberInternals","_ZodNumber","number","$ZodNumberParams","ZodCoercedBoolean","$ZodBooleanInternals","_ZodBoolean","boolean","$ZodBooleanParams","ZodCoercedBigInt","$ZodBigIntInternals","_ZodBigInt","bigint","$ZodBigIntParams","ZodCoercedDate","$ZodDateInternals","_ZodDate","date","$ZodDateParams"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/coerce.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport * as schemas from \"./schemas.cjs\";\nexport interface ZodCoercedString<T = unknown> extends schemas._ZodString<core.$ZodStringInternals<T>> {\n}\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): ZodCoercedString<T>;\nexport interface ZodCoercedNumber<T = unknown> extends schemas._ZodNumber<core.$ZodNumberInternals<T>> {\n}\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): ZodCoercedNumber<T>;\nexport interface ZodCoercedBoolean<T = unknown> extends schemas._ZodBoolean<core.$ZodBooleanInternals<T>> {\n}\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean<T>;\nexport interface ZodCoercedBigInt<T = unknown> extends schemas._ZodBigInt<core.$ZodBigIntInternals<T>> {\n}\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt<T>;\nexport interface ZodCoercedDate<T = unknown> extends schemas._ZodDate<core.$ZodDateInternals<T>> {\n}\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): ZodCoercedDate<T>;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKmGG,UAAlFK,gBAAkFL,CAAAA,IAAAA,OAAAA,CAAAA,SAA5CF,UAA4CE,CAAzBH,mBAAyBG,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"conversation.d.ts","names":[],"sources":["../../types/src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA8Ba,kCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAA,IAAA,SAAA,CAAA;QAAA,OAAA,EAAA,SAAA;QASjC,KAAA,EAAA,OAAA;QAIC,cAAA,EAAA,gBA2BV;;;;;;;;;;;;;;UA3BwC,gBAAA,EAAA,kBAAA;UAAA,cAAA,EAAA,gBAAA;UA6B/B,gBAAwB,EAAA,kBAC5B;UAGK,SAAA,EAAA,WAaV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAlDS,8BAAA,GAAiC,cACrC;cAGK,gCAA8B;;;;;;;;;;;;;;;;;KA6B/B,wBAAA,GAA2B,cAC/B;cAGK,iCAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAA,QAAA,EAAA,UAAA;UAAA,UAAA,EAAA,YAAA;UAehC,qBAAyB,EAAA,uBAC7B;UAGK,kBAQV,EAAA,oBAAA;;;UARsC,gBAAA,EAAA,kBAAA;UAAA,SAAA,EAAA,WAAA;UAU7B,WAAsB,EAAA,aAC1B;UAGK,QAAA,EAAA,UAMV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAxBS,yBAAA,GAA4B,cAChC;cAGK,8BAA4B;;;KAU7B,sBAAA,GAAyB,cAC7B;cAGK,+BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAA,UAAA,EAAA,YAAA;UAAA,qBAAA,EAAA,uBAAA;UAQ9B,kBAAuB,EAAA,oBAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KADI,uBAAA,GAA0B,cAC9B"}
package/core.d.ts DELETED
@@ -1,35 +0,0 @@
1
- import { Class } from "./util.js";
2
- import { SomeType } from "./schemas.js";
3
-
4
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/core.d.cts
5
- type ZodTrait = {
6
- _zod: {
7
- def: any;
8
- [k: string]: any;
9
- };
10
- };
11
- interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
12
- new (def: D): T;
13
- init(inst: T, def: D): asserts inst is T;
14
- }
15
- declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
16
- Parent?: typeof Class;
17
- }): $constructor<T, D>;
18
- declare const $brand: unique symbol;
19
- type $brand<T extends string | number | symbol = string | number | symbol> = {
20
- [$brand]: { [k in T]: true };
21
- };
22
- type $ZodBranded<T extends SomeType, Brand extends string | number | symbol> = T & Record<"_zod", Record<"output", output<T> & $brand<Brand>>>;
23
- type input<T> = T extends {
24
- _zod: {
25
- input: any;
26
- };
27
- } ? T["_zod"]["input"] : unknown;
28
- type output<T> = T extends {
29
- _zod: {
30
- output: any;
31
- };
32
- } ? T["_zod"]["output"] : unknown;
33
- //#endregion
34
- export { $ZodBranded, $constructor, input, output };
35
- //# sourceMappingURL=core.d.ts.map
package/core.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"core.d.ts","names":["errors","schemas","Class","ZodTrait","$constructor","T","D","NEVER","$brand","$ZodBranded","Brand","SomeType","output","Record","$ZodAsyncError","Error","$ZodEncodeError","input","infer","$ZodConfig","$ZodErrorMap","globalConfig","config","Partial"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/core.d.cts"],"sourcesContent":["import type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nimport type { Class } from \"./util.cjs\";\ntype ZodTrait = {\n _zod: {\n def: any;\n [k: string]: any;\n };\n};\nexport interface $constructor<T extends ZodTrait, D = T[\"_zod\"][\"def\"]> {\n new (def: D): T;\n init(inst: T, def: D): asserts inst is T;\n}\n/** A special constant with type `never` */\nexport declare const NEVER: never;\nexport declare function $constructor<T extends ZodTrait, D = T[\"_zod\"][\"def\"]>(name: string, initializer: (inst: T, def: D) => void, params?: {\n Parent?: typeof Class;\n}): $constructor<T, D>;\nexport declare const $brand: unique symbol;\nexport type $brand<T extends string | number | symbol = string | number | symbol> = {\n [$brand]: {\n [k in T]: true;\n };\n};\nexport type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol> = T & Record<\"_zod\", Record<\"output\", output<T> & $brand<Brand>>>;\nexport declare class $ZodAsyncError extends Error {\n constructor();\n}\nexport declare class $ZodEncodeError extends Error {\n constructor(name: string);\n}\nexport type input<T> = T extends {\n _zod: {\n input: any;\n };\n} ? T[\"_zod\"][\"input\"] : unknown;\nexport type output<T> = T extends {\n _zod: {\n output: any;\n };\n} ? T[\"_zod\"][\"output\"] : unknown;\nexport type { output as infer };\nexport interface $ZodConfig {\n /** Custom error map. Overrides `config().localeError`. */\n customError?: errors.$ZodErrorMap | undefined;\n /** Localized error map. Lowest priority. */\n localeError?: errors.$ZodErrorMap | undefined;\n /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */\n jitless?: boolean | undefined;\n}\nexport declare const globalConfig: $ZodConfig;\nexport declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;\n"],"x_google_ignoreList":[0],"mappings":";;;;KAGKG,QAAAA;EAAAA,IAAAA,EAAAA;IAMYC,GAAAA,EAAAA,GAAAA;IAAuBD,CAAAA,CAAAA,EAAAA,MAAAA,CAAAA,EAAAA,GAAAA;EAAcE,CAAAA;CACxCC;AAAID,UADDD,YACCC,CAAAA,UADsBF,QACtBE,EAAAA,I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