zudoku 0.0.0-f49e3ea → 0.0.0-f52e8af
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 +9 -0
- package/dist/app/ZuploBuildConfig.d.ts +155 -0
- package/dist/app/ZuploBuildConfig.js +29 -0
- package/dist/app/ZuploBuildConfig.js.map +1 -0
- package/dist/app/demo.js +1 -2
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +6 -0
- package/dist/app/entry.client.js +51 -15
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +9 -6
- package/dist/app/entry.server.js +14 -10
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +33 -0
- package/dist/app/env.js +29 -0
- package/dist/app/env.js.map +1 -0
- package/dist/app/main.d.ts +2 -2
- package/dist/app/main.js +37 -12
- package/dist/app/main.js.map +1 -1
- package/dist/app/sentry.d.ts +3 -0
- package/dist/app/sentry.js +19 -0
- package/dist/app/sentry.js.map +1 -0
- package/dist/app/standalone.js +1 -2
- package/dist/app/standalone.js.map +1 -1
- package/dist/app/tailwind.d.ts +2 -1
- package/dist/app/tailwind.js +80 -48
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +9 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +17 -3
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +21 -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 +5 -0
- 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/logger.js +9 -0
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +1 -0
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- 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.d.ts +1 -0
- package/dist/cli/dev/handler.js +15 -12
- package/dist/cli/dev/handler.js.map +1 -1
- 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 +10 -0
- package/dist/config/common.js +2 -0
- package/dist/config/common.js.map +1 -0
- package/dist/config/config.d.ts +20 -16
- package/dist/config/loader.d.ts +6 -0
- package/dist/config/loader.js +65 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/BuildSchema.d.ts +60 -0
- package/dist/config/validators/BuildSchema.js +31 -0
- package/dist/config/validators/BuildSchema.js.map +1 -0
- package/dist/config/validators/InputSidebarSchema.d.ts +46 -30
- package/dist/config/validators/InputSidebarSchema.js +11 -1
- package/dist/config/validators/InputSidebarSchema.js.map +1 -1
- package/dist/config/validators/common.d.ts +8001 -0
- package/dist/config/validators/common.js +414 -0
- package/dist/config/validators/common.js.map +1 -0
- package/dist/config/validators/icon-types.d.ts +1 -0
- package/dist/config/validators/icon-types.js +2 -0
- package/dist/config/validators/icon-types.js.map +1 -0
- package/dist/config/validators/validate.d.ts +2008 -640
- package/dist/config/validators/validate.js +9 -228
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -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/AuthenticationPlugin.d.ts +4 -2
- package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +2 -1
- package/dist/lib/authentication/components/CallbackHandler.js +6 -2
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.d.ts +1 -1
- package/dist/lib/authentication/components/SignIn.js +5 -2
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +2 -2
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.d.ts +1 -1
- package/dist/lib/authentication/components/SignUp.js +4 -1
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- 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 +3 -2
- 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 +63 -13
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +17 -9
- package/dist/lib/authentication/providers/openid.js +45 -26
- 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 +9 -5
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +13 -0
- package/dist/lib/components/Autocomplete.js +47 -0
- package/dist/lib/components/Autocomplete.js.map +1 -0
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +3 -3
- package/dist/lib/components/Bootstrap.js +12 -13
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.d.ts +4 -0
- package/dist/lib/components/BuildCheck.js +38 -0
- package/dist/lib/components/BuildCheck.js.map +1 -0
- 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 +18 -10
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +5 -5
- package/dist/lib/components/Heading.js +1 -1
- package/dist/lib/components/Heading.js.map +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 +9 -23
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +18 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/Markdown.d.ts +4 -2
- package/dist/lib/components/Markdown.js +10 -14
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +6 -3
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +1 -1
- package/dist/lib/components/NotFoundPage.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/PathRenderer.d.ts +11 -0
- package/dist/lib/components/PathRenderer.js +28 -0
- package/dist/lib/components/PathRenderer.js.map +1 -0
- package/dist/lib/components/ReactMarkdown.d.ts +29 -0
- package/dist/lib/components/ReactMarkdown.js +182 -0
- package/dist/lib/components/ReactMarkdown.js.map +1 -0
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +9 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/SlotletProvider.d.ts +2 -2
- package/dist/lib/components/StatusPage.d.ts +7 -0
- package/dist/lib/components/StatusPage.js +71 -0
- package/dist/lib/components/StatusPage.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.js +8 -5
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +3 -2
- package/dist/lib/components/TopNavigation.js +30 -16
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +13 -8
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +13 -0
- package/dist/lib/components/cache.js +20 -0
- package/dist/lib/components/cache.js.map +1 -0
- 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/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 +29 -23
- 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 +20 -8
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +42 -17
- package/dist/lib/components/index.js +19 -4
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
- package/dist/lib/components/navigation/Sidebar.d.ts +5 -1
- package/dist/lib/components/navigation/Sidebar.js +3 -7
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +6 -3
- package/dist/lib/components/navigation/SidebarBadge.js +13 -11
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +3 -3
- package/dist/lib/components/navigation/SidebarCategory.js +31 -22
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +3 -4
- package/dist/lib/components/navigation/SidebarItem.js +19 -18
- 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 +6 -8
- 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/components/navigation/ZuploLogo.d.ts +3 -0
- package/dist/lib/components/navigation/ZuploLogo.js +4 -0
- package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
- package/dist/lib/components/navigation/utils.js +1 -1
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +2 -0
- package/dist/lib/core/RouteGuard.js +52 -0
- package/dist/lib/core/RouteGuard.js.map +1 -0
- package/dist/lib/core/ZudokuContext.d.ts +45 -8
- package/dist/lib/core/ZudokuContext.js +37 -12
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +21 -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/errors/RouterError.js +1 -1
- package/dist/lib/errors/RouterError.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.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/circular.d.ts +3 -0
- package/dist/lib/oas/graphql/circular.js +43 -0
- package/dist/lib/oas/graphql/circular.js.map +1 -0
- package/dist/lib/oas/graphql/index.d.ts +25 -1
- package/dist/lib/oas/graphql/index.js +213 -66
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +8 -3
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +8 -3
- package/dist/lib/oas/parser/index.js +7 -23
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
- package/dist/lib/oas/parser/upgrade/index.js +83 -33
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
- package/dist/lib/plugins/api-catalog/Catalog.js +26 -0
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
- package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
- package/dist/lib/plugins/api-catalog/index.js +46 -0
- package/dist/lib/plugins/api-catalog/index.js.map +1 -0
- package/dist/lib/plugins/api-keys/CreateApiKey.js +8 -4
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +1 -0
- package/dist/lib/plugins/api-keys/index.js +4 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +10 -2
- package/dist/lib/plugins/markdown/MdxPage.js +17 -4
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +3 -1
- package/dist/lib/plugins/markdown/index.js +1 -1
- package/dist/lib/plugins/markdown/index.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/CollapsibleCode.js +2 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js +18 -7
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +8 -7
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
- 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 +5 -2
- package/dist/lib/plugins/openapi/OperationList.js +92 -11
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +12 -6
- 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 +45 -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 +16 -3
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +4 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +12 -3
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -13
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -13
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +53 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +85 -38
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
- 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 +2 -2
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +23 -82
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/createServer.d.ts +2 -1
- package/dist/lib/plugins/openapi/client/createServer.js +5 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +11 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +14 -7
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
- 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/ResponseContent.d.ts +12 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.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/context.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +11 -3
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -14
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +113 -21
- package/dist/lib/plugins/openapi/graphql/graphql.js +55 -11
- 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 +65 -82
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +57 -3
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +8 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +84 -5
- 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 +8 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +5 -7
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +37 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +131 -69
- 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.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +24 -18
- 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/SubmitButton.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
- package/dist/lib/plugins/openapi/playground/SubmitButton.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.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +101 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +9 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +17 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +194 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +159 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
- 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 +15 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +2 -4
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +45 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +38 -50
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -1
- package/dist/lib/plugins/openapi/schema/utils.js +15 -4
- 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.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/generateSchemaExample.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +62 -10
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +117 -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/openapi/util/methodToColor.d.ts +20 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
- package/dist/lib/plugins/redirect/index.d.ts +1 -1
- package/dist/lib/plugins/redirect/index.js +1 -1
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
- package/dist/lib/plugins/search-inkeep/index.js +41 -5
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
- package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -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 +32 -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 +6 -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/shiki.d.ts +35 -0
- package/dist/lib/shiki.js +103 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Badge.js +2 -1
- package/dist/lib/ui/Badge.js.map +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/Card.js +1 -1
- package/dist/lib/ui/Card.js.map +1 -1
- package/dist/lib/ui/Checkbox.js +1 -1
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +16 -0
- package/dist/lib/ui/CodeBlock.js +18 -0
- package/dist/lib/ui/CodeBlock.js.map +1 -0
- package/dist/lib/ui/Command.d.ts +17 -3
- package/dist/lib/ui/Command.js +7 -3
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Form.d.ts +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 +3 -3
- 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 +10 -0
- package/dist/lib/ui/SyntaxHighlight.js +14 -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 +29 -20
- package/dist/lib/util/MdxComponents.js +17 -15
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- package/dist/lib/util/detectOS.d.ts +1 -0
- package/dist/lib/util/detectOS.js +11 -0
- package/dist/lib/util/detectOS.js.map +1 -0
- package/dist/lib/util/ensureArray.d.ts +1 -0
- package/dist/lib/util/ensureArray.js +2 -0
- package/dist/lib/util/ensureArray.js.map +1 -0
- 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/joinUrl.d.ts +1 -0
- package/dist/lib/util/joinUrl.js +40 -0
- package/dist/lib/util/joinUrl.js.map +1 -0
- package/dist/lib/util/joinUrl.test.d.ts +1 -0
- package/dist/lib/util/joinUrl.test.js +43 -0
- package/dist/lib/util/joinUrl.test.js.map +1 -0
- 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 +3 -0
- package/dist/lib/util/traverse.js +23 -0
- package/dist/lib/util/traverse.js.map +1 -0
- 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/url.d.ts +4 -0
- package/dist/lib/util/url.js +13 -0
- package/dist/lib/util/url.js.map +1 -0
- package/dist/lib/util/url.test.d.ts +1 -0
- package/dist/lib/util/url.test.js +26 -0
- package/dist/lib/util/url.test.js.map +1 -0
- package/dist/lib/util/useExposedProps.js +1 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- 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.d.ts +1 -0
- package/dist/lib/util/useScrollToAnchor.js +42 -37
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +7 -5
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +36 -0
- package/dist/vite/api/SchemaManager.js +122 -0
- package/dist/vite/api/SchemaManager.js.map +1 -0
- package/dist/vite/api/SchemaManager.test.d.ts +1 -0
- package/dist/vite/api/SchemaManager.test.js +106 -0
- package/dist/vite/api/SchemaManager.test.js.map +1 -0
- package/dist/vite/api/schema-codegen.d.ts +12 -0
- package/dist/vite/api/schema-codegen.js +85 -0
- package/dist/vite/api/schema-codegen.js.map +1 -0
- package/dist/vite/api/schema-codegen.test.d.ts +1 -0
- package/dist/vite/api/schema-codegen.test.js +313 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -0
- package/dist/vite/build.js +42 -16
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +7 -8
- package/dist/vite/config.js +156 -72
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +11 -5
- 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/collect.d.ts +2 -0
- package/dist/vite/css/collect.js +27 -0
- package/dist/vite/css/collect.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +5 -0
- package/dist/vite/css/plugin.js +79 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/dev-server.d.ts +5 -3
- package/dist/vite/dev-server.js +71 -21
- 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/html.d.ts +6 -2
- package/dist/vite/html.js +11 -8
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/output.d.ts +15 -3
- package/dist/vite/output.js +41 -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 +145 -32
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -2
- package/dist/vite/plugin-auth.js +7 -4
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -2
- package/dist/vite/plugin-component.js +20 -20
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +4 -4
- package/dist/vite/plugin-config-reload.js +15 -6
- 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 +25 -1
- 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-docs.test.js +15 -23
- package/dist/vite/plugin-docs.test.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 +86 -21
- 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-shiki-register.d.ts +3 -0
- package/dist/vite/plugin-shiki-register.js +38 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-sidebar.d.ts +5 -3
- package/dist/vite/plugin-sidebar.js +21 -6
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +3 -3
- package/dist/vite/plugin-theme-css.js +117 -0
- package/dist/vite/plugin-theme-css.js.map +1 -0
- package/dist/vite/plugin.d.ts +2 -3
- package/dist/vite/plugin.js +8 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
- package/dist/vite/prerender/FileWritingResponse.js +51 -0
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
- 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 +15 -0
- package/dist/vite/prerender/prerender.js +109 -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 +59 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/remarkStaticGeneration.js +5 -5
- package/dist/vite/remarkStaticGeneration.js.map +1 -1
- 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.d.ts +1 -1
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
- package/dist/zuplo/enrich-with-zuplo.js +185 -0
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
- package/dist/zuplo/policy-types.d.ts +33 -0
- package/dist/zuplo/policy-types.js +8 -0
- package/dist/zuplo/policy-types.js.map +1 -0
- package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
- package/dist/zuplo/with-zuplo-processors.js +26 -0
- package/dist/zuplo/with-zuplo-processors.js.map +1 -0
- package/dist/zuplo/with-zuplo.d.ts +6 -0
- package/dist/zuplo/with-zuplo.js +10 -0
- package/dist/zuplo/with-zuplo.js.map +1 -0
- package/lib/AuthenticationPlugin-B9ZLD8dq.js +90 -0
- package/lib/AuthenticationPlugin-B9ZLD8dq.js.map +1 -0
- package/lib/Button-Bdk_Ij3U.js +49 -0
- package/lib/Button-Bdk_Ij3U.js.map +1 -0
- package/lib/Callout-hI9CHaoU.js +230 -0
- package/lib/Callout-hI9CHaoU.js.map +1 -0
- package/lib/Card-BlCYNw5W.js +61 -0
- package/lib/Card-BlCYNw5W.js.map +1 -0
- package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-DZi-Szor.js} +3 -3
- package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-DZi-Szor.js.map} +1 -1
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/Dialog-qJtc4-PZ.js +98 -0
- package/lib/{Dialog-k70Qfukb.js.map → Dialog-qJtc4-PZ.js.map} +1 -1
- package/lib/Drawer-BPBxzel2.js +1133 -0
- package/lib/Drawer-BPBxzel2.js.map +1 -0
- package/lib/Markdown-D3MUf20w.js +7691 -0
- package/lib/Markdown-D3MUf20w.js.map +1 -0
- package/lib/MdxPage-qSYniGrR.js +84 -0
- package/lib/MdxPage-qSYniGrR.js.map +1 -0
- package/lib/OasProvider-BHyIG4Ge.js +33 -0
- package/lib/OasProvider-BHyIG4Ge.js.map +1 -0
- package/lib/OperationList-CfVK_S-T.js +5142 -0
- package/lib/OperationList-CfVK_S-T.js.map +1 -0
- package/lib/Pagination-CjsamWJW.js +48 -0
- package/lib/Pagination-CjsamWJW.js.map +1 -0
- package/lib/RouteGuard-ChX1tPqA.js +55 -0
- package/lib/RouteGuard-ChX1tPqA.js.map +1 -0
- package/lib/SchemaList-BZRVKC7J.js +160 -0
- package/lib/SchemaList-BZRVKC7J.js.map +1 -0
- package/lib/SchemaView-Db5jA7z7.js +375 -0
- package/lib/SchemaView-Db5jA7z7.js.map +1 -0
- package/lib/Select-CaRC4cvg.js +211 -0
- package/lib/Select-CaRC4cvg.js.map +1 -0
- package/lib/SlotletProvider-ZhDNaV0q.js +257 -0
- package/lib/SlotletProvider-ZhDNaV0q.js.map +1 -0
- package/lib/{Spinner-3cQDBVGr.js → Spinner-mNLZ6awP.js} +2 -2
- package/lib/{Spinner-3cQDBVGr.js.map → Spinner-mNLZ6awP.js.map} +1 -1
- package/lib/SyntaxHighlight-IcJTpNbL.js +9107 -0
- package/lib/SyntaxHighlight-IcJTpNbL.js.map +1 -0
- package/lib/Toc-B0gpT6e6.js +92 -0
- package/lib/Toc-B0gpT6e6.js.map +1 -0
- package/lib/chunk-BAXFHI7N-C9WnHsLV.js +1839 -0
- package/lib/chunk-BAXFHI7N-C9WnHsLV.js.map +1 -0
- package/lib/circular-BGxf3iUW.js +14929 -0
- package/lib/circular-BGxf3iUW.js.map +1 -0
- package/lib/{cn-BmFQLtkS.js → cn-CwJPJKOE.js} +29 -30
- package/lib/cn-CwJPJKOE.js.map +1 -0
- package/lib/createServer-C1kGUn7C.js +12494 -0
- package/lib/createServer-C1kGUn7C.js.map +1 -0
- package/lib/hook-CqYKERnR.js +1442 -0
- package/lib/hook-CqYKERnR.js.map +1 -0
- package/lib/index--oeBayMa.js +86 -0
- package/lib/index--oeBayMa.js.map +1 -0
- package/lib/{index-LNp6rxyU.js → index-BvvmIczU.js} +2 -2
- package/lib/{index-LNp6rxyU.js.map → index-BvvmIczU.js.map} +1 -1
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-D1LYvDiD.js +3158 -0
- package/lib/index-D1LYvDiD.js.map +1 -0
- package/lib/index-LSPm9Daf.js +4976 -0
- package/lib/index-LSPm9Daf.js.map +1 -0
- package/lib/index-Z13x6tPX.js +36 -0
- package/lib/index-Z13x6tPX.js.map +1 -0
- package/lib/{assets/index-B_Jk_Yzp.js → index-zddirpDj.js} +727 -725
- package/lib/index-zddirpDj.js.map +1 -0
- package/lib/index.esm-BFcSKCe-.js +683 -0
- package/lib/index.esm-BFcSKCe-.js.map +1 -0
- package/lib/index.esm-D2ZUREQN.js +1216 -0
- package/lib/index.esm-D2ZUREQN.js.map +1 -0
- package/lib/invariant-DAFpPywt.js +48 -0
- package/lib/{invariant-Caa8-XvF.js.map → invariant-DAFpPywt.js.map} +1 -1
- package/lib/jsx-runtime-C5mzlN2N.js +285 -0
- package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/lib/mutation-DpoXF3gn.js +196 -0
- package/lib/mutation-DpoXF3gn.js.map +1 -0
- package/lib/objectEntries-yMIkr2mI.js +5 -0
- package/lib/objectEntries-yMIkr2mI.js.map +1 -0
- package/lib/processors/removeExtensions.js +11 -0
- package/lib/processors/removeExtensions.js.map +1 -0
- package/lib/processors/removeParameters.js +47 -0
- package/lib/processors/removeParameters.js.map +1 -0
- package/lib/processors/removePaths.js +28 -0
- package/lib/processors/removePaths.js.map +1 -0
- package/lib/processors/traverse.js +17 -0
- package/lib/processors/traverse.js.map +1 -0
- package/lib/ui/Accordion.js +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +4 -4
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +3 -3
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/AlertDialog.js.map +1 -1
- package/lib/ui/Badge.js +5 -4
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +5 -5
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +14 -13
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +41 -22
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +9 -9
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +552 -546
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +14 -13
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +83 -0
- package/lib/ui/CodeBlock.js.map +1 -0
- package/lib/ui/Command.js +114 -508
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +2 -2
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +14 -1150
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +2 -2
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/Form.js +6 -6
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +2 -2
- package/lib/ui/Input.js +2 -2
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Pagination.js +5 -5
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +2 -2
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/Progress.js.map +1 -1
- package/lib/ui/RadioGroup.js +2 -2
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Select.js +5 -5
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +2 -2
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +2 -2
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +10 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +11 -11
- package/lib/ui/Textarea.js +2 -2
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +3 -3
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +2 -2
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/useExposedProps-DG8J6ewJ.js +9 -0
- package/lib/useExposedProps-DG8J6ewJ.js.map +1 -0
- package/lib/useLatest-hmRS46UF.js +11 -0
- package/lib/useLatest-hmRS46UF.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +33 -37
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +96 -56
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +562 -585
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +34 -1586
- 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 +117 -0
- package/lib/zudoku.plugin-api-catalog.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +112 -109
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +27 -50
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -6
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +52 -24
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +230 -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 +154 -99
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/demo-cdn.html +31 -31
- package/src/app/demo.html +1 -1
- package/src/app/demo.tsx +1 -2
- package/src/app/entry.client.tsx +67 -15
- package/src/app/entry.server.tsx +26 -15
- package/src/app/env.ts +35 -0
- package/src/app/main.css +155 -43
- package/src/app/main.tsx +63 -11
- package/src/app/sentry.ts +24 -0
- package/src/app/standalone.tsx +1 -2
- package/src/app/tailwind.ts +83 -48
- package/src/lib/MissingIcon.tsx +22 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
- package/src/lib/authentication/authentication.ts +3 -1
- package/src/lib/authentication/components/CallbackHandler.tsx +12 -2
- package/src/lib/authentication/components/SignIn.tsx +35 -2
- package/src/lib/authentication/components/SignOut.tsx +3 -2
- package/src/lib/authentication/components/SignUp.tsx +35 -1
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/auth0.tsx +5 -7
- package/src/lib/authentication/providers/clerk.tsx +76 -17
- package/src/lib/authentication/providers/openid.tsx +68 -40
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +9 -19
- package/src/lib/components/AnchorLink.tsx +13 -8
- package/src/lib/components/Autocomplete.tsx +113 -0
- package/src/lib/components/Banner.tsx +2 -1
- package/src/lib/components/Bootstrap.tsx +29 -29
- package/src/lib/components/BuildCheck.tsx +75 -0
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Header.tsx +66 -25
- package/src/lib/components/Heading.tsx +14 -14
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +28 -59
- package/src/lib/components/Main.tsx +51 -0
- package/src/lib/components/Markdown.tsx +33 -29
- package/src/lib/components/MobileTopNavigation.tsx +30 -21
- package/src/lib/components/NotFoundPage.tsx +1 -1
- package/src/lib/components/Pagination.tsx +50 -0
- package/src/lib/components/PathRenderer.tsx +61 -0
- package/src/lib/components/ReactMarkdown.license.txt +21 -0
- package/src/lib/components/ReactMarkdown.tsx +264 -0
- package/src/lib/components/Search.tsx +17 -6
- package/src/lib/components/SlotletProvider.tsx +1 -1
- package/src/lib/components/StatusPage.tsx +91 -0
- package/src/lib/components/ThemeSwitch.tsx +29 -9
- package/src/lib/components/TopNavigation.tsx +53 -26
- package/src/lib/components/Zudoku.tsx +18 -7
- package/src/lib/components/cache.ts +23 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +34 -36
- package/src/lib/components/context/ZudokuContext.ts +30 -9
- package/src/lib/components/index.ts +24 -5
- package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
- package/src/lib/components/navigation/Sidebar.tsx +38 -29
- package/src/lib/components/navigation/SidebarBadge.tsx +17 -12
- package/src/lib/components/navigation/SidebarCategory.tsx +65 -58
- package/src/lib/components/navigation/SidebarItem.tsx +30 -40
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -22
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +9 -18
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
- package/src/lib/components/navigation/utils.ts +1 -1
- package/src/lib/core/RouteGuard.tsx +96 -0
- package/src/lib/core/ZudokuContext.ts +79 -21
- package/src/lib/core/plugins.ts +33 -7
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/errors/RouterError.tsx +1 -1
- 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/circular.ts +58 -0
- package/src/lib/oas/graphql/index.ts +295 -101
- package/src/lib/oas/parser/dereference/index.ts +10 -4
- package/src/lib/oas/parser/index.ts +14 -30
- package/src/lib/oas/parser/upgrade/index.ts +103 -40
- package/src/lib/plugins/api-catalog/Catalog.tsx +73 -0
- package/src/lib/plugins/api-catalog/index.tsx +115 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +8 -4
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
- package/src/lib/plugins/api-keys/index.tsx +7 -1
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +43 -41
- package/src/lib/plugins/markdown/index.tsx +5 -2
- package/src/lib/plugins/markdown/resolver.ts +2 -37
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +14 -8
- package/src/lib/plugins/openapi/ColorizedParam.tsx +29 -12
- package/src/lib/plugins/openapi/Endpoint.tsx +14 -12
- package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
- package/src/lib/plugins/openapi/OperationList.tsx +232 -42
- package/src/lib/plugins/openapi/OperationListItem.tsx +122 -93
- package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +65 -24
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +21 -2
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -38
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -64
- package/src/lib/plugins/openapi/SchemaList.tsx +163 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +120 -67
- package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +168 -0
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +29 -104
- package/src/lib/plugins/openapi/client/createServer.ts +6 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +34 -7
- package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/context.tsx +2 -2
- package/src/lib/plugins/openapi/graphql/gql.ts +36 -11
- package/src/lib/plugins/openapi/graphql/graphql.ts +172 -36
- package/src/lib/plugins/openapi/index.tsx +100 -98
- package/src/lib/plugins/openapi/interfaces.ts +58 -3
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +52 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +165 -36
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +41 -0
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +39 -64
- package/src/lib/plugins/openapi/playground/Playground.tsx +384 -244
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +6 -3
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +87 -89
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +230 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +123 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +222 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +182 -0
- package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
- package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
- 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 +39 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +160 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +105 -141
- package/src/lib/plugins/openapi/schema/utils.ts +32 -5
- 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/generateSchemaExample.ts +77 -12
- package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
- package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
- package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
- package/src/lib/plugins/redirect/index.tsx +2 -2
- package/src/lib/plugins/search-inkeep/index.tsx +78 -23
- package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +164 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +105 -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/shiki.ts +133 -0
- package/src/lib/ui/Badge.tsx +2 -1
- package/src/lib/ui/Button.tsx +4 -2
- package/src/lib/ui/Callout.tsx +29 -10
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Checkbox.tsx +2 -1
- package/src/lib/ui/CodeBlock.tsx +102 -0
- package/src/lib/ui/Command.tsx +45 -3
- package/src/lib/ui/Input.tsx +1 -2
- package/src/lib/ui/Select.tsx +2 -2
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/SyntaxHighlight.tsx +27 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +37 -23
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/detectOS.ts +9 -0
- package/src/lib/util/ensureArray.ts +3 -0
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/joinUrl.test.ts +62 -0
- package/src/lib/util/joinUrl.ts +57 -0
- package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/traverse.ts +34 -0
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/url.test.ts +51 -0
- package/src/lib/util/url.ts +18 -0
- package/src/lib/util/useExposedProps.tsx +1 -1
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +48 -39
- package/src/lib/util/useScrollToTop.ts +9 -4
- package/src/shiki/langs/abap.js +1 -0
- package/src/shiki/langs/actionscript-3.js +1 -0
- package/src/shiki/langs/ada.js +1 -0
- package/src/shiki/langs/angular-expression.js +1 -0
- package/src/shiki/langs/angular-html.js +1 -0
- package/src/shiki/langs/angular-inline-style.js +1 -0
- package/src/shiki/langs/angular-inline-template.js +1 -0
- package/src/shiki/langs/angular-let-declaration.js +1 -0
- package/src/shiki/langs/angular-template-blocks.js +1 -0
- package/src/shiki/langs/angular-template.js +1 -0
- package/src/shiki/langs/angular-ts.js +1 -0
- package/src/shiki/langs/apache.js +1 -0
- package/src/shiki/langs/apex.js +1 -0
- package/src/shiki/langs/apl.js +1 -0
- package/src/shiki/langs/applescript.js +1 -0
- package/src/shiki/langs/ara.js +1 -0
- package/src/shiki/langs/asciidoc.js +1 -0
- package/src/shiki/langs/asm.js +1 -0
- package/src/shiki/langs/astro.js +1 -0
- package/src/shiki/langs/awk.js +1 -0
- package/src/shiki/langs/ballerina.js +1 -0
- package/src/shiki/langs/bat.js +1 -0
- package/src/shiki/langs/beancount.js +1 -0
- package/src/shiki/langs/berry.js +1 -0
- package/src/shiki/langs/bibtex.js +1 -0
- package/src/shiki/langs/bicep.js +1 -0
- package/src/shiki/langs/blade.js +1 -0
- package/src/shiki/langs/bsl.js +1 -0
- package/src/shiki/langs/c.js +1 -0
- package/src/shiki/langs/cadence.js +1 -0
- package/src/shiki/langs/cairo.js +1 -0
- package/src/shiki/langs/clarity.js +1 -0
- package/src/shiki/langs/clojure.js +1 -0
- package/src/shiki/langs/cmake.js +1 -0
- package/src/shiki/langs/cobol.js +1 -0
- package/src/shiki/langs/codeowners.js +1 -0
- package/src/shiki/langs/codeql.js +1 -0
- package/src/shiki/langs/coffee.js +1 -0
- package/src/shiki/langs/common-lisp.js +1 -0
- package/src/shiki/langs/coq.js +1 -0
- package/src/shiki/langs/cpp-macro.js +1 -0
- package/src/shiki/langs/cpp.js +1 -0
- package/src/shiki/langs/crystal.js +1 -0
- package/src/shiki/langs/csharp.js +1 -0
- package/src/shiki/langs/css.js +1 -0
- package/src/shiki/langs/csv.js +1 -0
- package/src/shiki/langs/cue.js +1 -0
- package/src/shiki/langs/cypher.js +1 -0
- package/src/shiki/langs/d.js +1 -0
- package/src/shiki/langs/dart.js +1 -0
- package/src/shiki/langs/dax.js +1 -0
- package/src/shiki/langs/desktop.js +1 -0
- package/src/shiki/langs/diff.js +1 -0
- package/src/shiki/langs/docker.js +1 -0
- package/src/shiki/langs/dotenv.js +1 -0
- package/src/shiki/langs/dream-maker.js +1 -0
- package/src/shiki/langs/edge.js +1 -0
- package/src/shiki/langs/elixir.js +1 -0
- package/src/shiki/langs/elm.js +1 -0
- package/src/shiki/langs/emacs-lisp.js +1 -0
- package/src/shiki/langs/erb.js +1 -0
- package/src/shiki/langs/erlang.js +1 -0
- package/src/shiki/langs/es-tag-css.js +1 -0
- package/src/shiki/langs/es-tag-glsl.js +1 -0
- package/src/shiki/langs/es-tag-html.js +1 -0
- package/src/shiki/langs/es-tag-sql.js +1 -0
- package/src/shiki/langs/es-tag-xml.js +1 -0
- package/src/shiki/langs/fennel.js +1 -0
- package/src/shiki/langs/fish.js +1 -0
- package/src/shiki/langs/fluent.js +1 -0
- package/src/shiki/langs/fortran-fixed-form.js +1 -0
- package/src/shiki/langs/fortran-free-form.js +1 -0
- package/src/shiki/langs/fsharp.js +1 -0
- package/src/shiki/langs/gdresource.js +1 -0
- package/src/shiki/langs/gdscript.js +1 -0
- package/src/shiki/langs/gdshader.js +1 -0
- package/src/shiki/langs/genie.js +1 -0
- package/src/shiki/langs/gherkin.js +1 -0
- package/src/shiki/langs/git-commit.js +1 -0
- package/src/shiki/langs/git-rebase.js +1 -0
- package/src/shiki/langs/gleam.js +1 -0
- package/src/shiki/langs/glimmer-js.js +1 -0
- package/src/shiki/langs/glimmer-ts.js +1 -0
- package/src/shiki/langs/glsl.js +1 -0
- package/src/shiki/langs/gnuplot.js +1 -0
- package/src/shiki/langs/go.js +1 -0
- package/src/shiki/langs/graphql.js +1 -0
- package/src/shiki/langs/groovy.js +1 -0
- package/src/shiki/langs/hack.js +1 -0
- package/src/shiki/langs/haml.js +1 -0
- package/src/shiki/langs/handlebars.js +1 -0
- package/src/shiki/langs/haskell.js +1 -0
- package/src/shiki/langs/haxe.js +1 -0
- package/src/shiki/langs/hcl.js +1 -0
- package/src/shiki/langs/hjson.js +1 -0
- package/src/shiki/langs/hlsl.js +1 -0
- package/src/shiki/langs/html-derivative.js +1 -0
- package/src/shiki/langs/html.js +1 -0
- package/src/shiki/langs/http.js +1 -0
- package/src/shiki/langs/hxml.js +1 -0
- package/src/shiki/langs/hy.js +1 -0
- package/src/shiki/langs/imba.js +1 -0
- package/src/shiki/langs/ini.js +1 -0
- package/src/shiki/langs/java.js +1 -0
- package/src/shiki/langs/javascript.js +1 -0
- package/src/shiki/langs/jinja-html.js +1 -0
- package/src/shiki/langs/jinja.js +1 -0
- package/src/shiki/langs/jison.js +1 -0
- package/src/shiki/langs/json.js +1 -0
- package/src/shiki/langs/json5.js +1 -0
- package/src/shiki/langs/jsonc.js +1 -0
- package/src/shiki/langs/jsonl.js +1 -0
- package/src/shiki/langs/jsonnet.js +1 -0
- package/src/shiki/langs/jssm.js +1 -0
- package/src/shiki/langs/jsx.js +1 -0
- package/src/shiki/langs/julia.js +1 -0
- package/src/shiki/langs/kotlin.js +1 -0
- package/src/shiki/langs/kusto.js +1 -0
- package/src/shiki/langs/latex.js +1 -0
- package/src/shiki/langs/lean.js +1 -0
- package/src/shiki/langs/less.js +1 -0
- package/src/shiki/langs/liquid.js +1 -0
- package/src/shiki/langs/llvm.js +1 -0
- package/src/shiki/langs/log.js +1 -0
- package/src/shiki/langs/logo.js +1 -0
- package/src/shiki/langs/lua.js +1 -0
- package/src/shiki/langs/luau.js +1 -0
- package/src/shiki/langs/make.js +1 -0
- package/src/shiki/langs/markdown-vue.js +1 -0
- package/src/shiki/langs/markdown.js +1 -0
- package/src/shiki/langs/marko.js +1 -0
- package/src/shiki/langs/matlab.js +1 -0
- package/src/shiki/langs/mdc.js +1 -0
- package/src/shiki/langs/mdx.js +1 -0
- package/src/shiki/langs/mermaid.js +1 -0
- package/src/shiki/langs/mipsasm.js +1 -0
- package/src/shiki/langs/mojo.js +1 -0
- package/src/shiki/langs/move.js +1 -0
- package/src/shiki/langs/narrat.js +1 -0
- package/src/shiki/langs/nextflow.js +1 -0
- package/src/shiki/langs/nginx.js +1 -0
- package/src/shiki/langs/nim.js +1 -0
- package/src/shiki/langs/nix.js +1 -0
- package/src/shiki/langs/nushell.js +1 -0
- package/src/shiki/langs/objective-c.js +1 -0
- package/src/shiki/langs/objective-cpp.js +1 -0
- package/src/shiki/langs/ocaml.js +1 -0
- package/src/shiki/langs/pascal.js +1 -0
- package/src/shiki/langs/perl.js +1 -0
- package/src/shiki/langs/php.js +1 -0
- package/src/shiki/langs/plsql.js +1 -0
- package/src/shiki/langs/po.js +1 -0
- package/src/shiki/langs/polar.js +1 -0
- package/src/shiki/langs/postcss.js +1 -0
- package/src/shiki/langs/powerquery.js +1 -0
- package/src/shiki/langs/powershell.js +1 -0
- package/src/shiki/langs/prisma.js +1 -0
- package/src/shiki/langs/prolog.js +1 -0
- package/src/shiki/langs/proto.js +1 -0
- package/src/shiki/langs/pug.js +1 -0
- package/src/shiki/langs/puppet.js +1 -0
- package/src/shiki/langs/purescript.js +1 -0
- package/src/shiki/langs/python.js +1 -0
- package/src/shiki/langs/qml.js +1 -0
- package/src/shiki/langs/qmldir.js +1 -0
- package/src/shiki/langs/qss.js +1 -0
- package/src/shiki/langs/r.js +1 -0
- package/src/shiki/langs/racket.js +1 -0
- package/src/shiki/langs/raku.js +1 -0
- package/src/shiki/langs/razor.js +1 -0
- package/src/shiki/langs/reg.js +1 -0
- package/src/shiki/langs/regexp.js +1 -0
- package/src/shiki/langs/rel.js +1 -0
- package/src/shiki/langs/riscv.js +1 -0
- package/src/shiki/langs/rst.js +1 -0
- package/src/shiki/langs/ruby.js +1 -0
- package/src/shiki/langs/rust.js +1 -0
- package/src/shiki/langs/sas.js +1 -0
- package/src/shiki/langs/sass.js +1 -0
- package/src/shiki/langs/scala.js +1 -0
- package/src/shiki/langs/scheme.js +1 -0
- package/src/shiki/langs/scss.js +1 -0
- package/src/shiki/langs/sdbl.js +1 -0
- package/src/shiki/langs/shaderlab.js +1 -0
- package/src/shiki/langs/shellscript.js +1 -0
- package/src/shiki/langs/shellsession.js +1 -0
- package/src/shiki/langs/smalltalk.js +1 -0
- package/src/shiki/langs/solidity.js +1 -0
- package/src/shiki/langs/soy.js +1 -0
- package/src/shiki/langs/sparql.js +1 -0
- package/src/shiki/langs/splunk.js +1 -0
- package/src/shiki/langs/sql.js +1 -0
- package/src/shiki/langs/ssh-config.js +1 -0
- package/src/shiki/langs/stata.js +1 -0
- package/src/shiki/langs/stylus.js +1 -0
- package/src/shiki/langs/svelte.js +1 -0
- package/src/shiki/langs/swift.js +1 -0
- package/src/shiki/langs/system-verilog.js +1 -0
- package/src/shiki/langs/systemd.js +1 -0
- package/src/shiki/langs/talonscript.js +1 -0
- package/src/shiki/langs/tasl.js +1 -0
- package/src/shiki/langs/tcl.js +1 -0
- package/src/shiki/langs/templ.js +1 -0
- package/src/shiki/langs/terraform.js +1 -0
- package/src/shiki/langs/tex.js +1 -0
- package/src/shiki/langs/toml.js +1 -0
- package/src/shiki/langs/ts-tags.js +1 -0
- package/src/shiki/langs/tsv.js +1 -0
- package/src/shiki/langs/tsx.js +1 -0
- package/src/shiki/langs/turtle.js +1 -0
- package/src/shiki/langs/twig.js +1 -0
- package/src/shiki/langs/typescript.js +1 -0
- package/src/shiki/langs/typespec.js +1 -0
- package/src/shiki/langs/typst.js +1 -0
- package/src/shiki/langs/v.js +1 -0
- package/src/shiki/langs/vala.js +1 -0
- package/src/shiki/langs/vb.js +1 -0
- package/src/shiki/langs/verilog.js +1 -0
- package/src/shiki/langs/vhdl.js +1 -0
- package/src/shiki/langs/viml.js +1 -0
- package/src/shiki/langs/vue-directives.js +1 -0
- package/src/shiki/langs/vue-html.js +1 -0
- package/src/shiki/langs/vue-interpolations.js +1 -0
- package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
- package/src/shiki/langs/vue.js +1 -0
- package/src/shiki/langs/vyper.js +1 -0
- package/src/shiki/langs/wasm.js +1 -0
- package/src/shiki/langs/wenyan.js +1 -0
- package/src/shiki/langs/wgsl.js +1 -0
- package/src/shiki/langs/wikitext.js +1 -0
- package/src/shiki/langs/wit.js +1 -0
- package/src/shiki/langs/wolfram.js +1 -0
- package/src/shiki/langs/xml.js +1 -0
- package/src/shiki/langs/xsl.js +1 -0
- package/src/shiki/langs/yaml.js +1 -0
- package/src/shiki/langs/zenscript.js +1 -0
- package/src/shiki/langs/zig.js +1 -0
- package/src/shiki/themes/andromeeda.js +1 -0
- package/src/shiki/themes/aurora-x.js +1 -0
- package/src/shiki/themes/ayu-dark.js +1 -0
- package/src/shiki/themes/catppuccin-frappe.js +1 -0
- package/src/shiki/themes/catppuccin-latte.js +1 -0
- package/src/shiki/themes/catppuccin-macchiato.js +1 -0
- package/src/shiki/themes/catppuccin-mocha.js +1 -0
- package/src/shiki/themes/dark-plus.js +1 -0
- package/src/shiki/themes/dracula-soft.js +1 -0
- package/src/shiki/themes/dracula.js +1 -0
- package/src/shiki/themes/everforest-dark.js +1 -0
- package/src/shiki/themes/everforest-light.js +1 -0
- package/src/shiki/themes/github-dark-default.js +1 -0
- package/src/shiki/themes/github-dark-dimmed.js +1 -0
- package/src/shiki/themes/github-dark-high-contrast.js +1 -0
- package/src/shiki/themes/github-dark.js +1 -0
- package/src/shiki/themes/github-light-default.js +1 -0
- package/src/shiki/themes/github-light-high-contrast.js +1 -0
- package/src/shiki/themes/github-light.js +1 -0
- package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
- package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
- package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
- package/src/shiki/themes/gruvbox-light-hard.js +1 -0
- package/src/shiki/themes/gruvbox-light-medium.js +1 -0
- package/src/shiki/themes/gruvbox-light-soft.js +1 -0
- package/src/shiki/themes/houston.js +1 -0
- package/src/shiki/themes/kanagawa-dragon.js +1 -0
- package/src/shiki/themes/kanagawa-lotus.js +1 -0
- package/src/shiki/themes/kanagawa-wave.js +1 -0
- package/src/shiki/themes/laserwave.js +1 -0
- package/src/shiki/themes/light-plus.js +1 -0
- package/src/shiki/themes/material-theme-darker.js +1 -0
- package/src/shiki/themes/material-theme-lighter.js +1 -0
- package/src/shiki/themes/material-theme-ocean.js +1 -0
- package/src/shiki/themes/material-theme-palenight.js +1 -0
- package/src/shiki/themes/material-theme.js +1 -0
- package/src/shiki/themes/min-dark.js +1 -0
- package/src/shiki/themes/min-light.js +1 -0
- package/src/shiki/themes/monokai.js +1 -0
- package/src/shiki/themes/night-owl.js +1 -0
- package/src/shiki/themes/nord.js +1 -0
- package/src/shiki/themes/one-dark-pro.js +1 -0
- package/src/shiki/themes/one-light.js +1 -0
- package/src/shiki/themes/plastic.js +1 -0
- package/src/shiki/themes/poimandres.js +1 -0
- package/src/shiki/themes/red.js +1 -0
- package/src/shiki/themes/rose-pine-dawn.js +1 -0
- package/src/shiki/themes/rose-pine-moon.js +1 -0
- package/src/shiki/themes/rose-pine.js +1 -0
- package/src/shiki/themes/slack-dark.js +1 -0
- package/src/shiki/themes/slack-ochin.js +1 -0
- package/src/shiki/themes/snazzy-light.js +1 -0
- package/src/shiki/themes/solarized-dark.js +1 -0
- package/src/shiki/themes/solarized-light.js +1 -0
- package/src/shiki/themes/synthwave-84.js +1 -0
- package/src/shiki/themes/tokyo-night.js +1 -0
- package/src/shiki/themes/vesper.js +1 -0
- package/src/shiki/themes/vitesse-black.js +1 -0
- package/src/shiki/themes/vitesse-dark.js +1 -0
- package/src/shiki/themes/vitesse-light.js +1 -0
- package/client.d.ts +0 -1
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
- package/dist/lib/components/SyntaxHighlight.js +0 -57
- package/dist/lib/components/SyntaxHighlight.js.map +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/lib/plugins/openapi/Route.d.ts +0 -6
- package/dist/lib/plugins/openapi/Route.js +0 -6
- package/dist/lib/plugins/openapi/Route.js.map +0 -1
- package/dist/lib/plugins/openapi/client/worker.d.ts +0 -4
- package/dist/lib/plugins/openapi/client/worker.js +0 -29
- package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/dist/lib/plugins/openapi-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi-worker.js +0 -8
- package/dist/lib/plugins/openapi-worker.js.map +0 -1
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
- package/dist/vite/plugin-custom-css.js +0 -55
- package/dist/vite/plugin-custom-css.js.map +0 -1
- package/dist/vite/prerender.d.ts +0 -21
- package/dist/vite/prerender.js +0 -89
- package/dist/vite/prerender.js.map +0 -1
- package/lib/AnchorLink-CDlhr8gL.js +0 -706
- package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
- package/lib/AuthenticationPlugin-DeGDVa1r.js +0 -56
- package/lib/AuthenticationPlugin-DeGDVa1r.js.map +0 -1
- package/lib/Button-jK0EsymC.js +0 -48
- package/lib/Button-jK0EsymC.js.map +0 -1
- package/lib/Dialog-k70Qfukb.js +0 -67
- package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
- package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
- package/lib/Markdown-ievDDhFT.js +0 -15192
- package/lib/Markdown-ievDDhFT.js.map +0 -1
- package/lib/MdxPage-Bwn-VSsH.js +0 -174
- package/lib/MdxPage-Bwn-VSsH.js.map +0 -1
- package/lib/OperationList-BwBl1xrD.js +0 -4691
- package/lib/OperationList-BwBl1xrD.js.map +0 -1
- package/lib/Route-DlG_HTMu.js +0 -11
- package/lib/Route-DlG_HTMu.js.map +0 -1
- package/lib/Select-O9ZM3ZgX.js +0 -223
- package/lib/Select-O9ZM3ZgX.js.map +0 -1
- package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
- package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
- package/lib/SlotletProvider-DyomlzGx.js +0 -252
- package/lib/SlotletProvider-DyomlzGx.js.map +0 -1
- package/lib/SyntaxHighlight-DkLOsjHS.js +0 -2983
- package/lib/SyntaxHighlight-DkLOsjHS.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/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
- package/lib/assets/worker-CPsGZsve.js +0 -18201
- package/lib/assets/worker-CPsGZsve.js.map +0 -1
- package/lib/cn-BmFQLtkS.js.map +0 -1
- package/lib/context-D1nXWxm7.js +0 -22
- package/lib/context-D1nXWxm7.js.map +0 -1
- package/lib/createServer-DK-g7kbB.js +0 -16089
- package/lib/createServer-DK-g7kbB.js.map +0 -1
- package/lib/hook-hEqe7fPB.js +0 -227
- package/lib/hook-hEqe7fPB.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- package/lib/index-CkwDvuPt.js +0 -4820
- package/lib/index-CkwDvuPt.js.map +0 -1
- package/lib/index-Czzd9rjU.js +0 -899
- package/lib/index-Czzd9rjU.js.map +0 -1
- package/lib/index-DNxQ_rCt.js +0 -1273
- package/lib/index-DNxQ_rCt.js.map +0 -1
- package/lib/index-Yn8c3UWE.js +0 -921
- package/lib/index-Yn8c3UWE.js.map +0 -1
- package/lib/index.esm-C5mr_sKO.js +0 -1193
- package/lib/index.esm-C5mr_sKO.js.map +0 -1
- package/lib/invariant-Caa8-XvF.js +0 -26
- package/lib/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/prism-bash.min-DadFsM4Z.js +0 -7
- package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
- package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
- package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
- package/lib/prism-json.min-B1GJqK1k.js +0 -2
- package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
- package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
- package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
- package/lib/prism-markup-BNGj0Tvm.js +0 -174
- package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
- package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
- package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
- package/lib/prism-php.min-o7FpoMP_.js +0 -11
- package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
- package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
- package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
- package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
- package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
- package/lib/router-lfyopgBI.js +0 -3024
- package/lib/router-lfyopgBI.js.map +0 -1
- package/lib/state-tsXBLONe.js +0 -203
- package/lib/state-tsXBLONe.js.map +0 -1
- package/lib/useExposedProps-CTPtylCV.js +0 -10
- package/lib/useExposedProps-CTPtylCV.js.map +0 -1
- package/lib/utils-DcpDOncX.js +0 -1218
- package/lib/utils-DcpDOncX.js.map +0 -1
- package/lib/zudoku.openapi-worker.js +0 -15
- package/lib/zudoku.openapi-worker.js.map +0 -1
- package/src/lib/components/SyntaxHighlight.tsx +0 -161
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/plugins/openapi/Route.tsx +0 -19
- package/src/lib/plugins/openapi/client/worker.ts +0 -44
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
- package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
- package/src/lib/plugins/openapi-worker.ts +0 -11
- package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
- /package/dist/lib/{components/context/PluginSystem.d.ts → hooks/useEvent.test.d.ts} +0 -0
|
@@ -1,160 +1,47 @@
|
|
|
1
1
|
import type { Options } from "@mdx-js/rollup";
|
|
2
2
|
import type { ComponentType, ReactNode } from "react";
|
|
3
|
-
import
|
|
4
|
-
import z, { type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
|
|
3
|
+
import z from "zod";
|
|
5
4
|
import type { ExposedComponentProps } from "../../lib/components/SlotletProvider.js";
|
|
6
|
-
import {
|
|
7
|
-
import type
|
|
8
|
-
declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
9
|
-
type: z.ZodLiteral<"url">;
|
|
10
|
-
input: z.ZodString;
|
|
11
|
-
}, {
|
|
12
|
-
server: z.ZodOptional<z.ZodString>;
|
|
13
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}>, "strip", z.ZodTypeAny, {
|
|
15
|
-
type: "url";
|
|
16
|
-
input: string;
|
|
17
|
-
server?: string | undefined;
|
|
18
|
-
navigationId?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
type: "url";
|
|
21
|
-
input: string;
|
|
22
|
-
server?: string | undefined;
|
|
23
|
-
navigationId?: string | undefined;
|
|
24
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
25
|
-
type: z.ZodLiteral<"file">;
|
|
26
|
-
input: z.ZodString;
|
|
27
|
-
}, {
|
|
28
|
-
server: z.ZodOptional<z.ZodString>;
|
|
29
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}>, "strip", z.ZodTypeAny, {
|
|
31
|
-
type: "file";
|
|
32
|
-
input: string;
|
|
33
|
-
server?: string | undefined;
|
|
34
|
-
navigationId?: string | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
type: "file";
|
|
37
|
-
input: string;
|
|
38
|
-
server?: string | undefined;
|
|
39
|
-
navigationId?: string | undefined;
|
|
40
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
41
|
-
type: z.ZodLiteral<"raw">;
|
|
42
|
-
input: z.ZodString;
|
|
43
|
-
}, {
|
|
44
|
-
server: z.ZodOptional<z.ZodString>;
|
|
45
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}>, "strip", z.ZodTypeAny, {
|
|
47
|
-
type: "raw";
|
|
48
|
-
input: string;
|
|
49
|
-
server?: string | undefined;
|
|
50
|
-
navigationId?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
type: "raw";
|
|
53
|
-
input: string;
|
|
54
|
-
server?: string | undefined;
|
|
55
|
-
navigationId?: string | undefined;
|
|
56
|
-
}>]>;
|
|
57
|
-
declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
/**
|
|
59
|
-
* Base url of your website
|
|
60
|
-
*/
|
|
61
|
-
siteUrl: z.ZodString;
|
|
62
|
-
/**
|
|
63
|
-
* Change frequency.
|
|
64
|
-
* @default 'daily'
|
|
65
|
-
*/
|
|
66
|
-
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
67
|
-
/**
|
|
68
|
-
* Priority
|
|
69
|
-
* @default 0.7
|
|
70
|
-
*/
|
|
71
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
outDir: z.ZodOptional<z.ZodString>;
|
|
73
|
-
/**
|
|
74
|
-
* Add <lastmod/> property.
|
|
75
|
-
* @default true
|
|
76
|
-
*/
|
|
77
|
-
autoLastmod: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
-
/**
|
|
79
|
-
* Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
|
|
80
|
-
* @example ['/page-0', '/page/example']
|
|
81
|
-
*/
|
|
82
|
-
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
siteUrl: string;
|
|
85
|
-
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
86
|
-
priority?: number | undefined;
|
|
87
|
-
outDir?: string | undefined;
|
|
88
|
-
autoLastmod?: boolean | undefined;
|
|
89
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
90
|
-
}, {
|
|
91
|
-
siteUrl: string;
|
|
92
|
-
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
93
|
-
priority?: number | undefined;
|
|
94
|
-
outDir?: string | undefined;
|
|
95
|
-
autoLastmod?: boolean | undefined;
|
|
96
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
97
|
-
}>>;
|
|
98
|
-
declare const DocsConfigSchema: z.ZodObject<{
|
|
99
|
-
files: z.ZodString;
|
|
100
|
-
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
toc: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
disablePager: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
toc?: boolean | undefined;
|
|
105
|
-
disablePager?: boolean | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
toc?: boolean | undefined;
|
|
108
|
-
disablePager?: boolean | undefined;
|
|
109
|
-
}>>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
files: string;
|
|
112
|
-
defaultOptions?: {
|
|
113
|
-
toc?: boolean | undefined;
|
|
114
|
-
disablePager?: boolean | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
files: string;
|
|
118
|
-
defaultOptions?: {
|
|
119
|
-
toc?: boolean | undefined;
|
|
120
|
-
disablePager?: boolean | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
}>;
|
|
123
|
-
declare const TopNavigationItemSchema: z.ZodObject<{
|
|
124
|
-
label: z.ZodString;
|
|
125
|
-
id: z.ZodString;
|
|
126
|
-
default: z.ZodOptional<z.ZodString>;
|
|
127
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
128
|
-
}, "strip", z.ZodTypeAny, {
|
|
129
|
-
id: string;
|
|
130
|
-
label: string;
|
|
131
|
-
default?: string | undefined;
|
|
132
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
id: string;
|
|
135
|
-
label: string;
|
|
136
|
-
default?: string | undefined;
|
|
137
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
138
|
-
}>;
|
|
139
|
-
type BannerColorType = ZodOptional<ZodUnion<[
|
|
140
|
-
ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
|
|
141
|
-
ZodString
|
|
142
|
-
]>>;
|
|
143
|
-
declare const Redirect: z.ZodObject<{
|
|
144
|
-
from: z.ZodString;
|
|
145
|
-
to: z.ZodString;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
from: string;
|
|
148
|
-
to: string;
|
|
149
|
-
}, {
|
|
150
|
-
from: string;
|
|
151
|
-
to: string;
|
|
152
|
-
}>;
|
|
5
|
+
import type { ZudokuPlugin } from "../../lib/core/plugins.js";
|
|
6
|
+
import { type MdxComponentsType } from "../../lib/util/MdxComponents.js";
|
|
153
7
|
declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
8
|
+
protectedRoutes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
154
9
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12
|
+
base: z.ZodOptional<z.ZodString>;
|
|
13
|
+
media: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
base?: string | undefined;
|
|
16
|
+
media?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
base?: string | undefined;
|
|
19
|
+
media?: string | undefined;
|
|
20
|
+
}>]>, {
|
|
21
|
+
base: string | undefined;
|
|
22
|
+
media: string | undefined;
|
|
23
|
+
}, string | {
|
|
24
|
+
base?: string | undefined;
|
|
25
|
+
media?: string | undefined;
|
|
26
|
+
}>>>>;
|
|
27
|
+
port: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
28
|
+
https: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
29
|
+
key: z.ZodString;
|
|
30
|
+
cert: z.ZodString;
|
|
31
|
+
ca: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
key: string;
|
|
34
|
+
cert: string;
|
|
35
|
+
ca?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
key: string;
|
|
38
|
+
cert: string;
|
|
39
|
+
ca?: string | undefined;
|
|
40
|
+
}>>>;
|
|
155
41
|
page: z.ZodOptional<z.ZodObject<{
|
|
156
42
|
pageTitle: z.ZodOptional<z.ZodString>;
|
|
157
43
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
44
|
+
dir: z.ZodOptional<z.ZodOptional<z.ZodEnum<["ltr", "rtl"]>>>;
|
|
158
45
|
logo: z.ZodOptional<z.ZodObject<{
|
|
159
46
|
src: z.ZodObject<{
|
|
160
47
|
light: z.ZodString;
|
|
@@ -167,86 +54,261 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
167
54
|
dark: string;
|
|
168
55
|
}>;
|
|
169
56
|
alt: z.ZodOptional<z.ZodString>;
|
|
170
|
-
width: z.ZodOptional<z.ZodString
|
|
57
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
171
58
|
}, "strip", z.ZodTypeAny, {
|
|
172
59
|
src: {
|
|
173
60
|
light: string;
|
|
174
61
|
dark: string;
|
|
175
62
|
};
|
|
63
|
+
width?: string | number | undefined;
|
|
176
64
|
alt?: string | undefined;
|
|
177
|
-
width?: string | undefined;
|
|
178
65
|
}, {
|
|
179
66
|
src: {
|
|
180
67
|
light: string;
|
|
181
68
|
dark: string;
|
|
182
69
|
};
|
|
70
|
+
width?: string | number | undefined;
|
|
183
71
|
alt?: string | undefined;
|
|
184
|
-
width?: string | undefined;
|
|
185
72
|
}>>;
|
|
186
|
-
|
|
73
|
+
showPoweredBy: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
74
|
+
banner: z.ZodOptional<z.ZodObject<{
|
|
187
75
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
188
|
-
color:
|
|
76
|
+
color: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
189
77
|
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
190
78
|
}, "strip", z.ZodTypeAny, {
|
|
191
79
|
message: NonNullable<ReactNode>;
|
|
192
|
-
color?:
|
|
80
|
+
color?: string | (string & {}) | undefined;
|
|
193
81
|
dismissible?: boolean | undefined;
|
|
194
82
|
}, {
|
|
195
83
|
message: NonNullable<ReactNode>;
|
|
196
|
-
color?:
|
|
84
|
+
color?: string | (string & {}) | undefined;
|
|
197
85
|
dismissible?: boolean | undefined;
|
|
86
|
+
}>>;
|
|
87
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
88
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
links: z.ZodArray<z.ZodObject<{
|
|
92
|
+
label: z.ZodString;
|
|
93
|
+
href: z.ZodString;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
label: string;
|
|
96
|
+
href: string;
|
|
97
|
+
}, {
|
|
98
|
+
label: string;
|
|
99
|
+
href: string;
|
|
100
|
+
}>, "many">;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
title: string;
|
|
103
|
+
links: {
|
|
104
|
+
label: string;
|
|
105
|
+
href: string;
|
|
106
|
+
}[];
|
|
107
|
+
position?: "start" | "end" | "center" | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
title: string;
|
|
110
|
+
links: {
|
|
111
|
+
label: string;
|
|
112
|
+
href: string;
|
|
113
|
+
}[];
|
|
114
|
+
position?: "start" | "end" | "center" | undefined;
|
|
115
|
+
}>, "many">>;
|
|
116
|
+
social: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
118
|
+
href: z.ZodString;
|
|
119
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
href: string;
|
|
122
|
+
label?: string | undefined;
|
|
123
|
+
icon?: ReactNode;
|
|
124
|
+
}, {
|
|
125
|
+
href: string;
|
|
126
|
+
label?: string | undefined;
|
|
127
|
+
icon?: ReactNode;
|
|
128
|
+
}>, "many">>;
|
|
129
|
+
copyright: z.ZodOptional<z.ZodString>;
|
|
130
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
src: z.ZodObject<{
|
|
132
|
+
light: z.ZodString;
|
|
133
|
+
dark: z.ZodString;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
light: string;
|
|
136
|
+
dark: string;
|
|
137
|
+
}, {
|
|
138
|
+
light: string;
|
|
139
|
+
dark: string;
|
|
140
|
+
}>;
|
|
141
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
142
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
src: {
|
|
145
|
+
light: string;
|
|
146
|
+
dark: string;
|
|
147
|
+
};
|
|
148
|
+
width?: string | number | undefined;
|
|
149
|
+
alt?: string | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
src: {
|
|
152
|
+
light: string;
|
|
153
|
+
dark: string;
|
|
154
|
+
};
|
|
155
|
+
width?: string | number | undefined;
|
|
156
|
+
alt?: string | undefined;
|
|
157
|
+
}>>;
|
|
158
|
+
position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
columns?: {
|
|
161
|
+
title: string;
|
|
162
|
+
links: {
|
|
163
|
+
label: string;
|
|
164
|
+
href: string;
|
|
165
|
+
}[];
|
|
166
|
+
position?: "start" | "end" | "center" | undefined;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
copyright?: string | undefined;
|
|
169
|
+
logo?: {
|
|
170
|
+
src: {
|
|
171
|
+
light: string;
|
|
172
|
+
dark: string;
|
|
173
|
+
};
|
|
174
|
+
width?: string | number | undefined;
|
|
175
|
+
alt?: string | undefined;
|
|
176
|
+
} | undefined;
|
|
177
|
+
position?: "start" | "end" | "center" | undefined;
|
|
178
|
+
social?: {
|
|
179
|
+
href: string;
|
|
180
|
+
label?: string | undefined;
|
|
181
|
+
icon?: ReactNode;
|
|
182
|
+
}[] | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
columns?: {
|
|
185
|
+
title: string;
|
|
186
|
+
links: {
|
|
187
|
+
label: string;
|
|
188
|
+
href: string;
|
|
189
|
+
}[];
|
|
190
|
+
position?: "start" | "end" | "center" | undefined;
|
|
191
|
+
}[] | undefined;
|
|
192
|
+
copyright?: string | undefined;
|
|
193
|
+
logo?: {
|
|
194
|
+
src: {
|
|
195
|
+
light: string;
|
|
196
|
+
dark: string;
|
|
197
|
+
};
|
|
198
|
+
width?: string | number | undefined;
|
|
199
|
+
alt?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
position?: "start" | "end" | "center" | undefined;
|
|
202
|
+
social?: {
|
|
203
|
+
href: string;
|
|
204
|
+
label?: string | undefined;
|
|
205
|
+
icon?: ReactNode;
|
|
206
|
+
}[] | undefined;
|
|
198
207
|
}>>>;
|
|
199
208
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
|
|
201
|
-
|
|
209
|
+
footer?: {
|
|
210
|
+
columns?: {
|
|
211
|
+
title: string;
|
|
212
|
+
links: {
|
|
213
|
+
label: string;
|
|
214
|
+
href: string;
|
|
215
|
+
}[];
|
|
216
|
+
position?: "start" | "end" | "center" | undefined;
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
copyright?: string | undefined;
|
|
219
|
+
logo?: {
|
|
220
|
+
src: {
|
|
221
|
+
light: string;
|
|
222
|
+
dark: string;
|
|
223
|
+
};
|
|
224
|
+
width?: string | number | undefined;
|
|
225
|
+
alt?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
position?: "start" | "end" | "center" | undefined;
|
|
228
|
+
social?: {
|
|
229
|
+
href: string;
|
|
230
|
+
label?: string | undefined;
|
|
231
|
+
icon?: ReactNode;
|
|
232
|
+
}[] | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
235
|
+
banner?: {
|
|
236
|
+
message: NonNullable<ReactNode>;
|
|
237
|
+
color?: string | (string & {}) | undefined;
|
|
238
|
+
dismissible?: boolean | undefined;
|
|
239
|
+
} | undefined;
|
|
202
240
|
logo?: {
|
|
203
241
|
src: {
|
|
204
242
|
light: string;
|
|
205
243
|
dark: string;
|
|
206
244
|
};
|
|
245
|
+
width?: string | number | undefined;
|
|
207
246
|
alt?: string | undefined;
|
|
208
|
-
width?: string | undefined;
|
|
209
247
|
} | undefined;
|
|
248
|
+
pageTitle?: string | undefined;
|
|
249
|
+
logoUrl?: string | undefined;
|
|
250
|
+
showPoweredBy?: boolean | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
footer?: {
|
|
253
|
+
columns?: {
|
|
254
|
+
title: string;
|
|
255
|
+
links: {
|
|
256
|
+
label: string;
|
|
257
|
+
href: string;
|
|
258
|
+
}[];
|
|
259
|
+
position?: "start" | "end" | "center" | undefined;
|
|
260
|
+
}[] | undefined;
|
|
261
|
+
copyright?: string | undefined;
|
|
262
|
+
logo?: {
|
|
263
|
+
src: {
|
|
264
|
+
light: string;
|
|
265
|
+
dark: string;
|
|
266
|
+
};
|
|
267
|
+
width?: string | number | undefined;
|
|
268
|
+
alt?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
position?: "start" | "end" | "center" | undefined;
|
|
271
|
+
social?: {
|
|
272
|
+
href: string;
|
|
273
|
+
label?: string | undefined;
|
|
274
|
+
icon?: ReactNode;
|
|
275
|
+
}[] | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
210
278
|
banner?: {
|
|
211
279
|
message: NonNullable<ReactNode>;
|
|
212
|
-
color?:
|
|
280
|
+
color?: string | (string & {}) | undefined;
|
|
213
281
|
dismissible?: boolean | undefined;
|
|
214
282
|
} | undefined;
|
|
215
|
-
}, {
|
|
216
|
-
pageTitle?: string | undefined;
|
|
217
|
-
logoUrl?: string | undefined;
|
|
218
283
|
logo?: {
|
|
219
284
|
src: {
|
|
220
285
|
light: string;
|
|
221
286
|
dark: string;
|
|
222
287
|
};
|
|
288
|
+
width?: string | number | undefined;
|
|
223
289
|
alt?: string | undefined;
|
|
224
|
-
width?: string | undefined;
|
|
225
|
-
} | undefined;
|
|
226
|
-
banner?: {
|
|
227
|
-
message: NonNullable<ReactNode>;
|
|
228
|
-
color?: BannerColorType;
|
|
229
|
-
dismissible?: boolean | undefined;
|
|
230
290
|
} | undefined;
|
|
291
|
+
pageTitle?: string | undefined;
|
|
292
|
+
logoUrl?: string | undefined;
|
|
293
|
+
showPoweredBy?: boolean | undefined;
|
|
231
294
|
}>>;
|
|
232
295
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
233
296
|
label: z.ZodString;
|
|
234
297
|
id: z.ZodString;
|
|
235
298
|
default: z.ZodOptional<z.ZodString>;
|
|
236
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
299
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
237
300
|
}, "strip", z.ZodTypeAny, {
|
|
238
301
|
id: string;
|
|
239
302
|
label: string;
|
|
240
303
|
default?: string | undefined;
|
|
241
|
-
display?: "
|
|
304
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
242
305
|
}, {
|
|
243
306
|
id: string;
|
|
244
307
|
label: string;
|
|
245
308
|
default?: string | undefined;
|
|
246
|
-
display?: "
|
|
309
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
247
310
|
}>, "many">>;
|
|
248
311
|
sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
|
|
249
|
-
UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
|
|
250
312
|
theme: z.ZodOptional<z.ZodObject<{
|
|
251
313
|
light: z.ZodOptional<z.ZodObject<{
|
|
252
314
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -271,46 +333,46 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
271
333
|
radius: z.ZodOptional<z.ZodString>;
|
|
272
334
|
}, "strip", z.ZodTypeAny, {
|
|
273
335
|
input?: string | undefined;
|
|
336
|
+
radius?: string | undefined;
|
|
337
|
+
destructive?: string | undefined;
|
|
338
|
+
secondary?: string | undefined;
|
|
339
|
+
popover?: string | undefined;
|
|
340
|
+
border?: string | undefined;
|
|
274
341
|
background?: string | undefined;
|
|
275
342
|
foreground?: string | undefined;
|
|
276
343
|
card?: string | undefined;
|
|
277
344
|
cardForeground?: string | undefined;
|
|
278
|
-
popover?: string | undefined;
|
|
279
345
|
popoverForeground?: string | undefined;
|
|
280
346
|
primary?: string | undefined;
|
|
281
347
|
primaryForeground?: string | undefined;
|
|
282
|
-
secondary?: string | undefined;
|
|
283
348
|
secondaryForeground?: string | undefined;
|
|
284
349
|
muted?: string | undefined;
|
|
285
350
|
mutedForeground?: string | undefined;
|
|
286
351
|
accent?: string | undefined;
|
|
287
352
|
accentForeground?: string | undefined;
|
|
288
|
-
destructive?: string | undefined;
|
|
289
353
|
destructiveForeground?: string | undefined;
|
|
290
|
-
border?: string | undefined;
|
|
291
354
|
ring?: string | undefined;
|
|
292
|
-
radius?: string | undefined;
|
|
293
355
|
}, {
|
|
294
356
|
input?: string | undefined;
|
|
357
|
+
radius?: string | undefined;
|
|
358
|
+
destructive?: string | undefined;
|
|
359
|
+
secondary?: string | undefined;
|
|
360
|
+
popover?: string | undefined;
|
|
361
|
+
border?: string | undefined;
|
|
295
362
|
background?: string | undefined;
|
|
296
363
|
foreground?: string | undefined;
|
|
297
364
|
card?: string | undefined;
|
|
298
365
|
cardForeground?: string | undefined;
|
|
299
|
-
popover?: string | undefined;
|
|
300
366
|
popoverForeground?: string | undefined;
|
|
301
367
|
primary?: string | undefined;
|
|
302
368
|
primaryForeground?: string | undefined;
|
|
303
|
-
secondary?: string | undefined;
|
|
304
369
|
secondaryForeground?: string | undefined;
|
|
305
370
|
muted?: string | undefined;
|
|
306
371
|
mutedForeground?: string | undefined;
|
|
307
372
|
accent?: string | undefined;
|
|
308
373
|
accentForeground?: string | undefined;
|
|
309
|
-
destructive?: string | undefined;
|
|
310
374
|
destructiveForeground?: string | undefined;
|
|
311
|
-
border?: string | undefined;
|
|
312
375
|
ring?: string | undefined;
|
|
313
|
-
radius?: string | undefined;
|
|
314
376
|
}>>;
|
|
315
377
|
dark: z.ZodOptional<z.ZodObject<{
|
|
316
378
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -335,138 +397,223 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
335
397
|
radius: z.ZodOptional<z.ZodString>;
|
|
336
398
|
}, "strip", z.ZodTypeAny, {
|
|
337
399
|
input?: string | undefined;
|
|
400
|
+
radius?: string | undefined;
|
|
401
|
+
destructive?: string | undefined;
|
|
402
|
+
secondary?: string | undefined;
|
|
403
|
+
popover?: string | undefined;
|
|
404
|
+
border?: string | undefined;
|
|
338
405
|
background?: string | undefined;
|
|
339
406
|
foreground?: string | undefined;
|
|
340
407
|
card?: string | undefined;
|
|
341
408
|
cardForeground?: string | undefined;
|
|
342
|
-
popover?: string | undefined;
|
|
343
409
|
popoverForeground?: string | undefined;
|
|
344
410
|
primary?: string | undefined;
|
|
345
411
|
primaryForeground?: string | undefined;
|
|
346
|
-
secondary?: string | undefined;
|
|
347
412
|
secondaryForeground?: string | undefined;
|
|
348
413
|
muted?: string | undefined;
|
|
349
414
|
mutedForeground?: string | undefined;
|
|
350
415
|
accent?: string | undefined;
|
|
351
416
|
accentForeground?: string | undefined;
|
|
352
|
-
destructive?: string | undefined;
|
|
353
417
|
destructiveForeground?: string | undefined;
|
|
354
|
-
border?: string | undefined;
|
|
355
418
|
ring?: string | undefined;
|
|
356
|
-
radius?: string | undefined;
|
|
357
419
|
}, {
|
|
358
420
|
input?: string | undefined;
|
|
421
|
+
radius?: string | undefined;
|
|
422
|
+
destructive?: string | undefined;
|
|
423
|
+
secondary?: string | undefined;
|
|
424
|
+
popover?: string | undefined;
|
|
425
|
+
border?: string | undefined;
|
|
359
426
|
background?: string | undefined;
|
|
360
427
|
foreground?: string | undefined;
|
|
361
428
|
card?: string | undefined;
|
|
362
429
|
cardForeground?: string | undefined;
|
|
363
|
-
popover?: string | undefined;
|
|
364
430
|
popoverForeground?: string | undefined;
|
|
365
431
|
primary?: string | undefined;
|
|
366
432
|
primaryForeground?: string | undefined;
|
|
367
|
-
secondary?: string | undefined;
|
|
368
433
|
secondaryForeground?: string | undefined;
|
|
369
434
|
muted?: string | undefined;
|
|
370
435
|
mutedForeground?: string | undefined;
|
|
371
436
|
accent?: string | undefined;
|
|
372
437
|
accentForeground?: string | undefined;
|
|
373
|
-
destructive?: string | undefined;
|
|
374
438
|
destructiveForeground?: string | undefined;
|
|
375
|
-
border?: string | undefined;
|
|
376
439
|
ring?: string | undefined;
|
|
377
|
-
|
|
440
|
+
}>>;
|
|
441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
sans: z.ZodOptional<z.ZodObject<{
|
|
443
|
+
url: z.ZodString;
|
|
444
|
+
fontFamily: z.ZodString;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
url: string;
|
|
447
|
+
fontFamily: string;
|
|
448
|
+
}, {
|
|
449
|
+
url: string;
|
|
450
|
+
fontFamily: string;
|
|
451
|
+
}>>;
|
|
452
|
+
mono: z.ZodOptional<z.ZodObject<{
|
|
453
|
+
url: z.ZodString;
|
|
454
|
+
fontFamily: z.ZodString;
|
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
url: string;
|
|
457
|
+
fontFamily: string;
|
|
458
|
+
}, {
|
|
459
|
+
url: string;
|
|
460
|
+
fontFamily: string;
|
|
461
|
+
}>>;
|
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
|
463
|
+
sans?: {
|
|
464
|
+
url: string;
|
|
465
|
+
fontFamily: string;
|
|
466
|
+
} | undefined;
|
|
467
|
+
mono?: {
|
|
468
|
+
url: string;
|
|
469
|
+
fontFamily: string;
|
|
470
|
+
} | undefined;
|
|
471
|
+
}, {
|
|
472
|
+
sans?: {
|
|
473
|
+
url: string;
|
|
474
|
+
fontFamily: string;
|
|
475
|
+
} | undefined;
|
|
476
|
+
mono?: {
|
|
477
|
+
url: string;
|
|
478
|
+
fontFamily: string;
|
|
479
|
+
} | undefined;
|
|
378
480
|
}>>;
|
|
379
481
|
}, "strip", z.ZodTypeAny, {
|
|
380
482
|
light?: {
|
|
381
483
|
input?: string | undefined;
|
|
484
|
+
radius?: string | undefined;
|
|
485
|
+
destructive?: string | undefined;
|
|
486
|
+
secondary?: string | undefined;
|
|
487
|
+
popover?: string | undefined;
|
|
488
|
+
border?: string | undefined;
|
|
382
489
|
background?: string | undefined;
|
|
383
490
|
foreground?: string | undefined;
|
|
384
491
|
card?: string | undefined;
|
|
385
492
|
cardForeground?: string | undefined;
|
|
386
|
-
popover?: string | undefined;
|
|
387
493
|
popoverForeground?: string | undefined;
|
|
388
494
|
primary?: string | undefined;
|
|
389
495
|
primaryForeground?: string | undefined;
|
|
390
|
-
secondary?: string | undefined;
|
|
391
496
|
secondaryForeground?: string | undefined;
|
|
392
497
|
muted?: string | undefined;
|
|
393
498
|
mutedForeground?: string | undefined;
|
|
394
499
|
accent?: string | undefined;
|
|
395
500
|
accentForeground?: string | undefined;
|
|
396
|
-
destructive?: string | undefined;
|
|
397
501
|
destructiveForeground?: string | undefined;
|
|
398
|
-
border?: string | undefined;
|
|
399
502
|
ring?: string | undefined;
|
|
400
|
-
radius?: string | undefined;
|
|
401
503
|
} | undefined;
|
|
402
504
|
dark?: {
|
|
403
505
|
input?: string | undefined;
|
|
506
|
+
radius?: string | undefined;
|
|
507
|
+
destructive?: string | undefined;
|
|
508
|
+
secondary?: string | undefined;
|
|
509
|
+
popover?: string | undefined;
|
|
510
|
+
border?: string | undefined;
|
|
404
511
|
background?: string | undefined;
|
|
405
512
|
foreground?: string | undefined;
|
|
406
513
|
card?: string | undefined;
|
|
407
514
|
cardForeground?: string | undefined;
|
|
408
|
-
popover?: string | undefined;
|
|
409
515
|
popoverForeground?: string | undefined;
|
|
410
516
|
primary?: string | undefined;
|
|
411
517
|
primaryForeground?: string | undefined;
|
|
412
|
-
secondary?: string | undefined;
|
|
413
518
|
secondaryForeground?: string | undefined;
|
|
414
519
|
muted?: string | undefined;
|
|
415
520
|
mutedForeground?: string | undefined;
|
|
416
521
|
accent?: string | undefined;
|
|
417
522
|
accentForeground?: string | undefined;
|
|
418
|
-
destructive?: string | undefined;
|
|
419
523
|
destructiveForeground?: string | undefined;
|
|
420
|
-
border?: string | undefined;
|
|
421
524
|
ring?: string | undefined;
|
|
422
|
-
|
|
525
|
+
} | undefined;
|
|
526
|
+
fonts?: {
|
|
527
|
+
sans?: {
|
|
528
|
+
url: string;
|
|
529
|
+
fontFamily: string;
|
|
530
|
+
} | undefined;
|
|
531
|
+
mono?: {
|
|
532
|
+
url: string;
|
|
533
|
+
fontFamily: string;
|
|
534
|
+
} | undefined;
|
|
423
535
|
} | undefined;
|
|
424
536
|
}, {
|
|
425
537
|
light?: {
|
|
426
538
|
input?: string | undefined;
|
|
539
|
+
radius?: string | undefined;
|
|
540
|
+
destructive?: string | undefined;
|
|
541
|
+
secondary?: string | undefined;
|
|
542
|
+
popover?: string | undefined;
|
|
543
|
+
border?: string | undefined;
|
|
427
544
|
background?: string | undefined;
|
|
428
545
|
foreground?: string | undefined;
|
|
429
546
|
card?: string | undefined;
|
|
430
547
|
cardForeground?: string | undefined;
|
|
431
|
-
popover?: string | undefined;
|
|
432
548
|
popoverForeground?: string | undefined;
|
|
433
549
|
primary?: string | undefined;
|
|
434
550
|
primaryForeground?: string | undefined;
|
|
435
|
-
secondary?: string | undefined;
|
|
436
551
|
secondaryForeground?: string | undefined;
|
|
437
552
|
muted?: string | undefined;
|
|
438
553
|
mutedForeground?: string | undefined;
|
|
439
554
|
accent?: string | undefined;
|
|
440
555
|
accentForeground?: string | undefined;
|
|
441
|
-
destructive?: string | undefined;
|
|
442
556
|
destructiveForeground?: string | undefined;
|
|
443
|
-
border?: string | undefined;
|
|
444
557
|
ring?: string | undefined;
|
|
445
|
-
radius?: string | undefined;
|
|
446
558
|
} | undefined;
|
|
447
559
|
dark?: {
|
|
448
560
|
input?: string | undefined;
|
|
561
|
+
radius?: string | undefined;
|
|
562
|
+
destructive?: string | undefined;
|
|
563
|
+
secondary?: string | undefined;
|
|
564
|
+
popover?: string | undefined;
|
|
565
|
+
border?: string | undefined;
|
|
449
566
|
background?: string | undefined;
|
|
450
567
|
foreground?: string | undefined;
|
|
451
568
|
card?: string | undefined;
|
|
452
569
|
cardForeground?: string | undefined;
|
|
453
|
-
popover?: string | undefined;
|
|
454
570
|
popoverForeground?: string | undefined;
|
|
455
571
|
primary?: string | undefined;
|
|
456
572
|
primaryForeground?: string | undefined;
|
|
457
|
-
secondary?: string | undefined;
|
|
458
573
|
secondaryForeground?: string | undefined;
|
|
459
574
|
muted?: string | undefined;
|
|
460
575
|
mutedForeground?: string | undefined;
|
|
461
576
|
accent?: string | undefined;
|
|
462
577
|
accentForeground?: string | undefined;
|
|
463
|
-
destructive?: string | undefined;
|
|
464
578
|
destructiveForeground?: string | undefined;
|
|
465
|
-
border?: string | undefined;
|
|
466
579
|
ring?: string | undefined;
|
|
467
|
-
|
|
580
|
+
} | undefined;
|
|
581
|
+
fonts?: {
|
|
582
|
+
sans?: {
|
|
583
|
+
url: string;
|
|
584
|
+
fontFamily: string;
|
|
585
|
+
} | undefined;
|
|
586
|
+
mono?: {
|
|
587
|
+
url: string;
|
|
588
|
+
fontFamily: string;
|
|
589
|
+
} | undefined;
|
|
468
590
|
} | undefined;
|
|
469
591
|
}>>;
|
|
592
|
+
syntaxHighlighting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
593
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodType<import("shiki").BundledLanguage, z.ZodTypeDef, import("shiki").BundledLanguage>, "many">>;
|
|
594
|
+
themes: z.ZodOptional<z.ZodObject<{
|
|
595
|
+
light: z.ZodType<import("shiki").BundledTheme, z.ZodTypeDef, import("shiki").BundledTheme>;
|
|
596
|
+
dark: z.ZodType<import("shiki").BundledTheme, z.ZodTypeDef, import("shiki").BundledTheme>;
|
|
597
|
+
}, "strip", z.ZodTypeAny, {
|
|
598
|
+
light: import("shiki").BundledTheme;
|
|
599
|
+
dark: import("shiki").BundledTheme;
|
|
600
|
+
}, {
|
|
601
|
+
light: import("shiki").BundledTheme;
|
|
602
|
+
dark: import("shiki").BundledTheme;
|
|
603
|
+
}>>;
|
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
|
605
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
606
|
+
themes?: {
|
|
607
|
+
light: import("shiki").BundledTheme;
|
|
608
|
+
dark: import("shiki").BundledTheme;
|
|
609
|
+
} | undefined;
|
|
610
|
+
}, {
|
|
611
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
612
|
+
themes?: {
|
|
613
|
+
light: import("shiki").BundledTheme;
|
|
614
|
+
dark: import("shiki").BundledTheme;
|
|
615
|
+
} | undefined;
|
|
616
|
+
}>>>;
|
|
470
617
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
471
618
|
title: z.ZodOptional<z.ZodString>;
|
|
472
619
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -504,14 +651,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
651
|
creator?: string | undefined;
|
|
505
652
|
publisher?: string | undefined;
|
|
506
653
|
}>>;
|
|
507
|
-
|
|
508
|
-
components: z.ZodOptional<z.ZodType<Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined, z.ZodTypeDef, Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined>>;
|
|
509
|
-
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
511
|
-
}, {
|
|
512
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
513
|
-
}>>;
|
|
514
|
-
authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
654
|
+
authentication: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
515
655
|
type: z.ZodLiteral<"clerk">;
|
|
516
656
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
517
657
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
@@ -561,6 +701,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
561
701
|
clientId: z.ZodString;
|
|
562
702
|
domain: z.ZodString;
|
|
563
703
|
audience: z.ZodOptional<z.ZodString>;
|
|
704
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
564
705
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
565
706
|
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
566
707
|
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
@@ -572,6 +713,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
572
713
|
redirectToAfterSignIn?: string | undefined;
|
|
573
714
|
redirectToAfterSignOut?: string | undefined;
|
|
574
715
|
audience?: string | undefined;
|
|
716
|
+
scopes?: string[] | undefined;
|
|
575
717
|
}, {
|
|
576
718
|
type: "auth0";
|
|
577
719
|
clientId: string;
|
|
@@ -580,8 +722,33 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
580
722
|
redirectToAfterSignIn?: string | undefined;
|
|
581
723
|
redirectToAfterSignOut?: string | undefined;
|
|
582
724
|
audience?: string | undefined;
|
|
725
|
+
scopes?: string[] | undefined;
|
|
726
|
+
}>, z.ZodObject<{
|
|
727
|
+
type: z.ZodLiteral<"supabase">;
|
|
728
|
+
supabaseUrl: z.ZodString;
|
|
729
|
+
supabaseKey: z.ZodString;
|
|
730
|
+
provider: z.ZodEnum<["google", "github", "gitlab", "bitbucket", "facebook", "twitter"]>;
|
|
731
|
+
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
732
|
+
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
733
|
+
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
type: "supabase";
|
|
736
|
+
supabaseUrl: string;
|
|
737
|
+
supabaseKey: string;
|
|
738
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
739
|
+
redirectToAfterSignUp?: string | undefined;
|
|
740
|
+
redirectToAfterSignIn?: string | undefined;
|
|
741
|
+
redirectToAfterSignOut?: string | undefined;
|
|
742
|
+
}, {
|
|
743
|
+
type: "supabase";
|
|
744
|
+
supabaseUrl: string;
|
|
745
|
+
supabaseKey: string;
|
|
746
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
747
|
+
redirectToAfterSignUp?: string | undefined;
|
|
748
|
+
redirectToAfterSignIn?: string | undefined;
|
|
749
|
+
redirectToAfterSignOut?: string | undefined;
|
|
583
750
|
}>]>>;
|
|
584
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
751
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
585
752
|
type: z.ZodLiteral<"inkeep">;
|
|
586
753
|
apiKey: z.ZodString;
|
|
587
754
|
integrationId: z.ZodString;
|
|
@@ -602,7 +769,66 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
769
|
organizationId: string;
|
|
603
770
|
primaryBrandColor: string;
|
|
604
771
|
organizationDisplayName: string;
|
|
605
|
-
}
|
|
772
|
+
}>, z.ZodObject<{
|
|
773
|
+
type: z.ZodLiteral<"pagefind">;
|
|
774
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
775
|
+
termFrequency: z.ZodNumber;
|
|
776
|
+
pageLength: z.ZodNumber;
|
|
777
|
+
termSimilarity: z.ZodNumber;
|
|
778
|
+
termSaturation: z.ZodNumber;
|
|
779
|
+
}, "strip", z.ZodTypeAny, {
|
|
780
|
+
termFrequency: number;
|
|
781
|
+
pageLength: number;
|
|
782
|
+
termSimilarity: number;
|
|
783
|
+
termSaturation: number;
|
|
784
|
+
}, {
|
|
785
|
+
termFrequency: number;
|
|
786
|
+
pageLength: number;
|
|
787
|
+
termSimilarity: number;
|
|
788
|
+
termSaturation: number;
|
|
789
|
+
}>>;
|
|
790
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
793
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
794
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
795
|
+
context: import("../../index.js").ZudokuContext;
|
|
796
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
797
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
798
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
799
|
+
context: import("../../index.js").ZudokuContext;
|
|
800
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void>>;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
type: "pagefind";
|
|
803
|
+
ranking?: {
|
|
804
|
+
termFrequency: number;
|
|
805
|
+
pageLength: number;
|
|
806
|
+
termSimilarity: number;
|
|
807
|
+
termSaturation: number;
|
|
808
|
+
} | undefined;
|
|
809
|
+
maxResults?: number | undefined;
|
|
810
|
+
maxSubResults?: number | undefined;
|
|
811
|
+
transformResults?: ((data: {
|
|
812
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
813
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
814
|
+
context: import("../../index.js").ZudokuContext;
|
|
815
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
816
|
+
}, {
|
|
817
|
+
type: "pagefind";
|
|
818
|
+
ranking?: {
|
|
819
|
+
termFrequency: number;
|
|
820
|
+
pageLength: number;
|
|
821
|
+
termSimilarity: number;
|
|
822
|
+
termSaturation: number;
|
|
823
|
+
} | undefined;
|
|
824
|
+
maxResults?: number | undefined;
|
|
825
|
+
maxSubResults?: number | undefined;
|
|
826
|
+
transformResults?: ((data: {
|
|
827
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
828
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
829
|
+
context: import("../../index.js").ZudokuContext;
|
|
830
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
831
|
+
}>]>>>;
|
|
606
832
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
607
833
|
files: z.ZodString;
|
|
608
834
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -656,99 +882,484 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
882
|
type: z.ZodLiteral<"url">;
|
|
657
883
|
input: z.ZodString;
|
|
658
884
|
}, {
|
|
885
|
+
id: z.ZodOptional<z.ZodString>;
|
|
659
886
|
server: z.ZodOptional<z.ZodString>;
|
|
660
887
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
888
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
889
|
+
label: z.ZodString;
|
|
890
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
891
|
+
}, "strip", z.ZodTypeAny, {
|
|
892
|
+
tags: string[];
|
|
893
|
+
label: string;
|
|
894
|
+
}, {
|
|
895
|
+
tags: string[];
|
|
896
|
+
label: string;
|
|
897
|
+
}>, "many">>;
|
|
898
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
899
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
900
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
903
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
904
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
905
|
+
}, "strip", z.ZodTypeAny, {
|
|
906
|
+
examplesLanguage?: string | undefined;
|
|
907
|
+
disablePlayground?: boolean | undefined;
|
|
908
|
+
disableSidecar?: boolean | undefined;
|
|
909
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
910
|
+
expandAllTags?: boolean | undefined;
|
|
911
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
912
|
+
}, {
|
|
913
|
+
examplesLanguage?: string | undefined;
|
|
914
|
+
disablePlayground?: boolean | undefined;
|
|
915
|
+
disableSidecar?: boolean | undefined;
|
|
916
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
917
|
+
expandAllTags?: boolean | undefined;
|
|
918
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
919
|
+
}>>;
|
|
661
920
|
}>, "strip", z.ZodTypeAny, {
|
|
662
921
|
type: "url";
|
|
663
922
|
input: string;
|
|
664
923
|
server?: string | undefined;
|
|
924
|
+
id?: string | undefined;
|
|
925
|
+
options?: {
|
|
926
|
+
examplesLanguage?: string | undefined;
|
|
927
|
+
disablePlayground?: boolean | undefined;
|
|
928
|
+
disableSidecar?: boolean | undefined;
|
|
929
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
930
|
+
expandAllTags?: boolean | undefined;
|
|
931
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
932
|
+
} | undefined;
|
|
665
933
|
navigationId?: string | undefined;
|
|
934
|
+
categories?: {
|
|
935
|
+
tags: string[];
|
|
936
|
+
label: string;
|
|
937
|
+
}[] | undefined;
|
|
666
938
|
}, {
|
|
667
939
|
type: "url";
|
|
668
940
|
input: string;
|
|
669
941
|
server?: string | undefined;
|
|
942
|
+
id?: string | undefined;
|
|
943
|
+
options?: {
|
|
944
|
+
examplesLanguage?: string | undefined;
|
|
945
|
+
disablePlayground?: boolean | undefined;
|
|
946
|
+
disableSidecar?: boolean | undefined;
|
|
947
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
948
|
+
expandAllTags?: boolean | undefined;
|
|
949
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
950
|
+
} | undefined;
|
|
670
951
|
navigationId?: string | undefined;
|
|
952
|
+
categories?: {
|
|
953
|
+
tags: string[];
|
|
954
|
+
label: string;
|
|
955
|
+
}[] | undefined;
|
|
671
956
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
672
957
|
type: z.ZodLiteral<"file">;
|
|
673
|
-
input: z.ZodString
|
|
958
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
674
959
|
}, {
|
|
960
|
+
id: z.ZodOptional<z.ZodString>;
|
|
675
961
|
server: z.ZodOptional<z.ZodString>;
|
|
676
962
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
963
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
|
+
label: z.ZodString;
|
|
965
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
966
|
+
}, "strip", z.ZodTypeAny, {
|
|
967
|
+
tags: string[];
|
|
968
|
+
label: string;
|
|
969
|
+
}, {
|
|
970
|
+
tags: string[];
|
|
971
|
+
label: string;
|
|
972
|
+
}>, "many">>;
|
|
973
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
974
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
975
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
977
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
978
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
979
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
examplesLanguage?: string | undefined;
|
|
982
|
+
disablePlayground?: boolean | undefined;
|
|
983
|
+
disableSidecar?: boolean | undefined;
|
|
984
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
985
|
+
expandAllTags?: boolean | undefined;
|
|
986
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
987
|
+
}, {
|
|
988
|
+
examplesLanguage?: string | undefined;
|
|
989
|
+
disablePlayground?: boolean | undefined;
|
|
990
|
+
disableSidecar?: boolean | undefined;
|
|
991
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
992
|
+
expandAllTags?: boolean | undefined;
|
|
993
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
994
|
+
}>>;
|
|
677
995
|
}>, "strip", z.ZodTypeAny, {
|
|
678
996
|
type: "file";
|
|
679
|
-
input: string;
|
|
997
|
+
input: string | string[];
|
|
680
998
|
server?: string | undefined;
|
|
999
|
+
id?: string | undefined;
|
|
1000
|
+
options?: {
|
|
1001
|
+
examplesLanguage?: string | undefined;
|
|
1002
|
+
disablePlayground?: boolean | undefined;
|
|
1003
|
+
disableSidecar?: boolean | undefined;
|
|
1004
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1005
|
+
expandAllTags?: boolean | undefined;
|
|
1006
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1007
|
+
} | undefined;
|
|
681
1008
|
navigationId?: string | undefined;
|
|
1009
|
+
categories?: {
|
|
1010
|
+
tags: string[];
|
|
1011
|
+
label: string;
|
|
1012
|
+
}[] | undefined;
|
|
682
1013
|
}, {
|
|
683
1014
|
type: "file";
|
|
684
|
-
input: string;
|
|
1015
|
+
input: string | string[];
|
|
685
1016
|
server?: string | undefined;
|
|
1017
|
+
id?: string | undefined;
|
|
1018
|
+
options?: {
|
|
1019
|
+
examplesLanguage?: string | undefined;
|
|
1020
|
+
disablePlayground?: boolean | undefined;
|
|
1021
|
+
disableSidecar?: boolean | undefined;
|
|
1022
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1023
|
+
expandAllTags?: boolean | undefined;
|
|
1024
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1025
|
+
} | undefined;
|
|
686
1026
|
navigationId?: string | undefined;
|
|
1027
|
+
categories?: {
|
|
1028
|
+
tags: string[];
|
|
1029
|
+
label: string;
|
|
1030
|
+
}[] | undefined;
|
|
687
1031
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
688
1032
|
type: z.ZodLiteral<"raw">;
|
|
689
1033
|
input: z.ZodString;
|
|
690
1034
|
}, {
|
|
1035
|
+
id: z.ZodOptional<z.ZodString>;
|
|
691
1036
|
server: z.ZodOptional<z.ZodString>;
|
|
692
1037
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
label: z.ZodString;
|
|
1040
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1041
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
|
+
tags: string[];
|
|
1043
|
+
label: string;
|
|
1044
|
+
}, {
|
|
1045
|
+
tags: string[];
|
|
1046
|
+
label: string;
|
|
1047
|
+
}>, "many">>;
|
|
1048
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1049
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1051
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1053
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1055
|
+
}, "strip", z.ZodTypeAny, {
|
|
1056
|
+
examplesLanguage?: string | undefined;
|
|
1057
|
+
disablePlayground?: boolean | undefined;
|
|
1058
|
+
disableSidecar?: boolean | undefined;
|
|
1059
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1060
|
+
expandAllTags?: boolean | undefined;
|
|
1061
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1062
|
+
}, {
|
|
1063
|
+
examplesLanguage?: string | undefined;
|
|
1064
|
+
disablePlayground?: boolean | undefined;
|
|
1065
|
+
disableSidecar?: boolean | undefined;
|
|
1066
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1067
|
+
expandAllTags?: boolean | undefined;
|
|
1068
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1069
|
+
}>>;
|
|
693
1070
|
}>, "strip", z.ZodTypeAny, {
|
|
694
1071
|
type: "raw";
|
|
695
1072
|
input: string;
|
|
696
1073
|
server?: string | undefined;
|
|
1074
|
+
id?: string | undefined;
|
|
1075
|
+
options?: {
|
|
1076
|
+
examplesLanguage?: string | undefined;
|
|
1077
|
+
disablePlayground?: boolean | undefined;
|
|
1078
|
+
disableSidecar?: boolean | undefined;
|
|
1079
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1080
|
+
expandAllTags?: boolean | undefined;
|
|
1081
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1082
|
+
} | undefined;
|
|
697
1083
|
navigationId?: string | undefined;
|
|
1084
|
+
categories?: {
|
|
1085
|
+
tags: string[];
|
|
1086
|
+
label: string;
|
|
1087
|
+
}[] | undefined;
|
|
698
1088
|
}, {
|
|
699
1089
|
type: "raw";
|
|
700
1090
|
input: string;
|
|
701
1091
|
server?: string | undefined;
|
|
1092
|
+
id?: string | undefined;
|
|
1093
|
+
options?: {
|
|
1094
|
+
examplesLanguage?: string | undefined;
|
|
1095
|
+
disablePlayground?: boolean | undefined;
|
|
1096
|
+
disableSidecar?: boolean | undefined;
|
|
1097
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1098
|
+
expandAllTags?: boolean | undefined;
|
|
1099
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1100
|
+
} | undefined;
|
|
702
1101
|
navigationId?: string | undefined;
|
|
1102
|
+
categories?: {
|
|
1103
|
+
tags: string[];
|
|
1104
|
+
label: string;
|
|
1105
|
+
}[] | undefined;
|
|
703
1106
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
704
1107
|
type: z.ZodLiteral<"url">;
|
|
705
1108
|
input: z.ZodString;
|
|
706
1109
|
}, {
|
|
1110
|
+
id: z.ZodOptional<z.ZodString>;
|
|
707
1111
|
server: z.ZodOptional<z.ZodString>;
|
|
708
1112
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1114
|
+
label: z.ZodString;
|
|
1115
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
tags: string[];
|
|
1118
|
+
label: string;
|
|
1119
|
+
}, {
|
|
1120
|
+
tags: string[];
|
|
1121
|
+
label: string;
|
|
1122
|
+
}>, "many">>;
|
|
1123
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1124
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1126
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
1127
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1128
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1129
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1130
|
+
}, "strip", z.ZodTypeAny, {
|
|
1131
|
+
examplesLanguage?: string | undefined;
|
|
1132
|
+
disablePlayground?: boolean | undefined;
|
|
1133
|
+
disableSidecar?: boolean | undefined;
|
|
1134
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1135
|
+
expandAllTags?: boolean | undefined;
|
|
1136
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1137
|
+
}, {
|
|
1138
|
+
examplesLanguage?: string | undefined;
|
|
1139
|
+
disablePlayground?: boolean | undefined;
|
|
1140
|
+
disableSidecar?: boolean | undefined;
|
|
1141
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1142
|
+
expandAllTags?: boolean | undefined;
|
|
1143
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1144
|
+
}>>;
|
|
709
1145
|
}>, "strip", z.ZodTypeAny, {
|
|
710
1146
|
type: "url";
|
|
711
1147
|
input: string;
|
|
712
1148
|
server?: string | undefined;
|
|
1149
|
+
id?: string | undefined;
|
|
1150
|
+
options?: {
|
|
1151
|
+
examplesLanguage?: string | undefined;
|
|
1152
|
+
disablePlayground?: boolean | undefined;
|
|
1153
|
+
disableSidecar?: boolean | undefined;
|
|
1154
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1155
|
+
expandAllTags?: boolean | undefined;
|
|
1156
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1157
|
+
} | undefined;
|
|
713
1158
|
navigationId?: string | undefined;
|
|
1159
|
+
categories?: {
|
|
1160
|
+
tags: string[];
|
|
1161
|
+
label: string;
|
|
1162
|
+
}[] | undefined;
|
|
714
1163
|
}, {
|
|
715
1164
|
type: "url";
|
|
716
1165
|
input: string;
|
|
717
1166
|
server?: string | undefined;
|
|
1167
|
+
id?: string | undefined;
|
|
1168
|
+
options?: {
|
|
1169
|
+
examplesLanguage?: string | undefined;
|
|
1170
|
+
disablePlayground?: boolean | undefined;
|
|
1171
|
+
disableSidecar?: boolean | undefined;
|
|
1172
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1173
|
+
expandAllTags?: boolean | undefined;
|
|
1174
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1175
|
+
} | undefined;
|
|
718
1176
|
navigationId?: string | undefined;
|
|
1177
|
+
categories?: {
|
|
1178
|
+
tags: string[];
|
|
1179
|
+
label: string;
|
|
1180
|
+
}[] | undefined;
|
|
719
1181
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
720
1182
|
type: z.ZodLiteral<"file">;
|
|
721
|
-
input: z.ZodString
|
|
1183
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
722
1184
|
}, {
|
|
1185
|
+
id: z.ZodOptional<z.ZodString>;
|
|
723
1186
|
server: z.ZodOptional<z.ZodString>;
|
|
724
1187
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1189
|
+
label: z.ZodString;
|
|
1190
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1191
|
+
}, "strip", z.ZodTypeAny, {
|
|
1192
|
+
tags: string[];
|
|
1193
|
+
label: string;
|
|
1194
|
+
}, {
|
|
1195
|
+
tags: string[];
|
|
1196
|
+
label: string;
|
|
1197
|
+
}>, "many">>;
|
|
1198
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1199
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1201
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
1202
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1203
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1204
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1205
|
+
}, "strip", z.ZodTypeAny, {
|
|
1206
|
+
examplesLanguage?: string | undefined;
|
|
1207
|
+
disablePlayground?: boolean | undefined;
|
|
1208
|
+
disableSidecar?: boolean | undefined;
|
|
1209
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1210
|
+
expandAllTags?: boolean | undefined;
|
|
1211
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1212
|
+
}, {
|
|
1213
|
+
examplesLanguage?: string | undefined;
|
|
1214
|
+
disablePlayground?: boolean | undefined;
|
|
1215
|
+
disableSidecar?: boolean | undefined;
|
|
1216
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1217
|
+
expandAllTags?: boolean | undefined;
|
|
1218
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1219
|
+
}>>;
|
|
725
1220
|
}>, "strip", z.ZodTypeAny, {
|
|
726
1221
|
type: "file";
|
|
727
|
-
input: string;
|
|
1222
|
+
input: string | string[];
|
|
728
1223
|
server?: string | undefined;
|
|
1224
|
+
id?: string | undefined;
|
|
1225
|
+
options?: {
|
|
1226
|
+
examplesLanguage?: string | undefined;
|
|
1227
|
+
disablePlayground?: boolean | undefined;
|
|
1228
|
+
disableSidecar?: boolean | undefined;
|
|
1229
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1230
|
+
expandAllTags?: boolean | undefined;
|
|
1231
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1232
|
+
} | undefined;
|
|
729
1233
|
navigationId?: string | undefined;
|
|
1234
|
+
categories?: {
|
|
1235
|
+
tags: string[];
|
|
1236
|
+
label: string;
|
|
1237
|
+
}[] | undefined;
|
|
730
1238
|
}, {
|
|
731
1239
|
type: "file";
|
|
732
|
-
input: string;
|
|
1240
|
+
input: string | string[];
|
|
733
1241
|
server?: string | undefined;
|
|
1242
|
+
id?: string | undefined;
|
|
1243
|
+
options?: {
|
|
1244
|
+
examplesLanguage?: string | undefined;
|
|
1245
|
+
disablePlayground?: boolean | undefined;
|
|
1246
|
+
disableSidecar?: boolean | undefined;
|
|
1247
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1248
|
+
expandAllTags?: boolean | undefined;
|
|
1249
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1250
|
+
} | undefined;
|
|
734
1251
|
navigationId?: string | undefined;
|
|
1252
|
+
categories?: {
|
|
1253
|
+
tags: string[];
|
|
1254
|
+
label: string;
|
|
1255
|
+
}[] | undefined;
|
|
735
1256
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
736
1257
|
type: z.ZodLiteral<"raw">;
|
|
737
1258
|
input: z.ZodString;
|
|
738
1259
|
}, {
|
|
1260
|
+
id: z.ZodOptional<z.ZodString>;
|
|
739
1261
|
server: z.ZodOptional<z.ZodString>;
|
|
740
1262
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1264
|
+
label: z.ZodString;
|
|
1265
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
|
+
tags: string[];
|
|
1268
|
+
label: string;
|
|
1269
|
+
}, {
|
|
1270
|
+
tags: string[];
|
|
1271
|
+
label: string;
|
|
1272
|
+
}>, "many">>;
|
|
1273
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1274
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1276
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
1277
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1278
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1280
|
+
}, "strip", z.ZodTypeAny, {
|
|
1281
|
+
examplesLanguage?: string | undefined;
|
|
1282
|
+
disablePlayground?: boolean | undefined;
|
|
1283
|
+
disableSidecar?: boolean | undefined;
|
|
1284
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1285
|
+
expandAllTags?: boolean | undefined;
|
|
1286
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1287
|
+
}, {
|
|
1288
|
+
examplesLanguage?: string | undefined;
|
|
1289
|
+
disablePlayground?: boolean | undefined;
|
|
1290
|
+
disableSidecar?: boolean | undefined;
|
|
1291
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1292
|
+
expandAllTags?: boolean | undefined;
|
|
1293
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1294
|
+
}>>;
|
|
741
1295
|
}>, "strip", z.ZodTypeAny, {
|
|
742
1296
|
type: "raw";
|
|
743
1297
|
input: string;
|
|
744
1298
|
server?: string | undefined;
|
|
1299
|
+
id?: string | undefined;
|
|
1300
|
+
options?: {
|
|
1301
|
+
examplesLanguage?: string | undefined;
|
|
1302
|
+
disablePlayground?: boolean | undefined;
|
|
1303
|
+
disableSidecar?: boolean | undefined;
|
|
1304
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1305
|
+
expandAllTags?: boolean | undefined;
|
|
1306
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1307
|
+
} | undefined;
|
|
745
1308
|
navigationId?: string | undefined;
|
|
1309
|
+
categories?: {
|
|
1310
|
+
tags: string[];
|
|
1311
|
+
label: string;
|
|
1312
|
+
}[] | undefined;
|
|
746
1313
|
}, {
|
|
747
1314
|
type: "raw";
|
|
748
1315
|
input: string;
|
|
749
1316
|
server?: string | undefined;
|
|
1317
|
+
id?: string | undefined;
|
|
1318
|
+
options?: {
|
|
1319
|
+
examplesLanguage?: string | undefined;
|
|
1320
|
+
disablePlayground?: boolean | undefined;
|
|
1321
|
+
disableSidecar?: boolean | undefined;
|
|
1322
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1323
|
+
expandAllTags?: boolean | undefined;
|
|
1324
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1325
|
+
} | undefined;
|
|
750
1326
|
navigationId?: string | undefined;
|
|
1327
|
+
categories?: {
|
|
1328
|
+
tags: string[];
|
|
1329
|
+
label: string;
|
|
1330
|
+
}[] | undefined;
|
|
751
1331
|
}>]>, "many">]>>;
|
|
1332
|
+
catalogs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1333
|
+
navigationId: z.ZodString;
|
|
1334
|
+
label: z.ZodString;
|
|
1335
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1336
|
+
filterItems: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>>;
|
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
|
+
label: string;
|
|
1339
|
+
navigationId: string;
|
|
1340
|
+
items?: string[] | undefined;
|
|
1341
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1342
|
+
}, {
|
|
1343
|
+
label: string;
|
|
1344
|
+
navigationId: string;
|
|
1345
|
+
items?: string[] | undefined;
|
|
1346
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1347
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
1348
|
+
navigationId: z.ZodString;
|
|
1349
|
+
label: z.ZodString;
|
|
1350
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1351
|
+
filterItems: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>>;
|
|
1352
|
+
}, "strip", z.ZodTypeAny, {
|
|
1353
|
+
label: string;
|
|
1354
|
+
navigationId: string;
|
|
1355
|
+
items?: string[] | undefined;
|
|
1356
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1357
|
+
}, {
|
|
1358
|
+
label: string;
|
|
1359
|
+
navigationId: string;
|
|
1360
|
+
items?: string[] | undefined;
|
|
1361
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1362
|
+
}>, "many">]>>;
|
|
752
1363
|
apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
753
1364
|
enabled: z.ZodBoolean;
|
|
754
1365
|
endpoint: z.ZodString;
|
|
@@ -760,49 +1371,49 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
1371
|
endpoint: string;
|
|
761
1372
|
}>, z.ZodObject<{
|
|
762
1373
|
enabled: z.ZodBoolean;
|
|
763
|
-
getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
|
|
764
|
-
rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
|
|
765
|
-
deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
|
|
1374
|
+
getKeys: z.ZodType<(context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>, z.ZodTypeDef, (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>>;
|
|
1375
|
+
rollKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
1376
|
+
deleteKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
766
1377
|
updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
|
|
767
1378
|
id: string;
|
|
768
1379
|
description: string;
|
|
769
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
1380
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
770
1381
|
id: string;
|
|
771
1382
|
description: string;
|
|
772
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
1383
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
773
1384
|
createKey: z.ZodOptional<z.ZodType<(apiKey: {
|
|
774
1385
|
description: string;
|
|
775
1386
|
expiresOn?: string;
|
|
776
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
1387
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
777
1388
|
description: string;
|
|
778
1389
|
expiresOn?: string;
|
|
779
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
1390
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
780
1391
|
}, "strip", z.ZodTypeAny, {
|
|
781
1392
|
enabled: boolean;
|
|
782
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
783
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
784
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1393
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1394
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1395
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
785
1396
|
updateKeyDescription?: ((apiKey: {
|
|
786
1397
|
id: string;
|
|
787
1398
|
description: string;
|
|
788
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1399
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
789
1400
|
createKey?: ((apiKey: {
|
|
790
1401
|
description: string;
|
|
791
1402
|
expiresOn?: string;
|
|
792
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1403
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
793
1404
|
}, {
|
|
794
1405
|
enabled: boolean;
|
|
795
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
796
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
797
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1406
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1407
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1408
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
798
1409
|
updateKeyDescription?: ((apiKey: {
|
|
799
1410
|
id: string;
|
|
800
1411
|
description: string;
|
|
801
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1412
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
802
1413
|
createKey?: ((apiKey: {
|
|
803
1414
|
description: string;
|
|
804
1415
|
expiresOn?: string;
|
|
805
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1416
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
806
1417
|
}>]>>;
|
|
807
1418
|
redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
808
1419
|
from: z.ZodString;
|
|
@@ -814,49 +1425,13 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
814
1425
|
from: string;
|
|
815
1426
|
to: string;
|
|
816
1427
|
}>, "many">>;
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
825
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
826
|
-
prose?: boolean | undefined;
|
|
827
|
-
}, {
|
|
828
|
-
path: string;
|
|
829
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
830
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
831
|
-
prose?: boolean | undefined;
|
|
832
|
-
}>, "many">>;
|
|
833
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
|
|
834
|
-
sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
835
|
-
/**
|
|
836
|
-
* Base url of your website
|
|
837
|
-
*/
|
|
838
|
-
siteUrl: z.ZodString;
|
|
839
|
-
/**
|
|
840
|
-
* Change frequency.
|
|
841
|
-
* @default 'daily'
|
|
842
|
-
*/
|
|
843
|
-
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
844
|
-
/**
|
|
845
|
-
* Priority
|
|
846
|
-
* @default 0.7
|
|
847
|
-
*/
|
|
848
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
849
|
-
outDir: z.ZodOptional<z.ZodString>;
|
|
850
|
-
/**
|
|
851
|
-
* Add <lastmod/> property.
|
|
852
|
-
* @default true
|
|
853
|
-
*/
|
|
854
|
-
autoLastmod: z.ZodOptional<z.ZodBoolean>;
|
|
855
|
-
/**
|
|
856
|
-
* Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
|
|
857
|
-
* @example ['/page-0', '/page/example']
|
|
858
|
-
*/
|
|
859
|
-
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
1428
|
+
sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1429
|
+
siteUrl: z.ZodString;
|
|
1430
|
+
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
1431
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1432
|
+
outDir: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
autoLastmod: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
+
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
860
1435
|
}, "strip", z.ZodTypeAny, {
|
|
861
1436
|
siteUrl: string;
|
|
862
1437
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -872,6 +1447,77 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
1447
|
autoLastmod?: boolean | undefined;
|
|
873
1448
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
874
1449
|
}>>>;
|
|
1450
|
+
enableStatusPages: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1451
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
1452
|
+
apis: z.ZodObject<{
|
|
1453
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1455
|
+
disableSidecar: z.ZodOptional<z.ZodBoolean>;
|
|
1456
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1457
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1458
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1459
|
+
}, "strip", z.ZodTypeAny, {
|
|
1460
|
+
examplesLanguage?: string | undefined;
|
|
1461
|
+
disablePlayground?: boolean | undefined;
|
|
1462
|
+
disableSidecar?: boolean | undefined;
|
|
1463
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1464
|
+
expandAllTags?: boolean | undefined;
|
|
1465
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1466
|
+
}, {
|
|
1467
|
+
examplesLanguage?: string | undefined;
|
|
1468
|
+
disablePlayground?: boolean | undefined;
|
|
1469
|
+
disableSidecar?: boolean | undefined;
|
|
1470
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1471
|
+
expandAllTags?: boolean | undefined;
|
|
1472
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1473
|
+
}>;
|
|
1474
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
}, "strip", z.ZodTypeAny, {
|
|
1476
|
+
apis: {
|
|
1477
|
+
examplesLanguage?: string | undefined;
|
|
1478
|
+
disablePlayground?: boolean | undefined;
|
|
1479
|
+
disableSidecar?: boolean | undefined;
|
|
1480
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1481
|
+
expandAllTags?: boolean | undefined;
|
|
1482
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1483
|
+
};
|
|
1484
|
+
examplesLanguage?: string | undefined;
|
|
1485
|
+
}, {
|
|
1486
|
+
apis: {
|
|
1487
|
+
examplesLanguage?: string | undefined;
|
|
1488
|
+
disablePlayground?: boolean | undefined;
|
|
1489
|
+
disableSidecar?: boolean | undefined;
|
|
1490
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1491
|
+
expandAllTags?: boolean | undefined;
|
|
1492
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1493
|
+
};
|
|
1494
|
+
examplesLanguage?: string | undefined;
|
|
1495
|
+
}>>;
|
|
1496
|
+
UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
|
|
1497
|
+
mdx: z.ZodOptional<z.ZodObject<{
|
|
1498
|
+
components: z.ZodOptional<z.ZodType<MdxComponentsType, z.ZodTypeDef, MdxComponentsType>>;
|
|
1499
|
+
}, "strip", z.ZodTypeAny, {
|
|
1500
|
+
components?: MdxComponentsType;
|
|
1501
|
+
}, {
|
|
1502
|
+
components?: MdxComponentsType;
|
|
1503
|
+
}>>;
|
|
1504
|
+
customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
path: z.ZodString;
|
|
1506
|
+
element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
|
|
1507
|
+
render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
|
|
1508
|
+
prose: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
}, "strip", z.ZodTypeAny, {
|
|
1510
|
+
path: string;
|
|
1511
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1512
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1513
|
+
prose?: boolean | undefined;
|
|
1514
|
+
}, {
|
|
1515
|
+
path: string;
|
|
1516
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1517
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1518
|
+
prose?: boolean | undefined;
|
|
1519
|
+
}>, "many">>;
|
|
1520
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
|
|
875
1521
|
build: z.ZodOptional<z.ZodType<{
|
|
876
1522
|
remarkPlugins?: Options["remarkPlugins"];
|
|
877
1523
|
rehypePlugins?: Options["rehypePlugins"];
|
|
@@ -880,7 +1526,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
880
1526
|
rehypePlugins?: Options["rehypePlugins"];
|
|
881
1527
|
}>>;
|
|
882
1528
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
884
1529
|
search?: {
|
|
885
1530
|
type: "inkeep";
|
|
886
1531
|
apiKey: string;
|
|
@@ -888,118 +1533,220 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
888
1533
|
organizationId: string;
|
|
889
1534
|
primaryBrandColor: string;
|
|
890
1535
|
organizationDisplayName: string;
|
|
891
|
-
} |
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
light: string;
|
|
899
|
-
dark: string;
|
|
900
|
-
};
|
|
901
|
-
alt?: string | undefined;
|
|
902
|
-
width?: string | undefined;
|
|
903
|
-
} | undefined;
|
|
904
|
-
banner?: {
|
|
905
|
-
message: NonNullable<ReactNode>;
|
|
906
|
-
color?: BannerColorType;
|
|
907
|
-
dismissible?: boolean | undefined;
|
|
1536
|
+
} | {
|
|
1537
|
+
type: "pagefind";
|
|
1538
|
+
ranking?: {
|
|
1539
|
+
termFrequency: number;
|
|
1540
|
+
pageLength: number;
|
|
1541
|
+
termSimilarity: number;
|
|
1542
|
+
termSaturation: number;
|
|
908
1543
|
} | undefined;
|
|
1544
|
+
maxResults?: number | undefined;
|
|
1545
|
+
maxSubResults?: number | undefined;
|
|
1546
|
+
transformResults?: ((data: {
|
|
1547
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
1548
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
1549
|
+
context: import("../../index.js").ZudokuContext;
|
|
1550
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
1553
|
+
defaults?: {
|
|
1554
|
+
apis: {
|
|
1555
|
+
examplesLanguage?: string | undefined;
|
|
1556
|
+
disablePlayground?: boolean | undefined;
|
|
1557
|
+
disableSidecar?: boolean | undefined;
|
|
1558
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1559
|
+
expandAllTags?: boolean | undefined;
|
|
1560
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1561
|
+
};
|
|
1562
|
+
examplesLanguage?: string | undefined;
|
|
1563
|
+
} | undefined;
|
|
1564
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1565
|
+
metadata?: {
|
|
1566
|
+
description?: string | undefined;
|
|
1567
|
+
title?: string | undefined;
|
|
1568
|
+
logo?: string | undefined;
|
|
1569
|
+
favicon?: string | undefined;
|
|
1570
|
+
generator?: string | undefined;
|
|
1571
|
+
applicationName?: string | undefined;
|
|
1572
|
+
referrer?: string | undefined;
|
|
1573
|
+
keywords?: string[] | undefined;
|
|
1574
|
+
authors?: string[] | undefined;
|
|
1575
|
+
creator?: string | undefined;
|
|
1576
|
+
publisher?: string | undefined;
|
|
1577
|
+
} | undefined;
|
|
1578
|
+
authentication?: {
|
|
1579
|
+
type: "clerk";
|
|
1580
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1581
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1582
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1583
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1584
|
+
} | {
|
|
1585
|
+
type: "openid";
|
|
1586
|
+
clientId: string;
|
|
1587
|
+
issuer: string;
|
|
1588
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1589
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1590
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1591
|
+
audience?: string | undefined;
|
|
1592
|
+
scopes?: string[] | undefined;
|
|
1593
|
+
} | {
|
|
1594
|
+
type: "auth0";
|
|
1595
|
+
clientId: string;
|
|
1596
|
+
domain: string;
|
|
1597
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1598
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1599
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1600
|
+
audience?: string | undefined;
|
|
1601
|
+
scopes?: string[] | undefined;
|
|
1602
|
+
} | {
|
|
1603
|
+
type: "supabase";
|
|
1604
|
+
supabaseUrl: string;
|
|
1605
|
+
supabaseKey: string;
|
|
1606
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
1607
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1608
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1609
|
+
redirectToAfterSignOut?: string | undefined;
|
|
909
1610
|
} | undefined;
|
|
910
1611
|
topNavigation?: {
|
|
911
1612
|
id: string;
|
|
912
1613
|
label: string;
|
|
913
1614
|
default?: string | undefined;
|
|
914
|
-
display?: "
|
|
1615
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
915
1616
|
}[] | undefined;
|
|
916
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
917
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
918
1617
|
theme?: {
|
|
919
1618
|
light?: {
|
|
920
1619
|
input?: string | undefined;
|
|
1620
|
+
radius?: string | undefined;
|
|
1621
|
+
destructive?: string | undefined;
|
|
1622
|
+
secondary?: string | undefined;
|
|
1623
|
+
popover?: string | undefined;
|
|
1624
|
+
border?: string | undefined;
|
|
921
1625
|
background?: string | undefined;
|
|
922
1626
|
foreground?: string | undefined;
|
|
923
1627
|
card?: string | undefined;
|
|
924
1628
|
cardForeground?: string | undefined;
|
|
925
|
-
popover?: string | undefined;
|
|
926
1629
|
popoverForeground?: string | undefined;
|
|
927
1630
|
primary?: string | undefined;
|
|
928
1631
|
primaryForeground?: string | undefined;
|
|
929
|
-
secondary?: string | undefined;
|
|
930
1632
|
secondaryForeground?: string | undefined;
|
|
931
1633
|
muted?: string | undefined;
|
|
932
1634
|
mutedForeground?: string | undefined;
|
|
933
1635
|
accent?: string | undefined;
|
|
934
1636
|
accentForeground?: string | undefined;
|
|
935
|
-
destructive?: string | undefined;
|
|
936
1637
|
destructiveForeground?: string | undefined;
|
|
937
|
-
border?: string | undefined;
|
|
938
1638
|
ring?: string | undefined;
|
|
939
|
-
radius?: string | undefined;
|
|
940
1639
|
} | undefined;
|
|
941
1640
|
dark?: {
|
|
942
1641
|
input?: string | undefined;
|
|
1642
|
+
radius?: string | undefined;
|
|
1643
|
+
destructive?: string | undefined;
|
|
1644
|
+
secondary?: string | undefined;
|
|
1645
|
+
popover?: string | undefined;
|
|
1646
|
+
border?: string | undefined;
|
|
943
1647
|
background?: string | undefined;
|
|
944
1648
|
foreground?: string | undefined;
|
|
945
1649
|
card?: string | undefined;
|
|
946
1650
|
cardForeground?: string | undefined;
|
|
947
|
-
popover?: string | undefined;
|
|
948
1651
|
popoverForeground?: string | undefined;
|
|
949
1652
|
primary?: string | undefined;
|
|
950
1653
|
primaryForeground?: string | undefined;
|
|
951
|
-
secondary?: string | undefined;
|
|
952
1654
|
secondaryForeground?: string | undefined;
|
|
953
1655
|
muted?: string | undefined;
|
|
954
1656
|
mutedForeground?: string | undefined;
|
|
955
1657
|
accent?: string | undefined;
|
|
956
1658
|
accentForeground?: string | undefined;
|
|
957
|
-
destructive?: string | undefined;
|
|
958
1659
|
destructiveForeground?: string | undefined;
|
|
959
|
-
border?: string | undefined;
|
|
960
1660
|
ring?: string | undefined;
|
|
961
|
-
radius?: string | undefined;
|
|
962
1661
|
} | undefined;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
authors?: string[] | undefined;
|
|
974
|
-
creator?: string | undefined;
|
|
975
|
-
publisher?: string | undefined;
|
|
1662
|
+
fonts?: {
|
|
1663
|
+
sans?: {
|
|
1664
|
+
url: string;
|
|
1665
|
+
fontFamily: string;
|
|
1666
|
+
} | undefined;
|
|
1667
|
+
mono?: {
|
|
1668
|
+
url: string;
|
|
1669
|
+
fontFamily: string;
|
|
1670
|
+
} | undefined;
|
|
1671
|
+
} | undefined;
|
|
976
1672
|
} | undefined;
|
|
977
1673
|
mdx?: {
|
|
978
|
-
components?:
|
|
1674
|
+
components?: MdxComponentsType;
|
|
979
1675
|
} | undefined;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
} |
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1676
|
+
syntaxHighlighting?: {
|
|
1677
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
1678
|
+
themes?: {
|
|
1679
|
+
light: import("shiki").BundledTheme;
|
|
1680
|
+
dark: import("shiki").BundledTheme;
|
|
1681
|
+
} | undefined;
|
|
1682
|
+
} | undefined;
|
|
1683
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1684
|
+
customPages?: {
|
|
1685
|
+
path: string;
|
|
1686
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1687
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1688
|
+
prose?: boolean | undefined;
|
|
1689
|
+
}[] | undefined;
|
|
1690
|
+
build?: {
|
|
1691
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1692
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1693
|
+
} | undefined;
|
|
1694
|
+
protectedRoutes?: string[] | undefined;
|
|
1695
|
+
basePath?: string | undefined;
|
|
1696
|
+
canonicalUrlOrigin?: string | undefined;
|
|
1697
|
+
cdnUrl?: {
|
|
1698
|
+
base: string | undefined;
|
|
1699
|
+
media: string | undefined;
|
|
1700
|
+
} | undefined;
|
|
1701
|
+
port?: number | undefined;
|
|
1702
|
+
https?: {
|
|
1703
|
+
key: string;
|
|
1704
|
+
cert: string;
|
|
1705
|
+
ca?: string | undefined;
|
|
1706
|
+
} | undefined;
|
|
1707
|
+
page?: {
|
|
1708
|
+
footer?: {
|
|
1709
|
+
columns?: {
|
|
1710
|
+
title: string;
|
|
1711
|
+
links: {
|
|
1712
|
+
label: string;
|
|
1713
|
+
href: string;
|
|
1714
|
+
}[];
|
|
1715
|
+
position?: "start" | "end" | "center" | undefined;
|
|
1716
|
+
}[] | undefined;
|
|
1717
|
+
copyright?: string | undefined;
|
|
1718
|
+
logo?: {
|
|
1719
|
+
src: {
|
|
1720
|
+
light: string;
|
|
1721
|
+
dark: string;
|
|
1722
|
+
};
|
|
1723
|
+
width?: string | number | undefined;
|
|
1724
|
+
alt?: string | undefined;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
position?: "start" | "end" | "center" | undefined;
|
|
1727
|
+
social?: {
|
|
1728
|
+
href: string;
|
|
1729
|
+
label?: string | undefined;
|
|
1730
|
+
icon?: ReactNode;
|
|
1731
|
+
}[] | undefined;
|
|
1732
|
+
} | undefined;
|
|
1733
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
message: NonNullable<ReactNode>;
|
|
1736
|
+
color?: string | (string & {}) | undefined;
|
|
1737
|
+
dismissible?: boolean | undefined;
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
logo?: {
|
|
1740
|
+
src: {
|
|
1741
|
+
light: string;
|
|
1742
|
+
dark: string;
|
|
1743
|
+
};
|
|
1744
|
+
width?: string | number | undefined;
|
|
1745
|
+
alt?: string | undefined;
|
|
1746
|
+
} | undefined;
|
|
1747
|
+
pageTitle?: string | undefined;
|
|
1748
|
+
logoUrl?: string | undefined;
|
|
1749
|
+
showPoweredBy?: boolean | undefined;
|
|
1003
1750
|
} | undefined;
|
|
1004
1751
|
docs?: {
|
|
1005
1752
|
files: string;
|
|
@@ -1018,60 +1765,143 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1018
1765
|
type: "url";
|
|
1019
1766
|
input: string;
|
|
1020
1767
|
server?: string | undefined;
|
|
1768
|
+
id?: string | undefined;
|
|
1769
|
+
options?: {
|
|
1770
|
+
examplesLanguage?: string | undefined;
|
|
1771
|
+
disablePlayground?: boolean | undefined;
|
|
1772
|
+
disableSidecar?: boolean | undefined;
|
|
1773
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1774
|
+
expandAllTags?: boolean | undefined;
|
|
1775
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1776
|
+
} | undefined;
|
|
1021
1777
|
navigationId?: string | undefined;
|
|
1778
|
+
categories?: {
|
|
1779
|
+
tags: string[];
|
|
1780
|
+
label: string;
|
|
1781
|
+
}[] | undefined;
|
|
1022
1782
|
} | {
|
|
1023
1783
|
type: "file";
|
|
1024
|
-
input: string;
|
|
1784
|
+
input: string | string[];
|
|
1025
1785
|
server?: string | undefined;
|
|
1786
|
+
id?: string | undefined;
|
|
1787
|
+
options?: {
|
|
1788
|
+
examplesLanguage?: string | undefined;
|
|
1789
|
+
disablePlayground?: boolean | undefined;
|
|
1790
|
+
disableSidecar?: boolean | undefined;
|
|
1791
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1792
|
+
expandAllTags?: boolean | undefined;
|
|
1793
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1794
|
+
} | undefined;
|
|
1026
1795
|
navigationId?: string | undefined;
|
|
1796
|
+
categories?: {
|
|
1797
|
+
tags: string[];
|
|
1798
|
+
label: string;
|
|
1799
|
+
}[] | undefined;
|
|
1027
1800
|
} | {
|
|
1028
1801
|
type: "raw";
|
|
1029
1802
|
input: string;
|
|
1030
1803
|
server?: string | undefined;
|
|
1804
|
+
id?: string | undefined;
|
|
1805
|
+
options?: {
|
|
1806
|
+
examplesLanguage?: string | undefined;
|
|
1807
|
+
disablePlayground?: boolean | undefined;
|
|
1808
|
+
disableSidecar?: boolean | undefined;
|
|
1809
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1810
|
+
expandAllTags?: boolean | undefined;
|
|
1811
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1812
|
+
} | undefined;
|
|
1031
1813
|
navigationId?: string | undefined;
|
|
1814
|
+
categories?: {
|
|
1815
|
+
tags: string[];
|
|
1816
|
+
label: string;
|
|
1817
|
+
}[] | undefined;
|
|
1032
1818
|
} | ({
|
|
1033
1819
|
type: "url";
|
|
1034
1820
|
input: string;
|
|
1035
1821
|
server?: string | undefined;
|
|
1822
|
+
id?: string | undefined;
|
|
1823
|
+
options?: {
|
|
1824
|
+
examplesLanguage?: string | undefined;
|
|
1825
|
+
disablePlayground?: boolean | undefined;
|
|
1826
|
+
disableSidecar?: boolean | undefined;
|
|
1827
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1828
|
+
expandAllTags?: boolean | undefined;
|
|
1829
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1830
|
+
} | undefined;
|
|
1036
1831
|
navigationId?: string | undefined;
|
|
1832
|
+
categories?: {
|
|
1833
|
+
tags: string[];
|
|
1834
|
+
label: string;
|
|
1835
|
+
}[] | undefined;
|
|
1037
1836
|
} | {
|
|
1038
1837
|
type: "file";
|
|
1039
|
-
input: string;
|
|
1838
|
+
input: string | string[];
|
|
1040
1839
|
server?: string | undefined;
|
|
1840
|
+
id?: string | undefined;
|
|
1841
|
+
options?: {
|
|
1842
|
+
examplesLanguage?: string | undefined;
|
|
1843
|
+
disablePlayground?: boolean | undefined;
|
|
1844
|
+
disableSidecar?: boolean | undefined;
|
|
1845
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1846
|
+
expandAllTags?: boolean | undefined;
|
|
1847
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1848
|
+
} | undefined;
|
|
1041
1849
|
navigationId?: string | undefined;
|
|
1850
|
+
categories?: {
|
|
1851
|
+
tags: string[];
|
|
1852
|
+
label: string;
|
|
1853
|
+
}[] | undefined;
|
|
1042
1854
|
} | {
|
|
1043
1855
|
type: "raw";
|
|
1044
1856
|
input: string;
|
|
1045
1857
|
server?: string | undefined;
|
|
1858
|
+
id?: string | undefined;
|
|
1859
|
+
options?: {
|
|
1860
|
+
examplesLanguage?: string | undefined;
|
|
1861
|
+
disablePlayground?: boolean | undefined;
|
|
1862
|
+
disableSidecar?: boolean | undefined;
|
|
1863
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1864
|
+
expandAllTags?: boolean | undefined;
|
|
1865
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1866
|
+
} | undefined;
|
|
1046
1867
|
navigationId?: string | undefined;
|
|
1868
|
+
categories?: {
|
|
1869
|
+
tags: string[];
|
|
1870
|
+
label: string;
|
|
1871
|
+
}[] | undefined;
|
|
1047
1872
|
})[] | undefined;
|
|
1873
|
+
catalogs?: {
|
|
1874
|
+
label: string;
|
|
1875
|
+
navigationId: string;
|
|
1876
|
+
items?: string[] | undefined;
|
|
1877
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1878
|
+
} | {
|
|
1879
|
+
label: string;
|
|
1880
|
+
navigationId: string;
|
|
1881
|
+
items?: string[] | undefined;
|
|
1882
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1883
|
+
}[] | undefined;
|
|
1048
1884
|
apiKeys?: {
|
|
1049
1885
|
enabled: boolean;
|
|
1050
1886
|
endpoint: string;
|
|
1051
1887
|
} | {
|
|
1052
1888
|
enabled: boolean;
|
|
1053
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1054
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1055
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1889
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1890
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1891
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1056
1892
|
updateKeyDescription?: ((apiKey: {
|
|
1057
1893
|
id: string;
|
|
1058
1894
|
description: string;
|
|
1059
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1895
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1060
1896
|
createKey?: ((apiKey: {
|
|
1061
1897
|
description: string;
|
|
1062
1898
|
expiresOn?: string;
|
|
1063
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1899
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1064
1900
|
} | undefined;
|
|
1065
1901
|
redirects?: {
|
|
1066
1902
|
from: string;
|
|
1067
1903
|
to: string;
|
|
1068
1904
|
}[] | undefined;
|
|
1069
|
-
customPages?: {
|
|
1070
|
-
path: string;
|
|
1071
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1072
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1073
|
-
prose?: boolean | undefined;
|
|
1074
|
-
}[] | undefined;
|
|
1075
1905
|
sitemap?: {
|
|
1076
1906
|
siteUrl: string;
|
|
1077
1907
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1080,12 +1910,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1910
|
autoLastmod?: boolean | undefined;
|
|
1081
1911
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1082
1912
|
} | undefined;
|
|
1083
|
-
|
|
1084
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1085
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1086
|
-
} | undefined;
|
|
1913
|
+
enableStatusPages?: boolean | undefined;
|
|
1087
1914
|
}, {
|
|
1088
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1089
1915
|
search?: {
|
|
1090
1916
|
type: "inkeep";
|
|
1091
1917
|
apiKey: string;
|
|
@@ -1093,118 +1919,220 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1093
1919
|
organizationId: string;
|
|
1094
1920
|
primaryBrandColor: string;
|
|
1095
1921
|
organizationDisplayName: string;
|
|
1096
|
-
} |
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
light: string;
|
|
1104
|
-
dark: string;
|
|
1105
|
-
};
|
|
1106
|
-
alt?: string | undefined;
|
|
1107
|
-
width?: string | undefined;
|
|
1108
|
-
} | undefined;
|
|
1109
|
-
banner?: {
|
|
1110
|
-
message: NonNullable<ReactNode>;
|
|
1111
|
-
color?: BannerColorType;
|
|
1112
|
-
dismissible?: boolean | undefined;
|
|
1922
|
+
} | {
|
|
1923
|
+
type: "pagefind";
|
|
1924
|
+
ranking?: {
|
|
1925
|
+
termFrequency: number;
|
|
1926
|
+
pageLength: number;
|
|
1927
|
+
termSimilarity: number;
|
|
1928
|
+
termSaturation: number;
|
|
1113
1929
|
} | undefined;
|
|
1930
|
+
maxResults?: number | undefined;
|
|
1931
|
+
maxSubResults?: number | undefined;
|
|
1932
|
+
transformResults?: ((data: {
|
|
1933
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
1934
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
1935
|
+
context: import("../../index.js").ZudokuContext;
|
|
1936
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1937
|
+
} | undefined;
|
|
1938
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
1939
|
+
defaults?: {
|
|
1940
|
+
apis: {
|
|
1941
|
+
examplesLanguage?: string | undefined;
|
|
1942
|
+
disablePlayground?: boolean | undefined;
|
|
1943
|
+
disableSidecar?: boolean | undefined;
|
|
1944
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
1945
|
+
expandAllTags?: boolean | undefined;
|
|
1946
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1947
|
+
};
|
|
1948
|
+
examplesLanguage?: string | undefined;
|
|
1949
|
+
} | undefined;
|
|
1950
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1951
|
+
metadata?: {
|
|
1952
|
+
description?: string | undefined;
|
|
1953
|
+
title?: string | undefined;
|
|
1954
|
+
logo?: string | undefined;
|
|
1955
|
+
favicon?: string | undefined;
|
|
1956
|
+
generator?: string | undefined;
|
|
1957
|
+
applicationName?: string | undefined;
|
|
1958
|
+
referrer?: string | undefined;
|
|
1959
|
+
keywords?: string[] | undefined;
|
|
1960
|
+
authors?: string[] | undefined;
|
|
1961
|
+
creator?: string | undefined;
|
|
1962
|
+
publisher?: string | undefined;
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
authentication?: {
|
|
1965
|
+
type: "clerk";
|
|
1966
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1967
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1968
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1969
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1970
|
+
} | {
|
|
1971
|
+
type: "openid";
|
|
1972
|
+
clientId: string;
|
|
1973
|
+
issuer: string;
|
|
1974
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1975
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1976
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1977
|
+
audience?: string | undefined;
|
|
1978
|
+
scopes?: string[] | undefined;
|
|
1979
|
+
} | {
|
|
1980
|
+
type: "auth0";
|
|
1981
|
+
clientId: string;
|
|
1982
|
+
domain: string;
|
|
1983
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1984
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1985
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1986
|
+
audience?: string | undefined;
|
|
1987
|
+
scopes?: string[] | undefined;
|
|
1988
|
+
} | {
|
|
1989
|
+
type: "supabase";
|
|
1990
|
+
supabaseUrl: string;
|
|
1991
|
+
supabaseKey: string;
|
|
1992
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
1993
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1994
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1995
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1114
1996
|
} | undefined;
|
|
1115
1997
|
topNavigation?: {
|
|
1116
1998
|
id: string;
|
|
1117
1999
|
label: string;
|
|
1118
2000
|
default?: string | undefined;
|
|
1119
|
-
display?: "
|
|
2001
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
1120
2002
|
}[] | undefined;
|
|
1121
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1122
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1123
2003
|
theme?: {
|
|
1124
2004
|
light?: {
|
|
1125
2005
|
input?: string | undefined;
|
|
2006
|
+
radius?: string | undefined;
|
|
2007
|
+
destructive?: string | undefined;
|
|
2008
|
+
secondary?: string | undefined;
|
|
2009
|
+
popover?: string | undefined;
|
|
2010
|
+
border?: string | undefined;
|
|
1126
2011
|
background?: string | undefined;
|
|
1127
2012
|
foreground?: string | undefined;
|
|
1128
2013
|
card?: string | undefined;
|
|
1129
2014
|
cardForeground?: string | undefined;
|
|
1130
|
-
popover?: string | undefined;
|
|
1131
2015
|
popoverForeground?: string | undefined;
|
|
1132
2016
|
primary?: string | undefined;
|
|
1133
2017
|
primaryForeground?: string | undefined;
|
|
1134
|
-
secondary?: string | undefined;
|
|
1135
2018
|
secondaryForeground?: string | undefined;
|
|
1136
2019
|
muted?: string | undefined;
|
|
1137
2020
|
mutedForeground?: string | undefined;
|
|
1138
2021
|
accent?: string | undefined;
|
|
1139
2022
|
accentForeground?: string | undefined;
|
|
1140
|
-
destructive?: string | undefined;
|
|
1141
2023
|
destructiveForeground?: string | undefined;
|
|
1142
|
-
border?: string | undefined;
|
|
1143
2024
|
ring?: string | undefined;
|
|
1144
|
-
radius?: string | undefined;
|
|
1145
2025
|
} | undefined;
|
|
1146
2026
|
dark?: {
|
|
1147
2027
|
input?: string | undefined;
|
|
2028
|
+
radius?: string | undefined;
|
|
2029
|
+
destructive?: string | undefined;
|
|
2030
|
+
secondary?: string | undefined;
|
|
2031
|
+
popover?: string | undefined;
|
|
2032
|
+
border?: string | undefined;
|
|
1148
2033
|
background?: string | undefined;
|
|
1149
2034
|
foreground?: string | undefined;
|
|
1150
2035
|
card?: string | undefined;
|
|
1151
2036
|
cardForeground?: string | undefined;
|
|
1152
|
-
popover?: string | undefined;
|
|
1153
2037
|
popoverForeground?: string | undefined;
|
|
1154
2038
|
primary?: string | undefined;
|
|
1155
2039
|
primaryForeground?: string | undefined;
|
|
1156
|
-
secondary?: string | undefined;
|
|
1157
2040
|
secondaryForeground?: string | undefined;
|
|
1158
2041
|
muted?: string | undefined;
|
|
1159
2042
|
mutedForeground?: string | undefined;
|
|
1160
2043
|
accent?: string | undefined;
|
|
1161
2044
|
accentForeground?: string | undefined;
|
|
1162
|
-
destructive?: string | undefined;
|
|
1163
2045
|
destructiveForeground?: string | undefined;
|
|
1164
|
-
border?: string | undefined;
|
|
1165
2046
|
ring?: string | undefined;
|
|
1166
|
-
radius?: string | undefined;
|
|
1167
2047
|
} | undefined;
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
authors?: string[] | undefined;
|
|
1179
|
-
creator?: string | undefined;
|
|
1180
|
-
publisher?: string | undefined;
|
|
2048
|
+
fonts?: {
|
|
2049
|
+
sans?: {
|
|
2050
|
+
url: string;
|
|
2051
|
+
fontFamily: string;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
mono?: {
|
|
2054
|
+
url: string;
|
|
2055
|
+
fontFamily: string;
|
|
2056
|
+
} | undefined;
|
|
2057
|
+
} | undefined;
|
|
1181
2058
|
} | undefined;
|
|
1182
2059
|
mdx?: {
|
|
1183
|
-
components?:
|
|
2060
|
+
components?: MdxComponentsType;
|
|
1184
2061
|
} | undefined;
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
} |
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
2062
|
+
syntaxHighlighting?: {
|
|
2063
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
2064
|
+
themes?: {
|
|
2065
|
+
light: import("shiki").BundledTheme;
|
|
2066
|
+
dark: import("shiki").BundledTheme;
|
|
2067
|
+
} | undefined;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
2070
|
+
customPages?: {
|
|
2071
|
+
path: string;
|
|
2072
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
2073
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
2074
|
+
prose?: boolean | undefined;
|
|
2075
|
+
}[] | undefined;
|
|
2076
|
+
build?: {
|
|
2077
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
2078
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
2079
|
+
} | undefined;
|
|
2080
|
+
protectedRoutes?: string[] | undefined;
|
|
2081
|
+
basePath?: string | undefined;
|
|
2082
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2083
|
+
cdnUrl?: string | {
|
|
2084
|
+
base?: string | undefined;
|
|
2085
|
+
media?: string | undefined;
|
|
2086
|
+
} | undefined;
|
|
2087
|
+
port?: number | undefined;
|
|
2088
|
+
https?: {
|
|
2089
|
+
key: string;
|
|
2090
|
+
cert: string;
|
|
2091
|
+
ca?: string | undefined;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
page?: {
|
|
2094
|
+
footer?: {
|
|
2095
|
+
columns?: {
|
|
2096
|
+
title: string;
|
|
2097
|
+
links: {
|
|
2098
|
+
label: string;
|
|
2099
|
+
href: string;
|
|
2100
|
+
}[];
|
|
2101
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2102
|
+
}[] | undefined;
|
|
2103
|
+
copyright?: string | undefined;
|
|
2104
|
+
logo?: {
|
|
2105
|
+
src: {
|
|
2106
|
+
light: string;
|
|
2107
|
+
dark: string;
|
|
2108
|
+
};
|
|
2109
|
+
width?: string | number | undefined;
|
|
2110
|
+
alt?: string | undefined;
|
|
2111
|
+
} | undefined;
|
|
2112
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2113
|
+
social?: {
|
|
2114
|
+
href: string;
|
|
2115
|
+
label?: string | undefined;
|
|
2116
|
+
icon?: ReactNode;
|
|
2117
|
+
}[] | undefined;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
2120
|
+
banner?: {
|
|
2121
|
+
message: NonNullable<ReactNode>;
|
|
2122
|
+
color?: string | (string & {}) | undefined;
|
|
2123
|
+
dismissible?: boolean | undefined;
|
|
2124
|
+
} | undefined;
|
|
2125
|
+
logo?: {
|
|
2126
|
+
src: {
|
|
2127
|
+
light: string;
|
|
2128
|
+
dark: string;
|
|
2129
|
+
};
|
|
2130
|
+
width?: string | number | undefined;
|
|
2131
|
+
alt?: string | undefined;
|
|
2132
|
+
} | undefined;
|
|
2133
|
+
pageTitle?: string | undefined;
|
|
2134
|
+
logoUrl?: string | undefined;
|
|
2135
|
+
showPoweredBy?: boolean | undefined;
|
|
1208
2136
|
} | undefined;
|
|
1209
2137
|
docs?: {
|
|
1210
2138
|
files: string;
|
|
@@ -1223,60 +2151,143 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1223
2151
|
type: "url";
|
|
1224
2152
|
input: string;
|
|
1225
2153
|
server?: string | undefined;
|
|
2154
|
+
id?: string | undefined;
|
|
2155
|
+
options?: {
|
|
2156
|
+
examplesLanguage?: string | undefined;
|
|
2157
|
+
disablePlayground?: boolean | undefined;
|
|
2158
|
+
disableSidecar?: boolean | undefined;
|
|
2159
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2160
|
+
expandAllTags?: boolean | undefined;
|
|
2161
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2162
|
+
} | undefined;
|
|
1226
2163
|
navigationId?: string | undefined;
|
|
2164
|
+
categories?: {
|
|
2165
|
+
tags: string[];
|
|
2166
|
+
label: string;
|
|
2167
|
+
}[] | undefined;
|
|
1227
2168
|
} | {
|
|
1228
2169
|
type: "file";
|
|
1229
|
-
input: string;
|
|
2170
|
+
input: string | string[];
|
|
1230
2171
|
server?: string | undefined;
|
|
2172
|
+
id?: string | undefined;
|
|
2173
|
+
options?: {
|
|
2174
|
+
examplesLanguage?: string | undefined;
|
|
2175
|
+
disablePlayground?: boolean | undefined;
|
|
2176
|
+
disableSidecar?: boolean | undefined;
|
|
2177
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2178
|
+
expandAllTags?: boolean | undefined;
|
|
2179
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2180
|
+
} | undefined;
|
|
1231
2181
|
navigationId?: string | undefined;
|
|
2182
|
+
categories?: {
|
|
2183
|
+
tags: string[];
|
|
2184
|
+
label: string;
|
|
2185
|
+
}[] | undefined;
|
|
1232
2186
|
} | {
|
|
1233
2187
|
type: "raw";
|
|
1234
2188
|
input: string;
|
|
1235
2189
|
server?: string | undefined;
|
|
2190
|
+
id?: string | undefined;
|
|
2191
|
+
options?: {
|
|
2192
|
+
examplesLanguage?: string | undefined;
|
|
2193
|
+
disablePlayground?: boolean | undefined;
|
|
2194
|
+
disableSidecar?: boolean | undefined;
|
|
2195
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2196
|
+
expandAllTags?: boolean | undefined;
|
|
2197
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2198
|
+
} | undefined;
|
|
1236
2199
|
navigationId?: string | undefined;
|
|
2200
|
+
categories?: {
|
|
2201
|
+
tags: string[];
|
|
2202
|
+
label: string;
|
|
2203
|
+
}[] | undefined;
|
|
1237
2204
|
} | ({
|
|
1238
2205
|
type: "url";
|
|
1239
2206
|
input: string;
|
|
1240
2207
|
server?: string | undefined;
|
|
2208
|
+
id?: string | undefined;
|
|
2209
|
+
options?: {
|
|
2210
|
+
examplesLanguage?: string | undefined;
|
|
2211
|
+
disablePlayground?: boolean | undefined;
|
|
2212
|
+
disableSidecar?: boolean | undefined;
|
|
2213
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2214
|
+
expandAllTags?: boolean | undefined;
|
|
2215
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2216
|
+
} | undefined;
|
|
1241
2217
|
navigationId?: string | undefined;
|
|
2218
|
+
categories?: {
|
|
2219
|
+
tags: string[];
|
|
2220
|
+
label: string;
|
|
2221
|
+
}[] | undefined;
|
|
1242
2222
|
} | {
|
|
1243
2223
|
type: "file";
|
|
1244
|
-
input: string;
|
|
2224
|
+
input: string | string[];
|
|
1245
2225
|
server?: string | undefined;
|
|
2226
|
+
id?: string | undefined;
|
|
2227
|
+
options?: {
|
|
2228
|
+
examplesLanguage?: string | undefined;
|
|
2229
|
+
disablePlayground?: boolean | undefined;
|
|
2230
|
+
disableSidecar?: boolean | undefined;
|
|
2231
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2232
|
+
expandAllTags?: boolean | undefined;
|
|
2233
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2234
|
+
} | undefined;
|
|
1246
2235
|
navigationId?: string | undefined;
|
|
2236
|
+
categories?: {
|
|
2237
|
+
tags: string[];
|
|
2238
|
+
label: string;
|
|
2239
|
+
}[] | undefined;
|
|
1247
2240
|
} | {
|
|
1248
2241
|
type: "raw";
|
|
1249
2242
|
input: string;
|
|
1250
2243
|
server?: string | undefined;
|
|
2244
|
+
id?: string | undefined;
|
|
2245
|
+
options?: {
|
|
2246
|
+
examplesLanguage?: string | undefined;
|
|
2247
|
+
disablePlayground?: boolean | undefined;
|
|
2248
|
+
disableSidecar?: boolean | undefined;
|
|
2249
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2250
|
+
expandAllTags?: boolean | undefined;
|
|
2251
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2252
|
+
} | undefined;
|
|
1251
2253
|
navigationId?: string | undefined;
|
|
2254
|
+
categories?: {
|
|
2255
|
+
tags: string[];
|
|
2256
|
+
label: string;
|
|
2257
|
+
}[] | undefined;
|
|
1252
2258
|
})[] | undefined;
|
|
2259
|
+
catalogs?: {
|
|
2260
|
+
label: string;
|
|
2261
|
+
navigationId: string;
|
|
2262
|
+
items?: string[] | undefined;
|
|
2263
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2264
|
+
} | {
|
|
2265
|
+
label: string;
|
|
2266
|
+
navigationId: string;
|
|
2267
|
+
items?: string[] | undefined;
|
|
2268
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2269
|
+
}[] | undefined;
|
|
1253
2270
|
apiKeys?: {
|
|
1254
2271
|
enabled: boolean;
|
|
1255
2272
|
endpoint: string;
|
|
1256
2273
|
} | {
|
|
1257
2274
|
enabled: boolean;
|
|
1258
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1259
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1260
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2275
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
2276
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
2277
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1261
2278
|
updateKeyDescription?: ((apiKey: {
|
|
1262
2279
|
id: string;
|
|
1263
2280
|
description: string;
|
|
1264
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2281
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1265
2282
|
createKey?: ((apiKey: {
|
|
1266
2283
|
description: string;
|
|
1267
2284
|
expiresOn?: string;
|
|
1268
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2285
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1269
2286
|
} | undefined;
|
|
1270
2287
|
redirects?: {
|
|
1271
2288
|
from: string;
|
|
1272
2289
|
to: string;
|
|
1273
2290
|
}[] | undefined;
|
|
1274
|
-
customPages?: {
|
|
1275
|
-
path: string;
|
|
1276
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1277
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1278
|
-
prose?: boolean | undefined;
|
|
1279
|
-
}[] | undefined;
|
|
1280
2291
|
sitemap?: {
|
|
1281
2292
|
siteUrl: string;
|
|
1282
2293
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1285,12 +2296,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1285
2296
|
autoLastmod?: boolean | undefined;
|
|
1286
2297
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1287
2298
|
} | undefined;
|
|
1288
|
-
|
|
1289
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1290
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1291
|
-
} | undefined;
|
|
2299
|
+
enableStatusPages?: boolean | undefined;
|
|
1292
2300
|
}>, {
|
|
1293
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1294
2301
|
search?: {
|
|
1295
2302
|
type: "inkeep";
|
|
1296
2303
|
apiKey: string;
|
|
@@ -1298,118 +2305,220 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1298
2305
|
organizationId: string;
|
|
1299
2306
|
primaryBrandColor: string;
|
|
1300
2307
|
organizationDisplayName: string;
|
|
1301
|
-
} |
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
light: string;
|
|
1309
|
-
dark: string;
|
|
1310
|
-
};
|
|
1311
|
-
alt?: string | undefined;
|
|
1312
|
-
width?: string | undefined;
|
|
1313
|
-
} | undefined;
|
|
1314
|
-
banner?: {
|
|
1315
|
-
message: NonNullable<ReactNode>;
|
|
1316
|
-
color?: BannerColorType;
|
|
1317
|
-
dismissible?: boolean | undefined;
|
|
2308
|
+
} | {
|
|
2309
|
+
type: "pagefind";
|
|
2310
|
+
ranking?: {
|
|
2311
|
+
termFrequency: number;
|
|
2312
|
+
pageLength: number;
|
|
2313
|
+
termSimilarity: number;
|
|
2314
|
+
termSaturation: number;
|
|
1318
2315
|
} | undefined;
|
|
2316
|
+
maxResults?: number | undefined;
|
|
2317
|
+
maxSubResults?: number | undefined;
|
|
2318
|
+
transformResults?: ((data: {
|
|
2319
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
2320
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
2321
|
+
context: import("../../index.js").ZudokuContext;
|
|
2322
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2323
|
+
} | undefined;
|
|
2324
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
2325
|
+
defaults?: {
|
|
2326
|
+
apis: {
|
|
2327
|
+
examplesLanguage?: string | undefined;
|
|
2328
|
+
disablePlayground?: boolean | undefined;
|
|
2329
|
+
disableSidecar?: boolean | undefined;
|
|
2330
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2331
|
+
expandAllTags?: boolean | undefined;
|
|
2332
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2333
|
+
};
|
|
2334
|
+
examplesLanguage?: string | undefined;
|
|
2335
|
+
} | undefined;
|
|
2336
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2337
|
+
metadata?: {
|
|
2338
|
+
description?: string | undefined;
|
|
2339
|
+
title?: string | undefined;
|
|
2340
|
+
logo?: string | undefined;
|
|
2341
|
+
favicon?: string | undefined;
|
|
2342
|
+
generator?: string | undefined;
|
|
2343
|
+
applicationName?: string | undefined;
|
|
2344
|
+
referrer?: string | undefined;
|
|
2345
|
+
keywords?: string[] | undefined;
|
|
2346
|
+
authors?: string[] | undefined;
|
|
2347
|
+
creator?: string | undefined;
|
|
2348
|
+
publisher?: string | undefined;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
authentication?: {
|
|
2351
|
+
type: "clerk";
|
|
2352
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2353
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2354
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2355
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2356
|
+
} | {
|
|
2357
|
+
type: "openid";
|
|
2358
|
+
clientId: string;
|
|
2359
|
+
issuer: string;
|
|
2360
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2361
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2362
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2363
|
+
audience?: string | undefined;
|
|
2364
|
+
scopes?: string[] | undefined;
|
|
2365
|
+
} | {
|
|
2366
|
+
type: "auth0";
|
|
2367
|
+
clientId: string;
|
|
2368
|
+
domain: string;
|
|
2369
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2370
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2371
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2372
|
+
audience?: string | undefined;
|
|
2373
|
+
scopes?: string[] | undefined;
|
|
2374
|
+
} | {
|
|
2375
|
+
type: "supabase";
|
|
2376
|
+
supabaseUrl: string;
|
|
2377
|
+
supabaseKey: string;
|
|
2378
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2379
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2380
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2381
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1319
2382
|
} | undefined;
|
|
1320
2383
|
topNavigation?: {
|
|
1321
2384
|
id: string;
|
|
1322
2385
|
label: string;
|
|
1323
2386
|
default?: string | undefined;
|
|
1324
|
-
display?: "
|
|
2387
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
1325
2388
|
}[] | undefined;
|
|
1326
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1327
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1328
2389
|
theme?: {
|
|
1329
2390
|
light?: {
|
|
1330
2391
|
input?: string | undefined;
|
|
2392
|
+
radius?: string | undefined;
|
|
2393
|
+
destructive?: string | undefined;
|
|
2394
|
+
secondary?: string | undefined;
|
|
2395
|
+
popover?: string | undefined;
|
|
2396
|
+
border?: string | undefined;
|
|
1331
2397
|
background?: string | undefined;
|
|
1332
2398
|
foreground?: string | undefined;
|
|
1333
2399
|
card?: string | undefined;
|
|
1334
2400
|
cardForeground?: string | undefined;
|
|
1335
|
-
popover?: string | undefined;
|
|
1336
2401
|
popoverForeground?: string | undefined;
|
|
1337
2402
|
primary?: string | undefined;
|
|
1338
2403
|
primaryForeground?: string | undefined;
|
|
1339
|
-
secondary?: string | undefined;
|
|
1340
2404
|
secondaryForeground?: string | undefined;
|
|
1341
2405
|
muted?: string | undefined;
|
|
1342
2406
|
mutedForeground?: string | undefined;
|
|
1343
2407
|
accent?: string | undefined;
|
|
1344
2408
|
accentForeground?: string | undefined;
|
|
1345
|
-
destructive?: string | undefined;
|
|
1346
2409
|
destructiveForeground?: string | undefined;
|
|
1347
|
-
border?: string | undefined;
|
|
1348
2410
|
ring?: string | undefined;
|
|
1349
|
-
radius?: string | undefined;
|
|
1350
2411
|
} | undefined;
|
|
1351
2412
|
dark?: {
|
|
1352
2413
|
input?: string | undefined;
|
|
2414
|
+
radius?: string | undefined;
|
|
2415
|
+
destructive?: string | undefined;
|
|
2416
|
+
secondary?: string | undefined;
|
|
2417
|
+
popover?: string | undefined;
|
|
2418
|
+
border?: string | undefined;
|
|
1353
2419
|
background?: string | undefined;
|
|
1354
2420
|
foreground?: string | undefined;
|
|
1355
2421
|
card?: string | undefined;
|
|
1356
2422
|
cardForeground?: string | undefined;
|
|
1357
|
-
popover?: string | undefined;
|
|
1358
2423
|
popoverForeground?: string | undefined;
|
|
1359
2424
|
primary?: string | undefined;
|
|
1360
2425
|
primaryForeground?: string | undefined;
|
|
1361
|
-
secondary?: string | undefined;
|
|
1362
2426
|
secondaryForeground?: string | undefined;
|
|
1363
2427
|
muted?: string | undefined;
|
|
1364
2428
|
mutedForeground?: string | undefined;
|
|
1365
|
-
accent?: string | undefined;
|
|
1366
|
-
accentForeground?: string | undefined;
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
applicationName?: string | undefined;
|
|
1381
|
-
referrer?: string | undefined;
|
|
1382
|
-
keywords?: string[] | undefined;
|
|
1383
|
-
authors?: string[] | undefined;
|
|
1384
|
-
creator?: string | undefined;
|
|
1385
|
-
publisher?: string | undefined;
|
|
2429
|
+
accent?: string | undefined;
|
|
2430
|
+
accentForeground?: string | undefined;
|
|
2431
|
+
destructiveForeground?: string | undefined;
|
|
2432
|
+
ring?: string | undefined;
|
|
2433
|
+
} | undefined;
|
|
2434
|
+
fonts?: {
|
|
2435
|
+
sans?: {
|
|
2436
|
+
url: string;
|
|
2437
|
+
fontFamily: string;
|
|
2438
|
+
} | undefined;
|
|
2439
|
+
mono?: {
|
|
2440
|
+
url: string;
|
|
2441
|
+
fontFamily: string;
|
|
2442
|
+
} | undefined;
|
|
2443
|
+
} | undefined;
|
|
1386
2444
|
} | undefined;
|
|
1387
2445
|
mdx?: {
|
|
1388
|
-
components?:
|
|
2446
|
+
components?: MdxComponentsType;
|
|
1389
2447
|
} | undefined;
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
} |
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
2448
|
+
syntaxHighlighting?: {
|
|
2449
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
2450
|
+
themes?: {
|
|
2451
|
+
light: import("shiki").BundledTheme;
|
|
2452
|
+
dark: import("shiki").BundledTheme;
|
|
2453
|
+
} | undefined;
|
|
2454
|
+
} | undefined;
|
|
2455
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
2456
|
+
customPages?: {
|
|
2457
|
+
path: string;
|
|
2458
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
2459
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
2460
|
+
prose?: boolean | undefined;
|
|
2461
|
+
}[] | undefined;
|
|
2462
|
+
build?: {
|
|
2463
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
2464
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
2465
|
+
} | undefined;
|
|
2466
|
+
protectedRoutes?: string[] | undefined;
|
|
2467
|
+
basePath?: string | undefined;
|
|
2468
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2469
|
+
cdnUrl?: {
|
|
2470
|
+
base: string | undefined;
|
|
2471
|
+
media: string | undefined;
|
|
2472
|
+
} | undefined;
|
|
2473
|
+
port?: number | undefined;
|
|
2474
|
+
https?: {
|
|
2475
|
+
key: string;
|
|
2476
|
+
cert: string;
|
|
2477
|
+
ca?: string | undefined;
|
|
2478
|
+
} | undefined;
|
|
2479
|
+
page?: {
|
|
2480
|
+
footer?: {
|
|
2481
|
+
columns?: {
|
|
2482
|
+
title: string;
|
|
2483
|
+
links: {
|
|
2484
|
+
label: string;
|
|
2485
|
+
href: string;
|
|
2486
|
+
}[];
|
|
2487
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2488
|
+
}[] | undefined;
|
|
2489
|
+
copyright?: string | undefined;
|
|
2490
|
+
logo?: {
|
|
2491
|
+
src: {
|
|
2492
|
+
light: string;
|
|
2493
|
+
dark: string;
|
|
2494
|
+
};
|
|
2495
|
+
width?: string | number | undefined;
|
|
2496
|
+
alt?: string | undefined;
|
|
2497
|
+
} | undefined;
|
|
2498
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2499
|
+
social?: {
|
|
2500
|
+
href: string;
|
|
2501
|
+
label?: string | undefined;
|
|
2502
|
+
icon?: ReactNode;
|
|
2503
|
+
}[] | undefined;
|
|
2504
|
+
} | undefined;
|
|
2505
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
2506
|
+
banner?: {
|
|
2507
|
+
message: NonNullable<ReactNode>;
|
|
2508
|
+
color?: string | (string & {}) | undefined;
|
|
2509
|
+
dismissible?: boolean | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
logo?: {
|
|
2512
|
+
src: {
|
|
2513
|
+
light: string;
|
|
2514
|
+
dark: string;
|
|
2515
|
+
};
|
|
2516
|
+
width?: string | number | undefined;
|
|
2517
|
+
alt?: string | undefined;
|
|
2518
|
+
} | undefined;
|
|
2519
|
+
pageTitle?: string | undefined;
|
|
2520
|
+
logoUrl?: string | undefined;
|
|
2521
|
+
showPoweredBy?: boolean | undefined;
|
|
1413
2522
|
} | undefined;
|
|
1414
2523
|
docs?: {
|
|
1415
2524
|
files: string;
|
|
@@ -1428,60 +2537,143 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
2537
|
type: "url";
|
|
1429
2538
|
input: string;
|
|
1430
2539
|
server?: string | undefined;
|
|
2540
|
+
id?: string | undefined;
|
|
2541
|
+
options?: {
|
|
2542
|
+
examplesLanguage?: string | undefined;
|
|
2543
|
+
disablePlayground?: boolean | undefined;
|
|
2544
|
+
disableSidecar?: boolean | undefined;
|
|
2545
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2546
|
+
expandAllTags?: boolean | undefined;
|
|
2547
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2548
|
+
} | undefined;
|
|
1431
2549
|
navigationId?: string | undefined;
|
|
2550
|
+
categories?: {
|
|
2551
|
+
tags: string[];
|
|
2552
|
+
label: string;
|
|
2553
|
+
}[] | undefined;
|
|
1432
2554
|
} | {
|
|
1433
2555
|
type: "file";
|
|
1434
|
-
input: string;
|
|
2556
|
+
input: string | string[];
|
|
1435
2557
|
server?: string | undefined;
|
|
2558
|
+
id?: string | undefined;
|
|
2559
|
+
options?: {
|
|
2560
|
+
examplesLanguage?: string | undefined;
|
|
2561
|
+
disablePlayground?: boolean | undefined;
|
|
2562
|
+
disableSidecar?: boolean | undefined;
|
|
2563
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2564
|
+
expandAllTags?: boolean | undefined;
|
|
2565
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2566
|
+
} | undefined;
|
|
1436
2567
|
navigationId?: string | undefined;
|
|
2568
|
+
categories?: {
|
|
2569
|
+
tags: string[];
|
|
2570
|
+
label: string;
|
|
2571
|
+
}[] | undefined;
|
|
1437
2572
|
} | {
|
|
1438
2573
|
type: "raw";
|
|
1439
2574
|
input: string;
|
|
1440
2575
|
server?: string | undefined;
|
|
2576
|
+
id?: string | undefined;
|
|
2577
|
+
options?: {
|
|
2578
|
+
examplesLanguage?: string | undefined;
|
|
2579
|
+
disablePlayground?: boolean | undefined;
|
|
2580
|
+
disableSidecar?: boolean | undefined;
|
|
2581
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2582
|
+
expandAllTags?: boolean | undefined;
|
|
2583
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2584
|
+
} | undefined;
|
|
1441
2585
|
navigationId?: string | undefined;
|
|
2586
|
+
categories?: {
|
|
2587
|
+
tags: string[];
|
|
2588
|
+
label: string;
|
|
2589
|
+
}[] | undefined;
|
|
1442
2590
|
} | ({
|
|
1443
2591
|
type: "url";
|
|
1444
2592
|
input: string;
|
|
1445
2593
|
server?: string | undefined;
|
|
2594
|
+
id?: string | undefined;
|
|
2595
|
+
options?: {
|
|
2596
|
+
examplesLanguage?: string | undefined;
|
|
2597
|
+
disablePlayground?: boolean | undefined;
|
|
2598
|
+
disableSidecar?: boolean | undefined;
|
|
2599
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2600
|
+
expandAllTags?: boolean | undefined;
|
|
2601
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2602
|
+
} | undefined;
|
|
1446
2603
|
navigationId?: string | undefined;
|
|
2604
|
+
categories?: {
|
|
2605
|
+
tags: string[];
|
|
2606
|
+
label: string;
|
|
2607
|
+
}[] | undefined;
|
|
1447
2608
|
} | {
|
|
1448
2609
|
type: "file";
|
|
1449
|
-
input: string;
|
|
2610
|
+
input: string | string[];
|
|
1450
2611
|
server?: string | undefined;
|
|
2612
|
+
id?: string | undefined;
|
|
2613
|
+
options?: {
|
|
2614
|
+
examplesLanguage?: string | undefined;
|
|
2615
|
+
disablePlayground?: boolean | undefined;
|
|
2616
|
+
disableSidecar?: boolean | undefined;
|
|
2617
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2618
|
+
expandAllTags?: boolean | undefined;
|
|
2619
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2620
|
+
} | undefined;
|
|
1451
2621
|
navigationId?: string | undefined;
|
|
2622
|
+
categories?: {
|
|
2623
|
+
tags: string[];
|
|
2624
|
+
label: string;
|
|
2625
|
+
}[] | undefined;
|
|
1452
2626
|
} | {
|
|
1453
2627
|
type: "raw";
|
|
1454
2628
|
input: string;
|
|
1455
2629
|
server?: string | undefined;
|
|
2630
|
+
id?: string | undefined;
|
|
2631
|
+
options?: {
|
|
2632
|
+
examplesLanguage?: string | undefined;
|
|
2633
|
+
disablePlayground?: boolean | undefined;
|
|
2634
|
+
disableSidecar?: boolean | undefined;
|
|
2635
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2636
|
+
expandAllTags?: boolean | undefined;
|
|
2637
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2638
|
+
} | undefined;
|
|
1456
2639
|
navigationId?: string | undefined;
|
|
2640
|
+
categories?: {
|
|
2641
|
+
tags: string[];
|
|
2642
|
+
label: string;
|
|
2643
|
+
}[] | undefined;
|
|
1457
2644
|
})[] | undefined;
|
|
2645
|
+
catalogs?: {
|
|
2646
|
+
label: string;
|
|
2647
|
+
navigationId: string;
|
|
2648
|
+
items?: string[] | undefined;
|
|
2649
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2650
|
+
} | {
|
|
2651
|
+
label: string;
|
|
2652
|
+
navigationId: string;
|
|
2653
|
+
items?: string[] | undefined;
|
|
2654
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2655
|
+
}[] | undefined;
|
|
1458
2656
|
apiKeys?: {
|
|
1459
2657
|
enabled: boolean;
|
|
1460
2658
|
endpoint: string;
|
|
1461
2659
|
} | {
|
|
1462
2660
|
enabled: boolean;
|
|
1463
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1464
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1465
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2661
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
2662
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
2663
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1466
2664
|
updateKeyDescription?: ((apiKey: {
|
|
1467
2665
|
id: string;
|
|
1468
2666
|
description: string;
|
|
1469
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2667
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1470
2668
|
createKey?: ((apiKey: {
|
|
1471
2669
|
description: string;
|
|
1472
2670
|
expiresOn?: string;
|
|
1473
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2671
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1474
2672
|
} | undefined;
|
|
1475
2673
|
redirects?: {
|
|
1476
2674
|
from: string;
|
|
1477
2675
|
to: string;
|
|
1478
2676
|
}[] | undefined;
|
|
1479
|
-
customPages?: {
|
|
1480
|
-
path: string;
|
|
1481
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1482
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1483
|
-
prose?: boolean | undefined;
|
|
1484
|
-
}[] | undefined;
|
|
1485
2677
|
sitemap?: {
|
|
1486
2678
|
siteUrl: string;
|
|
1487
2679
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1490,12 +2682,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1490
2682
|
autoLastmod?: boolean | undefined;
|
|
1491
2683
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1492
2684
|
} | undefined;
|
|
1493
|
-
|
|
1494
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1495
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1496
|
-
} | undefined;
|
|
2685
|
+
enableStatusPages?: boolean | undefined;
|
|
1497
2686
|
}, {
|
|
1498
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1499
2687
|
search?: {
|
|
1500
2688
|
type: "inkeep";
|
|
1501
2689
|
apiKey: string;
|
|
@@ -1503,118 +2691,220 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1503
2691
|
organizationId: string;
|
|
1504
2692
|
primaryBrandColor: string;
|
|
1505
2693
|
organizationDisplayName: string;
|
|
1506
|
-
} |
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
light: string;
|
|
1514
|
-
dark: string;
|
|
1515
|
-
};
|
|
1516
|
-
alt?: string | undefined;
|
|
1517
|
-
width?: string | undefined;
|
|
1518
|
-
} | undefined;
|
|
1519
|
-
banner?: {
|
|
1520
|
-
message: NonNullable<ReactNode>;
|
|
1521
|
-
color?: BannerColorType;
|
|
1522
|
-
dismissible?: boolean | undefined;
|
|
2694
|
+
} | {
|
|
2695
|
+
type: "pagefind";
|
|
2696
|
+
ranking?: {
|
|
2697
|
+
termFrequency: number;
|
|
2698
|
+
pageLength: number;
|
|
2699
|
+
termSimilarity: number;
|
|
2700
|
+
termSaturation: number;
|
|
1523
2701
|
} | undefined;
|
|
2702
|
+
maxResults?: number | undefined;
|
|
2703
|
+
maxSubResults?: number | undefined;
|
|
2704
|
+
transformResults?: ((data: {
|
|
2705
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
2706
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
2707
|
+
context: import("../../index.js").ZudokuContext;
|
|
2708
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
2711
|
+
defaults?: {
|
|
2712
|
+
apis: {
|
|
2713
|
+
examplesLanguage?: string | undefined;
|
|
2714
|
+
disablePlayground?: boolean | undefined;
|
|
2715
|
+
disableSidecar?: boolean | undefined;
|
|
2716
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2717
|
+
expandAllTags?: boolean | undefined;
|
|
2718
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2719
|
+
};
|
|
2720
|
+
examplesLanguage?: string | undefined;
|
|
2721
|
+
} | undefined;
|
|
2722
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2723
|
+
metadata?: {
|
|
2724
|
+
description?: string | undefined;
|
|
2725
|
+
title?: string | undefined;
|
|
2726
|
+
logo?: string | undefined;
|
|
2727
|
+
favicon?: string | undefined;
|
|
2728
|
+
generator?: string | undefined;
|
|
2729
|
+
applicationName?: string | undefined;
|
|
2730
|
+
referrer?: string | undefined;
|
|
2731
|
+
keywords?: string[] | undefined;
|
|
2732
|
+
authors?: string[] | undefined;
|
|
2733
|
+
creator?: string | undefined;
|
|
2734
|
+
publisher?: string | undefined;
|
|
2735
|
+
} | undefined;
|
|
2736
|
+
authentication?: {
|
|
2737
|
+
type: "clerk";
|
|
2738
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2739
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2740
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2741
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2742
|
+
} | {
|
|
2743
|
+
type: "openid";
|
|
2744
|
+
clientId: string;
|
|
2745
|
+
issuer: string;
|
|
2746
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2747
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2748
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2749
|
+
audience?: string | undefined;
|
|
2750
|
+
scopes?: string[] | undefined;
|
|
2751
|
+
} | {
|
|
2752
|
+
type: "auth0";
|
|
2753
|
+
clientId: string;
|
|
2754
|
+
domain: string;
|
|
2755
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2756
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2757
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2758
|
+
audience?: string | undefined;
|
|
2759
|
+
scopes?: string[] | undefined;
|
|
2760
|
+
} | {
|
|
2761
|
+
type: "supabase";
|
|
2762
|
+
supabaseUrl: string;
|
|
2763
|
+
supabaseKey: string;
|
|
2764
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2765
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2766
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2767
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1524
2768
|
} | undefined;
|
|
1525
2769
|
topNavigation?: {
|
|
1526
2770
|
id: string;
|
|
1527
2771
|
label: string;
|
|
1528
2772
|
default?: string | undefined;
|
|
1529
|
-
display?: "
|
|
2773
|
+
display?: "always" | "hide" | "auth" | "anon" | undefined;
|
|
1530
2774
|
}[] | undefined;
|
|
1531
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1532
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1533
2775
|
theme?: {
|
|
1534
2776
|
light?: {
|
|
1535
2777
|
input?: string | undefined;
|
|
2778
|
+
radius?: string | undefined;
|
|
2779
|
+
destructive?: string | undefined;
|
|
2780
|
+
secondary?: string | undefined;
|
|
2781
|
+
popover?: string | undefined;
|
|
2782
|
+
border?: string | undefined;
|
|
1536
2783
|
background?: string | undefined;
|
|
1537
2784
|
foreground?: string | undefined;
|
|
1538
2785
|
card?: string | undefined;
|
|
1539
2786
|
cardForeground?: string | undefined;
|
|
1540
|
-
popover?: string | undefined;
|
|
1541
2787
|
popoverForeground?: string | undefined;
|
|
1542
2788
|
primary?: string | undefined;
|
|
1543
2789
|
primaryForeground?: string | undefined;
|
|
1544
|
-
secondary?: string | undefined;
|
|
1545
2790
|
secondaryForeground?: string | undefined;
|
|
1546
2791
|
muted?: string | undefined;
|
|
1547
2792
|
mutedForeground?: string | undefined;
|
|
1548
2793
|
accent?: string | undefined;
|
|
1549
2794
|
accentForeground?: string | undefined;
|
|
1550
|
-
destructive?: string | undefined;
|
|
1551
2795
|
destructiveForeground?: string | undefined;
|
|
1552
|
-
border?: string | undefined;
|
|
1553
2796
|
ring?: string | undefined;
|
|
1554
|
-
radius?: string | undefined;
|
|
1555
2797
|
} | undefined;
|
|
1556
2798
|
dark?: {
|
|
1557
2799
|
input?: string | undefined;
|
|
2800
|
+
radius?: string | undefined;
|
|
2801
|
+
destructive?: string | undefined;
|
|
2802
|
+
secondary?: string | undefined;
|
|
2803
|
+
popover?: string | undefined;
|
|
2804
|
+
border?: string | undefined;
|
|
1558
2805
|
background?: string | undefined;
|
|
1559
2806
|
foreground?: string | undefined;
|
|
1560
2807
|
card?: string | undefined;
|
|
1561
2808
|
cardForeground?: string | undefined;
|
|
1562
|
-
popover?: string | undefined;
|
|
1563
2809
|
popoverForeground?: string | undefined;
|
|
1564
2810
|
primary?: string | undefined;
|
|
1565
2811
|
primaryForeground?: string | undefined;
|
|
1566
|
-
secondary?: string | undefined;
|
|
1567
2812
|
secondaryForeground?: string | undefined;
|
|
1568
2813
|
muted?: string | undefined;
|
|
1569
2814
|
mutedForeground?: string | undefined;
|
|
1570
2815
|
accent?: string | undefined;
|
|
1571
2816
|
accentForeground?: string | undefined;
|
|
1572
|
-
destructive?: string | undefined;
|
|
1573
2817
|
destructiveForeground?: string | undefined;
|
|
1574
|
-
border?: string | undefined;
|
|
1575
2818
|
ring?: string | undefined;
|
|
1576
|
-
radius?: string | undefined;
|
|
1577
2819
|
} | undefined;
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
authors?: string[] | undefined;
|
|
1589
|
-
creator?: string | undefined;
|
|
1590
|
-
publisher?: string | undefined;
|
|
2820
|
+
fonts?: {
|
|
2821
|
+
sans?: {
|
|
2822
|
+
url: string;
|
|
2823
|
+
fontFamily: string;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
mono?: {
|
|
2826
|
+
url: string;
|
|
2827
|
+
fontFamily: string;
|
|
2828
|
+
} | undefined;
|
|
2829
|
+
} | undefined;
|
|
1591
2830
|
} | undefined;
|
|
1592
2831
|
mdx?: {
|
|
1593
|
-
components?:
|
|
2832
|
+
components?: MdxComponentsType;
|
|
1594
2833
|
} | undefined;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
} |
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
2834
|
+
syntaxHighlighting?: {
|
|
2835
|
+
languages?: import("shiki").BundledLanguage[] | undefined;
|
|
2836
|
+
themes?: {
|
|
2837
|
+
light: import("shiki").BundledTheme;
|
|
2838
|
+
dark: import("shiki").BundledTheme;
|
|
2839
|
+
} | undefined;
|
|
2840
|
+
} | undefined;
|
|
2841
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
2842
|
+
customPages?: {
|
|
2843
|
+
path: string;
|
|
2844
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
2845
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
2846
|
+
prose?: boolean | undefined;
|
|
2847
|
+
}[] | undefined;
|
|
2848
|
+
build?: {
|
|
2849
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
2850
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
2851
|
+
} | undefined;
|
|
2852
|
+
protectedRoutes?: string[] | undefined;
|
|
2853
|
+
basePath?: string | undefined;
|
|
2854
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2855
|
+
cdnUrl?: string | {
|
|
2856
|
+
base?: string | undefined;
|
|
2857
|
+
media?: string | undefined;
|
|
2858
|
+
} | undefined;
|
|
2859
|
+
port?: number | undefined;
|
|
2860
|
+
https?: {
|
|
2861
|
+
key: string;
|
|
2862
|
+
cert: string;
|
|
2863
|
+
ca?: string | undefined;
|
|
2864
|
+
} | undefined;
|
|
2865
|
+
page?: {
|
|
2866
|
+
footer?: {
|
|
2867
|
+
columns?: {
|
|
2868
|
+
title: string;
|
|
2869
|
+
links: {
|
|
2870
|
+
label: string;
|
|
2871
|
+
href: string;
|
|
2872
|
+
}[];
|
|
2873
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2874
|
+
}[] | undefined;
|
|
2875
|
+
copyright?: string | undefined;
|
|
2876
|
+
logo?: {
|
|
2877
|
+
src: {
|
|
2878
|
+
light: string;
|
|
2879
|
+
dark: string;
|
|
2880
|
+
};
|
|
2881
|
+
width?: string | number | undefined;
|
|
2882
|
+
alt?: string | undefined;
|
|
2883
|
+
} | undefined;
|
|
2884
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2885
|
+
social?: {
|
|
2886
|
+
href: string;
|
|
2887
|
+
label?: string | undefined;
|
|
2888
|
+
icon?: ReactNode;
|
|
2889
|
+
}[] | undefined;
|
|
2890
|
+
} | undefined;
|
|
2891
|
+
dir?: "ltr" | "rtl" | undefined;
|
|
2892
|
+
banner?: {
|
|
2893
|
+
message: NonNullable<ReactNode>;
|
|
2894
|
+
color?: string | (string & {}) | undefined;
|
|
2895
|
+
dismissible?: boolean | undefined;
|
|
2896
|
+
} | undefined;
|
|
2897
|
+
logo?: {
|
|
2898
|
+
src: {
|
|
2899
|
+
light: string;
|
|
2900
|
+
dark: string;
|
|
2901
|
+
};
|
|
2902
|
+
width?: string | number | undefined;
|
|
2903
|
+
alt?: string | undefined;
|
|
2904
|
+
} | undefined;
|
|
2905
|
+
pageTitle?: string | undefined;
|
|
2906
|
+
logoUrl?: string | undefined;
|
|
2907
|
+
showPoweredBy?: boolean | undefined;
|
|
1618
2908
|
} | undefined;
|
|
1619
2909
|
docs?: {
|
|
1620
2910
|
files: string;
|
|
@@ -1633,60 +2923,143 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1633
2923
|
type: "url";
|
|
1634
2924
|
input: string;
|
|
1635
2925
|
server?: string | undefined;
|
|
2926
|
+
id?: string | undefined;
|
|
2927
|
+
options?: {
|
|
2928
|
+
examplesLanguage?: string | undefined;
|
|
2929
|
+
disablePlayground?: boolean | undefined;
|
|
2930
|
+
disableSidecar?: boolean | undefined;
|
|
2931
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2932
|
+
expandAllTags?: boolean | undefined;
|
|
2933
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2934
|
+
} | undefined;
|
|
1636
2935
|
navigationId?: string | undefined;
|
|
2936
|
+
categories?: {
|
|
2937
|
+
tags: string[];
|
|
2938
|
+
label: string;
|
|
2939
|
+
}[] | undefined;
|
|
1637
2940
|
} | {
|
|
1638
2941
|
type: "file";
|
|
1639
|
-
input: string;
|
|
2942
|
+
input: string | string[];
|
|
1640
2943
|
server?: string | undefined;
|
|
2944
|
+
id?: string | undefined;
|
|
2945
|
+
options?: {
|
|
2946
|
+
examplesLanguage?: string | undefined;
|
|
2947
|
+
disablePlayground?: boolean | undefined;
|
|
2948
|
+
disableSidecar?: boolean | undefined;
|
|
2949
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2950
|
+
expandAllTags?: boolean | undefined;
|
|
2951
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2952
|
+
} | undefined;
|
|
1641
2953
|
navigationId?: string | undefined;
|
|
2954
|
+
categories?: {
|
|
2955
|
+
tags: string[];
|
|
2956
|
+
label: string;
|
|
2957
|
+
}[] | undefined;
|
|
1642
2958
|
} | {
|
|
1643
2959
|
type: "raw";
|
|
1644
2960
|
input: string;
|
|
1645
2961
|
server?: string | undefined;
|
|
2962
|
+
id?: string | undefined;
|
|
2963
|
+
options?: {
|
|
2964
|
+
examplesLanguage?: string | undefined;
|
|
2965
|
+
disablePlayground?: boolean | undefined;
|
|
2966
|
+
disableSidecar?: boolean | undefined;
|
|
2967
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2968
|
+
expandAllTags?: boolean | undefined;
|
|
2969
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2970
|
+
} | undefined;
|
|
1646
2971
|
navigationId?: string | undefined;
|
|
2972
|
+
categories?: {
|
|
2973
|
+
tags: string[];
|
|
2974
|
+
label: string;
|
|
2975
|
+
}[] | undefined;
|
|
1647
2976
|
} | ({
|
|
1648
2977
|
type: "url";
|
|
1649
2978
|
input: string;
|
|
1650
2979
|
server?: string | undefined;
|
|
2980
|
+
id?: string | undefined;
|
|
2981
|
+
options?: {
|
|
2982
|
+
examplesLanguage?: string | undefined;
|
|
2983
|
+
disablePlayground?: boolean | undefined;
|
|
2984
|
+
disableSidecar?: boolean | undefined;
|
|
2985
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
2986
|
+
expandAllTags?: boolean | undefined;
|
|
2987
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2988
|
+
} | undefined;
|
|
1651
2989
|
navigationId?: string | undefined;
|
|
2990
|
+
categories?: {
|
|
2991
|
+
tags: string[];
|
|
2992
|
+
label: string;
|
|
2993
|
+
}[] | undefined;
|
|
1652
2994
|
} | {
|
|
1653
2995
|
type: "file";
|
|
1654
|
-
input: string;
|
|
2996
|
+
input: string | string[];
|
|
1655
2997
|
server?: string | undefined;
|
|
2998
|
+
id?: string | undefined;
|
|
2999
|
+
options?: {
|
|
3000
|
+
examplesLanguage?: string | undefined;
|
|
3001
|
+
disablePlayground?: boolean | undefined;
|
|
3002
|
+
disableSidecar?: boolean | undefined;
|
|
3003
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
3004
|
+
expandAllTags?: boolean | undefined;
|
|
3005
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
3006
|
+
} | undefined;
|
|
1656
3007
|
navigationId?: string | undefined;
|
|
3008
|
+
categories?: {
|
|
3009
|
+
tags: string[];
|
|
3010
|
+
label: string;
|
|
3011
|
+
}[] | undefined;
|
|
1657
3012
|
} | {
|
|
1658
3013
|
type: "raw";
|
|
1659
3014
|
input: string;
|
|
1660
3015
|
server?: string | undefined;
|
|
3016
|
+
id?: string | undefined;
|
|
3017
|
+
options?: {
|
|
3018
|
+
examplesLanguage?: string | undefined;
|
|
3019
|
+
disablePlayground?: boolean | undefined;
|
|
3020
|
+
disableSidecar?: boolean | undefined;
|
|
3021
|
+
showVersionSelect?: "always" | "hide" | "if-available" | undefined;
|
|
3022
|
+
expandAllTags?: boolean | undefined;
|
|
3023
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
3024
|
+
} | undefined;
|
|
1661
3025
|
navigationId?: string | undefined;
|
|
3026
|
+
categories?: {
|
|
3027
|
+
tags: string[];
|
|
3028
|
+
label: string;
|
|
3029
|
+
}[] | undefined;
|
|
1662
3030
|
})[] | undefined;
|
|
3031
|
+
catalogs?: {
|
|
3032
|
+
label: string;
|
|
3033
|
+
navigationId: string;
|
|
3034
|
+
items?: string[] | undefined;
|
|
3035
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
3036
|
+
} | {
|
|
3037
|
+
label: string;
|
|
3038
|
+
navigationId: string;
|
|
3039
|
+
items?: string[] | undefined;
|
|
3040
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
3041
|
+
}[] | undefined;
|
|
1663
3042
|
apiKeys?: {
|
|
1664
3043
|
enabled: boolean;
|
|
1665
3044
|
endpoint: string;
|
|
1666
3045
|
} | {
|
|
1667
3046
|
enabled: boolean;
|
|
1668
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1669
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1670
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
3047
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
3048
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
3049
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1671
3050
|
updateKeyDescription?: ((apiKey: {
|
|
1672
3051
|
id: string;
|
|
1673
3052
|
description: string;
|
|
1674
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
3053
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1675
3054
|
createKey?: ((apiKey: {
|
|
1676
3055
|
description: string;
|
|
1677
3056
|
expiresOn?: string;
|
|
1678
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
3057
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1679
3058
|
} | undefined;
|
|
1680
3059
|
redirects?: {
|
|
1681
3060
|
from: string;
|
|
1682
3061
|
to: string;
|
|
1683
3062
|
}[] | undefined;
|
|
1684
|
-
customPages?: {
|
|
1685
|
-
path: string;
|
|
1686
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1687
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1688
|
-
prose?: boolean | undefined;
|
|
1689
|
-
}[] | undefined;
|
|
1690
3063
|
sitemap?: {
|
|
1691
3064
|
siteUrl: string;
|
|
1692
3065
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1695,16 +3068,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1695
3068
|
autoLastmod?: boolean | undefined;
|
|
1696
3069
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1697
3070
|
} | undefined;
|
|
1698
|
-
|
|
1699
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1700
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1701
|
-
} | undefined;
|
|
3071
|
+
enableStatusPages?: boolean | undefined;
|
|
1702
3072
|
}>;
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
export type
|
|
1707
|
-
export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
|
|
1708
|
-
export type ZudokuRedirect = z.infer<typeof Redirect>;
|
|
3073
|
+
/**
|
|
3074
|
+
* Type for the zudoku.config.{js,ts,tsx,jsx} files
|
|
3075
|
+
*/
|
|
3076
|
+
export type ZudokuConfig = z.input<typeof ConfigSchema>;
|
|
1709
3077
|
export declare function validateConfig(config: unknown): void;
|
|
1710
3078
|
export {};
|