zudoku 0.0.0-f3f6db5 → 0.0.0-f471fb8
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/cli.js +3 -0
- package/dist/app/entry.client.d.ts +5 -0
- package/dist/app/entry.client.js +1 -0
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +5 -4
- package/dist/app/entry.server.js +11 -7
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.js +4 -3
- package/dist/app/main.js.map +1 -1
- package/dist/app/tailwind.js +20 -0
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +7 -0
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +5 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +20 -13
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js +7 -1
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/cmds/preview.d.ts +16 -0
- package/dist/cli/cmds/preview.js +25 -0
- package/dist/cli/cmds/preview.js.map +1 -0
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/ports.d.ts +1 -1
- package/dist/cli/common/utils/ports.js +16 -15
- package/dist/cli/common/utils/ports.js.map +1 -1
- package/dist/cli/dev/handler.js +14 -12
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/dev/pagefind-command.d.ts +3 -0
- package/dist/cli/dev/pagefind-command.js +59 -0
- package/dist/cli/dev/pagefind-command.js.map +1 -0
- package/dist/cli/preview/handler.d.ts +3 -0
- package/dist/cli/preview/handler.js +35 -0
- package/dist/cli/preview/handler.js.map +1 -0
- package/dist/config/common.d.ts +5 -3
- package/dist/config/config.d.ts +15 -15
- package/dist/config/loader.d.ts +6 -6
- package/dist/config/loader.js +20 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +15 -15
- package/dist/config/validators/InputSidebarSchema.js +10 -1
- package/dist/config/validators/InputSidebarSchema.js.map +1 -1
- package/dist/config/validators/common.d.ts +2318 -503
- package/dist/config/validators/common.js +94 -17
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/icon-types.d.ts +1 -1
- package/dist/config/validators/validate.d.ts +891 -219
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +2 -0
- package/dist/lib/MissingIcon.js +7 -0
- package/dist/lib/MissingIcon.js.map +1 -0
- 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/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +1 -0
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +25 -6
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +5 -3
- package/dist/lib/authentication/providers/openid.js +24 -10
- 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 -17
- package/dist/lib/authentication/state.js +9 -7
- 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/Autocomplete.d.ts +4 -3
- package/dist/lib/components/Autocomplete.js +2 -2
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Header.js +4 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +2 -2
- 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 +7 -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 +1 -1
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Pagination.d.ts +10 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/PathRenderer.js +23 -20
- package/dist/lib/components/PathRenderer.js.map +1 -1
- package/dist/lib/components/ThemeSwitch.js +8 -5
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +2 -2
- package/dist/lib/components/TopNavigation.js +28 -14
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +12 -8
- 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/RouterEventsEmitter.d.ts +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
- package/dist/lib/components/context/RouterEventsEmitter.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 +21 -9
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +9 -2
- package/dist/lib/components/index.js +4 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +8 -5
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +2 -0
- package/dist/lib/components/navigation/SidebarBadge.js +3 -1
- package/dist/lib/components/navigation/SidebarBadge.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 -10
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +8 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +1 -2
- 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/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +28 -10
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +29 -6
- package/dist/lib/core/ZudokuContext.js +29 -6
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +17 -7
- package/dist/lib/core/plugins.js +3 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +6 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +3 -0
- package/dist/lib/hooks/index.js +5 -0
- package/dist/lib/hooks/index.js.map +1 -0
- package/dist/lib/hooks/useEvent.d.ts +11 -0
- package/dist/lib/hooks/useEvent.js +19 -0
- package/dist/lib/hooks/useEvent.js.map +1 -0
- package/dist/lib/hooks/useEvent.test.d.ts +1 -0
- package/dist/lib/hooks/useEvent.test.js +100 -0
- package/dist/lib/hooks/useEvent.test.js.map +1 -0
- package/dist/lib/icons.d.ts +1 -0
- package/dist/lib/icons.js +1 -0
- package/dist/lib/icons.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +24 -4
- package/dist/lib/oas/graphql/index.js +163 -48
- 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/oas/parser/upgrade/index.js +2 -1
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -2
- package/dist/lib/plugins/api-catalog/Catalog.js +16 -26
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.d.ts +1 -0
- package/dist/lib/plugins/api-catalog/index.js +39 -8
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js +7 -3
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +1 -0
- package/dist/lib/plugins/api-keys/index.js +1 -0
- package/dist/lib/plugins/api-keys/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/markdown/resolver.d.ts +0 -6
- package/dist/lib/plugins/markdown/resolver.js +0 -29
- package/dist/lib/plugins/markdown/resolver.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +6 -7
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/{OpenApiRoute.d.ts → OasProvider.d.ts} +1 -2
- package/dist/lib/plugins/openapi/OasProvider.js +29 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +2 -2
- package/dist/lib/plugins/openapi/OperationList.js +71 -22
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +3 -2
- package/dist/lib/plugins/openapi/OperationListItem.js +8 -13
- 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/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +8 -4
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +9 -3
- 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 +41 -12
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.js +2 -2
- package/dist/lib/plugins/openapi/SidecarExamples.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 -15
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +110 -41
- package/dist/lib/plugins/openapi/graphql/graphql.js +63 -24
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +10 -7
- package/dist/lib/plugins/openapi/index.js +62 -119
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +39 -11
- 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.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +42 -26
- 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/ParamsGrid.d.ts +4 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +5 -4
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +18 -3
- package/dist/lib/plugins/openapi/playground/Playground.js +84 -30
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +21 -21
- 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/RequestTab.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +20 -14
- 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/SchemaPropertyItem.js +10 -8
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +13 -6
- package/dist/lib/plugins/openapi/schema/SchemaView.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.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +23 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +80 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +75 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +38 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +42 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- 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 +7 -1
- package/dist/lib/ui/Command.js +2 -2
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Input.d.ts +1 -2
- package/dist/lib/ui/Input.js.map +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 +3 -0
- package/dist/lib/ui/Stepper.js +7 -0
- package/dist/lib/ui/Stepper.js.map +1 -0
- package/dist/lib/ui/SyntaxHighlight.d.ts +15 -0
- package/dist/lib/ui/SyntaxHighlight.js +62 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
- package/dist/lib/ui/util.d.ts +2 -0
- package/dist/lib/ui/util.js +3 -0
- package/dist/lib/ui/util.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +5 -2
- package/dist/lib/util/MdxComponents.js +6 -3
- 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/scrollIntoViewIfNeeded.d.ts +1 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
- 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/useLatest.d.ts +1 -0
- package/dist/lib/util/useLatest.js +15 -0
- package/dist/lib/util/useLatest.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 +27 -33
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +6 -4
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/api/schema-codegen.d.ts +1 -1
- package/dist/vite/api/schema-codegen.js +27 -8
- 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 +35 -16
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +2 -5
- package/dist/vite/config.js +63 -71
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -1
- package/dist/vite/config.test.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/css/plugin.d.ts +2 -2
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/dev-server.d.ts +4 -2
- package/dist/vite/dev-server.js +42 -12
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +1 -1
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/output.d.ts +14 -2
- package/dist/vite/output.js +12 -14
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +2 -2
- package/dist/vite/plugin-api-keys.js +5 -5
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +2 -2
- package/dist/vite/plugin-api.js +143 -116
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -2
- package/dist/vite/plugin-auth.js +3 -3
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -2
- package/dist/vite/plugin-component.js +7 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +4 -3
- package/dist/vite/plugin-config-reload.js +11 -5
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -2
- package/dist/vite/plugin-config.js +9 -5
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +2 -2
- package/dist/vite/plugin-custom-pages.js +3 -3
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +3 -3
- package/dist/vite/plugin-docs.js +23 -6
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -2
- package/dist/vite/plugin-frontmatter.js +5 -4
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +2 -2
- package/dist/vite/plugin-mdx.js +34 -23
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +2 -2
- package/dist/vite/plugin-redirect.js +3 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -2
- package/dist/vite/plugin-search.js +5 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +2 -2
- package/dist/vite/plugin-sidebar.js +13 -4
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin-theme-css.d.ts +2 -2
- package/dist/vite/plugin-theme-css.js +7 -4
- package/dist/vite/plugin-theme-css.js.map +1 -1
- package/dist/vite/plugin.d.ts +2 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/{prerender.d.ts → prerender/FileWritingResponse.d.ts} +8 -9
- package/dist/vite/prerender/FileWritingResponse.js +51 -0
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +14 -0
- package/dist/vite/prerender/prerender.js +90 -0
- package/dist/vite/prerender/prerender.js.map +1 -0
- package/dist/vite/prerender/worker.d.ts +13 -0
- package/dist/vite/prerender/worker.js +31 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/reporter.d.ts +3 -0
- package/dist/vite/reporter.js +33 -0
- package/dist/vite/reporter.js.map +1 -0
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/lib/{AuthenticationPlugin-Du8cLBSr.js → AuthenticationPlugin-foqdvvkf.js} +4 -4
- package/lib/{AuthenticationPlugin-Du8cLBSr.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-D5frCCJ0.js +229 -0
- package/lib/Callout-D5frCCJ0.js.map +1 -0
- package/lib/{CategoryHeading-MYL1u_6K.js → CategoryHeading-DpB47wvk.js} +3 -3
- package/lib/{CategoryHeading-MYL1u_6K.js.map → CategoryHeading-DpB47wvk.js.map} +1 -1
- package/lib/Dialog-Dv6WG8RN.js +98 -0
- package/lib/Dialog-Dv6WG8RN.js.map +1 -0
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-Cyrx_JrO.js → Markdown-aF5FdsNi.js} +8223 -6475
- package/lib/Markdown-aF5FdsNi.js.map +1 -0
- package/lib/MdxPage-ZW1StNhp.js +83 -0
- package/lib/MdxPage-ZW1StNhp.js.map +1 -0
- package/lib/OasProvider-OlYb8W57.js +34 -0
- package/lib/OasProvider-OlYb8W57.js.map +1 -0
- package/lib/OperationList-BvfIzVRx.js +5065 -0
- package/lib/OperationList-BvfIzVRx.js.map +1 -0
- package/lib/Pagination-CYB3nVYx.js +46 -0
- package/lib/Pagination-CYB3nVYx.js.map +1 -0
- package/lib/SchemaList-Bi35O4XD.js +148 -0
- package/lib/SchemaList-Bi35O4XD.js.map +1 -0
- package/lib/SchemaView-D7MC5cjz.js +356 -0
- package/lib/SchemaView-D7MC5cjz.js.map +1 -0
- package/lib/{Select-CnCZ4WhS.js → Select-DVFRKf1R.js} +71 -71
- package/lib/{Select-CnCZ4WhS.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-B0L4SC_N.js → SyntaxHighlight-BEoSoPEo.js} +496 -592
- 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-SYFQ2XB5-BPvC-soB.js → chunk-HA7DTUK3-C4gP41vD.js} +561 -561
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
- package/lib/{circular-DxaIIlWD.js → circular-ByJI6Mci.js} +5461 -4993
- package/lib/circular-ByJI6Mci.js.map +1 -0
- package/lib/context-DLCwaMXN.js +22 -0
- package/lib/{context-rwLGh-6_.js.map → context-DLCwaMXN.js.map} +1 -1
- package/lib/{createServer-CjNktZzL.js → createServer-mMau3eV_.js} +4801 -4976
- package/lib/createServer-mMau3eV_.js.map +1 -0
- package/lib/hook-CqpVYDqN.js +1483 -0
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-Bn6Lc9tq.js +9 -0
- package/lib/index-Bn6Lc9tq.js.map +1 -0
- package/lib/index-Bt7MKhZq.js +2514 -0
- package/lib/index-Bt7MKhZq.js.map +1 -0
- package/lib/index-CPNSgwSb.js +36 -0
- package/lib/{index-Djenk2Hj.js.map → index-CPNSgwSb.js.map} +1 -1
- package/lib/index-CXfEwK_7.js +2226 -0
- package/lib/index-CXfEwK_7.js.map +1 -0
- package/lib/index-DwT-v3zK.js +86 -0
- package/lib/index-DwT-v3zK.js.map +1 -0
- package/lib/{index-CjJS0l4l.js → index-LNp6rxyU.js} +2 -2
- package/lib/{index-CjJS0l4l.js.map → index-LNp6rxyU.js.map} +1 -1
- package/lib/index-gQD2h1wX.js +447 -0
- package/lib/index-gQD2h1wX.js.map +1 -0
- package/lib/{index.esm-CrSoEshU.js → index.esm--gIChbWs.js} +3 -3
- package/lib/{index.esm-CrSoEshU.js.map → index.esm--gIChbWs.js.map} +1 -1
- package/lib/{jsx-runtime-Bdg6XQ1m.js → jsx-runtime-CYK1ROHF.js} +99 -99
- package/lib/{jsx-runtime-Bdg6XQ1m.js.map → jsx-runtime-CYK1ROHF.js.map} +1 -1
- package/lib/{hook-FT3SJLe_.js → mutation-8LjrN7uz.js} +43 -62
- package/lib/mutation-8LjrN7uz.js.map +1 -0
- package/lib/objectEntries-BS7aAgOm.js +12 -0
- package/lib/objectEntries-BS7aAgOm.js.map +1 -0
- package/lib/post-processors/removeExtensions.js +4 -4
- 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/Accordion.js +1 -1
- package/lib/ui/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +2 -2
- package/lib/ui/AlertDialog.js +1 -1
- package/lib/ui/Badge.js +2 -2
- package/lib/ui/Breadcrumb.js +4 -4
- 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/Card.js +1 -1
- package/lib/ui/Carousel.js +1 -1
- package/lib/ui/Checkbox.js +16 -26
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +105 -78
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +1 -1
- package/lib/ui/Drawer.js +14 -1151
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +1 -1
- package/lib/ui/Form.js +5 -5
- package/lib/ui/HoverCard.js +1 -1
- package/lib/ui/Input.js +1 -1
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +2 -2
- package/lib/ui/Pagination.js +10 -10
- package/lib/ui/Popover.js +1 -1
- package/lib/ui/Progress.js +1 -1
- package/lib/ui/RadioGroup.js +1 -1
- package/lib/ui/ScrollArea.js +1 -1
- package/lib/ui/Select.js +2 -2
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +1 -1
- package/lib/ui/Slider.js +1 -1
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +1 -1
- package/lib/ui/SyntaxHighlight.js +11 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +1 -1
- package/lib/ui/Textarea.js +1 -1
- package/lib/ui/Toggle.js +2 -2
- package/lib/ui/ToggleGroup.js +1 -1
- package/lib/ui/Tooltip.js +1 -1
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/{useExposedProps-BLKFBylA.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-BLKFBylA.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +15 -14
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +67 -49
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +370 -405
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +31 -1215
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +19 -0
- package/lib/zudoku.hooks.js.map +1 -0
- package/lib/zudoku.icons.js +10 -0
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +109 -109
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +108 -106
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +3 -3
- package/lib/zudoku.plugin-markdown.js +23 -44
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +6 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +9 -9
- package/lib/zudoku.plugin-search-pagefind.js +238 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +14 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/package.json +83 -55
- package/src/app/demo-cdn.html +31 -31
- package/src/app/entry.client.tsx +8 -0
- package/src/app/entry.server.tsx +18 -11
- package/src/app/main.css +100 -58
- package/src/app/main.tsx +10 -3
- package/src/app/tailwind.ts +20 -0
- package/src/lib/MissingIcon.tsx +22 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/auth0.tsx +3 -2
- package/src/lib/authentication/providers/clerk.tsx +32 -8
- package/src/lib/authentication/providers/openid.tsx +31 -15
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +9 -19
- package/src/lib/components/AnchorLink.tsx +9 -7
- package/src/lib/components/Autocomplete.tsx +6 -4
- package/src/lib/components/Banner.tsx +1 -0
- package/src/lib/components/Header.tsx +12 -8
- package/src/lib/components/Heading.tsx +1 -1
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +20 -67
- package/src/lib/components/Main.tsx +49 -0
- package/src/lib/components/MobileTopNavigation.tsx +1 -1
- package/src/lib/components/Pagination.tsx +47 -0
- package/src/lib/components/PathRenderer.tsx +6 -4
- package/src/lib/components/ThemeSwitch.tsx +28 -8
- package/src/lib/components/TopNavigation.tsx +51 -24
- package/src/lib/components/Zudoku.tsx +18 -7
- package/src/lib/components/cache.ts +8 -0
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +6 -15
- package/src/lib/components/context/ZudokuContext.ts +30 -10
- package/src/lib/components/index.ts +4 -0
- package/src/lib/components/navigation/Sidebar.tsx +14 -10
- package/src/lib/components/navigation/SidebarBadge.tsx +4 -1
- package/src/lib/components/navigation/SidebarCategory.tsx +15 -12
- package/src/lib/components/navigation/SidebarItem.tsx +22 -28
- package/src/lib/components/navigation/SidebarWrapper.tsx +13 -15
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/core/RouteGuard.tsx +48 -9
- package/src/lib/core/ZudokuContext.ts +57 -12
- package/src/lib/core/plugins.ts +29 -7
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/hooks/index.ts +5 -0
- package/src/lib/hooks/useEvent.test.tsx +149 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/icons.ts +1 -0
- package/src/lib/oas/graphql/index.ts +223 -73
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +7 -29
- package/src/lib/oas/parser/upgrade/index.ts +2 -1
- package/src/lib/plugins/api-catalog/Catalog.tsx +53 -100
- package/src/lib/plugins/api-catalog/index.tsx +66 -15
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +7 -3
- package/src/lib/plugins/api-keys/index.tsx +3 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +13 -46
- package/src/lib/plugins/markdown/resolver.ts +0 -33
- package/src/lib/plugins/openapi/Endpoint.tsx +11 -9
- package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
- package/src/lib/plugins/openapi/OperationList.tsx +180 -83
- package/src/lib/plugins/openapi/OperationListItem.tsx +118 -104
- package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +33 -23
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +15 -3
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +52 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -2
- 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 +34 -17
- package/src/lib/plugins/openapi/graphql/graphql.ts +175 -65
- package/src/lib/plugins/openapi/index.tsx +90 -152
- package/src/lib/plugins/openapi/interfaces.ts +48 -24
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +119 -88
- 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/ParamsGrid.tsx +6 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +16 -10
- package/src/lib/plugins/openapi/playground/Playground.tsx +207 -112
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +5 -2
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +87 -86
- 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/RequestTab.tsx +1 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +25 -5
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +29 -31
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +48 -35
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +37 -0
- package/src/lib/plugins/openapi/util/getRoutes.tsx +126 -0
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +157 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +116 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +75 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- 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/Command.tsx +25 -3
- package/src/lib/ui/Input.tsx +1 -2
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/SyntaxHighlight.tsx +186 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +7 -4
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/traverse.ts +4 -8
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +31 -39
- package/src/lib/util/useScrollToTop.ts +8 -3
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -12
- package/dist/lib/components/SyntaxHighlight.js +0 -53
- package/dist/lib/components/SyntaxHighlight.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/lib/plugins/openapi/OpenApiRoute.js +0 -25
- package/dist/lib/plugins/openapi/OpenApiRoute.js.map +0 -1
- package/dist/vite/prerender.js +0 -89
- package/dist/vite/prerender.js.map +0 -1
- package/lib/Markdown-Cyrx_JrO.js.map +0 -1
- package/lib/MdxPage-BuG8Tuwc.js +0 -193
- package/lib/MdxPage-BuG8Tuwc.js.map +0 -1
- package/lib/OpenApiRoute-UrC_t0e5.js +0 -36
- package/lib/OpenApiRoute-UrC_t0e5.js.map +0 -1
- package/lib/OperationList-CDt1xdc4.js +0 -5169
- package/lib/OperationList-CDt1xdc4.js.map +0 -1
- package/lib/SlotletProvider-mQiPDQIH.js +0 -221
- package/lib/SlotletProvider-mQiPDQIH.js.map +0 -1
- package/lib/Spinner-BlzrEEk1.js +0 -51
- package/lib/Spinner-BlzrEEk1.js.map +0 -1
- package/lib/SyntaxHighlight-B0L4SC_N.js.map +0 -1
- package/lib/ZudokuContext-BTUJPpQl.js +0 -1229
- package/lib/ZudokuContext-BTUJPpQl.js.map +0 -1
- package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
- package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
- package/lib/chunk-SYFQ2XB5-BPvC-soB.js.map +0 -1
- package/lib/circular-DxaIIlWD.js.map +0 -1
- package/lib/context-rwLGh-6_.js +0 -22
- package/lib/createServer-CjNktZzL.js.map +0 -1
- package/lib/hook-FT3SJLe_.js.map +0 -1
- package/lib/index-B7mqiOei.js +0 -509
- package/lib/index-B7mqiOei.js.map +0 -1
- package/lib/index-Djenk2Hj.js +0 -36
- package/lib/index-Eb1oiHbM.js +0 -1997
- package/lib/index-Eb1oiHbM.js.map +0 -1
- package/lib/index.esm-9-TF9KQB.js +0 -692
- package/lib/index.esm-9-TF9KQB.js.map +0 -1
- package/lib/joinUrl-nLx9pD-Z.js +0 -20
- package/lib/joinUrl-nLx9pD-Z.js.map +0 -1
- package/lib/state-mM7uaXTW.js +0 -202
- package/lib/state-mM7uaXTW.js.map +0 -1
- package/lib/useScrollToAnchor-BZsGmBng.js +0 -284
- package/lib/useScrollToAnchor-BZsGmBng.js.map +0 -1
- package/src/lib/components/SyntaxHighlight.tsx +0 -171
- package/src/lib/plugins/openapi/OpenApiRoute.tsx +0 -51
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Slot, type SlotProps } from "@radix-ui/react-slot";
|
|
2
|
+
|
|
3
|
+
export const SelectOnClick = ({
|
|
4
|
+
asChild,
|
|
5
|
+
onClick,
|
|
6
|
+
enabled = true,
|
|
7
|
+
...props
|
|
8
|
+
}: {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
} & SlotProps) => {
|
|
12
|
+
const Component = asChild ? Slot : "span";
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<Component
|
|
16
|
+
onClick={(e) => {
|
|
17
|
+
if (enabled) {
|
|
18
|
+
const range = document.createRange();
|
|
19
|
+
range.selectNodeContents(e.currentTarget);
|
|
20
|
+
const selection = window.getSelection();
|
|
21
|
+
selection?.removeAllRanges();
|
|
22
|
+
selection?.addRange(range);
|
|
23
|
+
}
|
|
24
|
+
onClick?.(e);
|
|
25
|
+
}}
|
|
26
|
+
{...props}
|
|
27
|
+
/>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
@@ -12,19 +12,30 @@ import * as types from "./graphql.js";
|
|
|
12
12
|
* Therefore it is highly recommended to use the babel or swc plugin for production.
|
|
13
13
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
type Documents = {
|
|
16
|
+
"\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": typeof types.ServersQueryDocument;
|
|
17
|
+
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": typeof types.OperationsFragmentFragmentDoc;
|
|
18
|
+
"\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n": typeof types.SchemaWarmupDocument;
|
|
19
|
+
"\n query OperationsForTag(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tag(slug: $tag, untagged: $untagged) {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n next {\n name\n slug\n }\n prev {\n name\n slug\n }\n }\n }\n }\n": typeof types.OperationsForTagDocument;
|
|
20
|
+
"\n query GetSchemas($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n title\n description\n summary\n components {\n schemas {\n name\n schema\n extensions\n }\n }\n }\n }\n": typeof types.GetSchemasDocument;
|
|
21
|
+
"\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": typeof types.GetServerQueryDocument;
|
|
22
|
+
"\n query GetSidebarOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n": typeof types.GetSidebarOperationsDocument;
|
|
23
|
+
};
|
|
24
|
+
const documents: Documents = {
|
|
16
25
|
"\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n":
|
|
17
26
|
types.ServersQueryDocument,
|
|
18
|
-
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n parameters {\n name\n in\n description\n required\n schema\n style\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n":
|
|
27
|
+
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n":
|
|
19
28
|
types.OperationsFragmentFragmentDoc,
|
|
20
|
-
"\n query
|
|
21
|
-
types.
|
|
29
|
+
"\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n":
|
|
30
|
+
types.SchemaWarmupDocument,
|
|
31
|
+
"\n query OperationsForTag(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tag(slug: $tag, untagged: $untagged) {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n next {\n name\n slug\n }\n prev {\n name\n slug\n }\n }\n }\n }\n":
|
|
32
|
+
types.OperationsForTagDocument,
|
|
33
|
+
"\n query GetSchemas($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n title\n description\n summary\n components {\n schemas {\n name\n schema\n extensions\n }\n }\n }\n }\n":
|
|
34
|
+
types.GetSchemasDocument,
|
|
22
35
|
"\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n":
|
|
23
36
|
types.GetServerQueryDocument,
|
|
24
|
-
"\n query
|
|
25
|
-
types.
|
|
26
|
-
"\n query GetOperations(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n operations(tag: $tag, untagged: $untagged) {\n slug\n deprecated\n method\n summary\n operationId\n path\n }\n }\n }\n":
|
|
27
|
-
types.GetOperationsDocument,
|
|
37
|
+
"\n query GetSidebarOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n":
|
|
38
|
+
types.GetSidebarOperationsDocument,
|
|
28
39
|
};
|
|
29
40
|
|
|
30
41
|
/**
|
|
@@ -37,32 +48,38 @@ export function graphql(
|
|
|
37
48
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
38
49
|
*/
|
|
39
50
|
export function graphql(
|
|
40
|
-
source: "\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n parameters {\n name\n in\n description\n required\n schema\n style\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n",
|
|
51
|
+
source: "\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n",
|
|
41
52
|
): typeof import("./graphql.js").OperationsFragmentFragmentDoc;
|
|
42
53
|
/**
|
|
43
54
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
44
55
|
*/
|
|
45
56
|
export function graphql(
|
|
46
|
-
source: "\n query
|
|
47
|
-
): typeof import("./graphql.js").
|
|
57
|
+
source: "\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n",
|
|
58
|
+
): typeof import("./graphql.js").SchemaWarmupDocument;
|
|
48
59
|
/**
|
|
49
60
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
50
61
|
*/
|
|
51
62
|
export function graphql(
|
|
52
|
-
source: "\n query
|
|
53
|
-
): typeof import("./graphql.js").
|
|
63
|
+
source: "\n query OperationsForTag(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tag(slug: $tag, untagged: $untagged) {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n next {\n name\n slug\n }\n prev {\n name\n slug\n }\n }\n }\n }\n",
|
|
64
|
+
): typeof import("./graphql.js").OperationsForTagDocument;
|
|
54
65
|
/**
|
|
55
66
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
56
67
|
*/
|
|
57
68
|
export function graphql(
|
|
58
|
-
source: "\n query
|
|
59
|
-
): typeof import("./graphql.js").
|
|
69
|
+
source: "\n query GetSchemas($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n title\n description\n summary\n components {\n schemas {\n name\n schema\n extensions\n }\n }\n }\n }\n",
|
|
70
|
+
): typeof import("./graphql.js").GetSchemasDocument;
|
|
71
|
+
/**
|
|
72
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
73
|
+
*/
|
|
74
|
+
export function graphql(
|
|
75
|
+
source: "\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n",
|
|
76
|
+
): typeof import("./graphql.js").GetServerQueryDocument;
|
|
60
77
|
/**
|
|
61
78
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
62
79
|
*/
|
|
63
80
|
export function graphql(
|
|
64
|
-
source: "\n query
|
|
65
|
-
): typeof import("./graphql.js").
|
|
81
|
+
source: "\n query GetSidebarOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n",
|
|
82
|
+
): typeof import("./graphql.js").GetSidebarOperationsDocument;
|
|
66
83
|
|
|
67
84
|
export function graphql(source: string) {
|
|
68
85
|
return (documents as any)[source] ?? {};
|
|
@@ -35,6 +35,11 @@ export type Scalars = {
|
|
|
35
35
|
JSONSchema: { input: any; output: any };
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
export type Components = {
|
|
39
|
+
__typename?: "Components";
|
|
40
|
+
schemas?: Maybe<Array<SchemaItem>>;
|
|
41
|
+
};
|
|
42
|
+
|
|
38
43
|
export type EncodingItem = {
|
|
39
44
|
__typename?: "EncodingItem";
|
|
40
45
|
allowReserved?: Maybe<Scalars["Boolean"]["output"]>;
|
|
@@ -67,6 +72,7 @@ export type OperationItem = {
|
|
|
67
72
|
contentTypes: Array<Scalars["String"]["output"]>;
|
|
68
73
|
deprecated?: Maybe<Scalars["Boolean"]["output"]>;
|
|
69
74
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
75
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
70
76
|
method: Scalars["String"]["output"];
|
|
71
77
|
operationId?: Maybe<Scalars["String"]["output"]>;
|
|
72
78
|
parameters?: Maybe<Array<ParameterItem>>;
|
|
@@ -88,6 +94,7 @@ export type ParameterItem = {
|
|
|
88
94
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
89
95
|
examples?: Maybe<Array<ExampleItem>>;
|
|
90
96
|
explode?: Maybe<Scalars["Boolean"]["output"]>;
|
|
97
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
91
98
|
in: ParameterIn;
|
|
92
99
|
name: Scalars["String"]["output"];
|
|
93
100
|
required?: Maybe<Scalars["Boolean"]["output"]>;
|
|
@@ -122,6 +129,7 @@ export type ResponseItem = {
|
|
|
122
129
|
__typename?: "ResponseItem";
|
|
123
130
|
content?: Maybe<Array<MediaTypeObject>>;
|
|
124
131
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
132
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
125
133
|
headers?: Maybe<Scalars["JSON"]["output"]>;
|
|
126
134
|
links?: Maybe<Scalars["JSON"]["output"]>;
|
|
127
135
|
statusCode: Scalars["String"]["output"];
|
|
@@ -129,12 +137,15 @@ export type ResponseItem = {
|
|
|
129
137
|
|
|
130
138
|
export type Schema = {
|
|
131
139
|
__typename?: "Schema";
|
|
140
|
+
components?: Maybe<Components>;
|
|
132
141
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
142
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
133
143
|
openapi: Scalars["String"]["output"];
|
|
134
144
|
operations: Array<OperationItem>;
|
|
135
145
|
paths: Array<PathItem>;
|
|
136
146
|
servers: Array<Server>;
|
|
137
147
|
summary?: Maybe<Scalars["String"]["output"]>;
|
|
148
|
+
tag?: Maybe<SchemaTag>;
|
|
138
149
|
tags: Array<SchemaTag>;
|
|
139
150
|
title: Scalars["String"]["output"];
|
|
140
151
|
url?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -149,15 +160,29 @@ export type SchemaOperationsArgs = {
|
|
|
149
160
|
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
150
161
|
};
|
|
151
162
|
|
|
152
|
-
export type
|
|
163
|
+
export type SchemaTagArgs = {
|
|
153
164
|
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
165
|
+
slug?: InputMaybe<Scalars["String"]["input"]>;
|
|
166
|
+
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type SchemaItem = {
|
|
170
|
+
__typename?: "SchemaItem";
|
|
171
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
172
|
+
name: Scalars["String"]["output"];
|
|
173
|
+
schema: Scalars["JSONSchema"]["output"];
|
|
154
174
|
};
|
|
155
175
|
|
|
156
176
|
export type SchemaTag = {
|
|
157
177
|
__typename?: "SchemaTag";
|
|
158
178
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
179
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
180
|
+
isUntagged: Scalars["Boolean"]["output"];
|
|
159
181
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
182
|
+
next?: Maybe<SchemaTag>;
|
|
160
183
|
operations: Array<OperationItem>;
|
|
184
|
+
prev?: Maybe<SchemaTag>;
|
|
185
|
+
slug?: Maybe<Scalars["String"]["output"]>;
|
|
161
186
|
};
|
|
162
187
|
|
|
163
188
|
export type SchemaType = "file" | "raw" | "url";
|
|
@@ -171,6 +196,7 @@ export type Server = {
|
|
|
171
196
|
export type TagItem = {
|
|
172
197
|
__typename?: "TagItem";
|
|
173
198
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
199
|
+
extensions?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
174
200
|
name: Scalars["String"]["output"];
|
|
175
201
|
};
|
|
176
202
|
|
|
@@ -197,6 +223,8 @@ export type OperationsFragmentFragment = {
|
|
|
197
223
|
operationId?: string | null;
|
|
198
224
|
contentTypes: Array<string>;
|
|
199
225
|
path: string;
|
|
226
|
+
deprecated?: boolean | null;
|
|
227
|
+
extensions?: any | null;
|
|
200
228
|
parameters?: Array<{
|
|
201
229
|
__typename?: "ParameterItem";
|
|
202
230
|
name: string;
|
|
@@ -205,6 +233,7 @@ export type OperationsFragmentFragment = {
|
|
|
205
233
|
required?: boolean | null;
|
|
206
234
|
schema?: any | null;
|
|
207
235
|
style?: string | null;
|
|
236
|
+
explode?: boolean | null;
|
|
208
237
|
examples?: Array<{
|
|
209
238
|
__typename?: "ExampleItem";
|
|
210
239
|
name: string;
|
|
@@ -255,14 +284,24 @@ export type OperationsFragmentFragment = {
|
|
|
255
284
|
}>;
|
|
256
285
|
} & { " $fragmentName"?: "OperationsFragmentFragment" };
|
|
257
286
|
|
|
258
|
-
export type
|
|
287
|
+
export type SchemaWarmupQueryVariables = Exact<{
|
|
288
|
+
input: Scalars["JSON"]["input"];
|
|
289
|
+
type: SchemaType;
|
|
290
|
+
}>;
|
|
291
|
+
|
|
292
|
+
export type SchemaWarmupQuery = {
|
|
293
|
+
__typename?: "Query";
|
|
294
|
+
schema: { __typename?: "Schema"; openapi: string };
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
export type OperationsForTagQueryVariables = Exact<{
|
|
259
298
|
input: Scalars["JSON"]["input"];
|
|
260
299
|
type: SchemaType;
|
|
261
300
|
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
262
301
|
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
263
302
|
}>;
|
|
264
303
|
|
|
265
|
-
export type
|
|
304
|
+
export type OperationsForTagQuery = {
|
|
266
305
|
__typename?: "Query";
|
|
267
306
|
schema: {
|
|
268
307
|
__typename?: "Schema";
|
|
@@ -271,69 +310,97 @@ export type AllOperationsQuery = {
|
|
|
271
310
|
title: string;
|
|
272
311
|
url?: string | null;
|
|
273
312
|
version: string;
|
|
274
|
-
|
|
313
|
+
servers: Array<{ __typename?: "Server"; url: string }>;
|
|
314
|
+
tag?: {
|
|
275
315
|
__typename?: "SchemaTag";
|
|
276
316
|
name?: string | null;
|
|
277
317
|
description?: string | null;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
318
|
+
operations: Array<
|
|
319
|
+
{ __typename?: "OperationItem"; slug: string } & {
|
|
320
|
+
" $fragmentRefs"?: {
|
|
321
|
+
OperationsFragmentFragment: OperationsFragmentFragment;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
>;
|
|
325
|
+
next?: {
|
|
326
|
+
__typename?: "SchemaTag";
|
|
327
|
+
name?: string | null;
|
|
328
|
+
slug?: string | null;
|
|
329
|
+
} | null;
|
|
330
|
+
prev?: {
|
|
331
|
+
__typename?: "SchemaTag";
|
|
332
|
+
name?: string | null;
|
|
333
|
+
slug?: string | null;
|
|
334
|
+
} | null;
|
|
335
|
+
} | null;
|
|
286
336
|
};
|
|
287
337
|
};
|
|
288
338
|
|
|
289
|
-
export type
|
|
339
|
+
export type GetSchemasQueryVariables = Exact<{
|
|
290
340
|
input: Scalars["JSON"]["input"];
|
|
291
341
|
type: SchemaType;
|
|
292
342
|
}>;
|
|
293
343
|
|
|
294
|
-
export type
|
|
344
|
+
export type GetSchemasQuery = {
|
|
295
345
|
__typename?: "Query";
|
|
296
346
|
schema: {
|
|
297
347
|
__typename?: "Schema";
|
|
298
|
-
|
|
299
|
-
|
|
348
|
+
title: string;
|
|
349
|
+
description?: string | null;
|
|
350
|
+
summary?: string | null;
|
|
351
|
+
components?: {
|
|
352
|
+
__typename?: "Components";
|
|
353
|
+
schemas?: Array<{
|
|
354
|
+
__typename?: "SchemaItem";
|
|
355
|
+
name: string;
|
|
356
|
+
schema: any;
|
|
357
|
+
extensions?: any | null;
|
|
358
|
+
}> | null;
|
|
359
|
+
} | null;
|
|
300
360
|
};
|
|
301
361
|
};
|
|
302
362
|
|
|
303
|
-
export type
|
|
363
|
+
export type GetServerQueryQueryVariables = Exact<{
|
|
304
364
|
input: Scalars["JSON"]["input"];
|
|
305
365
|
type: SchemaType;
|
|
306
366
|
}>;
|
|
307
367
|
|
|
308
|
-
export type
|
|
368
|
+
export type GetServerQueryQuery = {
|
|
309
369
|
__typename?: "Query";
|
|
310
370
|
schema: {
|
|
311
371
|
__typename?: "Schema";
|
|
312
372
|
url?: string | null;
|
|
313
|
-
|
|
373
|
+
servers: Array<{ __typename?: "Server"; url: string }>;
|
|
314
374
|
};
|
|
315
375
|
};
|
|
316
376
|
|
|
317
|
-
export type
|
|
377
|
+
export type GetSidebarOperationsQueryVariables = Exact<{
|
|
318
378
|
input: Scalars["JSON"]["input"];
|
|
319
379
|
type: SchemaType;
|
|
320
|
-
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
321
|
-
untagged?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
322
380
|
}>;
|
|
323
381
|
|
|
324
|
-
export type
|
|
382
|
+
export type GetSidebarOperationsQuery = {
|
|
325
383
|
__typename?: "Query";
|
|
326
384
|
schema: {
|
|
327
385
|
__typename?: "Schema";
|
|
328
|
-
|
|
329
|
-
__typename?: "
|
|
330
|
-
slug
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
386
|
+
tags: Array<{
|
|
387
|
+
__typename?: "SchemaTag";
|
|
388
|
+
slug?: string | null;
|
|
389
|
+
name?: string | null;
|
|
390
|
+
extensions?: any | null;
|
|
391
|
+
operations: Array<{
|
|
392
|
+
__typename?: "OperationItem";
|
|
393
|
+
summary?: string | null;
|
|
394
|
+
slug: string;
|
|
395
|
+
method: string;
|
|
396
|
+
operationId?: string | null;
|
|
397
|
+
path: string;
|
|
398
|
+
}>;
|
|
336
399
|
}>;
|
|
400
|
+
components?: {
|
|
401
|
+
__typename?: "Components";
|
|
402
|
+
schemas?: Array<{ __typename: "SchemaItem" }> | null;
|
|
403
|
+
} | null;
|
|
337
404
|
};
|
|
338
405
|
};
|
|
339
406
|
|
|
@@ -342,12 +409,13 @@ export class TypedDocumentString<TResult, TVariables>
|
|
|
342
409
|
implements DocumentTypeDecoration<TResult, TVariables>
|
|
343
410
|
{
|
|
344
411
|
__apiType?: DocumentTypeDecoration<TResult, TVariables>["__apiType"];
|
|
412
|
+
private value: string;
|
|
413
|
+
public __meta__?: Record<string, any> | undefined;
|
|
345
414
|
|
|
346
|
-
constructor(
|
|
347
|
-
private value: string,
|
|
348
|
-
public __meta__?: Record<string, any> | undefined,
|
|
349
|
-
) {
|
|
415
|
+
constructor(value: string, __meta__?: Record<string, any> | undefined) {
|
|
350
416
|
super(value);
|
|
417
|
+
this.value = value;
|
|
418
|
+
this.__meta__ = __meta__;
|
|
351
419
|
}
|
|
352
420
|
|
|
353
421
|
toString(): string & DocumentTypeDecoration<TResult, TVariables> {
|
|
@@ -364,6 +432,8 @@ export const OperationsFragmentFragmentDoc = new TypedDocumentString(
|
|
|
364
432
|
operationId
|
|
365
433
|
contentTypes
|
|
366
434
|
path
|
|
435
|
+
deprecated
|
|
436
|
+
extensions
|
|
367
437
|
parameters {
|
|
368
438
|
name
|
|
369
439
|
in
|
|
@@ -371,6 +441,7 @@ export const OperationsFragmentFragmentDoc = new TypedDocumentString(
|
|
|
371
441
|
required
|
|
372
442
|
schema
|
|
373
443
|
style
|
|
444
|
+
explode
|
|
374
445
|
examples {
|
|
375
446
|
name
|
|
376
447
|
description
|
|
@@ -433,21 +504,42 @@ export const ServersQueryDocument = new TypedDocumentString(`
|
|
|
433
504
|
ServersQueryQuery,
|
|
434
505
|
ServersQueryQueryVariables
|
|
435
506
|
>;
|
|
436
|
-
export const
|
|
437
|
-
query
|
|
507
|
+
export const SchemaWarmupDocument = new TypedDocumentString(`
|
|
508
|
+
query SchemaWarmup($input: JSON!, $type: SchemaType!) {
|
|
509
|
+
schema(input: $input, type: $type) {
|
|
510
|
+
openapi
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
`) as unknown as TypedDocumentString<
|
|
514
|
+
SchemaWarmupQuery,
|
|
515
|
+
SchemaWarmupQueryVariables
|
|
516
|
+
>;
|
|
517
|
+
export const OperationsForTagDocument = new TypedDocumentString(`
|
|
518
|
+
query OperationsForTag($input: JSON!, $type: SchemaType!, $tag: String, $untagged: Boolean) {
|
|
438
519
|
schema(input: $input, type: $type) {
|
|
520
|
+
servers {
|
|
521
|
+
url
|
|
522
|
+
}
|
|
439
523
|
description
|
|
440
524
|
summary
|
|
441
525
|
title
|
|
442
526
|
url
|
|
443
527
|
version
|
|
444
|
-
|
|
528
|
+
tag(slug: $tag, untagged: $untagged) {
|
|
445
529
|
name
|
|
446
530
|
description
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
531
|
+
operations {
|
|
532
|
+
slug
|
|
533
|
+
...OperationsFragment
|
|
534
|
+
}
|
|
535
|
+
next {
|
|
536
|
+
name
|
|
537
|
+
slug
|
|
538
|
+
}
|
|
539
|
+
prev {
|
|
540
|
+
name
|
|
541
|
+
slug
|
|
542
|
+
}
|
|
451
543
|
}
|
|
452
544
|
}
|
|
453
545
|
}
|
|
@@ -459,6 +551,8 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
459
551
|
operationId
|
|
460
552
|
contentTypes
|
|
461
553
|
path
|
|
554
|
+
deprecated
|
|
555
|
+
extensions
|
|
462
556
|
parameters {
|
|
463
557
|
name
|
|
464
558
|
in
|
|
@@ -466,6 +560,7 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
466
560
|
required
|
|
467
561
|
schema
|
|
468
562
|
style
|
|
563
|
+
explode
|
|
469
564
|
examples {
|
|
470
565
|
name
|
|
471
566
|
description
|
|
@@ -512,8 +607,27 @@ export const AllOperationsDocument = new TypedDocumentString(`
|
|
|
512
607
|
}
|
|
513
608
|
}
|
|
514
609
|
}`) as unknown as TypedDocumentString<
|
|
515
|
-
|
|
516
|
-
|
|
610
|
+
OperationsForTagQuery,
|
|
611
|
+
OperationsForTagQueryVariables
|
|
612
|
+
>;
|
|
613
|
+
export const GetSchemasDocument = new TypedDocumentString(`
|
|
614
|
+
query GetSchemas($input: JSON!, $type: SchemaType!) {
|
|
615
|
+
schema(input: $input, type: $type) {
|
|
616
|
+
title
|
|
617
|
+
description
|
|
618
|
+
summary
|
|
619
|
+
components {
|
|
620
|
+
schemas {
|
|
621
|
+
name
|
|
622
|
+
schema
|
|
623
|
+
extensions
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
`) as unknown as TypedDocumentString<
|
|
629
|
+
GetSchemasQuery,
|
|
630
|
+
GetSchemasQueryVariables
|
|
517
631
|
>;
|
|
518
632
|
export const GetServerQueryDocument = new TypedDocumentString(`
|
|
519
633
|
query getServerQuery($input: JSON!, $type: SchemaType!) {
|
|
@@ -528,33 +642,29 @@ export const GetServerQueryDocument = new TypedDocumentString(`
|
|
|
528
642
|
GetServerQueryQuery,
|
|
529
643
|
GetServerQueryQueryVariables
|
|
530
644
|
>;
|
|
531
|
-
export const
|
|
532
|
-
query
|
|
645
|
+
export const GetSidebarOperationsDocument = new TypedDocumentString(`
|
|
646
|
+
query GetSidebarOperations($input: JSON!, $type: SchemaType!) {
|
|
533
647
|
schema(input: $input, type: $type) {
|
|
534
|
-
url
|
|
535
648
|
tags {
|
|
649
|
+
slug
|
|
536
650
|
name
|
|
651
|
+
extensions
|
|
652
|
+
operations {
|
|
653
|
+
summary
|
|
654
|
+
slug
|
|
655
|
+
method
|
|
656
|
+
operationId
|
|
657
|
+
path
|
|
658
|
+
}
|
|
537
659
|
}
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
GetCategoriesQueryVariables
|
|
543
|
-
>;
|
|
544
|
-
export const GetOperationsDocument = new TypedDocumentString(`
|
|
545
|
-
query GetOperations($input: JSON!, $type: SchemaType!, $tag: String, $untagged: Boolean) {
|
|
546
|
-
schema(input: $input, type: $type) {
|
|
547
|
-
operations(tag: $tag, untagged: $untagged) {
|
|
548
|
-
slug
|
|
549
|
-
deprecated
|
|
550
|
-
method
|
|
551
|
-
summary
|
|
552
|
-
operationId
|
|
553
|
-
path
|
|
660
|
+
components {
|
|
661
|
+
schemas {
|
|
662
|
+
__typename
|
|
663
|
+
}
|
|
554
664
|
}
|
|
555
665
|
}
|
|
556
666
|
}
|
|
557
667
|
`) as unknown as TypedDocumentString<
|
|
558
|
-
|
|
559
|
-
|
|
668
|
+
GetSidebarOperationsQuery,
|
|
669
|
+
GetSidebarOperationsQueryVariables
|
|
560
670
|
>;
|