zudoku 0.45.1 → 0.46.0

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 (532) hide show
  1. package/dist/app/main.js +4 -23
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/config.d.ts +2 -2
  4. package/dist/config/file-exists.d.ts +1 -0
  5. package/dist/config/file-exists.js +5 -0
  6. package/dist/config/file-exists.js.map +1 -0
  7. package/dist/config/loader.d.ts +19 -4
  8. package/dist/config/loader.js +94 -14
  9. package/dist/config/loader.js.map +1 -1
  10. package/dist/config/validators/validate.d.ts +3536 -743
  11. package/dist/config/validators/validate.js +396 -11
  12. package/dist/config/validators/validate.js.map +1 -1
  13. package/dist/index.d.ts +4 -2
  14. package/dist/index.js +2 -0
  15. package/dist/index.js.map +1 -1
  16. package/dist/lib/authentication/AuthenticationPlugin.d.ts +7 -2
  17. package/dist/lib/authentication/AuthenticationPlugin.js +13 -1
  18. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  19. package/dist/lib/authentication/authentication.d.ts +2 -4
  20. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  21. package/dist/lib/authentication/providers/clerk.js +62 -43
  22. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  23. package/dist/lib/authentication/providers/openid.d.ts +7 -12
  24. package/dist/lib/authentication/providers/openid.js +11 -22
  25. package/dist/lib/authentication/providers/openid.js.map +1 -1
  26. package/dist/lib/authentication/providers/supabase.js +3 -5
  27. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  28. package/dist/lib/components/Autocomplete.js +1 -1
  29. package/dist/lib/components/Banner.js +1 -1
  30. package/dist/lib/components/Banner.js.map +1 -1
  31. package/dist/lib/components/ErrorPage.js +1 -1
  32. package/dist/lib/components/Footer.js +3 -3
  33. package/dist/lib/components/Footer.js.map +1 -1
  34. package/dist/lib/components/Header.js +16 -8
  35. package/dist/lib/components/Header.js.map +1 -1
  36. package/dist/lib/components/Heading.js +6 -1
  37. package/dist/lib/components/Heading.js.map +1 -1
  38. package/dist/lib/components/InlineCode.js +1 -1
  39. package/dist/lib/components/InlineCode.js.map +1 -1
  40. package/dist/lib/components/Layout.js +2 -2
  41. package/dist/lib/components/Layout.js.map +1 -1
  42. package/dist/lib/components/Main.js +2 -2
  43. package/dist/lib/components/Main.js.map +1 -1
  44. package/dist/lib/components/Markdown.js +8 -3
  45. package/dist/lib/components/Markdown.js.map +1 -1
  46. package/dist/lib/components/MobileTopNavigation.js +3 -2
  47. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  48. package/dist/lib/components/NotFoundPage.js +1 -1
  49. package/dist/lib/components/Pagination.js +1 -1
  50. package/dist/lib/components/Pagination.js.map +1 -1
  51. package/dist/lib/components/Search.js +1 -1
  52. package/dist/lib/components/Search.js.map +1 -1
  53. package/dist/lib/components/Slot.d.ts +17 -0
  54. package/dist/lib/components/Slot.js +24 -0
  55. package/dist/lib/components/Slot.js.map +1 -0
  56. package/dist/lib/components/Slot.test.js +168 -0
  57. package/dist/lib/components/Slot.test.js.map +1 -0
  58. package/dist/lib/components/TopNavigation.d.ts +1 -4
  59. package/dist/lib/components/TopNavigation.js +3 -11
  60. package/dist/lib/components/TopNavigation.js.map +1 -1
  61. package/dist/lib/components/Zudoku.js +2 -2
  62. package/dist/lib/components/Zudoku.js.map +1 -1
  63. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  64. package/dist/lib/components/context/SlotProvider.js +83 -0
  65. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  66. package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
  67. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  68. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  69. package/dist/lib/components/index.d.ts +29 -23
  70. package/dist/lib/components/index.js +13 -7
  71. package/dist/lib/components/index.js.map +1 -1
  72. package/dist/lib/components/navigation/PoweredByZudoku.js +1 -1
  73. package/dist/lib/components/navigation/Sidebar.js +3 -3
  74. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  75. package/dist/lib/components/navigation/SidebarBadge.js +1 -1
  76. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  77. package/dist/lib/components/navigation/SidebarCategory.js +3 -3
  78. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  79. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -5
  80. package/dist/lib/components/navigation/SidebarItem.js +19 -23
  81. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  82. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  83. package/dist/lib/components/navigation/Toc.js +1 -1
  84. package/dist/lib/components/navigation/Toc.js.map +1 -1
  85. package/dist/lib/components/navigation/utils.d.ts +8 -0
  86. package/dist/lib/components/navigation/utils.js +34 -6
  87. package/dist/lib/components/navigation/utils.js.map +1 -1
  88. package/dist/lib/core/ZudokuContext.d.ts +12 -8
  89. package/dist/lib/core/ZudokuContext.js +6 -5
  90. package/dist/lib/core/ZudokuContext.js.map +1 -1
  91. package/dist/lib/core/plugins.d.ts +5 -2
  92. package/dist/lib/core/plugins.js +1 -0
  93. package/dist/lib/core/plugins.js.map +1 -1
  94. package/dist/lib/errors/ErrorAlert.js +1 -1
  95. package/dist/lib/hooks/index.d.ts +19 -0
  96. package/dist/lib/hooks/index.js +11 -0
  97. package/dist/lib/hooks/index.js.map +1 -1
  98. package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
  99. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  100. package/dist/lib/plugins/api-keys/CreateApiKey.js +8 -4
  101. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  102. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  103. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +54 -23
  104. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  105. package/dist/lib/plugins/api-keys/index.d.ts +18 -9
  106. package/dist/lib/plugins/api-keys/index.js +49 -34
  107. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  108. package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
  109. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  110. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  111. package/dist/lib/plugins/markdown/index.d.ts +1 -1
  112. package/dist/lib/plugins/markdown/resolver.d.ts +1 -1
  113. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  114. package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
  115. package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
  116. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  117. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  118. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  119. package/dist/lib/plugins/openapi/OperationListItem.js +2 -3
  120. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  121. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +5 -1
  122. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  123. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  124. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -4
  125. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  126. package/dist/lib/plugins/openapi/SchemaList.js +6 -5
  127. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  128. package/dist/lib/plugins/openapi/Sidecar.js +1 -1
  129. package/dist/lib/plugins/openapi/SidecarExamples.js +8 -0
  130. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  131. package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
  132. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
  133. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  134. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  135. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  136. package/dist/lib/plugins/openapi/playground/Playground.js +2 -0
  137. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  138. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  139. package/dist/lib/plugins/openapi/playground/SubmitButton.js +7 -10
  140. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -1
  141. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +2 -2
  142. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
  143. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -1
  144. package/dist/lib/plugins/openapi/schema/SchemaView.js +3 -3
  145. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  146. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  147. package/dist/lib/ui/Badge.d.ts +2 -2
  148. package/dist/lib/ui/Badge.js +1 -1
  149. package/dist/lib/ui/Badge.js.map +1 -1
  150. package/dist/lib/ui/Button.d.ts +2 -2
  151. package/dist/lib/ui/Button.js +8 -6
  152. package/dist/lib/ui/Button.js.map +1 -1
  153. package/dist/lib/ui/Callout.js +1 -1
  154. package/dist/lib/ui/Callout.js.map +1 -1
  155. package/dist/lib/ui/Card.js +1 -1
  156. package/dist/lib/ui/Checkbox.js +1 -1
  157. package/dist/lib/ui/Checkbox.js.map +1 -1
  158. package/dist/lib/ui/Command.d.ts +2 -2
  159. package/dist/lib/ui/Command.js +3 -3
  160. package/dist/lib/ui/Command.js.map +1 -1
  161. package/dist/lib/ui/Dialog.js +1 -1
  162. package/dist/lib/ui/Dialog.js.map +1 -1
  163. package/dist/lib/ui/DropdownMenu.js +4 -4
  164. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  165. package/dist/lib/ui/HoverCard.js +1 -1
  166. package/dist/lib/ui/HoverCard.js.map +1 -1
  167. package/dist/lib/ui/Input.js +1 -1
  168. package/dist/lib/ui/Input.js.map +1 -1
  169. package/dist/lib/ui/Popover.js +1 -1
  170. package/dist/lib/ui/Popover.js.map +1 -1
  171. package/dist/lib/ui/RadioGroup.js +1 -1
  172. package/dist/lib/ui/RadioGroup.js.map +1 -1
  173. package/dist/lib/ui/Select.js +2 -2
  174. package/dist/lib/ui/Select.js.map +1 -1
  175. package/dist/lib/ui/Slider.js +1 -1
  176. package/dist/lib/ui/Slider.js.map +1 -1
  177. package/dist/lib/ui/Switch.js +1 -1
  178. package/dist/lib/ui/Switch.js.map +1 -1
  179. package/dist/lib/ui/Tabs.js +2 -2
  180. package/dist/lib/ui/Tabs.js.map +1 -1
  181. package/dist/lib/ui/Textarea.js +1 -1
  182. package/dist/lib/ui/Textarea.js.map +1 -1
  183. package/dist/lib/ui/Toggle.js +1 -1
  184. package/dist/lib/ui/Toggle.js.map +1 -1
  185. package/dist/lib/ui/Tooltip.d.ts +2 -1
  186. package/dist/lib/ui/Tooltip.js +2 -1
  187. package/dist/lib/ui/Tooltip.js.map +1 -1
  188. package/dist/lib/util/useExposedProps.d.ts +8 -1
  189. package/dist/lib/util/useExposedProps.js.map +1 -1
  190. package/dist/vite/api/SchemaManager.js +16 -1
  191. package/dist/vite/api/SchemaManager.js.map +1 -1
  192. package/dist/vite/build.js +44 -6
  193. package/dist/vite/build.js.map +1 -1
  194. package/dist/vite/config.d.ts +2 -9
  195. package/dist/vite/config.js +6 -95
  196. package/dist/vite/config.js.map +1 -1
  197. package/dist/vite/config.test.js +1 -1
  198. package/dist/vite/config.test.js.map +1 -1
  199. package/dist/vite/css/plugin.d.ts +1 -2
  200. package/dist/vite/css/plugin.js +3 -2
  201. package/dist/vite/css/plugin.js.map +1 -1
  202. package/dist/vite/dev-server.d.ts +0 -1
  203. package/dist/vite/dev-server.js +10 -12
  204. package/dist/vite/dev-server.js.map +1 -1
  205. package/dist/vite/html.d.ts +2 -2
  206. package/dist/vite/html.js +5 -2
  207. package/dist/vite/html.js.map +1 -1
  208. package/dist/vite/plugin-api-keys.d.ts +1 -2
  209. package/dist/vite/plugin-api-keys.js +9 -3
  210. package/dist/vite/plugin-api-keys.js.map +1 -1
  211. package/dist/vite/plugin-api.d.ts +1 -2
  212. package/dist/vite/plugin-api.js +5 -4
  213. package/dist/vite/plugin-api.js.map +1 -1
  214. package/dist/vite/plugin-auth.d.ts +1 -2
  215. package/dist/vite/plugin-auth.js +3 -2
  216. package/dist/vite/plugin-auth.js.map +1 -1
  217. package/dist/vite/plugin-component.d.ts +1 -2
  218. package/dist/vite/plugin-component.js +3 -2
  219. package/dist/vite/plugin-component.js.map +1 -1
  220. package/dist/vite/plugin-config-reload.d.ts +1 -2
  221. package/dist/vite/plugin-config-reload.js +21 -22
  222. package/dist/vite/plugin-config-reload.js.map +1 -1
  223. package/dist/vite/plugin-config.d.ts +1 -2
  224. package/dist/vite/plugin-config.js +4 -3
  225. package/dist/vite/plugin-config.js.map +1 -1
  226. package/dist/vite/plugin-configure-tailwind.d.ts +2 -0
  227. package/dist/vite/plugin-configure-tailwind.js +38 -0
  228. package/dist/vite/plugin-configure-tailwind.js.map +1 -0
  229. package/dist/vite/plugin-custom-pages.d.ts +1 -2
  230. package/dist/vite/plugin-custom-pages.js +3 -2
  231. package/dist/vite/plugin-custom-pages.js.map +1 -1
  232. package/dist/vite/plugin-docs.d.ts +1 -2
  233. package/dist/vite/plugin-docs.js +4 -3
  234. package/dist/vite/plugin-docs.js.map +1 -1
  235. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  236. package/dist/vite/plugin-frontmatter.js +3 -2
  237. package/dist/vite/plugin-frontmatter.js.map +1 -1
  238. package/dist/vite/plugin-mdx.d.ts +1 -2
  239. package/dist/vite/plugin-mdx.js +3 -2
  240. package/dist/vite/plugin-mdx.js.map +1 -1
  241. package/dist/vite/plugin-redirect.d.ts +1 -2
  242. package/dist/vite/plugin-redirect.js +3 -2
  243. package/dist/vite/plugin-redirect.js.map +1 -1
  244. package/dist/vite/plugin-search.d.ts +1 -2
  245. package/dist/vite/plugin-search.js +3 -2
  246. package/dist/vite/plugin-search.js.map +1 -1
  247. package/dist/vite/plugin-shiki-register.d.ts +1 -2
  248. package/dist/vite/plugin-shiki-register.js +2 -1
  249. package/dist/vite/plugin-shiki-register.js.map +1 -1
  250. package/dist/vite/plugin-sidebar.d.ts +1 -2
  251. package/dist/vite/plugin-sidebar.js +3 -2
  252. package/dist/vite/plugin-sidebar.js.map +1 -1
  253. package/dist/vite/plugin-theme-css.d.ts +1 -2
  254. package/dist/vite/plugin-theme-css.js +20 -60
  255. package/dist/vite/plugin-theme-css.js.map +1 -1
  256. package/dist/vite/plugin.d.ts +1 -2
  257. package/dist/vite/plugin.js +22 -21
  258. package/dist/vite/plugin.js.map +1 -1
  259. package/dist/vite/sitemap.d.ts +1 -1
  260. package/dist/zuplo/with-zuplo.d.ts +2 -2
  261. package/dist/zuplo/with-zuplo.js.map +1 -1
  262. package/lib/Button-BE9IVkWV.js +51 -0
  263. package/lib/Button-BE9IVkWV.js.map +1 -0
  264. package/lib/{Callout-XadUe37J.js → Callout-BkgOUkoZ.js} +9 -8
  265. package/lib/Callout-BkgOUkoZ.js.map +1 -0
  266. package/lib/{Card-BlCYNw5W.js → Card-DPhGbYUM.js} +3 -3
  267. package/lib/{Card-BlCYNw5W.js.map → Card-DPhGbYUM.js.map} +1 -1
  268. package/lib/{CategoryHeading-DZi-Szor.js → CategoryHeading-Cu2RwgjC.js} +2 -2
  269. package/lib/{CategoryHeading-DZi-Szor.js.map → CategoryHeading-Cu2RwgjC.js.map} +1 -1
  270. package/lib/{Dialog-CNf2oWXG.js → Dialog-Du6WMcIA.js} +8 -7
  271. package/lib/Dialog-Du6WMcIA.js.map +1 -0
  272. package/lib/{Drawer-BPBxzel2.js → Drawer-BzkOKwgC.js} +2 -2
  273. package/lib/{Drawer-BPBxzel2.js.map → Drawer-BzkOKwgC.js.map} +1 -1
  274. package/lib/Markdown-BRAyzyUJ.js +15348 -0
  275. package/lib/Markdown-BRAyzyUJ.js.map +1 -0
  276. package/lib/{MdxPage-tTTaDsLc.js → MdxPage-B3v1BSKr.js} +11 -11
  277. package/lib/MdxPage-B3v1BSKr.js.map +1 -0
  278. package/lib/{OasProvider-DalHQixM.js → OasProvider-5jrFuhVk.js} +3 -3
  279. package/lib/{OasProvider-DalHQixM.js.map → OasProvider-5jrFuhVk.js.map} +1 -1
  280. package/lib/{OperationList-BB09ENaq.js → OperationList-BmoMLQPO.js} +1039 -1005
  281. package/lib/OperationList-BmoMLQPO.js.map +1 -0
  282. package/lib/Pagination-Cr0fWZS3.js +36 -0
  283. package/lib/Pagination-Cr0fWZS3.js.map +1 -0
  284. package/lib/RouteGuard-PrSVLbSr.js +55 -0
  285. package/lib/RouteGuard-PrSVLbSr.js.map +1 -0
  286. package/lib/{SchemaList-BH9bgMRw.js → SchemaList-B4riYLoP.js} +61 -47
  287. package/lib/SchemaList-B4riYLoP.js.map +1 -0
  288. package/lib/{SchemaView-BsB7EFRl.js → SchemaView-CPZ6RgsF.js} +100 -95
  289. package/lib/SchemaView-CPZ6RgsF.js.map +1 -0
  290. package/lib/{AuthenticationPlugin-BTJ37DKg.js → SignUp-CWaiH0tY.js} +23 -50
  291. package/lib/SignUp-CWaiH0tY.js.map +1 -0
  292. package/lib/Slot-Bo6K4tnb.js +160 -0
  293. package/lib/Slot-Bo6K4tnb.js.map +1 -0
  294. package/lib/{SyntaxHighlight-UxOF1xNb.js → SyntaxHighlight-DedRjJNr.js} +233 -212
  295. package/lib/{SyntaxHighlight-UxOF1xNb.js.map → SyntaxHighlight-DedRjJNr.js.map} +1 -1
  296. package/lib/{Toc-Ax54Pw8S.js → Toc-lL3fzNkl.js} +5 -5
  297. package/lib/Toc-lL3fzNkl.js.map +1 -0
  298. package/lib/{circular-CZaZtOBs.js → circular-oB4auIIg.js} +2 -2
  299. package/lib/{circular-CZaZtOBs.js.map → circular-oB4auIIg.js.map} +1 -1
  300. package/lib/clsx-OuTLNxxd.js +17 -0
  301. package/lib/clsx-OuTLNxxd.js.map +1 -0
  302. package/lib/{cn-CwJPJKOE.js → cn-wvCW-ho6.js} +1015 -562
  303. package/lib/cn-wvCW-ho6.js.map +1 -0
  304. package/lib/{createServer-DmqFeMgf.js → createServer-DCB82j2t.js} +81 -81
  305. package/lib/{createServer-DmqFeMgf.js.map → createServer-DCB82j2t.js.map} +1 -1
  306. package/lib/{hook-BwOB_iZo.js → hook-DawSLaZr.js} +323 -300
  307. package/lib/hook-DawSLaZr.js.map +1 -0
  308. package/lib/{index-sS7O9W-R.js → index-BXYvD5-7.js} +868 -758
  309. package/lib/index-BXYvD5-7.js.map +1 -0
  310. package/lib/{index-Z13x6tPX.js → index-DI5SPFK9.js} +2 -2
  311. package/lib/{index-Z13x6tPX.js.map → index-DI5SPFK9.js.map} +1 -1
  312. package/lib/index-QzXzw_ra.js +24 -0
  313. package/lib/index-QzXzw_ra.js.map +1 -0
  314. package/lib/{RouteGuard-lkdEJoDV.js → index.esm-BFcSKCe-.js} +232 -281
  315. package/lib/index.esm-BFcSKCe-.js.map +1 -0
  316. package/lib/{index.esm-D2ZUREQN.js → index.esm-DSfX_eMP.js} +3 -3
  317. package/lib/{index.esm-D2ZUREQN.js.map → index.esm-DSfX_eMP.js.map} +1 -1
  318. package/lib/joinPath-B7kNnUX4.js +8 -0
  319. package/lib/joinPath-B7kNnUX4.js.map +1 -0
  320. package/lib/{mutation-CL2MCRQL.js → mutation-oxMvODNQ.js} +2 -2
  321. package/lib/{mutation-CL2MCRQL.js.map → mutation-oxMvODNQ.js.map} +1 -1
  322. package/lib/ui/Accordion.js +1 -1
  323. package/lib/ui/ActionButton.js +2 -2
  324. package/lib/ui/Alert.js +2 -2
  325. package/lib/ui/AlertDialog.js +1 -1
  326. package/lib/ui/Badge.js +3 -3
  327. package/lib/ui/Badge.js.map +1 -1
  328. package/lib/ui/Breadcrumb.js +1 -1
  329. package/lib/ui/Button.js +20 -18
  330. package/lib/ui/Button.js.map +1 -1
  331. package/lib/ui/Callout.js +6 -5
  332. package/lib/ui/Callout.js.map +1 -1
  333. package/lib/ui/Card.js +8 -8
  334. package/lib/ui/Card.js.map +1 -1
  335. package/lib/ui/Carousel.js +1 -1
  336. package/lib/ui/Checkbox.js +7 -7
  337. package/lib/ui/Checkbox.js.map +1 -1
  338. package/lib/ui/CodeBlock.js +1 -1
  339. package/lib/ui/Command.js +43 -43
  340. package/lib/ui/Command.js.map +1 -1
  341. package/lib/ui/Dialog.js +2 -2
  342. package/lib/ui/Dialog.js.map +1 -1
  343. package/lib/ui/Drawer.js +2 -2
  344. package/lib/ui/DropdownMenu.js +34 -34
  345. package/lib/ui/DropdownMenu.js.map +1 -1
  346. package/lib/ui/Form.js +2 -2
  347. package/lib/ui/HoverCard.js +5 -5
  348. package/lib/ui/HoverCard.js.map +1 -1
  349. package/lib/ui/Input.js +2 -2
  350. package/lib/ui/Input.js.map +1 -1
  351. package/lib/ui/Label.js +2 -2
  352. package/lib/ui/Pagination.js +1 -1
  353. package/lib/ui/Popover.js +2 -2
  354. package/lib/ui/Popover.js.map +1 -1
  355. package/lib/ui/Progress.js +1 -1
  356. package/lib/ui/RadioGroup.js +10 -10
  357. package/lib/ui/RadioGroup.js.map +1 -1
  358. package/lib/ui/ScrollArea.js +1 -1
  359. package/lib/ui/Select.js +31 -31
  360. package/lib/ui/Select.js.map +1 -1
  361. package/lib/ui/Skeleton.js +1 -1
  362. package/lib/ui/Slider.js +5 -5
  363. package/lib/ui/Slider.js.map +1 -1
  364. package/lib/ui/Switch.js +5 -5
  365. package/lib/ui/Switch.js.map +1 -1
  366. package/lib/ui/SyntaxHighlight.js +2 -2
  367. package/lib/ui/Tabs.js +16 -16
  368. package/lib/ui/Tabs.js.map +1 -1
  369. package/lib/ui/Textarea.js +5 -5
  370. package/lib/ui/Textarea.js.map +1 -1
  371. package/lib/ui/Toggle.js +7 -7
  372. package/lib/ui/Toggle.js.map +1 -1
  373. package/lib/ui/ToggleGroup.js +1 -1
  374. package/lib/ui/Tooltip.js +15 -8
  375. package/lib/ui/Tooltip.js.map +1 -1
  376. package/lib/ui/util.js +1 -1
  377. package/lib/useExposedProps-DG8J6ewJ.js.map +1 -1
  378. package/lib/useMutation-C_j3dA_L.js +97 -0
  379. package/lib/useMutation-C_j3dA_L.js.map +1 -0
  380. package/lib/zudoku.auth-auth0.js +1 -1
  381. package/lib/zudoku.auth-auth0.js.map +1 -1
  382. package/lib/zudoku.auth-clerk.js +99 -82
  383. package/lib/zudoku.auth-clerk.js.map +1 -1
  384. package/lib/zudoku.auth-openid.js +246 -216
  385. package/lib/zudoku.auth-openid.js.map +1 -1
  386. package/lib/zudoku.components.js +4957 -33
  387. package/lib/zudoku.components.js.map +1 -1
  388. package/lib/zudoku.hooks.js +21 -12
  389. package/lib/zudoku.hooks.js.map +1 -1
  390. package/lib/zudoku.plugin-api-catalog.js +8 -8
  391. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  392. package/lib/zudoku.plugin-api-keys.js +5022 -214
  393. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  394. package/lib/zudoku.plugin-custom-pages.js +2 -2
  395. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  396. package/lib/zudoku.plugin-markdown.js +1 -1
  397. package/lib/zudoku.plugin-markdown.js.map +1 -1
  398. package/lib/zudoku.plugin-openapi.js +3 -3
  399. package/lib/zudoku.plugin-redirect.js.map +1 -1
  400. package/lib/zudoku.plugin-search-pagefind.js +5 -5
  401. package/lib/zudoku.plugins.js +7 -6
  402. package/lib/zudoku.plugins.js.map +1 -1
  403. package/package.json +15 -15
  404. package/src/app/defaultTheme.css +54 -0
  405. package/src/app/font.geist.css +73 -0
  406. package/src/app/main.css +113 -156
  407. package/src/app/main.tsx +4 -28
  408. package/src/lib/authentication/AuthenticationPlugin.tsx +18 -4
  409. package/src/lib/authentication/authentication.ts +2 -5
  410. package/src/lib/authentication/providers/auth0.tsx +8 -2
  411. package/src/lib/authentication/providers/clerk.tsx +72 -48
  412. package/src/lib/authentication/providers/openid.tsx +19 -26
  413. package/src/lib/authentication/providers/supabase.tsx +7 -7
  414. package/src/lib/components/Autocomplete.tsx +1 -1
  415. package/src/lib/components/Banner.tsx +1 -1
  416. package/src/lib/components/ErrorPage.tsx +1 -1
  417. package/src/lib/components/Footer.tsx +4 -4
  418. package/src/lib/components/Header.tsx +29 -29
  419. package/src/lib/components/Heading.tsx +9 -5
  420. package/src/lib/components/InlineCode.tsx +1 -1
  421. package/src/lib/components/Layout.tsx +3 -3
  422. package/src/lib/components/Main.tsx +4 -4
  423. package/src/lib/components/Markdown.tsx +14 -4
  424. package/src/lib/components/MobileTopNavigation.tsx +3 -2
  425. package/src/lib/components/NotFoundPage.tsx +1 -1
  426. package/src/lib/components/Pagination.tsx +3 -9
  427. package/src/lib/components/Search.tsx +1 -1
  428. package/src/lib/components/Slot.test.tsx +465 -0
  429. package/src/lib/components/Slot.tsx +64 -0
  430. package/src/lib/components/TopNavigation.tsx +5 -17
  431. package/src/lib/components/Zudoku.tsx +9 -9
  432. package/src/lib/components/context/SlotProvider.tsx +149 -0
  433. package/src/lib/components/context/ZudokuProvider.tsx +2 -1
  434. package/src/lib/components/index.ts +14 -10
  435. package/src/lib/components/navigation/PoweredByZudoku.tsx +1 -1
  436. package/src/lib/components/navigation/Sidebar.tsx +3 -3
  437. package/src/lib/components/navigation/SidebarBadge.tsx +1 -1
  438. package/src/lib/components/navigation/SidebarCategory.tsx +3 -3
  439. package/src/lib/components/navigation/SidebarItem.tsx +57 -30
  440. package/src/lib/components/navigation/SidebarWrapper.tsx +2 -2
  441. package/src/lib/components/navigation/Toc.tsx +2 -2
  442. package/src/lib/components/navigation/utils.ts +42 -6
  443. package/src/lib/core/ZudokuContext.ts +24 -12
  444. package/src/lib/core/plugins.ts +10 -2
  445. package/src/lib/errors/ErrorAlert.tsx +1 -1
  446. package/src/lib/hooks/index.ts +11 -0
  447. package/src/lib/plugins/api-catalog/Catalog.tsx +1 -1
  448. package/src/lib/plugins/api-keys/CreateApiKey.tsx +54 -42
  449. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +292 -112
  450. package/src/lib/plugins/api-keys/index.tsx +101 -55
  451. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  452. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  453. package/src/lib/plugins/markdown/index.tsx +2 -2
  454. package/src/lib/plugins/markdown/resolver.ts +4 -2
  455. package/src/lib/plugins/openapi/CollapsibleCode.tsx +1 -1
  456. package/src/lib/plugins/openapi/ColorizedParam.tsx +2 -2
  457. package/src/lib/plugins/openapi/OperationList.tsx +2 -2
  458. package/src/lib/plugins/openapi/OperationListItem.tsx +6 -34
  459. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -1
  460. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -16
  461. package/src/lib/plugins/openapi/SchemaList.tsx +20 -8
  462. package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
  463. package/src/lib/plugins/openapi/SidecarExamples.tsx +6 -0
  464. package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
  465. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  466. package/src/lib/plugins/openapi/playground/Playground.tsx +7 -1
  467. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
  468. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +24 -29
  469. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +2 -2
  470. package/src/lib/plugins/openapi/schema/SchemaView.tsx +7 -3
  471. package/src/lib/plugins/redirect/index.tsx +1 -1
  472. package/src/lib/ui/Badge.tsx +2 -2
  473. package/src/lib/ui/Button.tsx +9 -6
  474. package/src/lib/ui/Callout.tsx +1 -0
  475. package/src/lib/ui/Card.tsx +1 -1
  476. package/src/lib/ui/Checkbox.tsx +1 -1
  477. package/src/lib/ui/Command.tsx +5 -5
  478. package/src/lib/ui/Dialog.tsx +1 -1
  479. package/src/lib/ui/DropdownMenu.tsx +4 -4
  480. package/src/lib/ui/HoverCard.tsx +1 -1
  481. package/src/lib/ui/Input.tsx +1 -1
  482. package/src/lib/ui/Popover.tsx +1 -1
  483. package/src/lib/ui/RadioGroup.tsx +1 -1
  484. package/src/lib/ui/Select.tsx +3 -3
  485. package/src/lib/ui/Slider.tsx +1 -1
  486. package/src/lib/ui/Switch.tsx +1 -1
  487. package/src/lib/ui/Tabs.tsx +2 -2
  488. package/src/lib/ui/Textarea.tsx +1 -1
  489. package/src/lib/ui/Toggle.tsx +1 -1
  490. package/src/lib/ui/Tooltip.tsx +16 -1
  491. package/src/lib/util/useExposedProps.tsx +12 -1
  492. package/dist/app/tailwind.d.ts +0 -4
  493. package/dist/app/tailwind.js +0 -97
  494. package/dist/app/tailwind.js.map +0 -1
  495. package/dist/config/common.d.ts +0 -10
  496. package/dist/config/common.js +0 -2
  497. package/dist/config/common.js.map +0 -1
  498. package/dist/config/validators/common.d.ts +0 -8001
  499. package/dist/config/validators/common.js +0 -414
  500. package/dist/config/validators/common.js.map +0 -1
  501. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  502. package/dist/lib/components/SlotletProvider.js +0 -18
  503. package/dist/lib/components/SlotletProvider.js.map +0 -1
  504. package/dist/vite/plugin-docs.test.js +0 -22
  505. package/dist/vite/plugin-docs.test.js.map +0 -1
  506. package/lib/AuthenticationPlugin-BTJ37DKg.js.map +0 -1
  507. package/lib/Button-Bdk_Ij3U.js +0 -49
  508. package/lib/Button-Bdk_Ij3U.js.map +0 -1
  509. package/lib/Callout-XadUe37J.js.map +0 -1
  510. package/lib/Dialog-CNf2oWXG.js.map +0 -1
  511. package/lib/Markdown-D96AphCL.js +0 -7691
  512. package/lib/Markdown-D96AphCL.js.map +0 -1
  513. package/lib/MdxPage-tTTaDsLc.js.map +0 -1
  514. package/lib/OperationList-BB09ENaq.js.map +0 -1
  515. package/lib/Pagination-CtmnJOJi.js +0 -48
  516. package/lib/Pagination-CtmnJOJi.js.map +0 -1
  517. package/lib/RouteGuard-lkdEJoDV.js.map +0 -1
  518. package/lib/SchemaList-BH9bgMRw.js.map +0 -1
  519. package/lib/SchemaView-BsB7EFRl.js.map +0 -1
  520. package/lib/Select-HTio1oSE.js +0 -211
  521. package/lib/Select-HTio1oSE.js.map +0 -1
  522. package/lib/SlotletProvider-CTgIBRWg.js +0 -257
  523. package/lib/SlotletProvider-CTgIBRWg.js.map +0 -1
  524. package/lib/Toc-Ax54Pw8S.js.map +0 -1
  525. package/lib/cn-CwJPJKOE.js.map +0 -1
  526. package/lib/hook-BwOB_iZo.js.map +0 -1
  527. package/lib/index-BnT4-Efz.js +0 -4975
  528. package/lib/index-BnT4-Efz.js.map +0 -1
  529. package/lib/index-sS7O9W-R.js.map +0 -1
  530. package/src/app/tailwind.ts +0 -103
  531. package/src/lib/components/SlotletProvider.tsx +0 -55
  532. /package/dist/{vite/plugin-docs.test.d.ts → lib/components/Slot.test.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import { i as To, S as Eo, L as wo, T as O, s as Be, j as fe, k as So, l as Oo, n as b, o as R, p as $e, q as Gr, r as Je, t as Ae, v as Io } from "./index-sS7O9W-R.js";
2
- import { K as p, i as Fe, a as $, b as ie, c as re, d as Q, G as Pe, p as Y, e as L, f as _o, t as Qr, g as No, h as Ro, j as pe, k as je, l as bt, m as ce, n as ne, o as Gt, q as Hr, r as vt, s as Te, u as Se, v as Wt, w as ko, x as fn, y as Kr, z as Me, A as Wr, B as qi, D as et, E as xn, F as Et, H as Qt, I as Ao, J as zr, L as Fo, M as Co, N as ut, O as xt, P as dn, Q as xo, C as Do, R as Lo, S as Po, T as $o } from "./circular-CZaZtOBs.js";
1
+ import { n as To, o as Eo, L as wo, T as O, s as Be, p as fe, q as So, r as Oo, t as b, v as R, w as $e, x as Gr, y as Je, z as Ae, A as Io } from "./index-BXYvD5-7.js";
2
+ import { K as p, i as Fe, a as $, b as ie, c as re, d as Q, G as Pe, p as Y, e as L, f as _o, t as Qr, g as No, h as Ro, j as pe, k as je, l as bt, m as ce, n as ne, o as Gt, q as Hr, r as vt, s as Te, u as Se, v as zt, w as ko, x as fn, y as Kr, z as Me, A as zr, B as qi, D as et, E as xn, F as Et, H as Qt, I as Ao, J as Wr, L as Fo, M as Co, N as ut, O as xt, P as dn, Q as xo, C as Do, R as Lo, S as Po, T as $o } from "./circular-oB4auIIg.js";
3
3
  import { a as jo } from "./index-BvvmIczU.js";
4
4
  import { traverse as De } from "./processors/traverse.js";
5
5
  import { g as Mo } from "./invariant-DAFpPywt.js";
@@ -1159,11 +1159,11 @@ function mt(t, e, n) {
1159
1159
  function Bi(t, e, n) {
1160
1160
  return e === n ? !0 : Fe(e) ? Fe(n) ? t.getPossibleTypes(e).some((i) => t.isSubType(n, i)) : t.isSubType(e, n) : Fe(n) ? t.isSubType(n, e) : !1;
1161
1161
  }
1162
- const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1162
+ const Kn = 2147483647, zn = -2147483648, Dn = new Pe({
1163
1163
  name: "Int",
1164
1164
  description: "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
1165
1165
  serialize(t) {
1166
- const e = zt(t);
1166
+ const e = Wt(t);
1167
1167
  if (typeof e == "boolean")
1168
1168
  return e ? 1 : 0;
1169
1169
  let n = e;
@@ -1171,7 +1171,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1171
1171
  throw new b(
1172
1172
  `Int cannot represent non-integer value: ${R(e)}`
1173
1173
  );
1174
- if (n > Kn || n < Wn)
1174
+ if (n > Kn || n < zn)
1175
1175
  throw new b(
1176
1176
  "Int cannot represent non 32-bit signed integer value: " + R(e)
1177
1177
  );
@@ -1182,7 +1182,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1182
1182
  throw new b(
1183
1183
  `Int cannot represent non-integer value: ${R(t)}`
1184
1184
  );
1185
- if (t > Kn || t < Wn)
1185
+ if (t > Kn || t < zn)
1186
1186
  throw new b(
1187
1187
  `Int cannot represent non 32-bit signed integer value: ${t}`
1188
1188
  );
@@ -1197,7 +1197,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1197
1197
  }
1198
1198
  );
1199
1199
  const e = parseInt(t.value, 10);
1200
- if (e > Kn || e < Wn)
1200
+ if (e > Kn || e < zn)
1201
1201
  throw new b(
1202
1202
  `Int cannot represent non 32-bit signed integer value: ${t.value}`,
1203
1203
  {
@@ -1210,7 +1210,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1210
1210
  name: "Float",
1211
1211
  description: "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",
1212
1212
  serialize(t) {
1213
- const e = zt(t);
1213
+ const e = Wt(t);
1214
1214
  if (typeof e == "boolean")
1215
1215
  return e ? 1 : 0;
1216
1216
  let n = e;
@@ -1239,7 +1239,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1239
1239
  name: "String",
1240
1240
  description: "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
1241
1241
  serialize(t) {
1242
- const e = zt(t);
1242
+ const e = Wt(t);
1243
1243
  if (typeof e == "string")
1244
1244
  return e;
1245
1245
  if (typeof e == "boolean")
@@ -1271,7 +1271,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1271
1271
  name: "Boolean",
1272
1272
  description: "The `Boolean` scalar type represents `true` or `false`.",
1273
1273
  serialize(t) {
1274
- const e = zt(t);
1274
+ const e = Wt(t);
1275
1275
  if (typeof e == "boolean")
1276
1276
  return e;
1277
1277
  if (Number.isFinite(e))
@@ -1301,7 +1301,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1301
1301
  name: "ID",
1302
1302
  description: 'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',
1303
1303
  serialize(t) {
1304
- const e = zt(t);
1304
+ const e = Wt(t);
1305
1305
  if (typeof e == "string")
1306
1306
  return e;
1307
1307
  if (Number.isInteger(e))
@@ -1334,7 +1334,7 @@ const Kn = 2147483647, Wn = -2147483648, Dn = new Pe({
1334
1334
  X,
1335
1335
  Ln
1336
1336
  ]);
1337
- function zt(t) {
1337
+ function Wt(t) {
1338
1338
  if ($e(t)) {
1339
1339
  if (typeof t.valueOf == "function") {
1340
1340
  const e = t.valueOf();
@@ -1987,7 +1987,7 @@ function as(t) {
1987
1987
  function ls(t) {
1988
1988
  return Gr(t, Oi);
1989
1989
  }
1990
- function Wo(t) {
1990
+ function zo(t) {
1991
1991
  if (!ls(t))
1992
1992
  throw new Error(`Expected ${R(t)} to be a GraphQL schema.`);
1993
1993
  return t;
@@ -2141,8 +2141,8 @@ function ve(t, e) {
2141
2141
  }
2142
2142
  return e;
2143
2143
  }
2144
- function zo(t) {
2145
- if (Wo(t), t.__validationErrors)
2144
+ function Wo(t) {
2145
+ if (zo(t), t.__validationErrors)
2146
2146
  return t.__validationErrors;
2147
2147
  const e = new Jo(t);
2148
2148
  Yo(e), Xo(e), Zo(e);
@@ -2150,7 +2150,7 @@ function zo(t) {
2150
2150
  return t.__validationErrors = n, n;
2151
2151
  }
2152
2152
  function us(t) {
2153
- const e = zo(t);
2153
+ const e = Wo(t);
2154
2154
  if (e.length !== 0)
2155
2155
  throw new Error(e.map((n) => n.message).join(`
2156
2156
 
@@ -2182,7 +2182,7 @@ function Yo(t) {
2182
2182
  `Query root type must be Object type, it cannot be ${R(
2183
2183
  n
2184
2184
  )}.`,
2185
- (i = zn(
2185
+ (i = Wn(
2186
2186
  e,
2187
2187
  fe.QUERY
2188
2188
  )) !== null && i !== void 0 ? i : n.astNode
@@ -2193,7 +2193,7 @@ function Yo(t) {
2193
2193
  var s;
2194
2194
  t.reportError(
2195
2195
  `Mutation root type must be Object type if provided, it cannot be ${R(r)}.`,
2196
- (s = zn(
2196
+ (s = Wn(
2197
2197
  e,
2198
2198
  fe.MUTATION
2199
2199
  )) !== null && s !== void 0 ? s : r.astNode
@@ -2204,14 +2204,14 @@ function Yo(t) {
2204
2204
  var a;
2205
2205
  t.reportError(
2206
2206
  `Subscription root type must be Object type if provided, it cannot be ${R(o)}.`,
2207
- (a = zn(
2207
+ (a = Wn(
2208
2208
  e,
2209
2209
  fe.SUBSCRIPTION
2210
2210
  )) !== null && a !== void 0 ? a : o.astNode
2211
2211
  );
2212
2212
  }
2213
2213
  }
2214
- function zn(t, e) {
2214
+ function Wn(t, e) {
2215
2215
  var n;
2216
2216
  return (n = [t.astNode, ...t.extensionASTNodes].flatMap(
2217
2217
  // FIXME: https://github.com/graphql/graphql-js/issues/2203
@@ -2241,7 +2241,7 @@ function Xo(t) {
2241
2241
  if (tt(t, i), Se(i.type) || t.reportError(
2242
2242
  `The type of @${n.name}(${i.name}:) must be Input Type but got: ${R(i.type)}.`,
2243
2243
  i.astNode
2244
- ), Wt(i) && i.deprecationReason != null) {
2244
+ ), zt(i) && i.deprecationReason != null) {
2245
2245
  var e;
2246
2246
  t.reportError(
2247
2247
  `Required argument @${n.name}(${i.name}:) cannot be deprecated.`,
@@ -2295,7 +2295,7 @@ function Qi(t, e) {
2295
2295
  (r = a.astNode) === null || r === void 0 ? void 0 : r.type
2296
2296
  );
2297
2297
  }
2298
- if (Wt(a) && a.deprecationReason != null) {
2298
+ if (zt(a) && a.deprecationReason != null) {
2299
2299
  var s;
2300
2300
  t.reportError(
2301
2301
  `Required argument ${e.name}.${o.name}(${l}:) cannot be deprecated.`,
@@ -2378,7 +2378,7 @@ function ea(t, e, n) {
2378
2378
  }
2379
2379
  for (const f of c.args) {
2380
2380
  const d = f.name;
2381
- !l.args.find((m) => m.name === d) && Wt(f) && t.reportError(
2381
+ !l.args.find((m) => m.name === d) && zt(f) && t.reportError(
2382
2382
  `Object field ${e.name}.${u} includes required argument ${d} that is missing from the Interface field ${n.name}.${u}.`,
2383
2383
  [f.astNode, l.astNode]
2384
2384
  );
@@ -2618,7 +2618,7 @@ class cs {
2618
2618
  break;
2619
2619
  }
2620
2620
  case p.LIST: {
2621
- const r = Wr(this.getInputType()), s = ie(r) ? r.ofType : r;
2621
+ const r = zr(this.getInputType()), s = ie(r) ? r.ofType : r;
2622
2622
  this._defaultValueStack.push(void 0), this._inputTypeStack.push(Se(s) ? s : void 0);
2623
2623
  break;
2624
2624
  }
@@ -2982,11 +2982,11 @@ function wa(t) {
2982
2982
  if (!n[c] && !i[c]) {
2983
2983
  var f;
2984
2984
  const d = (f = u[2]) !== null && f !== void 0 ? f : a, h = d != null && Sa(d);
2985
- if (h && Wi.includes(c))
2985
+ if (h && zi.includes(c))
2986
2986
  return;
2987
2987
  const m = Et(
2988
2988
  c,
2989
- h ? Wi.concat(r) : r
2989
+ h ? zi.concat(r) : r
2990
2990
  );
2991
2991
  t.reportError(
2992
2992
  new b(
@@ -3000,7 +3000,7 @@ function wa(t) {
3000
3000
  }
3001
3001
  };
3002
3002
  }
3003
- const Wi = [...Go, ...os].map(
3003
+ const zi = [...Go, ...os].map(
3004
3004
  (t) => t.name
3005
3005
  );
3006
3006
  function Sa(t) {
@@ -3529,10 +3529,10 @@ function Pa(t, e) {
3529
3529
  const r = new Map(i.map(({ name: s, value: o }) => [s.value, o]));
3530
3530
  return n.every((s) => {
3531
3531
  const o = s.value, a = r.get(s.name.value);
3532
- return a === void 0 ? !1 : zi(o) === zi(a);
3532
+ return a === void 0 ? !1 : Wi(o) === Wi(a);
3533
3533
  });
3534
3534
  }
3535
- function zi(t) {
3535
+ function Wi(t) {
3536
3536
  return Y(Ni(t));
3537
3537
  }
3538
3538
  function ci(t, e) {
@@ -3682,7 +3682,7 @@ function Va(t) {
3682
3682
  (n = e.arguments) === null || n === void 0 ? void 0 : n.map((s) => s.name.value)
3683
3683
  );
3684
3684
  for (const s of i.args)
3685
- if (!r.has(s.name) && Wt(s)) {
3685
+ if (!r.has(s.name) && zt(s)) {
3686
3686
  const o = R(s.type);
3687
3687
  t.reportError(
3688
3688
  new b(
@@ -3702,7 +3702,7 @@ function qa(t) {
3702
3702
  const n = /* @__PURE__ */ Object.create(null), i = t.getSchema(), r = (e = i?.getDirectives()) !== null && e !== void 0 ? e : Jt;
3703
3703
  for (const a of r)
3704
3704
  n[a.name] = Qt(
3705
- a.args.filter(Wt),
3705
+ a.args.filter(zt),
3706
3706
  (l) => l.name
3707
3707
  );
3708
3708
  const s = t.getDocument().definitions;
@@ -3995,7 +3995,7 @@ function Ye(t, e, n) {
3995
3995
  function Yi(t, e) {
3996
3996
  return t.kind === p.VARIABLE && (e == null || e[t.name.value] === void 0);
3997
3997
  }
3998
- function Wa(t, e, n) {
3998
+ function za(t, e, n) {
3999
3999
  var i;
4000
4000
  const r = {}, s = (i = e.arguments) !== null && i !== void 0 ? i : [], o = Qt(s, (a) => a.name.value);
4001
4001
  for (const a of t.args) {
@@ -4016,7 +4016,7 @@ function Wa(t, e, n) {
4016
4016
  let d = f.kind === p.NULL;
4017
4017
  if (f.kind === p.VARIABLE) {
4018
4018
  const m = f.name.value;
4019
- if (n == null || !za(n, m)) {
4019
+ if (n == null || !Wa(n, m)) {
4020
4020
  if (a.defaultValue !== void 0)
4021
4021
  r[l] = a.defaultValue;
4022
4022
  else if ($(u))
@@ -4055,9 +4055,9 @@ function Tt(t, e, n) {
4055
4055
  (s) => s.name.value === t.name
4056
4056
  );
4057
4057
  if (r)
4058
- return Wa(t, r, n);
4058
+ return za(t, r, n);
4059
4059
  }
4060
- function za(t, e) {
4060
+ function Wa(t, e) {
4061
4061
  return Object.prototype.hasOwnProperty.call(t, e);
4062
4062
  }
4063
4063
  function Ja(t, e, n, i, r) {
@@ -4338,7 +4338,7 @@ function sl(t) {
4338
4338
  e[n.variable.name.value] = n;
4339
4339
  },
4340
4340
  ListValue(n) {
4341
- const i = Wr(t.getParentInputType());
4341
+ const i = zr(t.getParentInputType());
4342
4342
  if (!ie(i))
4343
4343
  return Ge(t, n), !1;
4344
4344
  },
@@ -4650,7 +4650,7 @@ class dl extends fl {
4650
4650
  let n = this._variableUsages.get(e);
4651
4651
  if (!n) {
4652
4652
  const i = [], r = new cs(this._schema);
4653
- zr(
4653
+ Wr(
4654
4654
  e,
4655
4655
  fs(r, {
4656
4656
  VariableDefinition: () => !1,
@@ -4720,7 +4720,7 @@ function pl(t, e, n = bs, i, r = new cs(t)) {
4720
4720
  }
4721
4721
  ), c = Fo(n.map((f) => f(u)));
4722
4722
  try {
4723
- zr(e, fs(r, c));
4723
+ Wr(e, fs(r, c));
4724
4724
  } catch (f) {
4725
4725
  if (f !== a)
4726
4726
  throw f;
@@ -5286,8 +5286,8 @@ function kl({ plugins: t }) {
5286
5286
  for (const te of c.validate) {
5287
5287
  const K = te({
5288
5288
  context: P,
5289
- extendContext: (W) => {
5290
- Object.assign(P, W);
5289
+ extendContext: (z) => {
5290
+ Object.assign(P, z);
5291
5291
  },
5292
5292
  params: {
5293
5293
  schema: N,
@@ -5297,14 +5297,14 @@ function kl({ plugins: t }) {
5297
5297
  options: E
5298
5298
  },
5299
5299
  validateFn: _,
5300
- addValidationRule: (W) => {
5301
- S || (S = []), S.push(W);
5300
+ addValidationRule: (z) => {
5301
+ S || (S = []), S.push(z);
5302
5302
  },
5303
- setValidationFn: (W) => {
5304
- _ = W;
5303
+ setValidationFn: (z) => {
5304
+ _ = z;
5305
5305
  },
5306
- setResult: (W) => {
5307
- k = W;
5306
+ setResult: (z) => {
5307
+ k = z;
5308
5308
  }
5309
5309
  });
5310
5310
  K && U.push(K);
@@ -5850,10 +5850,10 @@ function ot(t, e, n) {
5850
5850
  writable: !0
5851
5851
  }) : t[e] = n, t;
5852
5852
  }
5853
- let Wl = wt, zl = Yt, Jl = Mn;
5853
+ let zl = wt, Wl = Yt, Jl = Mn;
5854
5854
  class ws extends Z {
5855
5855
  constructor(e, n) {
5856
- super("Scalar", e, n), ot(this, "kind", "Scalar"), ot(this, "$inferType", void 0), ot(this, "$inferInput", void 0), ot(this, Wl, void 0), ot(this, zl, void 0), ot(this, Jl, void 0);
5856
+ super("Scalar", e, n), ot(this, "kind", "Scalar"), ot(this, "$inferType", void 0), ot(this, "$inferInput", void 0), ot(this, zl, void 0), ot(this, Wl, void 0), ot(this, Jl, void 0);
5857
5857
  }
5858
5858
  }
5859
5859
  function Yl(t, e, n) {
@@ -7685,13 +7685,13 @@ function Ku(t) {
7685
7685
  function F(t, e) {
7686
7686
  return e?.originalError && !(e.originalError instanceof Error) && Ku(e.originalError) && (e.originalError = F(e.originalError.message, e.originalError)), Jr.major >= 17 ? new b(t, e) : new b(t, e?.nodes, e?.source, e?.positions, e?.path, e?.originalError, e?.extensions);
7687
7687
  }
7688
- function Wu(t) {
7688
+ function zu(t) {
7689
7689
  return t != null && typeof t == "object" && Symbol.iterator in t;
7690
7690
  }
7691
7691
  function Fs(t) {
7692
7692
  return typeof t == "object" && t !== null;
7693
7693
  }
7694
- function zu(t, e, n) {
7694
+ function Wu(t, e, n) {
7695
7695
  let i = n;
7696
7696
  for (const r of t)
7697
7697
  i = C(() => i, (s) => e(s, r));
@@ -8310,7 +8310,7 @@ function gc(t) {
8310
8310
  return c;
8311
8311
  }
8312
8312
  function mc(t, e, n, i, r) {
8313
- return zu(r, (s, [o, a]) => {
8313
+ return Wu(r, (s, [o, a]) => {
8314
8314
  const l = St(i, o, e.name);
8315
8315
  return t.signal?.throwIfAborted(), new he(() => js(t, e, n, a, l)).then((u) => (u === void 0 || (s[o] = u), s));
8316
8316
  }, /* @__PURE__ */ Object.create(null)).resolve();
@@ -8447,7 +8447,7 @@ function vc(t, e, n, i, r, s, o) {
8447
8447
  const m = s[Symbol.asyncIterator]();
8448
8448
  return bc(t, a, n, i, r, m, o);
8449
8449
  }
8450
- if (!Wu(s))
8450
+ if (!zu(s))
8451
8451
  throw F(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);
8452
8452
  const u = Us(t, n, r);
8453
8453
  let c = !1, f = o;
@@ -9065,11 +9065,11 @@ function Gc(t, e) {
9065
9065
  duplex: "half"
9066
9066
  });
9067
9067
  }
9068
- function Ws(t) {
9068
+ function zs(t) {
9069
9069
  return t.read != null;
9070
9070
  }
9071
9071
  function Qc(t) {
9072
- return Ws(t);
9072
+ return zs(t);
9073
9073
  }
9074
9074
  function Rr(t) {
9075
9075
  return t != null && t.setHeader != null && t.end != null && t.once != null && t.write != null;
@@ -9080,13 +9080,13 @@ function Hc(t) {
9080
9080
  function Kc(t) {
9081
9081
  return t != null && t.request != null && t.respondWith != null;
9082
9082
  }
9083
- function Wc(t) {
9083
+ function zc(t) {
9084
9084
  t?.socket?.setTimeout?.(0), t?.socket?.setNoDelay?.(!0), t?.socket?.setKeepAlive?.(!0);
9085
9085
  }
9086
9086
  function ht(t) {
9087
9087
  t.end(null, null, null);
9088
9088
  }
9089
- function zc(t, e) {
9089
+ function Wc(t, e) {
9090
9090
  let n = !1;
9091
9091
  const i = () => {
9092
9092
  n = !0;
@@ -9159,7 +9159,7 @@ function Jc(t, e, n) {
9159
9159
  e.write(s), ht(e);
9160
9160
  return;
9161
9161
  }
9162
- if (Wc(n), Ws(s)) {
9162
+ if (zc(n), zs(s)) {
9163
9163
  e.once("close", () => {
9164
9164
  s.destroy();
9165
9165
  }), s.pipe(e, {
@@ -9170,7 +9170,7 @@ function Jc(t, e, n) {
9170
9170
  if (Hc(s))
9171
9171
  return Yc(n, e, s);
9172
9172
  if (Ks(s))
9173
- return zc(e, s);
9173
+ return Wc(e, s);
9174
9174
  }
9175
9175
  async function Yc(t, e, n) {
9176
9176
  const i = n.getReader();
@@ -9511,14 +9511,14 @@ function uf(t, e) {
9511
9511
  res: g,
9512
9512
  req: y,
9513
9513
  waitUntil: c
9514
- }, k = E.filter((W) => W != null).length > 0 ? jt(S, ...E) : S, P = new AbortController(), U = g.end.bind(g);
9514
+ }, k = E.filter((z) => z != null).length > 0 ? jt(S, ...E) : S, P = new AbortController(), U = g.end.bind(g);
9515
9515
  let M = !1;
9516
- g.end = function(W) {
9517
- return M = !0, U(W);
9516
+ g.end = function(z) {
9517
+ return M = !0, U(z);
9518
9518
  }, g.onAborted.bind(g)(function() {
9519
9519
  P.abort();
9520
- }), g.onAborted = function(W) {
9521
- P.signal.addEventListener("abort", W, { once: !0 });
9520
+ }), g.onAborted = function(z) {
9521
+ P.signal.addEventListener("abort", z, { once: !0 });
9522
9522
  };
9523
9523
  const K = rf({
9524
9524
  req: y,
@@ -9526,9 +9526,9 @@ function uf(t, e) {
9526
9526
  fetchAPI: n,
9527
9527
  controller: P
9528
9528
  });
9529
- return C(() => C(() => f(K, k), (W) => W, (W) => kr(W, n.Response)), (W) => {
9529
+ return C(() => C(() => f(K, k), (z) => z, (z) => kr(z, n.Response)), (z) => {
9530
9530
  if (!P.signal.aborted && !M)
9531
- return C(() => of(g, W, P, n), (en) => en, (en) => {
9531
+ return C(() => of(g, z, P, n), (en) => en, (en) => {
9532
9532
  console.error(`Unexpected error while handling request: ${en.message || en}`);
9533
9533
  });
9534
9534
  });
@@ -9673,10 +9673,10 @@ function pf(t = Xt.Response) {
9673
9673
  return n.details || n.status || n.headers || n.name === "HTTPError" ? new t(typeof n.details == "object" ? JSON.stringify(n.details) : n.message, {
9674
9674
  status: n.status,
9675
9675
  headers: n.headers || {}
9676
- }) : (console.error(n), zs(t));
9676
+ }) : (console.error(n), Ws(t));
9677
9677
  };
9678
9678
  }
9679
- function zs(t) {
9679
+ function Ws(t) {
9680
9680
  return t.error ? t.error() : new t(null, { status: 500 });
9681
9681
  }
9682
9682
  function hf(t) {
@@ -9684,7 +9684,7 @@ function hf(t) {
9684
9684
  onRequest({ requestHandler: e, setRequestHandler: n, fetchAPI: i }) {
9685
9685
  const r = t || pf(i.Response);
9686
9686
  n(function(o, a) {
9687
- return C(() => e(o, a), (l) => l, (l) => r(l, o, a) || zs(i.Response));
9687
+ return C(() => e(o, a), (l) => l, (l) => r(l, o, a) || Ws(i.Response));
9688
9688
  });
9689
9689
  }
9690
9690
  };
@@ -11091,7 +11091,7 @@ function Kf(t) {
11091
11091
  }
11092
11092
  return n.reverse();
11093
11093
  }
11094
- function Wf(t, e) {
11094
+ function zf(t, e) {
11095
11095
  const [n, i] = t.split("/"), [r, s] = e.split("/");
11096
11096
  return (r === "*" || r === n) && (s === "*" || s === i);
11097
11097
  }
@@ -11129,7 +11129,7 @@ function to(t) {
11129
11129
  }
11130
11130
  return t;
11131
11131
  }
11132
- function zf(t, e) {
11132
+ function Wf(t, e) {
11133
11133
  const i = Pi(t, {
11134
11134
  Connection: "keep-alive",
11135
11135
  "Content-Type": 'multipart/mixed; boundary="-"',
@@ -11256,7 +11256,7 @@ function Yf() {
11256
11256
  const Xf = {
11257
11257
  mediaTypes: ["multipart/mixed"],
11258
11258
  asyncIterables: !0,
11259
- processResult: zf
11259
+ processResult: Wf
11260
11260
  };
11261
11261
  function Zf() {
11262
11262
  return {
@@ -11282,7 +11282,7 @@ function ed() {
11282
11282
  for (const h of c)
11283
11283
  if (!(f && !d.asyncIterables))
11284
11284
  for (const m of d.mediaTypes)
11285
- o.push(m), Wf(m, h) && a(d.processResult, m);
11285
+ o.push(m), zf(m, h) && a(d.processResult, m);
11286
11286
  }
11287
11287
  };
11288
11288
  }
@@ -11828,7 +11828,7 @@ const uo = (t) => {
11828
11828
  u === void 0 ? e.mergeError(s) : n[r] = u;
11829
11829
  }
11830
11830
  return Object.keys(n).length ? n : void 0;
11831
- }, we = (t) => t[t.length - 1], We = (t) => t.reduce((e, n) => e || n, !1), Ft = (t) => Math.min(...t), Ct = (t) => Math.max(...t), Od = (t) => t.length > 1 ? t.reduce((e, n) => `${e}(?=${n})`, "") : t[0], co = ([t, ...e]) => e.reduce((n, i) => n.filter((r) => i.includes(r)), t), Id = ([t, ...e]) => e.find((n) => !md(n, t)) ? void 0 : t, ge = ([t, ...e]) => e.reduce((n, i) => ro(n, i), t), Vt = (t) => uo(t).map((e) => ({ allOf: e })), _d = (t) => ({ anyOf: t }), Nd = (t) => bd(t), Rd = (t, e) => {
11831
+ }, we = (t) => t[t.length - 1], ze = (t) => t.reduce((e, n) => e || n, !1), Ft = (t) => Math.min(...t), Ct = (t) => Math.max(...t), Od = (t) => t.length > 1 ? t.reduce((e, n) => `${e}(?=${n})`, "") : t[0], co = ([t, ...e]) => e.reduce((n, i) => n.filter((r) => i.includes(r)), t), Id = ([t, ...e]) => e.find((n) => !md(n, t)) ? void 0 : t, ge = ([t, ...e]) => e.reduce((n, i) => ro(n, i), t), Vt = (t) => uo(t).map((e) => ({ allOf: e })), _d = (t) => ({ anyOf: t }), Nd = (t) => bd(t), Rd = (t, e) => {
11832
11832
  const n = t.map((r) => r.map((s) => JSON.stringify(s))), i = co(n).map((r) => JSON.parse(r)).sort();
11833
11833
  return i.length || e.mergeError(t), i;
11834
11834
  }, kd = (t, e) => {
@@ -11865,7 +11865,7 @@ const uo = (t) => {
11865
11865
  const n = [], i = [];
11866
11866
  for (const r of e.allOfItems) "items" in r && !Array.isArray(r.items) && i.push(r.items), "additionalItems" in r && "items" in r && Array.isArray(r.items) && n.push(r.additionalItems);
11867
11867
  return i.length && n.forEach((r) => r.allOf = i), Zt(n, e);
11868
- }, z = (t = "draft-06", e = {}) => Object.assign(Object.assign(Object.assign(Object.assign({ "/maximum": { $: Ft }, "/exclusiveMaximum": { $: We }, "/minimum": { $: Ct }, "/exclusiveMinimum": { $: We }, "/maxLength": { $: Ft }, "/minLength": { $: Ct }, "/maxItems": { $: Ft }, "/minItems": { $: Ct }, "/uniqueItems": { $: We }, "/maxProperties": { $: Ft }, "/minProperties": { $: Ct }, "/required": { $: fo }, "/multipleOf": { $: Nd }, "/enum": { $: Rd }, "/type": { $: kd }, "/allOf": { "/*": () => z(t, e), $: Vt }, "/not": { $: _d }, "/oneOf": { "/*": () => z(t, e), $: Vt, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/anyOf": { "/*": () => z(t, e), $: Vt, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/properties": { "/*": () => z(t, e), $: $r }, "/items": () => Object.assign(Object.assign({}, z(t, e)), { $: po, "/*": ({ key: n }) => typeof n == "number" ? z(t, e) : {} }), "/additionalProperties": () => Object.assign(Object.assign({}, z(t, e)), { $: Ed }), "/additionalItems": () => Object.assign(Object.assign({}, z(t, e)), { $: Fd }), "/patternProperties": { "/*": () => z(t, e), $: $r }, "/pattern": { $: Od }, "/readOnly": { $: We }, "/writeOnly": { $: We }, "/example": { $: ge }, "/examples": { $: ge }, "/deprecated": { $: We } }, t !== "draft-04" ? { "/propertyNames": () => z(t, e), "/contains": () => z(t, e), "/dependencies": { "/*": () => z(t, e), $: Ad }, "/const": { $: Id }, "/exclusiveMaximum": { $: Ft }, "/exclusiveMinimum": { $: Ct }, "/$defs": { "/*": () => z(t, e), $: ge } } : {}), { "/definitions": { "/*": () => z(t, e), $: ge }, "/xml": { $: ge }, "/externalDocs": { $: we }, "/description": { $: we }, "/title": { $: we }, "/format": { $: we }, "/default": { $: we }, "/?": { $: we } }), e), { $: Zt }), qt = (t) => z(t, { "/discriminator": { $: ge }, "/oneOf": { "/*": () => qt(t), $: Vt, sibling: ["discriminator"] }, "/anyOf": { "/*": () => qt(t), $: Vt, sibling: ["discriminator"] } }), Hn = (t) => t === "3.0.x" ? Object.assign(Object.assign({}, qt("draft-04")), { "/items": ({ key: e }) => Object.assign(Object.assign({}, qt("draft-04")), { $: po }) }) : qt("draft-06"), Xe = (t) => ({ "/*": { "/schema": Hn(t) } }), jr = (t) => ({ "/content": { "/*": { "/schema": Hn(t), "/encoding": { "/headers": Xe(t) } } } }), Mr = (t) => ({ "/*": { "/headers": Xe(t), "/content": { "/*": { "/schema": Hn(t), "/encoding": { "/headers": Xe(t) } } } } }), Cd = (t = "3.0.x") => ({ "/paths": { "/*": { "/*": { "/parameters": Xe(t), "/requestBody": jr(t), "/responses": Mr(t) }, "/parameters": Xe(t) } }, "/components": { "/schemas": { "/*": Hn(t) }, "/responses": Mr(t), "/parameters": Xe(t), "/requestBodies": { "/*": jr(t) }, "/headers": Xe(t) } }), ze = z("draft-06", { "/args": () => ze, "/nullable": { $: We }, "/specifiedByURL": { $: we }, "/values": { $: ge, "/*": { $: ge, "/description": { $: we }, "/deprecated": { $: we, "/reason": { $: we } } } }, "/interfaces": { $: ge, "/*": { $: ge } }, "/directives": { $: ge, "/*": () => Object.assign(Object.assign({}, ze), { "/meta": { $: ge } }) } }), xd = { "/queries": { "/*": () => ze }, "/mutations": { "/*": () => ze }, "/subscriptions": { "/*": () => ze }, "/components": { "/*": { "/*": ze }, "/directives": { "/*": { "/args": () => ze } } } }, Ur = (t, e, n) => {
11868
+ }, W = (t = "draft-06", e = {}) => Object.assign(Object.assign(Object.assign(Object.assign({ "/maximum": { $: Ft }, "/exclusiveMaximum": { $: ze }, "/minimum": { $: Ct }, "/exclusiveMinimum": { $: ze }, "/maxLength": { $: Ft }, "/minLength": { $: Ct }, "/maxItems": { $: Ft }, "/minItems": { $: Ct }, "/uniqueItems": { $: ze }, "/maxProperties": { $: Ft }, "/minProperties": { $: Ct }, "/required": { $: fo }, "/multipleOf": { $: Nd }, "/enum": { $: Rd }, "/type": { $: kd }, "/allOf": { "/*": () => W(t, e), $: Vt }, "/not": { $: _d }, "/oneOf": { "/*": () => W(t, e), $: Vt, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/anyOf": { "/*": () => W(t, e), $: Vt, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/properties": { "/*": () => W(t, e), $: $r }, "/items": () => Object.assign(Object.assign({}, W(t, e)), { $: po, "/*": ({ key: n }) => typeof n == "number" ? W(t, e) : {} }), "/additionalProperties": () => Object.assign(Object.assign({}, W(t, e)), { $: Ed }), "/additionalItems": () => Object.assign(Object.assign({}, W(t, e)), { $: Fd }), "/patternProperties": { "/*": () => W(t, e), $: $r }, "/pattern": { $: Od }, "/readOnly": { $: ze }, "/writeOnly": { $: ze }, "/example": { $: ge }, "/examples": { $: ge }, "/deprecated": { $: ze } }, t !== "draft-04" ? { "/propertyNames": () => W(t, e), "/contains": () => W(t, e), "/dependencies": { "/*": () => W(t, e), $: Ad }, "/const": { $: Id }, "/exclusiveMaximum": { $: Ft }, "/exclusiveMinimum": { $: Ct }, "/$defs": { "/*": () => W(t, e), $: ge } } : {}), { "/definitions": { "/*": () => W(t, e), $: ge }, "/xml": { $: ge }, "/externalDocs": { $: we }, "/description": { $: we }, "/title": { $: we }, "/format": { $: we }, "/default": { $: we }, "/?": { $: we } }), e), { $: Zt }), qt = (t) => W(t, { "/discriminator": { $: ge }, "/oneOf": { "/*": () => qt(t), $: Vt, sibling: ["discriminator"] }, "/anyOf": { "/*": () => qt(t), $: Vt, sibling: ["discriminator"] } }), Hn = (t) => t === "3.0.x" ? Object.assign(Object.assign({}, qt("draft-04")), { "/items": ({ key: e }) => Object.assign(Object.assign({}, qt("draft-04")), { $: po }) }) : qt("draft-06"), Xe = (t) => ({ "/*": { "/schema": Hn(t) } }), jr = (t) => ({ "/content": { "/*": { "/schema": Hn(t), "/encoding": { "/headers": Xe(t) } } } }), Mr = (t) => ({ "/*": { "/headers": Xe(t), "/content": { "/*": { "/schema": Hn(t), "/encoding": { "/headers": Xe(t) } } } } }), Cd = (t = "3.0.x") => ({ "/paths": { "/*": { "/*": { "/parameters": Xe(t), "/requestBody": jr(t), "/responses": Mr(t) }, "/parameters": Xe(t) } }, "/components": { "/schemas": { "/*": Hn(t) }, "/responses": Mr(t), "/parameters": Xe(t), "/requestBodies": { "/*": jr(t) }, "/headers": Xe(t) } }), We = W("draft-06", { "/args": () => We, "/nullable": { $: ze }, "/specifiedByURL": { $: we }, "/values": { $: ge, "/*": { $: ge, "/description": { $: we }, "/deprecated": { $: we, "/reason": { $: we } } } }, "/interfaces": { $: ge, "/*": { $: ge } }, "/directives": { $: ge, "/*": () => Object.assign(Object.assign({}, We), { "/meta": { $: ge } }) } }), xd = { "/queries": { "/*": () => We }, "/mutations": { "/*": () => We }, "/subscriptions": { "/*": () => We }, "/components": { "/*": { "/*": We }, "/directives": { "/*": { "/args": () => We } } } }, Ur = (t, e, n) => {
11869
11869
  const i = n.sibling || [], r = t, s = e, o = r[s], a = Kt(r, [typeof s == "symbol" ? s : s + ""]), l = dd(a, i);
11870
11870
  return Object.keys(a).length ? Object.assign({ [e]: o.map((u) => ({ allOf: [a, u] })) }, l) : t;
11871
11871
  }, ho = (t, e, n, i) => {
@@ -11889,12 +11889,12 @@ const uo = (t) => {
11889
11889
  } else e.push(n);
11890
11890
  return e;
11891
11891
  }, Dd = (t) => {
11892
- if (typeof t != "object" || !t) return z();
11892
+ if (typeof t != "object" || !t) return W();
11893
11893
  if ("openapi" in t && typeof t.openapi == "string" && /3.+/.test(t.openapi)) {
11894
11894
  const e = t.openapi.startsWith("3.1") ? "3.1.x" : "3.0.x";
11895
11895
  return Cd(e);
11896
11896
  }
11897
- return "graphapi" in t && typeof t.graphapi == "string" ? xd : z();
11897
+ return "graphapi" in t && typeof t.graphapi == "string" ? xd : W();
11898
11898
  }, Ld = (t, e) => {
11899
11899
  var n;
11900
11900
  const i = (n = void 0) !== null && n !== void 0 ? n : Dd(t);
@@ -12082,7 +12082,7 @@ const Qd = Object.values(Md.OpenAPIV3.HttpMethods), Hd = async (t) => {
12082
12082
  throw new dt.GraphQLError("OpenAPI version is not defined");
12083
12083
  const n = await qd(e), i = Bd(n);
12084
12084
  return Ld(i);
12085
- }, Wd = (t, e) => {
12085
+ }, zd = (t, e) => {
12086
12086
  const n = e.summary || e.operationId || `${e.method}-${e.path}`;
12087
12087
  return t(n);
12088
12088
  }, H = new Cu({
@@ -12105,7 +12105,7 @@ const Qd = Object.values(Md.OpenAPIV3.HttpMethods), Hd = async (t) => {
12105
12105
  // Add untagged operations if there are any
12106
12106
  ...r ? [{ name: void 0, slug: void 0 }] : []
12107
12107
  ];
12108
- }, zd = (t, e = []) => {
12108
+ }, Wd = (t, e = []) => {
12109
12109
  const n = jo(), i = Array.from(
12110
12110
  /* @__PURE__ */ new Set([
12111
12111
  ...t.flatMap((r) => r.tags ?? []),
@@ -12116,7 +12116,7 @@ const Qd = Object.values(Md.OpenAPIV3.HttpMethods), Hd = async (t) => {
12116
12116
  operations: Object.fromEntries(
12117
12117
  t.map((r) => [
12118
12118
  vi(r),
12119
- Wd(n, r)
12119
+ zd(n, r)
12120
12120
  ])
12121
12121
  ),
12122
12122
  tags: Object.fromEntries(i.map((r) => [r, n(r)]))
@@ -12470,7 +12470,7 @@ H.queryType({
12470
12470
  const { schema: s, slugs: o } = await r();
12471
12471
  i.schema = s, i.operations = Br(s.paths), i.slugs = o, i.tags = qr(s, i.slugs.tags);
12472
12472
  } else
12473
- i.schema = await Kd(n.input), i.operations = Br(i.schema.paths), i.slugs = zd(i.operations), i.tags = qr(i.schema, i.slugs.tags);
12473
+ i.schema = await Kd(n.input), i.operations = Br(i.schema.paths), i.slugs = Wd(i.operations), i.tags = qr(i.schema, i.slugs.tags);
12474
12474
  return i.schema;
12475
12475
  }
12476
12476
  })
@@ -12491,4 +12491,4 @@ const ap = H.toSchema(), lp = (t) => ad({ schema: ap, batching: !0, ...t }), mp
12491
12491
  export {
12492
12492
  mp as createServer
12493
12493
  };
12494
- //# sourceMappingURL=createServer-DmqFeMgf.js.map
12494
+ //# sourceMappingURL=createServer-DCB82j2t.js.map