zudoku 0.0.0-f417aae → 0.0.0-f49e3ea

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 (649) hide show
  1. package/cli.js +2 -2
  2. package/dist/app/demo.js +0 -2
  3. package/dist/app/demo.js.map +1 -1
  4. package/dist/app/entry.client.js +16 -2
  5. package/dist/app/entry.client.js.map +1 -1
  6. package/dist/app/entry.server.js +9 -6
  7. package/dist/app/entry.server.js.map +1 -1
  8. package/dist/app/main.d.ts +2 -1
  9. package/dist/app/main.js +9 -24
  10. package/dist/app/main.js.map +1 -1
  11. package/dist/app/standalone.js +0 -2
  12. package/dist/app/standalone.js.map +1 -1
  13. package/dist/cli/cli.js +1 -2
  14. package/dist/cli/cli.js.map +1 -1
  15. package/dist/cli/common/machine-id/lib.js.map +1 -1
  16. package/dist/cli/common/outdated.js.map +1 -1
  17. package/dist/cli/common/utils/box.js.map +1 -1
  18. package/dist/codegen.d.ts +3 -0
  19. package/dist/codegen.js +45 -0
  20. package/dist/codegen.js.map +1 -0
  21. package/dist/config/validators/InputSidebarSchema.d.ts +12 -12
  22. package/dist/config/validators/SidebarSchema.d.ts +24 -1
  23. package/dist/config/validators/SidebarSchema.js +76 -39
  24. package/dist/config/validators/SidebarSchema.js.map +1 -1
  25. package/dist/config/validators/validate.d.ts +335 -259
  26. package/dist/config/validators/validate.js +13 -11
  27. package/dist/config/validators/validate.js.map +1 -1
  28. package/dist/index.d.ts +4 -1
  29. package/dist/index.js +1 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/lib/authentication/authentication.d.ts +2 -2
  32. package/dist/lib/authentication/hook.d.ts +5 -4
  33. package/dist/lib/authentication/hook.js +1 -3
  34. package/dist/lib/authentication/hook.js.map +1 -1
  35. package/dist/lib/authentication/providers/auth0.js +12 -11
  36. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  37. package/dist/lib/authentication/providers/openid.d.ts +0 -1
  38. package/dist/lib/authentication/providers/openid.js +11 -26
  39. package/dist/lib/authentication/providers/openid.js.map +1 -1
  40. package/dist/lib/authentication/state.d.ts +25 -4
  41. package/dist/lib/authentication/state.js +28 -3
  42. package/dist/lib/authentication/state.js.map +1 -1
  43. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  44. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  45. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  46. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  47. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  48. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  49. package/dist/lib/components/Bootstrap.d.ts +3 -1
  50. package/dist/lib/components/Bootstrap.js +11 -3
  51. package/dist/lib/components/Bootstrap.js.map +1 -1
  52. package/dist/lib/components/ClientOnly.d.ts +4 -2
  53. package/dist/lib/components/ClientOnly.js +1 -1
  54. package/dist/lib/components/ClientOnly.js.map +1 -1
  55. package/dist/lib/components/DeveloperHint.js +2 -1
  56. package/dist/lib/components/DeveloperHint.js.map +1 -1
  57. package/dist/lib/components/Header.js +10 -7
  58. package/dist/lib/components/Header.js.map +1 -1
  59. package/dist/lib/components/Heading.d.ts +1 -1
  60. package/dist/lib/components/Layout.js +6 -3
  61. package/dist/lib/components/Layout.js.map +1 -1
  62. package/dist/lib/components/MobileTopNavigation.js +6 -7
  63. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  64. package/dist/lib/components/SlotletProvider.d.ts +2 -1
  65. package/dist/lib/components/SlotletProvider.js.map +1 -1
  66. package/dist/lib/components/SyntaxHighlight.js +19 -12
  67. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  68. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  69. package/dist/lib/components/ThemeSwitch.js +13 -0
  70. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  71. package/dist/lib/components/TopNavigation.d.ts +2 -0
  72. package/dist/lib/components/TopNavigation.js +36 -5
  73. package/dist/lib/components/TopNavigation.js.map +1 -1
  74. package/dist/lib/components/{DevPortal.d.ts → Zudoku.d.ts} +3 -3
  75. package/dist/lib/components/{DevPortal.js → Zudoku.js} +13 -14
  76. package/dist/lib/components/Zudoku.js.map +1 -0
  77. package/dist/lib/components/context/ZudokuContext.d.ts +10 -16
  78. package/dist/lib/components/context/ZudokuContext.js +27 -26
  79. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  80. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  81. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  82. package/dist/lib/components/index.d.ts +18 -10
  83. package/dist/lib/components/index.js +2 -3
  84. package/dist/lib/components/index.js.map +1 -1
  85. package/dist/lib/components/navigation/Sidebar.js +3 -3
  86. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  87. package/dist/lib/components/navigation/SidebarCategory.js +2 -4
  88. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  89. package/dist/lib/components/navigation/SidebarItem.js +1 -3
  90. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  91. package/dist/lib/components/navigation/utils.js +10 -14
  92. package/dist/lib/components/navigation/utils.js.map +1 -1
  93. package/dist/lib/core/{DevPortalContext.d.ts → ZudokuContext.d.ts} +6 -14
  94. package/dist/lib/core/{DevPortalContext.js → ZudokuContext.js} +2 -7
  95. package/dist/lib/core/ZudokuContext.js.map +1 -0
  96. package/dist/lib/core/plugins.d.ts +13 -12
  97. package/dist/lib/core/plugins.js.map +1 -1
  98. package/dist/lib/errors/ErrorAlert.js +1 -1
  99. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  100. package/dist/lib/oas/graphql/index.js +4 -4
  101. package/dist/lib/oas/graphql/index.js.map +1 -1
  102. package/dist/lib/oas/parser/upgrade/index.js +3 -1
  103. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  104. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  105. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  106. package/dist/lib/plugins/api-keys/index.d.ts +9 -9
  107. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  108. package/dist/lib/plugins/custom-pages/CustomPage.js +2 -2
  109. package/dist/lib/plugins/custom-pages/index.d.ts +2 -2
  110. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  111. package/dist/lib/plugins/markdown/index.d.ts +6 -7
  112. package/dist/lib/plugins/markdown/index.js +31 -3
  113. package/dist/lib/plugins/markdown/index.js.map +1 -1
  114. package/dist/lib/plugins/markdown/resolver.d.ts +38 -0
  115. package/dist/lib/plugins/markdown/resolver.js +75 -0
  116. package/dist/lib/plugins/markdown/resolver.js.map +1 -0
  117. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
  118. package/dist/lib/plugins/openapi/CollapsibleCode.js +24 -0
  119. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  120. package/dist/lib/plugins/openapi/ColorizedParam.js +13 -9
  121. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  122. package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
  123. package/dist/lib/plugins/openapi/Endpoint.js +5 -9
  124. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  125. package/dist/lib/plugins/openapi/OperationList.d.ts +2 -2
  126. package/dist/lib/plugins/openapi/OperationList.js +21 -22
  127. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  128. package/dist/lib/plugins/openapi/ParameterListItem.js +6 -1
  129. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  130. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +7 -3
  131. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  132. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +9 -2
  133. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  134. package/dist/lib/plugins/openapi/Route.d.ts +4 -4
  135. package/dist/lib/plugins/openapi/Route.js +2 -4
  136. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  137. package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
  138. package/dist/lib/plugins/openapi/Sidecar.js +35 -33
  139. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  140. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  141. package/dist/lib/plugins/openapi/client/GraphQLClient.js +102 -0
  142. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  143. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  144. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  145. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  146. package/dist/lib/plugins/openapi/client/createServer.d.ts +1 -0
  147. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  148. package/dist/lib/plugins/openapi/client/useCreateQuery.js +13 -0
  149. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  150. package/dist/lib/plugins/openapi/client/worker.d.ts +4 -1
  151. package/dist/lib/plugins/openapi/client/worker.js +23 -14
  152. package/dist/lib/plugins/openapi/client/worker.js.map +1 -1
  153. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  154. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  155. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  156. package/dist/lib/plugins/openapi/graphql/gql.d.ts +5 -51
  157. package/dist/lib/plugins/openapi/graphql/gql.js +4 -2
  158. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  159. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +32 -8
  160. package/dist/lib/plugins/openapi/graphql/graphql.js +194 -662
  161. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  162. package/dist/lib/plugins/openapi/index.d.ts +2 -2
  163. package/dist/lib/plugins/openapi/index.js +40 -53
  164. package/dist/lib/plugins/openapi/index.js.map +1 -1
  165. package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
  166. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  167. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  168. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  169. package/dist/lib/plugins/openapi/schema/SchemaView.js +2 -1
  170. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  171. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +0 -1
  172. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +25 -36
  173. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  174. package/dist/lib/plugins/openapi-worker.d.ts +1 -1
  175. package/dist/lib/plugins/openapi-worker.js +7 -1
  176. package/dist/lib/plugins/openapi-worker.js.map +1 -1
  177. package/dist/lib/plugins/redirect/index.d.ts +4 -7
  178. package/dist/lib/plugins/redirect/index.js +1 -1
  179. package/dist/lib/plugins/redirect/index.js.map +1 -1
  180. package/dist/lib/plugins/search-inkeep/index.d.ts +2 -2
  181. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  182. package/dist/lib/ui/Accordion.d.ts +7 -0
  183. package/dist/lib/ui/Accordion.js +14 -0
  184. package/dist/lib/ui/Accordion.js.map +1 -0
  185. package/dist/lib/ui/ActionButton.d.ts +4 -0
  186. package/dist/lib/ui/ActionButton.js +10 -0
  187. package/dist/lib/ui/ActionButton.js.map +1 -0
  188. package/dist/lib/ui/Alert.d.ts +8 -0
  189. package/dist/lib/ui/Alert.js +23 -0
  190. package/dist/lib/ui/Alert.js.map +1 -0
  191. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  192. package/dist/lib/ui/AlertDialog.js +27 -0
  193. package/dist/lib/ui/AlertDialog.js.map +1 -0
  194. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  195. package/dist/lib/ui/AspectRatio.js +4 -0
  196. package/dist/lib/ui/AspectRatio.js.map +1 -0
  197. package/dist/lib/ui/Badge.d.ts +9 -0
  198. package/dist/lib/ui/Badge.js +21 -0
  199. package/dist/lib/ui/Badge.js.map +1 -0
  200. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  201. package/dist/lib/ui/Breadcrumb.js +24 -0
  202. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  203. package/dist/lib/ui/Button.d.ts +2 -3
  204. package/dist/lib/ui/Button.js +1 -1
  205. package/dist/lib/ui/Button.js.map +1 -1
  206. package/dist/lib/ui/Carousel.d.ts +18 -0
  207. package/dist/lib/ui/Carousel.js +99 -0
  208. package/dist/lib/ui/Carousel.js.map +1 -0
  209. package/dist/lib/ui/Checkbox.d.ts +4 -0
  210. package/dist/lib/ui/Checkbox.js +9 -0
  211. package/dist/lib/ui/Checkbox.js.map +1 -0
  212. package/dist/lib/ui/Collapsible.d.ts +5 -0
  213. package/dist/lib/ui/Collapsible.js +6 -0
  214. package/dist/lib/ui/Collapsible.js.map +1 -0
  215. package/dist/lib/ui/Command.d.ts +80 -0
  216. package/dist/lib/ui/Command.js +31 -0
  217. package/dist/lib/ui/Command.js.map +1 -0
  218. package/dist/lib/{components → ui}/Dialog.js +2 -2
  219. package/dist/lib/ui/Dialog.js.map +1 -0
  220. package/dist/lib/ui/Form.d.ts +23 -0
  221. package/dist/lib/ui/Form.js +63 -0
  222. package/dist/lib/ui/Form.js.map +1 -0
  223. package/dist/lib/ui/HoverCard.d.ts +6 -0
  224. package/dist/lib/ui/HoverCard.js +10 -0
  225. package/dist/lib/ui/HoverCard.js.map +1 -0
  226. package/dist/lib/ui/Label.d.ts +5 -0
  227. package/dist/lib/ui/Label.js +10 -0
  228. package/dist/lib/ui/Label.js.map +1 -0
  229. package/dist/lib/ui/Pagination.d.ts +28 -0
  230. package/dist/lib/ui/Pagination.js +24 -0
  231. package/dist/lib/ui/Pagination.js.map +1 -0
  232. package/dist/lib/ui/Popover.d.ts +6 -0
  233. package/dist/lib/ui/Popover.js +10 -0
  234. package/dist/lib/ui/Popover.js.map +1 -0
  235. package/dist/lib/ui/Progress.d.ts +4 -0
  236. package/dist/lib/ui/Progress.js +8 -0
  237. package/dist/lib/ui/Progress.js.map +1 -0
  238. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  239. package/dist/lib/ui/RadioGroup.js +15 -0
  240. package/dist/lib/ui/RadioGroup.js.map +1 -0
  241. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  242. package/dist/lib/ui/ScrollArea.js +12 -0
  243. package/dist/lib/ui/ScrollArea.js.map +1 -0
  244. package/dist/lib/ui/Select.js.map +1 -0
  245. package/dist/lib/ui/Skeleton.d.ts +2 -0
  246. package/dist/lib/ui/Skeleton.js +7 -0
  247. package/dist/lib/ui/Skeleton.js.map +1 -0
  248. package/dist/lib/ui/Slider.d.ts +4 -0
  249. package/dist/lib/ui/Slider.js +8 -0
  250. package/dist/lib/ui/Slider.js.map +1 -0
  251. package/dist/lib/ui/Switch.d.ts +4 -0
  252. package/dist/lib/ui/Switch.js +8 -0
  253. package/dist/lib/ui/Switch.js.map +1 -0
  254. package/dist/lib/ui/Textarea.d.ts +4 -0
  255. package/dist/lib/ui/Textarea.js +9 -0
  256. package/dist/lib/ui/Textarea.js.map +1 -0
  257. package/dist/lib/ui/Toggle.d.ts +12 -0
  258. package/dist/lib/ui/Toggle.js +26 -0
  259. package/dist/lib/ui/Toggle.js.map +1 -0
  260. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  261. package/dist/lib/ui/ToggleGroup.js +21 -0
  262. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  263. package/dist/lib/ui/Tooltip.d.ts +7 -0
  264. package/dist/lib/ui/Tooltip.js +11 -0
  265. package/dist/lib/ui/Tooltip.js.map +1 -0
  266. package/dist/lib/util/MdxComponents.d.ts +1 -1
  267. package/dist/lib/util/MdxComponents.js.map +1 -1
  268. package/dist/lib/util/useExposedProps.js +3 -2
  269. package/dist/lib/util/useExposedProps.js.map +1 -1
  270. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  271. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  272. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  273. package/dist/lib/util/useOnScreen.d.ts +4 -0
  274. package/dist/lib/util/useOnScreen.js +19 -0
  275. package/dist/lib/util/useOnScreen.js.map +1 -0
  276. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  277. package/dist/vite/build.js +12 -3
  278. package/dist/vite/build.js.map +1 -1
  279. package/dist/vite/config.d.ts +2 -8
  280. package/dist/vite/config.js +24 -60
  281. package/dist/vite/config.js.map +1 -1
  282. package/dist/vite/debug.d.ts +1 -0
  283. package/dist/vite/debug.js +10 -0
  284. package/dist/vite/debug.js.map +1 -0
  285. package/dist/vite/html.js +0 -2
  286. package/dist/vite/html.js.map +1 -1
  287. package/dist/vite/output.d.ts +101 -0
  288. package/dist/vite/output.js +33 -0
  289. package/dist/vite/output.js.map +1 -0
  290. package/dist/vite/plugin-component.js +17 -7
  291. package/dist/vite/plugin-component.js.map +1 -1
  292. package/dist/vite/plugin-config-reload.js +0 -2
  293. package/dist/vite/plugin-config-reload.js.map +1 -1
  294. package/dist/vite/plugin-config.d.ts +2 -3
  295. package/dist/vite/plugin-config.js +2 -3
  296. package/dist/vite/plugin-config.js.map +1 -1
  297. package/dist/vite/plugin-docs.js +37 -26
  298. package/dist/vite/plugin-docs.js.map +1 -1
  299. package/dist/vite/plugin-frontmatter.d.ts +2 -1
  300. package/dist/vite/plugin-frontmatter.js +27 -24
  301. package/dist/vite/plugin-frontmatter.js.map +1 -1
  302. package/dist/vite/plugin-mdx.d.ts +0 -6
  303. package/dist/vite/plugin-mdx.js +3 -2
  304. package/dist/vite/plugin-mdx.js.map +1 -1
  305. package/dist/vite/plugin-sidebar.js +7 -6
  306. package/dist/vite/plugin-sidebar.js.map +1 -1
  307. package/dist/vite/plugin.js +2 -4
  308. package/dist/vite/plugin.js.map +1 -1
  309. package/dist/vite/prerender.d.ts +5 -1
  310. package/dist/vite/prerender.js +7 -5
  311. package/dist/vite/prerender.js.map +1 -1
  312. package/dist/vite/remarkStaticGeneration.d.ts +3 -0
  313. package/dist/vite/remarkStaticGeneration.js +125 -0
  314. package/dist/vite/remarkStaticGeneration.js.map +1 -0
  315. package/lib/{utils-G5XSiZc9.js → AnchorLink-CDlhr8gL.js} +232 -275
  316. package/lib/AnchorLink-CDlhr8gL.js.map +1 -0
  317. package/lib/{AuthenticationPlugin-tBvLKsFg.js → AuthenticationPlugin-DeGDVa1r.js} +6 -5
  318. package/lib/{AuthenticationPlugin-tBvLKsFg.js.map → AuthenticationPlugin-DeGDVa1r.js.map} +1 -1
  319. package/lib/Button-jK0EsymC.js +48 -0
  320. package/lib/Button-jK0EsymC.js.map +1 -0
  321. package/lib/{CategoryHeading-D2WS6sRI.js → CategoryHeading-Bb9dqxD3.js} +4 -4
  322. package/lib/{CategoryHeading-D2WS6sRI.js.map → CategoryHeading-Bb9dqxD3.js.map} +1 -1
  323. package/lib/{ClientOnly-CVN6leDu.js → ClientOnly-E7hGysn1.js} +4 -4
  324. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  325. package/lib/Dialog-k70Qfukb.js +67 -0
  326. package/lib/Dialog-k70Qfukb.js.map +1 -0
  327. package/lib/Markdown-ievDDhFT.js +15192 -0
  328. package/lib/Markdown-ievDDhFT.js.map +1 -0
  329. package/lib/{MdxPage-tWI_P8wP.js → MdxPage-Bwn-VSsH.js} +32 -30
  330. package/lib/{MdxPage-tWI_P8wP.js.map → MdxPage-Bwn-VSsH.js.map} +1 -1
  331. package/lib/OperationList-BwBl1xrD.js +4691 -0
  332. package/lib/OperationList-BwBl1xrD.js.map +1 -0
  333. package/lib/Route-DlG_HTMu.js +11 -0
  334. package/lib/Route-DlG_HTMu.js.map +1 -0
  335. package/lib/Select-O9ZM3ZgX.js +223 -0
  336. package/lib/Select-O9ZM3ZgX.js.map +1 -0
  337. package/lib/SidebarBadge-DxFJcJ6V.js +51 -0
  338. package/lib/SidebarBadge-DxFJcJ6V.js.map +1 -0
  339. package/lib/SlotletProvider-DyomlzGx.js +252 -0
  340. package/lib/SlotletProvider-DyomlzGx.js.map +1 -0
  341. package/lib/Spinner-3cQDBVGr.js +7 -0
  342. package/lib/Spinner-3cQDBVGr.js.map +1 -0
  343. package/lib/SyntaxHighlight-DkLOsjHS.js +2983 -0
  344. package/lib/SyntaxHighlight-DkLOsjHS.js.map +1 -0
  345. package/lib/__vite-browser-external-BYRIRx8p.js +9 -0
  346. package/lib/__vite-browser-external-BYRIRx8p.js.map +1 -0
  347. package/lib/assets/{worker-Bf8vjASY.js → worker-CPsGZsve.js} +565 -561
  348. package/lib/assets/{worker-Bf8vjASY.js.map → worker-CPsGZsve.js.map} +1 -1
  349. package/lib/cn-BmFQLtkS.js +2279 -0
  350. package/lib/cn-BmFQLtkS.js.map +1 -0
  351. package/lib/context-D1nXWxm7.js +22 -0
  352. package/lib/context-D1nXWxm7.js.map +1 -0
  353. package/lib/createServer-DK-g7kbB.js +16089 -0
  354. package/lib/createServer-DK-g7kbB.js.map +1 -0
  355. package/lib/hook-hEqe7fPB.js +227 -0
  356. package/lib/hook-hEqe7fPB.js.map +1 -0
  357. package/lib/index-BuAyrJe3.js +46 -0
  358. package/lib/index-BuAyrJe3.js.map +1 -0
  359. package/lib/index-Czzd9rjU.js +899 -0
  360. package/lib/index-Czzd9rjU.js.map +1 -0
  361. package/lib/index-DNxQ_rCt.js +1273 -0
  362. package/lib/index-DNxQ_rCt.js.map +1 -0
  363. package/lib/index-Yn8c3UWE.js +921 -0
  364. package/lib/index-Yn8c3UWE.js.map +1 -0
  365. package/lib/index.esm-C5mr_sKO.js +1193 -0
  366. package/lib/index.esm-C5mr_sKO.js.map +1 -0
  367. package/lib/{router-BsfSoK2j.js → router-lfyopgBI.js} +23 -23
  368. package/lib/{router-BsfSoK2j.js.map → router-lfyopgBI.js.map} +1 -1
  369. package/lib/state-tsXBLONe.js +203 -0
  370. package/lib/{state-CsuHT8ZO.js.map → state-tsXBLONe.js.map} +1 -1
  371. package/lib/ui/Accordion.js +47 -0
  372. package/lib/ui/Accordion.js.map +1 -0
  373. package/lib/ui/ActionButton.js +25 -0
  374. package/lib/ui/ActionButton.js.map +1 -0
  375. package/lib/ui/Alert.js +51 -0
  376. package/lib/ui/Alert.js.map +1 -0
  377. package/lib/ui/AlertDialog.js +114 -0
  378. package/lib/ui/AlertDialog.js.map +1 -0
  379. package/lib/ui/AspectRatio.js +6 -0
  380. package/lib/ui/AspectRatio.js.map +1 -0
  381. package/lib/ui/Badge.js +27 -0
  382. package/lib/ui/Badge.js.map +1 -0
  383. package/lib/ui/Breadcrumb.js +94 -0
  384. package/lib/ui/Breadcrumb.js.map +1 -0
  385. package/lib/ui/Button.js +49 -0
  386. package/lib/ui/Button.js.map +1 -0
  387. package/lib/ui/Callout.js +77 -0
  388. package/lib/ui/Callout.js.map +1 -0
  389. package/lib/ui/Card.js +62 -0
  390. package/lib/ui/Card.js.map +1 -0
  391. package/lib/ui/Carousel.js +1410 -0
  392. package/lib/ui/Carousel.js.map +1 -0
  393. package/lib/ui/Checkbox.js +28 -0
  394. package/lib/ui/Checkbox.js.map +1 -0
  395. package/lib/ui/Collapsible.js +8 -0
  396. package/lib/ui/Collapsible.js.map +1 -0
  397. package/lib/ui/Command.js +550 -0
  398. package/lib/ui/Command.js.map +1 -0
  399. package/lib/ui/Dialog.js +101 -0
  400. package/lib/ui/Dialog.js.map +1 -0
  401. package/lib/ui/Drawer.js +1153 -0
  402. package/lib/ui/Drawer.js.map +1 -0
  403. package/lib/ui/DropdownMenu.js +145 -0
  404. package/lib/ui/DropdownMenu.js.map +1 -0
  405. package/lib/ui/Form.js +95 -0
  406. package/lib/ui/Form.js.map +1 -0
  407. package/lib/ui/HoverCard.js +24 -0
  408. package/lib/ui/HoverCard.js.map +1 -0
  409. package/lib/ui/Input.js +22 -0
  410. package/lib/ui/Input.js.map +1 -0
  411. package/lib/ui/Label.js +20 -0
  412. package/lib/ui/Label.js.map +1 -0
  413. package/lib/ui/Pagination.js +106 -0
  414. package/lib/ui/Pagination.js.map +1 -0
  415. package/lib/ui/Popover.js +24 -0
  416. package/lib/ui/Popover.js.map +1 -0
  417. package/lib/ui/Progress.js +27 -0
  418. package/lib/ui/Progress.js.map +1 -0
  419. package/lib/ui/RadioGroup.js +32 -0
  420. package/lib/ui/RadioGroup.js.map +1 -0
  421. package/lib/ui/ScrollArea.js +39 -0
  422. package/lib/ui/ScrollArea.js.map +1 -0
  423. package/lib/ui/Select.js +122 -0
  424. package/lib/ui/Select.js.map +1 -0
  425. package/lib/ui/Skeleton.js +18 -0
  426. package/lib/ui/Skeleton.js.map +1 -0
  427. package/lib/ui/Slider.js +24 -0
  428. package/lib/ui/Slider.js.map +1 -0
  429. package/lib/ui/Switch.js +28 -0
  430. package/lib/ui/Switch.js.map +1 -0
  431. package/lib/ui/Tabs.js +47 -0
  432. package/lib/ui/Tabs.js.map +1 -0
  433. package/lib/ui/Textarea.js +21 -0
  434. package/lib/ui/Textarea.js.map +1 -0
  435. package/lib/ui/Toggle.js +38 -0
  436. package/lib/ui/Toggle.js.map +1 -0
  437. package/lib/ui/ToggleGroup.js +42 -0
  438. package/lib/ui/ToggleGroup.js.map +1 -0
  439. package/lib/ui/Tooltip.js +24 -0
  440. package/lib/ui/Tooltip.js.map +1 -0
  441. package/lib/useExposedProps-CTPtylCV.js +10 -0
  442. package/lib/useExposedProps-CTPtylCV.js.map +1 -0
  443. package/lib/{ZudokuContext-DEoP3GGJ.js → utils-DcpDOncX.js} +455 -410
  444. package/lib/utils-DcpDOncX.js.map +1 -0
  445. package/lib/zudoku.auth-auth0.js +24 -18
  446. package/lib/zudoku.auth-auth0.js.map +1 -1
  447. package/lib/zudoku.auth-clerk.js +2 -2
  448. package/lib/zudoku.auth-openid.js +124 -138
  449. package/lib/zudoku.auth-openid.js.map +1 -1
  450. package/lib/zudoku.components.js +1128 -2987
  451. package/lib/zudoku.components.js.map +1 -1
  452. package/lib/zudoku.openapi-worker.js +10 -16336
  453. package/lib/zudoku.openapi-worker.js.map +1 -1
  454. package/lib/zudoku.plugin-api-keys.js +24 -21
  455. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  456. package/lib/zudoku.plugin-custom-pages.js +9 -8
  457. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  458. package/lib/zudoku.plugin-markdown.js +93 -27
  459. package/lib/zudoku.plugin-markdown.js.map +1 -1
  460. package/lib/zudoku.plugin-openapi.js +6 -10
  461. package/lib/zudoku.plugin-openapi.js.map +1 -1
  462. package/lib/zudoku.plugin-redirect.js +2 -2
  463. package/lib/zudoku.plugin-redirect.js.map +1 -1
  464. package/lib/zudoku.plugin-search-inkeep.js +1 -1
  465. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  466. package/package.json +43 -11
  467. package/src/app/demo.tsx +0 -3
  468. package/src/app/entry.client.tsx +18 -2
  469. package/src/app/entry.server.tsx +60 -50
  470. package/src/app/main.css +5 -1
  471. package/src/app/main.tsx +14 -30
  472. package/src/app/standalone.tsx +1 -4
  473. package/src/lib/authentication/authentication.ts +2 -2
  474. package/src/lib/authentication/hook.ts +1 -3
  475. package/src/lib/authentication/providers/auth0.tsx +17 -11
  476. package/src/lib/authentication/providers/openid.tsx +12 -30
  477. package/src/lib/authentication/state.ts +50 -9
  478. package/{LICENSE.md → src/lib/authentication/use-broadcast/LICENSE.md} +2 -2
  479. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  480. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  481. package/src/lib/components/Bootstrap.tsx +36 -9
  482. package/src/lib/components/ClientOnly.tsx +6 -3
  483. package/src/lib/components/DeveloperHint.tsx +6 -1
  484. package/src/lib/components/Header.tsx +50 -40
  485. package/src/lib/components/Layout.tsx +43 -36
  486. package/src/lib/components/MobileTopNavigation.tsx +15 -18
  487. package/src/lib/components/SlotletProvider.tsx +2 -0
  488. package/src/lib/components/SyntaxHighlight.tsx +85 -46
  489. package/src/lib/components/ThemeSwitch.tsx +26 -0
  490. package/src/lib/components/TopNavigation.tsx +66 -24
  491. package/src/lib/components/Zudoku.tsx +108 -0
  492. package/src/lib/components/context/ZudokuContext.ts +33 -30
  493. package/src/lib/components/context/ZudokuProvider.tsx +2 -2
  494. package/src/lib/components/index.ts +2 -3
  495. package/src/lib/components/navigation/Sidebar.tsx +5 -5
  496. package/src/lib/components/navigation/SidebarCategory.tsx +2 -4
  497. package/src/lib/components/navigation/SidebarItem.tsx +1 -3
  498. package/src/lib/components/navigation/utils.ts +11 -16
  499. package/src/lib/core/{DevPortalContext.ts → ZudokuContext.ts} +6 -18
  500. package/src/lib/core/plugins.ts +14 -16
  501. package/src/lib/errors/ErrorAlert.tsx +2 -1
  502. package/src/lib/oas/graphql/index.ts +4 -4
  503. package/src/lib/oas/parser/upgrade/index.ts +3 -1
  504. package/src/lib/plugins/api-keys/CreateApiKey.tsx +2 -2
  505. package/src/lib/plugins/api-keys/index.tsx +9 -9
  506. package/src/lib/plugins/custom-pages/CustomPage.tsx +2 -2
  507. package/src/lib/plugins/custom-pages/index.tsx +2 -2
  508. package/src/lib/plugins/markdown/index.tsx +50 -13
  509. package/src/lib/plugins/markdown/resolver.ts +92 -0
  510. package/src/lib/plugins/openapi/CollapsibleCode.tsx +80 -0
  511. package/src/lib/plugins/openapi/ColorizedParam.tsx +23 -14
  512. package/src/lib/plugins/openapi/Endpoint.tsx +7 -12
  513. package/src/lib/plugins/openapi/OperationList.tsx +20 -40
  514. package/src/lib/plugins/openapi/ParameterListItem.tsx +37 -31
  515. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +18 -13
  516. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +17 -12
  517. package/src/lib/plugins/openapi/Route.tsx +11 -12
  518. package/src/lib/plugins/openapi/Sidecar.tsx +73 -59
  519. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +140 -0
  520. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  521. package/src/lib/plugins/openapi/client/createServer.ts +2 -0
  522. package/src/lib/plugins/openapi/client/useCreateQuery.ts +18 -0
  523. package/src/lib/plugins/openapi/client/worker.ts +38 -24
  524. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
  525. package/src/lib/plugins/openapi/graphql/gql.ts +10 -27
  526. package/src/lib/plugins/openapi/graphql/graphql.ts +233 -665
  527. package/src/lib/plugins/openapi/index.tsx +42 -67
  528. package/src/lib/plugins/openapi/playground/Playground.tsx +3 -3
  529. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
  530. package/src/lib/plugins/openapi/schema/SchemaView.tsx +5 -2
  531. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +28 -42
  532. package/src/lib/plugins/openapi-worker.ts +11 -1
  533. package/src/lib/plugins/redirect/index.tsx +5 -9
  534. package/src/lib/plugins/search-inkeep/index.tsx +2 -2
  535. package/src/lib/ui/Accordion.tsx +56 -0
  536. package/src/lib/ui/ActionButton.tsx +28 -0
  537. package/src/lib/ui/{Note.tsx → Alert.tsx} +11 -10
  538. package/src/lib/ui/AlertDialog.tsx +139 -0
  539. package/src/lib/ui/AspectRatio.tsx +5 -0
  540. package/src/lib/ui/Badge.tsx +36 -0
  541. package/src/lib/ui/Breadcrumb.tsx +115 -0
  542. package/src/lib/ui/Button.tsx +1 -1
  543. package/src/lib/ui/Carousel.tsx +260 -0
  544. package/src/lib/ui/Checkbox.tsx +28 -0
  545. package/src/lib/ui/Collapsible.tsx +9 -0
  546. package/src/lib/ui/Command.tsx +151 -0
  547. package/src/lib/{components → ui}/Dialog.tsx +4 -3
  548. package/src/lib/ui/Form.tsx +177 -0
  549. package/src/lib/ui/HoverCard.tsx +27 -0
  550. package/src/lib/ui/Label.tsx +24 -0
  551. package/src/lib/ui/Pagination.tsx +117 -0
  552. package/src/lib/ui/Popover.tsx +29 -0
  553. package/src/lib/ui/Progress.tsx +26 -0
  554. package/src/lib/ui/RadioGroup.tsx +42 -0
  555. package/src/lib/ui/ScrollArea.tsx +46 -0
  556. package/src/lib/ui/Skeleton.tsx +15 -0
  557. package/src/lib/ui/Slider.tsx +26 -0
  558. package/src/lib/ui/Switch.tsx +27 -0
  559. package/src/lib/ui/Textarea.tsx +23 -0
  560. package/src/lib/ui/Toggle.tsx +43 -0
  561. package/src/lib/ui/ToggleGroup.tsx +59 -0
  562. package/src/lib/ui/Tooltip.tsx +28 -0
  563. package/src/lib/util/MdxComponents.tsx +0 -1
  564. package/src/lib/util/useExposedProps.tsx +8 -2
  565. package/src/lib/util/useIsomorphicLayoutEffect.ts +5 -0
  566. package/src/lib/util/useOnScreen.ts +32 -0
  567. package/src/lib/util/useScrollToAnchor.ts +1 -1
  568. package/dist/internal.d.ts +0 -1
  569. package/dist/internal.js +0 -2
  570. package/dist/internal.js.map +0 -1
  571. package/dist/lib/components/DevPortal.js.map +0 -1
  572. package/dist/lib/components/Dialog.js.map +0 -1
  573. package/dist/lib/components/Select.js.map +0 -1
  574. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  575. package/dist/lib/components/context/ThemeContext.js +0 -7
  576. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  577. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  578. package/dist/lib/components/context/ThemeProvider.js +0 -23
  579. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  580. package/dist/lib/core/DevPortalContext.js.map +0 -1
  581. package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
  582. package/dist/lib/plugins/markdown/generateRoutes.js +0 -21
  583. package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
  584. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  585. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  586. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  587. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  588. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  589. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  590. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  591. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  592. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  593. package/dist/lib/themeToggle.d.ts +0 -1
  594. package/dist/lib/themeToggle.js +0 -7
  595. package/dist/lib/themeToggle.js.map +0 -1
  596. package/dist/lib/ui/Note.d.ts +0 -8
  597. package/dist/lib/ui/Note.js +0 -23
  598. package/dist/lib/ui/Note.js.map +0 -1
  599. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  600. package/dist/lib/util/createWaitForNotify.js +0 -15
  601. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  602. package/dist/vite/plugin-html-transform.d.ts +0 -2
  603. package/dist/vite/plugin-html-transform.js +0 -15
  604. package/dist/vite/plugin-html-transform.js.map +0 -1
  605. package/lib/ClientOnly-CVN6leDu.js.map +0 -1
  606. package/lib/DeveloperHint-CRiZjqd2.js +0 -16
  607. package/lib/DeveloperHint-CRiZjqd2.js.map +0 -1
  608. package/lib/Input-CO-1DOZa.js +0 -2229
  609. package/lib/Input-CO-1DOZa.js.map +0 -1
  610. package/lib/Markdown-DM4zv3MA.js +0 -20442
  611. package/lib/Markdown-DM4zv3MA.js.map +0 -1
  612. package/lib/OperationList-Cd3lue0b.js +0 -600
  613. package/lib/OperationList-Cd3lue0b.js.map +0 -1
  614. package/lib/Route-DI0Y0pIV.js +0 -13
  615. package/lib/Route-DI0Y0pIV.js.map +0 -1
  616. package/lib/SlotletProvider-CBqY8mp6.js +0 -241
  617. package/lib/SlotletProvider-CBqY8mp6.js.map +0 -1
  618. package/lib/Spinner-DFQhPMBl.js +0 -505
  619. package/lib/Spinner-DFQhPMBl.js.map +0 -1
  620. package/lib/ZudokuContext-DEoP3GGJ.js.map +0 -1
  621. package/lib/index-Bs9roz8y.js +0 -5973
  622. package/lib/index-Bs9roz8y.js.map +0 -1
  623. package/lib/index-CBr6BM_4.js +0 -2867
  624. package/lib/index-CBr6BM_4.js.map +0 -1
  625. package/lib/index-CRo94sKK.js +0 -1783
  626. package/lib/index-CRo94sKK.js.map +0 -1
  627. package/lib/index-UUT9q9f9.js +0 -124
  628. package/lib/index-UUT9q9f9.js.map +0 -1
  629. package/lib/joinPath-B7kNnUX4.js +0 -8
  630. package/lib/joinPath-B7kNnUX4.js.map +0 -1
  631. package/lib/state-CsuHT8ZO.js +0 -183
  632. package/lib/urql-core-KJnLL26g.js +0 -1455
  633. package/lib/urql-core-KJnLL26g.js.map +0 -1
  634. package/lib/useExposedProps-B9K-9GTc.js +0 -9
  635. package/lib/useExposedProps-B9K-9GTc.js.map +0 -1
  636. package/lib/utils-G5XSiZc9.js.map +0 -1
  637. package/src/lib/components/DevPortal.tsx +0 -111
  638. package/src/lib/components/context/ThemeContext.tsx +0 -8
  639. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  640. package/src/lib/plugins/markdown/generateRoutes.tsx +0 -38
  641. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -51
  642. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -75
  643. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  644. package/src/lib/themeToggle.ts +0 -7
  645. package/src/lib/util/createWaitForNotify.ts +0 -18
  646. /package/dist/lib/{components → ui}/Dialog.d.ts +0 -0
  647. /package/dist/lib/{components → ui}/Select.d.ts +0 -0
  648. /package/dist/lib/{components → ui}/Select.js +0 -0
  649. /package/src/lib/{components → ui}/Select.tsx +0 -0
