zudoku 0.0.0-fd8f8ad → 0.0.0-feda542
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cli.js +3 -0
- package/client.d.ts +7 -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 +15 -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/main.d.ts +2 -2
- package/dist/app/main.js +23 -10
- 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 +5 -2
- 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/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 +21 -0
- package/dist/config/loader.js +149 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/BuildSchema.d.ts +59 -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 +7670 -0
- package/dist/config/validators/common.js +402 -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 +1885 -642
- package/dist/config/validators/validate.js +9 -228
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +2 -0
- package/dist/lib/MissingIcon.js +7 -0
- package/dist/lib/MissingIcon.js.map +1 -0
- package/dist/lib/authentication/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 +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +1 -1
- 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/hook.d.ts +6 -4
- package/dist/lib/authentication/hook.js +12 -4
- 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 +4 -3
- 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 +54 -12
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +12 -4
- package/dist/lib/authentication/providers/openid.js +54 -44
- 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 +23 -19
- package/dist/lib/authentication/state.js +35 -10
- 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/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 +4 -4
- 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 -20
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +17 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/Markdown.d.ts +2 -2
- package/dist/lib/components/Markdown.js +4 -2
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +9 -8
- 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 +10 -5
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +4 -1
- package/dist/lib/components/TopNavigation.js +37 -17
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +15 -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 +21 -14
- 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 +22 -9
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +38 -8
- package/dist/lib/components/index.js +17 -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 +6 -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 +26 -21
- 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 -17
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
- package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
- package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
- package/dist/lib/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 +36 -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 +38 -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 +5 -3
- package/dist/lib/oas/parser/index.js +0 -22
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +2 -2
- package/dist/lib/oas/parser/upgrade/index.js +21 -23
- 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 +19 -8
- 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 +90 -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 +10 -5
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +42 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +9 -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.js +7 -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 +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +54 -37
- 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 +68 -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 +6 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +6 -5
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/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 -6
- package/dist/lib/plugins/openapi/index.js +63 -82
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +56 -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 +10 -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.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 +7 -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 +174 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +10 -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 +131 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.d.ts +11 -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 +104 -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 +12 -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 +42 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +34 -49
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +2 -0
- package/dist/lib/plugins/openapi/schema/utils.js +5 -1
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.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.js +19 -11
- 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 +80 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
- package/dist/lib/plugins/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/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/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/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 +15 -0
- package/dist/lib/ui/SyntaxHighlight.js +62 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
- package/dist/lib/ui/util.d.ts +2 -0
- package/dist/lib/ui/util.js +3 -0
- package/dist/lib/ui/util.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +23 -20
- package/dist/lib/util/MdxComponents.js +10 -7
- 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/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 +22 -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/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/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 +41 -16
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +7 -8
- package/dist/vite/config.js +109 -64
- 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 -2
- package/dist/vite/dev-server.js +65 -15
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +1 -1
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/output.d.ts +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 +223 -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 +13 -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 -14
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +2 -2
- package/dist/vite/plugin-redirect.js +3 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -2
- package/dist/vite/plugin-search.js +5 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +2 -2
- package/dist/vite/plugin-sidebar.js +13 -4
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/{plugin-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 +6 -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 +184 -0
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
- package/dist/zuplo/env.d.ts +7 -0
- package/dist/zuplo/env.js +12 -0
- package/dist/zuplo/env.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 +3 -0
- package/dist/zuplo/with-zuplo.js +13 -0
- package/dist/zuplo/with-zuplo.js.map +1 -0
- package/lib/AuthenticationPlugin-foqdvvkf.js +58 -0
- package/lib/AuthenticationPlugin-foqdvvkf.js.map +1 -0
- package/lib/Button-Fp19CMUr.js +49 -0
- package/lib/Button-Fp19CMUr.js.map +1 -0
- package/lib/Callout-Boqdgl-z.js +230 -0
- package/lib/Callout-Boqdgl-z.js.map +1 -0
- package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-DpB47wvk.js} +3 -3
- package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-DpB47wvk.js.map} +1 -1
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/Dialog-sbgekbjb.js +98 -0
- package/lib/{Dialog-k70Qfukb.js.map → Dialog-sbgekbjb.js.map} +1 -1
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-BorQdbxW.js → Markdown-CKXePgqR.js} +15142 -13372
- package/lib/Markdown-CKXePgqR.js.map +1 -0
- package/lib/MdxPage-DzpRK-fu.js +85 -0
- package/lib/MdxPage-DzpRK-fu.js.map +1 -0
- package/lib/OasProvider-Dw2mP5VZ.js +34 -0
- package/lib/OasProvider-Dw2mP5VZ.js.map +1 -0
- package/lib/OperationList-Cr_NA4e2.js +5069 -0
- package/lib/OperationList-Cr_NA4e2.js.map +1 -0
- package/lib/Pagination-DT6eKg_U.js +48 -0
- package/lib/Pagination-DT6eKg_U.js.map +1 -0
- package/lib/RouteGuard-CqZPoZYJ.js +744 -0
- package/lib/RouteGuard-CqZPoZYJ.js.map +1 -0
- package/lib/SchemaList-DNvUJgwI.js +148 -0
- package/lib/SchemaList-DNvUJgwI.js.map +1 -0
- package/lib/SchemaView-Cxh_msLc.js +357 -0
- package/lib/SchemaView-Cxh_msLc.js.map +1 -0
- package/lib/{Select-DP74t8Yy.js → Select-DVFRKf1R.js} +53 -53
- package/lib/{Select-DP74t8Yy.js.map → Select-DVFRKf1R.js.map} +1 -1
- package/lib/SlotletProvider-BV1xrg-l.js +338 -0
- package/lib/SlotletProvider-BV1xrg-l.js.map +1 -0
- package/lib/{Spinner-3cQDBVGr.js → Spinner-CE68iCm0.js} +2 -2
- package/lib/{Spinner-3cQDBVGr.js.map → Spinner-CE68iCm0.js.map} +1 -1
- package/lib/{SyntaxHighlight-CBmwwKoM.js → SyntaxHighlight-BEoSoPEo.js} +552 -645
- package/lib/SyntaxHighlight-BEoSoPEo.js.map +1 -0
- package/lib/Toc-D40bDl5J.js +92 -0
- package/lib/Toc-D40bDl5J.js.map +1 -0
- package/lib/chunk-HA7DTUK3-C4gP41vD.js +1821 -0
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
- package/lib/circular-ByJI6Mci.js +15877 -0
- package/lib/circular-ByJI6Mci.js.map +1 -0
- package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
- package/lib/cn-qaFjX9_3.js.map +1 -0
- package/lib/{context-D1nXWxm7.js → context-DLCwaMXN.js} +2 -2
- package/lib/context-DLCwaMXN.js.map +1 -0
- package/lib/createServer-Cq73y9Kv.js +12454 -0
- package/lib/createServer-Cq73y9Kv.js.map +1 -0
- package/lib/hook-CqpVYDqN.js +1483 -0
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-CN3TIw7H.js +2009 -0
- package/lib/index-CN3TIw7H.js.map +1 -0
- package/lib/index-CPNSgwSb.js +36 -0
- package/lib/index-CPNSgwSb.js.map +1 -0
- package/lib/{index-CkwDvuPt.js → index-Dl3Yl0yb.js} +303 -286
- package/lib/index-Dl3Yl0yb.js.map +1 -0
- package/lib/index-DwT-v3zK.js +86 -0
- package/lib/index-DwT-v3zK.js.map +1 -0
- package/lib/index-LNp6rxyU.js.map +1 -1
- package/lib/index-dQecW8K5.js +2227 -0
- package/lib/index-dQecW8K5.js.map +1 -0
- package/lib/index-gQD2h1wX.js +447 -0
- package/lib/index-gQD2h1wX.js.map +1 -0
- package/lib/index.esm--gIChbWs.js +1207 -0
- package/lib/index.esm--gIChbWs.js.map +1 -0
- package/lib/invariant-Caa8-XvF.js.map +1 -1
- package/lib/jsx-runtime-CYK1ROHF.js +446 -0
- package/lib/jsx-runtime-CYK1ROHF.js.map +1 -0
- package/lib/{hook-Diu0rqp-.js → mutation-8LjrN7uz.js} +40 -61
- package/lib/mutation-8LjrN7uz.js.map +1 -0
- package/lib/objectEntries-yMIkr2mI.js +5 -0
- package/lib/objectEntries-yMIkr2mI.js.map +1 -0
- package/lib/{prism-bash.min-DadFsM4Z.js → prism-bash.min-HHIMdNJ_.js} +4 -4
- package/lib/{prism-bash.min-DadFsM4Z.js.map → prism-bash.min-HHIMdNJ_.js.map} +1 -1
- package/lib/prism-csharp.min-bQAo2pmx.js +63 -0
- package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-bQAo2pmx.js.map} +1 -1
- package/lib/prism-java.min-BpvsOuIa.js +35 -0
- package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BpvsOuIa.js.map} +1 -1
- package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
- package/lib/prism-jsstacktrace.min-BfobCF2F.js +2 -0
- package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +1 -0
- package/lib/{prism-markdown.min-F3U-vPBi.js → prism-markdown.min-C0Qn0m-5.js} +30 -30
- package/lib/{prism-markdown.min-F3U-vPBi.js.map → prism-markdown.min-C0Qn0m-5.js.map} +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js +38 -0
- package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-Dx9KO9ds.js.map} +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
- package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
- package/lib/processors/removeExtensions.js +11 -0
- package/lib/processors/removeExtensions.js.map +1 -0
- package/lib/processors/removeParameters.js +48 -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 +15 -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 +40 -21
- 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 +408 -402
- 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/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 +11 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +2 -2
- 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-B9qXJedG.js +9 -0
- package/lib/useExposedProps-B9qXJedG.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 +25 -25
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +101 -55
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +448 -484
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +32 -1584
- 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 +111 -108
- 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 -47
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +6 -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 +53 -24
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +233 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +14 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/package.json +140 -95
- package/src/app/demo-cdn.html +31 -31
- package/src/app/demo.tsx +1 -2
- package/src/app/entry.client.tsx +24 -15
- package/src/app/entry.server.tsx +26 -15
- package/src/app/main.css +100 -39
- package/src/app/main.tsx +40 -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 +1 -1
- package/src/lib/authentication/components/SignIn.tsx +1 -1
- package/src/lib/authentication/components/SignOut.tsx +3 -2
- package/src/lib/authentication/hook.ts +13 -4
- package/src/lib/authentication/providers/auth0.tsx +6 -7
- package/src/lib/authentication/providers/clerk.tsx +70 -15
- package/src/lib/authentication/providers/openid.tsx +72 -55
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +51 -27
- package/src/lib/components/AnchorLink.tsx +13 -8
- package/src/lib/components/Autocomplete.tsx +113 -0
- package/src/lib/components/Banner.tsx +1 -0
- package/src/lib/components/Bootstrap.tsx +29 -29
- package/src/lib/components/Footer.tsx +139 -0
- package/src/lib/components/Header.tsx +65 -24
- package/src/lib/components/Heading.tsx +13 -13
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +33 -54
- package/src/lib/components/Main.tsx +50 -0
- package/src/lib/components/Markdown.tsx +15 -16
- package/src/lib/components/MobileTopNavigation.tsx +36 -34
- 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 +33 -11
- package/src/lib/components/TopNavigation.tsx +72 -37
- package/src/lib/components/Zudoku.tsx +20 -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 +26 -21
- package/src/lib/components/context/ZudokuContext.ts +32 -10
- package/src/lib/components/index.ts +22 -5
- package/src/lib/components/navigation/PoweredByZudoku.tsx +23 -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 +59 -56
- package/src/lib/components/navigation/SidebarItem.tsx +30 -39
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -22
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/components/navigation/utils.ts +1 -1
- package/src/lib/core/RouteGuard.tsx +96 -0
- package/src/lib/core/ZudokuContext.ts +73 -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 +50 -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 +7 -29
- package/src/lib/oas/parser/upgrade/index.ts +24 -31
- 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 +10 -7
- package/src/lib/plugins/openapi/ColorizedParam.tsx +30 -13
- 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 +220 -42
- package/src/lib/plugins/openapi/OperationListItem.tsx +136 -88
- package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +35 -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 +46 -63
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +85 -65
- package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +162 -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 +13 -5
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/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 +99 -98
- package/src/lib/plugins/openapi/interfaces.ts +57 -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 +54 -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 +86 -88
- 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 +202 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +27 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +148 -0
- package/src/lib/plugins/openapi/processors/removeParameters.ts +101 -0
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +126 -0
- package/src/lib/plugins/openapi/processors/removePaths.ts +55 -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 +36 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +148 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +88 -139
- package/src/lib/plugins/openapi/schema/utils.ts +11 -1
- 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 +26 -11
- package/src/lib/plugins/openapi/util/getRoutes.tsx +126 -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/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/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 +186 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +12 -11
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/detectOS.ts +9 -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 +31 -0
- package/src/lib/util/types.ts +7 -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/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-BorQdbxW.js.map +0 -1
- package/lib/MdxPage-DFlbtJWi.js +0 -174
- package/lib/MdxPage-DFlbtJWi.js.map +0 -1
- package/lib/OperationList-KshJrrLL.js +0 -4691
- package/lib/OperationList-KshJrrLL.js.map +0 -1
- package/lib/Route-DlG_HTMu.js +0 -11
- package/lib/Route-DlG_HTMu.js.map +0 -1
- package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
- package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
- package/lib/SlotletProvider-D2v6rJy1.js +0 -252
- package/lib/SlotletProvider-D2v6rJy1.js.map +0 -1
- package/lib/SyntaxHighlight-CBmwwKoM.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/assets/index-B_Jk_Yzp.js +0 -4820
- 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.map +0 -1
- package/lib/createServer-DK-g7kbB.js +0 -16089
- package/lib/createServer-DK-g7kbB.js.map +0 -1
- package/lib/hook-Diu0rqp-.js.map +0 -1
- package/lib/index-BcesIHH4.js +0 -1273
- package/lib/index-BcesIHH4.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- 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-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/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
- package/lib/prism-markup-templating-DZrrEs0A.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-typescript.min-oSVeWCAd.js +0 -6
- package/lib/router-lfyopgBI.js +0 -3024
- package/lib/router-lfyopgBI.js.map +0 -1
- package/lib/state-BsPrOUAh.js +0 -252
- package/lib/state-BsPrOUAh.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 -160
- 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,157 +1,43 @@
|
|
|
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>;
|
|
@@ -160,32 +46,33 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
46
|
light: z.ZodString;
|
|
161
47
|
dark: z.ZodString;
|
|
162
48
|
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
light: string;
|
|
164
49
|
dark: string;
|
|
165
|
-
}, {
|
|
166
50
|
light: string;
|
|
51
|
+
}, {
|
|
167
52
|
dark: string;
|
|
53
|
+
light: string;
|
|
168
54
|
}>;
|
|
169
55
|
alt: z.ZodOptional<z.ZodString>;
|
|
170
|
-
width: z.ZodOptional<z.ZodString
|
|
56
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
171
57
|
}, "strip", z.ZodTypeAny, {
|
|
172
58
|
src: {
|
|
173
|
-
light: string;
|
|
174
59
|
dark: string;
|
|
60
|
+
light: string;
|
|
175
61
|
};
|
|
62
|
+
width?: string | number | undefined;
|
|
176
63
|
alt?: string | undefined;
|
|
177
|
-
width?: string | undefined;
|
|
178
64
|
}, {
|
|
179
65
|
src: {
|
|
180
|
-
light: string;
|
|
181
66
|
dark: string;
|
|
67
|
+
light: string;
|
|
182
68
|
};
|
|
69
|
+
width?: string | number | undefined;
|
|
183
70
|
alt?: string | undefined;
|
|
184
|
-
width?: string | undefined;
|
|
185
71
|
}>>;
|
|
186
|
-
|
|
72
|
+
showPoweredBy: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
73
|
+
banner: z.ZodOptional<z.ZodObject<{
|
|
187
74
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
188
|
-
color:
|
|
75
|
+
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
76
|
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
190
77
|
}, "strip", z.ZodTypeAny, {
|
|
191
78
|
message: NonNullable<ReactNode>;
|
|
@@ -195,58 +82,230 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
195
82
|
message: NonNullable<ReactNode>;
|
|
196
83
|
color?: string | (string & {}) | undefined;
|
|
197
84
|
dismissible?: boolean | undefined;
|
|
85
|
+
}>>;
|
|
86
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
87
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
88
|
+
position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
|
|
89
|
+
title: z.ZodString;
|
|
90
|
+
links: z.ZodArray<z.ZodObject<{
|
|
91
|
+
label: z.ZodString;
|
|
92
|
+
href: z.ZodString;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
label: string;
|
|
95
|
+
href: string;
|
|
96
|
+
}, {
|
|
97
|
+
label: string;
|
|
98
|
+
href: string;
|
|
99
|
+
}>, "many">;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
title: string;
|
|
102
|
+
links: {
|
|
103
|
+
label: string;
|
|
104
|
+
href: string;
|
|
105
|
+
}[];
|
|
106
|
+
position?: "start" | "end" | "center" | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
title: string;
|
|
109
|
+
links: {
|
|
110
|
+
label: string;
|
|
111
|
+
href: string;
|
|
112
|
+
}[];
|
|
113
|
+
position?: "start" | "end" | "center" | undefined;
|
|
114
|
+
}>, "many">>;
|
|
115
|
+
social: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
|
+
label: z.ZodOptional<z.ZodString>;
|
|
117
|
+
href: z.ZodString;
|
|
118
|
+
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>]>>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
href: string;
|
|
121
|
+
label?: string | undefined;
|
|
122
|
+
icon?: ReactNode;
|
|
123
|
+
}, {
|
|
124
|
+
href: string;
|
|
125
|
+
label?: string | undefined;
|
|
126
|
+
icon?: ReactNode;
|
|
127
|
+
}>, "many">>;
|
|
128
|
+
copyright: z.ZodOptional<z.ZodString>;
|
|
129
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
src: z.ZodObject<{
|
|
131
|
+
light: z.ZodString;
|
|
132
|
+
dark: z.ZodString;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
dark: string;
|
|
135
|
+
light: string;
|
|
136
|
+
}, {
|
|
137
|
+
dark: string;
|
|
138
|
+
light: string;
|
|
139
|
+
}>;
|
|
140
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
141
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
src: {
|
|
144
|
+
dark: string;
|
|
145
|
+
light: string;
|
|
146
|
+
};
|
|
147
|
+
width?: string | number | undefined;
|
|
148
|
+
alt?: string | undefined;
|
|
149
|
+
}, {
|
|
150
|
+
src: {
|
|
151
|
+
dark: string;
|
|
152
|
+
light: string;
|
|
153
|
+
};
|
|
154
|
+
width?: string | number | undefined;
|
|
155
|
+
alt?: string | undefined;
|
|
156
|
+
}>>;
|
|
157
|
+
position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
columns?: {
|
|
160
|
+
title: string;
|
|
161
|
+
links: {
|
|
162
|
+
label: string;
|
|
163
|
+
href: string;
|
|
164
|
+
}[];
|
|
165
|
+
position?: "start" | "end" | "center" | undefined;
|
|
166
|
+
}[] | undefined;
|
|
167
|
+
copyright?: string | undefined;
|
|
168
|
+
logo?: {
|
|
169
|
+
src: {
|
|
170
|
+
dark: string;
|
|
171
|
+
light: string;
|
|
172
|
+
};
|
|
173
|
+
width?: string | number | undefined;
|
|
174
|
+
alt?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
position?: "start" | "end" | "center" | undefined;
|
|
177
|
+
social?: {
|
|
178
|
+
href: string;
|
|
179
|
+
label?: string | undefined;
|
|
180
|
+
icon?: ReactNode;
|
|
181
|
+
}[] | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
columns?: {
|
|
184
|
+
title: string;
|
|
185
|
+
links: {
|
|
186
|
+
label: string;
|
|
187
|
+
href: string;
|
|
188
|
+
}[];
|
|
189
|
+
position?: "start" | "end" | "center" | undefined;
|
|
190
|
+
}[] | undefined;
|
|
191
|
+
copyright?: string | undefined;
|
|
192
|
+
logo?: {
|
|
193
|
+
src: {
|
|
194
|
+
dark: string;
|
|
195
|
+
light: string;
|
|
196
|
+
};
|
|
197
|
+
width?: string | number | undefined;
|
|
198
|
+
alt?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
position?: "start" | "end" | "center" | undefined;
|
|
201
|
+
social?: {
|
|
202
|
+
href: string;
|
|
203
|
+
label?: string | undefined;
|
|
204
|
+
icon?: ReactNode;
|
|
205
|
+
}[] | undefined;
|
|
198
206
|
}>>>;
|
|
199
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
footer?: {
|
|
209
|
+
columns?: {
|
|
210
|
+
title: string;
|
|
211
|
+
links: {
|
|
212
|
+
label: string;
|
|
213
|
+
href: string;
|
|
214
|
+
}[];
|
|
215
|
+
position?: "start" | "end" | "center" | undefined;
|
|
216
|
+
}[] | undefined;
|
|
217
|
+
copyright?: string | undefined;
|
|
218
|
+
logo?: {
|
|
219
|
+
src: {
|
|
220
|
+
dark: string;
|
|
221
|
+
light: string;
|
|
222
|
+
};
|
|
223
|
+
width?: string | number | undefined;
|
|
224
|
+
alt?: string | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
position?: "start" | "end" | "center" | undefined;
|
|
227
|
+
social?: {
|
|
228
|
+
href: string;
|
|
229
|
+
label?: string | undefined;
|
|
230
|
+
icon?: ReactNode;
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
banner?: {
|
|
234
|
+
message: NonNullable<ReactNode>;
|
|
235
|
+
color?: string | (string & {}) | undefined;
|
|
236
|
+
dismissible?: boolean | undefined;
|
|
237
|
+
} | undefined;
|
|
200
238
|
pageTitle?: string | undefined;
|
|
201
239
|
logoUrl?: string | undefined;
|
|
202
240
|
logo?: {
|
|
203
241
|
src: {
|
|
204
|
-
light: string;
|
|
205
242
|
dark: string;
|
|
243
|
+
light: string;
|
|
206
244
|
};
|
|
245
|
+
width?: string | number | undefined;
|
|
207
246
|
alt?: string | undefined;
|
|
208
|
-
|
|
247
|
+
} | undefined;
|
|
248
|
+
showPoweredBy?: boolean | undefined;
|
|
249
|
+
}, {
|
|
250
|
+
footer?: {
|
|
251
|
+
columns?: {
|
|
252
|
+
title: string;
|
|
253
|
+
links: {
|
|
254
|
+
label: string;
|
|
255
|
+
href: string;
|
|
256
|
+
}[];
|
|
257
|
+
position?: "start" | "end" | "center" | undefined;
|
|
258
|
+
}[] | undefined;
|
|
259
|
+
copyright?: string | undefined;
|
|
260
|
+
logo?: {
|
|
261
|
+
src: {
|
|
262
|
+
dark: string;
|
|
263
|
+
light: string;
|
|
264
|
+
};
|
|
265
|
+
width?: string | number | undefined;
|
|
266
|
+
alt?: string | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
position?: "start" | "end" | "center" | undefined;
|
|
269
|
+
social?: {
|
|
270
|
+
href: string;
|
|
271
|
+
label?: string | undefined;
|
|
272
|
+
icon?: ReactNode;
|
|
273
|
+
}[] | undefined;
|
|
209
274
|
} | undefined;
|
|
210
275
|
banner?: {
|
|
211
276
|
message: NonNullable<ReactNode>;
|
|
212
277
|
color?: string | (string & {}) | undefined;
|
|
213
278
|
dismissible?: boolean | undefined;
|
|
214
279
|
} | undefined;
|
|
215
|
-
}, {
|
|
216
280
|
pageTitle?: string | undefined;
|
|
217
281
|
logoUrl?: string | undefined;
|
|
218
282
|
logo?: {
|
|
219
283
|
src: {
|
|
220
|
-
light: string;
|
|
221
284
|
dark: string;
|
|
285
|
+
light: string;
|
|
222
286
|
};
|
|
287
|
+
width?: string | number | undefined;
|
|
223
288
|
alt?: string | undefined;
|
|
224
|
-
width?: string | undefined;
|
|
225
|
-
} | undefined;
|
|
226
|
-
banner?: {
|
|
227
|
-
message: NonNullable<ReactNode>;
|
|
228
|
-
color?: string | (string & {}) | undefined;
|
|
229
|
-
dismissible?: boolean | undefined;
|
|
230
289
|
} | undefined;
|
|
290
|
+
showPoweredBy?: boolean | undefined;
|
|
231
291
|
}>>;
|
|
232
292
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
233
293
|
label: z.ZodString;
|
|
234
294
|
id: z.ZodString;
|
|
235
295
|
default: z.ZodOptional<z.ZodString>;
|
|
236
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
296
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
237
297
|
}, "strip", z.ZodTypeAny, {
|
|
238
298
|
id: string;
|
|
239
299
|
label: string;
|
|
240
300
|
default?: string | undefined;
|
|
241
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
301
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
242
302
|
}, {
|
|
243
303
|
id: string;
|
|
244
304
|
label: string;
|
|
245
305
|
default?: string | undefined;
|
|
246
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
306
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
247
307
|
}>, "many">>;
|
|
248
308
|
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
309
|
theme: z.ZodOptional<z.ZodObject<{
|
|
251
310
|
light: z.ZodOptional<z.ZodObject<{
|
|
252
311
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -271,46 +330,46 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
271
330
|
radius: z.ZodOptional<z.ZodString>;
|
|
272
331
|
}, "strip", z.ZodTypeAny, {
|
|
273
332
|
input?: string | undefined;
|
|
333
|
+
radius?: string | undefined;
|
|
334
|
+
destructive?: string | undefined;
|
|
335
|
+
secondary?: string | undefined;
|
|
336
|
+
popover?: string | undefined;
|
|
337
|
+
border?: string | undefined;
|
|
274
338
|
background?: string | undefined;
|
|
275
339
|
foreground?: string | undefined;
|
|
276
340
|
card?: string | undefined;
|
|
277
341
|
cardForeground?: string | undefined;
|
|
278
|
-
popover?: string | undefined;
|
|
279
342
|
popoverForeground?: string | undefined;
|
|
280
343
|
primary?: string | undefined;
|
|
281
344
|
primaryForeground?: string | undefined;
|
|
282
|
-
secondary?: string | undefined;
|
|
283
345
|
secondaryForeground?: string | undefined;
|
|
284
346
|
muted?: string | undefined;
|
|
285
347
|
mutedForeground?: string | undefined;
|
|
286
348
|
accent?: string | undefined;
|
|
287
349
|
accentForeground?: string | undefined;
|
|
288
|
-
destructive?: string | undefined;
|
|
289
350
|
destructiveForeground?: string | undefined;
|
|
290
|
-
border?: string | undefined;
|
|
291
351
|
ring?: string | undefined;
|
|
292
|
-
radius?: string | undefined;
|
|
293
352
|
}, {
|
|
294
353
|
input?: string | undefined;
|
|
354
|
+
radius?: string | undefined;
|
|
355
|
+
destructive?: string | undefined;
|
|
356
|
+
secondary?: string | undefined;
|
|
357
|
+
popover?: string | undefined;
|
|
358
|
+
border?: string | undefined;
|
|
295
359
|
background?: string | undefined;
|
|
296
360
|
foreground?: string | undefined;
|
|
297
361
|
card?: string | undefined;
|
|
298
362
|
cardForeground?: string | undefined;
|
|
299
|
-
popover?: string | undefined;
|
|
300
363
|
popoverForeground?: string | undefined;
|
|
301
364
|
primary?: string | undefined;
|
|
302
365
|
primaryForeground?: string | undefined;
|
|
303
|
-
secondary?: string | undefined;
|
|
304
366
|
secondaryForeground?: string | undefined;
|
|
305
367
|
muted?: string | undefined;
|
|
306
368
|
mutedForeground?: string | undefined;
|
|
307
369
|
accent?: string | undefined;
|
|
308
370
|
accentForeground?: string | undefined;
|
|
309
|
-
destructive?: string | undefined;
|
|
310
371
|
destructiveForeground?: string | undefined;
|
|
311
|
-
border?: string | undefined;
|
|
312
372
|
ring?: string | undefined;
|
|
313
|
-
radius?: string | undefined;
|
|
314
373
|
}>>;
|
|
315
374
|
dark: z.ZodOptional<z.ZodObject<{
|
|
316
375
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -335,136 +394,196 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
335
394
|
radius: z.ZodOptional<z.ZodString>;
|
|
336
395
|
}, "strip", z.ZodTypeAny, {
|
|
337
396
|
input?: string | undefined;
|
|
397
|
+
radius?: string | undefined;
|
|
398
|
+
destructive?: string | undefined;
|
|
399
|
+
secondary?: string | undefined;
|
|
400
|
+
popover?: string | undefined;
|
|
401
|
+
border?: string | undefined;
|
|
338
402
|
background?: string | undefined;
|
|
339
403
|
foreground?: string | undefined;
|
|
340
404
|
card?: string | undefined;
|
|
341
405
|
cardForeground?: string | undefined;
|
|
342
|
-
popover?: string | undefined;
|
|
343
406
|
popoverForeground?: string | undefined;
|
|
344
407
|
primary?: string | undefined;
|
|
345
408
|
primaryForeground?: string | undefined;
|
|
346
|
-
secondary?: string | undefined;
|
|
347
409
|
secondaryForeground?: string | undefined;
|
|
348
410
|
muted?: string | undefined;
|
|
349
411
|
mutedForeground?: string | undefined;
|
|
350
412
|
accent?: string | undefined;
|
|
351
413
|
accentForeground?: string | undefined;
|
|
352
|
-
destructive?: string | undefined;
|
|
353
414
|
destructiveForeground?: string | undefined;
|
|
354
|
-
border?: string | undefined;
|
|
355
415
|
ring?: string | undefined;
|
|
356
|
-
radius?: string | undefined;
|
|
357
416
|
}, {
|
|
358
417
|
input?: string | undefined;
|
|
418
|
+
radius?: string | undefined;
|
|
419
|
+
destructive?: string | undefined;
|
|
420
|
+
secondary?: string | undefined;
|
|
421
|
+
popover?: string | undefined;
|
|
422
|
+
border?: string | undefined;
|
|
359
423
|
background?: string | undefined;
|
|
360
424
|
foreground?: string | undefined;
|
|
361
425
|
card?: string | undefined;
|
|
362
426
|
cardForeground?: string | undefined;
|
|
363
|
-
popover?: string | undefined;
|
|
364
427
|
popoverForeground?: string | undefined;
|
|
365
428
|
primary?: string | undefined;
|
|
366
429
|
primaryForeground?: string | undefined;
|
|
367
|
-
secondary?: string | undefined;
|
|
368
430
|
secondaryForeground?: string | undefined;
|
|
369
431
|
muted?: string | undefined;
|
|
370
432
|
mutedForeground?: string | undefined;
|
|
371
433
|
accent?: string | undefined;
|
|
372
434
|
accentForeground?: string | undefined;
|
|
373
|
-
destructive?: string | undefined;
|
|
374
435
|
destructiveForeground?: string | undefined;
|
|
375
|
-
border?: string | undefined;
|
|
376
436
|
ring?: string | undefined;
|
|
377
|
-
|
|
437
|
+
}>>;
|
|
438
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
sans: z.ZodOptional<z.ZodObject<{
|
|
440
|
+
url: z.ZodString;
|
|
441
|
+
fontFamily: z.ZodString;
|
|
442
|
+
}, "strip", z.ZodTypeAny, {
|
|
443
|
+
url: string;
|
|
444
|
+
fontFamily: string;
|
|
445
|
+
}, {
|
|
446
|
+
url: string;
|
|
447
|
+
fontFamily: string;
|
|
448
|
+
}>>;
|
|
449
|
+
mono: z.ZodOptional<z.ZodObject<{
|
|
450
|
+
url: z.ZodString;
|
|
451
|
+
fontFamily: z.ZodString;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
url: string;
|
|
454
|
+
fontFamily: string;
|
|
455
|
+
}, {
|
|
456
|
+
url: string;
|
|
457
|
+
fontFamily: string;
|
|
458
|
+
}>>;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
sans?: {
|
|
461
|
+
url: string;
|
|
462
|
+
fontFamily: string;
|
|
463
|
+
} | undefined;
|
|
464
|
+
mono?: {
|
|
465
|
+
url: string;
|
|
466
|
+
fontFamily: string;
|
|
467
|
+
} | undefined;
|
|
468
|
+
}, {
|
|
469
|
+
sans?: {
|
|
470
|
+
url: string;
|
|
471
|
+
fontFamily: string;
|
|
472
|
+
} | undefined;
|
|
473
|
+
mono?: {
|
|
474
|
+
url: string;
|
|
475
|
+
fontFamily: string;
|
|
476
|
+
} | undefined;
|
|
378
477
|
}>>;
|
|
379
478
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
-
|
|
479
|
+
dark?: {
|
|
381
480
|
input?: string | undefined;
|
|
481
|
+
radius?: string | undefined;
|
|
482
|
+
destructive?: string | undefined;
|
|
483
|
+
secondary?: string | undefined;
|
|
484
|
+
popover?: string | undefined;
|
|
485
|
+
border?: string | undefined;
|
|
382
486
|
background?: string | undefined;
|
|
383
487
|
foreground?: string | undefined;
|
|
384
488
|
card?: string | undefined;
|
|
385
489
|
cardForeground?: string | undefined;
|
|
386
|
-
popover?: string | undefined;
|
|
387
490
|
popoverForeground?: string | undefined;
|
|
388
491
|
primary?: string | undefined;
|
|
389
492
|
primaryForeground?: string | undefined;
|
|
390
|
-
secondary?: string | undefined;
|
|
391
493
|
secondaryForeground?: string | undefined;
|
|
392
494
|
muted?: string | undefined;
|
|
393
495
|
mutedForeground?: string | undefined;
|
|
394
496
|
accent?: string | undefined;
|
|
395
497
|
accentForeground?: string | undefined;
|
|
396
|
-
destructive?: string | undefined;
|
|
397
498
|
destructiveForeground?: string | undefined;
|
|
398
|
-
border?: string | undefined;
|
|
399
499
|
ring?: string | undefined;
|
|
400
|
-
radius?: string | undefined;
|
|
401
500
|
} | undefined;
|
|
402
|
-
|
|
501
|
+
light?: {
|
|
403
502
|
input?: string | undefined;
|
|
503
|
+
radius?: string | undefined;
|
|
504
|
+
destructive?: string | undefined;
|
|
505
|
+
secondary?: string | undefined;
|
|
506
|
+
popover?: string | undefined;
|
|
507
|
+
border?: string | undefined;
|
|
404
508
|
background?: string | undefined;
|
|
405
509
|
foreground?: string | undefined;
|
|
406
510
|
card?: string | undefined;
|
|
407
511
|
cardForeground?: string | undefined;
|
|
408
|
-
popover?: string | undefined;
|
|
409
512
|
popoverForeground?: string | undefined;
|
|
410
513
|
primary?: string | undefined;
|
|
411
514
|
primaryForeground?: string | undefined;
|
|
412
|
-
secondary?: string | undefined;
|
|
413
515
|
secondaryForeground?: string | undefined;
|
|
414
516
|
muted?: string | undefined;
|
|
415
517
|
mutedForeground?: string | undefined;
|
|
416
518
|
accent?: string | undefined;
|
|
417
519
|
accentForeground?: string | undefined;
|
|
418
|
-
destructive?: string | undefined;
|
|
419
520
|
destructiveForeground?: string | undefined;
|
|
420
|
-
border?: string | undefined;
|
|
421
521
|
ring?: string | undefined;
|
|
422
|
-
|
|
522
|
+
} | undefined;
|
|
523
|
+
fonts?: {
|
|
524
|
+
sans?: {
|
|
525
|
+
url: string;
|
|
526
|
+
fontFamily: string;
|
|
527
|
+
} | undefined;
|
|
528
|
+
mono?: {
|
|
529
|
+
url: string;
|
|
530
|
+
fontFamily: string;
|
|
531
|
+
} | undefined;
|
|
423
532
|
} | undefined;
|
|
424
533
|
}, {
|
|
425
|
-
|
|
534
|
+
dark?: {
|
|
426
535
|
input?: string | undefined;
|
|
536
|
+
radius?: string | undefined;
|
|
537
|
+
destructive?: string | undefined;
|
|
538
|
+
secondary?: string | undefined;
|
|
539
|
+
popover?: string | undefined;
|
|
540
|
+
border?: string | undefined;
|
|
427
541
|
background?: string | undefined;
|
|
428
542
|
foreground?: string | undefined;
|
|
429
543
|
card?: string | undefined;
|
|
430
544
|
cardForeground?: string | undefined;
|
|
431
|
-
popover?: string | undefined;
|
|
432
545
|
popoverForeground?: string | undefined;
|
|
433
546
|
primary?: string | undefined;
|
|
434
547
|
primaryForeground?: string | undefined;
|
|
435
|
-
secondary?: string | undefined;
|
|
436
548
|
secondaryForeground?: string | undefined;
|
|
437
549
|
muted?: string | undefined;
|
|
438
550
|
mutedForeground?: string | undefined;
|
|
439
551
|
accent?: string | undefined;
|
|
440
552
|
accentForeground?: string | undefined;
|
|
441
|
-
destructive?: string | undefined;
|
|
442
553
|
destructiveForeground?: string | undefined;
|
|
443
|
-
border?: string | undefined;
|
|
444
554
|
ring?: string | undefined;
|
|
445
|
-
radius?: string | undefined;
|
|
446
555
|
} | undefined;
|
|
447
|
-
|
|
556
|
+
light?: {
|
|
448
557
|
input?: string | undefined;
|
|
558
|
+
radius?: string | undefined;
|
|
559
|
+
destructive?: string | undefined;
|
|
560
|
+
secondary?: string | undefined;
|
|
561
|
+
popover?: string | undefined;
|
|
562
|
+
border?: string | undefined;
|
|
449
563
|
background?: string | undefined;
|
|
450
564
|
foreground?: string | undefined;
|
|
451
565
|
card?: string | undefined;
|
|
452
566
|
cardForeground?: string | undefined;
|
|
453
|
-
popover?: string | undefined;
|
|
454
567
|
popoverForeground?: string | undefined;
|
|
455
568
|
primary?: string | undefined;
|
|
456
569
|
primaryForeground?: string | undefined;
|
|
457
|
-
secondary?: string | undefined;
|
|
458
570
|
secondaryForeground?: string | undefined;
|
|
459
571
|
muted?: string | undefined;
|
|
460
572
|
mutedForeground?: string | undefined;
|
|
461
573
|
accent?: string | undefined;
|
|
462
574
|
accentForeground?: string | undefined;
|
|
463
|
-
destructive?: string | undefined;
|
|
464
575
|
destructiveForeground?: string | undefined;
|
|
465
|
-
border?: string | undefined;
|
|
466
576
|
ring?: string | undefined;
|
|
467
|
-
|
|
577
|
+
} | undefined;
|
|
578
|
+
fonts?: {
|
|
579
|
+
sans?: {
|
|
580
|
+
url: string;
|
|
581
|
+
fontFamily: string;
|
|
582
|
+
} | undefined;
|
|
583
|
+
mono?: {
|
|
584
|
+
url: string;
|
|
585
|
+
fontFamily: string;
|
|
586
|
+
} | undefined;
|
|
468
587
|
} | undefined;
|
|
469
588
|
}>>;
|
|
470
589
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -504,14 +623,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
623
|
creator?: string | undefined;
|
|
505
624
|
publisher?: string | undefined;
|
|
506
625
|
}>>;
|
|
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<{
|
|
626
|
+
authentication: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
515
627
|
type: z.ZodLiteral<"clerk">;
|
|
516
628
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
517
629
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
@@ -580,8 +692,32 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
580
692
|
redirectToAfterSignIn?: string | undefined;
|
|
581
693
|
redirectToAfterSignOut?: string | undefined;
|
|
582
694
|
audience?: string | undefined;
|
|
695
|
+
}>, z.ZodObject<{
|
|
696
|
+
type: z.ZodLiteral<"supabase">;
|
|
697
|
+
supabaseUrl: z.ZodString;
|
|
698
|
+
supabaseKey: z.ZodString;
|
|
699
|
+
provider: z.ZodEnum<["google", "github", "gitlab", "bitbucket", "facebook", "twitter"]>;
|
|
700
|
+
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
701
|
+
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
702
|
+
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
|
704
|
+
type: "supabase";
|
|
705
|
+
supabaseUrl: string;
|
|
706
|
+
supabaseKey: string;
|
|
707
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
708
|
+
redirectToAfterSignUp?: string | undefined;
|
|
709
|
+
redirectToAfterSignIn?: string | undefined;
|
|
710
|
+
redirectToAfterSignOut?: string | undefined;
|
|
711
|
+
}, {
|
|
712
|
+
type: "supabase";
|
|
713
|
+
supabaseUrl: string;
|
|
714
|
+
supabaseKey: string;
|
|
715
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
716
|
+
redirectToAfterSignUp?: string | undefined;
|
|
717
|
+
redirectToAfterSignIn?: string | undefined;
|
|
718
|
+
redirectToAfterSignOut?: string | undefined;
|
|
583
719
|
}>]>>;
|
|
584
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
720
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
585
721
|
type: z.ZodLiteral<"inkeep">;
|
|
586
722
|
apiKey: z.ZodString;
|
|
587
723
|
integrationId: z.ZodString;
|
|
@@ -602,7 +738,66 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
738
|
organizationId: string;
|
|
603
739
|
primaryBrandColor: string;
|
|
604
740
|
organizationDisplayName: string;
|
|
605
|
-
}
|
|
741
|
+
}>, z.ZodObject<{
|
|
742
|
+
type: z.ZodLiteral<"pagefind">;
|
|
743
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
termFrequency: z.ZodNumber;
|
|
745
|
+
pageLength: z.ZodNumber;
|
|
746
|
+
termSimilarity: z.ZodNumber;
|
|
747
|
+
termSaturation: z.ZodNumber;
|
|
748
|
+
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
termFrequency: number;
|
|
750
|
+
pageLength: number;
|
|
751
|
+
termSimilarity: number;
|
|
752
|
+
termSaturation: number;
|
|
753
|
+
}, {
|
|
754
|
+
termFrequency: number;
|
|
755
|
+
pageLength: number;
|
|
756
|
+
termSimilarity: number;
|
|
757
|
+
termSaturation: number;
|
|
758
|
+
}>>;
|
|
759
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
760
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
761
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
762
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
763
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
764
|
+
context: import("../../index.js").ZudokuContext;
|
|
765
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
766
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
767
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
768
|
+
context: import("../../index.js").ZudokuContext;
|
|
769
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void>>;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
771
|
+
type: "pagefind";
|
|
772
|
+
ranking?: {
|
|
773
|
+
termFrequency: number;
|
|
774
|
+
pageLength: number;
|
|
775
|
+
termSimilarity: number;
|
|
776
|
+
termSaturation: number;
|
|
777
|
+
} | undefined;
|
|
778
|
+
maxResults?: number | undefined;
|
|
779
|
+
maxSubResults?: number | undefined;
|
|
780
|
+
transformResults?: ((data: {
|
|
781
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
782
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
783
|
+
context: import("../../index.js").ZudokuContext;
|
|
784
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
785
|
+
}, {
|
|
786
|
+
type: "pagefind";
|
|
787
|
+
ranking?: {
|
|
788
|
+
termFrequency: number;
|
|
789
|
+
pageLength: number;
|
|
790
|
+
termSimilarity: number;
|
|
791
|
+
termSaturation: number;
|
|
792
|
+
} | undefined;
|
|
793
|
+
maxResults?: number | undefined;
|
|
794
|
+
maxSubResults?: number | undefined;
|
|
795
|
+
transformResults?: ((data: {
|
|
796
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
797
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
798
|
+
context: import("../../index.js").ZudokuContext;
|
|
799
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
800
|
+
}>]>>>;
|
|
606
801
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
607
802
|
files: z.ZodString;
|
|
608
803
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -656,99 +851,454 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
851
|
type: z.ZodLiteral<"url">;
|
|
657
852
|
input: z.ZodString;
|
|
658
853
|
}, {
|
|
854
|
+
id: z.ZodOptional<z.ZodString>;
|
|
659
855
|
server: z.ZodOptional<z.ZodString>;
|
|
660
856
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
857
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
858
|
+
label: z.ZodString;
|
|
859
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
|
861
|
+
tags: string[];
|
|
862
|
+
label: string;
|
|
863
|
+
}, {
|
|
864
|
+
tags: string[];
|
|
865
|
+
label: string;
|
|
866
|
+
}>, "many">>;
|
|
867
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
868
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
869
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
870
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
871
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
873
|
+
}, "strip", z.ZodTypeAny, {
|
|
874
|
+
examplesLanguage?: string | undefined;
|
|
875
|
+
disablePlayground?: boolean | undefined;
|
|
876
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
877
|
+
expandAllTags?: boolean | undefined;
|
|
878
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
879
|
+
}, {
|
|
880
|
+
examplesLanguage?: string | undefined;
|
|
881
|
+
disablePlayground?: boolean | undefined;
|
|
882
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
883
|
+
expandAllTags?: boolean | undefined;
|
|
884
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
885
|
+
}>>;
|
|
661
886
|
}>, "strip", z.ZodTypeAny, {
|
|
662
887
|
type: "url";
|
|
663
888
|
input: string;
|
|
664
889
|
server?: string | undefined;
|
|
890
|
+
id?: string | undefined;
|
|
891
|
+
options?: {
|
|
892
|
+
examplesLanguage?: string | undefined;
|
|
893
|
+
disablePlayground?: boolean | undefined;
|
|
894
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
895
|
+
expandAllTags?: boolean | undefined;
|
|
896
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
897
|
+
} | undefined;
|
|
665
898
|
navigationId?: string | undefined;
|
|
899
|
+
categories?: {
|
|
900
|
+
tags: string[];
|
|
901
|
+
label: string;
|
|
902
|
+
}[] | undefined;
|
|
666
903
|
}, {
|
|
667
904
|
type: "url";
|
|
668
905
|
input: string;
|
|
669
906
|
server?: string | undefined;
|
|
907
|
+
id?: string | undefined;
|
|
908
|
+
options?: {
|
|
909
|
+
examplesLanguage?: string | undefined;
|
|
910
|
+
disablePlayground?: boolean | undefined;
|
|
911
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
912
|
+
expandAllTags?: boolean | undefined;
|
|
913
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
914
|
+
} | undefined;
|
|
670
915
|
navigationId?: string | undefined;
|
|
916
|
+
categories?: {
|
|
917
|
+
tags: string[];
|
|
918
|
+
label: string;
|
|
919
|
+
}[] | undefined;
|
|
671
920
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
672
921
|
type: z.ZodLiteral<"file">;
|
|
673
|
-
input: z.ZodString
|
|
922
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
674
923
|
}, {
|
|
924
|
+
id: z.ZodOptional<z.ZodString>;
|
|
675
925
|
server: z.ZodOptional<z.ZodString>;
|
|
676
926
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
927
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
928
|
+
label: z.ZodString;
|
|
929
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
930
|
+
}, "strip", z.ZodTypeAny, {
|
|
931
|
+
tags: string[];
|
|
932
|
+
label: string;
|
|
933
|
+
}, {
|
|
934
|
+
tags: string[];
|
|
935
|
+
label: string;
|
|
936
|
+
}>, "many">>;
|
|
937
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
939
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
941
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
942
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
examplesLanguage?: string | undefined;
|
|
945
|
+
disablePlayground?: boolean | undefined;
|
|
946
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
947
|
+
expandAllTags?: boolean | undefined;
|
|
948
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
949
|
+
}, {
|
|
950
|
+
examplesLanguage?: string | undefined;
|
|
951
|
+
disablePlayground?: boolean | undefined;
|
|
952
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
953
|
+
expandAllTags?: boolean | undefined;
|
|
954
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
955
|
+
}>>;
|
|
677
956
|
}>, "strip", z.ZodTypeAny, {
|
|
678
957
|
type: "file";
|
|
679
|
-
input: string;
|
|
958
|
+
input: string | string[];
|
|
680
959
|
server?: string | undefined;
|
|
960
|
+
id?: string | undefined;
|
|
961
|
+
options?: {
|
|
962
|
+
examplesLanguage?: string | undefined;
|
|
963
|
+
disablePlayground?: boolean | undefined;
|
|
964
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
965
|
+
expandAllTags?: boolean | undefined;
|
|
966
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
967
|
+
} | undefined;
|
|
681
968
|
navigationId?: string | undefined;
|
|
969
|
+
categories?: {
|
|
970
|
+
tags: string[];
|
|
971
|
+
label: string;
|
|
972
|
+
}[] | undefined;
|
|
682
973
|
}, {
|
|
683
974
|
type: "file";
|
|
684
|
-
input: string;
|
|
975
|
+
input: string | string[];
|
|
685
976
|
server?: string | undefined;
|
|
977
|
+
id?: string | undefined;
|
|
978
|
+
options?: {
|
|
979
|
+
examplesLanguage?: string | undefined;
|
|
980
|
+
disablePlayground?: boolean | undefined;
|
|
981
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
982
|
+
expandAllTags?: boolean | undefined;
|
|
983
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
984
|
+
} | undefined;
|
|
686
985
|
navigationId?: string | undefined;
|
|
986
|
+
categories?: {
|
|
987
|
+
tags: string[];
|
|
988
|
+
label: string;
|
|
989
|
+
}[] | undefined;
|
|
687
990
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
688
991
|
type: z.ZodLiteral<"raw">;
|
|
689
992
|
input: z.ZodString;
|
|
690
993
|
}, {
|
|
994
|
+
id: z.ZodOptional<z.ZodString>;
|
|
691
995
|
server: z.ZodOptional<z.ZodString>;
|
|
692
996
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
997
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
998
|
+
label: z.ZodString;
|
|
999
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1000
|
+
}, "strip", z.ZodTypeAny, {
|
|
1001
|
+
tags: string[];
|
|
1002
|
+
label: string;
|
|
1003
|
+
}, {
|
|
1004
|
+
tags: string[];
|
|
1005
|
+
label: string;
|
|
1006
|
+
}>, "many">>;
|
|
1007
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1008
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1010
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1011
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1012
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1013
|
+
}, "strip", z.ZodTypeAny, {
|
|
1014
|
+
examplesLanguage?: string | undefined;
|
|
1015
|
+
disablePlayground?: boolean | undefined;
|
|
1016
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1017
|
+
expandAllTags?: boolean | undefined;
|
|
1018
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1019
|
+
}, {
|
|
1020
|
+
examplesLanguage?: string | undefined;
|
|
1021
|
+
disablePlayground?: boolean | undefined;
|
|
1022
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1023
|
+
expandAllTags?: boolean | undefined;
|
|
1024
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1025
|
+
}>>;
|
|
693
1026
|
}>, "strip", z.ZodTypeAny, {
|
|
694
1027
|
type: "raw";
|
|
695
1028
|
input: string;
|
|
696
1029
|
server?: string | undefined;
|
|
1030
|
+
id?: string | undefined;
|
|
1031
|
+
options?: {
|
|
1032
|
+
examplesLanguage?: string | undefined;
|
|
1033
|
+
disablePlayground?: boolean | undefined;
|
|
1034
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1035
|
+
expandAllTags?: boolean | undefined;
|
|
1036
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1037
|
+
} | undefined;
|
|
697
1038
|
navigationId?: string | undefined;
|
|
1039
|
+
categories?: {
|
|
1040
|
+
tags: string[];
|
|
1041
|
+
label: string;
|
|
1042
|
+
}[] | undefined;
|
|
698
1043
|
}, {
|
|
699
1044
|
type: "raw";
|
|
700
1045
|
input: string;
|
|
701
1046
|
server?: string | undefined;
|
|
1047
|
+
id?: string | undefined;
|
|
1048
|
+
options?: {
|
|
1049
|
+
examplesLanguage?: string | undefined;
|
|
1050
|
+
disablePlayground?: boolean | undefined;
|
|
1051
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1052
|
+
expandAllTags?: boolean | undefined;
|
|
1053
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1054
|
+
} | undefined;
|
|
702
1055
|
navigationId?: string | undefined;
|
|
1056
|
+
categories?: {
|
|
1057
|
+
tags: string[];
|
|
1058
|
+
label: string;
|
|
1059
|
+
}[] | undefined;
|
|
703
1060
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
704
1061
|
type: z.ZodLiteral<"url">;
|
|
705
1062
|
input: z.ZodString;
|
|
706
1063
|
}, {
|
|
1064
|
+
id: z.ZodOptional<z.ZodString>;
|
|
707
1065
|
server: z.ZodOptional<z.ZodString>;
|
|
708
1066
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1068
|
+
label: z.ZodString;
|
|
1069
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
|
1071
|
+
tags: string[];
|
|
1072
|
+
label: string;
|
|
1073
|
+
}, {
|
|
1074
|
+
tags: string[];
|
|
1075
|
+
label: string;
|
|
1076
|
+
}>, "many">>;
|
|
1077
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1078
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1081
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1082
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1083
|
+
}, "strip", z.ZodTypeAny, {
|
|
1084
|
+
examplesLanguage?: string | undefined;
|
|
1085
|
+
disablePlayground?: boolean | undefined;
|
|
1086
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1087
|
+
expandAllTags?: boolean | undefined;
|
|
1088
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1089
|
+
}, {
|
|
1090
|
+
examplesLanguage?: string | undefined;
|
|
1091
|
+
disablePlayground?: boolean | undefined;
|
|
1092
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1093
|
+
expandAllTags?: boolean | undefined;
|
|
1094
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1095
|
+
}>>;
|
|
709
1096
|
}>, "strip", z.ZodTypeAny, {
|
|
710
1097
|
type: "url";
|
|
711
1098
|
input: string;
|
|
712
1099
|
server?: string | undefined;
|
|
1100
|
+
id?: string | undefined;
|
|
1101
|
+
options?: {
|
|
1102
|
+
examplesLanguage?: string | undefined;
|
|
1103
|
+
disablePlayground?: boolean | undefined;
|
|
1104
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1105
|
+
expandAllTags?: boolean | undefined;
|
|
1106
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1107
|
+
} | undefined;
|
|
713
1108
|
navigationId?: string | undefined;
|
|
1109
|
+
categories?: {
|
|
1110
|
+
tags: string[];
|
|
1111
|
+
label: string;
|
|
1112
|
+
}[] | undefined;
|
|
714
1113
|
}, {
|
|
715
1114
|
type: "url";
|
|
716
1115
|
input: string;
|
|
717
1116
|
server?: string | undefined;
|
|
1117
|
+
id?: string | undefined;
|
|
1118
|
+
options?: {
|
|
1119
|
+
examplesLanguage?: string | undefined;
|
|
1120
|
+
disablePlayground?: boolean | undefined;
|
|
1121
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1122
|
+
expandAllTags?: boolean | undefined;
|
|
1123
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1124
|
+
} | undefined;
|
|
718
1125
|
navigationId?: string | undefined;
|
|
1126
|
+
categories?: {
|
|
1127
|
+
tags: string[];
|
|
1128
|
+
label: string;
|
|
1129
|
+
}[] | undefined;
|
|
719
1130
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
720
1131
|
type: z.ZodLiteral<"file">;
|
|
721
|
-
input: z.ZodString
|
|
1132
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
722
1133
|
}, {
|
|
1134
|
+
id: z.ZodOptional<z.ZodString>;
|
|
723
1135
|
server: z.ZodOptional<z.ZodString>;
|
|
724
1136
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1138
|
+
label: z.ZodString;
|
|
1139
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1140
|
+
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
tags: string[];
|
|
1142
|
+
label: string;
|
|
1143
|
+
}, {
|
|
1144
|
+
tags: string[];
|
|
1145
|
+
label: string;
|
|
1146
|
+
}>, "many">>;
|
|
1147
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1148
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1150
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1151
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1152
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1153
|
+
}, "strip", z.ZodTypeAny, {
|
|
1154
|
+
examplesLanguage?: string | undefined;
|
|
1155
|
+
disablePlayground?: boolean | undefined;
|
|
1156
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1157
|
+
expandAllTags?: boolean | undefined;
|
|
1158
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
examplesLanguage?: string | undefined;
|
|
1161
|
+
disablePlayground?: boolean | undefined;
|
|
1162
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1163
|
+
expandAllTags?: boolean | undefined;
|
|
1164
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1165
|
+
}>>;
|
|
725
1166
|
}>, "strip", z.ZodTypeAny, {
|
|
726
1167
|
type: "file";
|
|
727
|
-
input: string;
|
|
1168
|
+
input: string | string[];
|
|
728
1169
|
server?: string | undefined;
|
|
1170
|
+
id?: string | undefined;
|
|
1171
|
+
options?: {
|
|
1172
|
+
examplesLanguage?: string | undefined;
|
|
1173
|
+
disablePlayground?: boolean | undefined;
|
|
1174
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1175
|
+
expandAllTags?: boolean | undefined;
|
|
1176
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1177
|
+
} | undefined;
|
|
729
1178
|
navigationId?: string | undefined;
|
|
1179
|
+
categories?: {
|
|
1180
|
+
tags: string[];
|
|
1181
|
+
label: string;
|
|
1182
|
+
}[] | undefined;
|
|
730
1183
|
}, {
|
|
731
1184
|
type: "file";
|
|
732
|
-
input: string;
|
|
1185
|
+
input: string | string[];
|
|
733
1186
|
server?: string | undefined;
|
|
1187
|
+
id?: string | undefined;
|
|
1188
|
+
options?: {
|
|
1189
|
+
examplesLanguage?: string | undefined;
|
|
1190
|
+
disablePlayground?: boolean | undefined;
|
|
1191
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1192
|
+
expandAllTags?: boolean | undefined;
|
|
1193
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1194
|
+
} | undefined;
|
|
734
1195
|
navigationId?: string | undefined;
|
|
1196
|
+
categories?: {
|
|
1197
|
+
tags: string[];
|
|
1198
|
+
label: string;
|
|
1199
|
+
}[] | undefined;
|
|
735
1200
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
736
1201
|
type: z.ZodLiteral<"raw">;
|
|
737
1202
|
input: z.ZodString;
|
|
738
1203
|
}, {
|
|
1204
|
+
id: z.ZodOptional<z.ZodString>;
|
|
739
1205
|
server: z.ZodOptional<z.ZodString>;
|
|
740
1206
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1208
|
+
label: z.ZodString;
|
|
1209
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1210
|
+
}, "strip", z.ZodTypeAny, {
|
|
1211
|
+
tags: string[];
|
|
1212
|
+
label: string;
|
|
1213
|
+
}, {
|
|
1214
|
+
tags: string[];
|
|
1215
|
+
label: string;
|
|
1216
|
+
}>, "many">>;
|
|
1217
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1218
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1220
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1221
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1222
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1223
|
+
}, "strip", z.ZodTypeAny, {
|
|
1224
|
+
examplesLanguage?: string | undefined;
|
|
1225
|
+
disablePlayground?: boolean | undefined;
|
|
1226
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1227
|
+
expandAllTags?: boolean | undefined;
|
|
1228
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1229
|
+
}, {
|
|
1230
|
+
examplesLanguage?: string | undefined;
|
|
1231
|
+
disablePlayground?: boolean | undefined;
|
|
1232
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1233
|
+
expandAllTags?: boolean | undefined;
|
|
1234
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1235
|
+
}>>;
|
|
741
1236
|
}>, "strip", z.ZodTypeAny, {
|
|
742
1237
|
type: "raw";
|
|
743
1238
|
input: string;
|
|
744
1239
|
server?: string | undefined;
|
|
1240
|
+
id?: string | undefined;
|
|
1241
|
+
options?: {
|
|
1242
|
+
examplesLanguage?: string | undefined;
|
|
1243
|
+
disablePlayground?: boolean | undefined;
|
|
1244
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1245
|
+
expandAllTags?: boolean | undefined;
|
|
1246
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1247
|
+
} | undefined;
|
|
745
1248
|
navigationId?: string | undefined;
|
|
1249
|
+
categories?: {
|
|
1250
|
+
tags: string[];
|
|
1251
|
+
label: string;
|
|
1252
|
+
}[] | undefined;
|
|
746
1253
|
}, {
|
|
747
1254
|
type: "raw";
|
|
748
1255
|
input: string;
|
|
749
1256
|
server?: string | undefined;
|
|
1257
|
+
id?: string | undefined;
|
|
1258
|
+
options?: {
|
|
1259
|
+
examplesLanguage?: string | undefined;
|
|
1260
|
+
disablePlayground?: boolean | undefined;
|
|
1261
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1262
|
+
expandAllTags?: boolean | undefined;
|
|
1263
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1264
|
+
} | undefined;
|
|
750
1265
|
navigationId?: string | undefined;
|
|
1266
|
+
categories?: {
|
|
1267
|
+
tags: string[];
|
|
1268
|
+
label: string;
|
|
1269
|
+
}[] | undefined;
|
|
751
1270
|
}>]>, "many">]>>;
|
|
1271
|
+
catalogs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1272
|
+
navigationId: z.ZodString;
|
|
1273
|
+
label: z.ZodString;
|
|
1274
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1275
|
+
filterItems: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>>;
|
|
1276
|
+
}, "strip", z.ZodTypeAny, {
|
|
1277
|
+
label: string;
|
|
1278
|
+
navigationId: string;
|
|
1279
|
+
items?: string[] | undefined;
|
|
1280
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1281
|
+
}, {
|
|
1282
|
+
label: string;
|
|
1283
|
+
navigationId: string;
|
|
1284
|
+
items?: string[] | undefined;
|
|
1285
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1286
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
1287
|
+
navigationId: z.ZodString;
|
|
1288
|
+
label: z.ZodString;
|
|
1289
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1290
|
+
filterItems: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>>;
|
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
|
1292
|
+
label: string;
|
|
1293
|
+
navigationId: string;
|
|
1294
|
+
items?: string[] | undefined;
|
|
1295
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1296
|
+
}, {
|
|
1297
|
+
label: string;
|
|
1298
|
+
navigationId: string;
|
|
1299
|
+
items?: string[] | undefined;
|
|
1300
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1301
|
+
}>, "many">]>>;
|
|
752
1302
|
apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
753
1303
|
enabled: z.ZodBoolean;
|
|
754
1304
|
endpoint: z.ZodString;
|
|
@@ -760,49 +1310,49 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
1310
|
endpoint: string;
|
|
761
1311
|
}>, z.ZodObject<{
|
|
762
1312
|
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>>>;
|
|
1313
|
+
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[]>>;
|
|
1314
|
+
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>>>;
|
|
1315
|
+
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
1316
|
updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
|
|
767
1317
|
id: string;
|
|
768
1318
|
description: string;
|
|
769
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
1319
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
770
1320
|
id: string;
|
|
771
1321
|
description: string;
|
|
772
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
1322
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
773
1323
|
createKey: z.ZodOptional<z.ZodType<(apiKey: {
|
|
774
1324
|
description: string;
|
|
775
1325
|
expiresOn?: string;
|
|
776
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
1326
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
777
1327
|
description: string;
|
|
778
1328
|
expiresOn?: string;
|
|
779
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
1329
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
780
1330
|
}, "strip", z.ZodTypeAny, {
|
|
781
1331
|
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;
|
|
1332
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1333
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1334
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
785
1335
|
updateKeyDescription?: ((apiKey: {
|
|
786
1336
|
id: string;
|
|
787
1337
|
description: string;
|
|
788
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1338
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
789
1339
|
createKey?: ((apiKey: {
|
|
790
1340
|
description: string;
|
|
791
1341
|
expiresOn?: string;
|
|
792
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1342
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
793
1343
|
}, {
|
|
794
1344
|
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;
|
|
1345
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1346
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1347
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
798
1348
|
updateKeyDescription?: ((apiKey: {
|
|
799
1349
|
id: string;
|
|
800
1350
|
description: string;
|
|
801
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1351
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
802
1352
|
createKey?: ((apiKey: {
|
|
803
1353
|
description: string;
|
|
804
1354
|
expiresOn?: string;
|
|
805
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1355
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
806
1356
|
}>]>>;
|
|
807
1357
|
redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
808
1358
|
from: z.ZodString;
|
|
@@ -814,48 +1364,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
814
1364
|
from: string;
|
|
815
1365
|
to: string;
|
|
816
1366
|
}>, "many">>;
|
|
817
|
-
customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
818
|
-
path: z.ZodString;
|
|
819
|
-
element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
|
|
820
|
-
render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
|
|
821
|
-
prose: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
-
}, "strip", z.ZodTypeAny, {
|
|
823
|
-
path: string;
|
|
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
1367
|
sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
835
|
-
/**
|
|
836
|
-
* Base url of your website
|
|
837
|
-
*/
|
|
838
1368
|
siteUrl: z.ZodString;
|
|
839
|
-
/**
|
|
840
|
-
* Change frequency.
|
|
841
|
-
* @default 'daily'
|
|
842
|
-
*/
|
|
843
1369
|
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
844
|
-
/**
|
|
845
|
-
* Priority
|
|
846
|
-
* @default 0.7
|
|
847
|
-
*/
|
|
848
1370
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
849
1371
|
outDir: z.ZodOptional<z.ZodString>;
|
|
850
|
-
/**
|
|
851
|
-
* Add <lastmod/> property.
|
|
852
|
-
* @default true
|
|
853
|
-
*/
|
|
854
1372
|
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
1373
|
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
860
1374
|
}, "strip", z.ZodTypeAny, {
|
|
861
1375
|
siteUrl: string;
|
|
@@ -872,6 +1386,73 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
1386
|
autoLastmod?: boolean | undefined;
|
|
873
1387
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
874
1388
|
}>>>;
|
|
1389
|
+
isZuplo: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1390
|
+
enableStatusPages: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1391
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
1392
|
+
apis: z.ZodObject<{
|
|
1393
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1395
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1396
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1397
|
+
transformExamples: z.ZodOptional<z.ZodType<import("../../lib/plugins/openapi/interfaces.js").transformExamples, z.ZodTypeDef, import("../../lib/plugins/openapi/interfaces.js").transformExamples>>;
|
|
1398
|
+
}, "strip", z.ZodTypeAny, {
|
|
1399
|
+
examplesLanguage?: string | undefined;
|
|
1400
|
+
disablePlayground?: boolean | undefined;
|
|
1401
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1402
|
+
expandAllTags?: boolean | undefined;
|
|
1403
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1404
|
+
}, {
|
|
1405
|
+
examplesLanguage?: string | undefined;
|
|
1406
|
+
disablePlayground?: boolean | undefined;
|
|
1407
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1408
|
+
expandAllTags?: boolean | undefined;
|
|
1409
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1410
|
+
}>;
|
|
1411
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
|
1413
|
+
apis: {
|
|
1414
|
+
examplesLanguage?: string | undefined;
|
|
1415
|
+
disablePlayground?: boolean | undefined;
|
|
1416
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1417
|
+
expandAllTags?: boolean | undefined;
|
|
1418
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1419
|
+
};
|
|
1420
|
+
examplesLanguage?: string | undefined;
|
|
1421
|
+
}, {
|
|
1422
|
+
apis: {
|
|
1423
|
+
examplesLanguage?: string | undefined;
|
|
1424
|
+
disablePlayground?: boolean | undefined;
|
|
1425
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1426
|
+
expandAllTags?: boolean | undefined;
|
|
1427
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1428
|
+
};
|
|
1429
|
+
examplesLanguage?: string | undefined;
|
|
1430
|
+
}>>;
|
|
1431
|
+
UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
|
|
1432
|
+
mdx: z.ZodOptional<z.ZodObject<{
|
|
1433
|
+
components: z.ZodOptional<z.ZodType<MdxComponentsType, z.ZodTypeDef, MdxComponentsType>>;
|
|
1434
|
+
}, "strip", z.ZodTypeAny, {
|
|
1435
|
+
components?: MdxComponentsType;
|
|
1436
|
+
}, {
|
|
1437
|
+
components?: MdxComponentsType;
|
|
1438
|
+
}>>;
|
|
1439
|
+
customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1440
|
+
path: z.ZodString;
|
|
1441
|
+
element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
|
|
1442
|
+
render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
|
|
1443
|
+
prose: z.ZodOptional<z.ZodBoolean>;
|
|
1444
|
+
}, "strip", z.ZodTypeAny, {
|
|
1445
|
+
path: string;
|
|
1446
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1447
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1448
|
+
prose?: boolean | undefined;
|
|
1449
|
+
}, {
|
|
1450
|
+
path: string;
|
|
1451
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1452
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1453
|
+
prose?: boolean | undefined;
|
|
1454
|
+
}>, "many">>;
|
|
1455
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
|
|
875
1456
|
build: z.ZodOptional<z.ZodType<{
|
|
876
1457
|
remarkPlugins?: Options["remarkPlugins"];
|
|
877
1458
|
rehypePlugins?: Options["rehypePlugins"];
|
|
@@ -880,7 +1461,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
880
1461
|
rehypePlugins?: Options["rehypePlugins"];
|
|
881
1462
|
}>>;
|
|
882
1463
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
884
1464
|
search?: {
|
|
885
1465
|
type: "inkeep";
|
|
886
1466
|
apiKey: string;
|
|
@@ -888,118 +1468,210 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
888
1468
|
organizationId: string;
|
|
889
1469
|
primaryBrandColor: string;
|
|
890
1470
|
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?: string | (string & {}) | undefined;
|
|
907
|
-
dismissible?: boolean | undefined;
|
|
1471
|
+
} | {
|
|
1472
|
+
type: "pagefind";
|
|
1473
|
+
ranking?: {
|
|
1474
|
+
termFrequency: number;
|
|
1475
|
+
pageLength: number;
|
|
1476
|
+
termSimilarity: number;
|
|
1477
|
+
termSaturation: number;
|
|
908
1478
|
} | undefined;
|
|
1479
|
+
maxResults?: number | undefined;
|
|
1480
|
+
maxSubResults?: number | undefined;
|
|
1481
|
+
transformResults?: ((data: {
|
|
1482
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
1483
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
1484
|
+
context: import("../../index.js").ZudokuContext;
|
|
1485
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
1488
|
+
defaults?: {
|
|
1489
|
+
apis: {
|
|
1490
|
+
examplesLanguage?: string | undefined;
|
|
1491
|
+
disablePlayground?: boolean | undefined;
|
|
1492
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1493
|
+
expandAllTags?: boolean | undefined;
|
|
1494
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1495
|
+
};
|
|
1496
|
+
examplesLanguage?: string | undefined;
|
|
1497
|
+
} | undefined;
|
|
1498
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1499
|
+
metadata?: {
|
|
1500
|
+
description?: string | undefined;
|
|
1501
|
+
title?: string | undefined;
|
|
1502
|
+
logo?: string | undefined;
|
|
1503
|
+
favicon?: string | undefined;
|
|
1504
|
+
generator?: string | undefined;
|
|
1505
|
+
applicationName?: string | undefined;
|
|
1506
|
+
referrer?: string | undefined;
|
|
1507
|
+
keywords?: string[] | undefined;
|
|
1508
|
+
authors?: string[] | undefined;
|
|
1509
|
+
creator?: string | undefined;
|
|
1510
|
+
publisher?: string | undefined;
|
|
1511
|
+
} | undefined;
|
|
1512
|
+
authentication?: {
|
|
1513
|
+
type: "clerk";
|
|
1514
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1515
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1516
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1517
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1518
|
+
} | {
|
|
1519
|
+
type: "openid";
|
|
1520
|
+
clientId: string;
|
|
1521
|
+
issuer: string;
|
|
1522
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1523
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1524
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1525
|
+
audience?: string | undefined;
|
|
1526
|
+
scopes?: string[] | undefined;
|
|
1527
|
+
} | {
|
|
1528
|
+
type: "auth0";
|
|
1529
|
+
clientId: string;
|
|
1530
|
+
domain: string;
|
|
1531
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1532
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1533
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1534
|
+
audience?: string | undefined;
|
|
1535
|
+
} | {
|
|
1536
|
+
type: "supabase";
|
|
1537
|
+
supabaseUrl: string;
|
|
1538
|
+
supabaseKey: string;
|
|
1539
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
1540
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1541
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1542
|
+
redirectToAfterSignOut?: string | undefined;
|
|
909
1543
|
} | undefined;
|
|
910
1544
|
topNavigation?: {
|
|
911
1545
|
id: string;
|
|
912
1546
|
label: string;
|
|
913
1547
|
default?: string | undefined;
|
|
914
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1548
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
915
1549
|
}[] | undefined;
|
|
916
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
917
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
918
1550
|
theme?: {
|
|
919
|
-
|
|
1551
|
+
dark?: {
|
|
920
1552
|
input?: string | undefined;
|
|
1553
|
+
radius?: string | undefined;
|
|
1554
|
+
destructive?: string | undefined;
|
|
1555
|
+
secondary?: string | undefined;
|
|
1556
|
+
popover?: string | undefined;
|
|
1557
|
+
border?: string | undefined;
|
|
921
1558
|
background?: string | undefined;
|
|
922
1559
|
foreground?: string | undefined;
|
|
923
1560
|
card?: string | undefined;
|
|
924
1561
|
cardForeground?: string | undefined;
|
|
925
|
-
popover?: string | undefined;
|
|
926
1562
|
popoverForeground?: string | undefined;
|
|
927
1563
|
primary?: string | undefined;
|
|
928
1564
|
primaryForeground?: string | undefined;
|
|
929
|
-
secondary?: string | undefined;
|
|
930
1565
|
secondaryForeground?: string | undefined;
|
|
931
1566
|
muted?: string | undefined;
|
|
932
1567
|
mutedForeground?: string | undefined;
|
|
933
1568
|
accent?: string | undefined;
|
|
934
1569
|
accentForeground?: string | undefined;
|
|
935
|
-
destructive?: string | undefined;
|
|
936
1570
|
destructiveForeground?: string | undefined;
|
|
937
|
-
border?: string | undefined;
|
|
938
1571
|
ring?: string | undefined;
|
|
939
|
-
radius?: string | undefined;
|
|
940
1572
|
} | undefined;
|
|
941
|
-
|
|
1573
|
+
light?: {
|
|
942
1574
|
input?: string | undefined;
|
|
1575
|
+
radius?: string | undefined;
|
|
1576
|
+
destructive?: string | undefined;
|
|
1577
|
+
secondary?: string | undefined;
|
|
1578
|
+
popover?: string | undefined;
|
|
1579
|
+
border?: string | undefined;
|
|
943
1580
|
background?: string | undefined;
|
|
944
1581
|
foreground?: string | undefined;
|
|
945
1582
|
card?: string | undefined;
|
|
946
1583
|
cardForeground?: string | undefined;
|
|
947
|
-
popover?: string | undefined;
|
|
948
1584
|
popoverForeground?: string | undefined;
|
|
949
1585
|
primary?: string | undefined;
|
|
950
1586
|
primaryForeground?: string | undefined;
|
|
951
|
-
secondary?: string | undefined;
|
|
952
1587
|
secondaryForeground?: string | undefined;
|
|
953
1588
|
muted?: string | undefined;
|
|
954
1589
|
mutedForeground?: string | undefined;
|
|
955
1590
|
accent?: string | undefined;
|
|
956
1591
|
accentForeground?: string | undefined;
|
|
957
|
-
destructive?: string | undefined;
|
|
958
1592
|
destructiveForeground?: string | undefined;
|
|
959
|
-
border?: string | undefined;
|
|
960
1593
|
ring?: string | undefined;
|
|
961
|
-
radius?: string | undefined;
|
|
962
1594
|
} | undefined;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
authors?: string[] | undefined;
|
|
974
|
-
creator?: string | undefined;
|
|
975
|
-
publisher?: string | undefined;
|
|
1595
|
+
fonts?: {
|
|
1596
|
+
sans?: {
|
|
1597
|
+
url: string;
|
|
1598
|
+
fontFamily: string;
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
mono?: {
|
|
1601
|
+
url: string;
|
|
1602
|
+
fontFamily: string;
|
|
1603
|
+
} | undefined;
|
|
1604
|
+
} | undefined;
|
|
976
1605
|
} | undefined;
|
|
977
1606
|
mdx?: {
|
|
978
|
-
components?:
|
|
1607
|
+
components?: MdxComponentsType;
|
|
979
1608
|
} | undefined;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
} |
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1609
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1610
|
+
customPages?: {
|
|
1611
|
+
path: string;
|
|
1612
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1613
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1614
|
+
prose?: boolean | undefined;
|
|
1615
|
+
}[] | undefined;
|
|
1616
|
+
build?: {
|
|
1617
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1618
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
protectedRoutes?: string[] | undefined;
|
|
1621
|
+
basePath?: string | undefined;
|
|
1622
|
+
canonicalUrlOrigin?: string | undefined;
|
|
1623
|
+
cdnUrl?: {
|
|
1624
|
+
base: string | undefined;
|
|
1625
|
+
media: string | undefined;
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
port?: number | undefined;
|
|
1628
|
+
https?: {
|
|
1629
|
+
key: string;
|
|
1630
|
+
cert: string;
|
|
1631
|
+
ca?: string | undefined;
|
|
1632
|
+
} | undefined;
|
|
1633
|
+
page?: {
|
|
1634
|
+
footer?: {
|
|
1635
|
+
columns?: {
|
|
1636
|
+
title: string;
|
|
1637
|
+
links: {
|
|
1638
|
+
label: string;
|
|
1639
|
+
href: string;
|
|
1640
|
+
}[];
|
|
1641
|
+
position?: "start" | "end" | "center" | undefined;
|
|
1642
|
+
}[] | undefined;
|
|
1643
|
+
copyright?: string | undefined;
|
|
1644
|
+
logo?: {
|
|
1645
|
+
src: {
|
|
1646
|
+
dark: string;
|
|
1647
|
+
light: string;
|
|
1648
|
+
};
|
|
1649
|
+
width?: string | number | undefined;
|
|
1650
|
+
alt?: string | undefined;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
position?: "start" | "end" | "center" | undefined;
|
|
1653
|
+
social?: {
|
|
1654
|
+
href: string;
|
|
1655
|
+
label?: string | undefined;
|
|
1656
|
+
icon?: ReactNode;
|
|
1657
|
+
}[] | undefined;
|
|
1658
|
+
} | undefined;
|
|
1659
|
+
banner?: {
|
|
1660
|
+
message: NonNullable<ReactNode>;
|
|
1661
|
+
color?: string | (string & {}) | undefined;
|
|
1662
|
+
dismissible?: boolean | undefined;
|
|
1663
|
+
} | undefined;
|
|
1664
|
+
pageTitle?: string | undefined;
|
|
1665
|
+
logoUrl?: string | undefined;
|
|
1666
|
+
logo?: {
|
|
1667
|
+
src: {
|
|
1668
|
+
dark: string;
|
|
1669
|
+
light: string;
|
|
1670
|
+
};
|
|
1671
|
+
width?: string | number | undefined;
|
|
1672
|
+
alt?: string | undefined;
|
|
1673
|
+
} | undefined;
|
|
1674
|
+
showPoweredBy?: boolean | undefined;
|
|
1003
1675
|
} | undefined;
|
|
1004
1676
|
docs?: {
|
|
1005
1677
|
files: string;
|
|
@@ -1018,60 +1690,137 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1018
1690
|
type: "url";
|
|
1019
1691
|
input: string;
|
|
1020
1692
|
server?: string | undefined;
|
|
1693
|
+
id?: string | undefined;
|
|
1694
|
+
options?: {
|
|
1695
|
+
examplesLanguage?: string | undefined;
|
|
1696
|
+
disablePlayground?: boolean | undefined;
|
|
1697
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1698
|
+
expandAllTags?: boolean | undefined;
|
|
1699
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1700
|
+
} | undefined;
|
|
1021
1701
|
navigationId?: string | undefined;
|
|
1702
|
+
categories?: {
|
|
1703
|
+
tags: string[];
|
|
1704
|
+
label: string;
|
|
1705
|
+
}[] | undefined;
|
|
1022
1706
|
} | {
|
|
1023
1707
|
type: "file";
|
|
1024
|
-
input: string;
|
|
1708
|
+
input: string | string[];
|
|
1025
1709
|
server?: string | undefined;
|
|
1710
|
+
id?: string | undefined;
|
|
1711
|
+
options?: {
|
|
1712
|
+
examplesLanguage?: string | undefined;
|
|
1713
|
+
disablePlayground?: boolean | undefined;
|
|
1714
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1715
|
+
expandAllTags?: boolean | undefined;
|
|
1716
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1717
|
+
} | undefined;
|
|
1026
1718
|
navigationId?: string | undefined;
|
|
1719
|
+
categories?: {
|
|
1720
|
+
tags: string[];
|
|
1721
|
+
label: string;
|
|
1722
|
+
}[] | undefined;
|
|
1027
1723
|
} | {
|
|
1028
1724
|
type: "raw";
|
|
1029
1725
|
input: string;
|
|
1030
1726
|
server?: string | undefined;
|
|
1727
|
+
id?: string | undefined;
|
|
1728
|
+
options?: {
|
|
1729
|
+
examplesLanguage?: string | undefined;
|
|
1730
|
+
disablePlayground?: boolean | undefined;
|
|
1731
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1732
|
+
expandAllTags?: boolean | undefined;
|
|
1733
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1734
|
+
} | undefined;
|
|
1031
1735
|
navigationId?: string | undefined;
|
|
1736
|
+
categories?: {
|
|
1737
|
+
tags: string[];
|
|
1738
|
+
label: string;
|
|
1739
|
+
}[] | undefined;
|
|
1032
1740
|
} | ({
|
|
1033
1741
|
type: "url";
|
|
1034
1742
|
input: string;
|
|
1035
1743
|
server?: string | undefined;
|
|
1744
|
+
id?: string | undefined;
|
|
1745
|
+
options?: {
|
|
1746
|
+
examplesLanguage?: string | undefined;
|
|
1747
|
+
disablePlayground?: boolean | undefined;
|
|
1748
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1749
|
+
expandAllTags?: boolean | undefined;
|
|
1750
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1751
|
+
} | undefined;
|
|
1036
1752
|
navigationId?: string | undefined;
|
|
1753
|
+
categories?: {
|
|
1754
|
+
tags: string[];
|
|
1755
|
+
label: string;
|
|
1756
|
+
}[] | undefined;
|
|
1037
1757
|
} | {
|
|
1038
1758
|
type: "file";
|
|
1039
|
-
input: string;
|
|
1759
|
+
input: string | string[];
|
|
1040
1760
|
server?: string | undefined;
|
|
1761
|
+
id?: string | undefined;
|
|
1762
|
+
options?: {
|
|
1763
|
+
examplesLanguage?: string | undefined;
|
|
1764
|
+
disablePlayground?: boolean | undefined;
|
|
1765
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1766
|
+
expandAllTags?: boolean | undefined;
|
|
1767
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1768
|
+
} | undefined;
|
|
1041
1769
|
navigationId?: string | undefined;
|
|
1770
|
+
categories?: {
|
|
1771
|
+
tags: string[];
|
|
1772
|
+
label: string;
|
|
1773
|
+
}[] | undefined;
|
|
1042
1774
|
} | {
|
|
1043
1775
|
type: "raw";
|
|
1044
1776
|
input: string;
|
|
1045
1777
|
server?: string | undefined;
|
|
1778
|
+
id?: string | undefined;
|
|
1779
|
+
options?: {
|
|
1780
|
+
examplesLanguage?: string | undefined;
|
|
1781
|
+
disablePlayground?: boolean | undefined;
|
|
1782
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1783
|
+
expandAllTags?: boolean | undefined;
|
|
1784
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1785
|
+
} | undefined;
|
|
1046
1786
|
navigationId?: string | undefined;
|
|
1787
|
+
categories?: {
|
|
1788
|
+
tags: string[];
|
|
1789
|
+
label: string;
|
|
1790
|
+
}[] | undefined;
|
|
1047
1791
|
})[] | undefined;
|
|
1792
|
+
catalogs?: {
|
|
1793
|
+
label: string;
|
|
1794
|
+
navigationId: string;
|
|
1795
|
+
items?: string[] | undefined;
|
|
1796
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1797
|
+
} | {
|
|
1798
|
+
label: string;
|
|
1799
|
+
navigationId: string;
|
|
1800
|
+
items?: string[] | undefined;
|
|
1801
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
1802
|
+
}[] | undefined;
|
|
1048
1803
|
apiKeys?: {
|
|
1049
1804
|
enabled: boolean;
|
|
1050
1805
|
endpoint: string;
|
|
1051
1806
|
} | {
|
|
1052
1807
|
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;
|
|
1808
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1809
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1810
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1056
1811
|
updateKeyDescription?: ((apiKey: {
|
|
1057
1812
|
id: string;
|
|
1058
1813
|
description: string;
|
|
1059
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1814
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1060
1815
|
createKey?: ((apiKey: {
|
|
1061
1816
|
description: string;
|
|
1062
1817
|
expiresOn?: string;
|
|
1063
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1818
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1064
1819
|
} | undefined;
|
|
1065
1820
|
redirects?: {
|
|
1066
1821
|
from: string;
|
|
1067
1822
|
to: string;
|
|
1068
1823
|
}[] | undefined;
|
|
1069
|
-
customPages?: {
|
|
1070
|
-
path: string;
|
|
1071
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1072
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1073
|
-
prose?: boolean | undefined;
|
|
1074
|
-
}[] | undefined;
|
|
1075
1824
|
sitemap?: {
|
|
1076
1825
|
siteUrl: string;
|
|
1077
1826
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1080,12 +1829,9 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1829
|
autoLastmod?: boolean | undefined;
|
|
1081
1830
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1082
1831
|
} | undefined;
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1086
|
-
} | undefined;
|
|
1832
|
+
isZuplo?: boolean | undefined;
|
|
1833
|
+
enableStatusPages?: boolean | undefined;
|
|
1087
1834
|
}, {
|
|
1088
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1089
1835
|
search?: {
|
|
1090
1836
|
type: "inkeep";
|
|
1091
1837
|
apiKey: string;
|
|
@@ -1093,118 +1839,210 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1093
1839
|
organizationId: string;
|
|
1094
1840
|
primaryBrandColor: string;
|
|
1095
1841
|
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?: string | (string & {}) | undefined;
|
|
1112
|
-
dismissible?: boolean | undefined;
|
|
1842
|
+
} | {
|
|
1843
|
+
type: "pagefind";
|
|
1844
|
+
ranking?: {
|
|
1845
|
+
termFrequency: number;
|
|
1846
|
+
pageLength: number;
|
|
1847
|
+
termSimilarity: number;
|
|
1848
|
+
termSaturation: number;
|
|
1113
1849
|
} | undefined;
|
|
1850
|
+
maxResults?: number | undefined;
|
|
1851
|
+
maxSubResults?: number | undefined;
|
|
1852
|
+
transformResults?: ((data: {
|
|
1853
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
1854
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
1855
|
+
context: import("../../index.js").ZudokuContext;
|
|
1856
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1857
|
+
} | undefined;
|
|
1858
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
1859
|
+
defaults?: {
|
|
1860
|
+
apis: {
|
|
1861
|
+
examplesLanguage?: string | undefined;
|
|
1862
|
+
disablePlayground?: boolean | undefined;
|
|
1863
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1864
|
+
expandAllTags?: boolean | undefined;
|
|
1865
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
1866
|
+
};
|
|
1867
|
+
examplesLanguage?: string | undefined;
|
|
1868
|
+
} | undefined;
|
|
1869
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1870
|
+
metadata?: {
|
|
1871
|
+
description?: string | undefined;
|
|
1872
|
+
title?: string | undefined;
|
|
1873
|
+
logo?: string | undefined;
|
|
1874
|
+
favicon?: string | undefined;
|
|
1875
|
+
generator?: string | undefined;
|
|
1876
|
+
applicationName?: string | undefined;
|
|
1877
|
+
referrer?: string | undefined;
|
|
1878
|
+
keywords?: string[] | undefined;
|
|
1879
|
+
authors?: string[] | undefined;
|
|
1880
|
+
creator?: string | undefined;
|
|
1881
|
+
publisher?: string | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
authentication?: {
|
|
1884
|
+
type: "clerk";
|
|
1885
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1886
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1887
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1888
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1889
|
+
} | {
|
|
1890
|
+
type: "openid";
|
|
1891
|
+
clientId: string;
|
|
1892
|
+
issuer: string;
|
|
1893
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1894
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1895
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1896
|
+
audience?: string | undefined;
|
|
1897
|
+
scopes?: string[] | undefined;
|
|
1898
|
+
} | {
|
|
1899
|
+
type: "auth0";
|
|
1900
|
+
clientId: string;
|
|
1901
|
+
domain: string;
|
|
1902
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1903
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1904
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1905
|
+
audience?: string | undefined;
|
|
1906
|
+
} | {
|
|
1907
|
+
type: "supabase";
|
|
1908
|
+
supabaseUrl: string;
|
|
1909
|
+
supabaseKey: string;
|
|
1910
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
1911
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1912
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1913
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1114
1914
|
} | undefined;
|
|
1115
1915
|
topNavigation?: {
|
|
1116
1916
|
id: string;
|
|
1117
1917
|
label: string;
|
|
1118
1918
|
default?: string | undefined;
|
|
1119
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1919
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1120
1920
|
}[] | undefined;
|
|
1121
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1122
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1123
1921
|
theme?: {
|
|
1124
|
-
|
|
1922
|
+
dark?: {
|
|
1125
1923
|
input?: string | undefined;
|
|
1924
|
+
radius?: string | undefined;
|
|
1925
|
+
destructive?: string | undefined;
|
|
1926
|
+
secondary?: string | undefined;
|
|
1927
|
+
popover?: string | undefined;
|
|
1928
|
+
border?: string | undefined;
|
|
1126
1929
|
background?: string | undefined;
|
|
1127
1930
|
foreground?: string | undefined;
|
|
1128
1931
|
card?: string | undefined;
|
|
1129
1932
|
cardForeground?: string | undefined;
|
|
1130
|
-
popover?: string | undefined;
|
|
1131
1933
|
popoverForeground?: string | undefined;
|
|
1132
1934
|
primary?: string | undefined;
|
|
1133
1935
|
primaryForeground?: string | undefined;
|
|
1134
|
-
secondary?: string | undefined;
|
|
1135
1936
|
secondaryForeground?: string | undefined;
|
|
1136
1937
|
muted?: string | undefined;
|
|
1137
1938
|
mutedForeground?: string | undefined;
|
|
1138
1939
|
accent?: string | undefined;
|
|
1139
1940
|
accentForeground?: string | undefined;
|
|
1140
|
-
destructive?: string | undefined;
|
|
1141
1941
|
destructiveForeground?: string | undefined;
|
|
1142
|
-
border?: string | undefined;
|
|
1143
1942
|
ring?: string | undefined;
|
|
1144
|
-
radius?: string | undefined;
|
|
1145
1943
|
} | undefined;
|
|
1146
|
-
|
|
1944
|
+
light?: {
|
|
1147
1945
|
input?: string | undefined;
|
|
1946
|
+
radius?: string | undefined;
|
|
1947
|
+
destructive?: string | undefined;
|
|
1948
|
+
secondary?: string | undefined;
|
|
1949
|
+
popover?: string | undefined;
|
|
1950
|
+
border?: string | undefined;
|
|
1148
1951
|
background?: string | undefined;
|
|
1149
1952
|
foreground?: string | undefined;
|
|
1150
1953
|
card?: string | undefined;
|
|
1151
1954
|
cardForeground?: string | undefined;
|
|
1152
|
-
popover?: string | undefined;
|
|
1153
1955
|
popoverForeground?: string | undefined;
|
|
1154
1956
|
primary?: string | undefined;
|
|
1155
1957
|
primaryForeground?: string | undefined;
|
|
1156
|
-
secondary?: string | undefined;
|
|
1157
1958
|
secondaryForeground?: string | undefined;
|
|
1158
1959
|
muted?: string | undefined;
|
|
1159
1960
|
mutedForeground?: string | undefined;
|
|
1160
1961
|
accent?: string | undefined;
|
|
1161
1962
|
accentForeground?: string | undefined;
|
|
1162
|
-
destructive?: string | undefined;
|
|
1163
1963
|
destructiveForeground?: string | undefined;
|
|
1164
|
-
border?: string | undefined;
|
|
1165
1964
|
ring?: string | undefined;
|
|
1166
|
-
radius?: string | undefined;
|
|
1167
1965
|
} | undefined;
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
authors?: string[] | undefined;
|
|
1179
|
-
creator?: string | undefined;
|
|
1180
|
-
publisher?: string | undefined;
|
|
1966
|
+
fonts?: {
|
|
1967
|
+
sans?: {
|
|
1968
|
+
url: string;
|
|
1969
|
+
fontFamily: string;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
mono?: {
|
|
1972
|
+
url: string;
|
|
1973
|
+
fontFamily: string;
|
|
1974
|
+
} | undefined;
|
|
1975
|
+
} | undefined;
|
|
1181
1976
|
} | undefined;
|
|
1182
1977
|
mdx?: {
|
|
1183
|
-
components?:
|
|
1978
|
+
components?: MdxComponentsType;
|
|
1184
1979
|
} | undefined;
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
} |
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1980
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1981
|
+
customPages?: {
|
|
1982
|
+
path: string;
|
|
1983
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1984
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1985
|
+
prose?: boolean | undefined;
|
|
1986
|
+
}[] | undefined;
|
|
1987
|
+
build?: {
|
|
1988
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1989
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
protectedRoutes?: string[] | undefined;
|
|
1992
|
+
basePath?: string | undefined;
|
|
1993
|
+
canonicalUrlOrigin?: string | undefined;
|
|
1994
|
+
cdnUrl?: string | {
|
|
1995
|
+
base?: string | undefined;
|
|
1996
|
+
media?: string | undefined;
|
|
1997
|
+
} | undefined;
|
|
1998
|
+
port?: number | undefined;
|
|
1999
|
+
https?: {
|
|
2000
|
+
key: string;
|
|
2001
|
+
cert: string;
|
|
2002
|
+
ca?: string | undefined;
|
|
2003
|
+
} | undefined;
|
|
2004
|
+
page?: {
|
|
2005
|
+
footer?: {
|
|
2006
|
+
columns?: {
|
|
2007
|
+
title: string;
|
|
2008
|
+
links: {
|
|
2009
|
+
label: string;
|
|
2010
|
+
href: string;
|
|
2011
|
+
}[];
|
|
2012
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2013
|
+
}[] | undefined;
|
|
2014
|
+
copyright?: string | undefined;
|
|
2015
|
+
logo?: {
|
|
2016
|
+
src: {
|
|
2017
|
+
dark: string;
|
|
2018
|
+
light: string;
|
|
2019
|
+
};
|
|
2020
|
+
width?: string | number | undefined;
|
|
2021
|
+
alt?: string | undefined;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2024
|
+
social?: {
|
|
2025
|
+
href: string;
|
|
2026
|
+
label?: string | undefined;
|
|
2027
|
+
icon?: ReactNode;
|
|
2028
|
+
}[] | undefined;
|
|
2029
|
+
} | undefined;
|
|
2030
|
+
banner?: {
|
|
2031
|
+
message: NonNullable<ReactNode>;
|
|
2032
|
+
color?: string | (string & {}) | undefined;
|
|
2033
|
+
dismissible?: boolean | undefined;
|
|
2034
|
+
} | undefined;
|
|
2035
|
+
pageTitle?: string | undefined;
|
|
2036
|
+
logoUrl?: string | undefined;
|
|
2037
|
+
logo?: {
|
|
2038
|
+
src: {
|
|
2039
|
+
dark: string;
|
|
2040
|
+
light: string;
|
|
2041
|
+
};
|
|
2042
|
+
width?: string | number | undefined;
|
|
2043
|
+
alt?: string | undefined;
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
showPoweredBy?: boolean | undefined;
|
|
1208
2046
|
} | undefined;
|
|
1209
2047
|
docs?: {
|
|
1210
2048
|
files: string;
|
|
@@ -1223,60 +2061,137 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1223
2061
|
type: "url";
|
|
1224
2062
|
input: string;
|
|
1225
2063
|
server?: string | undefined;
|
|
2064
|
+
id?: string | undefined;
|
|
2065
|
+
options?: {
|
|
2066
|
+
examplesLanguage?: string | undefined;
|
|
2067
|
+
disablePlayground?: boolean | undefined;
|
|
2068
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2069
|
+
expandAllTags?: boolean | undefined;
|
|
2070
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2071
|
+
} | undefined;
|
|
1226
2072
|
navigationId?: string | undefined;
|
|
2073
|
+
categories?: {
|
|
2074
|
+
tags: string[];
|
|
2075
|
+
label: string;
|
|
2076
|
+
}[] | undefined;
|
|
1227
2077
|
} | {
|
|
1228
2078
|
type: "file";
|
|
1229
|
-
input: string;
|
|
2079
|
+
input: string | string[];
|
|
1230
2080
|
server?: string | undefined;
|
|
2081
|
+
id?: string | undefined;
|
|
2082
|
+
options?: {
|
|
2083
|
+
examplesLanguage?: string | undefined;
|
|
2084
|
+
disablePlayground?: boolean | undefined;
|
|
2085
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2086
|
+
expandAllTags?: boolean | undefined;
|
|
2087
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2088
|
+
} | undefined;
|
|
1231
2089
|
navigationId?: string | undefined;
|
|
2090
|
+
categories?: {
|
|
2091
|
+
tags: string[];
|
|
2092
|
+
label: string;
|
|
2093
|
+
}[] | undefined;
|
|
1232
2094
|
} | {
|
|
1233
2095
|
type: "raw";
|
|
1234
2096
|
input: string;
|
|
1235
2097
|
server?: string | undefined;
|
|
2098
|
+
id?: string | undefined;
|
|
2099
|
+
options?: {
|
|
2100
|
+
examplesLanguage?: string | undefined;
|
|
2101
|
+
disablePlayground?: boolean | undefined;
|
|
2102
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2103
|
+
expandAllTags?: boolean | undefined;
|
|
2104
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2105
|
+
} | undefined;
|
|
1236
2106
|
navigationId?: string | undefined;
|
|
2107
|
+
categories?: {
|
|
2108
|
+
tags: string[];
|
|
2109
|
+
label: string;
|
|
2110
|
+
}[] | undefined;
|
|
1237
2111
|
} | ({
|
|
1238
2112
|
type: "url";
|
|
1239
2113
|
input: string;
|
|
1240
2114
|
server?: string | undefined;
|
|
2115
|
+
id?: string | undefined;
|
|
2116
|
+
options?: {
|
|
2117
|
+
examplesLanguage?: string | undefined;
|
|
2118
|
+
disablePlayground?: boolean | undefined;
|
|
2119
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2120
|
+
expandAllTags?: boolean | undefined;
|
|
2121
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2122
|
+
} | undefined;
|
|
1241
2123
|
navigationId?: string | undefined;
|
|
2124
|
+
categories?: {
|
|
2125
|
+
tags: string[];
|
|
2126
|
+
label: string;
|
|
2127
|
+
}[] | undefined;
|
|
1242
2128
|
} | {
|
|
1243
2129
|
type: "file";
|
|
1244
|
-
input: string;
|
|
2130
|
+
input: string | string[];
|
|
1245
2131
|
server?: string | undefined;
|
|
2132
|
+
id?: string | undefined;
|
|
2133
|
+
options?: {
|
|
2134
|
+
examplesLanguage?: string | undefined;
|
|
2135
|
+
disablePlayground?: boolean | undefined;
|
|
2136
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2137
|
+
expandAllTags?: boolean | undefined;
|
|
2138
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2139
|
+
} | undefined;
|
|
1246
2140
|
navigationId?: string | undefined;
|
|
2141
|
+
categories?: {
|
|
2142
|
+
tags: string[];
|
|
2143
|
+
label: string;
|
|
2144
|
+
}[] | undefined;
|
|
1247
2145
|
} | {
|
|
1248
2146
|
type: "raw";
|
|
1249
2147
|
input: string;
|
|
1250
2148
|
server?: string | undefined;
|
|
2149
|
+
id?: string | undefined;
|
|
2150
|
+
options?: {
|
|
2151
|
+
examplesLanguage?: string | undefined;
|
|
2152
|
+
disablePlayground?: boolean | undefined;
|
|
2153
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2154
|
+
expandAllTags?: boolean | undefined;
|
|
2155
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2156
|
+
} | undefined;
|
|
1251
2157
|
navigationId?: string | undefined;
|
|
2158
|
+
categories?: {
|
|
2159
|
+
tags: string[];
|
|
2160
|
+
label: string;
|
|
2161
|
+
}[] | undefined;
|
|
1252
2162
|
})[] | undefined;
|
|
2163
|
+
catalogs?: {
|
|
2164
|
+
label: string;
|
|
2165
|
+
navigationId: string;
|
|
2166
|
+
items?: string[] | undefined;
|
|
2167
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2168
|
+
} | {
|
|
2169
|
+
label: string;
|
|
2170
|
+
navigationId: string;
|
|
2171
|
+
items?: string[] | undefined;
|
|
2172
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2173
|
+
}[] | undefined;
|
|
1253
2174
|
apiKeys?: {
|
|
1254
2175
|
enabled: boolean;
|
|
1255
2176
|
endpoint: string;
|
|
1256
2177
|
} | {
|
|
1257
2178
|
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;
|
|
2179
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
2180
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
2181
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1261
2182
|
updateKeyDescription?: ((apiKey: {
|
|
1262
2183
|
id: string;
|
|
1263
2184
|
description: string;
|
|
1264
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2185
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1265
2186
|
createKey?: ((apiKey: {
|
|
1266
2187
|
description: string;
|
|
1267
2188
|
expiresOn?: string;
|
|
1268
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2189
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1269
2190
|
} | undefined;
|
|
1270
2191
|
redirects?: {
|
|
1271
2192
|
from: string;
|
|
1272
2193
|
to: string;
|
|
1273
2194
|
}[] | undefined;
|
|
1274
|
-
customPages?: {
|
|
1275
|
-
path: string;
|
|
1276
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1277
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1278
|
-
prose?: boolean | undefined;
|
|
1279
|
-
}[] | undefined;
|
|
1280
2195
|
sitemap?: {
|
|
1281
2196
|
siteUrl: string;
|
|
1282
2197
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1285,12 +2200,9 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1285
2200
|
autoLastmod?: boolean | undefined;
|
|
1286
2201
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1287
2202
|
} | undefined;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1291
|
-
} | undefined;
|
|
2203
|
+
isZuplo?: boolean | undefined;
|
|
2204
|
+
enableStatusPages?: boolean | undefined;
|
|
1292
2205
|
}>, {
|
|
1293
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1294
2206
|
search?: {
|
|
1295
2207
|
type: "inkeep";
|
|
1296
2208
|
apiKey: string;
|
|
@@ -1298,118 +2210,210 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1298
2210
|
organizationId: string;
|
|
1299
2211
|
primaryBrandColor: string;
|
|
1300
2212
|
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?: string | (string & {}) | undefined;
|
|
1317
|
-
dismissible?: boolean | undefined;
|
|
2213
|
+
} | {
|
|
2214
|
+
type: "pagefind";
|
|
2215
|
+
ranking?: {
|
|
2216
|
+
termFrequency: number;
|
|
2217
|
+
pageLength: number;
|
|
2218
|
+
termSimilarity: number;
|
|
2219
|
+
termSaturation: number;
|
|
1318
2220
|
} | undefined;
|
|
2221
|
+
maxResults?: number | undefined;
|
|
2222
|
+
maxSubResults?: number | undefined;
|
|
2223
|
+
transformResults?: ((data: {
|
|
2224
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
2225
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
2226
|
+
context: import("../../index.js").ZudokuContext;
|
|
2227
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2228
|
+
} | undefined;
|
|
2229
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
2230
|
+
defaults?: {
|
|
2231
|
+
apis: {
|
|
2232
|
+
examplesLanguage?: string | undefined;
|
|
2233
|
+
disablePlayground?: boolean | undefined;
|
|
2234
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2235
|
+
expandAllTags?: boolean | undefined;
|
|
2236
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2237
|
+
};
|
|
2238
|
+
examplesLanguage?: string | undefined;
|
|
2239
|
+
} | undefined;
|
|
2240
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2241
|
+
metadata?: {
|
|
2242
|
+
description?: string | undefined;
|
|
2243
|
+
title?: string | undefined;
|
|
2244
|
+
logo?: string | undefined;
|
|
2245
|
+
favicon?: string | undefined;
|
|
2246
|
+
generator?: string | undefined;
|
|
2247
|
+
applicationName?: string | undefined;
|
|
2248
|
+
referrer?: string | undefined;
|
|
2249
|
+
keywords?: string[] | undefined;
|
|
2250
|
+
authors?: string[] | undefined;
|
|
2251
|
+
creator?: string | undefined;
|
|
2252
|
+
publisher?: string | undefined;
|
|
2253
|
+
} | undefined;
|
|
2254
|
+
authentication?: {
|
|
2255
|
+
type: "clerk";
|
|
2256
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2257
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2258
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2259
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2260
|
+
} | {
|
|
2261
|
+
type: "openid";
|
|
2262
|
+
clientId: string;
|
|
2263
|
+
issuer: string;
|
|
2264
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2265
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2266
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2267
|
+
audience?: string | undefined;
|
|
2268
|
+
scopes?: string[] | undefined;
|
|
2269
|
+
} | {
|
|
2270
|
+
type: "auth0";
|
|
2271
|
+
clientId: string;
|
|
2272
|
+
domain: string;
|
|
2273
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2274
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2275
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2276
|
+
audience?: string | undefined;
|
|
2277
|
+
} | {
|
|
2278
|
+
type: "supabase";
|
|
2279
|
+
supabaseUrl: string;
|
|
2280
|
+
supabaseKey: string;
|
|
2281
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2282
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2283
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2284
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1319
2285
|
} | undefined;
|
|
1320
2286
|
topNavigation?: {
|
|
1321
2287
|
id: string;
|
|
1322
2288
|
label: string;
|
|
1323
2289
|
default?: string | undefined;
|
|
1324
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2290
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1325
2291
|
}[] | undefined;
|
|
1326
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1327
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1328
2292
|
theme?: {
|
|
1329
|
-
|
|
2293
|
+
dark?: {
|
|
1330
2294
|
input?: string | undefined;
|
|
2295
|
+
radius?: string | undefined;
|
|
2296
|
+
destructive?: string | undefined;
|
|
2297
|
+
secondary?: string | undefined;
|
|
2298
|
+
popover?: string | undefined;
|
|
2299
|
+
border?: string | undefined;
|
|
1331
2300
|
background?: string | undefined;
|
|
1332
2301
|
foreground?: string | undefined;
|
|
1333
2302
|
card?: string | undefined;
|
|
1334
2303
|
cardForeground?: string | undefined;
|
|
1335
|
-
popover?: string | undefined;
|
|
1336
2304
|
popoverForeground?: string | undefined;
|
|
1337
2305
|
primary?: string | undefined;
|
|
1338
2306
|
primaryForeground?: string | undefined;
|
|
1339
|
-
secondary?: string | undefined;
|
|
1340
2307
|
secondaryForeground?: string | undefined;
|
|
1341
2308
|
muted?: string | undefined;
|
|
1342
2309
|
mutedForeground?: string | undefined;
|
|
1343
2310
|
accent?: string | undefined;
|
|
1344
2311
|
accentForeground?: string | undefined;
|
|
1345
|
-
destructive?: string | undefined;
|
|
1346
2312
|
destructiveForeground?: string | undefined;
|
|
1347
|
-
border?: string | undefined;
|
|
1348
2313
|
ring?: string | undefined;
|
|
1349
|
-
radius?: string | undefined;
|
|
1350
2314
|
} | undefined;
|
|
1351
|
-
|
|
2315
|
+
light?: {
|
|
1352
2316
|
input?: string | undefined;
|
|
2317
|
+
radius?: string | undefined;
|
|
2318
|
+
destructive?: string | undefined;
|
|
2319
|
+
secondary?: string | undefined;
|
|
2320
|
+
popover?: string | undefined;
|
|
2321
|
+
border?: string | undefined;
|
|
1353
2322
|
background?: string | undefined;
|
|
1354
2323
|
foreground?: string | undefined;
|
|
1355
2324
|
card?: string | undefined;
|
|
1356
2325
|
cardForeground?: string | undefined;
|
|
1357
|
-
popover?: string | undefined;
|
|
1358
2326
|
popoverForeground?: string | undefined;
|
|
1359
2327
|
primary?: string | undefined;
|
|
1360
2328
|
primaryForeground?: string | undefined;
|
|
1361
|
-
secondary?: string | undefined;
|
|
1362
2329
|
secondaryForeground?: string | undefined;
|
|
1363
2330
|
muted?: string | undefined;
|
|
1364
2331
|
mutedForeground?: string | undefined;
|
|
1365
2332
|
accent?: string | undefined;
|
|
1366
2333
|
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;
|
|
2334
|
+
destructiveForeground?: string | undefined;
|
|
2335
|
+
ring?: string | undefined;
|
|
2336
|
+
} | undefined;
|
|
2337
|
+
fonts?: {
|
|
2338
|
+
sans?: {
|
|
2339
|
+
url: string;
|
|
2340
|
+
fontFamily: string;
|
|
2341
|
+
} | undefined;
|
|
2342
|
+
mono?: {
|
|
2343
|
+
url: string;
|
|
2344
|
+
fontFamily: string;
|
|
2345
|
+
} | undefined;
|
|
2346
|
+
} | undefined;
|
|
1386
2347
|
} | undefined;
|
|
1387
2348
|
mdx?: {
|
|
1388
|
-
components?:
|
|
2349
|
+
components?: MdxComponentsType;
|
|
1389
2350
|
} | undefined;
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
} |
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
2351
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
2352
|
+
customPages?: {
|
|
2353
|
+
path: string;
|
|
2354
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
2355
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
2356
|
+
prose?: boolean | undefined;
|
|
2357
|
+
}[] | undefined;
|
|
2358
|
+
build?: {
|
|
2359
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
2360
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
2361
|
+
} | undefined;
|
|
2362
|
+
protectedRoutes?: string[] | undefined;
|
|
2363
|
+
basePath?: string | undefined;
|
|
2364
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2365
|
+
cdnUrl?: {
|
|
2366
|
+
base: string | undefined;
|
|
2367
|
+
media: string | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
port?: number | undefined;
|
|
2370
|
+
https?: {
|
|
2371
|
+
key: string;
|
|
2372
|
+
cert: string;
|
|
2373
|
+
ca?: string | undefined;
|
|
2374
|
+
} | undefined;
|
|
2375
|
+
page?: {
|
|
2376
|
+
footer?: {
|
|
2377
|
+
columns?: {
|
|
2378
|
+
title: string;
|
|
2379
|
+
links: {
|
|
2380
|
+
label: string;
|
|
2381
|
+
href: string;
|
|
2382
|
+
}[];
|
|
2383
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2384
|
+
}[] | undefined;
|
|
2385
|
+
copyright?: string | undefined;
|
|
2386
|
+
logo?: {
|
|
2387
|
+
src: {
|
|
2388
|
+
dark: string;
|
|
2389
|
+
light: string;
|
|
2390
|
+
};
|
|
2391
|
+
width?: string | number | undefined;
|
|
2392
|
+
alt?: string | undefined;
|
|
2393
|
+
} | undefined;
|
|
2394
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2395
|
+
social?: {
|
|
2396
|
+
href: string;
|
|
2397
|
+
label?: string | undefined;
|
|
2398
|
+
icon?: ReactNode;
|
|
2399
|
+
}[] | undefined;
|
|
2400
|
+
} | undefined;
|
|
2401
|
+
banner?: {
|
|
2402
|
+
message: NonNullable<ReactNode>;
|
|
2403
|
+
color?: string | (string & {}) | undefined;
|
|
2404
|
+
dismissible?: boolean | undefined;
|
|
2405
|
+
} | undefined;
|
|
2406
|
+
pageTitle?: string | undefined;
|
|
2407
|
+
logoUrl?: string | undefined;
|
|
2408
|
+
logo?: {
|
|
2409
|
+
src: {
|
|
2410
|
+
dark: string;
|
|
2411
|
+
light: string;
|
|
2412
|
+
};
|
|
2413
|
+
width?: string | number | undefined;
|
|
2414
|
+
alt?: string | undefined;
|
|
2415
|
+
} | undefined;
|
|
2416
|
+
showPoweredBy?: boolean | undefined;
|
|
1413
2417
|
} | undefined;
|
|
1414
2418
|
docs?: {
|
|
1415
2419
|
files: string;
|
|
@@ -1428,60 +2432,137 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
2432
|
type: "url";
|
|
1429
2433
|
input: string;
|
|
1430
2434
|
server?: string | undefined;
|
|
2435
|
+
id?: string | undefined;
|
|
2436
|
+
options?: {
|
|
2437
|
+
examplesLanguage?: string | undefined;
|
|
2438
|
+
disablePlayground?: boolean | undefined;
|
|
2439
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2440
|
+
expandAllTags?: boolean | undefined;
|
|
2441
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2442
|
+
} | undefined;
|
|
1431
2443
|
navigationId?: string | undefined;
|
|
2444
|
+
categories?: {
|
|
2445
|
+
tags: string[];
|
|
2446
|
+
label: string;
|
|
2447
|
+
}[] | undefined;
|
|
1432
2448
|
} | {
|
|
1433
2449
|
type: "file";
|
|
1434
|
-
input: string;
|
|
2450
|
+
input: string | string[];
|
|
1435
2451
|
server?: string | undefined;
|
|
2452
|
+
id?: string | undefined;
|
|
2453
|
+
options?: {
|
|
2454
|
+
examplesLanguage?: string | undefined;
|
|
2455
|
+
disablePlayground?: boolean | undefined;
|
|
2456
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2457
|
+
expandAllTags?: boolean | undefined;
|
|
2458
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2459
|
+
} | undefined;
|
|
1436
2460
|
navigationId?: string | undefined;
|
|
2461
|
+
categories?: {
|
|
2462
|
+
tags: string[];
|
|
2463
|
+
label: string;
|
|
2464
|
+
}[] | undefined;
|
|
1437
2465
|
} | {
|
|
1438
2466
|
type: "raw";
|
|
1439
2467
|
input: string;
|
|
1440
2468
|
server?: string | undefined;
|
|
2469
|
+
id?: string | undefined;
|
|
2470
|
+
options?: {
|
|
2471
|
+
examplesLanguage?: string | undefined;
|
|
2472
|
+
disablePlayground?: boolean | undefined;
|
|
2473
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2474
|
+
expandAllTags?: boolean | undefined;
|
|
2475
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2476
|
+
} | undefined;
|
|
1441
2477
|
navigationId?: string | undefined;
|
|
2478
|
+
categories?: {
|
|
2479
|
+
tags: string[];
|
|
2480
|
+
label: string;
|
|
2481
|
+
}[] | undefined;
|
|
1442
2482
|
} | ({
|
|
1443
2483
|
type: "url";
|
|
1444
2484
|
input: string;
|
|
1445
2485
|
server?: string | undefined;
|
|
2486
|
+
id?: string | undefined;
|
|
2487
|
+
options?: {
|
|
2488
|
+
examplesLanguage?: string | undefined;
|
|
2489
|
+
disablePlayground?: boolean | undefined;
|
|
2490
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2491
|
+
expandAllTags?: boolean | undefined;
|
|
2492
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2493
|
+
} | undefined;
|
|
1446
2494
|
navigationId?: string | undefined;
|
|
2495
|
+
categories?: {
|
|
2496
|
+
tags: string[];
|
|
2497
|
+
label: string;
|
|
2498
|
+
}[] | undefined;
|
|
1447
2499
|
} | {
|
|
1448
2500
|
type: "file";
|
|
1449
|
-
input: string;
|
|
2501
|
+
input: string | string[];
|
|
1450
2502
|
server?: string | undefined;
|
|
2503
|
+
id?: string | undefined;
|
|
2504
|
+
options?: {
|
|
2505
|
+
examplesLanguage?: string | undefined;
|
|
2506
|
+
disablePlayground?: boolean | undefined;
|
|
2507
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2508
|
+
expandAllTags?: boolean | undefined;
|
|
2509
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2510
|
+
} | undefined;
|
|
1451
2511
|
navigationId?: string | undefined;
|
|
2512
|
+
categories?: {
|
|
2513
|
+
tags: string[];
|
|
2514
|
+
label: string;
|
|
2515
|
+
}[] | undefined;
|
|
1452
2516
|
} | {
|
|
1453
2517
|
type: "raw";
|
|
1454
2518
|
input: string;
|
|
1455
2519
|
server?: string | undefined;
|
|
2520
|
+
id?: string | undefined;
|
|
2521
|
+
options?: {
|
|
2522
|
+
examplesLanguage?: string | undefined;
|
|
2523
|
+
disablePlayground?: boolean | undefined;
|
|
2524
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2525
|
+
expandAllTags?: boolean | undefined;
|
|
2526
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2527
|
+
} | undefined;
|
|
1456
2528
|
navigationId?: string | undefined;
|
|
2529
|
+
categories?: {
|
|
2530
|
+
tags: string[];
|
|
2531
|
+
label: string;
|
|
2532
|
+
}[] | undefined;
|
|
1457
2533
|
})[] | undefined;
|
|
2534
|
+
catalogs?: {
|
|
2535
|
+
label: string;
|
|
2536
|
+
navigationId: string;
|
|
2537
|
+
items?: string[] | undefined;
|
|
2538
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2539
|
+
} | {
|
|
2540
|
+
label: string;
|
|
2541
|
+
navigationId: string;
|
|
2542
|
+
items?: string[] | undefined;
|
|
2543
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2544
|
+
}[] | undefined;
|
|
1458
2545
|
apiKeys?: {
|
|
1459
2546
|
enabled: boolean;
|
|
1460
2547
|
endpoint: string;
|
|
1461
2548
|
} | {
|
|
1462
2549
|
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;
|
|
2550
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
2551
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
2552
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1466
2553
|
updateKeyDescription?: ((apiKey: {
|
|
1467
2554
|
id: string;
|
|
1468
2555
|
description: string;
|
|
1469
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2556
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1470
2557
|
createKey?: ((apiKey: {
|
|
1471
2558
|
description: string;
|
|
1472
2559
|
expiresOn?: string;
|
|
1473
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2560
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1474
2561
|
} | undefined;
|
|
1475
2562
|
redirects?: {
|
|
1476
2563
|
from: string;
|
|
1477
2564
|
to: string;
|
|
1478
2565
|
}[] | undefined;
|
|
1479
|
-
customPages?: {
|
|
1480
|
-
path: string;
|
|
1481
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1482
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1483
|
-
prose?: boolean | undefined;
|
|
1484
|
-
}[] | undefined;
|
|
1485
2566
|
sitemap?: {
|
|
1486
2567
|
siteUrl: string;
|
|
1487
2568
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1490,12 +2571,9 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1490
2571
|
autoLastmod?: boolean | undefined;
|
|
1491
2572
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1492
2573
|
} | undefined;
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1496
|
-
} | undefined;
|
|
2574
|
+
isZuplo?: boolean | undefined;
|
|
2575
|
+
enableStatusPages?: boolean | undefined;
|
|
1497
2576
|
}, {
|
|
1498
|
-
plugins?: ZudokuPlugin[] | undefined;
|
|
1499
2577
|
search?: {
|
|
1500
2578
|
type: "inkeep";
|
|
1501
2579
|
apiKey: string;
|
|
@@ -1503,118 +2581,210 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1503
2581
|
organizationId: string;
|
|
1504
2582
|
primaryBrandColor: string;
|
|
1505
2583
|
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?: string | (string & {}) | undefined;
|
|
1522
|
-
dismissible?: boolean | undefined;
|
|
2584
|
+
} | {
|
|
2585
|
+
type: "pagefind";
|
|
2586
|
+
ranking?: {
|
|
2587
|
+
termFrequency: number;
|
|
2588
|
+
pageLength: number;
|
|
2589
|
+
termSimilarity: number;
|
|
2590
|
+
termSaturation: number;
|
|
1523
2591
|
} | undefined;
|
|
2592
|
+
maxResults?: number | undefined;
|
|
2593
|
+
maxSubResults?: number | undefined;
|
|
2594
|
+
transformResults?: ((data: {
|
|
2595
|
+
result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment;
|
|
2596
|
+
auth: import("../../lib/authentication/state.js").AuthState;
|
|
2597
|
+
context: import("../../index.js").ZudokuContext;
|
|
2598
|
+
}) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2599
|
+
} | undefined;
|
|
2600
|
+
plugins?: ZudokuPlugin[] | undefined;
|
|
2601
|
+
defaults?: {
|
|
2602
|
+
apis: {
|
|
2603
|
+
examplesLanguage?: string | undefined;
|
|
2604
|
+
disablePlayground?: boolean | undefined;
|
|
2605
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2606
|
+
expandAllTags?: boolean | undefined;
|
|
2607
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2608
|
+
};
|
|
2609
|
+
examplesLanguage?: string | undefined;
|
|
2610
|
+
} | undefined;
|
|
2611
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2612
|
+
metadata?: {
|
|
2613
|
+
description?: string | undefined;
|
|
2614
|
+
title?: string | undefined;
|
|
2615
|
+
logo?: string | undefined;
|
|
2616
|
+
favicon?: string | undefined;
|
|
2617
|
+
generator?: string | undefined;
|
|
2618
|
+
applicationName?: string | undefined;
|
|
2619
|
+
referrer?: string | undefined;
|
|
2620
|
+
keywords?: string[] | undefined;
|
|
2621
|
+
authors?: string[] | undefined;
|
|
2622
|
+
creator?: string | undefined;
|
|
2623
|
+
publisher?: string | undefined;
|
|
2624
|
+
} | undefined;
|
|
2625
|
+
authentication?: {
|
|
2626
|
+
type: "clerk";
|
|
2627
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2628
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2629
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2630
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2631
|
+
} | {
|
|
2632
|
+
type: "openid";
|
|
2633
|
+
clientId: string;
|
|
2634
|
+
issuer: string;
|
|
2635
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2636
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2637
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2638
|
+
audience?: string | undefined;
|
|
2639
|
+
scopes?: string[] | undefined;
|
|
2640
|
+
} | {
|
|
2641
|
+
type: "auth0";
|
|
2642
|
+
clientId: string;
|
|
2643
|
+
domain: string;
|
|
2644
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2645
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2646
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2647
|
+
audience?: string | undefined;
|
|
2648
|
+
} | {
|
|
2649
|
+
type: "supabase";
|
|
2650
|
+
supabaseUrl: string;
|
|
2651
|
+
supabaseKey: string;
|
|
2652
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2653
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2654
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2655
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1524
2656
|
} | undefined;
|
|
1525
2657
|
topNavigation?: {
|
|
1526
2658
|
id: string;
|
|
1527
2659
|
label: string;
|
|
1528
2660
|
default?: string | undefined;
|
|
1529
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2661
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1530
2662
|
}[] | undefined;
|
|
1531
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1532
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1533
2663
|
theme?: {
|
|
1534
|
-
|
|
2664
|
+
dark?: {
|
|
1535
2665
|
input?: string | undefined;
|
|
2666
|
+
radius?: string | undefined;
|
|
2667
|
+
destructive?: string | undefined;
|
|
2668
|
+
secondary?: string | undefined;
|
|
2669
|
+
popover?: string | undefined;
|
|
2670
|
+
border?: string | undefined;
|
|
1536
2671
|
background?: string | undefined;
|
|
1537
2672
|
foreground?: string | undefined;
|
|
1538
2673
|
card?: string | undefined;
|
|
1539
2674
|
cardForeground?: string | undefined;
|
|
1540
|
-
popover?: string | undefined;
|
|
1541
2675
|
popoverForeground?: string | undefined;
|
|
1542
2676
|
primary?: string | undefined;
|
|
1543
2677
|
primaryForeground?: string | undefined;
|
|
1544
|
-
secondary?: string | undefined;
|
|
1545
2678
|
secondaryForeground?: string | undefined;
|
|
1546
2679
|
muted?: string | undefined;
|
|
1547
2680
|
mutedForeground?: string | undefined;
|
|
1548
2681
|
accent?: string | undefined;
|
|
1549
2682
|
accentForeground?: string | undefined;
|
|
1550
|
-
destructive?: string | undefined;
|
|
1551
2683
|
destructiveForeground?: string | undefined;
|
|
1552
|
-
border?: string | undefined;
|
|
1553
2684
|
ring?: string | undefined;
|
|
1554
|
-
radius?: string | undefined;
|
|
1555
2685
|
} | undefined;
|
|
1556
|
-
|
|
2686
|
+
light?: {
|
|
1557
2687
|
input?: string | undefined;
|
|
2688
|
+
radius?: string | undefined;
|
|
2689
|
+
destructive?: string | undefined;
|
|
2690
|
+
secondary?: string | undefined;
|
|
2691
|
+
popover?: string | undefined;
|
|
2692
|
+
border?: string | undefined;
|
|
1558
2693
|
background?: string | undefined;
|
|
1559
2694
|
foreground?: string | undefined;
|
|
1560
2695
|
card?: string | undefined;
|
|
1561
2696
|
cardForeground?: string | undefined;
|
|
1562
|
-
popover?: string | undefined;
|
|
1563
2697
|
popoverForeground?: string | undefined;
|
|
1564
2698
|
primary?: string | undefined;
|
|
1565
2699
|
primaryForeground?: string | undefined;
|
|
1566
|
-
secondary?: string | undefined;
|
|
1567
2700
|
secondaryForeground?: string | undefined;
|
|
1568
2701
|
muted?: string | undefined;
|
|
1569
2702
|
mutedForeground?: string | undefined;
|
|
1570
2703
|
accent?: string | undefined;
|
|
1571
2704
|
accentForeground?: string | undefined;
|
|
1572
|
-
destructive?: string | undefined;
|
|
1573
2705
|
destructiveForeground?: string | undefined;
|
|
1574
|
-
border?: string | undefined;
|
|
1575
2706
|
ring?: string | undefined;
|
|
1576
|
-
radius?: string | undefined;
|
|
1577
2707
|
} | undefined;
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
authors?: string[] | undefined;
|
|
1589
|
-
creator?: string | undefined;
|
|
1590
|
-
publisher?: string | undefined;
|
|
2708
|
+
fonts?: {
|
|
2709
|
+
sans?: {
|
|
2710
|
+
url: string;
|
|
2711
|
+
fontFamily: string;
|
|
2712
|
+
} | undefined;
|
|
2713
|
+
mono?: {
|
|
2714
|
+
url: string;
|
|
2715
|
+
fontFamily: string;
|
|
2716
|
+
} | undefined;
|
|
2717
|
+
} | undefined;
|
|
1591
2718
|
} | undefined;
|
|
1592
2719
|
mdx?: {
|
|
1593
|
-
components?:
|
|
2720
|
+
components?: MdxComponentsType;
|
|
1594
2721
|
} | undefined;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
} |
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
2722
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
2723
|
+
customPages?: {
|
|
2724
|
+
path: string;
|
|
2725
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
2726
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
2727
|
+
prose?: boolean | undefined;
|
|
2728
|
+
}[] | undefined;
|
|
2729
|
+
build?: {
|
|
2730
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
2731
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
2732
|
+
} | undefined;
|
|
2733
|
+
protectedRoutes?: string[] | undefined;
|
|
2734
|
+
basePath?: string | undefined;
|
|
2735
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2736
|
+
cdnUrl?: string | {
|
|
2737
|
+
base?: string | undefined;
|
|
2738
|
+
media?: string | undefined;
|
|
2739
|
+
} | undefined;
|
|
2740
|
+
port?: number | undefined;
|
|
2741
|
+
https?: {
|
|
2742
|
+
key: string;
|
|
2743
|
+
cert: string;
|
|
2744
|
+
ca?: string | undefined;
|
|
2745
|
+
} | undefined;
|
|
2746
|
+
page?: {
|
|
2747
|
+
footer?: {
|
|
2748
|
+
columns?: {
|
|
2749
|
+
title: string;
|
|
2750
|
+
links: {
|
|
2751
|
+
label: string;
|
|
2752
|
+
href: string;
|
|
2753
|
+
}[];
|
|
2754
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2755
|
+
}[] | undefined;
|
|
2756
|
+
copyright?: string | undefined;
|
|
2757
|
+
logo?: {
|
|
2758
|
+
src: {
|
|
2759
|
+
dark: string;
|
|
2760
|
+
light: string;
|
|
2761
|
+
};
|
|
2762
|
+
width?: string | number | undefined;
|
|
2763
|
+
alt?: string | undefined;
|
|
2764
|
+
} | undefined;
|
|
2765
|
+
position?: "start" | "end" | "center" | undefined;
|
|
2766
|
+
social?: {
|
|
2767
|
+
href: string;
|
|
2768
|
+
label?: string | undefined;
|
|
2769
|
+
icon?: ReactNode;
|
|
2770
|
+
}[] | undefined;
|
|
2771
|
+
} | undefined;
|
|
2772
|
+
banner?: {
|
|
2773
|
+
message: NonNullable<ReactNode>;
|
|
2774
|
+
color?: string | (string & {}) | undefined;
|
|
2775
|
+
dismissible?: boolean | undefined;
|
|
2776
|
+
} | undefined;
|
|
2777
|
+
pageTitle?: string | undefined;
|
|
2778
|
+
logoUrl?: string | undefined;
|
|
2779
|
+
logo?: {
|
|
2780
|
+
src: {
|
|
2781
|
+
dark: string;
|
|
2782
|
+
light: string;
|
|
2783
|
+
};
|
|
2784
|
+
width?: string | number | undefined;
|
|
2785
|
+
alt?: string | undefined;
|
|
2786
|
+
} | undefined;
|
|
2787
|
+
showPoweredBy?: boolean | undefined;
|
|
1618
2788
|
} | undefined;
|
|
1619
2789
|
docs?: {
|
|
1620
2790
|
files: string;
|
|
@@ -1633,60 +2803,137 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1633
2803
|
type: "url";
|
|
1634
2804
|
input: string;
|
|
1635
2805
|
server?: string | undefined;
|
|
2806
|
+
id?: string | undefined;
|
|
2807
|
+
options?: {
|
|
2808
|
+
examplesLanguage?: string | undefined;
|
|
2809
|
+
disablePlayground?: boolean | undefined;
|
|
2810
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2811
|
+
expandAllTags?: boolean | undefined;
|
|
2812
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2813
|
+
} | undefined;
|
|
1636
2814
|
navigationId?: string | undefined;
|
|
2815
|
+
categories?: {
|
|
2816
|
+
tags: string[];
|
|
2817
|
+
label: string;
|
|
2818
|
+
}[] | undefined;
|
|
1637
2819
|
} | {
|
|
1638
2820
|
type: "file";
|
|
1639
|
-
input: string;
|
|
2821
|
+
input: string | string[];
|
|
1640
2822
|
server?: string | undefined;
|
|
2823
|
+
id?: string | undefined;
|
|
2824
|
+
options?: {
|
|
2825
|
+
examplesLanguage?: string | undefined;
|
|
2826
|
+
disablePlayground?: boolean | undefined;
|
|
2827
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2828
|
+
expandAllTags?: boolean | undefined;
|
|
2829
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2830
|
+
} | undefined;
|
|
1641
2831
|
navigationId?: string | undefined;
|
|
2832
|
+
categories?: {
|
|
2833
|
+
tags: string[];
|
|
2834
|
+
label: string;
|
|
2835
|
+
}[] | undefined;
|
|
1642
2836
|
} | {
|
|
1643
2837
|
type: "raw";
|
|
1644
2838
|
input: string;
|
|
1645
2839
|
server?: string | undefined;
|
|
2840
|
+
id?: string | undefined;
|
|
2841
|
+
options?: {
|
|
2842
|
+
examplesLanguage?: string | undefined;
|
|
2843
|
+
disablePlayground?: boolean | undefined;
|
|
2844
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2845
|
+
expandAllTags?: boolean | undefined;
|
|
2846
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2847
|
+
} | undefined;
|
|
1646
2848
|
navigationId?: string | undefined;
|
|
2849
|
+
categories?: {
|
|
2850
|
+
tags: string[];
|
|
2851
|
+
label: string;
|
|
2852
|
+
}[] | undefined;
|
|
1647
2853
|
} | ({
|
|
1648
2854
|
type: "url";
|
|
1649
2855
|
input: string;
|
|
1650
2856
|
server?: string | undefined;
|
|
2857
|
+
id?: string | undefined;
|
|
2858
|
+
options?: {
|
|
2859
|
+
examplesLanguage?: string | undefined;
|
|
2860
|
+
disablePlayground?: boolean | undefined;
|
|
2861
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2862
|
+
expandAllTags?: boolean | undefined;
|
|
2863
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2864
|
+
} | undefined;
|
|
1651
2865
|
navigationId?: string | undefined;
|
|
2866
|
+
categories?: {
|
|
2867
|
+
tags: string[];
|
|
2868
|
+
label: string;
|
|
2869
|
+
}[] | undefined;
|
|
1652
2870
|
} | {
|
|
1653
2871
|
type: "file";
|
|
1654
|
-
input: string;
|
|
2872
|
+
input: string | string[];
|
|
1655
2873
|
server?: string | undefined;
|
|
2874
|
+
id?: string | undefined;
|
|
2875
|
+
options?: {
|
|
2876
|
+
examplesLanguage?: string | undefined;
|
|
2877
|
+
disablePlayground?: boolean | undefined;
|
|
2878
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2879
|
+
expandAllTags?: boolean | undefined;
|
|
2880
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2881
|
+
} | undefined;
|
|
1656
2882
|
navigationId?: string | undefined;
|
|
2883
|
+
categories?: {
|
|
2884
|
+
tags: string[];
|
|
2885
|
+
label: string;
|
|
2886
|
+
}[] | undefined;
|
|
1657
2887
|
} | {
|
|
1658
2888
|
type: "raw";
|
|
1659
2889
|
input: string;
|
|
1660
2890
|
server?: string | undefined;
|
|
2891
|
+
id?: string | undefined;
|
|
2892
|
+
options?: {
|
|
2893
|
+
examplesLanguage?: string | undefined;
|
|
2894
|
+
disablePlayground?: boolean | undefined;
|
|
2895
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2896
|
+
expandAllTags?: boolean | undefined;
|
|
2897
|
+
transformExamples?: import("../../lib/plugins/openapi/interfaces.js").transformExamples | undefined;
|
|
2898
|
+
} | undefined;
|
|
1661
2899
|
navigationId?: string | undefined;
|
|
2900
|
+
categories?: {
|
|
2901
|
+
tags: string[];
|
|
2902
|
+
label: string;
|
|
2903
|
+
}[] | undefined;
|
|
1662
2904
|
})[] | undefined;
|
|
2905
|
+
catalogs?: {
|
|
2906
|
+
label: string;
|
|
2907
|
+
navigationId: string;
|
|
2908
|
+
items?: string[] | undefined;
|
|
2909
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2910
|
+
} | {
|
|
2911
|
+
label: string;
|
|
2912
|
+
navigationId: string;
|
|
2913
|
+
items?: string[] | undefined;
|
|
2914
|
+
filterItems?: ((args_0: any, ...args: unknown[]) => any) | undefined;
|
|
2915
|
+
}[] | undefined;
|
|
1663
2916
|
apiKeys?: {
|
|
1664
2917
|
enabled: boolean;
|
|
1665
2918
|
endpoint: string;
|
|
1666
2919
|
} | {
|
|
1667
2920
|
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;
|
|
2921
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
2922
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
2923
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1671
2924
|
updateKeyDescription?: ((apiKey: {
|
|
1672
2925
|
id: string;
|
|
1673
2926
|
description: string;
|
|
1674
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2927
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1675
2928
|
createKey?: ((apiKey: {
|
|
1676
2929
|
description: string;
|
|
1677
2930
|
expiresOn?: string;
|
|
1678
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
2931
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1679
2932
|
} | undefined;
|
|
1680
2933
|
redirects?: {
|
|
1681
2934
|
from: string;
|
|
1682
2935
|
to: string;
|
|
1683
2936
|
}[] | undefined;
|
|
1684
|
-
customPages?: {
|
|
1685
|
-
path: string;
|
|
1686
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1687
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1688
|
-
prose?: boolean | undefined;
|
|
1689
|
-
}[] | undefined;
|
|
1690
2937
|
sitemap?: {
|
|
1691
2938
|
siteUrl: string;
|
|
1692
2939
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1695,16 +2942,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1695
2942
|
autoLastmod?: boolean | undefined;
|
|
1696
2943
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1697
2944
|
} | undefined;
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1701
|
-
} | undefined;
|
|
2945
|
+
isZuplo?: boolean | undefined;
|
|
2946
|
+
enableStatusPages?: boolean | undefined;
|
|
1702
2947
|
}>;
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
export type
|
|
1707
|
-
export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
|
|
1708
|
-
export type ZudokuRedirect = z.infer<typeof Redirect>;
|
|
2948
|
+
/**
|
|
2949
|
+
* Type for the zudoku.config.{js,ts,tsx,jsx} files
|
|
2950
|
+
*/
|
|
2951
|
+
export type ZudokuConfig = z.input<typeof ConfigSchema>;
|
|
1709
2952
|
export declare function validateConfig(config: unknown): void;
|
|
1710
2953
|
export {};
|