zudoku 0.0.0-e614aaa → 0.0.0-e6d1d34
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.
- package/README.md +1 -1
- package/dist/app/entry.server.d.ts +8 -6
- package/dist/app/entry.server.js +12 -8
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.js +2 -0
- package/dist/app/main.js.map +1 -1
- package/dist/app/tailwind.js +14 -0
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.js +2 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/dev/handler.js +2 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/preview/handler.js +13 -15
- package/dist/cli/preview/handler.js.map +1 -1
- package/dist/config/common.d.ts +0 -1
- package/dist/config/config.d.ts +13 -8
- package/dist/config/loader.d.ts +2 -2
- package/dist/config/loader.js +14 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/common.d.ts +2773 -597
- package/dist/config/validators/common.js +81 -4
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +1013 -257
- package/dist/lib/authentication/authentication.d.ts +1 -0
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +19 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -0
- package/dist/lib/authentication/providers/openid.js +20 -8
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +117 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +0 -26
- package/dist/lib/authentication/state.js +1 -16
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +5 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +2 -1
- package/dist/lib/components/Bootstrap.js +3 -2
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/Footer.d.ts +1 -0
- package/dist/lib/components/Footer.js +32 -0
- package/dist/lib/components/Footer.js.map +1 -0
- package/dist/lib/components/Header.js +4 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +2 -9
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +8 -29
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +17 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +6 -3
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Pagination.d.ts +11 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +3 -2
- package/dist/lib/components/TopNavigation.js +26 -13
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +9 -3
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +7 -0
- package/dist/lib/components/cache.js +7 -0
- package/dist/lib/components/cache.js.map +1 -1
- package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +5 -10
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +2 -2
- package/dist/lib/components/context/ZudokuContext.js +13 -7
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +5 -2
- package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +6 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +1 -12
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
- package/dist/lib/components/navigation/SidebarCategory.js +10 -6
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +17 -11
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
- package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
- package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
- package/dist/lib/core/RouteGuard.d.ts +1 -0
- package/dist/lib/core/RouteGuard.js +10 -3
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +23 -7
- package/dist/lib/core/ZudokuContext.js +12 -5
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +9 -7
- package/dist/lib/errors/ErrorAlert.js +6 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/hooks/useEvent.test.js +1 -1
- package/dist/lib/hooks/useEvent.test.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +17 -4
- package/dist/lib/oas/graphql/index.js +148 -38
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -0
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +5 -3
- package/dist/lib/oas/parser/index.js +0 -22
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +19 -17
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -9
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +63 -19
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +6 -12
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +42 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterListItem.js +9 -4
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +38 -9
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +6 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +6 -5
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +9 -5
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -4
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +108 -55
- package/dist/lib/plugins/openapi/graphql/graphql.js +59 -34
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +6 -11
- package/dist/lib/plugins/openapi/index.js +41 -60
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +36 -10
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +81 -27
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +12 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +2 -4
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +18 -13
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +33 -48
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
- package/dist/lib/plugins/openapi/schema/utils.js +3 -1
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +5 -7
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +9 -3
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +23 -10
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +19 -17
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +2 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +1 -1
- package/dist/lib/ui/Select.js +1 -1
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +0 -1
- package/dist/lib/ui/Stepper.js +1 -1
- package/dist/lib/ui/Stepper.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +2 -1
- package/dist/lib/ui/SyntaxHighlight.js +21 -15
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +3 -2
- package/dist/lib/util/MdxComponents.js +2 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/joinPath.d.ts +3 -0
- package/dist/lib/util/joinPath.js +3 -0
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/traverse.d.ts +2 -8
- package/dist/lib/util/traverse.js +2 -2
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +3 -2
- package/dist/lib/util/useOnScreen.js +3 -3
- package/dist/lib/util/useOnScreen.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +20 -12
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/api/schema-codegen.d.ts +1 -1
- package/dist/vite/api/schema-codegen.js +35 -12
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +66 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +1 -4
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +7 -9
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/create-pagefind-index.d.ts +4 -0
- package/dist/vite/create-pagefind-index.js +12 -0
- package/dist/vite/create-pagefind-index.js.map +1 -0
- package/dist/vite/dev-server.js +4 -4
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api.js +36 -29
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-config-reload.js +3 -2
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +1 -1
- package/dist/vite/plugin-docs.js +18 -1
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
- package/dist/vite/prerender/FileWritingResponse.js +5 -5
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
- package/dist/vite/prerender/InMemoryResponse.js +32 -0
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
- package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
- package/dist/vite/prerender/PrerenderResponse.js +2 -0
- package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +1 -0
- package/dist/vite/prerender/prerender.js +32 -8
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.js +41 -14
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/zuplo/with-zuplo.js +4 -0
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js → AuthenticationPlugin-foqdvvkf.js} +3 -3
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js.map → AuthenticationPlugin-foqdvvkf.js.map} +1 -1
- package/lib/Button-Fp19CMUr.js +49 -0
- package/lib/Button-Fp19CMUr.js.map +1 -0
- package/lib/Callout-B2vsR09t.js +229 -0
- package/lib/Callout-B2vsR09t.js.map +1 -0
- package/lib/{Dialog-DIKGQxQc.js → Dialog-sbgekbjb.js} +47 -32
- package/lib/{Dialog-DIKGQxQc.js.map → Dialog-sbgekbjb.js.map} +1 -1
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-DePfm7oQ.js → Markdown-aF5FdsNi.js} +6268 -4572
- package/lib/Markdown-aF5FdsNi.js.map +1 -0
- package/lib/MdxPage-Vw_dc9Yz.js +85 -0
- package/lib/MdxPage-Vw_dc9Yz.js.map +1 -0
- package/lib/{OasProvider-BSuptFK-.js → OasProvider-C5paEivQ.js} +4 -4
- package/lib/{OasProvider-BSuptFK-.js.map → OasProvider-C5paEivQ.js.map} +1 -1
- package/lib/OperationList-Ds9Izgkn.js +5069 -0
- package/lib/OperationList-Ds9Izgkn.js.map +1 -0
- package/lib/Pagination-SdlocK96.js +48 -0
- package/lib/Pagination-SdlocK96.js.map +1 -0
- package/lib/{index.esm-CQHE3GEU.js → RouteGuard-CqZPoZYJ.js} +192 -139
- package/lib/RouteGuard-CqZPoZYJ.js.map +1 -0
- package/lib/SchemaList-NZbDXAV5.js +148 -0
- package/lib/SchemaList-NZbDXAV5.js.map +1 -0
- package/lib/SchemaView-B3fOPR4V.js +357 -0
- package/lib/SchemaView-B3fOPR4V.js.map +1 -0
- package/lib/{Select-Dqtcn53H.js → Select-DVFRKf1R.js} +9 -9
- package/lib/{Select-Dqtcn53H.js.map → Select-DVFRKf1R.js.map} +1 -1
- package/lib/SlotletProvider-DXvc0aY6.js +338 -0
- package/lib/SlotletProvider-DXvc0aY6.js.map +1 -0
- package/lib/Spinner-CE68iCm0.js +7 -0
- package/lib/Spinner-CE68iCm0.js.map +1 -0
- package/lib/SyntaxHighlight-BEoSoPEo.js +2890 -0
- package/lib/SyntaxHighlight-BEoSoPEo.js.map +1 -0
- package/lib/Toc-YBsgI72s.js +92 -0
- package/lib/Toc-YBsgI72s.js.map +1 -0
- package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-HA7DTUK3-C4gP41vD.js} +278 -278
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
- package/lib/{circular-v7K6lDDh.js → circular-ByJI6Mci.js} +4887 -4419
- package/lib/circular-ByJI6Mci.js.map +1 -0
- package/lib/{createServer-DmusVVsi.js → createServer-mYvGvmc0.js} +4150 -4424
- package/lib/createServer-mYvGvmc0.js.map +1 -0
- package/lib/{hook-CN__aZIt.js → hook-CqpVYDqN.js} +398 -379
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-D48iOQvJ.js +1973 -0
- package/lib/index-D48iOQvJ.js.map +1 -0
- package/lib/index-PGJOZ6R-.js +2227 -0
- package/lib/index-PGJOZ6R-.js.map +1 -0
- package/lib/{mutation-EclmI0is.js → mutation-8LjrN7uz.js} +2 -2
- package/lib/{mutation-EclmI0is.js.map → mutation-8LjrN7uz.js.map} +1 -1
- package/lib/post-processors/traverse.js +2 -2
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
- package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
- package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
- package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
- package/lib/prism-jsstacktrace.min-BfobCF2F.js +2 -0
- package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +1 -0
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
- package/lib/ui/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Button.js +13 -12
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +39 -21
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Checkbox.js +15 -25
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +1 -1
- package/lib/ui/Drawer.js +14 -1129
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Stepper.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +8 -2902
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-RIvey2Oy.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/useLatest-hmRS46UF.js +11 -0
- package/lib/useLatest-hmRS46UF.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +59 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +341 -337
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +32 -1395
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +94 -98
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +233 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +32 -24
- package/src/app/entry.server.tsx +23 -13
- package/src/app/main.css +98 -57
- package/src/app/main.tsx +2 -0
- package/src/app/tailwind.ts +14 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/clerk.tsx +22 -2
- package/src/lib/authentication/providers/openid.tsx +23 -10
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +1 -35
- package/src/lib/components/AnchorLink.tsx +9 -7
- package/src/lib/components/Bootstrap.tsx +13 -6
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Header.tsx +11 -7
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +22 -68
- package/src/lib/components/Main.tsx +50 -0
- package/src/lib/components/MobileTopNavigation.tsx +27 -18
- package/src/lib/components/Pagination.tsx +50 -0
- package/src/lib/components/TopNavigation.tsx +40 -17
- package/src/lib/components/Zudoku.tsx +12 -3
- package/src/lib/components/cache.ts +8 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +6 -15
- package/src/lib/components/context/ZudokuContext.ts +17 -8
- package/src/lib/components/navigation/PoweredByZudoku.tsx +23 -0
- package/src/lib/components/navigation/Sidebar.tsx +30 -44
- package/src/lib/components/navigation/SidebarCategory.tsx +15 -12
- package/src/lib/components/navigation/SidebarItem.tsx +21 -29
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -23
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/core/RouteGuard.tsx +27 -4
- package/src/lib/core/ZudokuContext.ts +35 -15
- package/src/lib/core/plugins.ts +8 -8
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/hooks/useEvent.test.tsx +1 -1
- package/src/lib/oas/graphql/index.ts +202 -54
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +7 -29
- package/src/lib/plugins/api-catalog/Catalog.tsx +1 -4
- package/src/lib/plugins/api-catalog/index.tsx +40 -35
- package/src/lib/plugins/markdown/MdxPage.tsx +11 -47
- package/src/lib/plugins/openapi/ColorizedParam.tsx +1 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
- package/src/lib/plugins/openapi/OperationList.tsx +162 -84
- package/src/lib/plugins/openapi/OperationListItem.tsx +116 -110
- package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +35 -23
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +47 -11
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +13 -5
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +29 -20
- package/src/lib/plugins/openapi/graphql/graphql.ts +172 -86
- package/src/lib/plugins/openapi/index.tsx +55 -87
- package/src/lib/plugins/openapi/interfaces.ts +44 -15
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +0 -1
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
- package/src/lib/plugins/openapi/playground/Playground.tsx +175 -88
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +0 -1
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +24 -4
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +36 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +47 -50
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +84 -138
- package/src/lib/plugins/openapi/schema/utils.ts +7 -1
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +5 -7
- package/src/lib/plugins/openapi/util/getRoutes.tsx +9 -6
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +39 -14
- package/src/lib/plugins/search-pagefind/ResultList.tsx +60 -53
- package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
- package/src/lib/ui/Button.tsx +4 -2
- package/src/lib/ui/Callout.tsx +28 -10
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +96 -96
- package/src/lib/util/MdxComponents.tsx +2 -2
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/traverse.ts +4 -8
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +22 -12
- package/dist/lib/components/context/PluginSystem.d.ts +0 -1
- package/dist/lib/components/context/PluginSystem.js +0 -2
- package/dist/lib/components/context/PluginSystem.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/vite/pagefind.d.ts +0 -4
- package/dist/vite/pagefind.js +0 -15
- package/dist/vite/pagefind.js.map +0 -1
- package/lib/Markdown-DePfm7oQ.js.map +0 -1
- package/lib/MdxPage-BN6l6zXL.js +0 -201
- package/lib/MdxPage-BN6l6zXL.js.map +0 -1
- package/lib/OperationList-DOcfDmJP.js +0 -5217
- package/lib/OperationList-DOcfDmJP.js.map +0 -1
- package/lib/SlotletProvider-DdtIOUi6.js +0 -221
- package/lib/SlotletProvider-DdtIOUi6.js.map +0 -1
- package/lib/Spinner-1KrEmx1V.js +0 -51
- package/lib/Spinner-1KrEmx1V.js.map +0 -1
- package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
- package/lib/circular-v7K6lDDh.js.map +0 -1
- package/lib/createServer-DmusVVsi.js.map +0 -1
- package/lib/hook-CN__aZIt.js.map +0 -1
- package/lib/index-BTbP6Lgf.js +0 -2103
- package/lib/index-BTbP6Lgf.js.map +0 -1
- package/lib/index.esm-CQHE3GEU.js.map +0 -1
- package/lib/joinUrl-10po2Jdj.js +0 -20
- package/lib/joinUrl-10po2Jdj.js.map +0 -1
- package/lib/useScrollToAnchor-RyqO3lj4.js +0 -290
- package/lib/useScrollToAnchor-RyqO3lj4.js.map +0 -1
- package/lib/zudoku.css +0 -1
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/ui/Stepper.css +0 -43
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -58,6 +58,10 @@ export type Scalars = {
|
|
|
58
58
|
output: any;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
+
export type Components = {
|
|
62
|
+
__typename?: "Components";
|
|
63
|
+
schemas?: Maybe<Array<SchemaItem>>;
|
|
64
|
+
};
|
|
61
65
|
export type EncodingItem = {
|
|
62
66
|
__typename?: "EncodingItem";
|
|
63
67
|
allowReserved?: Maybe<Scalars["Boolean"]["output"]>;
|
|
@@ -87,6 +91,7 @@ export type OperationItem = {
|
|
|
87
91
|
contentTypes: Array<Scalars["String"]["output"]>;
|
|
88
92
|
deprecated?: Maybe<Scalars["Boolean"]["output"]>;
|
|
89
93
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
94
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
90
95
|
method: Scalars["String"]["output"];
|
|
91
96
|
operationId?: Maybe<Scalars["String"]["output"]>;
|
|
92
97
|
parameters?: Maybe<Array<ParameterItem>>;
|
|
@@ -106,6 +111,7 @@ export type ParameterItem = {
|
|
|
106
111
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
107
112
|
examples?: Maybe<Array<ExampleItem>>;
|
|
108
113
|
explode?: Maybe<Scalars["Boolean"]["output"]>;
|
|
114
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
109
115
|
in: ParameterIn;
|
|
110
116
|
name: Scalars["String"]["output"];
|
|
111
117
|
required?: Maybe<Scalars["Boolean"]["output"]>;
|
|
@@ -135,18 +141,22 @@ export type ResponseItem = {
|
|
|
135
141
|
__typename?: "ResponseItem";
|
|
136
142
|
content?: Maybe<Array<MediaTypeObject>>;
|
|
137
143
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
144
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
138
145
|
headers?: Maybe<Scalars["JSON"]["output"]>;
|
|
139
146
|
links?: Maybe<Scalars["JSON"]["output"]>;
|
|
140
147
|
statusCode: Scalars["String"]["output"];
|
|
141
148
|
};
|
|
142
149
|
export type Schema = {
|
|
143
150
|
__typename?: "Schema";
|
|
151
|
+
components?: Maybe<Components>;
|
|
144
152
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
153
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
145
154
|
openapi: Scalars["String"]["output"];
|
|
146
155
|
operations: Array<OperationItem>;
|
|
147
156
|
paths: Array<PathItem>;
|
|
148
157
|
servers: Array<Server>;
|
|
149
158
|
summary?: Maybe<Scalars["String"]["output"]>;
|
|
159
|
+
tag?: Maybe<SchemaTag>;
|
|
150
160
|
tags: Array<SchemaTag>;
|
|
151
161
|
title: Scalars["String"]["output"];
|
|
152
162
|
url?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -159,14 +169,27 @@ export type SchemaOperationsArgs = {
|
|
|
159
169
|
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
160
170
|
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
161
171
|
};
|
|
162
|
-
export type
|
|
172
|
+
export type SchemaTagArgs = {
|
|
163
173
|
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
174
|
+
slug?: InputMaybe<Scalars["String"]["input"]>;
|
|
175
|
+
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
176
|
+
};
|
|
177
|
+
export type SchemaItem = {
|
|
178
|
+
__typename?: "SchemaItem";
|
|
179
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
180
|
+
name: Scalars["String"]["output"];
|
|
181
|
+
schema: Scalars["JSONSchema"]["output"];
|
|
164
182
|
};
|
|
165
183
|
export type SchemaTag = {
|
|
166
184
|
__typename?: "SchemaTag";
|
|
167
185
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
168
|
-
|
|
186
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
187
|
+
isUntagged: Scalars["Boolean"]["output"];
|
|
188
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
189
|
+
next?: Maybe<SchemaTag>;
|
|
169
190
|
operations: Array<OperationItem>;
|
|
191
|
+
prev?: Maybe<SchemaTag>;
|
|
192
|
+
slug?: Maybe<Scalars["String"]["output"]>;
|
|
170
193
|
};
|
|
171
194
|
export type SchemaType = "file" | "raw" | "url";
|
|
172
195
|
export type Server = {
|
|
@@ -177,6 +200,7 @@ export type Server = {
|
|
|
177
200
|
export type TagItem = {
|
|
178
201
|
__typename?: "TagItem";
|
|
179
202
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
203
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
180
204
|
name: Scalars["String"]["output"];
|
|
181
205
|
};
|
|
182
206
|
export type ServersQueryQueryVariables = Exact<{
|
|
@@ -203,6 +227,8 @@ export type OperationsFragmentFragment = {
|
|
|
203
227
|
operationId?: string | null;
|
|
204
228
|
contentTypes: Array<string>;
|
|
205
229
|
path: string;
|
|
230
|
+
deprecated?: boolean | null;
|
|
231
|
+
extensions?: any | null;
|
|
206
232
|
parameters?: Array<{
|
|
207
233
|
__typename?: "ParameterItem";
|
|
208
234
|
name: string;
|
|
@@ -211,6 +237,7 @@ export type OperationsFragmentFragment = {
|
|
|
211
237
|
required?: boolean | null;
|
|
212
238
|
schema?: any | null;
|
|
213
239
|
style?: string | null;
|
|
240
|
+
explode?: boolean | null;
|
|
214
241
|
examples?: Array<{
|
|
215
242
|
__typename?: "ExampleItem";
|
|
216
243
|
name: string;
|
|
@@ -268,13 +295,24 @@ export type OperationsFragmentFragment = {
|
|
|
268
295
|
} & {
|
|
269
296
|
" $fragmentName"?: "OperationsFragmentFragment";
|
|
270
297
|
};
|
|
271
|
-
export type
|
|
298
|
+
export type SchemaWarmupQueryVariables = Exact<{
|
|
299
|
+
input: Scalars["JSON"]["input"];
|
|
300
|
+
type: SchemaType;
|
|
301
|
+
}>;
|
|
302
|
+
export type SchemaWarmupQuery = {
|
|
303
|
+
__typename?: "Query";
|
|
304
|
+
schema: {
|
|
305
|
+
__typename?: "Schema";
|
|
306
|
+
openapi: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
export type OperationsForTagQueryVariables = Exact<{
|
|
272
310
|
input: Scalars["JSON"]["input"];
|
|
273
311
|
type: SchemaType;
|
|
274
312
|
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
275
313
|
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
276
314
|
}>;
|
|
277
|
-
export type
|
|
315
|
+
export type OperationsForTagQuery = {
|
|
278
316
|
__typename?: "Query";
|
|
279
317
|
schema: {
|
|
280
318
|
__typename?: "Schema";
|
|
@@ -287,94 +325,109 @@ export type AllOperationsQuery = {
|
|
|
287
325
|
__typename?: "Server";
|
|
288
326
|
url: string;
|
|
289
327
|
}>;
|
|
290
|
-
|
|
328
|
+
tag?: {
|
|
291
329
|
__typename?: "SchemaTag";
|
|
292
|
-
name
|
|
330
|
+
name?: string | null;
|
|
293
331
|
description?: string | null;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
332
|
+
operations: Array<{
|
|
333
|
+
__typename?: "OperationItem";
|
|
334
|
+
slug: string;
|
|
335
|
+
} & {
|
|
336
|
+
" $fragmentRefs"?: {
|
|
337
|
+
OperationsFragmentFragment: OperationsFragmentFragment;
|
|
338
|
+
};
|
|
339
|
+
}>;
|
|
340
|
+
next?: {
|
|
341
|
+
__typename?: "SchemaTag";
|
|
342
|
+
name?: string | null;
|
|
343
|
+
slug?: string | null;
|
|
344
|
+
} | null;
|
|
345
|
+
prev?: {
|
|
346
|
+
__typename?: "SchemaTag";
|
|
347
|
+
name?: string | null;
|
|
348
|
+
slug?: string | null;
|
|
349
|
+
} | null;
|
|
350
|
+
} | null;
|
|
303
351
|
};
|
|
304
352
|
};
|
|
305
|
-
export type
|
|
353
|
+
export type GetSchemasQueryVariables = Exact<{
|
|
306
354
|
input: Scalars["JSON"]["input"];
|
|
307
355
|
type: SchemaType;
|
|
308
356
|
}>;
|
|
309
|
-
export type
|
|
357
|
+
export type GetSchemasQuery = {
|
|
310
358
|
__typename?: "Query";
|
|
311
359
|
schema: {
|
|
312
360
|
__typename?: "Schema";
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
361
|
+
title: string;
|
|
362
|
+
description?: string | null;
|
|
363
|
+
summary?: string | null;
|
|
364
|
+
components?: {
|
|
365
|
+
__typename?: "Components";
|
|
366
|
+
schemas?: Array<{
|
|
367
|
+
__typename?: "SchemaItem";
|
|
368
|
+
name: string;
|
|
369
|
+
schema: any;
|
|
370
|
+
extensions?: any | null;
|
|
371
|
+
}> | null;
|
|
372
|
+
} | null;
|
|
318
373
|
};
|
|
319
374
|
};
|
|
320
|
-
export type
|
|
375
|
+
export type GetServerQueryQueryVariables = Exact<{
|
|
321
376
|
input: Scalars["JSON"]["input"];
|
|
322
377
|
type: SchemaType;
|
|
323
378
|
}>;
|
|
324
|
-
export type
|
|
379
|
+
export type GetServerQueryQuery = {
|
|
325
380
|
__typename?: "Query";
|
|
326
381
|
schema: {
|
|
327
382
|
__typename?: "Schema";
|
|
328
383
|
url?: string | null;
|
|
329
|
-
|
|
330
|
-
__typename?: "
|
|
331
|
-
|
|
384
|
+
servers: Array<{
|
|
385
|
+
__typename?: "Server";
|
|
386
|
+
url: string;
|
|
332
387
|
}>;
|
|
333
388
|
};
|
|
334
389
|
};
|
|
335
|
-
export type
|
|
390
|
+
export type GetSidebarOperationsQueryVariables = Exact<{
|
|
336
391
|
input: Scalars["JSON"]["input"];
|
|
337
392
|
type: SchemaType;
|
|
338
|
-
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
339
393
|
}>;
|
|
340
|
-
export type
|
|
394
|
+
export type GetSidebarOperationsQuery = {
|
|
341
395
|
__typename?: "Query";
|
|
342
396
|
schema: {
|
|
343
397
|
__typename?: "Schema";
|
|
344
|
-
|
|
345
|
-
__typename?: "
|
|
346
|
-
slug
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
untagged: Array<{
|
|
358
|
-
__typename?: "OperationItem";
|
|
359
|
-
slug: string;
|
|
360
|
-
deprecated?: boolean | null;
|
|
361
|
-
method: string;
|
|
362
|
-
summary?: string | null;
|
|
363
|
-
operationId?: string | null;
|
|
364
|
-
path: string;
|
|
398
|
+
tags: Array<{
|
|
399
|
+
__typename?: "SchemaTag";
|
|
400
|
+
slug?: string | null;
|
|
401
|
+
name?: string | null;
|
|
402
|
+
extensions?: any | null;
|
|
403
|
+
operations: Array<{
|
|
404
|
+
__typename?: "OperationItem";
|
|
405
|
+
summary?: string | null;
|
|
406
|
+
slug: string;
|
|
407
|
+
method: string;
|
|
408
|
+
operationId?: string | null;
|
|
409
|
+
path: string;
|
|
410
|
+
}>;
|
|
365
411
|
}>;
|
|
412
|
+
components?: {
|
|
413
|
+
__typename?: "Components";
|
|
414
|
+
schemas?: Array<{
|
|
415
|
+
__typename: "SchemaItem";
|
|
416
|
+
}> | null;
|
|
417
|
+
} | null;
|
|
366
418
|
};
|
|
367
419
|
};
|
|
368
420
|
export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
|
|
421
|
+
__apiType?: DocumentTypeDecoration<TResult, TVariables>["__apiType"];
|
|
369
422
|
private value;
|
|
370
423
|
__meta__?: Record<string, any> | undefined;
|
|
371
|
-
__apiType?: DocumentTypeDecoration<TResult, TVariables>["__apiType"];
|
|
372
424
|
constructor(value: string, __meta__?: Record<string, any> | undefined);
|
|
373
425
|
toString(): string & DocumentTypeDecoration<TResult, TVariables>;
|
|
374
426
|
}
|
|
375
427
|
export declare const OperationsFragmentFragmentDoc: TypedDocumentString<OperationsFragmentFragment, unknown>;
|
|
376
428
|
export declare const ServersQueryDocument: TypedDocumentString<ServersQueryQuery, ServersQueryQueryVariables>;
|
|
377
|
-
export declare const
|
|
429
|
+
export declare const SchemaWarmupDocument: TypedDocumentString<SchemaWarmupQuery, SchemaWarmupQueryVariables>;
|
|
430
|
+
export declare const OperationsForTagDocument: TypedDocumentString<OperationsForTagQuery, OperationsForTagQueryVariables>;
|
|
431
|
+
export declare const GetSchemasDocument: TypedDocumentString<GetSchemasQuery, GetSchemasQueryVariables>;
|
|
378
432
|
export declare const GetServerQueryDocument: TypedDocumentString<GetServerQueryQuery, GetServerQueryQueryVariables>;
|
|
379
|
-
export declare const
|
|
380
|
-
export declare const GetOperationsDocument: TypedDocumentString<GetOperationsQuery, GetOperationsQueryVariables>;
|
|
433
|
+
export declare const GetSidebarOperationsDocument: TypedDocumentString<GetSidebarOperationsQuery, GetSidebarOperationsQueryVariables>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class TypedDocumentString extends String {
|
|
2
|
+
__apiType;
|
|
2
3
|
value;
|
|
3
4
|
__meta__;
|
|
4
|
-
__apiType;
|
|
5
5
|
constructor(value, __meta__) {
|
|
6
6
|
super(value);
|
|
7
7
|
this.value = value;
|
|
@@ -20,6 +20,8 @@ export const OperationsFragmentFragmentDoc = new TypedDocumentString(`
|
|
|
20
20
|
operationId
|
|
21
21
|
contentTypes
|
|
22
22
|
path
|
|
23
|
+
deprecated
|
|
24
|
+
extensions
|
|
23
25
|
parameters {
|
|
24
26
|
name
|
|
25
27
|
in
|
|
@@ -27,6 +29,7 @@ export const OperationsFragmentFragmentDoc = new TypedDocumentString(`
|
|
|
27
29
|
required
|
|
28
30
|
schema
|
|
29
31
|
style
|
|
32
|
+
explode
|
|
30
33
|
examples {
|
|
31
34
|
name
|
|
32
35
|
description
|
|
@@ -84,8 +87,15 @@ export const ServersQueryDocument = new TypedDocumentString(`
|
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
`);
|
|
87
|
-
export const
|
|
88
|
-
query
|
|
90
|
+
export const SchemaWarmupDocument = new TypedDocumentString(`
|
|
91
|
+
query SchemaWarmup($input: JSON!, $type: SchemaType!) {
|
|
92
|
+
schema(input: $input, type: $type) {
|
|
93
|
+
openapi
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
`);
|
|
97
|
+
export const OperationsForTagDocument = new TypedDocumentString(`
|
|
98
|
+
query OperationsForTag($input: JSON!, $type: SchemaType!, $tag: String, $untagged: Boolean) {
|
|
89
99
|
schema(input: $input, type: $type) {
|
|
90
100
|
servers {
|
|
91
101
|
url
|
|
@@ -95,13 +105,21 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
95
105
|
title
|
|
96
106
|
url
|
|
97
107
|
version
|
|
98
|
-
|
|
108
|
+
tag(slug: $tag, untagged: $untagged) {
|
|
99
109
|
name
|
|
100
110
|
description
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
111
|
+
operations {
|
|
112
|
+
slug
|
|
113
|
+
...OperationsFragment
|
|
114
|
+
}
|
|
115
|
+
next {
|
|
116
|
+
name
|
|
117
|
+
slug
|
|
118
|
+
}
|
|
119
|
+
prev {
|
|
120
|
+
name
|
|
121
|
+
slug
|
|
122
|
+
}
|
|
105
123
|
}
|
|
106
124
|
}
|
|
107
125
|
}
|
|
@@ -113,6 +131,8 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
113
131
|
operationId
|
|
114
132
|
contentTypes
|
|
115
133
|
path
|
|
134
|
+
deprecated
|
|
135
|
+
extensions
|
|
116
136
|
parameters {
|
|
117
137
|
name
|
|
118
138
|
in
|
|
@@ -120,6 +140,7 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
120
140
|
required
|
|
121
141
|
schema
|
|
122
142
|
style
|
|
143
|
+
explode
|
|
123
144
|
examples {
|
|
124
145
|
name
|
|
125
146
|
description
|
|
@@ -166,47 +187,51 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
166
187
|
}
|
|
167
188
|
}
|
|
168
189
|
}`);
|
|
169
|
-
export const
|
|
170
|
-
query
|
|
190
|
+
export const GetSchemasDocument = new TypedDocumentString(`
|
|
191
|
+
query GetSchemas($input: JSON!, $type: SchemaType!) {
|
|
171
192
|
schema(input: $input, type: $type) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
193
|
+
title
|
|
194
|
+
description
|
|
195
|
+
summary
|
|
196
|
+
components {
|
|
197
|
+
schemas {
|
|
198
|
+
name
|
|
199
|
+
schema
|
|
200
|
+
extensions
|
|
201
|
+
}
|
|
175
202
|
}
|
|
176
203
|
}
|
|
177
204
|
}
|
|
178
205
|
`);
|
|
179
|
-
export const
|
|
180
|
-
query
|
|
206
|
+
export const GetServerQueryDocument = new TypedDocumentString(`
|
|
207
|
+
query getServerQuery($input: JSON!, $type: SchemaType!) {
|
|
181
208
|
schema(input: $input, type: $type) {
|
|
182
209
|
url
|
|
183
|
-
|
|
184
|
-
|
|
210
|
+
servers {
|
|
211
|
+
url
|
|
185
212
|
}
|
|
186
213
|
}
|
|
187
214
|
}
|
|
188
215
|
`);
|
|
189
|
-
export const
|
|
190
|
-
query
|
|
216
|
+
export const GetSidebarOperationsDocument = new TypedDocumentString(`
|
|
217
|
+
query GetSidebarOperations($input: JSON!, $type: SchemaType!) {
|
|
191
218
|
schema(input: $input, type: $type) {
|
|
192
|
-
|
|
219
|
+
tags {
|
|
193
220
|
slug
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
221
|
+
name
|
|
222
|
+
extensions
|
|
223
|
+
operations {
|
|
224
|
+
summary
|
|
225
|
+
slug
|
|
226
|
+
method
|
|
227
|
+
operationId
|
|
228
|
+
path
|
|
201
229
|
}
|
|
202
230
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
summary
|
|
208
|
-
operationId
|
|
209
|
-
path
|
|
231
|
+
components {
|
|
232
|
+
schemas {
|
|
233
|
+
__typename
|
|
234
|
+
}
|
|
210
235
|
}
|
|
211
236
|
}
|
|
212
237
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../../../../src/lib/plugins/openapi/graphql/graphql.ts"],"names":[],"m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;;;;;;;;;KAsB/D,CAGJ,CAAC"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import type { ResultOf } from "@graphql-typed-document-node/core";
|
|
2
1
|
import { type ZudokuPlugin } from "../../core/plugins.js";
|
|
3
|
-
import type {
|
|
4
|
-
import { OasPluginConfig } from "./interfaces.js";
|
|
5
|
-
declare const
|
|
2
|
+
import type { GetSidebarOperationsQuery } from "./graphql/graphql.js";
|
|
3
|
+
import { type OasPluginConfig } from "./interfaces.js";
|
|
4
|
+
declare const GetSidebarOperationsQuery: import("./graphql/graphql.js").TypedDocumentString<GetSidebarOperationsQuery, import("./graphql/graphql.js").Exact<{
|
|
6
5
|
input: import("./graphql/graphql.js").Scalars["JSON"]["input"];
|
|
7
6
|
type: import("./graphql/graphql.js").SchemaType;
|
|
8
|
-
tag?: import("./graphql/graphql.js").InputMaybe<import("./graphql/graphql.js").Scalars["String"]["input"]>;
|
|
9
7
|
}>>;
|
|
10
|
-
export type OperationResult =
|
|
11
|
-
type
|
|
12
|
-
schemaImports?: SchemaImports;
|
|
13
|
-
};
|
|
14
|
-
export type OpenApiPluginOptions = OasPluginConfig & InternalOasPluginConfig;
|
|
8
|
+
export type OperationResult = GetSidebarOperationsQuery["schema"]["tags"][number]["operations"][number];
|
|
9
|
+
export type OpenApiPluginOptions = OasPluginConfig;
|
|
15
10
|
export declare const UNTAGGED_PATH = "~endpoints";
|
|
16
|
-
export declare const openApiPlugin: (config:
|
|
11
|
+
export declare const openApiPlugin: (config: OasPluginConfig) => ZudokuPlugin;
|
|
17
12
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import slugify from "@sindresorhus/slugify";
|
|
3
2
|
import { CirclePlayIcon, LogInIcon } from "lucide-react";
|
|
4
3
|
import { matchPath } from "react-router";
|
|
5
4
|
import { useAuth } from "../../authentication/hook.js";
|
|
@@ -10,37 +9,25 @@ import { graphql } from "./graphql/index.js";
|
|
|
10
9
|
import { PlaygroundDialog } from "./playground/PlaygroundDialog.js";
|
|
11
10
|
import { createSidebarCategory } from "./util/createSidebarCategory.js";
|
|
12
11
|
import { getRoutes, getVersions } from "./util/getRoutes.js";
|
|
13
|
-
const
|
|
14
|
-
query
|
|
12
|
+
const GetSidebarOperationsQuery = graphql(`
|
|
13
|
+
query GetSidebarOperations($input: JSON!, $type: SchemaType!) {
|
|
15
14
|
schema(input: $input, type: $type) {
|
|
16
|
-
url
|
|
17
15
|
tags {
|
|
18
|
-
name
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`);
|
|
23
|
-
const GetOperationsQuery = graphql(`
|
|
24
|
-
query GetOperations($input: JSON!, $type: SchemaType!, $tag: String) {
|
|
25
|
-
schema(input: $input, type: $type) {
|
|
26
|
-
operations(tag: $tag) {
|
|
27
16
|
slug
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
name
|
|
18
|
+
extensions
|
|
19
|
+
operations {
|
|
20
|
+
summary
|
|
21
|
+
slug
|
|
22
|
+
method
|
|
23
|
+
operationId
|
|
24
|
+
path
|
|
35
25
|
}
|
|
36
26
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
summary
|
|
42
|
-
operationId
|
|
43
|
-
path
|
|
27
|
+
components {
|
|
28
|
+
schemas {
|
|
29
|
+
__typename
|
|
30
|
+
}
|
|
44
31
|
}
|
|
45
32
|
}
|
|
46
33
|
}
|
|
@@ -70,7 +57,7 @@ export const openApiPlugin = (config) => {
|
|
|
70
57
|
return (_jsx(PlaygroundDialog, { url: url ?? "/", method: method ?? "get", server: server, ...props, children: _jsx(Button, { className: "gap-2 items-center", variant: "outline", children: children ?? (_jsxs(_Fragment, { children: ["Open in Playground ", _jsx(CirclePlayIcon, { size: 16 })] })) }) }));
|
|
71
58
|
},
|
|
72
59
|
}),
|
|
73
|
-
getSidebar: async (path) => {
|
|
60
|
+
getSidebar: async (path, context) => {
|
|
74
61
|
if (!matchPath({ path: basePath, end: false }, path)) {
|
|
75
62
|
return [];
|
|
76
63
|
}
|
|
@@ -78,49 +65,43 @@ export const openApiPlugin = (config) => {
|
|
|
78
65
|
try {
|
|
79
66
|
const versionParam = match?.params.version;
|
|
80
67
|
const version = versionParam ?? getVersions(config).at(0);
|
|
81
|
-
const type = config
|
|
82
|
-
const input =
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
client.fetch(GetOperationsQuery, {
|
|
90
|
-
type,
|
|
91
|
-
input,
|
|
92
|
-
tag: !config.loadTags ? tagName : undefined,
|
|
93
|
-
}),
|
|
94
|
-
]);
|
|
95
|
-
const categories = tagData.schema.tags.flatMap((tag) => {
|
|
96
|
-
const categoryPath = joinUrl(basePath, versionParam, slugify(tag.name));
|
|
97
|
-
const operations = operationsData.schema.operations.filter((operation) => operation.tags?.length !== 0 &&
|
|
98
|
-
operation.tags?.map((t) => t.name).includes(tag.name));
|
|
99
|
-
// skip empty categories
|
|
100
|
-
if (config.loadTags && operations.length === 0) {
|
|
68
|
+
const { type } = config;
|
|
69
|
+
const input = type === "file" ? config.input[version] : config.input;
|
|
70
|
+
const data = await context.queryClient.ensureQueryData({
|
|
71
|
+
queryKey: ["sidebar-operations-query", input],
|
|
72
|
+
queryFn: () => client.fetch(GetSidebarOperationsQuery, { type, input }),
|
|
73
|
+
});
|
|
74
|
+
const categories = data.schema.tags.flatMap((tag) => {
|
|
75
|
+
if (!tag.name || tag.operations.length === 0)
|
|
101
76
|
return [];
|
|
102
|
-
|
|
77
|
+
const categoryPath = joinUrl(basePath, versionParam, tag.slug);
|
|
78
|
+
const isCollapsed = tag.extensions?.["x-zudoku-collapsed"] ??
|
|
79
|
+
!config.options?.expandAllTags;
|
|
80
|
+
const isCollapsible = tag.extensions?.["x-zudoku-collapsible"] ?? true;
|
|
103
81
|
return createSidebarCategory({
|
|
104
82
|
label: tag.name,
|
|
105
83
|
path: categoryPath,
|
|
106
|
-
operations:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
collapsible,
|
|
110
|
-
collapsed,
|
|
84
|
+
operations: tag.operations,
|
|
85
|
+
collapsed: isCollapsed,
|
|
86
|
+
collapsible: isCollapsible,
|
|
111
87
|
});
|
|
112
88
|
});
|
|
113
|
-
|
|
89
|
+
const untaggedOperations = data.schema.tags.find((tag) => !tag.name)?.operations;
|
|
90
|
+
if (untaggedOperations) {
|
|
114
91
|
categories.push(createSidebarCategory({
|
|
115
92
|
label: "Other endpoints",
|
|
116
93
|
path: joinUrl(basePath, versionParam, UNTAGGED_PATH),
|
|
117
|
-
operations:
|
|
118
|
-
|
|
119
|
-
: [],
|
|
120
|
-
collapsible,
|
|
121
|
-
collapsed,
|
|
94
|
+
operations: untaggedOperations,
|
|
95
|
+
collapsed: !config.options?.expandAllTags,
|
|
122
96
|
}));
|
|
123
97
|
}
|
|
98
|
+
if (data.schema.components?.schemas?.length) {
|
|
99
|
+
categories.push({
|
|
100
|
+
type: "link",
|
|
101
|
+
label: "Schemas",
|
|
102
|
+
href: joinUrl(basePath, versionParam, "~schemas"),
|
|
103
|
+
});
|
|
104
|
+
}
|
|
124
105
|
return categories;
|
|
125
106
|
}
|
|
126
107
|
catch {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/plugins/openapi/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/plugins/openapi/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,8B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