@@ -1,663 +1,195 @@
1
- export const OperationsFragmentFragmentDoc = {
2
- kind: "Document",
3
- definitions: [
4
- {
5
- kind: "FragmentDefinition",
6
- name: { kind: "Name", value: "OperationsFragment" },
7
- typeCondition: {
8
- kind: "NamedType",
9
- name: { kind: "Name", value: "OperationItem" },
10
- },
11
- selectionSet: {
12
- kind: "SelectionSet",
13
- selections: [
14
- { kind: "Field", name: { kind: "Name", value: "slug" } },
15
- { kind: "Field", name: { kind: "Name", value: "summary" } },
16
- { kind: "Field", name: { kind: "Name", value: "method" } },
17
- { kind: "Field", name: { kind: "Name", value: "description" } },
18
- { kind: "Field", name: { kind: "Name", value: "operationId" } },
19
- { kind: "Field", name: { kind: "Name", value: "contentTypes" } },
20
- { kind: "Field", name: { kind: "Name", value: "path" } },
21
- {
22
- kind: "Field",
23
- name: { kind: "Name", value: "parameters" },
24
- selectionSet: {
25
- kind: "SelectionSet",
26
- selections: [
27
- { kind: "Field", name: { kind: "Name", value: "name" } },
28
- { kind: "Field", name: { kind: "Name", value: "in" } },
29
- { kind: "Field", name: { kind: "Name", value: "description" } },
30
- { kind: "Field", name: { kind: "Name", value: "required" } },
31
- { kind: "Field", name: { kind: "Name", value: "schema" } },
32
- { kind: "Field", name: { kind: "Name", value: "style" } },
33
- {
34
- kind: "Field",
35
- name: { kind: "Name", value: "examples" },
36
- selectionSet: {
37
- kind: "SelectionSet",
38
- selections: [
39
- { kind: "Field", name: { kind: "Name", value: "name" } },
40
- {
41
- kind: "Field",
42
- name: { kind: "Name", value: "description" },
43
- },
44
- {
45
- kind: "Field",
46
- name: { kind: "Name", value: "externalValue" },
47
- },
48
- { kind: "Field", name: { kind: "Name", value: "value" } },
49
- {
50
- kind: "Field",
51
- name: { kind: "Name", value: "summary" },
52
- },
53
- ],
54
- },
55
- },
56
- ],
57
- },
58
- },
59
- {
60
- kind: "Field",
61
- name: { kind: "Name", value: "requestBody" },
62
- selectionSet: {
63
- kind: "SelectionSet",
64
- selections: [
65
- {
66
- kind: "Field",
67
- name: { kind: "Name", value: "content" },
68
- selectionSet: {
69
- kind: "SelectionSet",
70
- selections: [
71
- {
72
- kind: "Field",
73
- name: { kind: "Name", value: "mediaType" },
74
- },
75
- {
76
- kind: "Field",
77
- name: { kind: "Name", value: "encoding" },
78
- selectionSet: {
79
- kind: "SelectionSet",
80
- selections: [
81
- {
82
- kind: "Field",
83
- name: { kind: "Name", value: "name" },
84
- },
85
- ],
86
- },
87
- },
88
- {
89
- kind: "Field",
90
- name: { kind: "Name", value: "schema" },
91
- },
92
- ],
93
- },
94
- },
95
- { kind: "Field", name: { kind: "Name", value: "description" } },
96
- { kind: "Field", name: { kind: "Name", value: "required" } },
97
- ],
98
- },
99
- },
100
- {
101
- kind: "Field",
102
- name: { kind: "Name", value: "responses" },
103
- selectionSet: {
104
- kind: "SelectionSet",
105
- selections: [
106
- { kind: "Field", name: { kind: "Name", value: "statusCode" } },
107
- { kind: "Field", name: { kind: "Name", value: "links" } },
108
- { kind: "Field", name: { kind: "Name", value: "description" } },
109
- {
110
- kind: "Field",
111
- name: { kind: "Name", value: "content" },
112
- selectionSet: {
113
- kind: "SelectionSet",
114
- selections: [
115
- {
116
- kind: "Field",
117
- name: { kind: "Name", value: "mediaType" },
118
- },
119
- {
120
- kind: "Field",
121
- name: { kind: "Name", value: "encoding" },
122
- selectionSet: {
123
- kind: "SelectionSet",
124
- selections: [
125
- {
126
- kind: "Field",
127
- name: { kind: "Name", value: "name" },
128
- },
129
- ],
130
- },
131
- },
132
- {
133
- kind: "Field",
134
- name: { kind: "Name", value: "schema" },
135
- },
136
- ],
137
- },
138
- },
139
- ],
140
- },
141
- },
142
- ],
143
- },
144
- },
145
- ],
146
- };
147
- export const ServersQueryDocument = {
148
- kind: "Document",
149
- definitions: [
150
- {
151
- kind: "OperationDefinition",
152
- operation: "query",
153
- name: { kind: "Name", value: "ServersQuery" },
154
- variableDefinitions: [
155
- {
156
- kind: "VariableDefinition",
157
- variable: {
158
- kind: "Variable",
159
- name: { kind: "Name", value: "input" },
160
- },
161
- type: {
162
- kind: "NonNullType",
163
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
164
- },
165
- },
166
- {
167
- kind: "VariableDefinition",
168
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
169
- type: {
170
- kind: "NonNullType",
171
- type: {
172
- kind: "NamedType",
173
- name: { kind: "Name", value: "SchemaType" },
174
- },
175
- },
176
- },
177
- ],
178
- selectionSet: {
179
- kind: "SelectionSet",
180
- selections: [
181
- {
182
- kind: "Field",
183
- name: { kind: "Name", value: "schema" },
184
- arguments: [
185
- {
186
- kind: "Argument",
187
- name: { kind: "Name", value: "input" },
188
- value: {
189
- kind: "Variable",
190
- name: { kind: "Name", value: "input" },
191
- },
192
- },
193
- {
194
- kind: "Argument",
195
- name: { kind: "Name", value: "type" },
196
- value: {
197
- kind: "Variable",
198
- name: { kind: "Name", value: "type" },
199
- },
200
- },
201
- ],
202
- selectionSet: {
203
- kind: "SelectionSet",
204
- selections: [
205
- { kind: "Field", name: { kind: "Name", value: "url" } },
206
- {
207
- kind: "Field",
208
- name: { kind: "Name", value: "servers" },
209
- selectionSet: {
210
- kind: "SelectionSet",
211
- selections: [
212
- { kind: "Field", name: { kind: "Name", value: "url" } },
213
- ],
214
- },
215
- },
216
- ],
217
- },
218
- },
219
- ],
220
- },
221
- },
222
- ],
223
- };
224
- export const AllOperationsDocument = {
225
- kind: "Document",
226
- definitions: [
227
- {
228
- kind: "OperationDefinition",
229
- operation: "query",
230
- name: { kind: "Name", value: "AllOperations" },
231
- variableDefinitions: [
232
- {
233
- kind: "VariableDefinition",
234
- variable: {
235
- kind: "Variable",
236
- name: { kind: "Name", value: "input" },
237
- },
238
- type: {
239
- kind: "NonNullType",
240
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
241
- },
242
- },
243
- {
244
- kind: "VariableDefinition",
245
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
246
- type: {
247
- kind: "NonNullType",
248
- type: {
249
- kind: "NamedType",
250
- name: { kind: "Name", value: "SchemaType" },
251
- },
252
- },
253
- },
254
- ],
255
- selectionSet: {
256
- kind: "SelectionSet",
257
- selections: [
258
- {
259
- kind: "Field",
260
- name: { kind: "Name", value: "schema" },
261
- arguments: [
262
- {
263
- kind: "Argument",
264
- name: { kind: "Name", value: "input" },
265
- value: {
266
- kind: "Variable",
267
- name: { kind: "Name", value: "input" },
268
- },
269
- },
270
- {
271
- kind: "Argument",
272
- name: { kind: "Name", value: "type" },
273
- value: {
274
- kind: "Variable",
275
- name: { kind: "Name", value: "type" },
276
- },
277
- },
278
- ],
279
- selectionSet: {
280
- kind: "SelectionSet",
281
- selections: [
282
- { kind: "Field", name: { kind: "Name", value: "description" } },
283
- { kind: "Field", name: { kind: "Name", value: "title" } },
284
- { kind: "Field", name: { kind: "Name", value: "url" } },
285
- { kind: "Field", name: { kind: "Name", value: "version" } },
286
- {
287
- kind: "Field",
288
- name: { kind: "Name", value: "tags" },
289
- selectionSet: {
290
- kind: "SelectionSet",
291
- selections: [
292
- { kind: "Field", name: { kind: "Name", value: "name" } },
293
- {
294
- kind: "Field",
295
- name: { kind: "Name", value: "description" },
296
- },
297
- {
298
- kind: "Field",
299
- name: { kind: "Name", value: "operations" },
300
- selectionSet: {
301
- kind: "SelectionSet",
302
- selections: [
303
- {
304
- kind: "Field",
305
- name: { kind: "Name", value: "slug" },
306
- },
307
- {
308
- kind: "FragmentSpread",
309
- name: {
310
- kind: "Name",
311
- value: "OperationsFragment",
312
- },
313
- },
314
- ],
315
- },
316
- },
317
- ],
318
- },
319
- },
320
- ],
321
- },
322
- },
323
- ],
324
- },
325
- },
326
- {
327
- kind: "FragmentDefinition",
328
- name: { kind: "Name", value: "OperationsFragment" },
329
- typeCondition: {
330
- kind: "NamedType",
331
- name: { kind: "Name", value: "OperationItem" },
332
- },
333
- selectionSet: {
334
- kind: "SelectionSet",
335
- selections: [
336
- { kind: "Field", name: { kind: "Name", value: "slug" } },
337
- { kind: "Field", name: { kind: "Name", value: "summary" } },
338
- { kind: "Field", name: { kind: "Name", value: "method" } },
339
- { kind: "Field", name: { kind: "Name", value: "description" } },
340
- { kind: "Field", name: { kind: "Name", value: "operationId" } },
341
- { kind: "Field", name: { kind: "Name", value: "contentTypes" } },
342
- { kind: "Field", name: { kind: "Name", value: "path" } },
343
- {
344
- kind: "Field",
345
- name: { kind: "Name", value: "parameters" },
346
- selectionSet: {
347
- kind: "SelectionSet",
348
- selections: [
349
- { kind: "Field", name: { kind: "Name", value: "name" } },
350
- { kind: "Field", name: { kind: "Name", value: "in" } },
351
- { kind: "Field", name: { kind: "Name", value: "description" } },
352
- { kind: "Field", name: { kind: "Name", value: "required" } },
353
- { kind: "Field", name: { kind: "Name", value: "schema" } },
354
- { kind: "Field", name: { kind: "Name", value: "style" } },
355
- {
356
- kind: "Field",
357
- name: { kind: "Name", value: "examples" },
358
- selectionSet: {
359
- kind: "SelectionSet",
360
- selections: [
361
- { kind: "Field", name: { kind: "Name", value: "name" } },
362
- {
363
- kind: "Field",
364
- name: { kind: "Name", value: "description" },
365
- },
366
- {
367
- kind: "Field",
368
- name: { kind: "Name", value: "externalValue" },
369
- },
370
- { kind: "Field", name: { kind: "Name", value: "value" } },
371
- {
372
- kind: "Field",
373
- name: { kind: "Name", value: "summary" },
374
- },
375
- ],
376
- },
377
- },
378
- ],
379
- },
380
- },
381
- {
382
- kind: "Field",
383
- name: { kind: "Name", value: "requestBody" },
384
- selectionSet: {
385
- kind: "SelectionSet",
386
- selections: [
387
- {
388
- kind: "Field",
389
- name: { kind: "Name", value: "content" },
390
- selectionSet: {
391
- kind: "SelectionSet",
392
- selections: [
393
- {
394
- kind: "Field",
395
- name: { kind: "Name", value: "mediaType" },
396
- },
397
- {
398
- kind: "Field",
399
- name: { kind: "Name", value: "encoding" },
400
- selectionSet: {
401
- kind: "SelectionSet",
402
- selections: [
403
- {
404
- kind: "Field",
405
- name: { kind: "Name", value: "name" },
406
- },
407
- ],
408
- },
409
- },
410
- {
411
- kind: "Field",
412
- name: { kind: "Name", value: "schema" },
413
- },
414
- ],
415
- },
416
- },
417
- { kind: "Field", name: { kind: "Name", value: "description" } },
418
- { kind: "Field", name: { kind: "Name", value: "required" } },
419
- ],
420
- },
421
- },
422
- {
423
- kind: "Field",
424
- name: { kind: "Name", value: "responses" },
425
- selectionSet: {
426
- kind: "SelectionSet",
427
- selections: [
428
- { kind: "Field", name: { kind: "Name", value: "statusCode" } },
429
- { kind: "Field", name: { kind: "Name", value: "links" } },
430
- { kind: "Field", name: { kind: "Name", value: "description" } },
431
- {
432
- kind: "Field",
433
- name: { kind: "Name", value: "content" },
434
- selectionSet: {
435
- kind: "SelectionSet",
436
- selections: [
437
- {
438
- kind: "Field",
439
- name: { kind: "Name", value: "mediaType" },
440
- },
441
- {
442
- kind: "Field",
443
- name: { kind: "Name", value: "encoding" },
444
- selectionSet: {
445
- kind: "SelectionSet",
446
- selections: [
447
- {
448
- kind: "Field",
449
- name: { kind: "Name", value: "name" },
450
- },
451
- ],
452
- },
453
- },
454
- {
455
- kind: "Field",
456
- name: { kind: "Name", value: "schema" },
457
- },
458
- ],
459
- },
460
- },
461
- ],
462
- },
463
- },
464
- ],
465
- },
466
- },
467
- ],
468
- };
469
- export const GetServerQueryDocument = {
470
- kind: "Document",
471
- definitions: [
472
- {
473
- kind: "OperationDefinition",
474
- operation: "query",
475
- name: { kind: "Name", value: "getServerQuery" },
476
- variableDefinitions: [
477
- {
478
- kind: "VariableDefinition",
479
- variable: {
480
- kind: "Variable",
481
- name: { kind: "Name", value: "input" },
482
- },
483
- type: {
484
- kind: "NonNullType",
485
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
486
- },
487
- },
488
- {
489
- kind: "VariableDefinition",
490
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
491
- type: {
492
- kind: "NonNullType",
493
- type: {
494
- kind: "NamedType",
495
- name: { kind: "Name", value: "SchemaType" },
496
- },
497
- },
498
- },
499
- ],
500
- selectionSet: {
501
- kind: "SelectionSet",
502
- selections: [
503
- {
504
- kind: "Field",
505
- name: { kind: "Name", value: "schema" },
506
- arguments: [
507
- {
508
- kind: "Argument",
509
- name: { kind: "Name", value: "input" },
510
- value: {
511
- kind: "Variable",
512
- name: { kind: "Name", value: "input" },
513
- },
514
- },
515
- {
516
- kind: "Argument",
517
- name: { kind: "Name", value: "type" },
518
- value: {
519
- kind: "Variable",
520
- name: { kind: "Name", value: "type" },
521
- },
522
- },
523
- ],
524
- selectionSet: {
525
- kind: "SelectionSet",
526
- selections: [
527
- { kind: "Field", name: { kind: "Name", value: "url" } },
528
- {
529
- kind: "Field",
530
- name: { kind: "Name", value: "servers" },
531
- selectionSet: {
532
- kind: "SelectionSet",
533
- selections: [
534
- { kind: "Field", name: { kind: "Name", value: "url" } },
535
- ],
536
- },
537
- },
538
- ],
539
- },
540
- },
541
- ],
542
- },
543
- },
544
- ],
545
- };
546
- export const GetCategoriesDocument = {
547
- kind: "Document",
548
- definitions: [
549
- {
550
- kind: "OperationDefinition",
551
- operation: "query",
552
- name: { kind: "Name", value: "GetCategories" },
553
- variableDefinitions: [
554
- {
555
- kind: "VariableDefinition",
556
- variable: {
557
- kind: "Variable",
558
- name: { kind: "Name", value: "input" },
559
- },
560
- type: {
561
- kind: "NonNullType",
562
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
563
- },
564
- },
565
- {
566
- kind: "VariableDefinition",
567
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
568
- type: {
569
- kind: "NonNullType",
570
- type: {
571
- kind: "NamedType",
572
- name: { kind: "Name", value: "SchemaType" },
573
- },
574
- },
575
- },
576
- ],
577
- selectionSet: {
578
- kind: "SelectionSet",
579
- selections: [
580
- {
581
- kind: "Field",
582
- name: { kind: "Name", value: "schema" },
583
- arguments: [
584
- {
585
- kind: "Argument",
586
- name: { kind: "Name", value: "input" },
587
- value: {
588
- kind: "Variable",
589
- name: { kind: "Name", value: "input" },
590
- },
591
- },
592
- {
593
- kind: "Argument",
594
- name: { kind: "Name", value: "type" },
595
- value: {
596
- kind: "Variable",
597
- name: { kind: "Name", value: "type" },
598
- },
599
- },
600
- ],
601
- selectionSet: {
602
- kind: "SelectionSet",
603
- selections: [
604
- {
605
- kind: "Field",
606
- name: { kind: "Name", value: "tags" },
607
- selectionSet: {
608
- kind: "SelectionSet",
609
- selections: [
610
- {
611
- kind: "Field",
612
- name: { kind: "Name", value: "__typename" },
613
- },
614
- { kind: "Field", name: { kind: "Name", value: "name" } },
615
- {
616
- kind: "Field",
617
- name: { kind: "Name", value: "operations" },
618
- selectionSet: {
619
- kind: "SelectionSet",
620
- selections: [
621
- {
622
- kind: "Field",
623
- name: { kind: "Name", value: "__typename" },
624
- },
625
- {
626
- kind: "Field",
627
- name: { kind: "Name", value: "slug" },
628
- },
629
- {
630
- kind: "Field",
631
- name: { kind: "Name", value: "deprecated" },
632
- },
633
- {
634
- kind: "Field",
635
- name: { kind: "Name", value: "method" },
636
- },
637
- {
638
- kind: "Field",
639
- name: { kind: "Name", value: "summary" },
640
- },
641
- {
642
- kind: "Field",
643
- name: { kind: "Name", value: "operationId" },
644
- },
645
- {
646
- kind: "Field",
647
- name: { kind: "Name", value: "path" },
648
- },
649
- ],
650
- },
651
- },
652
- ],
653
- },
654
- },
655
- ],
656
- },
657
- },
658
- ],
659
- },
660
- },
661
- ],
662
- };
1
+ export class TypedDocumentString extends String {
2
+ value;
3
+ __meta__;
4
+ __apiType;
5
+ constructor(value, __meta__) {
6
+ super(value);
7
+ this.value = value;
8
+ this.__meta__ = __meta__;
9
+ }
10
+ toString() {
11
+ return this.value;
12
+ }
13
+ }
14
+ export const OperationsFragmentFragmentDoc = new TypedDocumentString(`
15
+ fragment OperationsFragment on OperationItem {
16
+ slug
17
+ summary
18
+ method
19
+ description
20
+ operationId
21
+ contentTypes
22
+ path
23
+ parameters {
24
+ name
25
+ in
26
+ description
27
+ required
28
+ schema
29
+ style
30
+ examples {
31
+ name
32
+ description
33
+ externalValue
34
+ value
35
+ summary
36
+ }
37
+ }
38
+ requestBody {
39
+ content {
40
+ mediaType
41
+ encoding {
42
+ name
43
+ }
44
+ examples {
45
+ name
46
+ description
47
+ externalValue
48
+ value
49
+ summary
50
+ }
51
+ schema
52
+ }
53
+ description
54
+ required
55
+ }
56
+ responses {
57
+ statusCode
58
+ links
59
+ description
60
+ content {
61
+ examples {
62
+ name
63
+ description
64
+ externalValue
65
+ value
66
+ summary
67
+ }
68
+ mediaType
69
+ encoding {
70
+ name
71
+ }
72
+ schema
73
+ }
74
+ }
75
+ }
76
+ `, { fragmentName: "OperationsFragment" });
77
+ export const ServersQueryDocument = new TypedDocumentString(`
78
+ query ServersQuery($input: JSON!, $type: SchemaType!) {
79
+ schema(input: $input, type: $type) {
80
+ url
81
+ servers {
82
+ url
83
+ }
84
+ }
85
+ }
86
+ `);
87
+ export const AllOperationsDocument = new TypedDocumentString(`
88
+ query AllOperations($input: JSON!, $type: SchemaType!) {
89
+ schema(input: $input, type: $type) {
90
+ description
91
+ title
92
+ url
93
+ version
94
+ tags {
95
+ name
96
+ description
97
+ operations {
98
+ slug
99
+ ...OperationsFragment
100
+ }
101
+ }
102
+ }
103
+ }
104
+ fragment OperationsFragment on OperationItem {
105
+ slug
106
+ summary
107
+ method
108
+ description
109
+ operationId
110
+ contentTypes
111
+ path
112
+ parameters {
113
+ name
114
+ in
115
+ description
116
+ required
117
+ schema
118
+ style
119
+ examples {
120
+ name
121
+ description
122
+ externalValue
123
+ value
124
+ summary
125
+ }
126
+ }
127
+ requestBody {
128
+ content {
129
+ mediaType
130
+ encoding {
131
+ name
132
+ }
133
+ examples {
134
+ name
135
+ description
136
+ externalValue
137
+ value
138
+ summary
139
+ }
140
+ schema
141
+ }
142
+ description
143
+ required
144
+ }
145
+ responses {
146
+ statusCode
147
+ links
148
+ description
149
+ content {
150
+ examples {
151
+ name
152
+ description
153
+ externalValue
154
+ value
155
+ summary
156
+ }
157
+ mediaType
158
+ encoding {
159
+ name
160
+ }
161
+ schema
162
+ }
163
+ }
164
+ }`);
165
+ export const GetServerQueryDocument = new TypedDocumentString(`
166
+ query getServerQuery($input: JSON!, $type: SchemaType!) {
167
+ schema(input: $input, type: $type) {
168
+ url
169
+ servers {
170
+ url
171
+ }
172
+ }
173
+ }
174
+ `);
175
+ export const GetCategoriesDocument = new TypedDocumentString(`
176
+ query GetCategories($input: JSON!, $type: SchemaType!) {
177
+ schema(input: $input, type: $type) {
178
+ url
179
+ tags {
180
+ __typename
181
+ name
182
+ operations {
183
+ __typename
184
+ slug
185
+ deprecated
186
+ method
187
+ summary
188
+ operationId
189
+ path
190
+ }
191
+ }
192
+ }
193
+ }
194
+ `);
663
195
  //# sourceMappingURL=graphql.js.map