@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
package/errors.d.ts DELETED
@@ -1,130 +0,0 @@
1
- import { Flatten, MakePartial, Primitive } from "./util.js";
2
- import { $ZodType } from "./schemas.js";
3
- import { $ZodCheck, $ZodStringFormats } from "./checks.js";
4
- import { $constructor } from "./core.js";
5
-
6
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/errors.d.cts
7
- interface $ZodIssueBase {
8
- readonly code?: string;
9
- readonly input?: unknown;
10
- readonly path: PropertyKey[];
11
- readonly message: string;
12
- }
13
- interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
14
- readonly code: "invalid_type";
15
- readonly expected: $ZodType["_zod"]["def"]["type"];
16
- readonly input?: Input;
17
- }
18
- interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
19
- readonly code: "too_big";
20
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
21
- readonly maximum: number | bigint;
22
- readonly inclusive?: boolean;
23
- readonly exact?: boolean;
24
- readonly input?: Input;
25
- }
26
- interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
27
- readonly code: "too_small";
28
- readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
29
- readonly minimum: number | bigint;
30
- /** True if the allowable range includes the minimum */
31
- readonly inclusive?: boolean;
32
- /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
33
- readonly exact?: boolean;
34
- readonly input?: Input;
35
- }
36
- interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
37
- readonly code: "invalid_format";
38
- readonly format: $ZodStringFormats | (string & {});
39
- readonly pattern?: string;
40
- readonly input?: string;
41
- }
42
- interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
43
- readonly code: "not_multiple_of";
44
- readonly divisor: number;
45
- readonly input?: Input;
46
- }
47
- interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
48
- readonly code: "unrecognized_keys";
49
- readonly keys: string[];
50
- readonly input?: Record<string, unknown>;
51
- }
52
- interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
53
- readonly code: "invalid_union";
54
- readonly errors: $ZodIssue[][];
55
- readonly input?: unknown;
56
- readonly discriminator?: string | undefined;
57
- readonly inclusive?: true;
58
- }
59
- interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
60
- readonly code: "invalid_union";
61
- readonly errors: [];
62
- readonly input?: unknown;
63
- readonly discriminator?: string | undefined;
64
- readonly inclusive: false;
65
- }
66
- type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
67
- interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
68
- readonly code: "invalid_key";
69
- readonly origin: "map" | "record";
70
- readonly issues: $ZodIssue[];
71
- readonly input?: Input;
72
- }
73
- interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
74
- readonly code: "invalid_element";
75
- readonly origin: "map" | "set";
76
- readonly key: unknown;
77
- readonly issues: $ZodIssue[];
78
- readonly input?: Input;
79
- }
80
- interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
81
- readonly code: "invalid_value";
82
- readonly values: Primitive[];
83
- readonly input?: Input;
84
- }
85
- interface $ZodIssueCustom extends $ZodIssueBase {
86
- readonly code: "custom";
87
- readonly params?: Record<string, any> | undefined;
88
- readonly input?: unknown;
89
- }
90
- type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
91
- type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
92
- type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
93
- /** The input data */
94
- readonly input: unknown;
95
- /** The schema or check that originated this issue. */
96
- readonly inst?: $ZodType | $ZodCheck;
97
- /** If `true`, Zod will continue executing checks/refinements after this issue. */
98
- readonly continue?: boolean | undefined;
99
- } & Record<string, unknown>> : never;
100
- type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
101
- interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
102
- (issue: $ZodRawIssue<T>): {
103
- message: string;
104
- } | string | undefined | null;
105
- }
106
- interface $ZodError<T = unknown> extends Error {
107
- type: T;
108
- issues: $ZodIssue[];
109
- _zod: {
110
- output: T;
111
- def: $ZodIssue[];
112
- };
113
- stack?: string;
114
- name: string;
115
- }
116
- declare const $ZodError: $constructor<$ZodError>;
117
- type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
118
- type _FlattenedError<T, U = string> = {
119
- formErrors: U[];
120
- fieldErrors: { [P in keyof T]?: U[] };
121
- };
122
- type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
123
- [k: number]: $ZodFormattedError<T[number], U>;
124
- } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
125
- type $ZodFormattedError<T, U = string> = {
126
- _errors: U[];
127
- } & Flatten<_ZodFormattedError<T, U>>;
128
- //#endregion
129
- export { $ZodError, $ZodErrorMap, $ZodFlattenedError, $ZodFormattedError, $ZodIssue, $ZodIssueBase, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue };
130
- //# sourceMappingURL=errors.d.ts.map
package/errors.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","names":["$ZodCheck","$ZodStringFormats","$constructor","$ZodType","StandardSchemaV1","util","$ZodIssueBase","PropertyKey","$ZodIssueInvalidType","Input","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodIssueInvalidStringFormat","$ZodIssueNotMultipleOf","$ZodIssueUnrecognizedKeys","Record","$ZodIssueInvalidUnionNoMatch","$ZodIssue","$ZodIssueInvalidUnionMultipleMatch","$ZodIssueInvalidUnion","$ZodIssueInvalidKey","$ZodIssueInvalidElement","$ZodIssueInvalidValue","Primitive","$ZodIssueCustom","$ZodIssueStringCommonFormats","Exclude","$ZodIssueStringInvalidRegex","$ZodIssueStringInvalidJWT","$ZodIssueStringStartsWith","$ZodIssueStringEndsWith","$ZodIssueStringIncludes","$ZodStringFormatIssues","$ZodIssueCode","$ZodInternalIssue","T","RawIssue","MakePartial","Flatten","$ZodRawIssue","$ZodErrorMap","$ZodError","Error","$ZodRealError","$ZodFlattenedError","U","_FlattenedError","flattenError","_ZodFormattedError","K","$ZodFormattedError","formatError","$ZodErrorTree","Array","treeifyError","toDotPath","PathSegment","prettifyError","FailureResult"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/errors.d.cts"],"sourcesContent":["import type { $ZodCheck, $ZodStringFormats } from \"./checks.cjs\";\nimport { $constructor } from \"./core.cjs\";\nimport type { $ZodType } from \"./schemas.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodIssueBase {\n readonly code?: string;\n readonly input?: unknown;\n readonly path: PropertyKey[];\n readonly message: string;\n}\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_type\";\n readonly expected: $ZodType[\"_zod\"][\"def\"][\"type\"];\n readonly input?: Input;\n}\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_big\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly maximum: number | bigint;\n readonly inclusive?: boolean;\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_small\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly minimum: number | bigint;\n /** True if the allowable range includes the minimum */\n readonly inclusive?: boolean;\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\n readonly code: \"invalid_format\";\n readonly format: $ZodStringFormats | (string & {});\n readonly pattern?: string;\n readonly input?: string;\n}\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\n readonly code: \"not_multiple_of\";\n readonly divisor: number;\n readonly input?: Input;\n}\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\n readonly code: \"unrecognized_keys\";\n readonly keys: string[];\n readonly input?: Record<string, unknown>;\n}\ninterface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {\n readonly code: \"invalid_union\";\n readonly errors: $ZodIssue[][];\n readonly input?: unknown;\n readonly discriminator?: string | undefined;\n readonly inclusive?: true;\n}\ninterface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {\n readonly code: \"invalid_union\";\n readonly errors: [];\n readonly input?: unknown;\n readonly discriminator?: string | undefined;\n readonly inclusive: false;\n}\nexport type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_key\";\n readonly origin: \"map\" | \"record\";\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_element\";\n readonly origin: \"map\" | \"set\";\n readonly key: unknown;\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_value\";\n readonly values: util.Primitive[];\n readonly input?: Input;\n}\nexport interface $ZodIssueCustom extends $ZodIssueBase {\n readonly code: \"custom\";\n readonly params?: Record<string, any> | undefined;\n readonly input?: unknown;\n}\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\n format: Exclude<$ZodStringFormats, \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\">;\n}\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\n format: \"regex\";\n pattern: string;\n}\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\n format: \"jwt\";\n algorithm?: string;\n}\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\n format: \"starts_with\";\n prefix: string;\n}\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\n format: \"ends_with\";\n suffix: string;\n}\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\n format: \"includes\";\n includes: string;\n}\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\nexport type $ZodIssueCode = $ZodIssue[\"code\"];\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \"message\" | \"path\"> & {\n /** The input data */\n readonly input: unknown;\n /** The schema or check that originated this issue. */\n readonly inst?: $ZodType | $ZodCheck;\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\n readonly continue?: boolean | undefined;\n} & Record<string, unknown>> : never;\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\n (issue: $ZodRawIssue<T>): {\n message: string;\n } | string | undefined | null;\n}\nexport interface $ZodError<T = unknown> extends Error {\n type: T;\n issues: $ZodIssue[];\n _zod: {\n output: T;\n def: $ZodIssue[];\n };\n stack?: string;\n name: string;\n}\nexport declare const $ZodError: $constructor<$ZodError>;\ninterface $ZodRealError<T = any> extends $ZodError<T> {\n}\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\ntype _FlattenedError<T, U = string> = {\n formErrors: U[];\n fieldErrors: {\n [P in keyof T]?: U[];\n };\n};\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n} : T extends any[] ? {\n [k: number]: $ZodFormattedError<T[number], U>;\n} : T extends object ? util.Flatten<{\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n}> : any;\nexport type $ZodFormattedError<T, U = string> = {\n _errors: U[];\n} & util.Flatten<_ZodFormattedError<T, U>>;\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\n errors: U[];\n} : T extends [any, ...any[]] ? {\n errors: U[];\n items?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : T extends any[] ? {\n errors: U[];\n items?: Array<$ZodErrorTree<T[number], U>>;\n} : T extends object ? {\n errors: U[];\n properties?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : {\n errors: U[];\n};\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\n/** Format a ZodError as a human-readable string in the following form.\n *\n * From\n *\n * ```ts\n * ZodError {\n * issues: [\n * {\n * expected: 'string',\n * code: 'invalid_type',\n * path: [ 'username' ],\n * message: 'Invalid input: expected string'\n * },\n * {\n * expected: 'number',\n * code: 'invalid_type',\n * path: [ 'favoriteNumbers', 1 ],\n * message: 'Invalid input: expected number'\n * }\n * ];\n * }\n * ```\n *\n * to\n *\n * ```\n * username\n * ✖ Expected number, received string at \"username\n * favoriteNumbers[0]\n * ✖ Invalid input: expected number\n * ```\n */\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\nexport {};\n"],"x_google_ignoreList":[0],"mappings":"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"}
package/errors2.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import { $ZodError, $ZodErrorMap, $ZodFlattenedError, $ZodFormattedError, $ZodIssue } from "./errors.js";
2
- import { $constructor } from "./core.js";
3
-
4
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/errors.d.cts
5
-
6
- /** An Error-like class used to store Zod validation issues. */
7
- interface ZodError<T = unknown> extends $ZodError<T> {
8
- /** @deprecated Use the `z.treeifyError(err)` function instead. */
9
- format(): $ZodFormattedError<T>;
10
- format<U>(mapper: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
11
- /** @deprecated Use the `z.treeifyError(err)` function instead. */
12
- flatten(): $ZodFlattenedError<T>;
13
- flatten<U>(mapper: (issue: $ZodIssue) => U): $ZodFlattenedError<T, U>;
14
- /** @deprecated Push directly to `.issues` instead. */
15
- addIssue(issue: $ZodIssue): void;
16
- /** @deprecated Push directly to `.issues` instead. */
17
- addIssues(issues: $ZodIssue[]): void;
18
- /** @deprecated Check `err.issues.length === 0` instead. */
19
- isEmpty: boolean;
20
- }
21
- declare const ZodError: $constructor<ZodError>;
22
- //#endregion
23
- export { ZodError };
24
- //# sourceMappingURL=errors2.d.ts.map
package/errors2.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors2.d.ts","names":["core","$ZodError","ZodIssue","$ZodIssue","ZodError","U","T","$ZodFormattedError","$ZodFlattenedError","$constructor","ZodRealError","ZodFlattenedError","ZodFormattedError","$ZodErrorMap","ZodErrorMap","IssueData","$ZodRawIssue"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/errors.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { $ZodError } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */\nexport type ZodIssue = core.$ZodIssue;\n/** An Error-like class used to store Zod validation issues. */\nexport interface ZodError<T = unknown> extends $ZodError<T> {\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n format(): core.$ZodFormattedError<T>;\n format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n flatten(): core.$ZodFlattenedError<T>;\n flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;\n /** @deprecated Push directly to `.issues` instead. */\n addIssue(issue: core.$ZodIssue): void;\n /** @deprecated Push directly to `.issues` instead. */\n addIssues(issues: core.$ZodIssue[]): void;\n /** @deprecated Check `err.issues.length === 0` instead. */\n isEmpty: boolean;\n}\nexport declare const ZodError: core.$constructor<ZodError>;\nexport declare const ZodRealError: core.$constructor<ZodError>;\nexport type { \n/** @deprecated Use `z.core.$ZodFlattenedError` instead. */\n$ZodFlattenedError as ZodFlattenedError, \n/** @deprecated Use `z.core.$ZodFormattedError` instead. */\n$ZodFormattedError as ZodFormattedError, \n/** @deprecated Use `z.core.$ZodErrorMap` instead. */\n$ZodErrorMap as ZodErrorMap, } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodRawIssue` instead. */\nexport type IssueData = core.$ZodRawIssue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA;AAAyDM,UAAxCF,QAAwCE,CAAAA,IAAAA,OAAAA,CAAAA,SAAVL,SAAUK,CAAAA,CAAAA,CAAAA,CAAAA;EAEnBA;EAAxBN,MAAAA,EAAAA,EAAAA,kBAAAA,CAAwBM,CAAxBN,CAAAA;EACgBA,MAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAAAA,SAAAA,EAAAA,GAAmBK,CAAnBL,CAAAA,EAAuBA,kBAAvBA,CAA+CM,CAA/CN,EAAkDK,CAAlDL,CAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,EAE9DN,kBAF8DM,CAEtCA,CAFsCA,CAAAA;EAAGD,OAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAGjDL,SAHiDK,EAAAA,GAG9BA,CAH8BA,CAAAA,EAG1BL,kBAH0BK,CAGFC,CAHED,EAGCA,CAHDA,CAAAA;EAA3BL;EAEdM,QAAAA,CAAAA,KAAAA,EAGnBN,SAHmBM,CAAAA,EAAAA,IAAAA;EAAxBN;EACgBA,SAAAA,CAAAA,MAAAA,EAITA,SAJSA,EAAAA,CAAAA,EAAAA,IAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,OAAAA;;AAAxBN,cAQjCI,QARiCJ,EAQvBA,YARuBA,CAQLI,QARKJ,CAAAA"}
package/index2.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { ZodOpenAPIMetadata } from "./zod-extensions.js";
2
- import "./metadata.js";
3
- import "./openapi-generator2.js";
4
- import "./openapi-generator3.js";
package/index3.d.ts DELETED
@@ -1 +0,0 @@
1
- import "./index2.js";
package/json-schema.d.ts DELETED
@@ -1,70 +0,0 @@
1
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/json-schema.d.cts
2
- type _JSONSchema = boolean | JSONSchema;
3
- type JSONSchema = {
4
- [k: string]: unknown;
5
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
6
- $id?: string;
7
- $anchor?: string;
8
- $ref?: string;
9
- $dynamicRef?: string;
10
- $dynamicAnchor?: string;
11
- $vocabulary?: Record<string, boolean>;
12
- $comment?: string;
13
- $defs?: Record<string, JSONSchema>;
14
- type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
15
- additionalItems?: _JSONSchema;
16
- unevaluatedItems?: _JSONSchema;
17
- prefixItems?: _JSONSchema[];
18
- items?: _JSONSchema | _JSONSchema[];
19
- contains?: _JSONSchema;
20
- additionalProperties?: _JSONSchema;
21
- unevaluatedProperties?: _JSONSchema;
22
- properties?: Record<string, _JSONSchema>;
23
- patternProperties?: Record<string, _JSONSchema>;
24
- dependentSchemas?: Record<string, _JSONSchema>;
25
- propertyNames?: _JSONSchema;
26
- if?: _JSONSchema;
27
- then?: _JSONSchema;
28
- else?: _JSONSchema;
29
- allOf?: JSONSchema[];
30
- anyOf?: JSONSchema[];
31
- oneOf?: JSONSchema[];
32
- not?: _JSONSchema;
33
- multipleOf?: number;
34
- maximum?: number;
35
- exclusiveMaximum?: number | boolean;
36
- minimum?: number;
37
- exclusiveMinimum?: number | boolean;
38
- maxLength?: number;
39
- minLength?: number;
40
- pattern?: string;
41
- maxItems?: number;
42
- minItems?: number;
43
- uniqueItems?: boolean;
44
- maxContains?: number;
45
- minContains?: number;
46
- maxProperties?: number;
47
- minProperties?: number;
48
- required?: string[];
49
- dependentRequired?: Record<string, string[]>;
50
- enum?: Array<string | number | boolean | null>;
51
- const?: string | number | boolean | null;
52
- id?: string;
53
- title?: string;
54
- description?: string;
55
- default?: unknown;
56
- deprecated?: boolean;
57
- readOnly?: boolean;
58
- writeOnly?: boolean;
59
- nullable?: boolean;
60
- examples?: unknown[];
61
- format?: string;
62
- contentMediaType?: string;
63
- contentEncoding?: string;
64
- contentSchema?: JSONSchema;
65
- _prefault?: unknown;
66
- };
67
- type BaseSchema = JSONSchema;
68
- //#endregion
69
- export { BaseSchema };
70
- //# sourceMappingURL=json-schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"json-schema.d.ts","names":["Schema","ObjectSchema","ArraySchema","StringSchema","NumberSchema","IntegerSchema","BooleanSchema","NullSchema","_JSONSchema","JSONSchema","Record","Array","BaseSchema"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/core/json-schema.d.cts"],"sourcesContent":["export type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;\nexport type _JSONSchema = boolean | JSONSchema;\nexport type JSONSchema = {\n [k: string]: unknown;\n $schema?: \"https://json-schema.org/draft/2020-12/schema\" | \"http://json-schema.org/draft-07/schema#\" | \"http://json-schema.org/draft-04/schema#\";\n $id?: string;\n $anchor?: string;\n $ref?: string;\n $dynamicRef?: string;\n $dynamicAnchor?: string;\n $vocabulary?: Record<string, boolean>;\n $comment?: string;\n $defs?: Record<string, JSONSchema>;\n type?: \"object\" | \"array\" | \"string\" | \"number\" | \"boolean\" | \"null\" | \"integer\";\n additionalItems?: _JSONSchema;\n unevaluatedItems?: _JSONSchema;\n prefixItems?: _JSONSchema[];\n items?: _JSONSchema | _JSONSchema[];\n contains?: _JSONSchema;\n additionalProperties?: _JSONSchema;\n unevaluatedProperties?: _JSONSchema;\n properties?: Record<string, _JSONSchema>;\n patternProperties?: Record<string, _JSONSchema>;\n dependentSchemas?: Record<string, _JSONSchema>;\n propertyNames?: _JSONSchema;\n if?: _JSONSchema;\n then?: _JSONSchema;\n else?: _JSONSchema;\n allOf?: JSONSchema[];\n anyOf?: JSONSchema[];\n oneOf?: JSONSchema[];\n not?: _JSONSchema;\n multipleOf?: number;\n maximum?: number;\n exclusiveMaximum?: number | boolean;\n minimum?: number;\n exclusiveMinimum?: number | boolean;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxContains?: number;\n minContains?: number;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n dependentRequired?: Record<string, string[]>;\n enum?: Array<string | number | boolean | null>;\n const?: string | number | boolean | null;\n id?: string;\n title?: string;\n description?: string;\n default?: unknown;\n deprecated?: boolean;\n readOnly?: boolean;\n writeOnly?: boolean;\n nullable?: boolean;\n examples?: unknown[];\n format?: string;\n contentMediaType?: string;\n contentEncoding?: string;\n contentSchema?: JSONSchema;\n _prefault?: unknown;\n};\nexport type BaseSchema = JSONSchema;\nexport interface ObjectSchema extends JSONSchema {\n type: \"object\";\n}\nexport interface ArraySchema extends JSONSchema {\n type: \"array\";\n}\nexport interface StringSchema extends JSONSchema {\n type: \"string\";\n}\nexport interface NumberSchema extends JSONSchema {\n type: \"number\";\n}\nexport interface IntegerSchema extends JSONSchema {\n type: \"integer\";\n}\nexport interface BooleanSchema extends JSONSchema {\n type: \"boolean\";\n}\nexport interface NullSchema extends JSONSchema {\n type: \"null\";\n}\n"],"x_google_ignoreList":[0],"mappings":";AACYQ,KAAAA,WAAAA,GAAW,OAAaC,GAAAA,UAAU;AAClCA,KAAAA,UAAAA,GAAU;EAQJC,CAAAA,CAAAA,EAAAA,MAAAA,CAAAA,EAAAA,OAAAA;EAESD,OAAAA,CAAAA,EAAAA,8CAAAA,GAAAA,yCAAAA,GAAAA,yCAAAA;EAAfC,GAAAA,CAAAA,EAAAA,MAAAA;EAEUF,OAAAA,CAAAA,EAAAA,MAAAA;EACCA,IAAAA,CAAAA,EAAAA,MAAAA;EACLA,WAAAA,CAAAA,EAAAA,MAAAA;EACNA,cAAAA,CAAAA,EAAAA,MAAAA;EAAcA,WAAAA,CAAAA,EAPRE,MAOQF,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA;EACXA,QAAAA,CAAAA,EAAAA,MAAAA;EACYA,KAAAA,CAAAA,EAPfE,MAOeF,CAAAA,MAAAA,EAPAC,UAOAD,CAAAA;EACCA,IAAAA,CAAAA,EAAAA,QAAAA,GAAAA,OAAAA,GAAAA,QAAAA,GAAAA,QAAAA,GAAAA,SAAAA,GAAAA,MAAAA,GAAAA,SAAAA;EACIA,eAAAA,CAAAA,EAPVA,WAOUA;EAAfE,gBAAAA,CAAAA,EANMF,WAMNE;EACsBF,WAAAA,CAAAA,EANrBA,WAMqBA,EAAAA;EAAfE,KAAAA,CAAAA,EALZF,WAKYE,GALEF,WAKFE,EAAAA;EACcF,QAAAA,CAAAA,EALvBA,WAKuBA;EAAfE,oBAAAA,CAAAA,EAJIF,WAIJE;EACHF,qBAAAA,CAAAA,EAJQA,WAIRA;EACXA,UAAAA,CAAAA,EAJQE,MAIRF,CAAAA,MAAAA,EAJuBA,WAIvBA,CAAAA;EACEA,iBAAAA,CAAAA,EAJaE,MAIbF,CAAAA,MAAAA,EAJ4BA,WAI5BA,CAAAA;EACAA,gBAAAA,CAAAA,EAJYE,MAIZF,CAAAA,MAAAA,EAJ2BA,WAI3BA,CAAAA;EACCC,aAAAA,CAAAA,EAJQD,WAIRC;EACAA,EAAAA,CAAAA,EAJHD,WAIGC;EACAA,IAAAA,CAAAA,EAJDD,WAICC;EACFD,IAAAA,CAAAA,EAJCA,WAIDA;EAiBcE,KAAAA,CAAAA,EApBZD,UAoBYC,EAAAA;EACbC,KAAAA,CAAAA,EApBCF,UAoBDE,EAAAA;EAcSF,KAAAA,CAAAA,EAjCRA,UAiCQA,EAAAA;EAAU,GAAA,CAAA,EAhCpBD,WAgCoB;EAGlBI,UAAAA,CAAAA,EAAU,MAAA;;;;;;;;;;;;;;;;sBAlBEF;SACbC;;;;;;;;;;;;;;kBAcSF;;;KAGRG,UAAAA,GAAaH"}
package/metadata.d.ts DELETED
@@ -1 +0,0 @@
1
- import "./zod-extensions.js";
@@ -1 +0,0 @@
1
- import "./zod-extensions.js";
@@ -1 +0,0 @@
1
- import "./openapi-generator.js";
@@ -1 +0,0 @@
1
- import "./openapi-generator.js";
package/openapi30.d.ts DELETED
@@ -1,125 +0,0 @@
1
- import { ISpecificationExtension } from "./specification-extension.js";
2
-
3
- //#region ../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi30.d.ts
4
-
5
- interface ExternalDocumentationObject extends ISpecificationExtension {
6
- description?: string;
7
- url: string;
8
- }
9
- type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
10
- type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
11
- interface BaseParameterObject extends ISpecificationExtension {
12
- description?: string;
13
- required?: boolean;
14
- deprecated?: boolean;
15
- allowEmptyValue?: boolean;
16
- style?: ParameterStyle;
17
- explode?: boolean;
18
- allowReserved?: boolean;
19
- schema?: SchemaObject | ReferenceObject;
20
- examples?: {
21
- [param: string]: ExampleObject | ReferenceObject;
22
- };
23
- example?: any;
24
- content?: ContentObject;
25
- }
26
- interface ParameterObject extends BaseParameterObject {
27
- name: string;
28
- in: ParameterLocation;
29
- }
30
- interface ContentObject {
31
- [mediatype: string]: MediaTypeObject;
32
- }
33
- interface MediaTypeObject extends ISpecificationExtension {
34
- schema?: SchemaObject | ReferenceObject;
35
- examples?: ExamplesObject;
36
- example?: any;
37
- encoding?: EncodingObject;
38
- }
39
- interface EncodingObject extends ISpecificationExtension {
40
- [property: string]: EncodingPropertyObject | any;
41
- }
42
- interface EncodingPropertyObject {
43
- contentType?: string;
44
- headers?: {
45
- [key: string]: HeaderObject | ReferenceObject;
46
- };
47
- style?: string;
48
- explode?: boolean;
49
- allowReserved?: boolean;
50
- [key: string]: any;
51
- }
52
- interface ExampleObject {
53
- summary?: string;
54
- description?: string;
55
- value?: any;
56
- externalValue?: string;
57
- [property: string]: any;
58
- }
59
- interface HeaderObject extends BaseParameterObject {
60
- $ref?: string;
61
- }
62
- interface ExamplesObject {
63
- [name: string]: ExampleObject | ReferenceObject;
64
- }
65
- interface ReferenceObject {
66
- $ref: string;
67
- }
68
- type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
69
- type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
70
- interface SchemaObject extends ISpecificationExtension {
71
- nullable?: boolean;
72
- discriminator?: DiscriminatorObject;
73
- readOnly?: boolean;
74
- writeOnly?: boolean;
75
- xml?: XmlObject;
76
- externalDocs?: ExternalDocumentationObject;
77
- example?: any;
78
- examples?: any[];
79
- deprecated?: boolean;
80
- type?: SchemaObjectType | SchemaObjectType[];
81
- format?: SchemaObjectFormat;
82
- allOf?: (SchemaObject | ReferenceObject)[];
83
- oneOf?: (SchemaObject | ReferenceObject)[];
84
- anyOf?: (SchemaObject | ReferenceObject)[];
85
- not?: SchemaObject | ReferenceObject;
86
- items?: SchemaObject | ReferenceObject;
87
- properties?: {
88
- [propertyName: string]: SchemaObject | ReferenceObject;
89
- };
90
- additionalProperties?: SchemaObject | ReferenceObject | boolean;
91
- description?: string;
92
- default?: any;
93
- title?: string;
94
- multipleOf?: number;
95
- maximum?: number;
96
- exclusiveMaximum?: boolean;
97
- minimum?: number;
98
- exclusiveMinimum?: boolean;
99
- maxLength?: number;
100
- minLength?: number;
101
- pattern?: string;
102
- maxItems?: number;
103
- minItems?: number;
104
- uniqueItems?: boolean;
105
- maxProperties?: number;
106
- minProperties?: number;
107
- required?: string[];
108
- enum?: any[];
109
- }
110
- interface DiscriminatorObject {
111
- propertyName: string;
112
- mapping?: {
113
- [key: string]: string;
114
- };
115
- }
116
- interface XmlObject extends ISpecificationExtension {
117
- name?: string;
118
- namespace?: string;
119
- prefix?: string;
120
- attribute?: boolean;
121
- wrapped?: boolean;
122
- }
123
- //#endregion
124
- export { ParameterObject, SchemaObject };
125
- //# sourceMappingURL=openapi30.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openapi30.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","SchemaObjectFormat","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi30.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\nexport interface SchemaObject extends ISpecificationExtension {\n nullable?: boolean;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: SchemaObjectFormat;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n exclusiveMaximum?: boolean;\n minimum?: number;\n exclusiveMinimum?: boolean;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UA8FiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;KAIL2B,gBAAAA;KACAC,kBAAAA;UACK7B,YAAAA,SAAqBX;;kBAElByC;;;QAGVC;iBACSlC;;;;SAIR+B,mBAAmBA;WACjBC;WACA7B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;;;;;;;;;;;;;;;;;;;;UAwBzB6B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkB1C"}
package/openapi31.d.ts DELETED
@@ -1,131 +0,0 @@
1
- import { ISpecificationExtension } from "./specification-extension.js";
2
-
3
- //#region ../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi31.d.ts
4
-
5
- interface ExternalDocumentationObject extends ISpecificationExtension {
6
- description?: string;
7
- url: string;
8
- }
9
- type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
10
- type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
11
- interface BaseParameterObject extends ISpecificationExtension {
12
- description?: string;
13
- required?: boolean;
14
- deprecated?: boolean;
15
- allowEmptyValue?: boolean;
16
- style?: ParameterStyle;
17
- explode?: boolean;
18
- allowReserved?: boolean;
19
- schema?: SchemaObject | ReferenceObject;
20
- examples?: {
21
- [param: string]: ExampleObject | ReferenceObject;
22
- };
23
- example?: any;
24
- content?: ContentObject;
25
- }
26
- interface ParameterObject extends BaseParameterObject {
27
- name: string;
28
- in: ParameterLocation;
29
- }
30
- interface ContentObject {
31
- [mediatype: string]: MediaTypeObject;
32
- }
33
- interface MediaTypeObject extends ISpecificationExtension {
34
- schema?: SchemaObject | ReferenceObject;
35
- examples?: ExamplesObject;
36
- example?: any;
37
- encoding?: EncodingObject;
38
- }
39
- interface EncodingObject extends ISpecificationExtension {
40
- [property: string]: EncodingPropertyObject | any;
41
- }
42
- interface EncodingPropertyObject {
43
- contentType?: string;
44
- headers?: {
45
- [key: string]: HeaderObject | ReferenceObject;
46
- };
47
- style?: string;
48
- explode?: boolean;
49
- allowReserved?: boolean;
50
- [key: string]: any;
51
- }
52
- interface ExampleObject {
53
- summary?: string;
54
- description?: string;
55
- value?: any;
56
- externalValue?: string;
57
- [property: string]: any;
58
- }
59
- interface HeaderObject extends BaseParameterObject {
60
- $ref?: string;
61
- }
62
- interface ExamplesObject {
63
- [name: string]: ExampleObject | ReferenceObject;
64
- }
65
- interface ReferenceObject {
66
- $ref: string;
67
- summary?: string;
68
- description?: string;
69
- }
70
- type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
71
- interface SchemaObject extends ISpecificationExtension {
72
- $ref?: string;
73
- discriminator?: DiscriminatorObject;
74
- readOnly?: boolean;
75
- writeOnly?: boolean;
76
- xml?: XmlObject;
77
- externalDocs?: ExternalDocumentationObject;
78
- example?: any;
79
- examples?: any[];
80
- deprecated?: boolean;
81
- type?: SchemaObjectType | SchemaObjectType[];
82
- format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
83
- allOf?: (SchemaObject | ReferenceObject)[];
84
- oneOf?: (SchemaObject | ReferenceObject)[];
85
- anyOf?: (SchemaObject | ReferenceObject)[];
86
- not?: SchemaObject | ReferenceObject;
87
- items?: SchemaObject | ReferenceObject;
88
- properties?: {
89
- [propertyName: string]: SchemaObject | ReferenceObject;
90
- };
91
- additionalProperties?: SchemaObject | ReferenceObject | boolean;
92
- propertyNames?: SchemaObject | ReferenceObject;
93
- description?: string;
94
- default?: any;
95
- title?: string;
96
- multipleOf?: number;
97
- maximum?: number;
98
- const?: any;
99
- exclusiveMaximum?: number;
100
- minimum?: number;
101
- exclusiveMinimum?: number;
102
- maxLength?: number;
103
- minLength?: number;
104
- pattern?: string;
105
- maxItems?: number;
106
- minItems?: number;
107
- uniqueItems?: boolean;
108
- maxProperties?: number;
109
- minProperties?: number;
110
- required?: string[];
111
- enum?: any[];
112
- prefixItems?: (SchemaObject | ReferenceObject)[];
113
- contentMediaType?: string;
114
- contentEncoding?: string;
115
- }
116
- interface DiscriminatorObject {
117
- propertyName: string;
118
- mapping?: {
119
- [key: string]: string;
120
- };
121
- }
122
- interface XmlObject extends ISpecificationExtension {
123
- name?: string;
124
- namespace?: string;
125
- prefix?: string;
126
- attribute?: boolean;
127
- wrapped?: boolean;
128
- }
129
- //#endregion
130
- export { ParameterObject, SchemaObject };
131
- //# sourceMappingURL=openapi31.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openapi31.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi31.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths?: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n webhooks?: PathsObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n identifier?: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n pathItems?: {\n [pathItem: string]: PathItemObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject | undefined, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses?: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n summary?: string;\n description?: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport interface SchemaObject extends ISpecificationExtension {\n $ref?: string;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n propertyNames?: SchemaObject | ReferenceObject;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n const?: any;\n exclusiveMaximum?: number;\n minimum?: number;\n exclusiveMinimum?: number;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n prefixItems?: (SchemaObject | ReferenceObject)[];\n contentMediaType?: string;\n contentEncoding?: string;\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UAmGiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;;;KAML2B,gBAAAA;UACK5B,YAAAA,SAAqBX;;kBAElBwC;;;QAGVC;iBACSjC;;;;SAIR+B,mBAAmBA;;WAEjB5B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;kBACtBD,eAAeC;;;;;;;;;;;;;;;;;;;;iBAoBhBD,eAAeC;;;;UAQjB4B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkBzC"}
package/parse.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import { ZodError } from "./errors2.js";
2
-
3
- //#region ../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/parse.d.cts
4
- type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
5
- type ZodSafeParseSuccess<T> = {
6
- success: true;
7
- data: T;
8
- error?: never;
9
- };
10
- type ZodSafeParseError<T> = {
11
- success: false;
12
- data?: never;
13
- error: ZodError<T>;
14
- };
15
- //#endregion
16
- export { ZodSafeParseResult };
17
- //# sourceMappingURL=parse.d.ts.map
package/parse.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.d.ts","names":["core","ZodError","ZodSafeParseResult","T","ZodSafeParseSuccess","ZodSafeParseError","parse","$ZodType","$ZodIssue","ParseContext","util","AnyFunc","$ZodErrorClass","output","parseAsync","Promise","safeParse","safeParseAsync","encode","input","decode","encodeAsync","decodeAsync","safeEncode","safeDecode","safeEncodeAsync","safeDecodeAsync"],"sources":["../../../node_modules/.bun/zod@4.2.1/node_modules/zod/v4/classic/parse.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { type ZodError } from \"./errors.cjs\";\nexport type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;\nexport type ZodSafeParseSuccess<T> = {\n success: true;\n data: T;\n error?: never;\n};\nexport type ZodSafeParseError<T> = {\n success: false;\n data?: never;\n error: ZodError<T>;\n};\nexport declare const parse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => core.output<T>;\nexport declare const parseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => Promise<core.output<T>>;\nexport declare const safeParse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeParseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\nexport declare const encode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.input<T>;\nexport declare const decode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.output<T>;\nexport declare const encodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.input<T>>;\nexport declare const decodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.output<T>>;\nexport declare const safeEncode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.input<T>>;\nexport declare const safeDecode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeEncodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;\nexport declare const safeDecodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\n"],"x_google_ignoreList":[0],"mappings":";;;KAEYE,wBAAwBE,oBAAoBD,KAAKE,kBAAkBF;AAAnED,KACAE,mBADkB,CAAAD,CAAAA,CAAAA,GAAAA;EAA0BA,OAAAA,EAAAA,IAAAA;EAApBC,IAAAA,EAG1BD,CAH0BC;EAA2CD,KAAAA,CAAAA,EAAAA,KAAAA;CAAlBE;AAAiB,KAMlEA,iBANkE,CAAA,CAAA,CAAA,GAAA;EAClED,OAAAA,EAAAA,KAAAA;EAKAC,IAAAA,CAAAA,EAAAA,KAAAA;SAGDJ,SAASE"}