zudoku 0.0.0-f3f6db5 → 0.0.0-f471fb8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cli.js +3 -0
- package/dist/app/entry.client.d.ts +5 -0
- package/dist/app/entry.client.js +1 -0
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +5 -4
- package/dist/app/entry.server.js +11 -7
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.js +4 -3
- package/dist/app/main.js.map +1 -1
- package/dist/app/tailwind.js +20 -0
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +7 -0
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +5 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +20 -13
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js +7 -1
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/cmds/preview.d.ts +16 -0
- package/dist/cli/cmds/preview.js +25 -0
- package/dist/cli/cmds/preview.js.map +1 -0
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/ports.d.ts +1 -1
- package/dist/cli/common/utils/ports.js +16 -15
- package/dist/cli/common/utils/ports.js.map +1 -1
- package/dist/cli/dev/handler.js +14 -12
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/dev/pagefind-command.d.ts +3 -0
- package/dist/cli/dev/pagefind-command.js +59 -0
- package/dist/cli/dev/pagefind-command.js.map +1 -0
- package/dist/cli/preview/handler.d.ts +3 -0
- package/dist/cli/preview/handler.js +35 -0
- package/dist/cli/preview/handler.js.map +1 -0
- package/dist/config/common.d.ts +5 -3
- package/dist/config/config.d.ts +15 -15
- package/dist/config/loader.d.ts +6 -6
- package/dist/config/loader.js +20 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +15 -15
- package/dist/config/validators/InputSidebarSchema.js +10 -1
- package/dist/config/validators/InputSidebarSchema.js.map +1 -1
- package/dist/config/validators/common.d.ts +2318 -503
- package/dist/config/validators/common.js +94 -17
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/icon-types.d.ts +1 -1
- package/dist/config/validators/validate.d.ts +891 -219
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +2 -0
- package/dist/lib/MissingIcon.js +7 -0
- package/dist/lib/MissingIcon.js.map +1 -0
- package/dist/lib/authentication/authentication.d.ts +1 -0
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +1 -0
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +25 -6
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +5 -3
- package/dist/lib/authentication/providers/openid.js +24 -10
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +117 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +0 -17
- package/dist/lib/authentication/state.js +9 -7
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +5 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +4 -3
- package/dist/lib/components/Autocomplete.js +2 -2
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Header.js +4 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +2 -2
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +2 -9
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +7 -29
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +17 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +1 -1
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Pagination.d.ts +10 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/PathRenderer.js +23 -20
- package/dist/lib/components/PathRenderer.js.map +1 -1
- package/dist/lib/components/ThemeSwitch.js +8 -5
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +2 -2
- package/dist/lib/components/TopNavigation.js +28 -14
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +12 -8
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +7 -0
- package/dist/lib/components/cache.js +7 -0
- package/dist/lib/components/cache.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +5 -10
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +2 -2
- package/dist/lib/components/context/ZudokuContext.js +21 -9
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +9 -2
- package/dist/lib/components/index.js +4 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +8 -5
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +2 -0
- package/dist/lib/components/navigation/SidebarBadge.js +3 -1
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
- package/dist/lib/components/navigation/SidebarCategory.js +10 -6
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +17 -10
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +8 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +1 -2
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +28 -10
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +29 -6
- package/dist/lib/core/ZudokuContext.js +29 -6
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +17 -7
- package/dist/lib/core/plugins.js +3 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +6 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +3 -0
- package/dist/lib/hooks/index.js +5 -0
- package/dist/lib/hooks/index.js.map +1 -0
- package/dist/lib/hooks/useEvent.d.ts +11 -0
- package/dist/lib/hooks/useEvent.js +19 -0
- package/dist/lib/hooks/useEvent.js.map +1 -0
- package/dist/lib/hooks/useEvent.test.d.ts +1 -0
- package/dist/lib/hooks/useEvent.test.js +100 -0
- package/dist/lib/hooks/useEvent.test.js.map +1 -0
- package/dist/lib/icons.d.ts +1 -0
- package/dist/lib/icons.js +1 -0
- package/dist/lib/icons.js.map +1 -1
- package/dist/lib/oas/graphql/index.d.ts +24 -4
- package/dist/lib/oas/graphql/index.js +163 -48
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -0
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +5 -3
- package/dist/lib/oas/parser/index.js +0 -22
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.js +2 -1
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -2
- package/dist/lib/plugins/api-catalog/Catalog.js +16 -26
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.d.ts +1 -0
- package/dist/lib/plugins/api-catalog/index.js +39 -8
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js +7 -3
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +1 -0
- package/dist/lib/plugins/api-keys/index.js +1 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -9
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +0 -6
- package/dist/lib/plugins/markdown/resolver.js +0 -29
- package/dist/lib/plugins/markdown/resolver.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +6 -7
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/{OpenApiRoute.d.ts → OasProvider.d.ts} +1 -2
- package/dist/lib/plugins/openapi/OasProvider.js +29 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +2 -2
- package/dist/lib/plugins/openapi/OperationList.js +71 -22
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +3 -2
- package/dist/lib/plugins/openapi/OperationListItem.js +8 -13
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +42 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +8 -4
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +9 -3
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +41 -12
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.js +2 -2
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +6 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +6 -5
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +9 -5
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -15
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +110 -41
- package/dist/lib/plugins/openapi/graphql/graphql.js +63 -24
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +10 -7
- package/dist/lib/plugins/openapi/index.js +62 -119
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +39 -11
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +42 -26
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +4 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +5 -4
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +18 -3
- package/dist/lib/plugins/openapi/playground/Playground.js +84 -30
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +21 -21
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +20 -14
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +10 -8
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +13 -6
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +23 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +80 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +75 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +38 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +42 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +2 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +7 -1
- package/dist/lib/ui/Command.js +2 -2
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Input.d.ts +1 -2
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Select.js +1 -1
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +3 -0
- package/dist/lib/ui/Stepper.js +7 -0
- package/dist/lib/ui/Stepper.js.map +1 -0
- package/dist/lib/ui/SyntaxHighlight.d.ts +15 -0
- package/dist/lib/ui/SyntaxHighlight.js +62 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
- package/dist/lib/ui/util.d.ts +2 -0
- package/dist/lib/ui/util.js +3 -0
- package/dist/lib/ui/util.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +5 -2
- package/dist/lib/util/MdxComponents.js +6 -3
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/joinPath.d.ts +3 -0
- package/dist/lib/util/joinPath.js +3 -0
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
- package/dist/lib/util/traverse.d.ts +2 -8
- package/dist/lib/util/traverse.js +2 -2
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/useLatest.d.ts +1 -0
- package/dist/lib/util/useLatest.js +15 -0
- package/dist/lib/util/useLatest.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +3 -2
- package/dist/lib/util/useOnScreen.js +3 -3
- package/dist/lib/util/useOnScreen.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +27 -33
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +6 -4
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/api/schema-codegen.d.ts +1 -1
- package/dist/vite/api/schema-codegen.js +27 -8
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +66 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +35 -16
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +2 -5
- package/dist/vite/config.js +63 -71
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -1
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/create-pagefind-index.d.ts +4 -0
- package/dist/vite/create-pagefind-index.js +12 -0
- package/dist/vite/create-pagefind-index.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +2 -2
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/dev-server.d.ts +4 -2
- package/dist/vite/dev-server.js +42 -12
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +1 -1
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/output.d.ts +14 -2
- package/dist/vite/output.js +12 -14
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +2 -2
- package/dist/vite/plugin-api-keys.js +5 -5
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +2 -2
- package/dist/vite/plugin-api.js +143 -116
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -2
- package/dist/vite/plugin-auth.js +3 -3
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -2
- package/dist/vite/plugin-component.js +7 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +4 -3
- package/dist/vite/plugin-config-reload.js +11 -5
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -2
- package/dist/vite/plugin-config.js +9 -5
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +2 -2
- package/dist/vite/plugin-custom-pages.js +3 -3
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +3 -3
- package/dist/vite/plugin-docs.js +23 -6
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -2
- package/dist/vite/plugin-frontmatter.js +5 -4
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +2 -2
- package/dist/vite/plugin-mdx.js +34 -23
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +2 -2
- package/dist/vite/plugin-redirect.js +3 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -2
- package/dist/vite/plugin-search.js +5 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +2 -2
- package/dist/vite/plugin-sidebar.js +13 -4
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin-theme-css.d.ts +2 -2
- package/dist/vite/plugin-theme-css.js +7 -4
- package/dist/vite/plugin-theme-css.js.map +1 -1
- package/dist/vite/plugin.d.ts +2 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/{prerender.d.ts → prerender/FileWritingResponse.d.ts} +8 -9
- package/dist/vite/prerender/FileWritingResponse.js +51 -0
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +14 -0
- package/dist/vite/prerender/prerender.js +90 -0
- package/dist/vite/prerender/prerender.js.map +1 -0
- package/dist/vite/prerender/worker.d.ts +13 -0
- package/dist/vite/prerender/worker.js +31 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/reporter.d.ts +3 -0
- package/dist/vite/reporter.js +33 -0
- package/dist/vite/reporter.js.map +1 -0
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/lib/{AuthenticationPlugin-Du8cLBSr.js → AuthenticationPlugin-foqdvvkf.js} +4 -4
- package/lib/{AuthenticationPlugin-Du8cLBSr.js.map → AuthenticationPlugin-foqdvvkf.js.map} +1 -1
- package/lib/Button-Fp19CMUr.js +49 -0
- package/lib/Button-Fp19CMUr.js.map +1 -0
- package/lib/Callout-D5frCCJ0.js +229 -0
- package/lib/Callout-D5frCCJ0.js.map +1 -0
- package/lib/{CategoryHeading-MYL1u_6K.js → CategoryHeading-DpB47wvk.js} +3 -3
- package/lib/{CategoryHeading-MYL1u_6K.js.map → CategoryHeading-DpB47wvk.js.map} +1 -1
- package/lib/Dialog-Dv6WG8RN.js +98 -0
- package/lib/Dialog-Dv6WG8RN.js.map +1 -0
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-Cyrx_JrO.js → Markdown-aF5FdsNi.js} +8223 -6475
- package/lib/Markdown-aF5FdsNi.js.map +1 -0
- package/lib/MdxPage-ZW1StNhp.js +83 -0
- package/lib/MdxPage-ZW1StNhp.js.map +1 -0
- package/lib/OasProvider-OlYb8W57.js +34 -0
- package/lib/OasProvider-OlYb8W57.js.map +1 -0
- package/lib/OperationList-BvfIzVRx.js +5065 -0
- package/lib/OperationList-BvfIzVRx.js.map +1 -0
- package/lib/Pagination-CYB3nVYx.js +46 -0
- package/lib/Pagination-CYB3nVYx.js.map +1 -0
- package/lib/SchemaList-Bi35O4XD.js +148 -0
- package/lib/SchemaList-Bi35O4XD.js.map +1 -0
- package/lib/SchemaView-D7MC5cjz.js +356 -0
- package/lib/SchemaView-D7MC5cjz.js.map +1 -0
- package/lib/{Select-CnCZ4WhS.js → Select-DVFRKf1R.js} +71 -71
- package/lib/{Select-CnCZ4WhS.js.map → Select-DVFRKf1R.js.map} +1 -1
- package/lib/SlotletProvider-DXvc0aY6.js +338 -0
- package/lib/SlotletProvider-DXvc0aY6.js.map +1 -0
- package/lib/Spinner-CE68iCm0.js +7 -0
- package/lib/Spinner-CE68iCm0.js.map +1 -0
- package/lib/{SyntaxHighlight-B0L4SC_N.js → SyntaxHighlight-BEoSoPEo.js} +496 -592
- package/lib/SyntaxHighlight-BEoSoPEo.js.map +1 -0
- package/lib/Toc-YBsgI72s.js +92 -0
- package/lib/Toc-YBsgI72s.js.map +1 -0
- package/lib/{chunk-SYFQ2XB5-BPvC-soB.js → chunk-HA7DTUK3-C4gP41vD.js} +561 -561
- package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
- package/lib/{circular-DxaIIlWD.js → circular-ByJI6Mci.js} +5461 -4993
- package/lib/circular-ByJI6Mci.js.map +1 -0
- package/lib/context-DLCwaMXN.js +22 -0
- package/lib/{context-rwLGh-6_.js.map → context-DLCwaMXN.js.map} +1 -1
- package/lib/{createServer-CjNktZzL.js → createServer-mMau3eV_.js} +4801 -4976
- package/lib/createServer-mMau3eV_.js.map +1 -0
- package/lib/hook-CqpVYDqN.js +1483 -0
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-Bn6Lc9tq.js +9 -0
- package/lib/index-Bn6Lc9tq.js.map +1 -0
- package/lib/index-Bt7MKhZq.js +2514 -0
- package/lib/index-Bt7MKhZq.js.map +1 -0
- package/lib/index-CPNSgwSb.js +36 -0
- package/lib/{index-Djenk2Hj.js.map → index-CPNSgwSb.js.map} +1 -1
- package/lib/index-CXfEwK_7.js +2226 -0
- package/lib/index-CXfEwK_7.js.map +1 -0
- package/lib/index-DwT-v3zK.js +86 -0
- package/lib/index-DwT-v3zK.js.map +1 -0
- package/lib/{index-CjJS0l4l.js → index-LNp6rxyU.js} +2 -2
- package/lib/{index-CjJS0l4l.js.map → index-LNp6rxyU.js.map} +1 -1
- package/lib/index-gQD2h1wX.js +447 -0
- package/lib/index-gQD2h1wX.js.map +1 -0
- package/lib/{index.esm-CrSoEshU.js → index.esm--gIChbWs.js} +3 -3
- package/lib/{index.esm-CrSoEshU.js.map → index.esm--gIChbWs.js.map} +1 -1
- package/lib/{jsx-runtime-Bdg6XQ1m.js → jsx-runtime-CYK1ROHF.js} +99 -99
- package/lib/{jsx-runtime-Bdg6XQ1m.js.map → jsx-runtime-CYK1ROHF.js.map} +1 -1
- package/lib/{hook-FT3SJLe_.js → mutation-8LjrN7uz.js} +43 -62
- package/lib/mutation-8LjrN7uz.js.map +1 -0
- package/lib/objectEntries-BS7aAgOm.js +12 -0
- package/lib/objectEntries-BS7aAgOm.js.map +1 -0
- package/lib/post-processors/removeExtensions.js +4 -4
- package/lib/post-processors/traverse.js +2 -2
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
- package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
- package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
- package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
- package/lib/prism-jsstacktrace.min-BfobCF2F.js +2 -0
- package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +1 -0
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
- package/lib/ui/Accordion.js +1 -1
- package/lib/ui/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +2 -2
- package/lib/ui/AlertDialog.js +1 -1
- package/lib/ui/Badge.js +2 -2
- package/lib/ui/Breadcrumb.js +4 -4
- package/lib/ui/Button.js +13 -12
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +39 -21
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +1 -1
- package/lib/ui/Carousel.js +1 -1
- package/lib/ui/Checkbox.js +16 -26
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +105 -78
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +1 -1
- package/lib/ui/Drawer.js +14 -1151
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +1 -1
- package/lib/ui/Form.js +5 -5
- package/lib/ui/HoverCard.js +1 -1
- package/lib/ui/Input.js +1 -1
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +2 -2
- package/lib/ui/Pagination.js +10 -10
- package/lib/ui/Popover.js +1 -1
- package/lib/ui/Progress.js +1 -1
- package/lib/ui/RadioGroup.js +1 -1
- package/lib/ui/ScrollArea.js +1 -1
- package/lib/ui/Select.js +2 -2
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +1 -1
- package/lib/ui/Slider.js +1 -1
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +1 -1
- package/lib/ui/SyntaxHighlight.js +11 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +1 -1
- package/lib/ui/Textarea.js +1 -1
- package/lib/ui/Toggle.js +2 -2
- package/lib/ui/ToggleGroup.js +1 -1
- package/lib/ui/Tooltip.js +1 -1
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/{useExposedProps-BLKFBylA.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-BLKFBylA.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +15 -14
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +67 -49
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +370 -405
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +31 -1215
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +19 -0
- package/lib/zudoku.hooks.js.map +1 -0
- package/lib/zudoku.icons.js +10 -0
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +109 -109
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +108 -106
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +3 -3
- package/lib/zudoku.plugin-markdown.js +23 -44
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +6 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +9 -9
- package/lib/zudoku.plugin-search-pagefind.js +238 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +14 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/package.json +83 -55
- package/src/app/demo-cdn.html +31 -31
- package/src/app/entry.client.tsx +8 -0
- package/src/app/entry.server.tsx +18 -11
- package/src/app/main.css +100 -58
- package/src/app/main.tsx +10 -3
- package/src/app/tailwind.ts +20 -0
- package/src/lib/MissingIcon.tsx +22 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/auth0.tsx +3 -2
- package/src/lib/authentication/providers/clerk.tsx +32 -8
- package/src/lib/authentication/providers/openid.tsx +31 -15
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +9 -19
- package/src/lib/components/AnchorLink.tsx +9 -7
- package/src/lib/components/Autocomplete.tsx +6 -4
- package/src/lib/components/Banner.tsx +1 -0
- package/src/lib/components/Header.tsx +12 -8
- package/src/lib/components/Heading.tsx +1 -1
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +20 -67
- package/src/lib/components/Main.tsx +49 -0
- package/src/lib/components/MobileTopNavigation.tsx +1 -1
- package/src/lib/components/Pagination.tsx +47 -0
- package/src/lib/components/PathRenderer.tsx +6 -4
- package/src/lib/components/ThemeSwitch.tsx +28 -8
- package/src/lib/components/TopNavigation.tsx +51 -24
- package/src/lib/components/Zudoku.tsx +18 -7
- package/src/lib/components/cache.ts +8 -0
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +6 -15
- package/src/lib/components/context/ZudokuContext.ts +30 -10
- package/src/lib/components/index.ts +4 -0
- package/src/lib/components/navigation/Sidebar.tsx +14 -10
- package/src/lib/components/navigation/SidebarBadge.tsx +4 -1
- package/src/lib/components/navigation/SidebarCategory.tsx +15 -12
- package/src/lib/components/navigation/SidebarItem.tsx +22 -28
- package/src/lib/components/navigation/SidebarWrapper.tsx +13 -15
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/core/RouteGuard.tsx +48 -9
- package/src/lib/core/ZudokuContext.ts +57 -12
- package/src/lib/core/plugins.ts +29 -7
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/hooks/index.ts +5 -0
- package/src/lib/hooks/useEvent.test.tsx +149 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/icons.ts +1 -0
- package/src/lib/oas/graphql/index.ts +223 -73
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +7 -29
- package/src/lib/oas/parser/upgrade/index.ts +2 -1
- package/src/lib/plugins/api-catalog/Catalog.tsx +53 -100
- package/src/lib/plugins/api-catalog/index.tsx +66 -15
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +7 -3
- package/src/lib/plugins/api-keys/index.tsx +3 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +13 -46
- package/src/lib/plugins/markdown/resolver.ts +0 -33
- package/src/lib/plugins/openapi/Endpoint.tsx +11 -9
- package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
- package/src/lib/plugins/openapi/OperationList.tsx +180 -83
- package/src/lib/plugins/openapi/OperationListItem.tsx +118 -104
- package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +33 -23
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +15 -3
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +52 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -2
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +13 -5
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +34 -17
- package/src/lib/plugins/openapi/graphql/graphql.ts +175 -65
- package/src/lib/plugins/openapi/index.tsx +90 -152
- package/src/lib/plugins/openapi/interfaces.ts +48 -24
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +119 -88
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +6 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +16 -10
- package/src/lib/plugins/openapi/playground/Playground.tsx +207 -112
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +5 -2
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +87 -86
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +1 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +25 -5
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +29 -31
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +48 -35
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +37 -0
- package/src/lib/plugins/openapi/util/getRoutes.tsx +126 -0
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +157 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +116 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +75 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- package/src/lib/ui/Button.tsx +4 -2
- package/src/lib/ui/Callout.tsx +28 -10
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/Command.tsx +25 -3
- package/src/lib/ui/Input.tsx +1 -2
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/SyntaxHighlight.tsx +186 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +7 -4
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/traverse.ts +4 -8
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +31 -39
- package/src/lib/util/useScrollToTop.ts +8 -3
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -12
- package/dist/lib/components/SyntaxHighlight.js +0 -53
- package/dist/lib/components/SyntaxHighlight.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/lib/plugins/openapi/OpenApiRoute.js +0 -25
- package/dist/lib/plugins/openapi/OpenApiRoute.js.map +0 -1
- package/dist/vite/prerender.js +0 -89
- package/dist/vite/prerender.js.map +0 -1
- package/lib/Markdown-Cyrx_JrO.js.map +0 -1
- package/lib/MdxPage-BuG8Tuwc.js +0 -193
- package/lib/MdxPage-BuG8Tuwc.js.map +0 -1
- package/lib/OpenApiRoute-UrC_t0e5.js +0 -36
- package/lib/OpenApiRoute-UrC_t0e5.js.map +0 -1
- package/lib/OperationList-CDt1xdc4.js +0 -5169
- package/lib/OperationList-CDt1xdc4.js.map +0 -1
- package/lib/SlotletProvider-mQiPDQIH.js +0 -221
- package/lib/SlotletProvider-mQiPDQIH.js.map +0 -1
- package/lib/Spinner-BlzrEEk1.js +0 -51
- package/lib/Spinner-BlzrEEk1.js.map +0 -1
- package/lib/SyntaxHighlight-B0L4SC_N.js.map +0 -1
- package/lib/ZudokuContext-BTUJPpQl.js +0 -1229
- package/lib/ZudokuContext-BTUJPpQl.js.map +0 -1
- package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
- package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
- package/lib/chunk-SYFQ2XB5-BPvC-soB.js.map +0 -1
- package/lib/circular-DxaIIlWD.js.map +0 -1
- package/lib/context-rwLGh-6_.js +0 -22
- package/lib/createServer-CjNktZzL.js.map +0 -1
- package/lib/hook-FT3SJLe_.js.map +0 -1
- package/lib/index-B7mqiOei.js +0 -509
- package/lib/index-B7mqiOei.js.map +0 -1
- package/lib/index-Djenk2Hj.js +0 -36
- package/lib/index-Eb1oiHbM.js +0 -1997
- package/lib/index-Eb1oiHbM.js.map +0 -1
- package/lib/index.esm-9-TF9KQB.js +0 -692
- package/lib/index.esm-9-TF9KQB.js.map +0 -1
- package/lib/joinUrl-nLx9pD-Z.js +0 -20
- package/lib/joinUrl-nLx9pD-Z.js.map +0 -1
- package/lib/state-mM7uaXTW.js +0 -202
- package/lib/state-mM7uaXTW.js.map +0 -1
- package/lib/useScrollToAnchor-BZsGmBng.js +0 -284
- package/lib/useScrollToAnchor-BZsGmBng.js.map +0 -1
- package/src/lib/components/SyntaxHighlight.tsx +0 -171
- package/src/lib/plugins/openapi/OpenApiRoute.tsx +0 -51
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import z, { RefinementCtx, type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
|
|
3
|
-
import {
|
|
2
|
+
import z, { type RefinementCtx, type ZodEnumDef, type ZodOptional, type ZodString, type ZodType, type ZodUnion } from "zod";
|
|
3
|
+
import type { AuthState } from "../../lib/authentication/state.js";
|
|
4
|
+
import type { ZudokuContext } from "../../lib/core/ZudokuContext.js";
|
|
4
5
|
import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
|
|
6
|
+
import type { transformExamples } from "../../lib/plugins/openapi/interfaces.js";
|
|
7
|
+
import type { PagefindSearchFragment } from "../../lib/plugins/search-pagefind/types.js";
|
|
5
8
|
declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
6
9
|
type: z.ZodLiteral<"url">;
|
|
7
10
|
input: z.ZodString;
|
|
@@ -19,11 +22,37 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
19
22
|
tags: string[];
|
|
20
23
|
label: string;
|
|
21
24
|
}>, "many">>;
|
|
25
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
27
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
29
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
examplesLanguage?: string | undefined;
|
|
33
|
+
disablePlayground?: boolean | undefined;
|
|
34
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
35
|
+
expandAllTags?: boolean | undefined;
|
|
36
|
+
transformExamples?: transformExamples | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
examplesLanguage?: string | undefined;
|
|
39
|
+
disablePlayground?: boolean | undefined;
|
|
40
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
41
|
+
expandAllTags?: boolean | undefined;
|
|
42
|
+
transformExamples?: transformExamples | undefined;
|
|
43
|
+
}>>;
|
|
22
44
|
}>, "strip", z.ZodTypeAny, {
|
|
23
45
|
type: "url";
|
|
24
46
|
input: string;
|
|
25
47
|
server?: string | undefined;
|
|
26
48
|
id?: string | undefined;
|
|
49
|
+
options?: {
|
|
50
|
+
examplesLanguage?: string | undefined;
|
|
51
|
+
disablePlayground?: boolean | undefined;
|
|
52
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
53
|
+
expandAllTags?: boolean | undefined;
|
|
54
|
+
transformExamples?: transformExamples | undefined;
|
|
55
|
+
} | undefined;
|
|
27
56
|
navigationId?: string | undefined;
|
|
28
57
|
categories?: {
|
|
29
58
|
tags: string[];
|
|
@@ -34,6 +63,13 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
34
63
|
input: string;
|
|
35
64
|
server?: string | undefined;
|
|
36
65
|
id?: string | undefined;
|
|
66
|
+
options?: {
|
|
67
|
+
examplesLanguage?: string | undefined;
|
|
68
|
+
disablePlayground?: boolean | undefined;
|
|
69
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
70
|
+
expandAllTags?: boolean | undefined;
|
|
71
|
+
transformExamples?: transformExamples | undefined;
|
|
72
|
+
} | undefined;
|
|
37
73
|
navigationId?: string | undefined;
|
|
38
74
|
categories?: {
|
|
39
75
|
tags: string[];
|
|
@@ -56,6 +92,25 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
56
92
|
tags: string[];
|
|
57
93
|
label: string;
|
|
58
94
|
}>, "many">>;
|
|
95
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
97
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
99
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
examplesLanguage?: string | undefined;
|
|
103
|
+
disablePlayground?: boolean | undefined;
|
|
104
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
105
|
+
expandAllTags?: boolean | undefined;
|
|
106
|
+
transformExamples?: transformExamples | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
examplesLanguage?: string | undefined;
|
|
109
|
+
disablePlayground?: boolean | undefined;
|
|
110
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
111
|
+
expandAllTags?: boolean | undefined;
|
|
112
|
+
transformExamples?: transformExamples | undefined;
|
|
113
|
+
}>>;
|
|
59
114
|
}>, {
|
|
60
115
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
61
116
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -63,6 +118,13 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
63
118
|
input: string | string[];
|
|
64
119
|
server?: string | undefined;
|
|
65
120
|
id?: string | undefined;
|
|
121
|
+
options?: {
|
|
122
|
+
examplesLanguage?: string | undefined;
|
|
123
|
+
disablePlayground?: boolean | undefined;
|
|
124
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
125
|
+
expandAllTags?: boolean | undefined;
|
|
126
|
+
transformExamples?: transformExamples | undefined;
|
|
127
|
+
} | undefined;
|
|
66
128
|
navigationId?: string | undefined;
|
|
67
129
|
categories?: {
|
|
68
130
|
tags: string[];
|
|
@@ -74,6 +136,13 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
74
136
|
input: string | string[];
|
|
75
137
|
server?: string | undefined;
|
|
76
138
|
id?: string | undefined;
|
|
139
|
+
options?: {
|
|
140
|
+
examplesLanguage?: string | undefined;
|
|
141
|
+
disablePlayground?: boolean | undefined;
|
|
142
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
143
|
+
expandAllTags?: boolean | undefined;
|
|
144
|
+
transformExamples?: transformExamples | undefined;
|
|
145
|
+
} | undefined;
|
|
77
146
|
navigationId?: string | undefined;
|
|
78
147
|
categories?: {
|
|
79
148
|
tags: string[];
|
|
@@ -97,11 +166,37 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
97
166
|
tags: string[];
|
|
98
167
|
label: string;
|
|
99
168
|
}>, "many">>;
|
|
169
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
171
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
173
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
examplesLanguage?: string | undefined;
|
|
177
|
+
disablePlayground?: boolean | undefined;
|
|
178
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
179
|
+
expandAllTags?: boolean | undefined;
|
|
180
|
+
transformExamples?: transformExamples | undefined;
|
|
181
|
+
}, {
|
|
182
|
+
examplesLanguage?: string | undefined;
|
|
183
|
+
disablePlayground?: boolean | undefined;
|
|
184
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
185
|
+
expandAllTags?: boolean | undefined;
|
|
186
|
+
transformExamples?: transformExamples | undefined;
|
|
187
|
+
}>>;
|
|
100
188
|
}>, "strip", z.ZodTypeAny, {
|
|
101
189
|
type: "raw";
|
|
102
190
|
input: string;
|
|
103
191
|
server?: string | undefined;
|
|
104
192
|
id?: string | undefined;
|
|
193
|
+
options?: {
|
|
194
|
+
examplesLanguage?: string | undefined;
|
|
195
|
+
disablePlayground?: boolean | undefined;
|
|
196
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
197
|
+
expandAllTags?: boolean | undefined;
|
|
198
|
+
transformExamples?: transformExamples | undefined;
|
|
199
|
+
} | undefined;
|
|
105
200
|
navigationId?: string | undefined;
|
|
106
201
|
categories?: {
|
|
107
202
|
tags: string[];
|
|
@@ -112,6 +207,13 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
112
207
|
input: string;
|
|
113
208
|
server?: string | undefined;
|
|
114
209
|
id?: string | undefined;
|
|
210
|
+
options?: {
|
|
211
|
+
examplesLanguage?: string | undefined;
|
|
212
|
+
disablePlayground?: boolean | undefined;
|
|
213
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
214
|
+
expandAllTags?: boolean | undefined;
|
|
215
|
+
transformExamples?: transformExamples | undefined;
|
|
216
|
+
} | undefined;
|
|
115
217
|
navigationId?: string | undefined;
|
|
116
218
|
categories?: {
|
|
117
219
|
tags: string[];
|
|
@@ -188,17 +290,17 @@ declare const TopNavigationItemSchema: z.ZodObject<{
|
|
|
188
290
|
label: z.ZodString;
|
|
189
291
|
id: z.ZodString;
|
|
190
292
|
default: z.ZodOptional<z.ZodString>;
|
|
191
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
293
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
192
294
|
}, "strip", z.ZodTypeAny, {
|
|
193
295
|
id: string;
|
|
194
296
|
label: string;
|
|
195
297
|
default?: string | undefined;
|
|
196
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
298
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
197
299
|
}, {
|
|
198
300
|
id: string;
|
|
199
301
|
label: string;
|
|
200
302
|
default?: string | undefined;
|
|
201
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
303
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
202
304
|
}>;
|
|
203
305
|
type BannerColorType = ZodOptional<ZodUnion<[
|
|
204
306
|
ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
|
|
@@ -214,6 +316,22 @@ declare const Redirect: z.ZodObject<{
|
|
|
214
316
|
from: string;
|
|
215
317
|
to: string;
|
|
216
318
|
}>;
|
|
319
|
+
export declare const CdnUrlSchema: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
320
|
+
base: z.ZodOptional<z.ZodString>;
|
|
321
|
+
media: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
base?: string | undefined;
|
|
324
|
+
media?: string | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
base?: string | undefined;
|
|
327
|
+
media?: string | undefined;
|
|
328
|
+
}>]>, {
|
|
329
|
+
base: string | undefined;
|
|
330
|
+
media: string | undefined;
|
|
331
|
+
}, string | {
|
|
332
|
+
base?: string | undefined;
|
|
333
|
+
media?: string | undefined;
|
|
334
|
+
}>>;
|
|
217
335
|
/**
|
|
218
336
|
* These are the config settings that are available in all configuration
|
|
219
337
|
* formats.
|
|
@@ -221,7 +339,37 @@ declare const Redirect: z.ZodObject<{
|
|
|
221
339
|
export declare const CommonConfigSchema: z.ZodObject<{
|
|
222
340
|
protectedRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
341
|
basePath: z.ZodOptional<z.ZodString>;
|
|
224
|
-
|
|
342
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodString>;
|
|
343
|
+
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
344
|
+
base: z.ZodOptional<z.ZodString>;
|
|
345
|
+
media: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
base?: string | undefined;
|
|
348
|
+
media?: string | undefined;
|
|
349
|
+
}, {
|
|
350
|
+
base?: string | undefined;
|
|
351
|
+
media?: string | undefined;
|
|
352
|
+
}>]>, {
|
|
353
|
+
base: string | undefined;
|
|
354
|
+
media: string | undefined;
|
|
355
|
+
}, string | {
|
|
356
|
+
base?: string | undefined;
|
|
357
|
+
media?: string | undefined;
|
|
358
|
+
}>>>;
|
|
359
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
https: z.ZodOptional<z.ZodObject<{
|
|
361
|
+
key: z.ZodString;
|
|
362
|
+
cert: z.ZodString;
|
|
363
|
+
ca: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
key: string;
|
|
366
|
+
cert: string;
|
|
367
|
+
ca?: string | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
key: string;
|
|
370
|
+
cert: string;
|
|
371
|
+
ca?: string | undefined;
|
|
372
|
+
}>>;
|
|
225
373
|
page: z.ZodObject<{
|
|
226
374
|
pageTitle: z.ZodOptional<z.ZodString>;
|
|
227
375
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -267,6 +415,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
267
415
|
dismissible?: boolean | undefined;
|
|
268
416
|
}>>;
|
|
269
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
banner?: {
|
|
419
|
+
message: NonNullable<ReactNode>;
|
|
420
|
+
color?: string | (string & {}) | undefined;
|
|
421
|
+
dismissible?: boolean | undefined;
|
|
422
|
+
} | undefined;
|
|
270
423
|
pageTitle?: string | undefined;
|
|
271
424
|
logoUrl?: string | undefined;
|
|
272
425
|
logo?: {
|
|
@@ -277,12 +430,12 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
277
430
|
width?: string | undefined;
|
|
278
431
|
alt?: string | undefined;
|
|
279
432
|
} | undefined;
|
|
433
|
+
}, {
|
|
280
434
|
banner?: {
|
|
281
435
|
message: NonNullable<ReactNode>;
|
|
282
436
|
color?: string | (string & {}) | undefined;
|
|
283
437
|
dismissible?: boolean | undefined;
|
|
284
438
|
} | undefined;
|
|
285
|
-
}, {
|
|
286
439
|
pageTitle?: string | undefined;
|
|
287
440
|
logoUrl?: string | undefined;
|
|
288
441
|
logo?: {
|
|
@@ -293,27 +446,22 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
293
446
|
width?: string | undefined;
|
|
294
447
|
alt?: string | undefined;
|
|
295
448
|
} | undefined;
|
|
296
|
-
banner?: {
|
|
297
|
-
message: NonNullable<ReactNode>;
|
|
298
|
-
color?: string | (string & {}) | undefined;
|
|
299
|
-
dismissible?: boolean | undefined;
|
|
300
|
-
} | undefined;
|
|
301
449
|
}>;
|
|
302
450
|
topNavigation: z.ZodArray<z.ZodObject<{
|
|
303
451
|
label: z.ZodString;
|
|
304
452
|
id: z.ZodString;
|
|
305
453
|
default: z.ZodOptional<z.ZodString>;
|
|
306
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
454
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
307
455
|
}, "strip", z.ZodTypeAny, {
|
|
308
456
|
id: string;
|
|
309
457
|
label: string;
|
|
310
458
|
default?: string | undefined;
|
|
311
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
459
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
312
460
|
}, {
|
|
313
461
|
id: string;
|
|
314
462
|
label: string;
|
|
315
463
|
default?: string | undefined;
|
|
316
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
464
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
317
465
|
}>, "many">;
|
|
318
466
|
sidebar: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>;
|
|
319
467
|
theme: z.ZodObject<{
|
|
@@ -341,8 +489,10 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
341
489
|
}, "strip", z.ZodTypeAny, {
|
|
342
490
|
input?: string | undefined;
|
|
343
491
|
radius?: string | undefined;
|
|
344
|
-
|
|
492
|
+
destructive?: string | undefined;
|
|
493
|
+
secondary?: string | undefined;
|
|
345
494
|
popover?: string | undefined;
|
|
495
|
+
border?: string | undefined;
|
|
346
496
|
background?: string | undefined;
|
|
347
497
|
foreground?: string | undefined;
|
|
348
498
|
card?: string | undefined;
|
|
@@ -350,20 +500,20 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
350
500
|
popoverForeground?: string | undefined;
|
|
351
501
|
primary?: string | undefined;
|
|
352
502
|
primaryForeground?: string | undefined;
|
|
353
|
-
secondary?: string | undefined;
|
|
354
503
|
secondaryForeground?: string | undefined;
|
|
355
504
|
muted?: string | undefined;
|
|
356
505
|
mutedForeground?: string | undefined;
|
|
357
506
|
accent?: string | undefined;
|
|
358
507
|
accentForeground?: string | undefined;
|
|
359
|
-
destructive?: string | undefined;
|
|
360
508
|
destructiveForeground?: string | undefined;
|
|
361
509
|
ring?: string | undefined;
|
|
362
510
|
}, {
|
|
363
511
|
input?: string | undefined;
|
|
364
512
|
radius?: string | undefined;
|
|
365
|
-
|
|
513
|
+
destructive?: string | undefined;
|
|
514
|
+
secondary?: string | undefined;
|
|
366
515
|
popover?: string | undefined;
|
|
516
|
+
border?: string | undefined;
|
|
367
517
|
background?: string | undefined;
|
|
368
518
|
foreground?: string | undefined;
|
|
369
519
|
card?: string | undefined;
|
|
@@ -371,13 +521,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
371
521
|
popoverForeground?: string | undefined;
|
|
372
522
|
primary?: string | undefined;
|
|
373
523
|
primaryForeground?: string | undefined;
|
|
374
|
-
secondary?: string | undefined;
|
|
375
524
|
secondaryForeground?: string | undefined;
|
|
376
525
|
muted?: string | undefined;
|
|
377
526
|
mutedForeground?: string | undefined;
|
|
378
527
|
accent?: string | undefined;
|
|
379
528
|
accentForeground?: string | undefined;
|
|
380
|
-
destructive?: string | undefined;
|
|
381
529
|
destructiveForeground?: string | undefined;
|
|
382
530
|
ring?: string | undefined;
|
|
383
531
|
}>>;
|
|
@@ -405,8 +553,10 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
405
553
|
}, "strip", z.ZodTypeAny, {
|
|
406
554
|
input?: string | undefined;
|
|
407
555
|
radius?: string | undefined;
|
|
408
|
-
|
|
556
|
+
destructive?: string | undefined;
|
|
557
|
+
secondary?: string | undefined;
|
|
409
558
|
popover?: string | undefined;
|
|
559
|
+
border?: string | undefined;
|
|
410
560
|
background?: string | undefined;
|
|
411
561
|
foreground?: string | undefined;
|
|
412
562
|
card?: string | undefined;
|
|
@@ -414,20 +564,20 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
414
564
|
popoverForeground?: string | undefined;
|
|
415
565
|
primary?: string | undefined;
|
|
416
566
|
primaryForeground?: string | undefined;
|
|
417
|
-
secondary?: string | undefined;
|
|
418
567
|
secondaryForeground?: string | undefined;
|
|
419
568
|
muted?: string | undefined;
|
|
420
569
|
mutedForeground?: string | undefined;
|
|
421
570
|
accent?: string | undefined;
|
|
422
571
|
accentForeground?: string | undefined;
|
|
423
|
-
destructive?: string | undefined;
|
|
424
572
|
destructiveForeground?: string | undefined;
|
|
425
573
|
ring?: string | undefined;
|
|
426
574
|
}, {
|
|
427
575
|
input?: string | undefined;
|
|
428
576
|
radius?: string | undefined;
|
|
429
|
-
|
|
577
|
+
destructive?: string | undefined;
|
|
578
|
+
secondary?: string | undefined;
|
|
430
579
|
popover?: string | undefined;
|
|
580
|
+
border?: string | undefined;
|
|
431
581
|
background?: string | undefined;
|
|
432
582
|
foreground?: string | undefined;
|
|
433
583
|
card?: string | undefined;
|
|
@@ -435,13 +585,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
435
585
|
popoverForeground?: string | undefined;
|
|
436
586
|
primary?: string | undefined;
|
|
437
587
|
primaryForeground?: string | undefined;
|
|
438
|
-
secondary?: string | undefined;
|
|
439
588
|
secondaryForeground?: string | undefined;
|
|
440
589
|
muted?: string | undefined;
|
|
441
590
|
mutedForeground?: string | undefined;
|
|
442
591
|
accent?: string | undefined;
|
|
443
592
|
accentForeground?: string | undefined;
|
|
444
|
-
destructive?: string | undefined;
|
|
445
593
|
destructiveForeground?: string | undefined;
|
|
446
594
|
ring?: string | undefined;
|
|
447
595
|
}>>;
|
|
@@ -489,8 +637,10 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
489
637
|
dark?: {
|
|
490
638
|
input?: string | undefined;
|
|
491
639
|
radius?: string | undefined;
|
|
492
|
-
|
|
640
|
+
destructive?: string | undefined;
|
|
641
|
+
secondary?: string | undefined;
|
|
493
642
|
popover?: string | undefined;
|
|
643
|
+
border?: string | undefined;
|
|
494
644
|
background?: string | undefined;
|
|
495
645
|
foreground?: string | undefined;
|
|
496
646
|
card?: string | undefined;
|
|
@@ -498,21 +648,21 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
498
648
|
popoverForeground?: string | undefined;
|
|
499
649
|
primary?: string | undefined;
|
|
500
650
|
primaryForeground?: string | undefined;
|
|
501
|
-
secondary?: string | undefined;
|
|
502
651
|
secondaryForeground?: string | undefined;
|
|
503
652
|
muted?: string | undefined;
|
|
504
653
|
mutedForeground?: string | undefined;
|
|
505
654
|
accent?: string | undefined;
|
|
506
655
|
accentForeground?: string | undefined;
|
|
507
|
-
destructive?: string | undefined;
|
|
508
656
|
destructiveForeground?: string | undefined;
|
|
509
657
|
ring?: string | undefined;
|
|
510
658
|
} | undefined;
|
|
511
659
|
light?: {
|
|
512
660
|
input?: string | undefined;
|
|
513
661
|
radius?: string | undefined;
|
|
514
|
-
|
|
662
|
+
destructive?: string | undefined;
|
|
663
|
+
secondary?: string | undefined;
|
|
515
664
|
popover?: string | undefined;
|
|
665
|
+
border?: string | undefined;
|
|
516
666
|
background?: string | undefined;
|
|
517
667
|
foreground?: string | undefined;
|
|
518
668
|
card?: string | undefined;
|
|
@@ -520,13 +670,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
520
670
|
popoverForeground?: string | undefined;
|
|
521
671
|
primary?: string | undefined;
|
|
522
672
|
primaryForeground?: string | undefined;
|
|
523
|
-
secondary?: string | undefined;
|
|
524
673
|
secondaryForeground?: string | undefined;
|
|
525
674
|
muted?: string | undefined;
|
|
526
675
|
mutedForeground?: string | undefined;
|
|
527
676
|
accent?: string | undefined;
|
|
528
677
|
accentForeground?: string | undefined;
|
|
529
|
-
destructive?: string | undefined;
|
|
530
678
|
destructiveForeground?: string | undefined;
|
|
531
679
|
ring?: string | undefined;
|
|
532
680
|
} | undefined;
|
|
@@ -544,8 +692,10 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
544
692
|
dark?: {
|
|
545
693
|
input?: string | undefined;
|
|
546
694
|
radius?: string | undefined;
|
|
547
|
-
|
|
695
|
+
destructive?: string | undefined;
|
|
696
|
+
secondary?: string | undefined;
|
|
548
697
|
popover?: string | undefined;
|
|
698
|
+
border?: string | undefined;
|
|
549
699
|
background?: string | undefined;
|
|
550
700
|
foreground?: string | undefined;
|
|
551
701
|
card?: string | undefined;
|
|
@@ -553,21 +703,21 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
553
703
|
popoverForeground?: string | undefined;
|
|
554
704
|
primary?: string | undefined;
|
|
555
705
|
primaryForeground?: string | undefined;
|
|
556
|
-
secondary?: string | undefined;
|
|
557
706
|
secondaryForeground?: string | undefined;
|
|
558
707
|
muted?: string | undefined;
|
|
559
708
|
mutedForeground?: string | undefined;
|
|
560
709
|
accent?: string | undefined;
|
|
561
710
|
accentForeground?: string | undefined;
|
|
562
|
-
destructive?: string | undefined;
|
|
563
711
|
destructiveForeground?: string | undefined;
|
|
564
712
|
ring?: string | undefined;
|
|
565
713
|
} | undefined;
|
|
566
714
|
light?: {
|
|
567
715
|
input?: string | undefined;
|
|
568
716
|
radius?: string | undefined;
|
|
569
|
-
|
|
717
|
+
destructive?: string | undefined;
|
|
718
|
+
secondary?: string | undefined;
|
|
570
719
|
popover?: string | undefined;
|
|
720
|
+
border?: string | undefined;
|
|
571
721
|
background?: string | undefined;
|
|
572
722
|
foreground?: string | undefined;
|
|
573
723
|
card?: string | undefined;
|
|
@@ -575,13 +725,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
575
725
|
popoverForeground?: string | undefined;
|
|
576
726
|
primary?: string | undefined;
|
|
577
727
|
primaryForeground?: string | undefined;
|
|
578
|
-
secondary?: string | undefined;
|
|
579
728
|
secondaryForeground?: string | undefined;
|
|
580
729
|
muted?: string | undefined;
|
|
581
730
|
mutedForeground?: string | undefined;
|
|
582
731
|
accent?: string | undefined;
|
|
583
732
|
accentForeground?: string | undefined;
|
|
584
|
-
destructive?: string | undefined;
|
|
585
733
|
destructiveForeground?: string | undefined;
|
|
586
734
|
ring?: string | undefined;
|
|
587
735
|
} | undefined;
|
|
@@ -633,7 +781,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
633
781
|
creator?: string | undefined;
|
|
634
782
|
publisher?: string | undefined;
|
|
635
783
|
}>;
|
|
636
|
-
authentication: z.
|
|
784
|
+
authentication: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
637
785
|
type: z.ZodLiteral<"clerk">;
|
|
638
786
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
639
787
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
@@ -702,8 +850,32 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
702
850
|
redirectToAfterSignIn?: string | undefined;
|
|
703
851
|
redirectToAfterSignOut?: string | undefined;
|
|
704
852
|
audience?: string | undefined;
|
|
853
|
+
}>, z.ZodObject<{
|
|
854
|
+
type: z.ZodLiteral<"supabase">;
|
|
855
|
+
supabaseUrl: z.ZodString;
|
|
856
|
+
supabaseKey: z.ZodString;
|
|
857
|
+
provider: z.ZodEnum<["google", "github", "gitlab", "bitbucket", "facebook", "twitter"]>;
|
|
858
|
+
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
859
|
+
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
860
|
+
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
861
|
+
}, "strip", z.ZodTypeAny, {
|
|
862
|
+
type: "supabase";
|
|
863
|
+
supabaseUrl: string;
|
|
864
|
+
supabaseKey: string;
|
|
865
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
866
|
+
redirectToAfterSignUp?: string | undefined;
|
|
867
|
+
redirectToAfterSignIn?: string | undefined;
|
|
868
|
+
redirectToAfterSignOut?: string | undefined;
|
|
869
|
+
}, {
|
|
870
|
+
type: "supabase";
|
|
871
|
+
supabaseUrl: string;
|
|
872
|
+
supabaseKey: string;
|
|
873
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
874
|
+
redirectToAfterSignUp?: string | undefined;
|
|
875
|
+
redirectToAfterSignIn?: string | undefined;
|
|
876
|
+
redirectToAfterSignOut?: string | undefined;
|
|
705
877
|
}>]>;
|
|
706
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
878
|
+
search: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
707
879
|
type: z.ZodLiteral<"inkeep">;
|
|
708
880
|
apiKey: z.ZodString;
|
|
709
881
|
integrationId: z.ZodString;
|
|
@@ -724,7 +896,66 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
724
896
|
organizationId: string;
|
|
725
897
|
primaryBrandColor: string;
|
|
726
898
|
organizationDisplayName: string;
|
|
727
|
-
}
|
|
899
|
+
}>, z.ZodObject<{
|
|
900
|
+
type: z.ZodLiteral<"pagefind">;
|
|
901
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
902
|
+
termFrequency: z.ZodNumber;
|
|
903
|
+
pageLength: z.ZodNumber;
|
|
904
|
+
termSimilarity: z.ZodNumber;
|
|
905
|
+
termSaturation: z.ZodNumber;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
termFrequency: number;
|
|
908
|
+
pageLength: number;
|
|
909
|
+
termSimilarity: number;
|
|
910
|
+
termSaturation: number;
|
|
911
|
+
}, {
|
|
912
|
+
termFrequency: number;
|
|
913
|
+
pageLength: number;
|
|
914
|
+
termSimilarity: number;
|
|
915
|
+
termSaturation: number;
|
|
916
|
+
}>>;
|
|
917
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
918
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
919
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
920
|
+
result: PagefindSearchFragment;
|
|
921
|
+
auth: AuthState;
|
|
922
|
+
context: ZudokuContext;
|
|
923
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
924
|
+
result: PagefindSearchFragment;
|
|
925
|
+
auth: AuthState;
|
|
926
|
+
context: ZudokuContext;
|
|
927
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
928
|
+
}, "strip", z.ZodTypeAny, {
|
|
929
|
+
type: "pagefind";
|
|
930
|
+
ranking?: {
|
|
931
|
+
termFrequency: number;
|
|
932
|
+
pageLength: number;
|
|
933
|
+
termSimilarity: number;
|
|
934
|
+
termSaturation: number;
|
|
935
|
+
} | undefined;
|
|
936
|
+
maxResults?: number | undefined;
|
|
937
|
+
maxSubResults?: number | undefined;
|
|
938
|
+
transformResults?: ((data: {
|
|
939
|
+
result: PagefindSearchFragment;
|
|
940
|
+
auth: AuthState;
|
|
941
|
+
context: ZudokuContext;
|
|
942
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
943
|
+
}, {
|
|
944
|
+
type: "pagefind";
|
|
945
|
+
ranking?: {
|
|
946
|
+
termFrequency: number;
|
|
947
|
+
pageLength: number;
|
|
948
|
+
termSimilarity: number;
|
|
949
|
+
termSaturation: number;
|
|
950
|
+
} | undefined;
|
|
951
|
+
maxResults?: number | undefined;
|
|
952
|
+
maxSubResults?: number | undefined;
|
|
953
|
+
transformResults?: ((data: {
|
|
954
|
+
result: PagefindSearchFragment;
|
|
955
|
+
auth: AuthState;
|
|
956
|
+
context: ZudokuContext;
|
|
957
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
958
|
+
}>]>>;
|
|
728
959
|
docs: z.ZodUnion<[z.ZodObject<{
|
|
729
960
|
files: z.ZodString;
|
|
730
961
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -791,11 +1022,37 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
791
1022
|
tags: string[];
|
|
792
1023
|
label: string;
|
|
793
1024
|
}>, "many">>;
|
|
1025
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1026
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1028
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1029
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1030
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1031
|
+
}, "strip", z.ZodTypeAny, {
|
|
1032
|
+
examplesLanguage?: string | undefined;
|
|
1033
|
+
disablePlayground?: boolean | undefined;
|
|
1034
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1035
|
+
expandAllTags?: boolean | undefined;
|
|
1036
|
+
transformExamples?: transformExamples | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
examplesLanguage?: string | undefined;
|
|
1039
|
+
disablePlayground?: boolean | undefined;
|
|
1040
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1041
|
+
expandAllTags?: boolean | undefined;
|
|
1042
|
+
transformExamples?: transformExamples | undefined;
|
|
1043
|
+
}>>;
|
|
794
1044
|
}>, "strip", z.ZodTypeAny, {
|
|
795
1045
|
type: "url";
|
|
796
1046
|
input: string;
|
|
797
1047
|
server?: string | undefined;
|
|
798
1048
|
id?: string | undefined;
|
|
1049
|
+
options?: {
|
|
1050
|
+
examplesLanguage?: string | undefined;
|
|
1051
|
+
disablePlayground?: boolean | undefined;
|
|
1052
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1053
|
+
expandAllTags?: boolean | undefined;
|
|
1054
|
+
transformExamples?: transformExamples | undefined;
|
|
1055
|
+
} | undefined;
|
|
799
1056
|
navigationId?: string | undefined;
|
|
800
1057
|
categories?: {
|
|
801
1058
|
tags: string[];
|
|
@@ -806,6 +1063,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
806
1063
|
input: string;
|
|
807
1064
|
server?: string | undefined;
|
|
808
1065
|
id?: string | undefined;
|
|
1066
|
+
options?: {
|
|
1067
|
+
examplesLanguage?: string | undefined;
|
|
1068
|
+
disablePlayground?: boolean | undefined;
|
|
1069
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1070
|
+
expandAllTags?: boolean | undefined;
|
|
1071
|
+
transformExamples?: transformExamples | undefined;
|
|
1072
|
+
} | undefined;
|
|
809
1073
|
navigationId?: string | undefined;
|
|
810
1074
|
categories?: {
|
|
811
1075
|
tags: string[];
|
|
@@ -828,6 +1092,25 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
828
1092
|
tags: string[];
|
|
829
1093
|
label: string;
|
|
830
1094
|
}>, "many">>;
|
|
1095
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1096
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1098
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1099
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1100
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1101
|
+
}, "strip", z.ZodTypeAny, {
|
|
1102
|
+
examplesLanguage?: string | undefined;
|
|
1103
|
+
disablePlayground?: boolean | undefined;
|
|
1104
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1105
|
+
expandAllTags?: boolean | undefined;
|
|
1106
|
+
transformExamples?: transformExamples | undefined;
|
|
1107
|
+
}, {
|
|
1108
|
+
examplesLanguage?: string | undefined;
|
|
1109
|
+
disablePlayground?: boolean | undefined;
|
|
1110
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1111
|
+
expandAllTags?: boolean | undefined;
|
|
1112
|
+
transformExamples?: transformExamples | undefined;
|
|
1113
|
+
}>>;
|
|
831
1114
|
}>, {
|
|
832
1115
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
833
1116
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -835,6 +1118,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
835
1118
|
input: string | string[];
|
|
836
1119
|
server?: string | undefined;
|
|
837
1120
|
id?: string | undefined;
|
|
1121
|
+
options?: {
|
|
1122
|
+
examplesLanguage?: string | undefined;
|
|
1123
|
+
disablePlayground?: boolean | undefined;
|
|
1124
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1125
|
+
expandAllTags?: boolean | undefined;
|
|
1126
|
+
transformExamples?: transformExamples | undefined;
|
|
1127
|
+
} | undefined;
|
|
838
1128
|
navigationId?: string | undefined;
|
|
839
1129
|
categories?: {
|
|
840
1130
|
tags: string[];
|
|
@@ -846,6 +1136,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
846
1136
|
input: string | string[];
|
|
847
1137
|
server?: string | undefined;
|
|
848
1138
|
id?: string | undefined;
|
|
1139
|
+
options?: {
|
|
1140
|
+
examplesLanguage?: string | undefined;
|
|
1141
|
+
disablePlayground?: boolean | undefined;
|
|
1142
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1143
|
+
expandAllTags?: boolean | undefined;
|
|
1144
|
+
transformExamples?: transformExamples | undefined;
|
|
1145
|
+
} | undefined;
|
|
849
1146
|
navigationId?: string | undefined;
|
|
850
1147
|
categories?: {
|
|
851
1148
|
tags: string[];
|
|
@@ -869,11 +1166,37 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
869
1166
|
tags: string[];
|
|
870
1167
|
label: string;
|
|
871
1168
|
}>, "many">>;
|
|
1169
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1170
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1172
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1173
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1174
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1175
|
+
}, "strip", z.ZodTypeAny, {
|
|
1176
|
+
examplesLanguage?: string | undefined;
|
|
1177
|
+
disablePlayground?: boolean | undefined;
|
|
1178
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1179
|
+
expandAllTags?: boolean | undefined;
|
|
1180
|
+
transformExamples?: transformExamples | undefined;
|
|
1181
|
+
}, {
|
|
1182
|
+
examplesLanguage?: string | undefined;
|
|
1183
|
+
disablePlayground?: boolean | undefined;
|
|
1184
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1185
|
+
expandAllTags?: boolean | undefined;
|
|
1186
|
+
transformExamples?: transformExamples | undefined;
|
|
1187
|
+
}>>;
|
|
872
1188
|
}>, "strip", z.ZodTypeAny, {
|
|
873
1189
|
type: "raw";
|
|
874
1190
|
input: string;
|
|
875
1191
|
server?: string | undefined;
|
|
876
1192
|
id?: string | undefined;
|
|
1193
|
+
options?: {
|
|
1194
|
+
examplesLanguage?: string | undefined;
|
|
1195
|
+
disablePlayground?: boolean | undefined;
|
|
1196
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1197
|
+
expandAllTags?: boolean | undefined;
|
|
1198
|
+
transformExamples?: transformExamples | undefined;
|
|
1199
|
+
} | undefined;
|
|
877
1200
|
navigationId?: string | undefined;
|
|
878
1201
|
categories?: {
|
|
879
1202
|
tags: string[];
|
|
@@ -884,6 +1207,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
884
1207
|
input: string;
|
|
885
1208
|
server?: string | undefined;
|
|
886
1209
|
id?: string | undefined;
|
|
1210
|
+
options?: {
|
|
1211
|
+
examplesLanguage?: string | undefined;
|
|
1212
|
+
disablePlayground?: boolean | undefined;
|
|
1213
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1214
|
+
expandAllTags?: boolean | undefined;
|
|
1215
|
+
transformExamples?: transformExamples | undefined;
|
|
1216
|
+
} | undefined;
|
|
887
1217
|
navigationId?: string | undefined;
|
|
888
1218
|
categories?: {
|
|
889
1219
|
tags: string[];
|
|
@@ -906,11 +1236,37 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
906
1236
|
tags: string[];
|
|
907
1237
|
label: string;
|
|
908
1238
|
}>, "many">>;
|
|
1239
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1242
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1243
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1244
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1245
|
+
}, "strip", z.ZodTypeAny, {
|
|
1246
|
+
examplesLanguage?: string | undefined;
|
|
1247
|
+
disablePlayground?: boolean | undefined;
|
|
1248
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1249
|
+
expandAllTags?: boolean | undefined;
|
|
1250
|
+
transformExamples?: transformExamples | undefined;
|
|
1251
|
+
}, {
|
|
1252
|
+
examplesLanguage?: string | undefined;
|
|
1253
|
+
disablePlayground?: boolean | undefined;
|
|
1254
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1255
|
+
expandAllTags?: boolean | undefined;
|
|
1256
|
+
transformExamples?: transformExamples | undefined;
|
|
1257
|
+
}>>;
|
|
909
1258
|
}>, "strip", z.ZodTypeAny, {
|
|
910
1259
|
type: "url";
|
|
911
1260
|
input: string;
|
|
912
1261
|
server?: string | undefined;
|
|
913
1262
|
id?: string | undefined;
|
|
1263
|
+
options?: {
|
|
1264
|
+
examplesLanguage?: string | undefined;
|
|
1265
|
+
disablePlayground?: boolean | undefined;
|
|
1266
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1267
|
+
expandAllTags?: boolean | undefined;
|
|
1268
|
+
transformExamples?: transformExamples | undefined;
|
|
1269
|
+
} | undefined;
|
|
914
1270
|
navigationId?: string | undefined;
|
|
915
1271
|
categories?: {
|
|
916
1272
|
tags: string[];
|
|
@@ -921,6 +1277,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
921
1277
|
input: string;
|
|
922
1278
|
server?: string | undefined;
|
|
923
1279
|
id?: string | undefined;
|
|
1280
|
+
options?: {
|
|
1281
|
+
examplesLanguage?: string | undefined;
|
|
1282
|
+
disablePlayground?: boolean | undefined;
|
|
1283
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1284
|
+
expandAllTags?: boolean | undefined;
|
|
1285
|
+
transformExamples?: transformExamples | undefined;
|
|
1286
|
+
} | undefined;
|
|
924
1287
|
navigationId?: string | undefined;
|
|
925
1288
|
categories?: {
|
|
926
1289
|
tags: string[];
|
|
@@ -943,6 +1306,25 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
943
1306
|
tags: string[];
|
|
944
1307
|
label: string;
|
|
945
1308
|
}>, "many">>;
|
|
1309
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1310
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1312
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1313
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1314
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1315
|
+
}, "strip", z.ZodTypeAny, {
|
|
1316
|
+
examplesLanguage?: string | undefined;
|
|
1317
|
+
disablePlayground?: boolean | undefined;
|
|
1318
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1319
|
+
expandAllTags?: boolean | undefined;
|
|
1320
|
+
transformExamples?: transformExamples | undefined;
|
|
1321
|
+
}, {
|
|
1322
|
+
examplesLanguage?: string | undefined;
|
|
1323
|
+
disablePlayground?: boolean | undefined;
|
|
1324
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1325
|
+
expandAllTags?: boolean | undefined;
|
|
1326
|
+
transformExamples?: transformExamples | undefined;
|
|
1327
|
+
}>>;
|
|
946
1328
|
}>, {
|
|
947
1329
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
948
1330
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -950,6 +1332,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
950
1332
|
input: string | string[];
|
|
951
1333
|
server?: string | undefined;
|
|
952
1334
|
id?: string | undefined;
|
|
1335
|
+
options?: {
|
|
1336
|
+
examplesLanguage?: string | undefined;
|
|
1337
|
+
disablePlayground?: boolean | undefined;
|
|
1338
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1339
|
+
expandAllTags?: boolean | undefined;
|
|
1340
|
+
transformExamples?: transformExamples | undefined;
|
|
1341
|
+
} | undefined;
|
|
953
1342
|
navigationId?: string | undefined;
|
|
954
1343
|
categories?: {
|
|
955
1344
|
tags: string[];
|
|
@@ -961,6 +1350,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
961
1350
|
input: string | string[];
|
|
962
1351
|
server?: string | undefined;
|
|
963
1352
|
id?: string | undefined;
|
|
1353
|
+
options?: {
|
|
1354
|
+
examplesLanguage?: string | undefined;
|
|
1355
|
+
disablePlayground?: boolean | undefined;
|
|
1356
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1357
|
+
expandAllTags?: boolean | undefined;
|
|
1358
|
+
transformExamples?: transformExamples | undefined;
|
|
1359
|
+
} | undefined;
|
|
964
1360
|
navigationId?: string | undefined;
|
|
965
1361
|
categories?: {
|
|
966
1362
|
tags: string[];
|
|
@@ -984,11 +1380,37 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
984
1380
|
tags: string[];
|
|
985
1381
|
label: string;
|
|
986
1382
|
}>, "many">>;
|
|
1383
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1384
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1386
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1387
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1389
|
+
}, "strip", z.ZodTypeAny, {
|
|
1390
|
+
examplesLanguage?: string | undefined;
|
|
1391
|
+
disablePlayground?: boolean | undefined;
|
|
1392
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1393
|
+
expandAllTags?: boolean | undefined;
|
|
1394
|
+
transformExamples?: transformExamples | undefined;
|
|
1395
|
+
}, {
|
|
1396
|
+
examplesLanguage?: string | undefined;
|
|
1397
|
+
disablePlayground?: boolean | undefined;
|
|
1398
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1399
|
+
expandAllTags?: boolean | undefined;
|
|
1400
|
+
transformExamples?: transformExamples | undefined;
|
|
1401
|
+
}>>;
|
|
987
1402
|
}>, "strip", z.ZodTypeAny, {
|
|
988
1403
|
type: "raw";
|
|
989
1404
|
input: string;
|
|
990
1405
|
server?: string | undefined;
|
|
991
1406
|
id?: string | undefined;
|
|
1407
|
+
options?: {
|
|
1408
|
+
examplesLanguage?: string | undefined;
|
|
1409
|
+
disablePlayground?: boolean | undefined;
|
|
1410
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1411
|
+
expandAllTags?: boolean | undefined;
|
|
1412
|
+
transformExamples?: transformExamples | undefined;
|
|
1413
|
+
} | undefined;
|
|
992
1414
|
navigationId?: string | undefined;
|
|
993
1415
|
categories?: {
|
|
994
1416
|
tags: string[];
|
|
@@ -999,6 +1421,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
999
1421
|
input: string;
|
|
1000
1422
|
server?: string | undefined;
|
|
1001
1423
|
id?: string | undefined;
|
|
1424
|
+
options?: {
|
|
1425
|
+
examplesLanguage?: string | undefined;
|
|
1426
|
+
disablePlayground?: boolean | undefined;
|
|
1427
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1428
|
+
expandAllTags?: boolean | undefined;
|
|
1429
|
+
transformExamples?: transformExamples | undefined;
|
|
1430
|
+
} | undefined;
|
|
1002
1431
|
navigationId?: string | undefined;
|
|
1003
1432
|
categories?: {
|
|
1004
1433
|
tags: string[];
|
|
@@ -1145,13 +1574,59 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1145
1574
|
isZuplo: z.ZodOptional<z.ZodBoolean>;
|
|
1146
1575
|
enableStatusPages: z.ZodOptional<z.ZodBoolean>;
|
|
1147
1576
|
defaults: z.ZodObject<{
|
|
1577
|
+
apis: z.ZodObject<{
|
|
1578
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1580
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1581
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1584
|
+
examplesLanguage?: string | undefined;
|
|
1585
|
+
disablePlayground?: boolean | undefined;
|
|
1586
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1587
|
+
expandAllTags?: boolean | undefined;
|
|
1588
|
+
transformExamples?: transformExamples | undefined;
|
|
1589
|
+
}, {
|
|
1590
|
+
examplesLanguage?: string | undefined;
|
|
1591
|
+
disablePlayground?: boolean | undefined;
|
|
1592
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1593
|
+
expandAllTags?: boolean | undefined;
|
|
1594
|
+
transformExamples?: transformExamples | undefined;
|
|
1595
|
+
}>;
|
|
1596
|
+
/**
|
|
1597
|
+
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
1598
|
+
*/
|
|
1148
1599
|
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
1149
1600
|
}, "strip", z.ZodTypeAny, {
|
|
1601
|
+
apis: {
|
|
1602
|
+
examplesLanguage?: string | undefined;
|
|
1603
|
+
disablePlayground?: boolean | undefined;
|
|
1604
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1605
|
+
expandAllTags?: boolean | undefined;
|
|
1606
|
+
transformExamples?: transformExamples | undefined;
|
|
1607
|
+
};
|
|
1150
1608
|
examplesLanguage?: string | undefined;
|
|
1151
1609
|
}, {
|
|
1610
|
+
apis: {
|
|
1611
|
+
examplesLanguage?: string | undefined;
|
|
1612
|
+
disablePlayground?: boolean | undefined;
|
|
1613
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1614
|
+
expandAllTags?: boolean | undefined;
|
|
1615
|
+
transformExamples?: transformExamples | undefined;
|
|
1616
|
+
};
|
|
1152
1617
|
examplesLanguage?: string | undefined;
|
|
1153
1618
|
}>;
|
|
1154
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
+
defaults: {
|
|
1621
|
+
apis: {
|
|
1622
|
+
examplesLanguage?: string | undefined;
|
|
1623
|
+
disablePlayground?: boolean | undefined;
|
|
1624
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1625
|
+
expandAllTags?: boolean | undefined;
|
|
1626
|
+
transformExamples?: transformExamples | undefined;
|
|
1627
|
+
};
|
|
1628
|
+
examplesLanguage?: string | undefined;
|
|
1629
|
+
};
|
|
1155
1630
|
sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
|
|
1156
1631
|
metadata: {
|
|
1157
1632
|
description?: string | undefined;
|
|
@@ -1166,12 +1641,52 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1166
1641
|
creator?: string | undefined;
|
|
1167
1642
|
publisher?: string | undefined;
|
|
1168
1643
|
};
|
|
1644
|
+
authentication: {
|
|
1645
|
+
type: "clerk";
|
|
1646
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1647
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1648
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1649
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1650
|
+
} | {
|
|
1651
|
+
type: "openid";
|
|
1652
|
+
clientId: string;
|
|
1653
|
+
issuer: string;
|
|
1654
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1655
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1656
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1657
|
+
audience?: string | undefined;
|
|
1658
|
+
scopes?: string[] | undefined;
|
|
1659
|
+
} | {
|
|
1660
|
+
type: "auth0";
|
|
1661
|
+
clientId: string;
|
|
1662
|
+
domain: string;
|
|
1663
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1664
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1665
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1666
|
+
audience?: string | undefined;
|
|
1667
|
+
} | {
|
|
1668
|
+
type: "supabase";
|
|
1669
|
+
supabaseUrl: string;
|
|
1670
|
+
supabaseKey: string;
|
|
1671
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
1672
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1673
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1674
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1675
|
+
};
|
|
1676
|
+
topNavigation: {
|
|
1677
|
+
id: string;
|
|
1678
|
+
label: string;
|
|
1679
|
+
default?: string | undefined;
|
|
1680
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1681
|
+
}[];
|
|
1169
1682
|
theme: {
|
|
1170
1683
|
dark?: {
|
|
1171
1684
|
input?: string | undefined;
|
|
1172
1685
|
radius?: string | undefined;
|
|
1173
|
-
|
|
1686
|
+
destructive?: string | undefined;
|
|
1687
|
+
secondary?: string | undefined;
|
|
1174
1688
|
popover?: string | undefined;
|
|
1689
|
+
border?: string | undefined;
|
|
1175
1690
|
background?: string | undefined;
|
|
1176
1691
|
foreground?: string | undefined;
|
|
1177
1692
|
card?: string | undefined;
|
|
@@ -1179,21 +1694,21 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1179
1694
|
popoverForeground?: string | undefined;
|
|
1180
1695
|
primary?: string | undefined;
|
|
1181
1696
|
primaryForeground?: string | undefined;
|
|
1182
|
-
secondary?: string | undefined;
|
|
1183
1697
|
secondaryForeground?: string | undefined;
|
|
1184
1698
|
muted?: string | undefined;
|
|
1185
1699
|
mutedForeground?: string | undefined;
|
|
1186
1700
|
accent?: string | undefined;
|
|
1187
1701
|
accentForeground?: string | undefined;
|
|
1188
|
-
destructive?: string | undefined;
|
|
1189
1702
|
destructiveForeground?: string | undefined;
|
|
1190
1703
|
ring?: string | undefined;
|
|
1191
1704
|
} | undefined;
|
|
1192
1705
|
light?: {
|
|
1193
1706
|
input?: string | undefined;
|
|
1194
1707
|
radius?: string | undefined;
|
|
1195
|
-
|
|
1708
|
+
destructive?: string | undefined;
|
|
1709
|
+
secondary?: string | undefined;
|
|
1196
1710
|
popover?: string | undefined;
|
|
1711
|
+
border?: string | undefined;
|
|
1197
1712
|
background?: string | undefined;
|
|
1198
1713
|
foreground?: string | undefined;
|
|
1199
1714
|
card?: string | undefined;
|
|
@@ -1201,13 +1716,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1201
1716
|
popoverForeground?: string | undefined;
|
|
1202
1717
|
primary?: string | undefined;
|
|
1203
1718
|
primaryForeground?: string | undefined;
|
|
1204
|
-
secondary?: string | undefined;
|
|
1205
1719
|
secondaryForeground?: string | undefined;
|
|
1206
1720
|
muted?: string | undefined;
|
|
1207
1721
|
mutedForeground?: string | undefined;
|
|
1208
1722
|
accent?: string | undefined;
|
|
1209
1723
|
accentForeground?: string | undefined;
|
|
1210
|
-
destructive?: string | undefined;
|
|
1211
1724
|
destructiveForeground?: string | undefined;
|
|
1212
1725
|
ring?: string | undefined;
|
|
1213
1726
|
} | undefined;
|
|
@@ -1223,6 +1736,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1223
1736
|
} | undefined;
|
|
1224
1737
|
};
|
|
1225
1738
|
page: {
|
|
1739
|
+
banner?: {
|
|
1740
|
+
message: NonNullable<ReactNode>;
|
|
1741
|
+
color?: string | (string & {}) | undefined;
|
|
1742
|
+
dismissible?: boolean | undefined;
|
|
1743
|
+
} | undefined;
|
|
1226
1744
|
pageTitle?: string | undefined;
|
|
1227
1745
|
logoUrl?: string | undefined;
|
|
1228
1746
|
logo?: {
|
|
@@ -1233,41 +1751,6 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1233
1751
|
width?: string | undefined;
|
|
1234
1752
|
alt?: string | undefined;
|
|
1235
1753
|
} | undefined;
|
|
1236
|
-
banner?: {
|
|
1237
|
-
message: NonNullable<ReactNode>;
|
|
1238
|
-
color?: string | (string & {}) | undefined;
|
|
1239
|
-
dismissible?: boolean | undefined;
|
|
1240
|
-
} | undefined;
|
|
1241
|
-
};
|
|
1242
|
-
topNavigation: {
|
|
1243
|
-
id: string;
|
|
1244
|
-
label: string;
|
|
1245
|
-
default?: string | undefined;
|
|
1246
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1247
|
-
}[];
|
|
1248
|
-
authentication: {
|
|
1249
|
-
type: "clerk";
|
|
1250
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1251
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1252
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1253
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1254
|
-
} | {
|
|
1255
|
-
type: "openid";
|
|
1256
|
-
clientId: string;
|
|
1257
|
-
issuer: string;
|
|
1258
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1259
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1260
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1261
|
-
audience?: string | undefined;
|
|
1262
|
-
scopes?: string[] | undefined;
|
|
1263
|
-
} | {
|
|
1264
|
-
type: "auth0";
|
|
1265
|
-
clientId: string;
|
|
1266
|
-
domain: string;
|
|
1267
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1268
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1269
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1270
|
-
audience?: string | undefined;
|
|
1271
1754
|
};
|
|
1272
1755
|
docs: {
|
|
1273
1756
|
files: string;
|
|
@@ -1287,6 +1770,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1287
1770
|
input: string;
|
|
1288
1771
|
server?: string | undefined;
|
|
1289
1772
|
id?: string | undefined;
|
|
1773
|
+
options?: {
|
|
1774
|
+
examplesLanguage?: string | undefined;
|
|
1775
|
+
disablePlayground?: boolean | undefined;
|
|
1776
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1777
|
+
expandAllTags?: boolean | undefined;
|
|
1778
|
+
transformExamples?: transformExamples | undefined;
|
|
1779
|
+
} | undefined;
|
|
1290
1780
|
navigationId?: string | undefined;
|
|
1291
1781
|
categories?: {
|
|
1292
1782
|
tags: string[];
|
|
@@ -1297,6 +1787,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1297
1787
|
input: string | string[];
|
|
1298
1788
|
server?: string | undefined;
|
|
1299
1789
|
id?: string | undefined;
|
|
1790
|
+
options?: {
|
|
1791
|
+
examplesLanguage?: string | undefined;
|
|
1792
|
+
disablePlayground?: boolean | undefined;
|
|
1793
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1794
|
+
expandAllTags?: boolean | undefined;
|
|
1795
|
+
transformExamples?: transformExamples | undefined;
|
|
1796
|
+
} | undefined;
|
|
1300
1797
|
navigationId?: string | undefined;
|
|
1301
1798
|
categories?: {
|
|
1302
1799
|
tags: string[];
|
|
@@ -1308,6 +1805,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1308
1805
|
input: string;
|
|
1309
1806
|
server?: string | undefined;
|
|
1310
1807
|
id?: string | undefined;
|
|
1808
|
+
options?: {
|
|
1809
|
+
examplesLanguage?: string | undefined;
|
|
1810
|
+
disablePlayground?: boolean | undefined;
|
|
1811
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1812
|
+
expandAllTags?: boolean | undefined;
|
|
1813
|
+
transformExamples?: transformExamples | undefined;
|
|
1814
|
+
} | undefined;
|
|
1311
1815
|
navigationId?: string | undefined;
|
|
1312
1816
|
categories?: {
|
|
1313
1817
|
tags: string[];
|
|
@@ -1318,6 +1822,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1318
1822
|
input: string;
|
|
1319
1823
|
server?: string | undefined;
|
|
1320
1824
|
id?: string | undefined;
|
|
1825
|
+
options?: {
|
|
1826
|
+
examplesLanguage?: string | undefined;
|
|
1827
|
+
disablePlayground?: boolean | undefined;
|
|
1828
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1829
|
+
expandAllTags?: boolean | undefined;
|
|
1830
|
+
transformExamples?: transformExamples | undefined;
|
|
1831
|
+
} | undefined;
|
|
1321
1832
|
navigationId?: string | undefined;
|
|
1322
1833
|
categories?: {
|
|
1323
1834
|
tags: string[];
|
|
@@ -1328,6 +1839,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1328
1839
|
input: string | string[];
|
|
1329
1840
|
server?: string | undefined;
|
|
1330
1841
|
id?: string | undefined;
|
|
1842
|
+
options?: {
|
|
1843
|
+
examplesLanguage?: string | undefined;
|
|
1844
|
+
disablePlayground?: boolean | undefined;
|
|
1845
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1846
|
+
expandAllTags?: boolean | undefined;
|
|
1847
|
+
transformExamples?: transformExamples | undefined;
|
|
1848
|
+
} | undefined;
|
|
1331
1849
|
navigationId?: string | undefined;
|
|
1332
1850
|
categories?: {
|
|
1333
1851
|
tags: string[];
|
|
@@ -1339,6 +1857,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1339
1857
|
input: string;
|
|
1340
1858
|
server?: string | undefined;
|
|
1341
1859
|
id?: string | undefined;
|
|
1860
|
+
options?: {
|
|
1861
|
+
examplesLanguage?: string | undefined;
|
|
1862
|
+
disablePlayground?: boolean | undefined;
|
|
1863
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1864
|
+
expandAllTags?: boolean | undefined;
|
|
1865
|
+
transformExamples?: transformExamples | undefined;
|
|
1866
|
+
} | undefined;
|
|
1342
1867
|
navigationId?: string | undefined;
|
|
1343
1868
|
categories?: {
|
|
1344
1869
|
tags: string[];
|
|
@@ -1377,9 +1902,6 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1377
1902
|
from: string;
|
|
1378
1903
|
to: string;
|
|
1379
1904
|
}[];
|
|
1380
|
-
defaults: {
|
|
1381
|
-
examplesLanguage?: string | undefined;
|
|
1382
|
-
};
|
|
1383
1905
|
search?: {
|
|
1384
1906
|
type: "inkeep";
|
|
1385
1907
|
apiKey: string;
|
|
@@ -1387,10 +1909,35 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1387
1909
|
organizationId: string;
|
|
1388
1910
|
primaryBrandColor: string;
|
|
1389
1911
|
organizationDisplayName: string;
|
|
1912
|
+
} | {
|
|
1913
|
+
type: "pagefind";
|
|
1914
|
+
ranking?: {
|
|
1915
|
+
termFrequency: number;
|
|
1916
|
+
pageLength: number;
|
|
1917
|
+
termSimilarity: number;
|
|
1918
|
+
termSaturation: number;
|
|
1919
|
+
} | undefined;
|
|
1920
|
+
maxResults?: number | undefined;
|
|
1921
|
+
maxSubResults?: number | undefined;
|
|
1922
|
+
transformResults?: ((data: {
|
|
1923
|
+
result: PagefindSearchFragment;
|
|
1924
|
+
auth: AuthState;
|
|
1925
|
+
context: ZudokuContext;
|
|
1926
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1390
1927
|
} | undefined;
|
|
1391
1928
|
protectedRoutes?: string[] | undefined;
|
|
1392
1929
|
basePath?: string | undefined;
|
|
1393
|
-
|
|
1930
|
+
canonicalUrlOrigin?: string | undefined;
|
|
1931
|
+
cdnUrl?: {
|
|
1932
|
+
base: string | undefined;
|
|
1933
|
+
media: string | undefined;
|
|
1934
|
+
} | undefined;
|
|
1935
|
+
port?: number | undefined;
|
|
1936
|
+
https?: {
|
|
1937
|
+
key: string;
|
|
1938
|
+
cert: string;
|
|
1939
|
+
ca?: string | undefined;
|
|
1940
|
+
} | undefined;
|
|
1394
1941
|
sitemap?: {
|
|
1395
1942
|
siteUrl: string;
|
|
1396
1943
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1402,7 +1949,17 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1402
1949
|
isZuplo?: boolean | undefined;
|
|
1403
1950
|
enableStatusPages?: boolean | undefined;
|
|
1404
1951
|
}, {
|
|
1405
|
-
|
|
1952
|
+
defaults: {
|
|
1953
|
+
apis: {
|
|
1954
|
+
examplesLanguage?: string | undefined;
|
|
1955
|
+
disablePlayground?: boolean | undefined;
|
|
1956
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1957
|
+
expandAllTags?: boolean | undefined;
|
|
1958
|
+
transformExamples?: transformExamples | undefined;
|
|
1959
|
+
};
|
|
1960
|
+
examplesLanguage?: string | undefined;
|
|
1961
|
+
};
|
|
1962
|
+
sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
|
|
1406
1963
|
metadata: {
|
|
1407
1964
|
description?: string | undefined;
|
|
1408
1965
|
title?: string | undefined;
|
|
@@ -1416,12 +1973,52 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1416
1973
|
creator?: string | undefined;
|
|
1417
1974
|
publisher?: string | undefined;
|
|
1418
1975
|
};
|
|
1976
|
+
authentication: {
|
|
1977
|
+
type: "clerk";
|
|
1978
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1979
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1980
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1981
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1982
|
+
} | {
|
|
1983
|
+
type: "openid";
|
|
1984
|
+
clientId: string;
|
|
1985
|
+
issuer: string;
|
|
1986
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1987
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1988
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1989
|
+
audience?: string | undefined;
|
|
1990
|
+
scopes?: string[] | undefined;
|
|
1991
|
+
} | {
|
|
1992
|
+
type: "auth0";
|
|
1993
|
+
clientId: string;
|
|
1994
|
+
domain: string;
|
|
1995
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1996
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1997
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1998
|
+
audience?: string | undefined;
|
|
1999
|
+
} | {
|
|
2000
|
+
type: "supabase";
|
|
2001
|
+
supabaseUrl: string;
|
|
2002
|
+
supabaseKey: string;
|
|
2003
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2004
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2005
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2006
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2007
|
+
};
|
|
2008
|
+
topNavigation: {
|
|
2009
|
+
id: string;
|
|
2010
|
+
label: string;
|
|
2011
|
+
default?: string | undefined;
|
|
2012
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
2013
|
+
}[];
|
|
1419
2014
|
theme: {
|
|
1420
2015
|
dark?: {
|
|
1421
2016
|
input?: string | undefined;
|
|
1422
2017
|
radius?: string | undefined;
|
|
1423
|
-
|
|
2018
|
+
destructive?: string | undefined;
|
|
2019
|
+
secondary?: string | undefined;
|
|
1424
2020
|
popover?: string | undefined;
|
|
2021
|
+
border?: string | undefined;
|
|
1425
2022
|
background?: string | undefined;
|
|
1426
2023
|
foreground?: string | undefined;
|
|
1427
2024
|
card?: string | undefined;
|
|
@@ -1429,21 +2026,21 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1429
2026
|
popoverForeground?: string | undefined;
|
|
1430
2027
|
primary?: string | undefined;
|
|
1431
2028
|
primaryForeground?: string | undefined;
|
|
1432
|
-
secondary?: string | undefined;
|
|
1433
2029
|
secondaryForeground?: string | undefined;
|
|
1434
2030
|
muted?: string | undefined;
|
|
1435
2031
|
mutedForeground?: string | undefined;
|
|
1436
2032
|
accent?: string | undefined;
|
|
1437
2033
|
accentForeground?: string | undefined;
|
|
1438
|
-
destructive?: string | undefined;
|
|
1439
2034
|
destructiveForeground?: string | undefined;
|
|
1440
2035
|
ring?: string | undefined;
|
|
1441
2036
|
} | undefined;
|
|
1442
2037
|
light?: {
|
|
1443
2038
|
input?: string | undefined;
|
|
1444
2039
|
radius?: string | undefined;
|
|
1445
|
-
|
|
2040
|
+
destructive?: string | undefined;
|
|
2041
|
+
secondary?: string | undefined;
|
|
1446
2042
|
popover?: string | undefined;
|
|
2043
|
+
border?: string | undefined;
|
|
1447
2044
|
background?: string | undefined;
|
|
1448
2045
|
foreground?: string | undefined;
|
|
1449
2046
|
card?: string | undefined;
|
|
@@ -1451,13 +2048,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1451
2048
|
popoverForeground?: string | undefined;
|
|
1452
2049
|
primary?: string | undefined;
|
|
1453
2050
|
primaryForeground?: string | undefined;
|
|
1454
|
-
secondary?: string | undefined;
|
|
1455
2051
|
secondaryForeground?: string | undefined;
|
|
1456
2052
|
muted?: string | undefined;
|
|
1457
2053
|
mutedForeground?: string | undefined;
|
|
1458
2054
|
accent?: string | undefined;
|
|
1459
2055
|
accentForeground?: string | undefined;
|
|
1460
|
-
destructive?: string | undefined;
|
|
1461
2056
|
destructiveForeground?: string | undefined;
|
|
1462
2057
|
ring?: string | undefined;
|
|
1463
2058
|
} | undefined;
|
|
@@ -1473,6 +2068,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1473
2068
|
} | undefined;
|
|
1474
2069
|
};
|
|
1475
2070
|
page: {
|
|
2071
|
+
banner?: {
|
|
2072
|
+
message: NonNullable<ReactNode>;
|
|
2073
|
+
color?: string | (string & {}) | undefined;
|
|
2074
|
+
dismissible?: boolean | undefined;
|
|
2075
|
+
} | undefined;
|
|
1476
2076
|
pageTitle?: string | undefined;
|
|
1477
2077
|
logoUrl?: string | undefined;
|
|
1478
2078
|
logo?: {
|
|
@@ -1483,41 +2083,6 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1483
2083
|
width?: string | undefined;
|
|
1484
2084
|
alt?: string | undefined;
|
|
1485
2085
|
} | undefined;
|
|
1486
|
-
banner?: {
|
|
1487
|
-
message: NonNullable<ReactNode>;
|
|
1488
|
-
color?: string | (string & {}) | undefined;
|
|
1489
|
-
dismissible?: boolean | undefined;
|
|
1490
|
-
} | undefined;
|
|
1491
|
-
};
|
|
1492
|
-
topNavigation: {
|
|
1493
|
-
id: string;
|
|
1494
|
-
label: string;
|
|
1495
|
-
default?: string | undefined;
|
|
1496
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1497
|
-
}[];
|
|
1498
|
-
authentication: {
|
|
1499
|
-
type: "clerk";
|
|
1500
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1501
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1502
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1503
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1504
|
-
} | {
|
|
1505
|
-
type: "openid";
|
|
1506
|
-
clientId: string;
|
|
1507
|
-
issuer: string;
|
|
1508
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1509
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1510
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1511
|
-
audience?: string | undefined;
|
|
1512
|
-
scopes?: string[] | undefined;
|
|
1513
|
-
} | {
|
|
1514
|
-
type: "auth0";
|
|
1515
|
-
clientId: string;
|
|
1516
|
-
domain: string;
|
|
1517
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1518
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1519
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1520
|
-
audience?: string | undefined;
|
|
1521
2086
|
};
|
|
1522
2087
|
docs: {
|
|
1523
2088
|
files: string;
|
|
@@ -1537,6 +2102,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1537
2102
|
input: string;
|
|
1538
2103
|
server?: string | undefined;
|
|
1539
2104
|
id?: string | undefined;
|
|
2105
|
+
options?: {
|
|
2106
|
+
examplesLanguage?: string | undefined;
|
|
2107
|
+
disablePlayground?: boolean | undefined;
|
|
2108
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2109
|
+
expandAllTags?: boolean | undefined;
|
|
2110
|
+
transformExamples?: transformExamples | undefined;
|
|
2111
|
+
} | undefined;
|
|
1540
2112
|
navigationId?: string | undefined;
|
|
1541
2113
|
categories?: {
|
|
1542
2114
|
tags: string[];
|
|
@@ -1547,6 +2119,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1547
2119
|
input: string | string[];
|
|
1548
2120
|
server?: string | undefined;
|
|
1549
2121
|
id?: string | undefined;
|
|
2122
|
+
options?: {
|
|
2123
|
+
examplesLanguage?: string | undefined;
|
|
2124
|
+
disablePlayground?: boolean | undefined;
|
|
2125
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2126
|
+
expandAllTags?: boolean | undefined;
|
|
2127
|
+
transformExamples?: transformExamples | undefined;
|
|
2128
|
+
} | undefined;
|
|
1550
2129
|
navigationId?: string | undefined;
|
|
1551
2130
|
categories?: {
|
|
1552
2131
|
tags: string[];
|
|
@@ -1558,6 +2137,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1558
2137
|
input: string;
|
|
1559
2138
|
server?: string | undefined;
|
|
1560
2139
|
id?: string | undefined;
|
|
2140
|
+
options?: {
|
|
2141
|
+
examplesLanguage?: string | undefined;
|
|
2142
|
+
disablePlayground?: boolean | undefined;
|
|
2143
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2144
|
+
expandAllTags?: boolean | undefined;
|
|
2145
|
+
transformExamples?: transformExamples | undefined;
|
|
2146
|
+
} | undefined;
|
|
1561
2147
|
navigationId?: string | undefined;
|
|
1562
2148
|
categories?: {
|
|
1563
2149
|
tags: string[];
|
|
@@ -1568,6 +2154,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1568
2154
|
input: string;
|
|
1569
2155
|
server?: string | undefined;
|
|
1570
2156
|
id?: string | undefined;
|
|
2157
|
+
options?: {
|
|
2158
|
+
examplesLanguage?: string | undefined;
|
|
2159
|
+
disablePlayground?: boolean | undefined;
|
|
2160
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2161
|
+
expandAllTags?: boolean | undefined;
|
|
2162
|
+
transformExamples?: transformExamples | undefined;
|
|
2163
|
+
} | undefined;
|
|
1571
2164
|
navigationId?: string | undefined;
|
|
1572
2165
|
categories?: {
|
|
1573
2166
|
tags: string[];
|
|
@@ -1578,6 +2171,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1578
2171
|
input: string | string[];
|
|
1579
2172
|
server?: string | undefined;
|
|
1580
2173
|
id?: string | undefined;
|
|
2174
|
+
options?: {
|
|
2175
|
+
examplesLanguage?: string | undefined;
|
|
2176
|
+
disablePlayground?: boolean | undefined;
|
|
2177
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2178
|
+
expandAllTags?: boolean | undefined;
|
|
2179
|
+
transformExamples?: transformExamples | undefined;
|
|
2180
|
+
} | undefined;
|
|
1581
2181
|
navigationId?: string | undefined;
|
|
1582
2182
|
categories?: {
|
|
1583
2183
|
tags: string[];
|
|
@@ -1589,6 +2189,13 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1589
2189
|
input: string;
|
|
1590
2190
|
server?: string | undefined;
|
|
1591
2191
|
id?: string | undefined;
|
|
2192
|
+
options?: {
|
|
2193
|
+
examplesLanguage?: string | undefined;
|
|
2194
|
+
disablePlayground?: boolean | undefined;
|
|
2195
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2196
|
+
expandAllTags?: boolean | undefined;
|
|
2197
|
+
transformExamples?: transformExamples | undefined;
|
|
2198
|
+
} | undefined;
|
|
1592
2199
|
navigationId?: string | undefined;
|
|
1593
2200
|
categories?: {
|
|
1594
2201
|
tags: string[];
|
|
@@ -1627,9 +2234,6 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1627
2234
|
from: string;
|
|
1628
2235
|
to: string;
|
|
1629
2236
|
}[];
|
|
1630
|
-
defaults: {
|
|
1631
|
-
examplesLanguage?: string | undefined;
|
|
1632
|
-
};
|
|
1633
2237
|
search?: {
|
|
1634
2238
|
type: "inkeep";
|
|
1635
2239
|
apiKey: string;
|
|
@@ -1637,10 +2241,35 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1637
2241
|
organizationId: string;
|
|
1638
2242
|
primaryBrandColor: string;
|
|
1639
2243
|
organizationDisplayName: string;
|
|
2244
|
+
} | {
|
|
2245
|
+
type: "pagefind";
|
|
2246
|
+
ranking?: {
|
|
2247
|
+
termFrequency: number;
|
|
2248
|
+
pageLength: number;
|
|
2249
|
+
termSimilarity: number;
|
|
2250
|
+
termSaturation: number;
|
|
2251
|
+
} | undefined;
|
|
2252
|
+
maxResults?: number | undefined;
|
|
2253
|
+
maxSubResults?: number | undefined;
|
|
2254
|
+
transformResults?: ((data: {
|
|
2255
|
+
result: PagefindSearchFragment;
|
|
2256
|
+
auth: AuthState;
|
|
2257
|
+
context: ZudokuContext;
|
|
2258
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1640
2259
|
} | undefined;
|
|
1641
2260
|
protectedRoutes?: string[] | undefined;
|
|
1642
2261
|
basePath?: string | undefined;
|
|
1643
|
-
|
|
2262
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2263
|
+
cdnUrl?: string | {
|
|
2264
|
+
base?: string | undefined;
|
|
2265
|
+
media?: string | undefined;
|
|
2266
|
+
} | undefined;
|
|
2267
|
+
port?: number | undefined;
|
|
2268
|
+
https?: {
|
|
2269
|
+
key: string;
|
|
2270
|
+
cert: string;
|
|
2271
|
+
ca?: string | undefined;
|
|
2272
|
+
} | undefined;
|
|
1644
2273
|
sitemap?: {
|
|
1645
2274
|
siteUrl: string;
|
|
1646
2275
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1656,7 +2285,37 @@ export declare const refine: (config: z.output<typeof CommonConfigSchemaPartial>
|
|
|
1656
2285
|
declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
1657
2286
|
protectedRoutes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1658
2287
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1659
|
-
|
|
2288
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2289
|
+
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2290
|
+
base: z.ZodOptional<z.ZodString>;
|
|
2291
|
+
media: z.ZodOptional<z.ZodString>;
|
|
2292
|
+
}, "strip", z.ZodTypeAny, {
|
|
2293
|
+
base?: string | undefined;
|
|
2294
|
+
media?: string | undefined;
|
|
2295
|
+
}, {
|
|
2296
|
+
base?: string | undefined;
|
|
2297
|
+
media?: string | undefined;
|
|
2298
|
+
}>]>, {
|
|
2299
|
+
base: string | undefined;
|
|
2300
|
+
media: string | undefined;
|
|
2301
|
+
}, string | {
|
|
2302
|
+
base?: string | undefined;
|
|
2303
|
+
media?: string | undefined;
|
|
2304
|
+
}>>>>;
|
|
2305
|
+
port: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2306
|
+
https: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2307
|
+
key: z.ZodString;
|
|
2308
|
+
cert: z.ZodString;
|
|
2309
|
+
ca: z.ZodOptional<z.ZodString>;
|
|
2310
|
+
}, "strip", z.ZodTypeAny, {
|
|
2311
|
+
key: string;
|
|
2312
|
+
cert: string;
|
|
2313
|
+
ca?: string | undefined;
|
|
2314
|
+
}, {
|
|
2315
|
+
key: string;
|
|
2316
|
+
cert: string;
|
|
2317
|
+
ca?: string | undefined;
|
|
2318
|
+
}>>>;
|
|
1660
2319
|
page: z.ZodOptional<z.ZodObject<{
|
|
1661
2320
|
pageTitle: z.ZodOptional<z.ZodString>;
|
|
1662
2321
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1702,6 +2361,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1702
2361
|
dismissible?: boolean | undefined;
|
|
1703
2362
|
}>>;
|
|
1704
2363
|
}, "strip", z.ZodTypeAny, {
|
|
2364
|
+
banner?: {
|
|
2365
|
+
message: NonNullable<ReactNode>;
|
|
2366
|
+
color?: string | (string & {}) | undefined;
|
|
2367
|
+
dismissible?: boolean | undefined;
|
|
2368
|
+
} | undefined;
|
|
1705
2369
|
pageTitle?: string | undefined;
|
|
1706
2370
|
logoUrl?: string | undefined;
|
|
1707
2371
|
logo?: {
|
|
@@ -1712,12 +2376,12 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1712
2376
|
width?: string | undefined;
|
|
1713
2377
|
alt?: string | undefined;
|
|
1714
2378
|
} | undefined;
|
|
2379
|
+
}, {
|
|
1715
2380
|
banner?: {
|
|
1716
2381
|
message: NonNullable<ReactNode>;
|
|
1717
2382
|
color?: string | (string & {}) | undefined;
|
|
1718
2383
|
dismissible?: boolean | undefined;
|
|
1719
2384
|
} | undefined;
|
|
1720
|
-
}, {
|
|
1721
2385
|
pageTitle?: string | undefined;
|
|
1722
2386
|
logoUrl?: string | undefined;
|
|
1723
2387
|
logo?: {
|
|
@@ -1728,27 +2392,22 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1728
2392
|
width?: string | undefined;
|
|
1729
2393
|
alt?: string | undefined;
|
|
1730
2394
|
} | undefined;
|
|
1731
|
-
banner?: {
|
|
1732
|
-
message: NonNullable<ReactNode>;
|
|
1733
|
-
color?: string | (string & {}) | undefined;
|
|
1734
|
-
dismissible?: boolean | undefined;
|
|
1735
|
-
} | undefined;
|
|
1736
2395
|
}>>;
|
|
1737
2396
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1738
2397
|
label: z.ZodString;
|
|
1739
2398
|
id: z.ZodString;
|
|
1740
2399
|
default: z.ZodOptional<z.ZodString>;
|
|
1741
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
2400
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
1742
2401
|
}, "strip", z.ZodTypeAny, {
|
|
1743
2402
|
id: string;
|
|
1744
2403
|
label: string;
|
|
1745
2404
|
default?: string | undefined;
|
|
1746
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2405
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1747
2406
|
}, {
|
|
1748
2407
|
id: string;
|
|
1749
2408
|
label: string;
|
|
1750
2409
|
default?: string | undefined;
|
|
1751
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2410
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
1752
2411
|
}>, "many">>;
|
|
1753
2412
|
sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
|
|
1754
2413
|
theme: z.ZodOptional<z.ZodObject<{
|
|
@@ -1776,8 +2435,10 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1776
2435
|
}, "strip", z.ZodTypeAny, {
|
|
1777
2436
|
input?: string | undefined;
|
|
1778
2437
|
radius?: string | undefined;
|
|
1779
|
-
|
|
2438
|
+
destructive?: string | undefined;
|
|
2439
|
+
secondary?: string | undefined;
|
|
1780
2440
|
popover?: string | undefined;
|
|
2441
|
+
border?: string | undefined;
|
|
1781
2442
|
background?: string | undefined;
|
|
1782
2443
|
foreground?: string | undefined;
|
|
1783
2444
|
card?: string | undefined;
|
|
@@ -1785,20 +2446,20 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1785
2446
|
popoverForeground?: string | undefined;
|
|
1786
2447
|
primary?: string | undefined;
|
|
1787
2448
|
primaryForeground?: string | undefined;
|
|
1788
|
-
secondary?: string | undefined;
|
|
1789
2449
|
secondaryForeground?: string | undefined;
|
|
1790
2450
|
muted?: string | undefined;
|
|
1791
2451
|
mutedForeground?: string | undefined;
|
|
1792
2452
|
accent?: string | undefined;
|
|
1793
2453
|
accentForeground?: string | undefined;
|
|
1794
|
-
destructive?: string | undefined;
|
|
1795
2454
|
destructiveForeground?: string | undefined;
|
|
1796
2455
|
ring?: string | undefined;
|
|
1797
2456
|
}, {
|
|
1798
2457
|
input?: string | undefined;
|
|
1799
2458
|
radius?: string | undefined;
|
|
1800
|
-
|
|
2459
|
+
destructive?: string | undefined;
|
|
2460
|
+
secondary?: string | undefined;
|
|
1801
2461
|
popover?: string | undefined;
|
|
2462
|
+
border?: string | undefined;
|
|
1802
2463
|
background?: string | undefined;
|
|
1803
2464
|
foreground?: string | undefined;
|
|
1804
2465
|
card?: string | undefined;
|
|
@@ -1806,13 +2467,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1806
2467
|
popoverForeground?: string | undefined;
|
|
1807
2468
|
primary?: string | undefined;
|
|
1808
2469
|
primaryForeground?: string | undefined;
|
|
1809
|
-
secondary?: string | undefined;
|
|
1810
2470
|
secondaryForeground?: string | undefined;
|
|
1811
2471
|
muted?: string | undefined;
|
|
1812
2472
|
mutedForeground?: string | undefined;
|
|
1813
2473
|
accent?: string | undefined;
|
|
1814
2474
|
accentForeground?: string | undefined;
|
|
1815
|
-
destructive?: string | undefined;
|
|
1816
2475
|
destructiveForeground?: string | undefined;
|
|
1817
2476
|
ring?: string | undefined;
|
|
1818
2477
|
}>>;
|
|
@@ -1840,8 +2499,10 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1840
2499
|
}, "strip", z.ZodTypeAny, {
|
|
1841
2500
|
input?: string | undefined;
|
|
1842
2501
|
radius?: string | undefined;
|
|
1843
|
-
|
|
2502
|
+
destructive?: string | undefined;
|
|
2503
|
+
secondary?: string | undefined;
|
|
1844
2504
|
popover?: string | undefined;
|
|
2505
|
+
border?: string | undefined;
|
|
1845
2506
|
background?: string | undefined;
|
|
1846
2507
|
foreground?: string | undefined;
|
|
1847
2508
|
card?: string | undefined;
|
|
@@ -1849,20 +2510,20 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1849
2510
|
popoverForeground?: string | undefined;
|
|
1850
2511
|
primary?: string | undefined;
|
|
1851
2512
|
primaryForeground?: string | undefined;
|
|
1852
|
-
secondary?: string | undefined;
|
|
1853
2513
|
secondaryForeground?: string | undefined;
|
|
1854
2514
|
muted?: string | undefined;
|
|
1855
2515
|
mutedForeground?: string | undefined;
|
|
1856
2516
|
accent?: string | undefined;
|
|
1857
2517
|
accentForeground?: string | undefined;
|
|
1858
|
-
destructive?: string | undefined;
|
|
1859
2518
|
destructiveForeground?: string | undefined;
|
|
1860
2519
|
ring?: string | undefined;
|
|
1861
2520
|
}, {
|
|
1862
2521
|
input?: string | undefined;
|
|
1863
2522
|
radius?: string | undefined;
|
|
1864
|
-
|
|
2523
|
+
destructive?: string | undefined;
|
|
2524
|
+
secondary?: string | undefined;
|
|
1865
2525
|
popover?: string | undefined;
|
|
2526
|
+
border?: string | undefined;
|
|
1866
2527
|
background?: string | undefined;
|
|
1867
2528
|
foreground?: string | undefined;
|
|
1868
2529
|
card?: string | undefined;
|
|
@@ -1870,13 +2531,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1870
2531
|
popoverForeground?: string | undefined;
|
|
1871
2532
|
primary?: string | undefined;
|
|
1872
2533
|
primaryForeground?: string | undefined;
|
|
1873
|
-
secondary?: string | undefined;
|
|
1874
2534
|
secondaryForeground?: string | undefined;
|
|
1875
2535
|
muted?: string | undefined;
|
|
1876
2536
|
mutedForeground?: string | undefined;
|
|
1877
2537
|
accent?: string | undefined;
|
|
1878
2538
|
accentForeground?: string | undefined;
|
|
1879
|
-
destructive?: string | undefined;
|
|
1880
2539
|
destructiveForeground?: string | undefined;
|
|
1881
2540
|
ring?: string | undefined;
|
|
1882
2541
|
}>>;
|
|
@@ -1924,8 +2583,10 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1924
2583
|
dark?: {
|
|
1925
2584
|
input?: string | undefined;
|
|
1926
2585
|
radius?: string | undefined;
|
|
1927
|
-
|
|
2586
|
+
destructive?: string | undefined;
|
|
2587
|
+
secondary?: string | undefined;
|
|
1928
2588
|
popover?: string | undefined;
|
|
2589
|
+
border?: string | undefined;
|
|
1929
2590
|
background?: string | undefined;
|
|
1930
2591
|
foreground?: string | undefined;
|
|
1931
2592
|
card?: string | undefined;
|
|
@@ -1933,21 +2594,21 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1933
2594
|
popoverForeground?: string | undefined;
|
|
1934
2595
|
primary?: string | undefined;
|
|
1935
2596
|
primaryForeground?: string | undefined;
|
|
1936
|
-
secondary?: string | undefined;
|
|
1937
2597
|
secondaryForeground?: string | undefined;
|
|
1938
2598
|
muted?: string | undefined;
|
|
1939
2599
|
mutedForeground?: string | undefined;
|
|
1940
2600
|
accent?: string | undefined;
|
|
1941
2601
|
accentForeground?: string | undefined;
|
|
1942
|
-
destructive?: string | undefined;
|
|
1943
2602
|
destructiveForeground?: string | undefined;
|
|
1944
2603
|
ring?: string | undefined;
|
|
1945
2604
|
} | undefined;
|
|
1946
2605
|
light?: {
|
|
1947
2606
|
input?: string | undefined;
|
|
1948
2607
|
radius?: string | undefined;
|
|
1949
|
-
|
|
2608
|
+
destructive?: string | undefined;
|
|
2609
|
+
secondary?: string | undefined;
|
|
1950
2610
|
popover?: string | undefined;
|
|
2611
|
+
border?: string | undefined;
|
|
1951
2612
|
background?: string | undefined;
|
|
1952
2613
|
foreground?: string | undefined;
|
|
1953
2614
|
card?: string | undefined;
|
|
@@ -1955,13 +2616,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1955
2616
|
popoverForeground?: string | undefined;
|
|
1956
2617
|
primary?: string | undefined;
|
|
1957
2618
|
primaryForeground?: string | undefined;
|
|
1958
|
-
secondary?: string | undefined;
|
|
1959
2619
|
secondaryForeground?: string | undefined;
|
|
1960
2620
|
muted?: string | undefined;
|
|
1961
2621
|
mutedForeground?: string | undefined;
|
|
1962
2622
|
accent?: string | undefined;
|
|
1963
2623
|
accentForeground?: string | undefined;
|
|
1964
|
-
destructive?: string | undefined;
|
|
1965
2624
|
destructiveForeground?: string | undefined;
|
|
1966
2625
|
ring?: string | undefined;
|
|
1967
2626
|
} | undefined;
|
|
@@ -1979,8 +2638,10 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1979
2638
|
dark?: {
|
|
1980
2639
|
input?: string | undefined;
|
|
1981
2640
|
radius?: string | undefined;
|
|
1982
|
-
|
|
2641
|
+
destructive?: string | undefined;
|
|
2642
|
+
secondary?: string | undefined;
|
|
1983
2643
|
popover?: string | undefined;
|
|
2644
|
+
border?: string | undefined;
|
|
1984
2645
|
background?: string | undefined;
|
|
1985
2646
|
foreground?: string | undefined;
|
|
1986
2647
|
card?: string | undefined;
|
|
@@ -1988,21 +2649,21 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
1988
2649
|
popoverForeground?: string | undefined;
|
|
1989
2650
|
primary?: string | undefined;
|
|
1990
2651
|
primaryForeground?: string | undefined;
|
|
1991
|
-
secondary?: string | undefined;
|
|
1992
2652
|
secondaryForeground?: string | undefined;
|
|
1993
2653
|
muted?: string | undefined;
|
|
1994
2654
|
mutedForeground?: string | undefined;
|
|
1995
2655
|
accent?: string | undefined;
|
|
1996
2656
|
accentForeground?: string | undefined;
|
|
1997
|
-
destructive?: string | undefined;
|
|
1998
2657
|
destructiveForeground?: string | undefined;
|
|
1999
2658
|
ring?: string | undefined;
|
|
2000
2659
|
} | undefined;
|
|
2001
2660
|
light?: {
|
|
2002
2661
|
input?: string | undefined;
|
|
2003
2662
|
radius?: string | undefined;
|
|
2004
|
-
|
|
2663
|
+
destructive?: string | undefined;
|
|
2664
|
+
secondary?: string | undefined;
|
|
2005
2665
|
popover?: string | undefined;
|
|
2666
|
+
border?: string | undefined;
|
|
2006
2667
|
background?: string | undefined;
|
|
2007
2668
|
foreground?: string | undefined;
|
|
2008
2669
|
card?: string | undefined;
|
|
@@ -2010,13 +2671,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2010
2671
|
popoverForeground?: string | undefined;
|
|
2011
2672
|
primary?: string | undefined;
|
|
2012
2673
|
primaryForeground?: string | undefined;
|
|
2013
|
-
secondary?: string | undefined;
|
|
2014
2674
|
secondaryForeground?: string | undefined;
|
|
2015
2675
|
muted?: string | undefined;
|
|
2016
2676
|
mutedForeground?: string | undefined;
|
|
2017
2677
|
accent?: string | undefined;
|
|
2018
2678
|
accentForeground?: string | undefined;
|
|
2019
|
-
destructive?: string | undefined;
|
|
2020
2679
|
destructiveForeground?: string | undefined;
|
|
2021
2680
|
ring?: string | undefined;
|
|
2022
2681
|
} | undefined;
|
|
@@ -2068,7 +2727,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2068
2727
|
creator?: string | undefined;
|
|
2069
2728
|
publisher?: string | undefined;
|
|
2070
2729
|
}>>;
|
|
2071
|
-
authentication: z.ZodOptional<z.
|
|
2730
|
+
authentication: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2072
2731
|
type: z.ZodLiteral<"clerk">;
|
|
2073
2732
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
2074
2733
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
@@ -2137,8 +2796,32 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2137
2796
|
redirectToAfterSignIn?: string | undefined;
|
|
2138
2797
|
redirectToAfterSignOut?: string | undefined;
|
|
2139
2798
|
audience?: string | undefined;
|
|
2799
|
+
}>, z.ZodObject<{
|
|
2800
|
+
type: z.ZodLiteral<"supabase">;
|
|
2801
|
+
supabaseUrl: z.ZodString;
|
|
2802
|
+
supabaseKey: z.ZodString;
|
|
2803
|
+
provider: z.ZodEnum<["google", "github", "gitlab", "bitbucket", "facebook", "twitter"]>;
|
|
2804
|
+
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
2807
|
+
}, "strip", z.ZodTypeAny, {
|
|
2808
|
+
type: "supabase";
|
|
2809
|
+
supabaseUrl: string;
|
|
2810
|
+
supabaseKey: string;
|
|
2811
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2812
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2813
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2814
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2815
|
+
}, {
|
|
2816
|
+
type: "supabase";
|
|
2817
|
+
supabaseUrl: string;
|
|
2818
|
+
supabaseKey: string;
|
|
2819
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
2820
|
+
redirectToAfterSignUp?: string | undefined;
|
|
2821
|
+
redirectToAfterSignIn?: string | undefined;
|
|
2822
|
+
redirectToAfterSignOut?: string | undefined;
|
|
2140
2823
|
}>]>>;
|
|
2141
|
-
search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2824
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2142
2825
|
type: z.ZodLiteral<"inkeep">;
|
|
2143
2826
|
apiKey: z.ZodString;
|
|
2144
2827
|
integrationId: z.ZodString;
|
|
@@ -2159,7 +2842,66 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2159
2842
|
organizationId: string;
|
|
2160
2843
|
primaryBrandColor: string;
|
|
2161
2844
|
organizationDisplayName: string;
|
|
2162
|
-
}
|
|
2845
|
+
}>, z.ZodObject<{
|
|
2846
|
+
type: z.ZodLiteral<"pagefind">;
|
|
2847
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
2848
|
+
termFrequency: z.ZodNumber;
|
|
2849
|
+
pageLength: z.ZodNumber;
|
|
2850
|
+
termSimilarity: z.ZodNumber;
|
|
2851
|
+
termSaturation: z.ZodNumber;
|
|
2852
|
+
}, "strip", z.ZodTypeAny, {
|
|
2853
|
+
termFrequency: number;
|
|
2854
|
+
pageLength: number;
|
|
2855
|
+
termSimilarity: number;
|
|
2856
|
+
termSaturation: number;
|
|
2857
|
+
}, {
|
|
2858
|
+
termFrequency: number;
|
|
2859
|
+
pageLength: number;
|
|
2860
|
+
termSimilarity: number;
|
|
2861
|
+
termSaturation: number;
|
|
2862
|
+
}>>;
|
|
2863
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
2864
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
2865
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
2866
|
+
result: PagefindSearchFragment;
|
|
2867
|
+
auth: AuthState;
|
|
2868
|
+
context: ZudokuContext;
|
|
2869
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
2870
|
+
result: PagefindSearchFragment;
|
|
2871
|
+
auth: AuthState;
|
|
2872
|
+
context: ZudokuContext;
|
|
2873
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
2874
|
+
}, "strip", z.ZodTypeAny, {
|
|
2875
|
+
type: "pagefind";
|
|
2876
|
+
ranking?: {
|
|
2877
|
+
termFrequency: number;
|
|
2878
|
+
pageLength: number;
|
|
2879
|
+
termSimilarity: number;
|
|
2880
|
+
termSaturation: number;
|
|
2881
|
+
} | undefined;
|
|
2882
|
+
maxResults?: number | undefined;
|
|
2883
|
+
maxSubResults?: number | undefined;
|
|
2884
|
+
transformResults?: ((data: {
|
|
2885
|
+
result: PagefindSearchFragment;
|
|
2886
|
+
auth: AuthState;
|
|
2887
|
+
context: ZudokuContext;
|
|
2888
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2889
|
+
}, {
|
|
2890
|
+
type: "pagefind";
|
|
2891
|
+
ranking?: {
|
|
2892
|
+
termFrequency: number;
|
|
2893
|
+
pageLength: number;
|
|
2894
|
+
termSimilarity: number;
|
|
2895
|
+
termSaturation: number;
|
|
2896
|
+
} | undefined;
|
|
2897
|
+
maxResults?: number | undefined;
|
|
2898
|
+
maxSubResults?: number | undefined;
|
|
2899
|
+
transformResults?: ((data: {
|
|
2900
|
+
result: PagefindSearchFragment;
|
|
2901
|
+
auth: AuthState;
|
|
2902
|
+
context: ZudokuContext;
|
|
2903
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2904
|
+
}>]>>>;
|
|
2163
2905
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2164
2906
|
files: z.ZodString;
|
|
2165
2907
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -2226,11 +2968,37 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2226
2968
|
tags: string[];
|
|
2227
2969
|
label: string;
|
|
2228
2970
|
}>, "many">>;
|
|
2971
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
2972
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
2973
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
2974
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
2975
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
2976
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
2977
|
+
}, "strip", z.ZodTypeAny, {
|
|
2978
|
+
examplesLanguage?: string | undefined;
|
|
2979
|
+
disablePlayground?: boolean | undefined;
|
|
2980
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2981
|
+
expandAllTags?: boolean | undefined;
|
|
2982
|
+
transformExamples?: transformExamples | undefined;
|
|
2983
|
+
}, {
|
|
2984
|
+
examplesLanguage?: string | undefined;
|
|
2985
|
+
disablePlayground?: boolean | undefined;
|
|
2986
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2987
|
+
expandAllTags?: boolean | undefined;
|
|
2988
|
+
transformExamples?: transformExamples | undefined;
|
|
2989
|
+
}>>;
|
|
2229
2990
|
}>, "strip", z.ZodTypeAny, {
|
|
2230
2991
|
type: "url";
|
|
2231
2992
|
input: string;
|
|
2232
2993
|
server?: string | undefined;
|
|
2233
2994
|
id?: string | undefined;
|
|
2995
|
+
options?: {
|
|
2996
|
+
examplesLanguage?: string | undefined;
|
|
2997
|
+
disablePlayground?: boolean | undefined;
|
|
2998
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2999
|
+
expandAllTags?: boolean | undefined;
|
|
3000
|
+
transformExamples?: transformExamples | undefined;
|
|
3001
|
+
} | undefined;
|
|
2234
3002
|
navigationId?: string | undefined;
|
|
2235
3003
|
categories?: {
|
|
2236
3004
|
tags: string[];
|
|
@@ -2241,6 +3009,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2241
3009
|
input: string;
|
|
2242
3010
|
server?: string | undefined;
|
|
2243
3011
|
id?: string | undefined;
|
|
3012
|
+
options?: {
|
|
3013
|
+
examplesLanguage?: string | undefined;
|
|
3014
|
+
disablePlayground?: boolean | undefined;
|
|
3015
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3016
|
+
expandAllTags?: boolean | undefined;
|
|
3017
|
+
transformExamples?: transformExamples | undefined;
|
|
3018
|
+
} | undefined;
|
|
2244
3019
|
navigationId?: string | undefined;
|
|
2245
3020
|
categories?: {
|
|
2246
3021
|
tags: string[];
|
|
@@ -2263,6 +3038,25 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2263
3038
|
tags: string[];
|
|
2264
3039
|
label: string;
|
|
2265
3040
|
}>, "many">>;
|
|
3041
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3042
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3044
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3045
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3046
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3047
|
+
}, "strip", z.ZodTypeAny, {
|
|
3048
|
+
examplesLanguage?: string | undefined;
|
|
3049
|
+
disablePlayground?: boolean | undefined;
|
|
3050
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3051
|
+
expandAllTags?: boolean | undefined;
|
|
3052
|
+
transformExamples?: transformExamples | undefined;
|
|
3053
|
+
}, {
|
|
3054
|
+
examplesLanguage?: string | undefined;
|
|
3055
|
+
disablePlayground?: boolean | undefined;
|
|
3056
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3057
|
+
expandAllTags?: boolean | undefined;
|
|
3058
|
+
transformExamples?: transformExamples | undefined;
|
|
3059
|
+
}>>;
|
|
2266
3060
|
}>, {
|
|
2267
3061
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
2268
3062
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2270,6 +3064,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2270
3064
|
input: string | string[];
|
|
2271
3065
|
server?: string | undefined;
|
|
2272
3066
|
id?: string | undefined;
|
|
3067
|
+
options?: {
|
|
3068
|
+
examplesLanguage?: string | undefined;
|
|
3069
|
+
disablePlayground?: boolean | undefined;
|
|
3070
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3071
|
+
expandAllTags?: boolean | undefined;
|
|
3072
|
+
transformExamples?: transformExamples | undefined;
|
|
3073
|
+
} | undefined;
|
|
2273
3074
|
navigationId?: string | undefined;
|
|
2274
3075
|
categories?: {
|
|
2275
3076
|
tags: string[];
|
|
@@ -2281,6 +3082,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2281
3082
|
input: string | string[];
|
|
2282
3083
|
server?: string | undefined;
|
|
2283
3084
|
id?: string | undefined;
|
|
3085
|
+
options?: {
|
|
3086
|
+
examplesLanguage?: string | undefined;
|
|
3087
|
+
disablePlayground?: boolean | undefined;
|
|
3088
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3089
|
+
expandAllTags?: boolean | undefined;
|
|
3090
|
+
transformExamples?: transformExamples | undefined;
|
|
3091
|
+
} | undefined;
|
|
2284
3092
|
navigationId?: string | undefined;
|
|
2285
3093
|
categories?: {
|
|
2286
3094
|
tags: string[];
|
|
@@ -2304,11 +3112,37 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2304
3112
|
tags: string[];
|
|
2305
3113
|
label: string;
|
|
2306
3114
|
}>, "many">>;
|
|
3115
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3116
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3118
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3119
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3120
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3121
|
+
}, "strip", z.ZodTypeAny, {
|
|
3122
|
+
examplesLanguage?: string | undefined;
|
|
3123
|
+
disablePlayground?: boolean | undefined;
|
|
3124
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3125
|
+
expandAllTags?: boolean | undefined;
|
|
3126
|
+
transformExamples?: transformExamples | undefined;
|
|
3127
|
+
}, {
|
|
3128
|
+
examplesLanguage?: string | undefined;
|
|
3129
|
+
disablePlayground?: boolean | undefined;
|
|
3130
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3131
|
+
expandAllTags?: boolean | undefined;
|
|
3132
|
+
transformExamples?: transformExamples | undefined;
|
|
3133
|
+
}>>;
|
|
2307
3134
|
}>, "strip", z.ZodTypeAny, {
|
|
2308
3135
|
type: "raw";
|
|
2309
3136
|
input: string;
|
|
2310
3137
|
server?: string | undefined;
|
|
2311
3138
|
id?: string | undefined;
|
|
3139
|
+
options?: {
|
|
3140
|
+
examplesLanguage?: string | undefined;
|
|
3141
|
+
disablePlayground?: boolean | undefined;
|
|
3142
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3143
|
+
expandAllTags?: boolean | undefined;
|
|
3144
|
+
transformExamples?: transformExamples | undefined;
|
|
3145
|
+
} | undefined;
|
|
2312
3146
|
navigationId?: string | undefined;
|
|
2313
3147
|
categories?: {
|
|
2314
3148
|
tags: string[];
|
|
@@ -2319,6 +3153,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2319
3153
|
input: string;
|
|
2320
3154
|
server?: string | undefined;
|
|
2321
3155
|
id?: string | undefined;
|
|
3156
|
+
options?: {
|
|
3157
|
+
examplesLanguage?: string | undefined;
|
|
3158
|
+
disablePlayground?: boolean | undefined;
|
|
3159
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3160
|
+
expandAllTags?: boolean | undefined;
|
|
3161
|
+
transformExamples?: transformExamples | undefined;
|
|
3162
|
+
} | undefined;
|
|
2322
3163
|
navigationId?: string | undefined;
|
|
2323
3164
|
categories?: {
|
|
2324
3165
|
tags: string[];
|
|
@@ -2341,11 +3182,37 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2341
3182
|
tags: string[];
|
|
2342
3183
|
label: string;
|
|
2343
3184
|
}>, "many">>;
|
|
3185
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3186
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3187
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3188
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3189
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3190
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3191
|
+
}, "strip", z.ZodTypeAny, {
|
|
3192
|
+
examplesLanguage?: string | undefined;
|
|
3193
|
+
disablePlayground?: boolean | undefined;
|
|
3194
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3195
|
+
expandAllTags?: boolean | undefined;
|
|
3196
|
+
transformExamples?: transformExamples | undefined;
|
|
3197
|
+
}, {
|
|
3198
|
+
examplesLanguage?: string | undefined;
|
|
3199
|
+
disablePlayground?: boolean | undefined;
|
|
3200
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3201
|
+
expandAllTags?: boolean | undefined;
|
|
3202
|
+
transformExamples?: transformExamples | undefined;
|
|
3203
|
+
}>>;
|
|
2344
3204
|
}>, "strip", z.ZodTypeAny, {
|
|
2345
3205
|
type: "url";
|
|
2346
3206
|
input: string;
|
|
2347
3207
|
server?: string | undefined;
|
|
2348
3208
|
id?: string | undefined;
|
|
3209
|
+
options?: {
|
|
3210
|
+
examplesLanguage?: string | undefined;
|
|
3211
|
+
disablePlayground?: boolean | undefined;
|
|
3212
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3213
|
+
expandAllTags?: boolean | undefined;
|
|
3214
|
+
transformExamples?: transformExamples | undefined;
|
|
3215
|
+
} | undefined;
|
|
2349
3216
|
navigationId?: string | undefined;
|
|
2350
3217
|
categories?: {
|
|
2351
3218
|
tags: string[];
|
|
@@ -2356,6 +3223,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2356
3223
|
input: string;
|
|
2357
3224
|
server?: string | undefined;
|
|
2358
3225
|
id?: string | undefined;
|
|
3226
|
+
options?: {
|
|
3227
|
+
examplesLanguage?: string | undefined;
|
|
3228
|
+
disablePlayground?: boolean | undefined;
|
|
3229
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3230
|
+
expandAllTags?: boolean | undefined;
|
|
3231
|
+
transformExamples?: transformExamples | undefined;
|
|
3232
|
+
} | undefined;
|
|
2359
3233
|
navigationId?: string | undefined;
|
|
2360
3234
|
categories?: {
|
|
2361
3235
|
tags: string[];
|
|
@@ -2378,6 +3252,25 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2378
3252
|
tags: string[];
|
|
2379
3253
|
label: string;
|
|
2380
3254
|
}>, "many">>;
|
|
3255
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3256
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3257
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3258
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3259
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3260
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3261
|
+
}, "strip", z.ZodTypeAny, {
|
|
3262
|
+
examplesLanguage?: string | undefined;
|
|
3263
|
+
disablePlayground?: boolean | undefined;
|
|
3264
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3265
|
+
expandAllTags?: boolean | undefined;
|
|
3266
|
+
transformExamples?: transformExamples | undefined;
|
|
3267
|
+
}, {
|
|
3268
|
+
examplesLanguage?: string | undefined;
|
|
3269
|
+
disablePlayground?: boolean | undefined;
|
|
3270
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3271
|
+
expandAllTags?: boolean | undefined;
|
|
3272
|
+
transformExamples?: transformExamples | undefined;
|
|
3273
|
+
}>>;
|
|
2381
3274
|
}>, {
|
|
2382
3275
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
2383
3276
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2385,6 +3278,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2385
3278
|
input: string | string[];
|
|
2386
3279
|
server?: string | undefined;
|
|
2387
3280
|
id?: string | undefined;
|
|
3281
|
+
options?: {
|
|
3282
|
+
examplesLanguage?: string | undefined;
|
|
3283
|
+
disablePlayground?: boolean | undefined;
|
|
3284
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3285
|
+
expandAllTags?: boolean | undefined;
|
|
3286
|
+
transformExamples?: transformExamples | undefined;
|
|
3287
|
+
} | undefined;
|
|
2388
3288
|
navigationId?: string | undefined;
|
|
2389
3289
|
categories?: {
|
|
2390
3290
|
tags: string[];
|
|
@@ -2396,6 +3296,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2396
3296
|
input: string | string[];
|
|
2397
3297
|
server?: string | undefined;
|
|
2398
3298
|
id?: string | undefined;
|
|
3299
|
+
options?: {
|
|
3300
|
+
examplesLanguage?: string | undefined;
|
|
3301
|
+
disablePlayground?: boolean | undefined;
|
|
3302
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3303
|
+
expandAllTags?: boolean | undefined;
|
|
3304
|
+
transformExamples?: transformExamples | undefined;
|
|
3305
|
+
} | undefined;
|
|
2399
3306
|
navigationId?: string | undefined;
|
|
2400
3307
|
categories?: {
|
|
2401
3308
|
tags: string[];
|
|
@@ -2419,11 +3326,37 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2419
3326
|
tags: string[];
|
|
2420
3327
|
label: string;
|
|
2421
3328
|
}>, "many">>;
|
|
3329
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
3330
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3332
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3333
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3334
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3335
|
+
}, "strip", z.ZodTypeAny, {
|
|
3336
|
+
examplesLanguage?: string | undefined;
|
|
3337
|
+
disablePlayground?: boolean | undefined;
|
|
3338
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3339
|
+
expandAllTags?: boolean | undefined;
|
|
3340
|
+
transformExamples?: transformExamples | undefined;
|
|
3341
|
+
}, {
|
|
3342
|
+
examplesLanguage?: string | undefined;
|
|
3343
|
+
disablePlayground?: boolean | undefined;
|
|
3344
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3345
|
+
expandAllTags?: boolean | undefined;
|
|
3346
|
+
transformExamples?: transformExamples | undefined;
|
|
3347
|
+
}>>;
|
|
2422
3348
|
}>, "strip", z.ZodTypeAny, {
|
|
2423
3349
|
type: "raw";
|
|
2424
3350
|
input: string;
|
|
2425
3351
|
server?: string | undefined;
|
|
2426
3352
|
id?: string | undefined;
|
|
3353
|
+
options?: {
|
|
3354
|
+
examplesLanguage?: string | undefined;
|
|
3355
|
+
disablePlayground?: boolean | undefined;
|
|
3356
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3357
|
+
expandAllTags?: boolean | undefined;
|
|
3358
|
+
transformExamples?: transformExamples | undefined;
|
|
3359
|
+
} | undefined;
|
|
2427
3360
|
navigationId?: string | undefined;
|
|
2428
3361
|
categories?: {
|
|
2429
3362
|
tags: string[];
|
|
@@ -2434,6 +3367,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2434
3367
|
input: string;
|
|
2435
3368
|
server?: string | undefined;
|
|
2436
3369
|
id?: string | undefined;
|
|
3370
|
+
options?: {
|
|
3371
|
+
examplesLanguage?: string | undefined;
|
|
3372
|
+
disablePlayground?: boolean | undefined;
|
|
3373
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3374
|
+
expandAllTags?: boolean | undefined;
|
|
3375
|
+
transformExamples?: transformExamples | undefined;
|
|
3376
|
+
} | undefined;
|
|
2437
3377
|
navigationId?: string | undefined;
|
|
2438
3378
|
categories?: {
|
|
2439
3379
|
tags: string[];
|
|
@@ -2580,10 +3520,46 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2580
3520
|
isZuplo: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2581
3521
|
enableStatusPages: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2582
3522
|
defaults: z.ZodOptional<z.ZodObject<{
|
|
3523
|
+
apis: z.ZodObject<{
|
|
3524
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
3525
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3526
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3527
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3528
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3529
|
+
}, "strip", z.ZodTypeAny, {
|
|
3530
|
+
examplesLanguage?: string | undefined;
|
|
3531
|
+
disablePlayground?: boolean | undefined;
|
|
3532
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3533
|
+
expandAllTags?: boolean | undefined;
|
|
3534
|
+
transformExamples?: transformExamples | undefined;
|
|
3535
|
+
}, {
|
|
3536
|
+
examplesLanguage?: string | undefined;
|
|
3537
|
+
disablePlayground?: boolean | undefined;
|
|
3538
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3539
|
+
expandAllTags?: boolean | undefined;
|
|
3540
|
+
transformExamples?: transformExamples | undefined;
|
|
3541
|
+
}>;
|
|
3542
|
+
/**
|
|
3543
|
+
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
3544
|
+
*/
|
|
2583
3545
|
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
2584
3546
|
}, "strip", z.ZodTypeAny, {
|
|
3547
|
+
apis: {
|
|
3548
|
+
examplesLanguage?: string | undefined;
|
|
3549
|
+
disablePlayground?: boolean | undefined;
|
|
3550
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3551
|
+
expandAllTags?: boolean | undefined;
|
|
3552
|
+
transformExamples?: transformExamples | undefined;
|
|
3553
|
+
};
|
|
2585
3554
|
examplesLanguage?: string | undefined;
|
|
2586
3555
|
}, {
|
|
3556
|
+
apis: {
|
|
3557
|
+
examplesLanguage?: string | undefined;
|
|
3558
|
+
disablePlayground?: boolean | undefined;
|
|
3559
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3560
|
+
expandAllTags?: boolean | undefined;
|
|
3561
|
+
transformExamples?: transformExamples | undefined;
|
|
3562
|
+
};
|
|
2587
3563
|
examplesLanguage?: string | undefined;
|
|
2588
3564
|
}>>;
|
|
2589
3565
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2594,6 +3570,31 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2594
3570
|
organizationId: string;
|
|
2595
3571
|
primaryBrandColor: string;
|
|
2596
3572
|
organizationDisplayName: string;
|
|
3573
|
+
} | {
|
|
3574
|
+
type: "pagefind";
|
|
3575
|
+
ranking?: {
|
|
3576
|
+
termFrequency: number;
|
|
3577
|
+
pageLength: number;
|
|
3578
|
+
termSimilarity: number;
|
|
3579
|
+
termSaturation: number;
|
|
3580
|
+
} | undefined;
|
|
3581
|
+
maxResults?: number | undefined;
|
|
3582
|
+
maxSubResults?: number | undefined;
|
|
3583
|
+
transformResults?: ((data: {
|
|
3584
|
+
result: PagefindSearchFragment;
|
|
3585
|
+
auth: AuthState;
|
|
3586
|
+
context: ZudokuContext;
|
|
3587
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
3588
|
+
} | undefined;
|
|
3589
|
+
defaults?: {
|
|
3590
|
+
apis: {
|
|
3591
|
+
examplesLanguage?: string | undefined;
|
|
3592
|
+
disablePlayground?: boolean | undefined;
|
|
3593
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3594
|
+
expandAllTags?: boolean | undefined;
|
|
3595
|
+
transformExamples?: transformExamples | undefined;
|
|
3596
|
+
};
|
|
3597
|
+
examplesLanguage?: string | undefined;
|
|
2597
3598
|
} | undefined;
|
|
2598
3599
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2599
3600
|
metadata?: {
|
|
@@ -2609,48 +3610,86 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2609
3610
|
creator?: string | undefined;
|
|
2610
3611
|
publisher?: string | undefined;
|
|
2611
3612
|
} | undefined;
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
3613
|
+
authentication?: {
|
|
3614
|
+
type: "clerk";
|
|
3615
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
3616
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3617
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3618
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3619
|
+
} | {
|
|
3620
|
+
type: "openid";
|
|
3621
|
+
clientId: string;
|
|
3622
|
+
issuer: string;
|
|
3623
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3624
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3625
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3626
|
+
audience?: string | undefined;
|
|
3627
|
+
scopes?: string[] | undefined;
|
|
3628
|
+
} | {
|
|
3629
|
+
type: "auth0";
|
|
3630
|
+
clientId: string;
|
|
3631
|
+
domain: string;
|
|
3632
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3633
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3634
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3635
|
+
audience?: string | undefined;
|
|
3636
|
+
} | {
|
|
3637
|
+
type: "supabase";
|
|
3638
|
+
supabaseUrl: string;
|
|
3639
|
+
supabaseKey: string;
|
|
3640
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
3641
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3642
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3643
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3644
|
+
} | undefined;
|
|
3645
|
+
topNavigation?: {
|
|
3646
|
+
id: string;
|
|
3647
|
+
label: string;
|
|
3648
|
+
default?: string | undefined;
|
|
3649
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
3650
|
+
}[] | undefined;
|
|
3651
|
+
theme?: {
|
|
3652
|
+
dark?: {
|
|
3653
|
+
input?: string | undefined;
|
|
3654
|
+
radius?: string | undefined;
|
|
3655
|
+
destructive?: string | undefined;
|
|
3656
|
+
secondary?: string | undefined;
|
|
3657
|
+
popover?: string | undefined;
|
|
3658
|
+
border?: string | undefined;
|
|
3659
|
+
background?: string | undefined;
|
|
3660
|
+
foreground?: string | undefined;
|
|
2642
3661
|
card?: string | undefined;
|
|
2643
3662
|
cardForeground?: string | undefined;
|
|
2644
3663
|
popoverForeground?: string | undefined;
|
|
2645
3664
|
primary?: string | undefined;
|
|
2646
3665
|
primaryForeground?: string | undefined;
|
|
2647
|
-
secondary?: string | undefined;
|
|
2648
3666
|
secondaryForeground?: string | undefined;
|
|
2649
3667
|
muted?: string | undefined;
|
|
2650
3668
|
mutedForeground?: string | undefined;
|
|
2651
3669
|
accent?: string | undefined;
|
|
2652
3670
|
accentForeground?: string | undefined;
|
|
3671
|
+
destructiveForeground?: string | undefined;
|
|
3672
|
+
ring?: string | undefined;
|
|
3673
|
+
} | undefined;
|
|
3674
|
+
light?: {
|
|
3675
|
+
input?: string | undefined;
|
|
3676
|
+
radius?: string | undefined;
|
|
2653
3677
|
destructive?: string | undefined;
|
|
3678
|
+
secondary?: string | undefined;
|
|
3679
|
+
popover?: string | undefined;
|
|
3680
|
+
border?: string | undefined;
|
|
3681
|
+
background?: string | undefined;
|
|
3682
|
+
foreground?: string | undefined;
|
|
3683
|
+
card?: string | undefined;
|
|
3684
|
+
cardForeground?: string | undefined;
|
|
3685
|
+
popoverForeground?: string | undefined;
|
|
3686
|
+
primary?: string | undefined;
|
|
3687
|
+
primaryForeground?: string | undefined;
|
|
3688
|
+
secondaryForeground?: string | undefined;
|
|
3689
|
+
muted?: string | undefined;
|
|
3690
|
+
mutedForeground?: string | undefined;
|
|
3691
|
+
accent?: string | undefined;
|
|
3692
|
+
accentForeground?: string | undefined;
|
|
2654
3693
|
destructiveForeground?: string | undefined;
|
|
2655
3694
|
ring?: string | undefined;
|
|
2656
3695
|
} | undefined;
|
|
@@ -2667,8 +3706,23 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2667
3706
|
} | undefined;
|
|
2668
3707
|
protectedRoutes?: string[] | undefined;
|
|
2669
3708
|
basePath?: string | undefined;
|
|
2670
|
-
|
|
3709
|
+
canonicalUrlOrigin?: string | undefined;
|
|
3710
|
+
cdnUrl?: {
|
|
3711
|
+
base: string | undefined;
|
|
3712
|
+
media: string | undefined;
|
|
3713
|
+
} | undefined;
|
|
3714
|
+
port?: number | undefined;
|
|
3715
|
+
https?: {
|
|
3716
|
+
key: string;
|
|
3717
|
+
cert: string;
|
|
3718
|
+
ca?: string | undefined;
|
|
3719
|
+
} | undefined;
|
|
2671
3720
|
page?: {
|
|
3721
|
+
banner?: {
|
|
3722
|
+
message: NonNullable<ReactNode>;
|
|
3723
|
+
color?: string | (string & {}) | undefined;
|
|
3724
|
+
dismissible?: boolean | undefined;
|
|
3725
|
+
} | undefined;
|
|
2672
3726
|
pageTitle?: string | undefined;
|
|
2673
3727
|
logoUrl?: string | undefined;
|
|
2674
3728
|
logo?: {
|
|
@@ -2679,41 +3733,6 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2679
3733
|
width?: string | undefined;
|
|
2680
3734
|
alt?: string | undefined;
|
|
2681
3735
|
} | undefined;
|
|
2682
|
-
banner?: {
|
|
2683
|
-
message: NonNullable<ReactNode>;
|
|
2684
|
-
color?: string | (string & {}) | undefined;
|
|
2685
|
-
dismissible?: boolean | undefined;
|
|
2686
|
-
} | undefined;
|
|
2687
|
-
} | undefined;
|
|
2688
|
-
topNavigation?: {
|
|
2689
|
-
id: string;
|
|
2690
|
-
label: string;
|
|
2691
|
-
default?: string | undefined;
|
|
2692
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2693
|
-
}[] | undefined;
|
|
2694
|
-
authentication?: {
|
|
2695
|
-
type: "clerk";
|
|
2696
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2697
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2698
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2699
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2700
|
-
} | {
|
|
2701
|
-
type: "openid";
|
|
2702
|
-
clientId: string;
|
|
2703
|
-
issuer: string;
|
|
2704
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2705
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2706
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2707
|
-
audience?: string | undefined;
|
|
2708
|
-
scopes?: string[] | undefined;
|
|
2709
|
-
} | {
|
|
2710
|
-
type: "auth0";
|
|
2711
|
-
clientId: string;
|
|
2712
|
-
domain: string;
|
|
2713
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2714
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2715
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2716
|
-
audience?: string | undefined;
|
|
2717
3736
|
} | undefined;
|
|
2718
3737
|
docs?: {
|
|
2719
3738
|
files: string;
|
|
@@ -2733,6 +3752,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2733
3752
|
input: string;
|
|
2734
3753
|
server?: string | undefined;
|
|
2735
3754
|
id?: string | undefined;
|
|
3755
|
+
options?: {
|
|
3756
|
+
examplesLanguage?: string | undefined;
|
|
3757
|
+
disablePlayground?: boolean | undefined;
|
|
3758
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3759
|
+
expandAllTags?: boolean | undefined;
|
|
3760
|
+
transformExamples?: transformExamples | undefined;
|
|
3761
|
+
} | undefined;
|
|
2736
3762
|
navigationId?: string | undefined;
|
|
2737
3763
|
categories?: {
|
|
2738
3764
|
tags: string[];
|
|
@@ -2743,6 +3769,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2743
3769
|
input: string | string[];
|
|
2744
3770
|
server?: string | undefined;
|
|
2745
3771
|
id?: string | undefined;
|
|
3772
|
+
options?: {
|
|
3773
|
+
examplesLanguage?: string | undefined;
|
|
3774
|
+
disablePlayground?: boolean | undefined;
|
|
3775
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3776
|
+
expandAllTags?: boolean | undefined;
|
|
3777
|
+
transformExamples?: transformExamples | undefined;
|
|
3778
|
+
} | undefined;
|
|
2746
3779
|
navigationId?: string | undefined;
|
|
2747
3780
|
categories?: {
|
|
2748
3781
|
tags: string[];
|
|
@@ -2754,6 +3787,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2754
3787
|
input: string;
|
|
2755
3788
|
server?: string | undefined;
|
|
2756
3789
|
id?: string | undefined;
|
|
3790
|
+
options?: {
|
|
3791
|
+
examplesLanguage?: string | undefined;
|
|
3792
|
+
disablePlayground?: boolean | undefined;
|
|
3793
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3794
|
+
expandAllTags?: boolean | undefined;
|
|
3795
|
+
transformExamples?: transformExamples | undefined;
|
|
3796
|
+
} | undefined;
|
|
2757
3797
|
navigationId?: string | undefined;
|
|
2758
3798
|
categories?: {
|
|
2759
3799
|
tags: string[];
|
|
@@ -2764,6 +3804,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2764
3804
|
input: string;
|
|
2765
3805
|
server?: string | undefined;
|
|
2766
3806
|
id?: string | undefined;
|
|
3807
|
+
options?: {
|
|
3808
|
+
examplesLanguage?: string | undefined;
|
|
3809
|
+
disablePlayground?: boolean | undefined;
|
|
3810
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3811
|
+
expandAllTags?: boolean | undefined;
|
|
3812
|
+
transformExamples?: transformExamples | undefined;
|
|
3813
|
+
} | undefined;
|
|
2767
3814
|
navigationId?: string | undefined;
|
|
2768
3815
|
categories?: {
|
|
2769
3816
|
tags: string[];
|
|
@@ -2774,6 +3821,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2774
3821
|
input: string | string[];
|
|
2775
3822
|
server?: string | undefined;
|
|
2776
3823
|
id?: string | undefined;
|
|
3824
|
+
options?: {
|
|
3825
|
+
examplesLanguage?: string | undefined;
|
|
3826
|
+
disablePlayground?: boolean | undefined;
|
|
3827
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3828
|
+
expandAllTags?: boolean | undefined;
|
|
3829
|
+
transformExamples?: transformExamples | undefined;
|
|
3830
|
+
} | undefined;
|
|
2777
3831
|
navigationId?: string | undefined;
|
|
2778
3832
|
categories?: {
|
|
2779
3833
|
tags: string[];
|
|
@@ -2785,6 +3839,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2785
3839
|
input: string;
|
|
2786
3840
|
server?: string | undefined;
|
|
2787
3841
|
id?: string | undefined;
|
|
3842
|
+
options?: {
|
|
3843
|
+
examplesLanguage?: string | undefined;
|
|
3844
|
+
disablePlayground?: boolean | undefined;
|
|
3845
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3846
|
+
expandAllTags?: boolean | undefined;
|
|
3847
|
+
transformExamples?: transformExamples | undefined;
|
|
3848
|
+
} | undefined;
|
|
2788
3849
|
navigationId?: string | undefined;
|
|
2789
3850
|
categories?: {
|
|
2790
3851
|
tags: string[];
|
|
@@ -2833,9 +3894,6 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2833
3894
|
} | undefined;
|
|
2834
3895
|
isZuplo?: boolean | undefined;
|
|
2835
3896
|
enableStatusPages?: boolean | undefined;
|
|
2836
|
-
defaults?: {
|
|
2837
|
-
examplesLanguage?: string | undefined;
|
|
2838
|
-
} | undefined;
|
|
2839
3897
|
}, {
|
|
2840
3898
|
search?: {
|
|
2841
3899
|
type: "inkeep";
|
|
@@ -2844,6 +3902,31 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2844
3902
|
organizationId: string;
|
|
2845
3903
|
primaryBrandColor: string;
|
|
2846
3904
|
organizationDisplayName: string;
|
|
3905
|
+
} | {
|
|
3906
|
+
type: "pagefind";
|
|
3907
|
+
ranking?: {
|
|
3908
|
+
termFrequency: number;
|
|
3909
|
+
pageLength: number;
|
|
3910
|
+
termSimilarity: number;
|
|
3911
|
+
termSaturation: number;
|
|
3912
|
+
} | undefined;
|
|
3913
|
+
maxResults?: number | undefined;
|
|
3914
|
+
maxSubResults?: number | undefined;
|
|
3915
|
+
transformResults?: ((data: {
|
|
3916
|
+
result: PagefindSearchFragment;
|
|
3917
|
+
auth: AuthState;
|
|
3918
|
+
context: ZudokuContext;
|
|
3919
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
3920
|
+
} | undefined;
|
|
3921
|
+
defaults?: {
|
|
3922
|
+
apis: {
|
|
3923
|
+
examplesLanguage?: string | undefined;
|
|
3924
|
+
disablePlayground?: boolean | undefined;
|
|
3925
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3926
|
+
expandAllTags?: boolean | undefined;
|
|
3927
|
+
transformExamples?: transformExamples | undefined;
|
|
3928
|
+
};
|
|
3929
|
+
examplesLanguage?: string | undefined;
|
|
2847
3930
|
} | undefined;
|
|
2848
3931
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
2849
3932
|
metadata?: {
|
|
@@ -2859,12 +3942,52 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2859
3942
|
creator?: string | undefined;
|
|
2860
3943
|
publisher?: string | undefined;
|
|
2861
3944
|
} | undefined;
|
|
3945
|
+
authentication?: {
|
|
3946
|
+
type: "clerk";
|
|
3947
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
3948
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3949
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3950
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3951
|
+
} | {
|
|
3952
|
+
type: "openid";
|
|
3953
|
+
clientId: string;
|
|
3954
|
+
issuer: string;
|
|
3955
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3956
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3957
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3958
|
+
audience?: string | undefined;
|
|
3959
|
+
scopes?: string[] | undefined;
|
|
3960
|
+
} | {
|
|
3961
|
+
type: "auth0";
|
|
3962
|
+
clientId: string;
|
|
3963
|
+
domain: string;
|
|
3964
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3965
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3966
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3967
|
+
audience?: string | undefined;
|
|
3968
|
+
} | {
|
|
3969
|
+
type: "supabase";
|
|
3970
|
+
supabaseUrl: string;
|
|
3971
|
+
supabaseKey: string;
|
|
3972
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
3973
|
+
redirectToAfterSignUp?: string | undefined;
|
|
3974
|
+
redirectToAfterSignIn?: string | undefined;
|
|
3975
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3976
|
+
} | undefined;
|
|
3977
|
+
topNavigation?: {
|
|
3978
|
+
id: string;
|
|
3979
|
+
label: string;
|
|
3980
|
+
default?: string | undefined;
|
|
3981
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
3982
|
+
}[] | undefined;
|
|
2862
3983
|
theme?: {
|
|
2863
3984
|
dark?: {
|
|
2864
3985
|
input?: string | undefined;
|
|
2865
3986
|
radius?: string | undefined;
|
|
2866
|
-
|
|
3987
|
+
destructive?: string | undefined;
|
|
3988
|
+
secondary?: string | undefined;
|
|
2867
3989
|
popover?: string | undefined;
|
|
3990
|
+
border?: string | undefined;
|
|
2868
3991
|
background?: string | undefined;
|
|
2869
3992
|
foreground?: string | undefined;
|
|
2870
3993
|
card?: string | undefined;
|
|
@@ -2872,21 +3995,21 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2872
3995
|
popoverForeground?: string | undefined;
|
|
2873
3996
|
primary?: string | undefined;
|
|
2874
3997
|
primaryForeground?: string | undefined;
|
|
2875
|
-
secondary?: string | undefined;
|
|
2876
3998
|
secondaryForeground?: string | undefined;
|
|
2877
3999
|
muted?: string | undefined;
|
|
2878
4000
|
mutedForeground?: string | undefined;
|
|
2879
4001
|
accent?: string | undefined;
|
|
2880
4002
|
accentForeground?: string | undefined;
|
|
2881
|
-
destructive?: string | undefined;
|
|
2882
4003
|
destructiveForeground?: string | undefined;
|
|
2883
4004
|
ring?: string | undefined;
|
|
2884
4005
|
} | undefined;
|
|
2885
4006
|
light?: {
|
|
2886
4007
|
input?: string | undefined;
|
|
2887
4008
|
radius?: string | undefined;
|
|
2888
|
-
|
|
4009
|
+
destructive?: string | undefined;
|
|
4010
|
+
secondary?: string | undefined;
|
|
2889
4011
|
popover?: string | undefined;
|
|
4012
|
+
border?: string | undefined;
|
|
2890
4013
|
background?: string | undefined;
|
|
2891
4014
|
foreground?: string | undefined;
|
|
2892
4015
|
card?: string | undefined;
|
|
@@ -2894,13 +4017,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2894
4017
|
popoverForeground?: string | undefined;
|
|
2895
4018
|
primary?: string | undefined;
|
|
2896
4019
|
primaryForeground?: string | undefined;
|
|
2897
|
-
secondary?: string | undefined;
|
|
2898
4020
|
secondaryForeground?: string | undefined;
|
|
2899
4021
|
muted?: string | undefined;
|
|
2900
4022
|
mutedForeground?: string | undefined;
|
|
2901
4023
|
accent?: string | undefined;
|
|
2902
4024
|
accentForeground?: string | undefined;
|
|
2903
|
-
destructive?: string | undefined;
|
|
2904
4025
|
destructiveForeground?: string | undefined;
|
|
2905
4026
|
ring?: string | undefined;
|
|
2906
4027
|
} | undefined;
|
|
@@ -2917,8 +4038,23 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2917
4038
|
} | undefined;
|
|
2918
4039
|
protectedRoutes?: string[] | undefined;
|
|
2919
4040
|
basePath?: string | undefined;
|
|
2920
|
-
|
|
4041
|
+
canonicalUrlOrigin?: string | undefined;
|
|
4042
|
+
cdnUrl?: string | {
|
|
4043
|
+
base?: string | undefined;
|
|
4044
|
+
media?: string | undefined;
|
|
4045
|
+
} | undefined;
|
|
4046
|
+
port?: number | undefined;
|
|
4047
|
+
https?: {
|
|
4048
|
+
key: string;
|
|
4049
|
+
cert: string;
|
|
4050
|
+
ca?: string | undefined;
|
|
4051
|
+
} | undefined;
|
|
2921
4052
|
page?: {
|
|
4053
|
+
banner?: {
|
|
4054
|
+
message: NonNullable<ReactNode>;
|
|
4055
|
+
color?: string | (string & {}) | undefined;
|
|
4056
|
+
dismissible?: boolean | undefined;
|
|
4057
|
+
} | undefined;
|
|
2922
4058
|
pageTitle?: string | undefined;
|
|
2923
4059
|
logoUrl?: string | undefined;
|
|
2924
4060
|
logo?: {
|
|
@@ -2929,41 +4065,6 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2929
4065
|
width?: string | undefined;
|
|
2930
4066
|
alt?: string | undefined;
|
|
2931
4067
|
} | undefined;
|
|
2932
|
-
banner?: {
|
|
2933
|
-
message: NonNullable<ReactNode>;
|
|
2934
|
-
color?: string | (string & {}) | undefined;
|
|
2935
|
-
dismissible?: boolean | undefined;
|
|
2936
|
-
} | undefined;
|
|
2937
|
-
} | undefined;
|
|
2938
|
-
topNavigation?: {
|
|
2939
|
-
id: string;
|
|
2940
|
-
label: string;
|
|
2941
|
-
default?: string | undefined;
|
|
2942
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
2943
|
-
}[] | undefined;
|
|
2944
|
-
authentication?: {
|
|
2945
|
-
type: "clerk";
|
|
2946
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
2947
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2948
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2949
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2950
|
-
} | {
|
|
2951
|
-
type: "openid";
|
|
2952
|
-
clientId: string;
|
|
2953
|
-
issuer: string;
|
|
2954
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2955
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2956
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2957
|
-
audience?: string | undefined;
|
|
2958
|
-
scopes?: string[] | undefined;
|
|
2959
|
-
} | {
|
|
2960
|
-
type: "auth0";
|
|
2961
|
-
clientId: string;
|
|
2962
|
-
domain: string;
|
|
2963
|
-
redirectToAfterSignUp?: string | undefined;
|
|
2964
|
-
redirectToAfterSignIn?: string | undefined;
|
|
2965
|
-
redirectToAfterSignOut?: string | undefined;
|
|
2966
|
-
audience?: string | undefined;
|
|
2967
4068
|
} | undefined;
|
|
2968
4069
|
docs?: {
|
|
2969
4070
|
files: string;
|
|
@@ -2983,6 +4084,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2983
4084
|
input: string;
|
|
2984
4085
|
server?: string | undefined;
|
|
2985
4086
|
id?: string | undefined;
|
|
4087
|
+
options?: {
|
|
4088
|
+
examplesLanguage?: string | undefined;
|
|
4089
|
+
disablePlayground?: boolean | undefined;
|
|
4090
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4091
|
+
expandAllTags?: boolean | undefined;
|
|
4092
|
+
transformExamples?: transformExamples | undefined;
|
|
4093
|
+
} | undefined;
|
|
2986
4094
|
navigationId?: string | undefined;
|
|
2987
4095
|
categories?: {
|
|
2988
4096
|
tags: string[];
|
|
@@ -2993,6 +4101,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2993
4101
|
input: string | string[];
|
|
2994
4102
|
server?: string | undefined;
|
|
2995
4103
|
id?: string | undefined;
|
|
4104
|
+
options?: {
|
|
4105
|
+
examplesLanguage?: string | undefined;
|
|
4106
|
+
disablePlayground?: boolean | undefined;
|
|
4107
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4108
|
+
expandAllTags?: boolean | undefined;
|
|
4109
|
+
transformExamples?: transformExamples | undefined;
|
|
4110
|
+
} | undefined;
|
|
2996
4111
|
navigationId?: string | undefined;
|
|
2997
4112
|
categories?: {
|
|
2998
4113
|
tags: string[];
|
|
@@ -3004,6 +4119,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3004
4119
|
input: string;
|
|
3005
4120
|
server?: string | undefined;
|
|
3006
4121
|
id?: string | undefined;
|
|
4122
|
+
options?: {
|
|
4123
|
+
examplesLanguage?: string | undefined;
|
|
4124
|
+
disablePlayground?: boolean | undefined;
|
|
4125
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4126
|
+
expandAllTags?: boolean | undefined;
|
|
4127
|
+
transformExamples?: transformExamples | undefined;
|
|
4128
|
+
} | undefined;
|
|
3007
4129
|
navigationId?: string | undefined;
|
|
3008
4130
|
categories?: {
|
|
3009
4131
|
tags: string[];
|
|
@@ -3014,6 +4136,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3014
4136
|
input: string;
|
|
3015
4137
|
server?: string | undefined;
|
|
3016
4138
|
id?: string | undefined;
|
|
4139
|
+
options?: {
|
|
4140
|
+
examplesLanguage?: string | undefined;
|
|
4141
|
+
disablePlayground?: boolean | undefined;
|
|
4142
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4143
|
+
expandAllTags?: boolean | undefined;
|
|
4144
|
+
transformExamples?: transformExamples | undefined;
|
|
4145
|
+
} | undefined;
|
|
3017
4146
|
navigationId?: string | undefined;
|
|
3018
4147
|
categories?: {
|
|
3019
4148
|
tags: string[];
|
|
@@ -3024,6 +4153,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3024
4153
|
input: string | string[];
|
|
3025
4154
|
server?: string | undefined;
|
|
3026
4155
|
id?: string | undefined;
|
|
4156
|
+
options?: {
|
|
4157
|
+
examplesLanguage?: string | undefined;
|
|
4158
|
+
disablePlayground?: boolean | undefined;
|
|
4159
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4160
|
+
expandAllTags?: boolean | undefined;
|
|
4161
|
+
transformExamples?: transformExamples | undefined;
|
|
4162
|
+
} | undefined;
|
|
3027
4163
|
navigationId?: string | undefined;
|
|
3028
4164
|
categories?: {
|
|
3029
4165
|
tags: string[];
|
|
@@ -3035,6 +4171,13 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3035
4171
|
input: string;
|
|
3036
4172
|
server?: string | undefined;
|
|
3037
4173
|
id?: string | undefined;
|
|
4174
|
+
options?: {
|
|
4175
|
+
examplesLanguage?: string | undefined;
|
|
4176
|
+
disablePlayground?: boolean | undefined;
|
|
4177
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4178
|
+
expandAllTags?: boolean | undefined;
|
|
4179
|
+
transformExamples?: transformExamples | undefined;
|
|
4180
|
+
} | undefined;
|
|
3038
4181
|
navigationId?: string | undefined;
|
|
3039
4182
|
categories?: {
|
|
3040
4183
|
tags: string[];
|
|
@@ -3083,14 +4226,41 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3083
4226
|
} | undefined;
|
|
3084
4227
|
isZuplo?: boolean | undefined;
|
|
3085
4228
|
enableStatusPages?: boolean | undefined;
|
|
3086
|
-
defaults?: {
|
|
3087
|
-
examplesLanguage?: string | undefined;
|
|
3088
|
-
} | undefined;
|
|
3089
4229
|
}>;
|
|
3090
4230
|
export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
3091
4231
|
protectedRoutes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3092
4232
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3093
|
-
|
|
4233
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4234
|
+
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4235
|
+
base: z.ZodOptional<z.ZodString>;
|
|
4236
|
+
media: z.ZodOptional<z.ZodString>;
|
|
4237
|
+
}, "strip", z.ZodTypeAny, {
|
|
4238
|
+
base?: string | undefined;
|
|
4239
|
+
media?: string | undefined;
|
|
4240
|
+
}, {
|
|
4241
|
+
base?: string | undefined;
|
|
4242
|
+
media?: string | undefined;
|
|
4243
|
+
}>]>, {
|
|
4244
|
+
base: string | undefined;
|
|
4245
|
+
media: string | undefined;
|
|
4246
|
+
}, string | {
|
|
4247
|
+
base?: string | undefined;
|
|
4248
|
+
media?: string | undefined;
|
|
4249
|
+
}>>>>;
|
|
4250
|
+
port: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4251
|
+
https: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4252
|
+
key: z.ZodString;
|
|
4253
|
+
cert: z.ZodString;
|
|
4254
|
+
ca: z.ZodOptional<z.ZodString>;
|
|
4255
|
+
}, "strip", z.ZodTypeAny, {
|
|
4256
|
+
key: string;
|
|
4257
|
+
cert: string;
|
|
4258
|
+
ca?: string | undefined;
|
|
4259
|
+
}, {
|
|
4260
|
+
key: string;
|
|
4261
|
+
cert: string;
|
|
4262
|
+
ca?: string | undefined;
|
|
4263
|
+
}>>>;
|
|
3094
4264
|
page: z.ZodOptional<z.ZodObject<{
|
|
3095
4265
|
pageTitle: z.ZodOptional<z.ZodString>;
|
|
3096
4266
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3136,6 +4306,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3136
4306
|
dismissible?: boolean | undefined;
|
|
3137
4307
|
}>>;
|
|
3138
4308
|
}, "strip", z.ZodTypeAny, {
|
|
4309
|
+
banner?: {
|
|
4310
|
+
message: NonNullable<ReactNode>;
|
|
4311
|
+
color?: string | (string & {}) | undefined;
|
|
4312
|
+
dismissible?: boolean | undefined;
|
|
4313
|
+
} | undefined;
|
|
3139
4314
|
pageTitle?: string | undefined;
|
|
3140
4315
|
logoUrl?: string | undefined;
|
|
3141
4316
|
logo?: {
|
|
@@ -3146,12 +4321,12 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3146
4321
|
width?: string | undefined;
|
|
3147
4322
|
alt?: string | undefined;
|
|
3148
4323
|
} | undefined;
|
|
4324
|
+
}, {
|
|
3149
4325
|
banner?: {
|
|
3150
4326
|
message: NonNullable<ReactNode>;
|
|
3151
4327
|
color?: string | (string & {}) | undefined;
|
|
3152
4328
|
dismissible?: boolean | undefined;
|
|
3153
4329
|
} | undefined;
|
|
3154
|
-
}, {
|
|
3155
4330
|
pageTitle?: string | undefined;
|
|
3156
4331
|
logoUrl?: string | undefined;
|
|
3157
4332
|
logo?: {
|
|
@@ -3162,27 +4337,22 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3162
4337
|
width?: string | undefined;
|
|
3163
4338
|
alt?: string | undefined;
|
|
3164
4339
|
} | undefined;
|
|
3165
|
-
banner?: {
|
|
3166
|
-
message: NonNullable<ReactNode>;
|
|
3167
|
-
color?: string | (string & {}) | undefined;
|
|
3168
|
-
dismissible?: boolean | undefined;
|
|
3169
|
-
} | undefined;
|
|
3170
4340
|
}>>;
|
|
3171
4341
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3172
4342
|
label: z.ZodString;
|
|
3173
4343
|
id: z.ZodString;
|
|
3174
4344
|
default: z.ZodOptional<z.ZodString>;
|
|
3175
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
4345
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
|
|
3176
4346
|
}, "strip", z.ZodTypeAny, {
|
|
3177
4347
|
id: string;
|
|
3178
4348
|
label: string;
|
|
3179
4349
|
default?: string | undefined;
|
|
3180
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4350
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
3181
4351
|
}, {
|
|
3182
4352
|
id: string;
|
|
3183
4353
|
label: string;
|
|
3184
4354
|
default?: string | undefined;
|
|
3185
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4355
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
3186
4356
|
}>, "many">>;
|
|
3187
4357
|
sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
|
|
3188
4358
|
theme: z.ZodOptional<z.ZodObject<{
|
|
@@ -3210,8 +4380,10 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3210
4380
|
}, "strip", z.ZodTypeAny, {
|
|
3211
4381
|
input?: string | undefined;
|
|
3212
4382
|
radius?: string | undefined;
|
|
3213
|
-
|
|
4383
|
+
destructive?: string | undefined;
|
|
4384
|
+
secondary?: string | undefined;
|
|
3214
4385
|
popover?: string | undefined;
|
|
4386
|
+
border?: string | undefined;
|
|
3215
4387
|
background?: string | undefined;
|
|
3216
4388
|
foreground?: string | undefined;
|
|
3217
4389
|
card?: string | undefined;
|
|
@@ -3219,20 +4391,20 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3219
4391
|
popoverForeground?: string | undefined;
|
|
3220
4392
|
primary?: string | undefined;
|
|
3221
4393
|
primaryForeground?: string | undefined;
|
|
3222
|
-
secondary?: string | undefined;
|
|
3223
4394
|
secondaryForeground?: string | undefined;
|
|
3224
4395
|
muted?: string | undefined;
|
|
3225
4396
|
mutedForeground?: string | undefined;
|
|
3226
4397
|
accent?: string | undefined;
|
|
3227
4398
|
accentForeground?: string | undefined;
|
|
3228
|
-
destructive?: string | undefined;
|
|
3229
4399
|
destructiveForeground?: string | undefined;
|
|
3230
4400
|
ring?: string | undefined;
|
|
3231
4401
|
}, {
|
|
3232
4402
|
input?: string | undefined;
|
|
3233
4403
|
radius?: string | undefined;
|
|
3234
|
-
|
|
4404
|
+
destructive?: string | undefined;
|
|
4405
|
+
secondary?: string | undefined;
|
|
3235
4406
|
popover?: string | undefined;
|
|
4407
|
+
border?: string | undefined;
|
|
3236
4408
|
background?: string | undefined;
|
|
3237
4409
|
foreground?: string | undefined;
|
|
3238
4410
|
card?: string | undefined;
|
|
@@ -3240,13 +4412,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3240
4412
|
popoverForeground?: string | undefined;
|
|
3241
4413
|
primary?: string | undefined;
|
|
3242
4414
|
primaryForeground?: string | undefined;
|
|
3243
|
-
secondary?: string | undefined;
|
|
3244
4415
|
secondaryForeground?: string | undefined;
|
|
3245
4416
|
muted?: string | undefined;
|
|
3246
4417
|
mutedForeground?: string | undefined;
|
|
3247
4418
|
accent?: string | undefined;
|
|
3248
4419
|
accentForeground?: string | undefined;
|
|
3249
|
-
destructive?: string | undefined;
|
|
3250
4420
|
destructiveForeground?: string | undefined;
|
|
3251
4421
|
ring?: string | undefined;
|
|
3252
4422
|
}>>;
|
|
@@ -3274,8 +4444,10 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3274
4444
|
}, "strip", z.ZodTypeAny, {
|
|
3275
4445
|
input?: string | undefined;
|
|
3276
4446
|
radius?: string | undefined;
|
|
3277
|
-
|
|
4447
|
+
destructive?: string | undefined;
|
|
4448
|
+
secondary?: string | undefined;
|
|
3278
4449
|
popover?: string | undefined;
|
|
4450
|
+
border?: string | undefined;
|
|
3279
4451
|
background?: string | undefined;
|
|
3280
4452
|
foreground?: string | undefined;
|
|
3281
4453
|
card?: string | undefined;
|
|
@@ -3283,20 +4455,20 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3283
4455
|
popoverForeground?: string | undefined;
|
|
3284
4456
|
primary?: string | undefined;
|
|
3285
4457
|
primaryForeground?: string | undefined;
|
|
3286
|
-
secondary?: string | undefined;
|
|
3287
4458
|
secondaryForeground?: string | undefined;
|
|
3288
4459
|
muted?: string | undefined;
|
|
3289
4460
|
mutedForeground?: string | undefined;
|
|
3290
4461
|
accent?: string | undefined;
|
|
3291
4462
|
accentForeground?: string | undefined;
|
|
3292
|
-
destructive?: string | undefined;
|
|
3293
4463
|
destructiveForeground?: string | undefined;
|
|
3294
4464
|
ring?: string | undefined;
|
|
3295
4465
|
}, {
|
|
3296
4466
|
input?: string | undefined;
|
|
3297
4467
|
radius?: string | undefined;
|
|
3298
|
-
|
|
4468
|
+
destructive?: string | undefined;
|
|
4469
|
+
secondary?: string | undefined;
|
|
3299
4470
|
popover?: string | undefined;
|
|
4471
|
+
border?: string | undefined;
|
|
3300
4472
|
background?: string | undefined;
|
|
3301
4473
|
foreground?: string | undefined;
|
|
3302
4474
|
card?: string | undefined;
|
|
@@ -3304,13 +4476,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3304
4476
|
popoverForeground?: string | undefined;
|
|
3305
4477
|
primary?: string | undefined;
|
|
3306
4478
|
primaryForeground?: string | undefined;
|
|
3307
|
-
secondary?: string | undefined;
|
|
3308
4479
|
secondaryForeground?: string | undefined;
|
|
3309
4480
|
muted?: string | undefined;
|
|
3310
4481
|
mutedForeground?: string | undefined;
|
|
3311
4482
|
accent?: string | undefined;
|
|
3312
4483
|
accentForeground?: string | undefined;
|
|
3313
|
-
destructive?: string | undefined;
|
|
3314
4484
|
destructiveForeground?: string | undefined;
|
|
3315
4485
|
ring?: string | undefined;
|
|
3316
4486
|
}>>;
|
|
@@ -3358,8 +4528,10 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3358
4528
|
dark?: {
|
|
3359
4529
|
input?: string | undefined;
|
|
3360
4530
|
radius?: string | undefined;
|
|
3361
|
-
|
|
4531
|
+
destructive?: string | undefined;
|
|
4532
|
+
secondary?: string | undefined;
|
|
3362
4533
|
popover?: string | undefined;
|
|
4534
|
+
border?: string | undefined;
|
|
3363
4535
|
background?: string | undefined;
|
|
3364
4536
|
foreground?: string | undefined;
|
|
3365
4537
|
card?: string | undefined;
|
|
@@ -3367,21 +4539,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3367
4539
|
popoverForeground?: string | undefined;
|
|
3368
4540
|
primary?: string | undefined;
|
|
3369
4541
|
primaryForeground?: string | undefined;
|
|
3370
|
-
secondary?: string | undefined;
|
|
3371
4542
|
secondaryForeground?: string | undefined;
|
|
3372
4543
|
muted?: string | undefined;
|
|
3373
4544
|
mutedForeground?: string | undefined;
|
|
3374
4545
|
accent?: string | undefined;
|
|
3375
4546
|
accentForeground?: string | undefined;
|
|
3376
|
-
destructive?: string | undefined;
|
|
3377
4547
|
destructiveForeground?: string | undefined;
|
|
3378
4548
|
ring?: string | undefined;
|
|
3379
4549
|
} | undefined;
|
|
3380
4550
|
light?: {
|
|
3381
4551
|
input?: string | undefined;
|
|
3382
4552
|
radius?: string | undefined;
|
|
3383
|
-
|
|
4553
|
+
destructive?: string | undefined;
|
|
4554
|
+
secondary?: string | undefined;
|
|
3384
4555
|
popover?: string | undefined;
|
|
4556
|
+
border?: string | undefined;
|
|
3385
4557
|
background?: string | undefined;
|
|
3386
4558
|
foreground?: string | undefined;
|
|
3387
4559
|
card?: string | undefined;
|
|
@@ -3389,13 +4561,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3389
4561
|
popoverForeground?: string | undefined;
|
|
3390
4562
|
primary?: string | undefined;
|
|
3391
4563
|
primaryForeground?: string | undefined;
|
|
3392
|
-
secondary?: string | undefined;
|
|
3393
4564
|
secondaryForeground?: string | undefined;
|
|
3394
4565
|
muted?: string | undefined;
|
|
3395
4566
|
mutedForeground?: string | undefined;
|
|
3396
4567
|
accent?: string | undefined;
|
|
3397
4568
|
accentForeground?: string | undefined;
|
|
3398
|
-
destructive?: string | undefined;
|
|
3399
4569
|
destructiveForeground?: string | undefined;
|
|
3400
4570
|
ring?: string | undefined;
|
|
3401
4571
|
} | undefined;
|
|
@@ -3413,8 +4583,10 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3413
4583
|
dark?: {
|
|
3414
4584
|
input?: string | undefined;
|
|
3415
4585
|
radius?: string | undefined;
|
|
3416
|
-
|
|
4586
|
+
destructive?: string | undefined;
|
|
4587
|
+
secondary?: string | undefined;
|
|
3417
4588
|
popover?: string | undefined;
|
|
4589
|
+
border?: string | undefined;
|
|
3418
4590
|
background?: string | undefined;
|
|
3419
4591
|
foreground?: string | undefined;
|
|
3420
4592
|
card?: string | undefined;
|
|
@@ -3422,21 +4594,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3422
4594
|
popoverForeground?: string | undefined;
|
|
3423
4595
|
primary?: string | undefined;
|
|
3424
4596
|
primaryForeground?: string | undefined;
|
|
3425
|
-
secondary?: string | undefined;
|
|
3426
4597
|
secondaryForeground?: string | undefined;
|
|
3427
4598
|
muted?: string | undefined;
|
|
3428
4599
|
mutedForeground?: string | undefined;
|
|
3429
4600
|
accent?: string | undefined;
|
|
3430
4601
|
accentForeground?: string | undefined;
|
|
3431
|
-
destructive?: string | undefined;
|
|
3432
4602
|
destructiveForeground?: string | undefined;
|
|
3433
4603
|
ring?: string | undefined;
|
|
3434
4604
|
} | undefined;
|
|
3435
4605
|
light?: {
|
|
3436
4606
|
input?: string | undefined;
|
|
3437
4607
|
radius?: string | undefined;
|
|
3438
|
-
|
|
4608
|
+
destructive?: string | undefined;
|
|
4609
|
+
secondary?: string | undefined;
|
|
3439
4610
|
popover?: string | undefined;
|
|
4611
|
+
border?: string | undefined;
|
|
3440
4612
|
background?: string | undefined;
|
|
3441
4613
|
foreground?: string | undefined;
|
|
3442
4614
|
card?: string | undefined;
|
|
@@ -3444,13 +4616,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3444
4616
|
popoverForeground?: string | undefined;
|
|
3445
4617
|
primary?: string | undefined;
|
|
3446
4618
|
primaryForeground?: string | undefined;
|
|
3447
|
-
secondary?: string | undefined;
|
|
3448
4619
|
secondaryForeground?: string | undefined;
|
|
3449
4620
|
muted?: string | undefined;
|
|
3450
4621
|
mutedForeground?: string | undefined;
|
|
3451
4622
|
accent?: string | undefined;
|
|
3452
4623
|
accentForeground?: string | undefined;
|
|
3453
|
-
destructive?: string | undefined;
|
|
3454
4624
|
destructiveForeground?: string | undefined;
|
|
3455
4625
|
ring?: string | undefined;
|
|
3456
4626
|
} | undefined;
|
|
@@ -3502,7 +4672,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3502
4672
|
creator?: string | undefined;
|
|
3503
4673
|
publisher?: string | undefined;
|
|
3504
4674
|
}>>;
|
|
3505
|
-
authentication: z.ZodOptional<z.
|
|
4675
|
+
authentication: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3506
4676
|
type: z.ZodLiteral<"clerk">;
|
|
3507
4677
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
3508
4678
|
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
@@ -3571,8 +4741,32 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3571
4741
|
redirectToAfterSignIn?: string | undefined;
|
|
3572
4742
|
redirectToAfterSignOut?: string | undefined;
|
|
3573
4743
|
audience?: string | undefined;
|
|
4744
|
+
}>, z.ZodObject<{
|
|
4745
|
+
type: z.ZodLiteral<"supabase">;
|
|
4746
|
+
supabaseUrl: z.ZodString;
|
|
4747
|
+
supabaseKey: z.ZodString;
|
|
4748
|
+
provider: z.ZodEnum<["google", "github", "gitlab", "bitbucket", "facebook", "twitter"]>;
|
|
4749
|
+
redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
|
|
4750
|
+
redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
|
|
4751
|
+
redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
|
|
4752
|
+
}, "strip", z.ZodTypeAny, {
|
|
4753
|
+
type: "supabase";
|
|
4754
|
+
supabaseUrl: string;
|
|
4755
|
+
supabaseKey: string;
|
|
4756
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
4757
|
+
redirectToAfterSignUp?: string | undefined;
|
|
4758
|
+
redirectToAfterSignIn?: string | undefined;
|
|
4759
|
+
redirectToAfterSignOut?: string | undefined;
|
|
4760
|
+
}, {
|
|
4761
|
+
type: "supabase";
|
|
4762
|
+
supabaseUrl: string;
|
|
4763
|
+
supabaseKey: string;
|
|
4764
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
4765
|
+
redirectToAfterSignUp?: string | undefined;
|
|
4766
|
+
redirectToAfterSignIn?: string | undefined;
|
|
4767
|
+
redirectToAfterSignOut?: string | undefined;
|
|
3574
4768
|
}>]>>;
|
|
3575
|
-
search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4769
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3576
4770
|
type: z.ZodLiteral<"inkeep">;
|
|
3577
4771
|
apiKey: z.ZodString;
|
|
3578
4772
|
integrationId: z.ZodString;
|
|
@@ -3593,7 +4787,66 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3593
4787
|
organizationId: string;
|
|
3594
4788
|
primaryBrandColor: string;
|
|
3595
4789
|
organizationDisplayName: string;
|
|
3596
|
-
}
|
|
4790
|
+
}>, z.ZodObject<{
|
|
4791
|
+
type: z.ZodLiteral<"pagefind">;
|
|
4792
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
4793
|
+
termFrequency: z.ZodNumber;
|
|
4794
|
+
pageLength: z.ZodNumber;
|
|
4795
|
+
termSimilarity: z.ZodNumber;
|
|
4796
|
+
termSaturation: z.ZodNumber;
|
|
4797
|
+
}, "strip", z.ZodTypeAny, {
|
|
4798
|
+
termFrequency: number;
|
|
4799
|
+
pageLength: number;
|
|
4800
|
+
termSimilarity: number;
|
|
4801
|
+
termSaturation: number;
|
|
4802
|
+
}, {
|
|
4803
|
+
termFrequency: number;
|
|
4804
|
+
pageLength: number;
|
|
4805
|
+
termSimilarity: number;
|
|
4806
|
+
termSaturation: number;
|
|
4807
|
+
}>>;
|
|
4808
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
4809
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
4810
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
4811
|
+
result: PagefindSearchFragment;
|
|
4812
|
+
auth: AuthState;
|
|
4813
|
+
context: ZudokuContext;
|
|
4814
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
4815
|
+
result: PagefindSearchFragment;
|
|
4816
|
+
auth: AuthState;
|
|
4817
|
+
context: ZudokuContext;
|
|
4818
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
4819
|
+
}, "strip", z.ZodTypeAny, {
|
|
4820
|
+
type: "pagefind";
|
|
4821
|
+
ranking?: {
|
|
4822
|
+
termFrequency: number;
|
|
4823
|
+
pageLength: number;
|
|
4824
|
+
termSimilarity: number;
|
|
4825
|
+
termSaturation: number;
|
|
4826
|
+
} | undefined;
|
|
4827
|
+
maxResults?: number | undefined;
|
|
4828
|
+
maxSubResults?: number | undefined;
|
|
4829
|
+
transformResults?: ((data: {
|
|
4830
|
+
result: PagefindSearchFragment;
|
|
4831
|
+
auth: AuthState;
|
|
4832
|
+
context: ZudokuContext;
|
|
4833
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
4834
|
+
}, {
|
|
4835
|
+
type: "pagefind";
|
|
4836
|
+
ranking?: {
|
|
4837
|
+
termFrequency: number;
|
|
4838
|
+
pageLength: number;
|
|
4839
|
+
termSimilarity: number;
|
|
4840
|
+
termSaturation: number;
|
|
4841
|
+
} | undefined;
|
|
4842
|
+
maxResults?: number | undefined;
|
|
4843
|
+
maxSubResults?: number | undefined;
|
|
4844
|
+
transformResults?: ((data: {
|
|
4845
|
+
result: PagefindSearchFragment;
|
|
4846
|
+
auth: AuthState;
|
|
4847
|
+
context: ZudokuContext;
|
|
4848
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
4849
|
+
}>]>>>;
|
|
3597
4850
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3598
4851
|
files: z.ZodString;
|
|
3599
4852
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -3660,11 +4913,37 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3660
4913
|
tags: string[];
|
|
3661
4914
|
label: string;
|
|
3662
4915
|
}>, "many">>;
|
|
4916
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
4917
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
4918
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4919
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4920
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
4921
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4922
|
+
}, "strip", z.ZodTypeAny, {
|
|
4923
|
+
examplesLanguage?: string | undefined;
|
|
4924
|
+
disablePlayground?: boolean | undefined;
|
|
4925
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4926
|
+
expandAllTags?: boolean | undefined;
|
|
4927
|
+
transformExamples?: transformExamples | undefined;
|
|
4928
|
+
}, {
|
|
4929
|
+
examplesLanguage?: string | undefined;
|
|
4930
|
+
disablePlayground?: boolean | undefined;
|
|
4931
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4932
|
+
expandAllTags?: boolean | undefined;
|
|
4933
|
+
transformExamples?: transformExamples | undefined;
|
|
4934
|
+
}>>;
|
|
3663
4935
|
}>, "strip", z.ZodTypeAny, {
|
|
3664
4936
|
type: "url";
|
|
3665
4937
|
input: string;
|
|
3666
4938
|
server?: string | undefined;
|
|
3667
4939
|
id?: string | undefined;
|
|
4940
|
+
options?: {
|
|
4941
|
+
examplesLanguage?: string | undefined;
|
|
4942
|
+
disablePlayground?: boolean | undefined;
|
|
4943
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4944
|
+
expandAllTags?: boolean | undefined;
|
|
4945
|
+
transformExamples?: transformExamples | undefined;
|
|
4946
|
+
} | undefined;
|
|
3668
4947
|
navigationId?: string | undefined;
|
|
3669
4948
|
categories?: {
|
|
3670
4949
|
tags: string[];
|
|
@@ -3675,6 +4954,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3675
4954
|
input: string;
|
|
3676
4955
|
server?: string | undefined;
|
|
3677
4956
|
id?: string | undefined;
|
|
4957
|
+
options?: {
|
|
4958
|
+
examplesLanguage?: string | undefined;
|
|
4959
|
+
disablePlayground?: boolean | undefined;
|
|
4960
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4961
|
+
expandAllTags?: boolean | undefined;
|
|
4962
|
+
transformExamples?: transformExamples | undefined;
|
|
4963
|
+
} | undefined;
|
|
3678
4964
|
navigationId?: string | undefined;
|
|
3679
4965
|
categories?: {
|
|
3680
4966
|
tags: string[];
|
|
@@ -3697,6 +4983,25 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3697
4983
|
tags: string[];
|
|
3698
4984
|
label: string;
|
|
3699
4985
|
}>, "many">>;
|
|
4986
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
4987
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
4988
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4989
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4990
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
4991
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4992
|
+
}, "strip", z.ZodTypeAny, {
|
|
4993
|
+
examplesLanguage?: string | undefined;
|
|
4994
|
+
disablePlayground?: boolean | undefined;
|
|
4995
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4996
|
+
expandAllTags?: boolean | undefined;
|
|
4997
|
+
transformExamples?: transformExamples | undefined;
|
|
4998
|
+
}, {
|
|
4999
|
+
examplesLanguage?: string | undefined;
|
|
5000
|
+
disablePlayground?: boolean | undefined;
|
|
5001
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5002
|
+
expandAllTags?: boolean | undefined;
|
|
5003
|
+
transformExamples?: transformExamples | undefined;
|
|
5004
|
+
}>>;
|
|
3700
5005
|
}>, {
|
|
3701
5006
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
3702
5007
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3704,6 +5009,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3704
5009
|
input: string | string[];
|
|
3705
5010
|
server?: string | undefined;
|
|
3706
5011
|
id?: string | undefined;
|
|
5012
|
+
options?: {
|
|
5013
|
+
examplesLanguage?: string | undefined;
|
|
5014
|
+
disablePlayground?: boolean | undefined;
|
|
5015
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5016
|
+
expandAllTags?: boolean | undefined;
|
|
5017
|
+
transformExamples?: transformExamples | undefined;
|
|
5018
|
+
} | undefined;
|
|
3707
5019
|
navigationId?: string | undefined;
|
|
3708
5020
|
categories?: {
|
|
3709
5021
|
tags: string[];
|
|
@@ -3715,6 +5027,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3715
5027
|
input: string | string[];
|
|
3716
5028
|
server?: string | undefined;
|
|
3717
5029
|
id?: string | undefined;
|
|
5030
|
+
options?: {
|
|
5031
|
+
examplesLanguage?: string | undefined;
|
|
5032
|
+
disablePlayground?: boolean | undefined;
|
|
5033
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5034
|
+
expandAllTags?: boolean | undefined;
|
|
5035
|
+
transformExamples?: transformExamples | undefined;
|
|
5036
|
+
} | undefined;
|
|
3718
5037
|
navigationId?: string | undefined;
|
|
3719
5038
|
categories?: {
|
|
3720
5039
|
tags: string[];
|
|
@@ -3738,11 +5057,37 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3738
5057
|
tags: string[];
|
|
3739
5058
|
label: string;
|
|
3740
5059
|
}>, "many">>;
|
|
5060
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5061
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
5062
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5063
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5064
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5065
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5066
|
+
}, "strip", z.ZodTypeAny, {
|
|
5067
|
+
examplesLanguage?: string | undefined;
|
|
5068
|
+
disablePlayground?: boolean | undefined;
|
|
5069
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5070
|
+
expandAllTags?: boolean | undefined;
|
|
5071
|
+
transformExamples?: transformExamples | undefined;
|
|
5072
|
+
}, {
|
|
5073
|
+
examplesLanguage?: string | undefined;
|
|
5074
|
+
disablePlayground?: boolean | undefined;
|
|
5075
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5076
|
+
expandAllTags?: boolean | undefined;
|
|
5077
|
+
transformExamples?: transformExamples | undefined;
|
|
5078
|
+
}>>;
|
|
3741
5079
|
}>, "strip", z.ZodTypeAny, {
|
|
3742
5080
|
type: "raw";
|
|
3743
5081
|
input: string;
|
|
3744
5082
|
server?: string | undefined;
|
|
3745
5083
|
id?: string | undefined;
|
|
5084
|
+
options?: {
|
|
5085
|
+
examplesLanguage?: string | undefined;
|
|
5086
|
+
disablePlayground?: boolean | undefined;
|
|
5087
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5088
|
+
expandAllTags?: boolean | undefined;
|
|
5089
|
+
transformExamples?: transformExamples | undefined;
|
|
5090
|
+
} | undefined;
|
|
3746
5091
|
navigationId?: string | undefined;
|
|
3747
5092
|
categories?: {
|
|
3748
5093
|
tags: string[];
|
|
@@ -3753,6 +5098,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3753
5098
|
input: string;
|
|
3754
5099
|
server?: string | undefined;
|
|
3755
5100
|
id?: string | undefined;
|
|
5101
|
+
options?: {
|
|
5102
|
+
examplesLanguage?: string | undefined;
|
|
5103
|
+
disablePlayground?: boolean | undefined;
|
|
5104
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5105
|
+
expandAllTags?: boolean | undefined;
|
|
5106
|
+
transformExamples?: transformExamples | undefined;
|
|
5107
|
+
} | undefined;
|
|
3756
5108
|
navigationId?: string | undefined;
|
|
3757
5109
|
categories?: {
|
|
3758
5110
|
tags: string[];
|
|
@@ -3775,11 +5127,37 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3775
5127
|
tags: string[];
|
|
3776
5128
|
label: string;
|
|
3777
5129
|
}>, "many">>;
|
|
5130
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5131
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
5132
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5133
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5134
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5135
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5136
|
+
}, "strip", z.ZodTypeAny, {
|
|
5137
|
+
examplesLanguage?: string | undefined;
|
|
5138
|
+
disablePlayground?: boolean | undefined;
|
|
5139
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5140
|
+
expandAllTags?: boolean | undefined;
|
|
5141
|
+
transformExamples?: transformExamples | undefined;
|
|
5142
|
+
}, {
|
|
5143
|
+
examplesLanguage?: string | undefined;
|
|
5144
|
+
disablePlayground?: boolean | undefined;
|
|
5145
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5146
|
+
expandAllTags?: boolean | undefined;
|
|
5147
|
+
transformExamples?: transformExamples | undefined;
|
|
5148
|
+
}>>;
|
|
3778
5149
|
}>, "strip", z.ZodTypeAny, {
|
|
3779
5150
|
type: "url";
|
|
3780
5151
|
input: string;
|
|
3781
5152
|
server?: string | undefined;
|
|
3782
5153
|
id?: string | undefined;
|
|
5154
|
+
options?: {
|
|
5155
|
+
examplesLanguage?: string | undefined;
|
|
5156
|
+
disablePlayground?: boolean | undefined;
|
|
5157
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5158
|
+
expandAllTags?: boolean | undefined;
|
|
5159
|
+
transformExamples?: transformExamples | undefined;
|
|
5160
|
+
} | undefined;
|
|
3783
5161
|
navigationId?: string | undefined;
|
|
3784
5162
|
categories?: {
|
|
3785
5163
|
tags: string[];
|
|
@@ -3790,6 +5168,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3790
5168
|
input: string;
|
|
3791
5169
|
server?: string | undefined;
|
|
3792
5170
|
id?: string | undefined;
|
|
5171
|
+
options?: {
|
|
5172
|
+
examplesLanguage?: string | undefined;
|
|
5173
|
+
disablePlayground?: boolean | undefined;
|
|
5174
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5175
|
+
expandAllTags?: boolean | undefined;
|
|
5176
|
+
transformExamples?: transformExamples | undefined;
|
|
5177
|
+
} | undefined;
|
|
3793
5178
|
navigationId?: string | undefined;
|
|
3794
5179
|
categories?: {
|
|
3795
5180
|
tags: string[];
|
|
@@ -3812,6 +5197,25 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3812
5197
|
tags: string[];
|
|
3813
5198
|
label: string;
|
|
3814
5199
|
}>, "many">>;
|
|
5200
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5201
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
5202
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5203
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5204
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5205
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5206
|
+
}, "strip", z.ZodTypeAny, {
|
|
5207
|
+
examplesLanguage?: string | undefined;
|
|
5208
|
+
disablePlayground?: boolean | undefined;
|
|
5209
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5210
|
+
expandAllTags?: boolean | undefined;
|
|
5211
|
+
transformExamples?: transformExamples | undefined;
|
|
5212
|
+
}, {
|
|
5213
|
+
examplesLanguage?: string | undefined;
|
|
5214
|
+
disablePlayground?: boolean | undefined;
|
|
5215
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5216
|
+
expandAllTags?: boolean | undefined;
|
|
5217
|
+
transformExamples?: transformExamples | undefined;
|
|
5218
|
+
}>>;
|
|
3815
5219
|
}>, {
|
|
3816
5220
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
3817
5221
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3819,6 +5223,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3819
5223
|
input: string | string[];
|
|
3820
5224
|
server?: string | undefined;
|
|
3821
5225
|
id?: string | undefined;
|
|
5226
|
+
options?: {
|
|
5227
|
+
examplesLanguage?: string | undefined;
|
|
5228
|
+
disablePlayground?: boolean | undefined;
|
|
5229
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5230
|
+
expandAllTags?: boolean | undefined;
|
|
5231
|
+
transformExamples?: transformExamples | undefined;
|
|
5232
|
+
} | undefined;
|
|
3822
5233
|
navigationId?: string | undefined;
|
|
3823
5234
|
categories?: {
|
|
3824
5235
|
tags: string[];
|
|
@@ -3830,6 +5241,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3830
5241
|
input: string | string[];
|
|
3831
5242
|
server?: string | undefined;
|
|
3832
5243
|
id?: string | undefined;
|
|
5244
|
+
options?: {
|
|
5245
|
+
examplesLanguage?: string | undefined;
|
|
5246
|
+
disablePlayground?: boolean | undefined;
|
|
5247
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5248
|
+
expandAllTags?: boolean | undefined;
|
|
5249
|
+
transformExamples?: transformExamples | undefined;
|
|
5250
|
+
} | undefined;
|
|
3833
5251
|
navigationId?: string | undefined;
|
|
3834
5252
|
categories?: {
|
|
3835
5253
|
tags: string[];
|
|
@@ -3853,11 +5271,37 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3853
5271
|
tags: string[];
|
|
3854
5272
|
label: string;
|
|
3855
5273
|
}>, "many">>;
|
|
5274
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5275
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
5276
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5277
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5278
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5279
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5280
|
+
}, "strip", z.ZodTypeAny, {
|
|
5281
|
+
examplesLanguage?: string | undefined;
|
|
5282
|
+
disablePlayground?: boolean | undefined;
|
|
5283
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5284
|
+
expandAllTags?: boolean | undefined;
|
|
5285
|
+
transformExamples?: transformExamples | undefined;
|
|
5286
|
+
}, {
|
|
5287
|
+
examplesLanguage?: string | undefined;
|
|
5288
|
+
disablePlayground?: boolean | undefined;
|
|
5289
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5290
|
+
expandAllTags?: boolean | undefined;
|
|
5291
|
+
transformExamples?: transformExamples | undefined;
|
|
5292
|
+
}>>;
|
|
3856
5293
|
}>, "strip", z.ZodTypeAny, {
|
|
3857
5294
|
type: "raw";
|
|
3858
5295
|
input: string;
|
|
3859
5296
|
server?: string | undefined;
|
|
3860
5297
|
id?: string | undefined;
|
|
5298
|
+
options?: {
|
|
5299
|
+
examplesLanguage?: string | undefined;
|
|
5300
|
+
disablePlayground?: boolean | undefined;
|
|
5301
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5302
|
+
expandAllTags?: boolean | undefined;
|
|
5303
|
+
transformExamples?: transformExamples | undefined;
|
|
5304
|
+
} | undefined;
|
|
3861
5305
|
navigationId?: string | undefined;
|
|
3862
5306
|
categories?: {
|
|
3863
5307
|
tags: string[];
|
|
@@ -3868,6 +5312,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
3868
5312
|
input: string;
|
|
3869
5313
|
server?: string | undefined;
|
|
3870
5314
|
id?: string | undefined;
|
|
5315
|
+
options?: {
|
|
5316
|
+
examplesLanguage?: string | undefined;
|
|
5317
|
+
disablePlayground?: boolean | undefined;
|
|
5318
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5319
|
+
expandAllTags?: boolean | undefined;
|
|
5320
|
+
transformExamples?: transformExamples | undefined;
|
|
5321
|
+
} | undefined;
|
|
3871
5322
|
navigationId?: string | undefined;
|
|
3872
5323
|
categories?: {
|
|
3873
5324
|
tags: string[];
|
|
@@ -4014,10 +5465,46 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4014
5465
|
isZuplo: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4015
5466
|
enableStatusPages: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4016
5467
|
defaults: z.ZodOptional<z.ZodObject<{
|
|
5468
|
+
apis: z.ZodObject<{
|
|
5469
|
+
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
5470
|
+
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5471
|
+
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5472
|
+
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5473
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5474
|
+
}, "strip", z.ZodTypeAny, {
|
|
5475
|
+
examplesLanguage?: string | undefined;
|
|
5476
|
+
disablePlayground?: boolean | undefined;
|
|
5477
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5478
|
+
expandAllTags?: boolean | undefined;
|
|
5479
|
+
transformExamples?: transformExamples | undefined;
|
|
5480
|
+
}, {
|
|
5481
|
+
examplesLanguage?: string | undefined;
|
|
5482
|
+
disablePlayground?: boolean | undefined;
|
|
5483
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5484
|
+
expandAllTags?: boolean | undefined;
|
|
5485
|
+
transformExamples?: transformExamples | undefined;
|
|
5486
|
+
}>;
|
|
5487
|
+
/**
|
|
5488
|
+
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
5489
|
+
*/
|
|
4017
5490
|
examplesLanguage: z.ZodOptional<z.ZodString>;
|
|
4018
5491
|
}, "strip", z.ZodTypeAny, {
|
|
5492
|
+
apis: {
|
|
5493
|
+
examplesLanguage?: string | undefined;
|
|
5494
|
+
disablePlayground?: boolean | undefined;
|
|
5495
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5496
|
+
expandAllTags?: boolean | undefined;
|
|
5497
|
+
transformExamples?: transformExamples | undefined;
|
|
5498
|
+
};
|
|
4019
5499
|
examplesLanguage?: string | undefined;
|
|
4020
5500
|
}, {
|
|
5501
|
+
apis: {
|
|
5502
|
+
examplesLanguage?: string | undefined;
|
|
5503
|
+
disablePlayground?: boolean | undefined;
|
|
5504
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5505
|
+
expandAllTags?: boolean | undefined;
|
|
5506
|
+
transformExamples?: transformExamples | undefined;
|
|
5507
|
+
};
|
|
4021
5508
|
examplesLanguage?: string | undefined;
|
|
4022
5509
|
}>>;
|
|
4023
5510
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4028,6 +5515,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4028
5515
|
organizationId: string;
|
|
4029
5516
|
primaryBrandColor: string;
|
|
4030
5517
|
organizationDisplayName: string;
|
|
5518
|
+
} | {
|
|
5519
|
+
type: "pagefind";
|
|
5520
|
+
ranking?: {
|
|
5521
|
+
termFrequency: number;
|
|
5522
|
+
pageLength: number;
|
|
5523
|
+
termSimilarity: number;
|
|
5524
|
+
termSaturation: number;
|
|
5525
|
+
} | undefined;
|
|
5526
|
+
maxResults?: number | undefined;
|
|
5527
|
+
maxSubResults?: number | undefined;
|
|
5528
|
+
transformResults?: ((data: {
|
|
5529
|
+
result: PagefindSearchFragment;
|
|
5530
|
+
auth: AuthState;
|
|
5531
|
+
context: ZudokuContext;
|
|
5532
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
5533
|
+
} | undefined;
|
|
5534
|
+
defaults?: {
|
|
5535
|
+
apis: {
|
|
5536
|
+
examplesLanguage?: string | undefined;
|
|
5537
|
+
disablePlayground?: boolean | undefined;
|
|
5538
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5539
|
+
expandAllTags?: boolean | undefined;
|
|
5540
|
+
transformExamples?: transformExamples | undefined;
|
|
5541
|
+
};
|
|
5542
|
+
examplesLanguage?: string | undefined;
|
|
4031
5543
|
} | undefined;
|
|
4032
5544
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
4033
5545
|
metadata?: {
|
|
@@ -4043,12 +5555,52 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4043
5555
|
creator?: string | undefined;
|
|
4044
5556
|
publisher?: string | undefined;
|
|
4045
5557
|
} | undefined;
|
|
5558
|
+
authentication?: {
|
|
5559
|
+
type: "clerk";
|
|
5560
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
5561
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5562
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5563
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5564
|
+
} | {
|
|
5565
|
+
type: "openid";
|
|
5566
|
+
clientId: string;
|
|
5567
|
+
issuer: string;
|
|
5568
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5569
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5570
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5571
|
+
audience?: string | undefined;
|
|
5572
|
+
scopes?: string[] | undefined;
|
|
5573
|
+
} | {
|
|
5574
|
+
type: "auth0";
|
|
5575
|
+
clientId: string;
|
|
5576
|
+
domain: string;
|
|
5577
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5578
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5579
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5580
|
+
audience?: string | undefined;
|
|
5581
|
+
} | {
|
|
5582
|
+
type: "supabase";
|
|
5583
|
+
supabaseUrl: string;
|
|
5584
|
+
supabaseKey: string;
|
|
5585
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
5586
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5587
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5588
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5589
|
+
} | undefined;
|
|
5590
|
+
topNavigation?: {
|
|
5591
|
+
id: string;
|
|
5592
|
+
label: string;
|
|
5593
|
+
default?: string | undefined;
|
|
5594
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
5595
|
+
}[] | undefined;
|
|
4046
5596
|
theme?: {
|
|
4047
5597
|
dark?: {
|
|
4048
5598
|
input?: string | undefined;
|
|
4049
5599
|
radius?: string | undefined;
|
|
4050
|
-
|
|
5600
|
+
destructive?: string | undefined;
|
|
5601
|
+
secondary?: string | undefined;
|
|
4051
5602
|
popover?: string | undefined;
|
|
5603
|
+
border?: string | undefined;
|
|
4052
5604
|
background?: string | undefined;
|
|
4053
5605
|
foreground?: string | undefined;
|
|
4054
5606
|
card?: string | undefined;
|
|
@@ -4056,21 +5608,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4056
5608
|
popoverForeground?: string | undefined;
|
|
4057
5609
|
primary?: string | undefined;
|
|
4058
5610
|
primaryForeground?: string | undefined;
|
|
4059
|
-
secondary?: string | undefined;
|
|
4060
5611
|
secondaryForeground?: string | undefined;
|
|
4061
5612
|
muted?: string | undefined;
|
|
4062
5613
|
mutedForeground?: string | undefined;
|
|
4063
5614
|
accent?: string | undefined;
|
|
4064
5615
|
accentForeground?: string | undefined;
|
|
4065
|
-
destructive?: string | undefined;
|
|
4066
5616
|
destructiveForeground?: string | undefined;
|
|
4067
5617
|
ring?: string | undefined;
|
|
4068
5618
|
} | undefined;
|
|
4069
5619
|
light?: {
|
|
4070
5620
|
input?: string | undefined;
|
|
4071
5621
|
radius?: string | undefined;
|
|
4072
|
-
|
|
5622
|
+
destructive?: string | undefined;
|
|
5623
|
+
secondary?: string | undefined;
|
|
4073
5624
|
popover?: string | undefined;
|
|
5625
|
+
border?: string | undefined;
|
|
4074
5626
|
background?: string | undefined;
|
|
4075
5627
|
foreground?: string | undefined;
|
|
4076
5628
|
card?: string | undefined;
|
|
@@ -4078,13 +5630,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4078
5630
|
popoverForeground?: string | undefined;
|
|
4079
5631
|
primary?: string | undefined;
|
|
4080
5632
|
primaryForeground?: string | undefined;
|
|
4081
|
-
secondary?: string | undefined;
|
|
4082
5633
|
secondaryForeground?: string | undefined;
|
|
4083
5634
|
muted?: string | undefined;
|
|
4084
5635
|
mutedForeground?: string | undefined;
|
|
4085
5636
|
accent?: string | undefined;
|
|
4086
5637
|
accentForeground?: string | undefined;
|
|
4087
|
-
destructive?: string | undefined;
|
|
4088
5638
|
destructiveForeground?: string | undefined;
|
|
4089
5639
|
ring?: string | undefined;
|
|
4090
5640
|
} | undefined;
|
|
@@ -4101,8 +5651,23 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4101
5651
|
} | undefined;
|
|
4102
5652
|
protectedRoutes?: string[] | undefined;
|
|
4103
5653
|
basePath?: string | undefined;
|
|
4104
|
-
|
|
5654
|
+
canonicalUrlOrigin?: string | undefined;
|
|
5655
|
+
cdnUrl?: {
|
|
5656
|
+
base: string | undefined;
|
|
5657
|
+
media: string | undefined;
|
|
5658
|
+
} | undefined;
|
|
5659
|
+
port?: number | undefined;
|
|
5660
|
+
https?: {
|
|
5661
|
+
key: string;
|
|
5662
|
+
cert: string;
|
|
5663
|
+
ca?: string | undefined;
|
|
5664
|
+
} | undefined;
|
|
4105
5665
|
page?: {
|
|
5666
|
+
banner?: {
|
|
5667
|
+
message: NonNullable<ReactNode>;
|
|
5668
|
+
color?: string | (string & {}) | undefined;
|
|
5669
|
+
dismissible?: boolean | undefined;
|
|
5670
|
+
} | undefined;
|
|
4106
5671
|
pageTitle?: string | undefined;
|
|
4107
5672
|
logoUrl?: string | undefined;
|
|
4108
5673
|
logo?: {
|
|
@@ -4113,41 +5678,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4113
5678
|
width?: string | undefined;
|
|
4114
5679
|
alt?: string | undefined;
|
|
4115
5680
|
} | undefined;
|
|
4116
|
-
banner?: {
|
|
4117
|
-
message: NonNullable<ReactNode>;
|
|
4118
|
-
color?: string | (string & {}) | undefined;
|
|
4119
|
-
dismissible?: boolean | undefined;
|
|
4120
|
-
} | undefined;
|
|
4121
|
-
} | undefined;
|
|
4122
|
-
topNavigation?: {
|
|
4123
|
-
id: string;
|
|
4124
|
-
label: string;
|
|
4125
|
-
default?: string | undefined;
|
|
4126
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4127
|
-
}[] | undefined;
|
|
4128
|
-
authentication?: {
|
|
4129
|
-
type: "clerk";
|
|
4130
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
4131
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4132
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4133
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4134
|
-
} | {
|
|
4135
|
-
type: "openid";
|
|
4136
|
-
clientId: string;
|
|
4137
|
-
issuer: string;
|
|
4138
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4139
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4140
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4141
|
-
audience?: string | undefined;
|
|
4142
|
-
scopes?: string[] | undefined;
|
|
4143
|
-
} | {
|
|
4144
|
-
type: "auth0";
|
|
4145
|
-
clientId: string;
|
|
4146
|
-
domain: string;
|
|
4147
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4148
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4149
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4150
|
-
audience?: string | undefined;
|
|
4151
5681
|
} | undefined;
|
|
4152
5682
|
docs?: {
|
|
4153
5683
|
files: string;
|
|
@@ -4167,6 +5697,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4167
5697
|
input: string;
|
|
4168
5698
|
server?: string | undefined;
|
|
4169
5699
|
id?: string | undefined;
|
|
5700
|
+
options?: {
|
|
5701
|
+
examplesLanguage?: string | undefined;
|
|
5702
|
+
disablePlayground?: boolean | undefined;
|
|
5703
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5704
|
+
expandAllTags?: boolean | undefined;
|
|
5705
|
+
transformExamples?: transformExamples | undefined;
|
|
5706
|
+
} | undefined;
|
|
4170
5707
|
navigationId?: string | undefined;
|
|
4171
5708
|
categories?: {
|
|
4172
5709
|
tags: string[];
|
|
@@ -4177,6 +5714,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4177
5714
|
input: string | string[];
|
|
4178
5715
|
server?: string | undefined;
|
|
4179
5716
|
id?: string | undefined;
|
|
5717
|
+
options?: {
|
|
5718
|
+
examplesLanguage?: string | undefined;
|
|
5719
|
+
disablePlayground?: boolean | undefined;
|
|
5720
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5721
|
+
expandAllTags?: boolean | undefined;
|
|
5722
|
+
transformExamples?: transformExamples | undefined;
|
|
5723
|
+
} | undefined;
|
|
4180
5724
|
navigationId?: string | undefined;
|
|
4181
5725
|
categories?: {
|
|
4182
5726
|
tags: string[];
|
|
@@ -4188,6 +5732,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4188
5732
|
input: string;
|
|
4189
5733
|
server?: string | undefined;
|
|
4190
5734
|
id?: string | undefined;
|
|
5735
|
+
options?: {
|
|
5736
|
+
examplesLanguage?: string | undefined;
|
|
5737
|
+
disablePlayground?: boolean | undefined;
|
|
5738
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5739
|
+
expandAllTags?: boolean | undefined;
|
|
5740
|
+
transformExamples?: transformExamples | undefined;
|
|
5741
|
+
} | undefined;
|
|
4191
5742
|
navigationId?: string | undefined;
|
|
4192
5743
|
categories?: {
|
|
4193
5744
|
tags: string[];
|
|
@@ -4198,6 +5749,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4198
5749
|
input: string;
|
|
4199
5750
|
server?: string | undefined;
|
|
4200
5751
|
id?: string | undefined;
|
|
5752
|
+
options?: {
|
|
5753
|
+
examplesLanguage?: string | undefined;
|
|
5754
|
+
disablePlayground?: boolean | undefined;
|
|
5755
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5756
|
+
expandAllTags?: boolean | undefined;
|
|
5757
|
+
transformExamples?: transformExamples | undefined;
|
|
5758
|
+
} | undefined;
|
|
4201
5759
|
navigationId?: string | undefined;
|
|
4202
5760
|
categories?: {
|
|
4203
5761
|
tags: string[];
|
|
@@ -4208,6 +5766,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4208
5766
|
input: string | string[];
|
|
4209
5767
|
server?: string | undefined;
|
|
4210
5768
|
id?: string | undefined;
|
|
5769
|
+
options?: {
|
|
5770
|
+
examplesLanguage?: string | undefined;
|
|
5771
|
+
disablePlayground?: boolean | undefined;
|
|
5772
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5773
|
+
expandAllTags?: boolean | undefined;
|
|
5774
|
+
transformExamples?: transformExamples | undefined;
|
|
5775
|
+
} | undefined;
|
|
4211
5776
|
navigationId?: string | undefined;
|
|
4212
5777
|
categories?: {
|
|
4213
5778
|
tags: string[];
|
|
@@ -4219,6 +5784,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4219
5784
|
input: string;
|
|
4220
5785
|
server?: string | undefined;
|
|
4221
5786
|
id?: string | undefined;
|
|
5787
|
+
options?: {
|
|
5788
|
+
examplesLanguage?: string | undefined;
|
|
5789
|
+
disablePlayground?: boolean | undefined;
|
|
5790
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5791
|
+
expandAllTags?: boolean | undefined;
|
|
5792
|
+
transformExamples?: transformExamples | undefined;
|
|
5793
|
+
} | undefined;
|
|
4222
5794
|
navigationId?: string | undefined;
|
|
4223
5795
|
categories?: {
|
|
4224
5796
|
tags: string[];
|
|
@@ -4267,9 +5839,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4267
5839
|
} | undefined;
|
|
4268
5840
|
isZuplo?: boolean | undefined;
|
|
4269
5841
|
enableStatusPages?: boolean | undefined;
|
|
4270
|
-
defaults?: {
|
|
4271
|
-
examplesLanguage?: string | undefined;
|
|
4272
|
-
} | undefined;
|
|
4273
5842
|
}, {
|
|
4274
5843
|
search?: {
|
|
4275
5844
|
type: "inkeep";
|
|
@@ -4278,6 +5847,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4278
5847
|
organizationId: string;
|
|
4279
5848
|
primaryBrandColor: string;
|
|
4280
5849
|
organizationDisplayName: string;
|
|
5850
|
+
} | {
|
|
5851
|
+
type: "pagefind";
|
|
5852
|
+
ranking?: {
|
|
5853
|
+
termFrequency: number;
|
|
5854
|
+
pageLength: number;
|
|
5855
|
+
termSimilarity: number;
|
|
5856
|
+
termSaturation: number;
|
|
5857
|
+
} | undefined;
|
|
5858
|
+
maxResults?: number | undefined;
|
|
5859
|
+
maxSubResults?: number | undefined;
|
|
5860
|
+
transformResults?: ((data: {
|
|
5861
|
+
result: PagefindSearchFragment;
|
|
5862
|
+
auth: AuthState;
|
|
5863
|
+
context: ZudokuContext;
|
|
5864
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
5865
|
+
} | undefined;
|
|
5866
|
+
defaults?: {
|
|
5867
|
+
apis: {
|
|
5868
|
+
examplesLanguage?: string | undefined;
|
|
5869
|
+
disablePlayground?: boolean | undefined;
|
|
5870
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5871
|
+
expandAllTags?: boolean | undefined;
|
|
5872
|
+
transformExamples?: transformExamples | undefined;
|
|
5873
|
+
};
|
|
5874
|
+
examplesLanguage?: string | undefined;
|
|
4281
5875
|
} | undefined;
|
|
4282
5876
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
4283
5877
|
metadata?: {
|
|
@@ -4293,12 +5887,52 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4293
5887
|
creator?: string | undefined;
|
|
4294
5888
|
publisher?: string | undefined;
|
|
4295
5889
|
} | undefined;
|
|
5890
|
+
authentication?: {
|
|
5891
|
+
type: "clerk";
|
|
5892
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
5893
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5894
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5895
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5896
|
+
} | {
|
|
5897
|
+
type: "openid";
|
|
5898
|
+
clientId: string;
|
|
5899
|
+
issuer: string;
|
|
5900
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5901
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5902
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5903
|
+
audience?: string | undefined;
|
|
5904
|
+
scopes?: string[] | undefined;
|
|
5905
|
+
} | {
|
|
5906
|
+
type: "auth0";
|
|
5907
|
+
clientId: string;
|
|
5908
|
+
domain: string;
|
|
5909
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5910
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5911
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5912
|
+
audience?: string | undefined;
|
|
5913
|
+
} | {
|
|
5914
|
+
type: "supabase";
|
|
5915
|
+
supabaseUrl: string;
|
|
5916
|
+
supabaseKey: string;
|
|
5917
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
5918
|
+
redirectToAfterSignUp?: string | undefined;
|
|
5919
|
+
redirectToAfterSignIn?: string | undefined;
|
|
5920
|
+
redirectToAfterSignOut?: string | undefined;
|
|
5921
|
+
} | undefined;
|
|
5922
|
+
topNavigation?: {
|
|
5923
|
+
id: string;
|
|
5924
|
+
label: string;
|
|
5925
|
+
default?: string | undefined;
|
|
5926
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
5927
|
+
}[] | undefined;
|
|
4296
5928
|
theme?: {
|
|
4297
5929
|
dark?: {
|
|
4298
5930
|
input?: string | undefined;
|
|
4299
5931
|
radius?: string | undefined;
|
|
4300
|
-
|
|
5932
|
+
destructive?: string | undefined;
|
|
5933
|
+
secondary?: string | undefined;
|
|
4301
5934
|
popover?: string | undefined;
|
|
5935
|
+
border?: string | undefined;
|
|
4302
5936
|
background?: string | undefined;
|
|
4303
5937
|
foreground?: string | undefined;
|
|
4304
5938
|
card?: string | undefined;
|
|
@@ -4306,21 +5940,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4306
5940
|
popoverForeground?: string | undefined;
|
|
4307
5941
|
primary?: string | undefined;
|
|
4308
5942
|
primaryForeground?: string | undefined;
|
|
4309
|
-
secondary?: string | undefined;
|
|
4310
5943
|
secondaryForeground?: string | undefined;
|
|
4311
5944
|
muted?: string | undefined;
|
|
4312
5945
|
mutedForeground?: string | undefined;
|
|
4313
5946
|
accent?: string | undefined;
|
|
4314
5947
|
accentForeground?: string | undefined;
|
|
4315
|
-
destructive?: string | undefined;
|
|
4316
5948
|
destructiveForeground?: string | undefined;
|
|
4317
5949
|
ring?: string | undefined;
|
|
4318
5950
|
} | undefined;
|
|
4319
5951
|
light?: {
|
|
4320
5952
|
input?: string | undefined;
|
|
4321
5953
|
radius?: string | undefined;
|
|
4322
|
-
|
|
5954
|
+
destructive?: string | undefined;
|
|
5955
|
+
secondary?: string | undefined;
|
|
4323
5956
|
popover?: string | undefined;
|
|
5957
|
+
border?: string | undefined;
|
|
4324
5958
|
background?: string | undefined;
|
|
4325
5959
|
foreground?: string | undefined;
|
|
4326
5960
|
card?: string | undefined;
|
|
@@ -4328,13 +5962,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4328
5962
|
popoverForeground?: string | undefined;
|
|
4329
5963
|
primary?: string | undefined;
|
|
4330
5964
|
primaryForeground?: string | undefined;
|
|
4331
|
-
secondary?: string | undefined;
|
|
4332
5965
|
secondaryForeground?: string | undefined;
|
|
4333
5966
|
muted?: string | undefined;
|
|
4334
5967
|
mutedForeground?: string | undefined;
|
|
4335
5968
|
accent?: string | undefined;
|
|
4336
5969
|
accentForeground?: string | undefined;
|
|
4337
|
-
destructive?: string | undefined;
|
|
4338
5970
|
destructiveForeground?: string | undefined;
|
|
4339
5971
|
ring?: string | undefined;
|
|
4340
5972
|
} | undefined;
|
|
@@ -4351,8 +5983,23 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4351
5983
|
} | undefined;
|
|
4352
5984
|
protectedRoutes?: string[] | undefined;
|
|
4353
5985
|
basePath?: string | undefined;
|
|
4354
|
-
|
|
5986
|
+
canonicalUrlOrigin?: string | undefined;
|
|
5987
|
+
cdnUrl?: string | {
|
|
5988
|
+
base?: string | undefined;
|
|
5989
|
+
media?: string | undefined;
|
|
5990
|
+
} | undefined;
|
|
5991
|
+
port?: number | undefined;
|
|
5992
|
+
https?: {
|
|
5993
|
+
key: string;
|
|
5994
|
+
cert: string;
|
|
5995
|
+
ca?: string | undefined;
|
|
5996
|
+
} | undefined;
|
|
4355
5997
|
page?: {
|
|
5998
|
+
banner?: {
|
|
5999
|
+
message: NonNullable<ReactNode>;
|
|
6000
|
+
color?: string | (string & {}) | undefined;
|
|
6001
|
+
dismissible?: boolean | undefined;
|
|
6002
|
+
} | undefined;
|
|
4356
6003
|
pageTitle?: string | undefined;
|
|
4357
6004
|
logoUrl?: string | undefined;
|
|
4358
6005
|
logo?: {
|
|
@@ -4363,41 +6010,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4363
6010
|
width?: string | undefined;
|
|
4364
6011
|
alt?: string | undefined;
|
|
4365
6012
|
} | undefined;
|
|
4366
|
-
banner?: {
|
|
4367
|
-
message: NonNullable<ReactNode>;
|
|
4368
|
-
color?: string | (string & {}) | undefined;
|
|
4369
|
-
dismissible?: boolean | undefined;
|
|
4370
|
-
} | undefined;
|
|
4371
|
-
} | undefined;
|
|
4372
|
-
topNavigation?: {
|
|
4373
|
-
id: string;
|
|
4374
|
-
label: string;
|
|
4375
|
-
default?: string | undefined;
|
|
4376
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4377
|
-
}[] | undefined;
|
|
4378
|
-
authentication?: {
|
|
4379
|
-
type: "clerk";
|
|
4380
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
4381
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4382
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4383
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4384
|
-
} | {
|
|
4385
|
-
type: "openid";
|
|
4386
|
-
clientId: string;
|
|
4387
|
-
issuer: string;
|
|
4388
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4389
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4390
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4391
|
-
audience?: string | undefined;
|
|
4392
|
-
scopes?: string[] | undefined;
|
|
4393
|
-
} | {
|
|
4394
|
-
type: "auth0";
|
|
4395
|
-
clientId: string;
|
|
4396
|
-
domain: string;
|
|
4397
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4398
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4399
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4400
|
-
audience?: string | undefined;
|
|
4401
6013
|
} | undefined;
|
|
4402
6014
|
docs?: {
|
|
4403
6015
|
files: string;
|
|
@@ -4417,6 +6029,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4417
6029
|
input: string;
|
|
4418
6030
|
server?: string | undefined;
|
|
4419
6031
|
id?: string | undefined;
|
|
6032
|
+
options?: {
|
|
6033
|
+
examplesLanguage?: string | undefined;
|
|
6034
|
+
disablePlayground?: boolean | undefined;
|
|
6035
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6036
|
+
expandAllTags?: boolean | undefined;
|
|
6037
|
+
transformExamples?: transformExamples | undefined;
|
|
6038
|
+
} | undefined;
|
|
4420
6039
|
navigationId?: string | undefined;
|
|
4421
6040
|
categories?: {
|
|
4422
6041
|
tags: string[];
|
|
@@ -4427,6 +6046,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4427
6046
|
input: string | string[];
|
|
4428
6047
|
server?: string | undefined;
|
|
4429
6048
|
id?: string | undefined;
|
|
6049
|
+
options?: {
|
|
6050
|
+
examplesLanguage?: string | undefined;
|
|
6051
|
+
disablePlayground?: boolean | undefined;
|
|
6052
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6053
|
+
expandAllTags?: boolean | undefined;
|
|
6054
|
+
transformExamples?: transformExamples | undefined;
|
|
6055
|
+
} | undefined;
|
|
4430
6056
|
navigationId?: string | undefined;
|
|
4431
6057
|
categories?: {
|
|
4432
6058
|
tags: string[];
|
|
@@ -4438,6 +6064,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4438
6064
|
input: string;
|
|
4439
6065
|
server?: string | undefined;
|
|
4440
6066
|
id?: string | undefined;
|
|
6067
|
+
options?: {
|
|
6068
|
+
examplesLanguage?: string | undefined;
|
|
6069
|
+
disablePlayground?: boolean | undefined;
|
|
6070
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6071
|
+
expandAllTags?: boolean | undefined;
|
|
6072
|
+
transformExamples?: transformExamples | undefined;
|
|
6073
|
+
} | undefined;
|
|
4441
6074
|
navigationId?: string | undefined;
|
|
4442
6075
|
categories?: {
|
|
4443
6076
|
tags: string[];
|
|
@@ -4448,6 +6081,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4448
6081
|
input: string;
|
|
4449
6082
|
server?: string | undefined;
|
|
4450
6083
|
id?: string | undefined;
|
|
6084
|
+
options?: {
|
|
6085
|
+
examplesLanguage?: string | undefined;
|
|
6086
|
+
disablePlayground?: boolean | undefined;
|
|
6087
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6088
|
+
expandAllTags?: boolean | undefined;
|
|
6089
|
+
transformExamples?: transformExamples | undefined;
|
|
6090
|
+
} | undefined;
|
|
4451
6091
|
navigationId?: string | undefined;
|
|
4452
6092
|
categories?: {
|
|
4453
6093
|
tags: string[];
|
|
@@ -4458,6 +6098,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4458
6098
|
input: string | string[];
|
|
4459
6099
|
server?: string | undefined;
|
|
4460
6100
|
id?: string | undefined;
|
|
6101
|
+
options?: {
|
|
6102
|
+
examplesLanguage?: string | undefined;
|
|
6103
|
+
disablePlayground?: boolean | undefined;
|
|
6104
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6105
|
+
expandAllTags?: boolean | undefined;
|
|
6106
|
+
transformExamples?: transformExamples | undefined;
|
|
6107
|
+
} | undefined;
|
|
4461
6108
|
navigationId?: string | undefined;
|
|
4462
6109
|
categories?: {
|
|
4463
6110
|
tags: string[];
|
|
@@ -4469,6 +6116,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4469
6116
|
input: string;
|
|
4470
6117
|
server?: string | undefined;
|
|
4471
6118
|
id?: string | undefined;
|
|
6119
|
+
options?: {
|
|
6120
|
+
examplesLanguage?: string | undefined;
|
|
6121
|
+
disablePlayground?: boolean | undefined;
|
|
6122
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6123
|
+
expandAllTags?: boolean | undefined;
|
|
6124
|
+
transformExamples?: transformExamples | undefined;
|
|
6125
|
+
} | undefined;
|
|
4472
6126
|
navigationId?: string | undefined;
|
|
4473
6127
|
categories?: {
|
|
4474
6128
|
tags: string[];
|
|
@@ -4517,9 +6171,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4517
6171
|
} | undefined;
|
|
4518
6172
|
isZuplo?: boolean | undefined;
|
|
4519
6173
|
enableStatusPages?: boolean | undefined;
|
|
4520
|
-
defaults?: {
|
|
4521
|
-
examplesLanguage?: string | undefined;
|
|
4522
|
-
} | undefined;
|
|
4523
6174
|
}>, {
|
|
4524
6175
|
search?: {
|
|
4525
6176
|
type: "inkeep";
|
|
@@ -4528,6 +6179,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4528
6179
|
organizationId: string;
|
|
4529
6180
|
primaryBrandColor: string;
|
|
4530
6181
|
organizationDisplayName: string;
|
|
6182
|
+
} | {
|
|
6183
|
+
type: "pagefind";
|
|
6184
|
+
ranking?: {
|
|
6185
|
+
termFrequency: number;
|
|
6186
|
+
pageLength: number;
|
|
6187
|
+
termSimilarity: number;
|
|
6188
|
+
termSaturation: number;
|
|
6189
|
+
} | undefined;
|
|
6190
|
+
maxResults?: number | undefined;
|
|
6191
|
+
maxSubResults?: number | undefined;
|
|
6192
|
+
transformResults?: ((data: {
|
|
6193
|
+
result: PagefindSearchFragment;
|
|
6194
|
+
auth: AuthState;
|
|
6195
|
+
context: ZudokuContext;
|
|
6196
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
6197
|
+
} | undefined;
|
|
6198
|
+
defaults?: {
|
|
6199
|
+
apis: {
|
|
6200
|
+
examplesLanguage?: string | undefined;
|
|
6201
|
+
disablePlayground?: boolean | undefined;
|
|
6202
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6203
|
+
expandAllTags?: boolean | undefined;
|
|
6204
|
+
transformExamples?: transformExamples | undefined;
|
|
6205
|
+
};
|
|
6206
|
+
examplesLanguage?: string | undefined;
|
|
4531
6207
|
} | undefined;
|
|
4532
6208
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
4533
6209
|
metadata?: {
|
|
@@ -4543,12 +6219,52 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4543
6219
|
creator?: string | undefined;
|
|
4544
6220
|
publisher?: string | undefined;
|
|
4545
6221
|
} | undefined;
|
|
6222
|
+
authentication?: {
|
|
6223
|
+
type: "clerk";
|
|
6224
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
6225
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6226
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6227
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6228
|
+
} | {
|
|
6229
|
+
type: "openid";
|
|
6230
|
+
clientId: string;
|
|
6231
|
+
issuer: string;
|
|
6232
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6233
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6234
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6235
|
+
audience?: string | undefined;
|
|
6236
|
+
scopes?: string[] | undefined;
|
|
6237
|
+
} | {
|
|
6238
|
+
type: "auth0";
|
|
6239
|
+
clientId: string;
|
|
6240
|
+
domain: string;
|
|
6241
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6242
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6243
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6244
|
+
audience?: string | undefined;
|
|
6245
|
+
} | {
|
|
6246
|
+
type: "supabase";
|
|
6247
|
+
supabaseUrl: string;
|
|
6248
|
+
supabaseKey: string;
|
|
6249
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
6250
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6251
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6252
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6253
|
+
} | undefined;
|
|
6254
|
+
topNavigation?: {
|
|
6255
|
+
id: string;
|
|
6256
|
+
label: string;
|
|
6257
|
+
default?: string | undefined;
|
|
6258
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
6259
|
+
}[] | undefined;
|
|
4546
6260
|
theme?: {
|
|
4547
6261
|
dark?: {
|
|
4548
6262
|
input?: string | undefined;
|
|
4549
6263
|
radius?: string | undefined;
|
|
4550
|
-
|
|
6264
|
+
destructive?: string | undefined;
|
|
6265
|
+
secondary?: string | undefined;
|
|
4551
6266
|
popover?: string | undefined;
|
|
6267
|
+
border?: string | undefined;
|
|
4552
6268
|
background?: string | undefined;
|
|
4553
6269
|
foreground?: string | undefined;
|
|
4554
6270
|
card?: string | undefined;
|
|
@@ -4556,21 +6272,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4556
6272
|
popoverForeground?: string | undefined;
|
|
4557
6273
|
primary?: string | undefined;
|
|
4558
6274
|
primaryForeground?: string | undefined;
|
|
4559
|
-
secondary?: string | undefined;
|
|
4560
6275
|
secondaryForeground?: string | undefined;
|
|
4561
6276
|
muted?: string | undefined;
|
|
4562
6277
|
mutedForeground?: string | undefined;
|
|
4563
6278
|
accent?: string | undefined;
|
|
4564
6279
|
accentForeground?: string | undefined;
|
|
4565
|
-
destructive?: string | undefined;
|
|
4566
6280
|
destructiveForeground?: string | undefined;
|
|
4567
6281
|
ring?: string | undefined;
|
|
4568
6282
|
} | undefined;
|
|
4569
6283
|
light?: {
|
|
4570
6284
|
input?: string | undefined;
|
|
4571
6285
|
radius?: string | undefined;
|
|
4572
|
-
|
|
6286
|
+
destructive?: string | undefined;
|
|
6287
|
+
secondary?: string | undefined;
|
|
4573
6288
|
popover?: string | undefined;
|
|
6289
|
+
border?: string | undefined;
|
|
4574
6290
|
background?: string | undefined;
|
|
4575
6291
|
foreground?: string | undefined;
|
|
4576
6292
|
card?: string | undefined;
|
|
@@ -4578,13 +6294,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4578
6294
|
popoverForeground?: string | undefined;
|
|
4579
6295
|
primary?: string | undefined;
|
|
4580
6296
|
primaryForeground?: string | undefined;
|
|
4581
|
-
secondary?: string | undefined;
|
|
4582
6297
|
secondaryForeground?: string | undefined;
|
|
4583
6298
|
muted?: string | undefined;
|
|
4584
6299
|
mutedForeground?: string | undefined;
|
|
4585
6300
|
accent?: string | undefined;
|
|
4586
6301
|
accentForeground?: string | undefined;
|
|
4587
|
-
destructive?: string | undefined;
|
|
4588
6302
|
destructiveForeground?: string | undefined;
|
|
4589
6303
|
ring?: string | undefined;
|
|
4590
6304
|
} | undefined;
|
|
@@ -4601,8 +6315,23 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4601
6315
|
} | undefined;
|
|
4602
6316
|
protectedRoutes?: string[] | undefined;
|
|
4603
6317
|
basePath?: string | undefined;
|
|
4604
|
-
|
|
6318
|
+
canonicalUrlOrigin?: string | undefined;
|
|
6319
|
+
cdnUrl?: {
|
|
6320
|
+
base: string | undefined;
|
|
6321
|
+
media: string | undefined;
|
|
6322
|
+
} | undefined;
|
|
6323
|
+
port?: number | undefined;
|
|
6324
|
+
https?: {
|
|
6325
|
+
key: string;
|
|
6326
|
+
cert: string;
|
|
6327
|
+
ca?: string | undefined;
|
|
6328
|
+
} | undefined;
|
|
4605
6329
|
page?: {
|
|
6330
|
+
banner?: {
|
|
6331
|
+
message: NonNullable<ReactNode>;
|
|
6332
|
+
color?: string | (string & {}) | undefined;
|
|
6333
|
+
dismissible?: boolean | undefined;
|
|
6334
|
+
} | undefined;
|
|
4606
6335
|
pageTitle?: string | undefined;
|
|
4607
6336
|
logoUrl?: string | undefined;
|
|
4608
6337
|
logo?: {
|
|
@@ -4613,41 +6342,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4613
6342
|
width?: string | undefined;
|
|
4614
6343
|
alt?: string | undefined;
|
|
4615
6344
|
} | undefined;
|
|
4616
|
-
banner?: {
|
|
4617
|
-
message: NonNullable<ReactNode>;
|
|
4618
|
-
color?: string | (string & {}) | undefined;
|
|
4619
|
-
dismissible?: boolean | undefined;
|
|
4620
|
-
} | undefined;
|
|
4621
|
-
} | undefined;
|
|
4622
|
-
topNavigation?: {
|
|
4623
|
-
id: string;
|
|
4624
|
-
label: string;
|
|
4625
|
-
default?: string | undefined;
|
|
4626
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4627
|
-
}[] | undefined;
|
|
4628
|
-
authentication?: {
|
|
4629
|
-
type: "clerk";
|
|
4630
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
4631
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4632
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4633
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4634
|
-
} | {
|
|
4635
|
-
type: "openid";
|
|
4636
|
-
clientId: string;
|
|
4637
|
-
issuer: string;
|
|
4638
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4639
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4640
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4641
|
-
audience?: string | undefined;
|
|
4642
|
-
scopes?: string[] | undefined;
|
|
4643
|
-
} | {
|
|
4644
|
-
type: "auth0";
|
|
4645
|
-
clientId: string;
|
|
4646
|
-
domain: string;
|
|
4647
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4648
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4649
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4650
|
-
audience?: string | undefined;
|
|
4651
6345
|
} | undefined;
|
|
4652
6346
|
docs?: {
|
|
4653
6347
|
files: string;
|
|
@@ -4667,6 +6361,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4667
6361
|
input: string;
|
|
4668
6362
|
server?: string | undefined;
|
|
4669
6363
|
id?: string | undefined;
|
|
6364
|
+
options?: {
|
|
6365
|
+
examplesLanguage?: string | undefined;
|
|
6366
|
+
disablePlayground?: boolean | undefined;
|
|
6367
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6368
|
+
expandAllTags?: boolean | undefined;
|
|
6369
|
+
transformExamples?: transformExamples | undefined;
|
|
6370
|
+
} | undefined;
|
|
4670
6371
|
navigationId?: string | undefined;
|
|
4671
6372
|
categories?: {
|
|
4672
6373
|
tags: string[];
|
|
@@ -4677,6 +6378,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4677
6378
|
input: string | string[];
|
|
4678
6379
|
server?: string | undefined;
|
|
4679
6380
|
id?: string | undefined;
|
|
6381
|
+
options?: {
|
|
6382
|
+
examplesLanguage?: string | undefined;
|
|
6383
|
+
disablePlayground?: boolean | undefined;
|
|
6384
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6385
|
+
expandAllTags?: boolean | undefined;
|
|
6386
|
+
transformExamples?: transformExamples | undefined;
|
|
6387
|
+
} | undefined;
|
|
4680
6388
|
navigationId?: string | undefined;
|
|
4681
6389
|
categories?: {
|
|
4682
6390
|
tags: string[];
|
|
@@ -4688,6 +6396,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4688
6396
|
input: string;
|
|
4689
6397
|
server?: string | undefined;
|
|
4690
6398
|
id?: string | undefined;
|
|
6399
|
+
options?: {
|
|
6400
|
+
examplesLanguage?: string | undefined;
|
|
6401
|
+
disablePlayground?: boolean | undefined;
|
|
6402
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6403
|
+
expandAllTags?: boolean | undefined;
|
|
6404
|
+
transformExamples?: transformExamples | undefined;
|
|
6405
|
+
} | undefined;
|
|
4691
6406
|
navigationId?: string | undefined;
|
|
4692
6407
|
categories?: {
|
|
4693
6408
|
tags: string[];
|
|
@@ -4698,6 +6413,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4698
6413
|
input: string;
|
|
4699
6414
|
server?: string | undefined;
|
|
4700
6415
|
id?: string | undefined;
|
|
6416
|
+
options?: {
|
|
6417
|
+
examplesLanguage?: string | undefined;
|
|
6418
|
+
disablePlayground?: boolean | undefined;
|
|
6419
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6420
|
+
expandAllTags?: boolean | undefined;
|
|
6421
|
+
transformExamples?: transformExamples | undefined;
|
|
6422
|
+
} | undefined;
|
|
4701
6423
|
navigationId?: string | undefined;
|
|
4702
6424
|
categories?: {
|
|
4703
6425
|
tags: string[];
|
|
@@ -4708,6 +6430,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4708
6430
|
input: string | string[];
|
|
4709
6431
|
server?: string | undefined;
|
|
4710
6432
|
id?: string | undefined;
|
|
6433
|
+
options?: {
|
|
6434
|
+
examplesLanguage?: string | undefined;
|
|
6435
|
+
disablePlayground?: boolean | undefined;
|
|
6436
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6437
|
+
expandAllTags?: boolean | undefined;
|
|
6438
|
+
transformExamples?: transformExamples | undefined;
|
|
6439
|
+
} | undefined;
|
|
4711
6440
|
navigationId?: string | undefined;
|
|
4712
6441
|
categories?: {
|
|
4713
6442
|
tags: string[];
|
|
@@ -4719,6 +6448,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4719
6448
|
input: string;
|
|
4720
6449
|
server?: string | undefined;
|
|
4721
6450
|
id?: string | undefined;
|
|
6451
|
+
options?: {
|
|
6452
|
+
examplesLanguage?: string | undefined;
|
|
6453
|
+
disablePlayground?: boolean | undefined;
|
|
6454
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6455
|
+
expandAllTags?: boolean | undefined;
|
|
6456
|
+
transformExamples?: transformExamples | undefined;
|
|
6457
|
+
} | undefined;
|
|
4722
6458
|
navigationId?: string | undefined;
|
|
4723
6459
|
categories?: {
|
|
4724
6460
|
tags: string[];
|
|
@@ -4767,9 +6503,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4767
6503
|
} | undefined;
|
|
4768
6504
|
isZuplo?: boolean | undefined;
|
|
4769
6505
|
enableStatusPages?: boolean | undefined;
|
|
4770
|
-
defaults?: {
|
|
4771
|
-
examplesLanguage?: string | undefined;
|
|
4772
|
-
} | undefined;
|
|
4773
6506
|
}, {
|
|
4774
6507
|
search?: {
|
|
4775
6508
|
type: "inkeep";
|
|
@@ -4778,6 +6511,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4778
6511
|
organizationId: string;
|
|
4779
6512
|
primaryBrandColor: string;
|
|
4780
6513
|
organizationDisplayName: string;
|
|
6514
|
+
} | {
|
|
6515
|
+
type: "pagefind";
|
|
6516
|
+
ranking?: {
|
|
6517
|
+
termFrequency: number;
|
|
6518
|
+
pageLength: number;
|
|
6519
|
+
termSimilarity: number;
|
|
6520
|
+
termSaturation: number;
|
|
6521
|
+
} | undefined;
|
|
6522
|
+
maxResults?: number | undefined;
|
|
6523
|
+
maxSubResults?: number | undefined;
|
|
6524
|
+
transformResults?: ((data: {
|
|
6525
|
+
result: PagefindSearchFragment;
|
|
6526
|
+
auth: AuthState;
|
|
6527
|
+
context: ZudokuContext;
|
|
6528
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
6529
|
+
} | undefined;
|
|
6530
|
+
defaults?: {
|
|
6531
|
+
apis: {
|
|
6532
|
+
examplesLanguage?: string | undefined;
|
|
6533
|
+
disablePlayground?: boolean | undefined;
|
|
6534
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6535
|
+
expandAllTags?: boolean | undefined;
|
|
6536
|
+
transformExamples?: transformExamples | undefined;
|
|
6537
|
+
};
|
|
6538
|
+
examplesLanguage?: string | undefined;
|
|
4781
6539
|
} | undefined;
|
|
4782
6540
|
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
4783
6541
|
metadata?: {
|
|
@@ -4793,12 +6551,52 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4793
6551
|
creator?: string | undefined;
|
|
4794
6552
|
publisher?: string | undefined;
|
|
4795
6553
|
} | undefined;
|
|
6554
|
+
authentication?: {
|
|
6555
|
+
type: "clerk";
|
|
6556
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
6557
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6558
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6559
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6560
|
+
} | {
|
|
6561
|
+
type: "openid";
|
|
6562
|
+
clientId: string;
|
|
6563
|
+
issuer: string;
|
|
6564
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6565
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6566
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6567
|
+
audience?: string | undefined;
|
|
6568
|
+
scopes?: string[] | undefined;
|
|
6569
|
+
} | {
|
|
6570
|
+
type: "auth0";
|
|
6571
|
+
clientId: string;
|
|
6572
|
+
domain: string;
|
|
6573
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6574
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6575
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6576
|
+
audience?: string | undefined;
|
|
6577
|
+
} | {
|
|
6578
|
+
type: "supabase";
|
|
6579
|
+
supabaseUrl: string;
|
|
6580
|
+
supabaseKey: string;
|
|
6581
|
+
provider: "facebook" | "github" | "gitlab" | "twitter" | "google" | "bitbucket";
|
|
6582
|
+
redirectToAfterSignUp?: string | undefined;
|
|
6583
|
+
redirectToAfterSignIn?: string | undefined;
|
|
6584
|
+
redirectToAfterSignOut?: string | undefined;
|
|
6585
|
+
} | undefined;
|
|
6586
|
+
topNavigation?: {
|
|
6587
|
+
id: string;
|
|
6588
|
+
label: string;
|
|
6589
|
+
default?: string | undefined;
|
|
6590
|
+
display?: "hide" | "auth" | "anon" | "always" | undefined;
|
|
6591
|
+
}[] | undefined;
|
|
4796
6592
|
theme?: {
|
|
4797
6593
|
dark?: {
|
|
4798
6594
|
input?: string | undefined;
|
|
4799
6595
|
radius?: string | undefined;
|
|
4800
|
-
|
|
6596
|
+
destructive?: string | undefined;
|
|
6597
|
+
secondary?: string | undefined;
|
|
4801
6598
|
popover?: string | undefined;
|
|
6599
|
+
border?: string | undefined;
|
|
4802
6600
|
background?: string | undefined;
|
|
4803
6601
|
foreground?: string | undefined;
|
|
4804
6602
|
card?: string | undefined;
|
|
@@ -4806,21 +6604,21 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4806
6604
|
popoverForeground?: string | undefined;
|
|
4807
6605
|
primary?: string | undefined;
|
|
4808
6606
|
primaryForeground?: string | undefined;
|
|
4809
|
-
secondary?: string | undefined;
|
|
4810
6607
|
secondaryForeground?: string | undefined;
|
|
4811
6608
|
muted?: string | undefined;
|
|
4812
6609
|
mutedForeground?: string | undefined;
|
|
4813
6610
|
accent?: string | undefined;
|
|
4814
6611
|
accentForeground?: string | undefined;
|
|
4815
|
-
destructive?: string | undefined;
|
|
4816
6612
|
destructiveForeground?: string | undefined;
|
|
4817
6613
|
ring?: string | undefined;
|
|
4818
6614
|
} | undefined;
|
|
4819
6615
|
light?: {
|
|
4820
6616
|
input?: string | undefined;
|
|
4821
6617
|
radius?: string | undefined;
|
|
4822
|
-
|
|
6618
|
+
destructive?: string | undefined;
|
|
6619
|
+
secondary?: string | undefined;
|
|
4823
6620
|
popover?: string | undefined;
|
|
6621
|
+
border?: string | undefined;
|
|
4824
6622
|
background?: string | undefined;
|
|
4825
6623
|
foreground?: string | undefined;
|
|
4826
6624
|
card?: string | undefined;
|
|
@@ -4828,13 +6626,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4828
6626
|
popoverForeground?: string | undefined;
|
|
4829
6627
|
primary?: string | undefined;
|
|
4830
6628
|
primaryForeground?: string | undefined;
|
|
4831
|
-
secondary?: string | undefined;
|
|
4832
6629
|
secondaryForeground?: string | undefined;
|
|
4833
6630
|
muted?: string | undefined;
|
|
4834
6631
|
mutedForeground?: string | undefined;
|
|
4835
6632
|
accent?: string | undefined;
|
|
4836
6633
|
accentForeground?: string | undefined;
|
|
4837
|
-
destructive?: string | undefined;
|
|
4838
6634
|
destructiveForeground?: string | undefined;
|
|
4839
6635
|
ring?: string | undefined;
|
|
4840
6636
|
} | undefined;
|
|
@@ -4851,8 +6647,23 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4851
6647
|
} | undefined;
|
|
4852
6648
|
protectedRoutes?: string[] | undefined;
|
|
4853
6649
|
basePath?: string | undefined;
|
|
4854
|
-
|
|
6650
|
+
canonicalUrlOrigin?: string | undefined;
|
|
6651
|
+
cdnUrl?: string | {
|
|
6652
|
+
base?: string | undefined;
|
|
6653
|
+
media?: string | undefined;
|
|
6654
|
+
} | undefined;
|
|
6655
|
+
port?: number | undefined;
|
|
6656
|
+
https?: {
|
|
6657
|
+
key: string;
|
|
6658
|
+
cert: string;
|
|
6659
|
+
ca?: string | undefined;
|
|
6660
|
+
} | undefined;
|
|
4855
6661
|
page?: {
|
|
6662
|
+
banner?: {
|
|
6663
|
+
message: NonNullable<ReactNode>;
|
|
6664
|
+
color?: string | (string & {}) | undefined;
|
|
6665
|
+
dismissible?: boolean | undefined;
|
|
6666
|
+
} | undefined;
|
|
4856
6667
|
pageTitle?: string | undefined;
|
|
4857
6668
|
logoUrl?: string | undefined;
|
|
4858
6669
|
logo?: {
|
|
@@ -4863,41 +6674,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4863
6674
|
width?: string | undefined;
|
|
4864
6675
|
alt?: string | undefined;
|
|
4865
6676
|
} | undefined;
|
|
4866
|
-
banner?: {
|
|
4867
|
-
message: NonNullable<ReactNode>;
|
|
4868
|
-
color?: string | (string & {}) | undefined;
|
|
4869
|
-
dismissible?: boolean | undefined;
|
|
4870
|
-
} | undefined;
|
|
4871
|
-
} | undefined;
|
|
4872
|
-
topNavigation?: {
|
|
4873
|
-
id: string;
|
|
4874
|
-
label: string;
|
|
4875
|
-
default?: string | undefined;
|
|
4876
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
4877
|
-
}[] | undefined;
|
|
4878
|
-
authentication?: {
|
|
4879
|
-
type: "clerk";
|
|
4880
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
4881
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4882
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4883
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4884
|
-
} | {
|
|
4885
|
-
type: "openid";
|
|
4886
|
-
clientId: string;
|
|
4887
|
-
issuer: string;
|
|
4888
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4889
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4890
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4891
|
-
audience?: string | undefined;
|
|
4892
|
-
scopes?: string[] | undefined;
|
|
4893
|
-
} | {
|
|
4894
|
-
type: "auth0";
|
|
4895
|
-
clientId: string;
|
|
4896
|
-
domain: string;
|
|
4897
|
-
redirectToAfterSignUp?: string | undefined;
|
|
4898
|
-
redirectToAfterSignIn?: string | undefined;
|
|
4899
|
-
redirectToAfterSignOut?: string | undefined;
|
|
4900
|
-
audience?: string | undefined;
|
|
4901
6677
|
} | undefined;
|
|
4902
6678
|
docs?: {
|
|
4903
6679
|
files: string;
|
|
@@ -4917,6 +6693,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4917
6693
|
input: string;
|
|
4918
6694
|
server?: string | undefined;
|
|
4919
6695
|
id?: string | undefined;
|
|
6696
|
+
options?: {
|
|
6697
|
+
examplesLanguage?: string | undefined;
|
|
6698
|
+
disablePlayground?: boolean | undefined;
|
|
6699
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6700
|
+
expandAllTags?: boolean | undefined;
|
|
6701
|
+
transformExamples?: transformExamples | undefined;
|
|
6702
|
+
} | undefined;
|
|
4920
6703
|
navigationId?: string | undefined;
|
|
4921
6704
|
categories?: {
|
|
4922
6705
|
tags: string[];
|
|
@@ -4927,6 +6710,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4927
6710
|
input: string | string[];
|
|
4928
6711
|
server?: string | undefined;
|
|
4929
6712
|
id?: string | undefined;
|
|
6713
|
+
options?: {
|
|
6714
|
+
examplesLanguage?: string | undefined;
|
|
6715
|
+
disablePlayground?: boolean | undefined;
|
|
6716
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6717
|
+
expandAllTags?: boolean | undefined;
|
|
6718
|
+
transformExamples?: transformExamples | undefined;
|
|
6719
|
+
} | undefined;
|
|
4930
6720
|
navigationId?: string | undefined;
|
|
4931
6721
|
categories?: {
|
|
4932
6722
|
tags: string[];
|
|
@@ -4938,6 +6728,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4938
6728
|
input: string;
|
|
4939
6729
|
server?: string | undefined;
|
|
4940
6730
|
id?: string | undefined;
|
|
6731
|
+
options?: {
|
|
6732
|
+
examplesLanguage?: string | undefined;
|
|
6733
|
+
disablePlayground?: boolean | undefined;
|
|
6734
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6735
|
+
expandAllTags?: boolean | undefined;
|
|
6736
|
+
transformExamples?: transformExamples | undefined;
|
|
6737
|
+
} | undefined;
|
|
4941
6738
|
navigationId?: string | undefined;
|
|
4942
6739
|
categories?: {
|
|
4943
6740
|
tags: string[];
|
|
@@ -4948,6 +6745,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4948
6745
|
input: string;
|
|
4949
6746
|
server?: string | undefined;
|
|
4950
6747
|
id?: string | undefined;
|
|
6748
|
+
options?: {
|
|
6749
|
+
examplesLanguage?: string | undefined;
|
|
6750
|
+
disablePlayground?: boolean | undefined;
|
|
6751
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6752
|
+
expandAllTags?: boolean | undefined;
|
|
6753
|
+
transformExamples?: transformExamples | undefined;
|
|
6754
|
+
} | undefined;
|
|
4951
6755
|
navigationId?: string | undefined;
|
|
4952
6756
|
categories?: {
|
|
4953
6757
|
tags: string[];
|
|
@@ -4958,6 +6762,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4958
6762
|
input: string | string[];
|
|
4959
6763
|
server?: string | undefined;
|
|
4960
6764
|
id?: string | undefined;
|
|
6765
|
+
options?: {
|
|
6766
|
+
examplesLanguage?: string | undefined;
|
|
6767
|
+
disablePlayground?: boolean | undefined;
|
|
6768
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6769
|
+
expandAllTags?: boolean | undefined;
|
|
6770
|
+
transformExamples?: transformExamples | undefined;
|
|
6771
|
+
} | undefined;
|
|
4961
6772
|
navigationId?: string | undefined;
|
|
4962
6773
|
categories?: {
|
|
4963
6774
|
tags: string[];
|
|
@@ -4969,6 +6780,13 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4969
6780
|
input: string;
|
|
4970
6781
|
server?: string | undefined;
|
|
4971
6782
|
id?: string | undefined;
|
|
6783
|
+
options?: {
|
|
6784
|
+
examplesLanguage?: string | undefined;
|
|
6785
|
+
disablePlayground?: boolean | undefined;
|
|
6786
|
+
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6787
|
+
expandAllTags?: boolean | undefined;
|
|
6788
|
+
transformExamples?: transformExamples | undefined;
|
|
6789
|
+
} | undefined;
|
|
4972
6790
|
navigationId?: string | undefined;
|
|
4973
6791
|
categories?: {
|
|
4974
6792
|
tags: string[];
|
|
@@ -5017,9 +6835,6 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5017
6835
|
} | undefined;
|
|
5018
6836
|
isZuplo?: boolean | undefined;
|
|
5019
6837
|
enableStatusPages?: boolean | undefined;
|
|
5020
|
-
defaults?: {
|
|
5021
|
-
examplesLanguage?: string | undefined;
|
|
5022
|
-
} | undefined;
|
|
5023
6838
|
}>;
|
|
5024
6839
|
export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
|
|
5025
6840
|
export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
|
|
@@ -5029,6 +6844,6 @@ export type ZudokuRedirect = z.infer<typeof Redirect>;
|
|
|
5029
6844
|
/**
|
|
5030
6845
|
* Type for the dev-portal.json file
|
|
5031
6846
|
*/
|
|
5032
|
-
export type CommonConfig = z.
|
|
6847
|
+
export type CommonConfig = z.input<typeof CommonConfig>;
|
|
5033
6848
|
export declare function validateCommonConfig(config: unknown): void;
|
|
5034
6849
|
export {};
|