zudoku 0.0.0-f9d5b02 → 0.0.0-fabd0c1
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/client.d.ts +7 -0
- package/dist/app/demo.js +1 -1
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +1 -0
- package/dist/app/entry.client.js +14 -1
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +1 -0
- package/dist/app/entry.server.js +2 -2
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.d.ts +1 -1
- package/dist/app/main.js +2 -1
- package/dist/app/main.js.map +1 -1
- package/dist/app/sentry.d.ts +3 -0
- package/dist/app/sentry.js +19 -0
- package/dist/app/sentry.js.map +1 -0
- package/dist/app/standalone.js +1 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/app/tailwind.d.ts +2 -1
- package/dist/app/tailwind.js +64 -52
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/cli.js +0 -2
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.js +1 -0
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/common/logger.js +9 -0
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/config/common.d.ts +8 -0
- package/dist/config/common.js +2 -0
- package/dist/config/common.js.map +1 -0
- package/dist/config/config.d.ts +3 -2
- package/dist/config/loader.d.ts +20 -0
- package/dist/config/loader.js +154 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/InputSidebarSchema.d.ts +14 -13
- package/dist/config/validators/InputSidebarSchema.js.map +1 -1
- package/dist/config/validators/common.d.ts +4945 -0
- package/dist/config/validators/common.js +280 -0
- package/dist/config/validators/common.js.map +1 -0
- package/dist/config/validators/icon-types.d.ts +1 -0
- package/dist/config/validators/icon-types.js +2 -0
- package/dist/config/validators/icon-types.js.map +1 -0
- package/dist/config/validators/validate.d.ts +800 -530
- package/dist/config/validators/validate.js +9 -228
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +4 -2
- package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +1 -1
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +1 -1
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +5 -4
- package/dist/lib/authentication/hook.js +1 -3
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +2 -2
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +7 -1
- package/dist/lib/authentication/providers/openid.js +18 -27
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +25 -4
- package/dist/lib/authentication/state.js +28 -5
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +1 -1
- package/dist/lib/components/AnchorLink.js +1 -1
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +1 -2
- package/dist/lib/components/Bootstrap.js +11 -7
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/Header.js +14 -6
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +4 -4
- package/dist/lib/components/Heading.js +1 -1
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/Layout.js +14 -5
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Markdown.js +1 -1
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +5 -7
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +1 -1
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- package/dist/lib/components/ReactMarkdown.d.ts +29 -0
- package/dist/lib/components/ReactMarkdown.js +182 -0
- package/dist/lib/components/ReactMarkdown.js.map +1 -0
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +3 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/SlotletProvider.d.ts +2 -2
- package/dist/lib/components/SyntaxHighlight.js +2 -6
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/ThemeSwitch.js +5 -3
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +2 -0
- package/dist/lib/components/TopNavigation.js +13 -7
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +1 -1
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.js +1 -1
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +15 -5
- package/dist/lib/components/index.js +1 -1
- 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 +2 -2
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -9
- package/dist/lib/components/navigation/SidebarBadge.js +0 -9
- 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 +4 -5
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
- package/dist/lib/components/navigation/SidebarItem.js +6 -11
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/components/navigation/utils.js +1 -1
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +1 -1
- package/dist/lib/core/plugins.d.ts +5 -1
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/RouterError.js +1 -1
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +4 -1
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +2 -2
- package/dist/lib/oas/parser/upgrade/index.js +3 -20
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
- package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
- package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
- package/dist/lib/plugins/api-catalog/index.js +15 -0
- package/dist/lib/plugins/api-catalog/index.js.map +1 -0
- package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.js +3 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -1
- package/dist/lib/plugins/markdown/MdxPage.js +16 -3
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +3 -1
- package/dist/lib/plugins/markdown/index.js +1 -1
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/markdown/resolver.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +2 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +24 -3
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +4 -2
- package/dist/lib/plugins/openapi/Route.js +25 -2
- package/dist/lib/plugins/openapi/Route.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +3 -13
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +12 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +4 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/context.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +13 -13
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +20 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +6 -0
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +14 -0
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +1 -0
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +125 -0
- package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +11 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.js +33 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +1 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +104 -0
- package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +1 -0
- package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +1 -0
- package/dist/lib/plugins/openapi/post-processors/traverse.js +2 -0
- package/dist/lib/plugins/openapi/post-processors/traverse.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
- package/dist/lib/plugins/redirect/index.d.ts +1 -1
- package/dist/lib/plugins/redirect/index.js +1 -1
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
- package/dist/lib/plugins/search-inkeep/index.js +41 -5
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
- package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +1 -1
- package/dist/lib/ui/Command.d.ts +1 -1
- package/dist/lib/util/MdxComponents.d.ts +18 -19
- package/dist/lib/util/MdxComponents.js +1 -3
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- package/dist/lib/util/traverse.d.ts +2 -0
- package/dist/lib/util/traverse.js +18 -0
- package/dist/lib/util/traverse.js.map +1 -0
- package/dist/lib/util/useExposedProps.js +1 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- package/dist/lib/util/useOnScreen.d.ts +1 -1
- package/dist/lib/util/useScrollToAnchor.js +1 -1
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +1 -1
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/vite/build.js +15 -3
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +6 -4
- package/dist/vite/config.js +70 -23
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +7 -5
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/css/collect.d.ts +2 -0
- package/dist/vite/css/collect.js +27 -0
- package/dist/vite/css/collect.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +5 -0
- package/dist/vite/css/plugin.js +79 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/dev-server.js +19 -6
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/output.d.ts +1 -1
- package/dist/vite/output.js +39 -10
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api.js +93 -20
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-component.js +15 -19
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +1 -2
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.js +20 -0
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-docs.test.js +15 -23
- package/dist/vite/plugin-docs.test.js.map +1 -1
- package/dist/vite/plugin-mdx.js +60 -4
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
- package/dist/vite/{plugin-custom-css.js → plugin-theme-css.js} +10 -3
- package/dist/vite/plugin-theme-css.js.map +1 -0
- package/dist/vite/plugin.d.ts +1 -2
- package/dist/vite/plugin.js +6 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender.d.ts +2 -1
- package/dist/vite/prerender.js +2 -2
- package/dist/vite/prerender.js.map +1 -1
- package/dist/vite/remarkStaticGeneration.js +5 -5
- package/dist/vite/remarkStaticGeneration.js.map +1 -1
- package/dist/vite/sitemap.d.ts +1 -1
- package/dist/zuplo/env.d.ts +6 -0
- package/dist/zuplo/env.js +9 -0
- package/dist/zuplo/env.js.map +1 -0
- package/dist/zuplo/with-zuplo.d.ts +3 -0
- package/dist/zuplo/with-zuplo.js +28 -0
- package/dist/zuplo/with-zuplo.js.map +1 -0
- package/lib/AnchorLink-DFZZbmvr.js +34 -0
- package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
- package/lib/{AuthenticationPlugin-DeGDVa1r.js → AuthenticationPlugin-fB7viE7A.js} +23 -21
- package/lib/AuthenticationPlugin-fB7viE7A.js.map +1 -0
- package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
- package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
- package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
- package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
- package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
- package/lib/{Markdown-BorQdbxW.js → Markdown-CZDLNOFc.js} +13227 -13217
- package/lib/Markdown-CZDLNOFc.js.map +1 -0
- package/lib/MdxPage-CPBw4_lf.js +188 -0
- package/lib/MdxPage-CPBw4_lf.js.map +1 -0
- package/lib/OperationList-n4U_BHmO.js +5062 -0
- package/lib/OperationList-n4U_BHmO.js.map +1 -0
- package/lib/Route-C8nwd9A2.js +37 -0
- package/lib/Route-C8nwd9A2.js.map +1 -0
- package/lib/{Select-DP74t8Yy.js → Select-D3XuKKuH.js} +5 -5
- package/lib/{Select-DP74t8Yy.js.map → Select-D3XuKKuH.js.map} +1 -1
- package/lib/SlotletProvider-pfc9oejW.js +221 -0
- package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
- package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
- package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
- package/lib/StaggeredRender-DgsamH_G.js +17 -0
- package/lib/StaggeredRender-DgsamH_G.js.map +1 -0
- package/lib/{SyntaxHighlight-CBmwwKoM.js → SyntaxHighlight-Bz-lOJtH.js} +9 -13
- package/lib/{SyntaxHighlight-CBmwwKoM.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
- package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
- package/lib/assets/index-C7jnHK4b.js.map +1 -0
- package/lib/assets/{worker-CPsGZsve.js → worker-D2kRl-cG.js} +5326 -4949
- package/lib/assets/worker-D2kRl-cG.js.map +1 -0
- package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
- package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
- package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
- package/lib/cn-qaFjX9_3.js.map +1 -0
- package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
- package/lib/context-h_UkBLvr.js.map +1 -0
- package/lib/{createServer-DK-g7kbB.js → createServer-69sLlmQA.js} +5350 -5760
- package/lib/createServer-69sLlmQA.js.map +1 -0
- package/lib/{hook-Diu0rqp-.js → hook-DgGeo5iL.js} +12 -14
- package/lib/{hook-Diu0rqp-.js.map → hook-DgGeo5iL.js.map} +1 -1
- package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
- package/lib/index-CBXSgjaE.js.map +1 -0
- package/lib/index-CPNSgwSb.js +36 -0
- package/lib/index-CPNSgwSb.js.map +1 -0
- package/lib/index-DStSNvP-.js +1284 -0
- package/lib/index-DStSNvP-.js.map +1 -0
- package/lib/index-LNp6rxyU.js.map +1 -1
- package/lib/index.esm-BSV1C092.js +692 -0
- package/lib/index.esm-BSV1C092.js.map +1 -0
- package/lib/index.esm-BnnBRKJX.js +1214 -0
- package/lib/index.esm-BnnBRKJX.js.map +1 -0
- package/lib/invariant-Caa8-XvF.js.map +1 -1
- package/lib/jsx-runtime-Dx-03ztt.js +446 -0
- package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
- package/lib/object_hash-BNWPnMN9.js +787 -0
- package/lib/object_hash-BNWPnMN9.js.map +1 -0
- package/lib/post-processors/removeExtensions.js +11 -0
- package/lib/post-processors/removeExtensions.js.map +1 -0
- package/lib/post-processors/removePaths.js +28 -0
- package/lib/post-processors/removePaths.js.map +1 -0
- package/lib/post-processors/traverse.js +12 -0
- package/lib/post-processors/traverse.js.map +1 -0
- package/lib/prism-csharp.min-DUwvItt4.js +63 -0
- package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
- package/lib/prism-java.min-BtgBR4yd.js +35 -0
- package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
- package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
- package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
- package/lib/state-CFQsUZUP.js +202 -0
- package/lib/state-CFQsUZUP.js.map +1 -0
- package/lib/ui/Accordion.js +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +4 -4
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +3 -3
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/AlertDialog.js.map +1 -1
- package/lib/ui/Badge.js +3 -3
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +2 -2
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +3 -3
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +2 -2
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +2 -2
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +407 -401
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +2 -2
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +111 -108
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +2 -2
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +81 -81
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +2 -2
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/Form.js +3 -3
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +2 -2
- package/lib/ui/Input.js +2 -2
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Pagination.js +2 -2
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +2 -2
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/Progress.js.map +1 -1
- package/lib/ui/RadioGroup.js +2 -2
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Select.js +2 -2
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +2 -2
- package/lib/ui/Switch.js +2 -2
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/Tabs.js +2 -2
- package/lib/ui/Textarea.js +2 -2
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +3 -3
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +2 -2
- package/lib/useExposedProps-DE9lR6MF.js +9 -0
- package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
- package/lib/{utils-DcpDOncX.js → utils-B4O1uet5.js} +35 -36
- package/lib/{utils-DcpDOncX.js.map → utils-B4O1uet5.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +9 -8
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +365 -371
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +814 -967
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +123 -0
- package/lib/zudoku.plugin-api-catalog.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +40 -39
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +16 -15
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -5
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +53 -24
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/package.json +74 -51
- package/src/app/demo.tsx +1 -1
- package/src/app/entry.client.tsx +16 -1
- package/src/app/entry.server.tsx +3 -2
- package/src/app/main.tsx +6 -2
- package/src/app/sentry.ts +24 -0
- package/src/app/standalone.tsx +1 -1
- package/src/app/tailwind.ts +67 -52
- package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
- package/src/lib/authentication/authentication.ts +1 -1
- package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
- package/src/lib/authentication/components/SignIn.tsx +1 -1
- package/src/lib/authentication/components/SignOut.tsx +1 -1
- package/src/lib/authentication/hook.ts +1 -3
- package/src/lib/authentication/providers/auth0.tsx +3 -2
- package/src/lib/authentication/providers/openid.tsx +22 -33
- package/src/lib/authentication/state.ts +44 -10
- package/src/lib/components/AnchorLink.tsx +1 -1
- package/src/lib/components/Bootstrap.tsx +25 -20
- package/src/lib/components/Header.tsx +44 -11
- package/src/lib/components/Heading.tsx +13 -13
- package/src/lib/components/Layout.tsx +55 -38
- package/src/lib/components/Markdown.tsx +1 -1
- package/src/lib/components/MobileTopNavigation.tsx +26 -33
- package/src/lib/components/NotFoundPage.tsx +1 -1
- package/src/lib/components/ReactMarkdown.license.txt +21 -0
- package/src/lib/components/ReactMarkdown.tsx +264 -0
- package/src/lib/components/Search.tsx +3 -3
- package/src/lib/components/SlotletProvider.tsx +1 -1
- package/src/lib/components/SyntaxHighlight.tsx +3 -6
- package/src/lib/components/ThemeSwitch.tsx +6 -4
- package/src/lib/components/TopNavigation.tsx +26 -18
- package/src/lib/components/Zudoku.tsx +1 -1
- package/src/lib/components/context/ZudokuContext.ts +1 -1
- package/src/lib/components/index.ts +1 -1
- package/src/lib/components/navigation/Sidebar.tsx +18 -8
- package/src/lib/components/navigation/SidebarBadge.tsx +0 -10
- package/src/lib/components/navigation/SidebarCategory.tsx +11 -10
- package/src/lib/components/navigation/SidebarItem.tsx +11 -14
- package/src/lib/components/navigation/SidebarWrapper.tsx +1 -1
- package/src/lib/components/navigation/utils.ts +1 -1
- package/src/lib/core/ZudokuContext.ts +1 -1
- package/src/lib/core/plugins.ts +5 -1
- package/src/lib/errors/RouterError.tsx +1 -1
- package/src/lib/oas/graphql/index.ts +4 -1
- package/src/lib/oas/parser/upgrade/index.ts +4 -27
- package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
- package/src/lib/plugins/api-catalog/index.tsx +64 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
- package/src/lib/plugins/api-keys/index.tsx +4 -1
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +28 -2
- package/src/lib/plugins/markdown/index.tsx +5 -2
- package/src/lib/plugins/markdown/resolver.ts +2 -4
- package/src/lib/plugins/openapi/ColorizedParam.tsx +2 -2
- package/src/lib/plugins/openapi/OperationList.tsx +64 -8
- package/src/lib/plugins/openapi/OperationListItem.tsx +31 -2
- package/src/lib/plugins/openapi/Route.tsx +45 -9
- package/src/lib/plugins/openapi/Sidecar.tsx +3 -17
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +17 -0
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +5 -2
- package/src/lib/plugins/openapi/context.tsx +2 -2
- package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
- package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
- package/src/lib/plugins/openapi/index.tsx +35 -28
- package/src/lib/plugins/openapi/interfaces.ts +22 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -0
- package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +144 -0
- package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +24 -0
- package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +126 -0
- package/src/lib/plugins/openapi/post-processors/removePaths.ts +55 -0
- package/src/lib/plugins/openapi/post-processors/traverse.ts +1 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +1 -1
- package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
- package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
- package/src/lib/plugins/redirect/index.tsx +2 -2
- package/src/lib/plugins/search-inkeep/index.tsx +78 -23
- package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
- package/src/lib/util/MdxComponents.tsx +3 -8
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/traverse.ts +25 -0
- package/src/lib/util/useExposedProps.tsx +1 -1
- package/src/lib/util/useScrollToAnchor.ts +1 -1
- package/src/lib/util/useScrollToTop.ts +1 -1
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
- package/dist/vite/plugin-custom-css.js.map +0 -1
- package/lib/AnchorLink-CDlhr8gL.js +0 -706
- package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
- package/lib/AuthenticationPlugin-DeGDVa1r.js.map +0 -1
- package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
- package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
- package/lib/Markdown-BorQdbxW.js.map +0 -1
- package/lib/MdxPage-DFlbtJWi.js +0 -174
- package/lib/MdxPage-DFlbtJWi.js.map +0 -1
- package/lib/OperationList-KshJrrLL.js +0 -4691
- package/lib/OperationList-KshJrrLL.js.map +0 -1
- package/lib/Route-DlG_HTMu.js +0 -11
- package/lib/Route-DlG_HTMu.js.map +0 -1
- package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
- package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
- package/lib/SlotletProvider-D2v6rJy1.js +0 -252
- package/lib/SlotletProvider-D2v6rJy1.js.map +0 -1
- package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
- package/lib/assets/worker-CPsGZsve.js.map +0 -1
- package/lib/cn-BmFQLtkS.js.map +0 -1
- package/lib/context-D1nXWxm7.js.map +0 -1
- package/lib/createServer-DK-g7kbB.js.map +0 -1
- package/lib/index-BcesIHH4.js +0 -1273
- package/lib/index-BcesIHH4.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- package/lib/index-CkwDvuPt.js.map +0 -1
- package/lib/index-Czzd9rjU.js +0 -899
- package/lib/index-Czzd9rjU.js.map +0 -1
- package/lib/index-Yn8c3UWE.js +0 -921
- package/lib/index-Yn8c3UWE.js.map +0 -1
- package/lib/index.esm-C5mr_sKO.js +0 -1193
- package/lib/index.esm-C5mr_sKO.js.map +0 -1
- package/lib/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
- package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
- package/lib/prism-php.min-o7FpoMP_.js +0 -11
- package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
- package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
- package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
- package/lib/router-lfyopgBI.js +0 -3024
- package/lib/router-lfyopgBI.js.map +0 -1
- package/lib/state-BsPrOUAh.js +0 -252
- package/lib/state-BsPrOUAh.js.map +0 -1
- package/lib/useExposedProps-CTPtylCV.js +0 -10
- package/lib/useExposedProps-CTPtylCV.js.map +0 -1
- package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
|
@@ -1,155 +1,9 @@
|
|
|
1
1
|
import type { Options } from "@mdx-js/rollup";
|
|
2
2
|
import type { ComponentType, ReactNode } from "react";
|
|
3
|
-
import
|
|
4
|
-
import z, { type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
|
|
3
|
+
import z from "zod";
|
|
5
4
|
import type { ExposedComponentProps } from "../../lib/components/SlotletProvider.js";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
9
|
-
type: z.ZodLiteral<"url">;
|
|
10
|
-
input: z.ZodString;
|
|
11
|
-
}, {
|
|
12
|
-
server: z.ZodOptional<z.ZodString>;
|
|
13
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}>, "strip", z.ZodTypeAny, {
|
|
15
|
-
type: "url";
|
|
16
|
-
input: string;
|
|
17
|
-
server?: string | undefined;
|
|
18
|
-
navigationId?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
type: "url";
|
|
21
|
-
input: string;
|
|
22
|
-
server?: string | undefined;
|
|
23
|
-
navigationId?: string | undefined;
|
|
24
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
25
|
-
type: z.ZodLiteral<"file">;
|
|
26
|
-
input: z.ZodString;
|
|
27
|
-
}, {
|
|
28
|
-
server: z.ZodOptional<z.ZodString>;
|
|
29
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}>, "strip", z.ZodTypeAny, {
|
|
31
|
-
type: "file";
|
|
32
|
-
input: string;
|
|
33
|
-
server?: string | undefined;
|
|
34
|
-
navigationId?: string | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
type: "file";
|
|
37
|
-
input: string;
|
|
38
|
-
server?: string | undefined;
|
|
39
|
-
navigationId?: string | undefined;
|
|
40
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
41
|
-
type: z.ZodLiteral<"raw">;
|
|
42
|
-
input: z.ZodString;
|
|
43
|
-
}, {
|
|
44
|
-
server: z.ZodOptional<z.ZodString>;
|
|
45
|
-
navigationId: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}>, "strip", z.ZodTypeAny, {
|
|
47
|
-
type: "raw";
|
|
48
|
-
input: string;
|
|
49
|
-
server?: string | undefined;
|
|
50
|
-
navigationId?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
type: "raw";
|
|
53
|
-
input: string;
|
|
54
|
-
server?: string | undefined;
|
|
55
|
-
navigationId?: string | undefined;
|
|
56
|
-
}>]>;
|
|
57
|
-
declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
/**
|
|
59
|
-
* Base url of your website
|
|
60
|
-
*/
|
|
61
|
-
siteUrl: z.ZodString;
|
|
62
|
-
/**
|
|
63
|
-
* Change frequency.
|
|
64
|
-
* @default 'daily'
|
|
65
|
-
*/
|
|
66
|
-
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
67
|
-
/**
|
|
68
|
-
* Priority
|
|
69
|
-
* @default 0.7
|
|
70
|
-
*/
|
|
71
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
outDir: z.ZodOptional<z.ZodString>;
|
|
73
|
-
/**
|
|
74
|
-
* Add <lastmod/> property.
|
|
75
|
-
* @default true
|
|
76
|
-
*/
|
|
77
|
-
autoLastmod: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
-
/**
|
|
79
|
-
* Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
|
|
80
|
-
* @example ['/page-0', '/page/example']
|
|
81
|
-
*/
|
|
82
|
-
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
siteUrl: string;
|
|
85
|
-
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
86
|
-
priority?: number | undefined;
|
|
87
|
-
outDir?: string | undefined;
|
|
88
|
-
autoLastmod?: boolean | undefined;
|
|
89
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
90
|
-
}, {
|
|
91
|
-
siteUrl: string;
|
|
92
|
-
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
93
|
-
priority?: number | undefined;
|
|
94
|
-
outDir?: string | undefined;
|
|
95
|
-
autoLastmod?: boolean | undefined;
|
|
96
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
97
|
-
}>>;
|
|
98
|
-
declare const DocsConfigSchema: z.ZodObject<{
|
|
99
|
-
files: z.ZodString;
|
|
100
|
-
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
toc: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
disablePager: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
toc?: boolean | undefined;
|
|
105
|
-
disablePager?: boolean | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
toc?: boolean | undefined;
|
|
108
|
-
disablePager?: boolean | undefined;
|
|
109
|
-
}>>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
files: string;
|
|
112
|
-
defaultOptions?: {
|
|
113
|
-
toc?: boolean | undefined;
|
|
114
|
-
disablePager?: boolean | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
files: string;
|
|
118
|
-
defaultOptions?: {
|
|
119
|
-
toc?: boolean | undefined;
|
|
120
|
-
disablePager?: boolean | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
}>;
|
|
123
|
-
declare const TopNavigationItemSchema: z.ZodObject<{
|
|
124
|
-
label: z.ZodString;
|
|
125
|
-
id: z.ZodString;
|
|
126
|
-
default: z.ZodOptional<z.ZodString>;
|
|
127
|
-
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
128
|
-
}, "strip", z.ZodTypeAny, {
|
|
129
|
-
id: string;
|
|
130
|
-
label: string;
|
|
131
|
-
default?: string | undefined;
|
|
132
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
id: string;
|
|
135
|
-
label: string;
|
|
136
|
-
default?: string | undefined;
|
|
137
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
138
|
-
}>;
|
|
139
|
-
type BannerColorType = ZodOptional<ZodUnion<[
|
|
140
|
-
ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
|
|
141
|
-
ZodString
|
|
142
|
-
]>>;
|
|
143
|
-
declare const Redirect: z.ZodObject<{
|
|
144
|
-
from: z.ZodString;
|
|
145
|
-
to: z.ZodString;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
from: string;
|
|
148
|
-
to: string;
|
|
149
|
-
}, {
|
|
150
|
-
from: string;
|
|
151
|
-
to: string;
|
|
152
|
-
}>;
|
|
5
|
+
import type { ZudokuPlugin } from "../../lib/core/plugins.js";
|
|
6
|
+
import { MdxComponentsType } from "../../lib/util/MdxComponents.js";
|
|
153
7
|
declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
154
8
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
155
9
|
page: z.ZodOptional<z.ZodObject<{
|
|
@@ -160,56 +14,56 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
14
|
light: z.ZodString;
|
|
161
15
|
dark: z.ZodString;
|
|
162
16
|
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
light: string;
|
|
164
17
|
dark: string;
|
|
165
|
-
}, {
|
|
166
18
|
light: string;
|
|
19
|
+
}, {
|
|
167
20
|
dark: string;
|
|
21
|
+
light: string;
|
|
168
22
|
}>;
|
|
169
23
|
alt: z.ZodOptional<z.ZodString>;
|
|
170
24
|
width: z.ZodOptional<z.ZodString>;
|
|
171
25
|
}, "strip", z.ZodTypeAny, {
|
|
172
26
|
src: {
|
|
173
|
-
light: string;
|
|
174
27
|
dark: string;
|
|
28
|
+
light: string;
|
|
175
29
|
};
|
|
176
|
-
alt?: string | undefined;
|
|
177
30
|
width?: string | undefined;
|
|
31
|
+
alt?: string | undefined;
|
|
178
32
|
}, {
|
|
179
33
|
src: {
|
|
180
|
-
light: string;
|
|
181
34
|
dark: string;
|
|
35
|
+
light: string;
|
|
182
36
|
};
|
|
183
|
-
alt?: string | undefined;
|
|
184
37
|
width?: string | undefined;
|
|
38
|
+
alt?: string | undefined;
|
|
185
39
|
}>>;
|
|
186
|
-
banner: z.ZodOptional<z.
|
|
40
|
+
banner: z.ZodOptional<z.ZodObject<{
|
|
187
41
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
188
|
-
color:
|
|
42
|
+
color: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
189
43
|
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
190
44
|
}, "strip", z.ZodTypeAny, {
|
|
191
45
|
message: NonNullable<ReactNode>;
|
|
192
|
-
color?: string | (string & {}) |
|
|
46
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
193
47
|
dismissible?: boolean | undefined;
|
|
194
48
|
}, {
|
|
195
49
|
message: NonNullable<ReactNode>;
|
|
196
|
-
color?: string | (string & {}) |
|
|
50
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
197
51
|
dismissible?: boolean | undefined;
|
|
198
|
-
}
|
|
52
|
+
}>>;
|
|
199
53
|
}, "strip", z.ZodTypeAny, {
|
|
200
54
|
pageTitle?: string | undefined;
|
|
201
55
|
logoUrl?: string | undefined;
|
|
202
56
|
logo?: {
|
|
203
57
|
src: {
|
|
204
|
-
light: string;
|
|
205
58
|
dark: string;
|
|
59
|
+
light: string;
|
|
206
60
|
};
|
|
207
|
-
alt?: string | undefined;
|
|
208
61
|
width?: string | undefined;
|
|
62
|
+
alt?: string | undefined;
|
|
209
63
|
} | undefined;
|
|
210
64
|
banner?: {
|
|
211
65
|
message: NonNullable<ReactNode>;
|
|
212
|
-
color?: string | (string & {}) |
|
|
66
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
213
67
|
dismissible?: boolean | undefined;
|
|
214
68
|
} | undefined;
|
|
215
69
|
}, {
|
|
@@ -217,15 +71,15 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
217
71
|
logoUrl?: string | undefined;
|
|
218
72
|
logo?: {
|
|
219
73
|
src: {
|
|
220
|
-
light: string;
|
|
221
74
|
dark: string;
|
|
75
|
+
light: string;
|
|
222
76
|
};
|
|
223
|
-
alt?: string | undefined;
|
|
224
77
|
width?: string | undefined;
|
|
78
|
+
alt?: string | undefined;
|
|
225
79
|
} | undefined;
|
|
226
80
|
banner?: {
|
|
227
81
|
message: NonNullable<ReactNode>;
|
|
228
|
-
color?: string | (string & {}) |
|
|
82
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
229
83
|
dismissible?: boolean | undefined;
|
|
230
84
|
} | undefined;
|
|
231
85
|
}>>;
|
|
@@ -246,7 +100,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
246
100
|
display?: "auth" | "anon" | "always" | undefined;
|
|
247
101
|
}>, "many">>;
|
|
248
102
|
sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
|
|
249
|
-
UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
|
|
250
103
|
theme: z.ZodOptional<z.ZodObject<{
|
|
251
104
|
light: z.ZodOptional<z.ZodObject<{
|
|
252
105
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -271,11 +124,13 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
271
124
|
radius: z.ZodOptional<z.ZodString>;
|
|
272
125
|
}, "strip", z.ZodTypeAny, {
|
|
273
126
|
input?: string | undefined;
|
|
127
|
+
radius?: string | undefined;
|
|
128
|
+
border?: string | undefined;
|
|
129
|
+
popover?: string | undefined;
|
|
274
130
|
background?: string | undefined;
|
|
275
131
|
foreground?: string | undefined;
|
|
276
132
|
card?: string | undefined;
|
|
277
133
|
cardForeground?: string | undefined;
|
|
278
|
-
popover?: string | undefined;
|
|
279
134
|
popoverForeground?: string | undefined;
|
|
280
135
|
primary?: string | undefined;
|
|
281
136
|
primaryForeground?: string | undefined;
|
|
@@ -287,16 +142,16 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
142
|
accentForeground?: string | undefined;
|
|
288
143
|
destructive?: string | undefined;
|
|
289
144
|
destructiveForeground?: string | undefined;
|
|
290
|
-
border?: string | undefined;
|
|
291
145
|
ring?: string | undefined;
|
|
292
|
-
radius?: string | undefined;
|
|
293
146
|
}, {
|
|
294
147
|
input?: string | undefined;
|
|
148
|
+
radius?: string | undefined;
|
|
149
|
+
border?: string | undefined;
|
|
150
|
+
popover?: string | undefined;
|
|
295
151
|
background?: string | undefined;
|
|
296
152
|
foreground?: string | undefined;
|
|
297
153
|
card?: string | undefined;
|
|
298
154
|
cardForeground?: string | undefined;
|
|
299
|
-
popover?: string | undefined;
|
|
300
155
|
popoverForeground?: string | undefined;
|
|
301
156
|
primary?: string | undefined;
|
|
302
157
|
primaryForeground?: string | undefined;
|
|
@@ -308,9 +163,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
163
|
accentForeground?: string | undefined;
|
|
309
164
|
destructive?: string | undefined;
|
|
310
165
|
destructiveForeground?: string | undefined;
|
|
311
|
-
border?: string | undefined;
|
|
312
166
|
ring?: string | undefined;
|
|
313
|
-
radius?: string | undefined;
|
|
314
167
|
}>>;
|
|
315
168
|
dark: z.ZodOptional<z.ZodObject<{
|
|
316
169
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -335,11 +188,13 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
335
188
|
radius: z.ZodOptional<z.ZodString>;
|
|
336
189
|
}, "strip", z.ZodTypeAny, {
|
|
337
190
|
input?: string | undefined;
|
|
191
|
+
radius?: string | undefined;
|
|
192
|
+
border?: string | undefined;
|
|
193
|
+
popover?: string | undefined;
|
|
338
194
|
background?: string | undefined;
|
|
339
195
|
foreground?: string | undefined;
|
|
340
196
|
card?: string | undefined;
|
|
341
197
|
cardForeground?: string | undefined;
|
|
342
|
-
popover?: string | undefined;
|
|
343
198
|
popoverForeground?: string | undefined;
|
|
344
199
|
primary?: string | undefined;
|
|
345
200
|
primaryForeground?: string | undefined;
|
|
@@ -351,16 +206,16 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
351
206
|
accentForeground?: string | undefined;
|
|
352
207
|
destructive?: string | undefined;
|
|
353
208
|
destructiveForeground?: string | undefined;
|
|
354
|
-
border?: string | undefined;
|
|
355
209
|
ring?: string | undefined;
|
|
356
|
-
radius?: string | undefined;
|
|
357
210
|
}, {
|
|
358
211
|
input?: string | undefined;
|
|
212
|
+
radius?: string | undefined;
|
|
213
|
+
border?: string | undefined;
|
|
214
|
+
popover?: string | undefined;
|
|
359
215
|
background?: string | undefined;
|
|
360
216
|
foreground?: string | undefined;
|
|
361
217
|
card?: string | undefined;
|
|
362
218
|
cardForeground?: string | undefined;
|
|
363
|
-
popover?: string | undefined;
|
|
364
219
|
popoverForeground?: string | undefined;
|
|
365
220
|
primary?: string | undefined;
|
|
366
221
|
primaryForeground?: string | undefined;
|
|
@@ -372,18 +227,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
372
227
|
accentForeground?: string | undefined;
|
|
373
228
|
destructive?: string | undefined;
|
|
374
229
|
destructiveForeground?: string | undefined;
|
|
375
|
-
border?: string | undefined;
|
|
376
230
|
ring?: string | undefined;
|
|
377
|
-
|
|
231
|
+
}>>;
|
|
232
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
sans: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
url: z.ZodString;
|
|
235
|
+
fontFamily: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
url: string;
|
|
238
|
+
fontFamily: string;
|
|
239
|
+
}, {
|
|
240
|
+
url: string;
|
|
241
|
+
fontFamily: string;
|
|
242
|
+
}>>;
|
|
243
|
+
mono: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
url: z.ZodString;
|
|
245
|
+
fontFamily: z.ZodString;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
url: string;
|
|
248
|
+
fontFamily: string;
|
|
249
|
+
}, {
|
|
250
|
+
url: string;
|
|
251
|
+
fontFamily: string;
|
|
252
|
+
}>>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
sans?: {
|
|
255
|
+
url: string;
|
|
256
|
+
fontFamily: string;
|
|
257
|
+
} | undefined;
|
|
258
|
+
mono?: {
|
|
259
|
+
url: string;
|
|
260
|
+
fontFamily: string;
|
|
261
|
+
} | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
sans?: {
|
|
264
|
+
url: string;
|
|
265
|
+
fontFamily: string;
|
|
266
|
+
} | undefined;
|
|
267
|
+
mono?: {
|
|
268
|
+
url: string;
|
|
269
|
+
fontFamily: string;
|
|
270
|
+
} | undefined;
|
|
378
271
|
}>>;
|
|
379
272
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
-
|
|
273
|
+
dark?: {
|
|
381
274
|
input?: string | undefined;
|
|
275
|
+
radius?: string | undefined;
|
|
276
|
+
border?: string | undefined;
|
|
277
|
+
popover?: string | undefined;
|
|
382
278
|
background?: string | undefined;
|
|
383
279
|
foreground?: string | undefined;
|
|
384
280
|
card?: string | undefined;
|
|
385
281
|
cardForeground?: string | undefined;
|
|
386
|
-
popover?: string | undefined;
|
|
387
282
|
popoverForeground?: string | undefined;
|
|
388
283
|
primary?: string | undefined;
|
|
389
284
|
primaryForeground?: string | undefined;
|
|
@@ -395,17 +290,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
395
290
|
accentForeground?: string | undefined;
|
|
396
291
|
destructive?: string | undefined;
|
|
397
292
|
destructiveForeground?: string | undefined;
|
|
398
|
-
border?: string | undefined;
|
|
399
293
|
ring?: string | undefined;
|
|
400
|
-
radius?: string | undefined;
|
|
401
294
|
} | undefined;
|
|
402
|
-
|
|
295
|
+
light?: {
|
|
403
296
|
input?: string | undefined;
|
|
297
|
+
radius?: string | undefined;
|
|
298
|
+
border?: string | undefined;
|
|
299
|
+
popover?: string | undefined;
|
|
404
300
|
background?: string | undefined;
|
|
405
301
|
foreground?: string | undefined;
|
|
406
302
|
card?: string | undefined;
|
|
407
303
|
cardForeground?: string | undefined;
|
|
408
|
-
popover?: string | undefined;
|
|
409
304
|
popoverForeground?: string | undefined;
|
|
410
305
|
primary?: string | undefined;
|
|
411
306
|
primaryForeground?: string | undefined;
|
|
@@ -417,18 +312,28 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
417
312
|
accentForeground?: string | undefined;
|
|
418
313
|
destructive?: string | undefined;
|
|
419
314
|
destructiveForeground?: string | undefined;
|
|
420
|
-
border?: string | undefined;
|
|
421
315
|
ring?: string | undefined;
|
|
422
|
-
|
|
316
|
+
} | undefined;
|
|
317
|
+
fonts?: {
|
|
318
|
+
sans?: {
|
|
319
|
+
url: string;
|
|
320
|
+
fontFamily: string;
|
|
321
|
+
} | undefined;
|
|
322
|
+
mono?: {
|
|
323
|
+
url: string;
|
|
324
|
+
fontFamily: string;
|
|
325
|
+
} | undefined;
|
|
423
326
|
} | undefined;
|
|
424
327
|
}, {
|
|
425
|
-
|
|
328
|
+
dark?: {
|
|
426
329
|
input?: string | undefined;
|
|
330
|
+
radius?: string | undefined;
|
|
331
|
+
border?: string | undefined;
|
|
332
|
+
popover?: string | undefined;
|
|
427
333
|
background?: string | undefined;
|
|
428
334
|
foreground?: string | undefined;
|
|
429
335
|
card?: string | undefined;
|
|
430
336
|
cardForeground?: string | undefined;
|
|
431
|
-
popover?: string | undefined;
|
|
432
337
|
popoverForeground?: string | undefined;
|
|
433
338
|
primary?: string | undefined;
|
|
434
339
|
primaryForeground?: string | undefined;
|
|
@@ -440,17 +345,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
440
345
|
accentForeground?: string | undefined;
|
|
441
346
|
destructive?: string | undefined;
|
|
442
347
|
destructiveForeground?: string | undefined;
|
|
443
|
-
border?: string | undefined;
|
|
444
348
|
ring?: string | undefined;
|
|
445
|
-
radius?: string | undefined;
|
|
446
349
|
} | undefined;
|
|
447
|
-
|
|
350
|
+
light?: {
|
|
448
351
|
input?: string | undefined;
|
|
352
|
+
radius?: string | undefined;
|
|
353
|
+
border?: string | undefined;
|
|
354
|
+
popover?: string | undefined;
|
|
449
355
|
background?: string | undefined;
|
|
450
356
|
foreground?: string | undefined;
|
|
451
357
|
card?: string | undefined;
|
|
452
358
|
cardForeground?: string | undefined;
|
|
453
|
-
popover?: string | undefined;
|
|
454
359
|
popoverForeground?: string | undefined;
|
|
455
360
|
primary?: string | undefined;
|
|
456
361
|
primaryForeground?: string | undefined;
|
|
@@ -462,9 +367,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
462
367
|
accentForeground?: string | undefined;
|
|
463
368
|
destructive?: string | undefined;
|
|
464
369
|
destructiveForeground?: string | undefined;
|
|
465
|
-
border?: string | undefined;
|
|
466
370
|
ring?: string | undefined;
|
|
467
|
-
|
|
371
|
+
} | undefined;
|
|
372
|
+
fonts?: {
|
|
373
|
+
sans?: {
|
|
374
|
+
url: string;
|
|
375
|
+
fontFamily: string;
|
|
376
|
+
} | undefined;
|
|
377
|
+
mono?: {
|
|
378
|
+
url: string;
|
|
379
|
+
fontFamily: string;
|
|
380
|
+
} | undefined;
|
|
468
381
|
} | undefined;
|
|
469
382
|
}>>;
|
|
470
383
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -504,13 +417,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
417
|
creator?: string | undefined;
|
|
505
418
|
publisher?: string | undefined;
|
|
506
419
|
}>>;
|
|
507
|
-
mdx: z.ZodOptional<z.ZodObject<{
|
|
508
|
-
components: z.ZodOptional<z.ZodType<Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined, z.ZodTypeDef, Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined>>;
|
|
509
|
-
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
511
|
-
}, {
|
|
512
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
513
|
-
}>>;
|
|
514
420
|
authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
515
421
|
type: z.ZodLiteral<"clerk">;
|
|
516
422
|
clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
|
|
@@ -581,7 +487,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
581
487
|
redirectToAfterSignOut?: string | undefined;
|
|
582
488
|
audience?: string | undefined;
|
|
583
489
|
}>]>>;
|
|
584
|
-
search: z.ZodOptional<z.ZodObject<{
|
|
490
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
585
491
|
type: z.ZodLiteral<"inkeep">;
|
|
586
492
|
apiKey: z.ZodString;
|
|
587
493
|
integrationId: z.ZodString;
|
|
@@ -602,7 +508,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
508
|
organizationId: string;
|
|
603
509
|
primaryBrandColor: string;
|
|
604
510
|
organizationDisplayName: string;
|
|
605
|
-
}
|
|
511
|
+
}>>>;
|
|
606
512
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
607
513
|
files: z.ZodString;
|
|
608
514
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -656,99 +562,264 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
656
562
|
type: z.ZodLiteral<"url">;
|
|
657
563
|
input: z.ZodString;
|
|
658
564
|
}, {
|
|
565
|
+
id: z.ZodOptional<z.ZodString>;
|
|
659
566
|
server: z.ZodOptional<z.ZodString>;
|
|
660
567
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
568
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
569
|
+
label: z.ZodString;
|
|
570
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
tags: string[];
|
|
573
|
+
label: string;
|
|
574
|
+
}, {
|
|
575
|
+
tags: string[];
|
|
576
|
+
label: string;
|
|
577
|
+
}>, "many">>;
|
|
661
578
|
}>, "strip", z.ZodTypeAny, {
|
|
662
579
|
type: "url";
|
|
663
580
|
input: string;
|
|
664
581
|
server?: string | undefined;
|
|
582
|
+
id?: string | undefined;
|
|
665
583
|
navigationId?: string | undefined;
|
|
584
|
+
categories?: {
|
|
585
|
+
tags: string[];
|
|
586
|
+
label: string;
|
|
587
|
+
}[] | undefined;
|
|
666
588
|
}, {
|
|
667
589
|
type: "url";
|
|
668
590
|
input: string;
|
|
669
591
|
server?: string | undefined;
|
|
592
|
+
id?: string | undefined;
|
|
670
593
|
navigationId?: string | undefined;
|
|
671
|
-
|
|
594
|
+
categories?: {
|
|
595
|
+
tags: string[];
|
|
596
|
+
label: string;
|
|
597
|
+
}[] | undefined;
|
|
598
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
672
599
|
type: z.ZodLiteral<"file">;
|
|
673
|
-
input: z.ZodString
|
|
600
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
674
601
|
}, {
|
|
602
|
+
id: z.ZodOptional<z.ZodString>;
|
|
675
603
|
server: z.ZodOptional<z.ZodString>;
|
|
676
604
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
606
|
+
label: z.ZodString;
|
|
607
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
|
609
|
+
tags: string[];
|
|
610
|
+
label: string;
|
|
611
|
+
}, {
|
|
612
|
+
tags: string[];
|
|
613
|
+
label: string;
|
|
614
|
+
}>, "many">>;
|
|
615
|
+
}>, {
|
|
616
|
+
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">>;
|
|
677
617
|
}>, "strip", z.ZodTypeAny, {
|
|
678
618
|
type: "file";
|
|
679
|
-
input: string;
|
|
619
|
+
input: string | string[];
|
|
680
620
|
server?: string | undefined;
|
|
621
|
+
id?: string | undefined;
|
|
681
622
|
navigationId?: string | undefined;
|
|
623
|
+
categories?: {
|
|
624
|
+
tags: string[];
|
|
625
|
+
label: string;
|
|
626
|
+
}[] | undefined;
|
|
627
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
682
628
|
}, {
|
|
683
629
|
type: "file";
|
|
684
|
-
input: string;
|
|
630
|
+
input: string | string[];
|
|
685
631
|
server?: string | undefined;
|
|
632
|
+
id?: string | undefined;
|
|
686
633
|
navigationId?: string | undefined;
|
|
634
|
+
categories?: {
|
|
635
|
+
tags: string[];
|
|
636
|
+
label: string;
|
|
637
|
+
}[] | undefined;
|
|
638
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
687
639
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
688
640
|
type: z.ZodLiteral<"raw">;
|
|
689
641
|
input: z.ZodString;
|
|
690
642
|
}, {
|
|
643
|
+
id: z.ZodOptional<z.ZodString>;
|
|
691
644
|
server: z.ZodOptional<z.ZodString>;
|
|
692
645
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
646
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
label: z.ZodString;
|
|
648
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
649
|
+
}, "strip", z.ZodTypeAny, {
|
|
650
|
+
tags: string[];
|
|
651
|
+
label: string;
|
|
652
|
+
}, {
|
|
653
|
+
tags: string[];
|
|
654
|
+
label: string;
|
|
655
|
+
}>, "many">>;
|
|
693
656
|
}>, "strip", z.ZodTypeAny, {
|
|
694
657
|
type: "raw";
|
|
695
658
|
input: string;
|
|
696
659
|
server?: string | undefined;
|
|
660
|
+
id?: string | undefined;
|
|
697
661
|
navigationId?: string | undefined;
|
|
662
|
+
categories?: {
|
|
663
|
+
tags: string[];
|
|
664
|
+
label: string;
|
|
665
|
+
}[] | undefined;
|
|
698
666
|
}, {
|
|
699
667
|
type: "raw";
|
|
700
668
|
input: string;
|
|
701
669
|
server?: string | undefined;
|
|
670
|
+
id?: string | undefined;
|
|
702
671
|
navigationId?: string | undefined;
|
|
672
|
+
categories?: {
|
|
673
|
+
tags: string[];
|
|
674
|
+
label: string;
|
|
675
|
+
}[] | undefined;
|
|
703
676
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
704
677
|
type: z.ZodLiteral<"url">;
|
|
705
678
|
input: z.ZodString;
|
|
706
679
|
}, {
|
|
680
|
+
id: z.ZodOptional<z.ZodString>;
|
|
707
681
|
server: z.ZodOptional<z.ZodString>;
|
|
708
682
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
683
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
684
|
+
label: z.ZodString;
|
|
685
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
687
|
+
tags: string[];
|
|
688
|
+
label: string;
|
|
689
|
+
}, {
|
|
690
|
+
tags: string[];
|
|
691
|
+
label: string;
|
|
692
|
+
}>, "many">>;
|
|
709
693
|
}>, "strip", z.ZodTypeAny, {
|
|
710
694
|
type: "url";
|
|
711
695
|
input: string;
|
|
712
696
|
server?: string | undefined;
|
|
697
|
+
id?: string | undefined;
|
|
713
698
|
navigationId?: string | undefined;
|
|
699
|
+
categories?: {
|
|
700
|
+
tags: string[];
|
|
701
|
+
label: string;
|
|
702
|
+
}[] | undefined;
|
|
714
703
|
}, {
|
|
715
704
|
type: "url";
|
|
716
705
|
input: string;
|
|
717
706
|
server?: string | undefined;
|
|
707
|
+
id?: string | undefined;
|
|
718
708
|
navigationId?: string | undefined;
|
|
719
|
-
|
|
709
|
+
categories?: {
|
|
710
|
+
tags: string[];
|
|
711
|
+
label: string;
|
|
712
|
+
}[] | undefined;
|
|
713
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
720
714
|
type: z.ZodLiteral<"file">;
|
|
721
|
-
input: z.ZodString
|
|
715
|
+
input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
722
716
|
}, {
|
|
717
|
+
id: z.ZodOptional<z.ZodString>;
|
|
723
718
|
server: z.ZodOptional<z.ZodString>;
|
|
724
719
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
720
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
721
|
+
label: z.ZodString;
|
|
722
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
tags: string[];
|
|
725
|
+
label: string;
|
|
726
|
+
}, {
|
|
727
|
+
tags: string[];
|
|
728
|
+
label: string;
|
|
729
|
+
}>, "many">>;
|
|
730
|
+
}>, {
|
|
731
|
+
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">>;
|
|
725
732
|
}>, "strip", z.ZodTypeAny, {
|
|
726
733
|
type: "file";
|
|
727
|
-
input: string;
|
|
734
|
+
input: string | string[];
|
|
728
735
|
server?: string | undefined;
|
|
736
|
+
id?: string | undefined;
|
|
729
737
|
navigationId?: string | undefined;
|
|
738
|
+
categories?: {
|
|
739
|
+
tags: string[];
|
|
740
|
+
label: string;
|
|
741
|
+
}[] | undefined;
|
|
742
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
730
743
|
}, {
|
|
731
744
|
type: "file";
|
|
732
|
-
input: string;
|
|
745
|
+
input: string | string[];
|
|
733
746
|
server?: string | undefined;
|
|
747
|
+
id?: string | undefined;
|
|
734
748
|
navigationId?: string | undefined;
|
|
749
|
+
categories?: {
|
|
750
|
+
tags: string[];
|
|
751
|
+
label: string;
|
|
752
|
+
}[] | undefined;
|
|
753
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
735
754
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
736
755
|
type: z.ZodLiteral<"raw">;
|
|
737
756
|
input: z.ZodString;
|
|
738
757
|
}, {
|
|
758
|
+
id: z.ZodOptional<z.ZodString>;
|
|
739
759
|
server: z.ZodOptional<z.ZodString>;
|
|
740
760
|
navigationId: z.ZodOptional<z.ZodString>;
|
|
761
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
762
|
+
label: z.ZodString;
|
|
763
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
765
|
+
tags: string[];
|
|
766
|
+
label: string;
|
|
767
|
+
}, {
|
|
768
|
+
tags: string[];
|
|
769
|
+
label: string;
|
|
770
|
+
}>, "many">>;
|
|
741
771
|
}>, "strip", z.ZodTypeAny, {
|
|
742
772
|
type: "raw";
|
|
743
773
|
input: string;
|
|
744
774
|
server?: string | undefined;
|
|
775
|
+
id?: string | undefined;
|
|
745
776
|
navigationId?: string | undefined;
|
|
777
|
+
categories?: {
|
|
778
|
+
tags: string[];
|
|
779
|
+
label: string;
|
|
780
|
+
}[] | undefined;
|
|
746
781
|
}, {
|
|
747
782
|
type: "raw";
|
|
748
783
|
input: string;
|
|
749
784
|
server?: string | undefined;
|
|
785
|
+
id?: string | undefined;
|
|
750
786
|
navigationId?: string | undefined;
|
|
787
|
+
categories?: {
|
|
788
|
+
tags: string[];
|
|
789
|
+
label: string;
|
|
790
|
+
}[] | undefined;
|
|
751
791
|
}>]>, "many">]>>;
|
|
792
|
+
catalogs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
793
|
+
navigationId: z.ZodString;
|
|
794
|
+
label: z.ZodString;
|
|
795
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
796
|
+
filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
label: string;
|
|
799
|
+
navigationId: string;
|
|
800
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
801
|
+
items?: string[] | undefined;
|
|
802
|
+
}, {
|
|
803
|
+
label: string;
|
|
804
|
+
navigationId: string;
|
|
805
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
806
|
+
items?: string[] | undefined;
|
|
807
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
808
|
+
navigationId: z.ZodString;
|
|
809
|
+
label: z.ZodString;
|
|
810
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
811
|
+
filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
label: string;
|
|
814
|
+
navigationId: string;
|
|
815
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
816
|
+
items?: string[] | undefined;
|
|
817
|
+
}, {
|
|
818
|
+
label: string;
|
|
819
|
+
navigationId: string;
|
|
820
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
821
|
+
items?: string[] | undefined;
|
|
822
|
+
}>, "many">]>>;
|
|
752
823
|
apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
753
824
|
enabled: z.ZodBoolean;
|
|
754
825
|
endpoint: z.ZodString;
|
|
@@ -760,49 +831,49 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
831
|
endpoint: string;
|
|
761
832
|
}>, z.ZodObject<{
|
|
762
833
|
enabled: z.ZodBoolean;
|
|
763
|
-
getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
|
|
764
|
-
rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
|
|
765
|
-
deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
|
|
834
|
+
getKeys: z.ZodType<(context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>, z.ZodTypeDef, (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>>;
|
|
835
|
+
rollKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
836
|
+
deleteKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
766
837
|
updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
|
|
767
838
|
id: string;
|
|
768
839
|
description: string;
|
|
769
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
840
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
770
841
|
id: string;
|
|
771
842
|
description: string;
|
|
772
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
843
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
773
844
|
createKey: z.ZodOptional<z.ZodType<(apiKey: {
|
|
774
845
|
description: string;
|
|
775
846
|
expiresOn?: string;
|
|
776
|
-
}, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
847
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
|
|
777
848
|
description: string;
|
|
778
849
|
expiresOn?: string;
|
|
779
|
-
}, context: ZudokuContext) => Promise<void>>>;
|
|
850
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
|
|
780
851
|
}, "strip", z.ZodTypeAny, {
|
|
781
852
|
enabled: boolean;
|
|
782
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
783
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
784
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
853
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
854
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
855
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
785
856
|
updateKeyDescription?: ((apiKey: {
|
|
786
857
|
id: string;
|
|
787
858
|
description: string;
|
|
788
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
859
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
789
860
|
createKey?: ((apiKey: {
|
|
790
861
|
description: string;
|
|
791
862
|
expiresOn?: string;
|
|
792
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
863
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
793
864
|
}, {
|
|
794
865
|
enabled: boolean;
|
|
795
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
796
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
797
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
866
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
867
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
868
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
798
869
|
updateKeyDescription?: ((apiKey: {
|
|
799
870
|
id: string;
|
|
800
871
|
description: string;
|
|
801
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
872
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
802
873
|
createKey?: ((apiKey: {
|
|
803
874
|
description: string;
|
|
804
875
|
expiresOn?: string;
|
|
805
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
876
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
806
877
|
}>]>>;
|
|
807
878
|
redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
808
879
|
from: z.ZodString;
|
|
@@ -814,48 +885,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
814
885
|
from: string;
|
|
815
886
|
to: string;
|
|
816
887
|
}>, "many">>;
|
|
817
|
-
customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
818
|
-
path: z.ZodString;
|
|
819
|
-
element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
|
|
820
|
-
render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
|
|
821
|
-
prose: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
-
}, "strip", z.ZodTypeAny, {
|
|
823
|
-
path: string;
|
|
824
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
825
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
826
|
-
prose?: boolean | undefined;
|
|
827
|
-
}, {
|
|
828
|
-
path: string;
|
|
829
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
830
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
831
|
-
prose?: boolean | undefined;
|
|
832
|
-
}>, "many">>;
|
|
833
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
|
|
834
888
|
sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
835
|
-
/**
|
|
836
|
-
* Base url of your website
|
|
837
|
-
*/
|
|
838
889
|
siteUrl: z.ZodString;
|
|
839
|
-
/**
|
|
840
|
-
* Change frequency.
|
|
841
|
-
* @default 'daily'
|
|
842
|
-
*/
|
|
843
890
|
changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
|
|
844
|
-
/**
|
|
845
|
-
* Priority
|
|
846
|
-
* @default 0.7
|
|
847
|
-
*/
|
|
848
891
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
849
892
|
outDir: z.ZodOptional<z.ZodString>;
|
|
850
|
-
/**
|
|
851
|
-
* Add <lastmod/> property.
|
|
852
|
-
* @default true
|
|
853
|
-
*/
|
|
854
893
|
autoLastmod: z.ZodOptional<z.ZodBoolean>;
|
|
855
|
-
/**
|
|
856
|
-
* Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
|
|
857
|
-
* @example ['/page-0', '/page/example']
|
|
858
|
-
*/
|
|
859
894
|
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
860
895
|
}, "strip", z.ZodTypeAny, {
|
|
861
896
|
siteUrl: string;
|
|
@@ -872,6 +907,31 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
907
|
autoLastmod?: boolean | undefined;
|
|
873
908
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
874
909
|
}>>>;
|
|
910
|
+
UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
|
|
911
|
+
mdx: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
components: z.ZodOptional<z.ZodType<MdxComponentsType, z.ZodTypeDef, MdxComponentsType>>;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
components?: MdxComponentsType;
|
|
915
|
+
}, {
|
|
916
|
+
components?: MdxComponentsType;
|
|
917
|
+
}>>;
|
|
918
|
+
customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
919
|
+
path: z.ZodString;
|
|
920
|
+
element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
|
|
921
|
+
render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
|
|
922
|
+
prose: z.ZodOptional<z.ZodBoolean>;
|
|
923
|
+
}, "strip", z.ZodTypeAny, {
|
|
924
|
+
path: string;
|
|
925
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
926
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
927
|
+
prose?: boolean | undefined;
|
|
928
|
+
}, {
|
|
929
|
+
path: string;
|
|
930
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
931
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
932
|
+
prose?: boolean | undefined;
|
|
933
|
+
}>, "many">>;
|
|
934
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
|
|
875
935
|
build: z.ZodOptional<z.ZodType<{
|
|
876
936
|
remarkPlugins?: Options["remarkPlugins"];
|
|
877
937
|
rehypePlugins?: Options["rehypePlugins"];
|
|
@@ -889,40 +949,29 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
889
949
|
primaryBrandColor: string;
|
|
890
950
|
organizationDisplayName: string;
|
|
891
951
|
} | undefined;
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
banner?: {
|
|
905
|
-
message: NonNullable<ReactNode>;
|
|
906
|
-
color?: string | (string & {}) | undefined;
|
|
907
|
-
dismissible?: boolean | undefined;
|
|
908
|
-
} | undefined;
|
|
952
|
+
metadata?: {
|
|
953
|
+
description?: string | undefined;
|
|
954
|
+
title?: string | undefined;
|
|
955
|
+
logo?: string | undefined;
|
|
956
|
+
favicon?: string | undefined;
|
|
957
|
+
generator?: string | undefined;
|
|
958
|
+
applicationName?: string | undefined;
|
|
959
|
+
referrer?: string | undefined;
|
|
960
|
+
keywords?: string[] | undefined;
|
|
961
|
+
authors?: string[] | undefined;
|
|
962
|
+
creator?: string | undefined;
|
|
963
|
+
publisher?: string | undefined;
|
|
909
964
|
} | undefined;
|
|
910
|
-
topNavigation?: {
|
|
911
|
-
id: string;
|
|
912
|
-
label: string;
|
|
913
|
-
default?: string | undefined;
|
|
914
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
915
|
-
}[] | undefined;
|
|
916
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
917
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
918
965
|
theme?: {
|
|
919
|
-
|
|
966
|
+
dark?: {
|
|
920
967
|
input?: string | undefined;
|
|
968
|
+
radius?: string | undefined;
|
|
969
|
+
border?: string | undefined;
|
|
970
|
+
popover?: string | undefined;
|
|
921
971
|
background?: string | undefined;
|
|
922
972
|
foreground?: string | undefined;
|
|
923
973
|
card?: string | undefined;
|
|
924
974
|
cardForeground?: string | undefined;
|
|
925
|
-
popover?: string | undefined;
|
|
926
975
|
popoverForeground?: string | undefined;
|
|
927
976
|
primary?: string | undefined;
|
|
928
977
|
primaryForeground?: string | undefined;
|
|
@@ -934,17 +983,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
934
983
|
accentForeground?: string | undefined;
|
|
935
984
|
destructive?: string | undefined;
|
|
936
985
|
destructiveForeground?: string | undefined;
|
|
937
|
-
border?: string | undefined;
|
|
938
986
|
ring?: string | undefined;
|
|
939
|
-
radius?: string | undefined;
|
|
940
987
|
} | undefined;
|
|
941
|
-
|
|
988
|
+
light?: {
|
|
942
989
|
input?: string | undefined;
|
|
990
|
+
radius?: string | undefined;
|
|
991
|
+
border?: string | undefined;
|
|
992
|
+
popover?: string | undefined;
|
|
943
993
|
background?: string | undefined;
|
|
944
994
|
foreground?: string | undefined;
|
|
945
995
|
card?: string | undefined;
|
|
946
996
|
cardForeground?: string | undefined;
|
|
947
|
-
popover?: string | undefined;
|
|
948
997
|
popoverForeground?: string | undefined;
|
|
949
998
|
primary?: string | undefined;
|
|
950
999
|
primaryForeground?: string | undefined;
|
|
@@ -956,31 +1005,62 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
956
1005
|
accentForeground?: string | undefined;
|
|
957
1006
|
destructive?: string | undefined;
|
|
958
1007
|
destructiveForeground?: string | undefined;
|
|
959
|
-
border?: string | undefined;
|
|
960
1008
|
ring?: string | undefined;
|
|
961
|
-
radius?: string | undefined;
|
|
962
1009
|
} | undefined;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
authors?: string[] | undefined;
|
|
974
|
-
creator?: string | undefined;
|
|
975
|
-
publisher?: string | undefined;
|
|
1010
|
+
fonts?: {
|
|
1011
|
+
sans?: {
|
|
1012
|
+
url: string;
|
|
1013
|
+
fontFamily: string;
|
|
1014
|
+
} | undefined;
|
|
1015
|
+
mono?: {
|
|
1016
|
+
url: string;
|
|
1017
|
+
fontFamily: string;
|
|
1018
|
+
} | undefined;
|
|
1019
|
+
} | undefined;
|
|
976
1020
|
} | undefined;
|
|
977
1021
|
mdx?: {
|
|
978
|
-
components?:
|
|
1022
|
+
components?: MdxComponentsType;
|
|
979
1023
|
} | undefined;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1024
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1025
|
+
customPages?: {
|
|
1026
|
+
path: string;
|
|
1027
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1028
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1029
|
+
prose?: boolean | undefined;
|
|
1030
|
+
}[] | undefined;
|
|
1031
|
+
build?: {
|
|
1032
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1033
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1034
|
+
} | undefined;
|
|
1035
|
+
basePath?: string | undefined;
|
|
1036
|
+
page?: {
|
|
1037
|
+
pageTitle?: string | undefined;
|
|
1038
|
+
logoUrl?: string | undefined;
|
|
1039
|
+
logo?: {
|
|
1040
|
+
src: {
|
|
1041
|
+
dark: string;
|
|
1042
|
+
light: string;
|
|
1043
|
+
};
|
|
1044
|
+
width?: string | undefined;
|
|
1045
|
+
alt?: string | undefined;
|
|
1046
|
+
} | undefined;
|
|
1047
|
+
banner?: {
|
|
1048
|
+
message: NonNullable<ReactNode>;
|
|
1049
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
1050
|
+
dismissible?: boolean | undefined;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
} | undefined;
|
|
1053
|
+
topNavigation?: {
|
|
1054
|
+
id: string;
|
|
1055
|
+
label: string;
|
|
1056
|
+
default?: string | undefined;
|
|
1057
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1058
|
+
}[] | undefined;
|
|
1059
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1060
|
+
authentication?: {
|
|
1061
|
+
type: "clerk";
|
|
1062
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1063
|
+
redirectToAfterSignUp?: string | undefined;
|
|
984
1064
|
redirectToAfterSignIn?: string | undefined;
|
|
985
1065
|
redirectToAfterSignOut?: string | undefined;
|
|
986
1066
|
} | {
|
|
@@ -1018,60 +1098,97 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1018
1098
|
type: "url";
|
|
1019
1099
|
input: string;
|
|
1020
1100
|
server?: string | undefined;
|
|
1101
|
+
id?: string | undefined;
|
|
1021
1102
|
navigationId?: string | undefined;
|
|
1103
|
+
categories?: {
|
|
1104
|
+
tags: string[];
|
|
1105
|
+
label: string;
|
|
1106
|
+
}[] | undefined;
|
|
1022
1107
|
} | {
|
|
1023
1108
|
type: "file";
|
|
1024
|
-
input: string;
|
|
1109
|
+
input: string | string[];
|
|
1025
1110
|
server?: string | undefined;
|
|
1111
|
+
id?: string | undefined;
|
|
1026
1112
|
navigationId?: string | undefined;
|
|
1113
|
+
categories?: {
|
|
1114
|
+
tags: string[];
|
|
1115
|
+
label: string;
|
|
1116
|
+
}[] | undefined;
|
|
1117
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1027
1118
|
} | {
|
|
1028
1119
|
type: "raw";
|
|
1029
1120
|
input: string;
|
|
1030
1121
|
server?: string | undefined;
|
|
1122
|
+
id?: string | undefined;
|
|
1031
1123
|
navigationId?: string | undefined;
|
|
1124
|
+
categories?: {
|
|
1125
|
+
tags: string[];
|
|
1126
|
+
label: string;
|
|
1127
|
+
}[] | undefined;
|
|
1032
1128
|
} | ({
|
|
1033
1129
|
type: "url";
|
|
1034
1130
|
input: string;
|
|
1035
1131
|
server?: string | undefined;
|
|
1132
|
+
id?: string | undefined;
|
|
1036
1133
|
navigationId?: string | undefined;
|
|
1134
|
+
categories?: {
|
|
1135
|
+
tags: string[];
|
|
1136
|
+
label: string;
|
|
1137
|
+
}[] | undefined;
|
|
1037
1138
|
} | {
|
|
1038
1139
|
type: "file";
|
|
1039
|
-
input: string;
|
|
1140
|
+
input: string | string[];
|
|
1040
1141
|
server?: string | undefined;
|
|
1142
|
+
id?: string | undefined;
|
|
1041
1143
|
navigationId?: string | undefined;
|
|
1144
|
+
categories?: {
|
|
1145
|
+
tags: string[];
|
|
1146
|
+
label: string;
|
|
1147
|
+
}[] | undefined;
|
|
1148
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1042
1149
|
} | {
|
|
1043
1150
|
type: "raw";
|
|
1044
1151
|
input: string;
|
|
1045
1152
|
server?: string | undefined;
|
|
1153
|
+
id?: string | undefined;
|
|
1046
1154
|
navigationId?: string | undefined;
|
|
1155
|
+
categories?: {
|
|
1156
|
+
tags: string[];
|
|
1157
|
+
label: string;
|
|
1158
|
+
}[] | undefined;
|
|
1047
1159
|
})[] | undefined;
|
|
1160
|
+
catalogs?: {
|
|
1161
|
+
label: string;
|
|
1162
|
+
navigationId: string;
|
|
1163
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1164
|
+
items?: string[] | undefined;
|
|
1165
|
+
} | {
|
|
1166
|
+
label: string;
|
|
1167
|
+
navigationId: string;
|
|
1168
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1169
|
+
items?: string[] | undefined;
|
|
1170
|
+
}[] | undefined;
|
|
1048
1171
|
apiKeys?: {
|
|
1049
1172
|
enabled: boolean;
|
|
1050
1173
|
endpoint: string;
|
|
1051
1174
|
} | {
|
|
1052
1175
|
enabled: boolean;
|
|
1053
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1054
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1055
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1176
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1177
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1178
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1056
1179
|
updateKeyDescription?: ((apiKey: {
|
|
1057
1180
|
id: string;
|
|
1058
1181
|
description: string;
|
|
1059
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1182
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1060
1183
|
createKey?: ((apiKey: {
|
|
1061
1184
|
description: string;
|
|
1062
1185
|
expiresOn?: string;
|
|
1063
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1186
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1064
1187
|
} | undefined;
|
|
1065
1188
|
redirects?: {
|
|
1066
1189
|
from: string;
|
|
1067
1190
|
to: string;
|
|
1068
1191
|
}[] | undefined;
|
|
1069
|
-
customPages?: {
|
|
1070
|
-
path: string;
|
|
1071
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1072
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1073
|
-
prose?: boolean | undefined;
|
|
1074
|
-
}[] | undefined;
|
|
1075
1192
|
sitemap?: {
|
|
1076
1193
|
siteUrl: string;
|
|
1077
1194
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1080,10 +1197,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1197
|
autoLastmod?: boolean | undefined;
|
|
1081
1198
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1082
1199
|
} | undefined;
|
|
1083
|
-
build?: {
|
|
1084
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1085
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1086
|
-
} | undefined;
|
|
1087
1200
|
}, {
|
|
1088
1201
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1089
1202
|
search?: {
|
|
@@ -1094,40 +1207,29 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1094
1207
|
primaryBrandColor: string;
|
|
1095
1208
|
organizationDisplayName: string;
|
|
1096
1209
|
} | undefined;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
banner?: {
|
|
1110
|
-
message: NonNullable<ReactNode>;
|
|
1111
|
-
color?: string | (string & {}) | undefined;
|
|
1112
|
-
dismissible?: boolean | undefined;
|
|
1113
|
-
} | undefined;
|
|
1210
|
+
metadata?: {
|
|
1211
|
+
description?: string | undefined;
|
|
1212
|
+
title?: string | undefined;
|
|
1213
|
+
logo?: string | undefined;
|
|
1214
|
+
favicon?: string | undefined;
|
|
1215
|
+
generator?: string | undefined;
|
|
1216
|
+
applicationName?: string | undefined;
|
|
1217
|
+
referrer?: string | undefined;
|
|
1218
|
+
keywords?: string[] | undefined;
|
|
1219
|
+
authors?: string[] | undefined;
|
|
1220
|
+
creator?: string | undefined;
|
|
1221
|
+
publisher?: string | undefined;
|
|
1114
1222
|
} | undefined;
|
|
1115
|
-
topNavigation?: {
|
|
1116
|
-
id: string;
|
|
1117
|
-
label: string;
|
|
1118
|
-
default?: string | undefined;
|
|
1119
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1120
|
-
}[] | undefined;
|
|
1121
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1122
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1123
1223
|
theme?: {
|
|
1124
|
-
|
|
1224
|
+
dark?: {
|
|
1125
1225
|
input?: string | undefined;
|
|
1226
|
+
radius?: string | undefined;
|
|
1227
|
+
border?: string | undefined;
|
|
1228
|
+
popover?: string | undefined;
|
|
1126
1229
|
background?: string | undefined;
|
|
1127
1230
|
foreground?: string | undefined;
|
|
1128
1231
|
card?: string | undefined;
|
|
1129
1232
|
cardForeground?: string | undefined;
|
|
1130
|
-
popover?: string | undefined;
|
|
1131
1233
|
popoverForeground?: string | undefined;
|
|
1132
1234
|
primary?: string | undefined;
|
|
1133
1235
|
primaryForeground?: string | undefined;
|
|
@@ -1139,17 +1241,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1139
1241
|
accentForeground?: string | undefined;
|
|
1140
1242
|
destructive?: string | undefined;
|
|
1141
1243
|
destructiveForeground?: string | undefined;
|
|
1142
|
-
border?: string | undefined;
|
|
1143
1244
|
ring?: string | undefined;
|
|
1144
|
-
radius?: string | undefined;
|
|
1145
1245
|
} | undefined;
|
|
1146
|
-
|
|
1246
|
+
light?: {
|
|
1147
1247
|
input?: string | undefined;
|
|
1248
|
+
radius?: string | undefined;
|
|
1249
|
+
border?: string | undefined;
|
|
1250
|
+
popover?: string | undefined;
|
|
1148
1251
|
background?: string | undefined;
|
|
1149
1252
|
foreground?: string | undefined;
|
|
1150
1253
|
card?: string | undefined;
|
|
1151
1254
|
cardForeground?: string | undefined;
|
|
1152
|
-
popover?: string | undefined;
|
|
1153
1255
|
popoverForeground?: string | undefined;
|
|
1154
1256
|
primary?: string | undefined;
|
|
1155
1257
|
primaryForeground?: string | undefined;
|
|
@@ -1161,27 +1263,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1161
1263
|
accentForeground?: string | undefined;
|
|
1162
1264
|
destructive?: string | undefined;
|
|
1163
1265
|
destructiveForeground?: string | undefined;
|
|
1164
|
-
border?: string | undefined;
|
|
1165
1266
|
ring?: string | undefined;
|
|
1166
|
-
radius?: string | undefined;
|
|
1167
1267
|
} | undefined;
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
authors?: string[] | undefined;
|
|
1179
|
-
creator?: string | undefined;
|
|
1180
|
-
publisher?: string | undefined;
|
|
1268
|
+
fonts?: {
|
|
1269
|
+
sans?: {
|
|
1270
|
+
url: string;
|
|
1271
|
+
fontFamily: string;
|
|
1272
|
+
} | undefined;
|
|
1273
|
+
mono?: {
|
|
1274
|
+
url: string;
|
|
1275
|
+
fontFamily: string;
|
|
1276
|
+
} | undefined;
|
|
1277
|
+
} | undefined;
|
|
1181
1278
|
} | undefined;
|
|
1182
1279
|
mdx?: {
|
|
1183
|
-
components?:
|
|
1280
|
+
components?: MdxComponentsType;
|
|
1184
1281
|
} | undefined;
|
|
1282
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1283
|
+
customPages?: {
|
|
1284
|
+
path: string;
|
|
1285
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1286
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1287
|
+
prose?: boolean | undefined;
|
|
1288
|
+
}[] | undefined;
|
|
1289
|
+
build?: {
|
|
1290
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1291
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1292
|
+
} | undefined;
|
|
1293
|
+
basePath?: string | undefined;
|
|
1294
|
+
page?: {
|
|
1295
|
+
pageTitle?: string | undefined;
|
|
1296
|
+
logoUrl?: string | undefined;
|
|
1297
|
+
logo?: {
|
|
1298
|
+
src: {
|
|
1299
|
+
dark: string;
|
|
1300
|
+
light: string;
|
|
1301
|
+
};
|
|
1302
|
+
width?: string | undefined;
|
|
1303
|
+
alt?: string | undefined;
|
|
1304
|
+
} | undefined;
|
|
1305
|
+
banner?: {
|
|
1306
|
+
message: NonNullable<ReactNode>;
|
|
1307
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
1308
|
+
dismissible?: boolean | undefined;
|
|
1309
|
+
} | undefined;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
topNavigation?: {
|
|
1312
|
+
id: string;
|
|
1313
|
+
label: string;
|
|
1314
|
+
default?: string | undefined;
|
|
1315
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1316
|
+
}[] | undefined;
|
|
1317
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1185
1318
|
authentication?: {
|
|
1186
1319
|
type: "clerk";
|
|
1187
1320
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1223,60 +1356,97 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1223
1356
|
type: "url";
|
|
1224
1357
|
input: string;
|
|
1225
1358
|
server?: string | undefined;
|
|
1359
|
+
id?: string | undefined;
|
|
1226
1360
|
navigationId?: string | undefined;
|
|
1361
|
+
categories?: {
|
|
1362
|
+
tags: string[];
|
|
1363
|
+
label: string;
|
|
1364
|
+
}[] | undefined;
|
|
1227
1365
|
} | {
|
|
1228
1366
|
type: "file";
|
|
1229
|
-
input: string;
|
|
1367
|
+
input: string | string[];
|
|
1230
1368
|
server?: string | undefined;
|
|
1369
|
+
id?: string | undefined;
|
|
1231
1370
|
navigationId?: string | undefined;
|
|
1371
|
+
categories?: {
|
|
1372
|
+
tags: string[];
|
|
1373
|
+
label: string;
|
|
1374
|
+
}[] | undefined;
|
|
1375
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1232
1376
|
} | {
|
|
1233
1377
|
type: "raw";
|
|
1234
1378
|
input: string;
|
|
1235
1379
|
server?: string | undefined;
|
|
1380
|
+
id?: string | undefined;
|
|
1236
1381
|
navigationId?: string | undefined;
|
|
1382
|
+
categories?: {
|
|
1383
|
+
tags: string[];
|
|
1384
|
+
label: string;
|
|
1385
|
+
}[] | undefined;
|
|
1237
1386
|
} | ({
|
|
1238
1387
|
type: "url";
|
|
1239
1388
|
input: string;
|
|
1240
1389
|
server?: string | undefined;
|
|
1390
|
+
id?: string | undefined;
|
|
1241
1391
|
navigationId?: string | undefined;
|
|
1392
|
+
categories?: {
|
|
1393
|
+
tags: string[];
|
|
1394
|
+
label: string;
|
|
1395
|
+
}[] | undefined;
|
|
1242
1396
|
} | {
|
|
1243
1397
|
type: "file";
|
|
1244
|
-
input: string;
|
|
1398
|
+
input: string | string[];
|
|
1245
1399
|
server?: string | undefined;
|
|
1400
|
+
id?: string | undefined;
|
|
1246
1401
|
navigationId?: string | undefined;
|
|
1402
|
+
categories?: {
|
|
1403
|
+
tags: string[];
|
|
1404
|
+
label: string;
|
|
1405
|
+
}[] | undefined;
|
|
1406
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1247
1407
|
} | {
|
|
1248
1408
|
type: "raw";
|
|
1249
1409
|
input: string;
|
|
1250
1410
|
server?: string | undefined;
|
|
1411
|
+
id?: string | undefined;
|
|
1251
1412
|
navigationId?: string | undefined;
|
|
1413
|
+
categories?: {
|
|
1414
|
+
tags: string[];
|
|
1415
|
+
label: string;
|
|
1416
|
+
}[] | undefined;
|
|
1252
1417
|
})[] | undefined;
|
|
1418
|
+
catalogs?: {
|
|
1419
|
+
label: string;
|
|
1420
|
+
navigationId: string;
|
|
1421
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1422
|
+
items?: string[] | undefined;
|
|
1423
|
+
} | {
|
|
1424
|
+
label: string;
|
|
1425
|
+
navigationId: string;
|
|
1426
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1427
|
+
items?: string[] | undefined;
|
|
1428
|
+
}[] | undefined;
|
|
1253
1429
|
apiKeys?: {
|
|
1254
1430
|
enabled: boolean;
|
|
1255
1431
|
endpoint: string;
|
|
1256
1432
|
} | {
|
|
1257
1433
|
enabled: boolean;
|
|
1258
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1259
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1260
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1434
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1435
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1436
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1261
1437
|
updateKeyDescription?: ((apiKey: {
|
|
1262
1438
|
id: string;
|
|
1263
1439
|
description: string;
|
|
1264
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1440
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1265
1441
|
createKey?: ((apiKey: {
|
|
1266
1442
|
description: string;
|
|
1267
1443
|
expiresOn?: string;
|
|
1268
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1444
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1269
1445
|
} | undefined;
|
|
1270
1446
|
redirects?: {
|
|
1271
1447
|
from: string;
|
|
1272
1448
|
to: string;
|
|
1273
1449
|
}[] | undefined;
|
|
1274
|
-
customPages?: {
|
|
1275
|
-
path: string;
|
|
1276
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1277
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1278
|
-
prose?: boolean | undefined;
|
|
1279
|
-
}[] | undefined;
|
|
1280
1450
|
sitemap?: {
|
|
1281
1451
|
siteUrl: string;
|
|
1282
1452
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1285,10 +1455,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1285
1455
|
autoLastmod?: boolean | undefined;
|
|
1286
1456
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1287
1457
|
} | undefined;
|
|
1288
|
-
build?: {
|
|
1289
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1290
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1291
|
-
} | undefined;
|
|
1292
1458
|
}>, {
|
|
1293
1459
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1294
1460
|
search?: {
|
|
@@ -1299,40 +1465,29 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1299
1465
|
primaryBrandColor: string;
|
|
1300
1466
|
organizationDisplayName: string;
|
|
1301
1467
|
} | undefined;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
banner?: {
|
|
1315
|
-
message: NonNullable<ReactNode>;
|
|
1316
|
-
color?: string | (string & {}) | undefined;
|
|
1317
|
-
dismissible?: boolean | undefined;
|
|
1318
|
-
} | undefined;
|
|
1468
|
+
metadata?: {
|
|
1469
|
+
description?: string | undefined;
|
|
1470
|
+
title?: string | undefined;
|
|
1471
|
+
logo?: string | undefined;
|
|
1472
|
+
favicon?: string | undefined;
|
|
1473
|
+
generator?: string | undefined;
|
|
1474
|
+
applicationName?: string | undefined;
|
|
1475
|
+
referrer?: string | undefined;
|
|
1476
|
+
keywords?: string[] | undefined;
|
|
1477
|
+
authors?: string[] | undefined;
|
|
1478
|
+
creator?: string | undefined;
|
|
1479
|
+
publisher?: string | undefined;
|
|
1319
1480
|
} | undefined;
|
|
1320
|
-
topNavigation?: {
|
|
1321
|
-
id: string;
|
|
1322
|
-
label: string;
|
|
1323
|
-
default?: string | undefined;
|
|
1324
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1325
|
-
}[] | undefined;
|
|
1326
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1327
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1328
1481
|
theme?: {
|
|
1329
|
-
|
|
1482
|
+
dark?: {
|
|
1330
1483
|
input?: string | undefined;
|
|
1484
|
+
radius?: string | undefined;
|
|
1485
|
+
border?: string | undefined;
|
|
1486
|
+
popover?: string | undefined;
|
|
1331
1487
|
background?: string | undefined;
|
|
1332
1488
|
foreground?: string | undefined;
|
|
1333
1489
|
card?: string | undefined;
|
|
1334
1490
|
cardForeground?: string | undefined;
|
|
1335
|
-
popover?: string | undefined;
|
|
1336
1491
|
popoverForeground?: string | undefined;
|
|
1337
1492
|
primary?: string | undefined;
|
|
1338
1493
|
primaryForeground?: string | undefined;
|
|
@@ -1344,17 +1499,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1344
1499
|
accentForeground?: string | undefined;
|
|
1345
1500
|
destructive?: string | undefined;
|
|
1346
1501
|
destructiveForeground?: string | undefined;
|
|
1347
|
-
border?: string | undefined;
|
|
1348
1502
|
ring?: string | undefined;
|
|
1349
|
-
radius?: string | undefined;
|
|
1350
1503
|
} | undefined;
|
|
1351
|
-
|
|
1504
|
+
light?: {
|
|
1352
1505
|
input?: string | undefined;
|
|
1506
|
+
radius?: string | undefined;
|
|
1507
|
+
border?: string | undefined;
|
|
1508
|
+
popover?: string | undefined;
|
|
1353
1509
|
background?: string | undefined;
|
|
1354
1510
|
foreground?: string | undefined;
|
|
1355
1511
|
card?: string | undefined;
|
|
1356
1512
|
cardForeground?: string | undefined;
|
|
1357
|
-
popover?: string | undefined;
|
|
1358
1513
|
popoverForeground?: string | undefined;
|
|
1359
1514
|
primary?: string | undefined;
|
|
1360
1515
|
primaryForeground?: string | undefined;
|
|
@@ -1366,27 +1521,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1366
1521
|
accentForeground?: string | undefined;
|
|
1367
1522
|
destructive?: string | undefined;
|
|
1368
1523
|
destructiveForeground?: string | undefined;
|
|
1369
|
-
border?: string | undefined;
|
|
1370
1524
|
ring?: string | undefined;
|
|
1371
|
-
radius?: string | undefined;
|
|
1372
1525
|
} | undefined;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
authors?: string[] | undefined;
|
|
1384
|
-
creator?: string | undefined;
|
|
1385
|
-
publisher?: string | undefined;
|
|
1526
|
+
fonts?: {
|
|
1527
|
+
sans?: {
|
|
1528
|
+
url: string;
|
|
1529
|
+
fontFamily: string;
|
|
1530
|
+
} | undefined;
|
|
1531
|
+
mono?: {
|
|
1532
|
+
url: string;
|
|
1533
|
+
fontFamily: string;
|
|
1534
|
+
} | undefined;
|
|
1535
|
+
} | undefined;
|
|
1386
1536
|
} | undefined;
|
|
1387
1537
|
mdx?: {
|
|
1388
|
-
components?:
|
|
1538
|
+
components?: MdxComponentsType;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1541
|
+
customPages?: {
|
|
1542
|
+
path: string;
|
|
1543
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1544
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1545
|
+
prose?: boolean | undefined;
|
|
1546
|
+
}[] | undefined;
|
|
1547
|
+
build?: {
|
|
1548
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1549
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
basePath?: string | undefined;
|
|
1552
|
+
page?: {
|
|
1553
|
+
pageTitle?: string | undefined;
|
|
1554
|
+
logoUrl?: string | undefined;
|
|
1555
|
+
logo?: {
|
|
1556
|
+
src: {
|
|
1557
|
+
dark: string;
|
|
1558
|
+
light: string;
|
|
1559
|
+
};
|
|
1560
|
+
width?: string | undefined;
|
|
1561
|
+
alt?: string | undefined;
|
|
1562
|
+
} | undefined;
|
|
1563
|
+
banner?: {
|
|
1564
|
+
message: NonNullable<ReactNode>;
|
|
1565
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
1566
|
+
dismissible?: boolean | undefined;
|
|
1567
|
+
} | undefined;
|
|
1389
1568
|
} | undefined;
|
|
1569
|
+
topNavigation?: {
|
|
1570
|
+
id: string;
|
|
1571
|
+
label: string;
|
|
1572
|
+
default?: string | undefined;
|
|
1573
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1574
|
+
}[] | undefined;
|
|
1575
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1390
1576
|
authentication?: {
|
|
1391
1577
|
type: "clerk";
|
|
1392
1578
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1428,60 +1614,97 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
1614
|
type: "url";
|
|
1429
1615
|
input: string;
|
|
1430
1616
|
server?: string | undefined;
|
|
1617
|
+
id?: string | undefined;
|
|
1431
1618
|
navigationId?: string | undefined;
|
|
1619
|
+
categories?: {
|
|
1620
|
+
tags: string[];
|
|
1621
|
+
label: string;
|
|
1622
|
+
}[] | undefined;
|
|
1432
1623
|
} | {
|
|
1433
1624
|
type: "file";
|
|
1434
|
-
input: string;
|
|
1625
|
+
input: string | string[];
|
|
1435
1626
|
server?: string | undefined;
|
|
1627
|
+
id?: string | undefined;
|
|
1436
1628
|
navigationId?: string | undefined;
|
|
1629
|
+
categories?: {
|
|
1630
|
+
tags: string[];
|
|
1631
|
+
label: string;
|
|
1632
|
+
}[] | undefined;
|
|
1633
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1437
1634
|
} | {
|
|
1438
1635
|
type: "raw";
|
|
1439
1636
|
input: string;
|
|
1440
1637
|
server?: string | undefined;
|
|
1638
|
+
id?: string | undefined;
|
|
1441
1639
|
navigationId?: string | undefined;
|
|
1640
|
+
categories?: {
|
|
1641
|
+
tags: string[];
|
|
1642
|
+
label: string;
|
|
1643
|
+
}[] | undefined;
|
|
1442
1644
|
} | ({
|
|
1443
1645
|
type: "url";
|
|
1444
1646
|
input: string;
|
|
1445
1647
|
server?: string | undefined;
|
|
1648
|
+
id?: string | undefined;
|
|
1446
1649
|
navigationId?: string | undefined;
|
|
1650
|
+
categories?: {
|
|
1651
|
+
tags: string[];
|
|
1652
|
+
label: string;
|
|
1653
|
+
}[] | undefined;
|
|
1447
1654
|
} | {
|
|
1448
1655
|
type: "file";
|
|
1449
|
-
input: string;
|
|
1656
|
+
input: string | string[];
|
|
1450
1657
|
server?: string | undefined;
|
|
1658
|
+
id?: string | undefined;
|
|
1451
1659
|
navigationId?: string | undefined;
|
|
1660
|
+
categories?: {
|
|
1661
|
+
tags: string[];
|
|
1662
|
+
label: string;
|
|
1663
|
+
}[] | undefined;
|
|
1664
|
+
postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1452
1665
|
} | {
|
|
1453
1666
|
type: "raw";
|
|
1454
1667
|
input: string;
|
|
1455
1668
|
server?: string | undefined;
|
|
1669
|
+
id?: string | undefined;
|
|
1456
1670
|
navigationId?: string | undefined;
|
|
1671
|
+
categories?: {
|
|
1672
|
+
tags: string[];
|
|
1673
|
+
label: string;
|
|
1674
|
+
}[] | undefined;
|
|
1457
1675
|
})[] | undefined;
|
|
1676
|
+
catalogs?: {
|
|
1677
|
+
label: string;
|
|
1678
|
+
navigationId: string;
|
|
1679
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1680
|
+
items?: string[] | undefined;
|
|
1681
|
+
} | {
|
|
1682
|
+
label: string;
|
|
1683
|
+
navigationId: string;
|
|
1684
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1685
|
+
items?: string[] | undefined;
|
|
1686
|
+
}[] | undefined;
|
|
1458
1687
|
apiKeys?: {
|
|
1459
1688
|
enabled: boolean;
|
|
1460
1689
|
endpoint: string;
|
|
1461
1690
|
} | {
|
|
1462
1691
|
enabled: boolean;
|
|
1463
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1464
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1465
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1692
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1693
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1694
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1466
1695
|
updateKeyDescription?: ((apiKey: {
|
|
1467
1696
|
id: string;
|
|
1468
1697
|
description: string;
|
|
1469
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1698
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1470
1699
|
createKey?: ((apiKey: {
|
|
1471
1700
|
description: string;
|
|
1472
1701
|
expiresOn?: string;
|
|
1473
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1702
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1474
1703
|
} | undefined;
|
|
1475
1704
|
redirects?: {
|
|
1476
1705
|
from: string;
|
|
1477
1706
|
to: string;
|
|
1478
1707
|
}[] | undefined;
|
|
1479
|
-
customPages?: {
|
|
1480
|
-
path: string;
|
|
1481
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1482
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1483
|
-
prose?: boolean | undefined;
|
|
1484
|
-
}[] | undefined;
|
|
1485
1708
|
sitemap?: {
|
|
1486
1709
|
siteUrl: string;
|
|
1487
1710
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1490,10 +1713,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1490
1713
|
autoLastmod?: boolean | undefined;
|
|
1491
1714
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1492
1715
|
} | undefined;
|
|
1493
|
-
build?: {
|
|
1494
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1495
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1496
|
-
} | undefined;
|
|
1497
1716
|
}, {
|
|
1498
1717
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1499
1718
|
search?: {
|
|
@@ -1504,40 +1723,29 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1504
1723
|
primaryBrandColor: string;
|
|
1505
1724
|
organizationDisplayName: string;
|
|
1506
1725
|
} | undefined;
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
banner?: {
|
|
1520
|
-
message: NonNullable<ReactNode>;
|
|
1521
|
-
color?: string | (string & {}) | undefined;
|
|
1522
|
-
dismissible?: boolean | undefined;
|
|
1523
|
-
} | undefined;
|
|
1726
|
+
metadata?: {
|
|
1727
|
+
description?: string | undefined;
|
|
1728
|
+
title?: string | undefined;
|
|
1729
|
+
logo?: string | undefined;
|
|
1730
|
+
favicon?: string | undefined;
|
|
1731
|
+
generator?: string | undefined;
|
|
1732
|
+
applicationName?: string | undefined;
|
|
1733
|
+
referrer?: string | undefined;
|
|
1734
|
+
keywords?: string[] | undefined;
|
|
1735
|
+
authors?: string[] | undefined;
|
|
1736
|
+
creator?: string | undefined;
|
|
1737
|
+
publisher?: string | undefined;
|
|
1524
1738
|
} | undefined;
|
|
1525
|
-
topNavigation?: {
|
|
1526
|
-
id: string;
|
|
1527
|
-
label: string;
|
|
1528
|
-
default?: string | undefined;
|
|
1529
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1530
|
-
}[] | undefined;
|
|
1531
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1532
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1533
1739
|
theme?: {
|
|
1534
|
-
|
|
1740
|
+
dark?: {
|
|
1535
1741
|
input?: string | undefined;
|
|
1742
|
+
radius?: string | undefined;
|
|
1743
|
+
border?: string | undefined;
|
|
1744
|
+
popover?: string | undefined;
|
|
1536
1745
|
background?: string | undefined;
|
|
1537
1746
|
foreground?: string | undefined;
|
|
1538
1747
|
card?: string | undefined;
|
|
1539
1748
|
cardForeground?: string | undefined;
|
|
1540
|
-
popover?: string | undefined;
|
|
1541
1749
|
popoverForeground?: string | undefined;
|
|
1542
1750
|
primary?: string | undefined;
|
|
1543
1751
|
primaryForeground?: string | undefined;
|
|
@@ -1549,17 +1757,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1549
1757
|
accentForeground?: string | undefined;
|
|
1550
1758
|
destructive?: string | undefined;
|
|
1551
1759
|
destructiveForeground?: string | undefined;
|
|
1552
|
-
border?: string | undefined;
|
|
1553
1760
|
ring?: string | undefined;
|
|
1554
|
-
radius?: string | undefined;
|
|
1555
1761
|
} | undefined;
|
|
1556
|
-
|
|
1762
|
+
light?: {
|
|
1557
1763
|
input?: string | undefined;
|
|
1764
|
+
radius?: string | undefined;
|
|
1765
|
+
border?: string | undefined;
|
|
1766
|
+
popover?: string | undefined;
|
|
1558
1767
|
background?: string | undefined;
|
|
1559
1768
|
foreground?: string | undefined;
|
|
1560
1769
|
card?: string | undefined;
|
|
1561
1770
|
cardForeground?: string | undefined;
|
|
1562
|
-
popover?: string | undefined;
|
|
1563
1771
|
popoverForeground?: string | undefined;
|
|
1564
1772
|
primary?: string | undefined;
|
|
1565
1773
|
primaryForeground?: string | undefined;
|
|
@@ -1571,27 +1779,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1571
1779
|
accentForeground?: string | undefined;
|
|
1572
1780
|
destructive?: string | undefined;
|
|
1573
1781
|
destructiveForeground?: string | undefined;
|
|
1574
|
-
border?: string | undefined;
|
|
1575
1782
|
ring?: string | undefined;
|
|
1576
|
-
radius?: string | undefined;
|
|
1577
1783
|
} | undefined;
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
authors?: string[] | undefined;
|
|
1589
|
-
creator?: string | undefined;
|
|
1590
|
-
publisher?: string | undefined;
|
|
1784
|
+
fonts?: {
|
|
1785
|
+
sans?: {
|
|
1786
|
+
url: string;
|
|
1787
|
+
fontFamily: string;
|
|
1788
|
+
} | undefined;
|
|
1789
|
+
mono?: {
|
|
1790
|
+
url: string;
|
|
1791
|
+
fontFamily: string;
|
|
1792
|
+
} | undefined;
|
|
1793
|
+
} | undefined;
|
|
1591
1794
|
} | undefined;
|
|
1592
1795
|
mdx?: {
|
|
1593
|
-
components?:
|
|
1796
|
+
components?: MdxComponentsType;
|
|
1594
1797
|
} | undefined;
|
|
1798
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1799
|
+
customPages?: {
|
|
1800
|
+
path: string;
|
|
1801
|
+
element?: NonNullable<ReactNode> | undefined;
|
|
1802
|
+
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1803
|
+
prose?: boolean | undefined;
|
|
1804
|
+
}[] | undefined;
|
|
1805
|
+
build?: {
|
|
1806
|
+
remarkPlugins?: Options["remarkPlugins"];
|
|
1807
|
+
rehypePlugins?: Options["rehypePlugins"];
|
|
1808
|
+
} | undefined;
|
|
1809
|
+
basePath?: string | undefined;
|
|
1810
|
+
page?: {
|
|
1811
|
+
pageTitle?: string | undefined;
|
|
1812
|
+
logoUrl?: string | undefined;
|
|
1813
|
+
logo?: {
|
|
1814
|
+
src: {
|
|
1815
|
+
dark: string;
|
|
1816
|
+
light: string;
|
|
1817
|
+
};
|
|
1818
|
+
width?: string | undefined;
|
|
1819
|
+
alt?: string | undefined;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
banner?: {
|
|
1822
|
+
message: NonNullable<ReactNode>;
|
|
1823
|
+
color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
1824
|
+
dismissible?: boolean | undefined;
|
|
1825
|
+
} | undefined;
|
|
1826
|
+
} | undefined;
|
|
1827
|
+
topNavigation?: {
|
|
1828
|
+
id: string;
|
|
1829
|
+
label: string;
|
|
1830
|
+
default?: string | undefined;
|
|
1831
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1832
|
+
}[] | undefined;
|
|
1833
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1595
1834
|
authentication?: {
|
|
1596
1835
|
type: "clerk";
|
|
1597
1836
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1633,60 +1872,97 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1633
1872
|
type: "url";
|
|
1634
1873
|
input: string;
|
|
1635
1874
|
server?: string | undefined;
|
|
1875
|
+
id?: string | undefined;
|
|
1636
1876
|
navigationId?: string | undefined;
|
|
1877
|
+
categories?: {
|
|
1878
|
+
tags: string[];
|
|
1879
|
+
label: string;
|
|
1880
|
+
}[] | undefined;
|
|
1637
1881
|
} | {
|
|
1638
1882
|
type: "file";
|
|
1639
|
-
input: string;
|
|
1883
|
+
input: string | string[];
|
|
1640
1884
|
server?: string | undefined;
|
|
1885
|
+
id?: string | undefined;
|
|
1641
1886
|
navigationId?: string | undefined;
|
|
1887
|
+
categories?: {
|
|
1888
|
+
tags: string[];
|
|
1889
|
+
label: string;
|
|
1890
|
+
}[] | undefined;
|
|
1891
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1642
1892
|
} | {
|
|
1643
1893
|
type: "raw";
|
|
1644
1894
|
input: string;
|
|
1645
1895
|
server?: string | undefined;
|
|
1896
|
+
id?: string | undefined;
|
|
1646
1897
|
navigationId?: string | undefined;
|
|
1898
|
+
categories?: {
|
|
1899
|
+
tags: string[];
|
|
1900
|
+
label: string;
|
|
1901
|
+
}[] | undefined;
|
|
1647
1902
|
} | ({
|
|
1648
1903
|
type: "url";
|
|
1649
1904
|
input: string;
|
|
1650
1905
|
server?: string | undefined;
|
|
1906
|
+
id?: string | undefined;
|
|
1651
1907
|
navigationId?: string | undefined;
|
|
1908
|
+
categories?: {
|
|
1909
|
+
tags: string[];
|
|
1910
|
+
label: string;
|
|
1911
|
+
}[] | undefined;
|
|
1652
1912
|
} | {
|
|
1653
1913
|
type: "file";
|
|
1654
|
-
input: string;
|
|
1914
|
+
input: string | string[];
|
|
1655
1915
|
server?: string | undefined;
|
|
1916
|
+
id?: string | undefined;
|
|
1656
1917
|
navigationId?: string | undefined;
|
|
1918
|
+
categories?: {
|
|
1919
|
+
tags: string[];
|
|
1920
|
+
label: string;
|
|
1921
|
+
}[] | undefined;
|
|
1922
|
+
postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
|
|
1657
1923
|
} | {
|
|
1658
1924
|
type: "raw";
|
|
1659
1925
|
input: string;
|
|
1660
1926
|
server?: string | undefined;
|
|
1927
|
+
id?: string | undefined;
|
|
1661
1928
|
navigationId?: string | undefined;
|
|
1929
|
+
categories?: {
|
|
1930
|
+
tags: string[];
|
|
1931
|
+
label: string;
|
|
1932
|
+
}[] | undefined;
|
|
1662
1933
|
})[] | undefined;
|
|
1934
|
+
catalogs?: {
|
|
1935
|
+
label: string;
|
|
1936
|
+
navigationId: string;
|
|
1937
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1938
|
+
items?: string[] | undefined;
|
|
1939
|
+
} | {
|
|
1940
|
+
label: string;
|
|
1941
|
+
navigationId: string;
|
|
1942
|
+
filterItems: (args_0: any, ...args: unknown[]) => any;
|
|
1943
|
+
items?: string[] | undefined;
|
|
1944
|
+
}[] | undefined;
|
|
1663
1945
|
apiKeys?: {
|
|
1664
1946
|
enabled: boolean;
|
|
1665
1947
|
endpoint: string;
|
|
1666
1948
|
} | {
|
|
1667
1949
|
enabled: boolean;
|
|
1668
|
-
getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
|
|
1669
|
-
rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1670
|
-
deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1950
|
+
getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
|
|
1951
|
+
rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1952
|
+
deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1671
1953
|
updateKeyDescription?: ((apiKey: {
|
|
1672
1954
|
id: string;
|
|
1673
1955
|
description: string;
|
|
1674
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1956
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1675
1957
|
createKey?: ((apiKey: {
|
|
1676
1958
|
description: string;
|
|
1677
1959
|
expiresOn?: string;
|
|
1678
|
-
}, context: ZudokuContext) => Promise<void>) | undefined;
|
|
1960
|
+
}, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
|
|
1679
1961
|
} | undefined;
|
|
1680
1962
|
redirects?: {
|
|
1681
1963
|
from: string;
|
|
1682
1964
|
to: string;
|
|
1683
1965
|
}[] | undefined;
|
|
1684
|
-
customPages?: {
|
|
1685
|
-
path: string;
|
|
1686
|
-
element?: NonNullable<ReactNode> | undefined;
|
|
1687
|
-
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1688
|
-
prose?: boolean | undefined;
|
|
1689
|
-
}[] | undefined;
|
|
1690
1966
|
sitemap?: {
|
|
1691
1967
|
siteUrl: string;
|
|
1692
1968
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1695,16 +1971,10 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1695
1971
|
autoLastmod?: boolean | undefined;
|
|
1696
1972
|
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1697
1973
|
} | undefined;
|
|
1698
|
-
build?: {
|
|
1699
|
-
remarkPlugins?: Options["remarkPlugins"];
|
|
1700
|
-
rehypePlugins?: Options["rehypePlugins"];
|
|
1701
|
-
} | undefined;
|
|
1702
1974
|
}>;
|
|
1703
|
-
|
|
1975
|
+
/**
|
|
1976
|
+
* Type for the zudoku.config.{js,ts,tsx,jsx} files
|
|
1977
|
+
*/
|
|
1704
1978
|
export type ZudokuConfig = z.infer<typeof ConfigSchema>;
|
|
1705
|
-
export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
|
|
1706
|
-
export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
|
|
1707
|
-
export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
|
|
1708
|
-
export type ZudokuRedirect = z.infer<typeof Redirect>;
|
|
1709
1979
|
export declare function validateConfig(config: unknown): void;
|
|
1710
1980
|
export {};
|