zudoku 0.0.0-fa903e7 → 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.
Files changed (508) hide show
  1. package/client.d.ts +7 -0
  2. package/dist/app/demo.js +1 -1
  3. package/dist/app/demo.js.map +1 -1
  4. package/dist/app/entry.client.d.ts +1 -0
  5. package/dist/app/entry.client.js +14 -15
  6. package/dist/app/entry.client.js.map +1 -1
  7. package/dist/app/entry.server.d.ts +1 -0
  8. package/dist/app/entry.server.js +2 -2
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/main.d.ts +1 -1
  11. package/dist/app/main.js +2 -1
  12. package/dist/app/main.js.map +1 -1
  13. package/dist/app/sentry.d.ts +3 -0
  14. package/dist/app/sentry.js +19 -0
  15. package/dist/app/sentry.js.map +1 -0
  16. package/dist/app/standalone.js +1 -1
  17. package/dist/app/standalone.js.map +1 -1
  18. package/dist/app/tailwind.d.ts +2 -1
  19. package/dist/app/tailwind.js +64 -52
  20. package/dist/app/tailwind.js.map +1 -1
  21. package/dist/cli/cli.js +0 -2
  22. package/dist/cli/cli.js.map +1 -1
  23. package/dist/cli/cmds/build.js +1 -0
  24. package/dist/cli/cmds/build.js.map +1 -1
  25. package/dist/cli/common/outdated.js +2 -1
  26. package/dist/cli/common/outdated.js.map +1 -1
  27. package/dist/config/common.d.ts +8 -0
  28. package/dist/config/common.js +2 -0
  29. package/dist/config/common.js.map +1 -0
  30. package/dist/config/config.d.ts +3 -2
  31. package/dist/config/loader.d.ts +20 -0
  32. package/dist/config/loader.js +154 -0
  33. package/dist/config/loader.js.map +1 -0
  34. package/dist/config/validators/InputSidebarSchema.d.ts +14 -13
  35. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  36. package/dist/config/validators/common.d.ts +4945 -0
  37. package/dist/config/validators/common.js +280 -0
  38. package/dist/config/validators/common.js.map +1 -0
  39. package/dist/config/validators/icon-types.d.ts +1 -0
  40. package/dist/config/validators/icon-types.js +2 -0
  41. package/dist/config/validators/icon-types.js.map +1 -0
  42. package/dist/config/validators/validate.d.ts +783 -533
  43. package/dist/config/validators/validate.js +9 -234
  44. package/dist/config/validators/validate.js.map +1 -1
  45. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  46. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  47. package/dist/lib/authentication/components/SignIn.js +1 -1
  48. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  49. package/dist/lib/authentication/components/SignOut.js +1 -1
  50. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  51. package/dist/lib/authentication/providers/openid.d.ts +7 -0
  52. package/dist/lib/authentication/providers/openid.js +8 -2
  53. package/dist/lib/authentication/providers/openid.js.map +1 -1
  54. package/dist/lib/components/AnchorLink.d.ts +1 -1
  55. package/dist/lib/components/AnchorLink.js +1 -1
  56. package/dist/lib/components/AnchorLink.js.map +1 -1
  57. package/dist/lib/components/Bootstrap.d.ts +1 -2
  58. package/dist/lib/components/Bootstrap.js +3 -3
  59. package/dist/lib/components/Bootstrap.js.map +1 -1
  60. package/dist/lib/components/Header.js +2 -2
  61. package/dist/lib/components/Header.js.map +1 -1
  62. package/dist/lib/components/Heading.d.ts +4 -4
  63. package/dist/lib/components/Heading.js +1 -1
  64. package/dist/lib/components/Heading.js.map +1 -1
  65. package/dist/lib/components/Layout.js +4 -3
  66. package/dist/lib/components/Layout.js.map +1 -1
  67. package/dist/lib/components/Markdown.js +1 -1
  68. package/dist/lib/components/Markdown.js.map +1 -1
  69. package/dist/lib/components/MobileTopNavigation.js +1 -1
  70. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  71. package/dist/lib/components/NotFoundPage.js +1 -1
  72. package/dist/lib/components/NotFoundPage.js.map +1 -1
  73. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  74. package/dist/lib/components/ReactMarkdown.js +182 -0
  75. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  76. package/dist/lib/components/Search.d.ts +3 -1
  77. package/dist/lib/components/Search.js +3 -3
  78. package/dist/lib/components/Search.js.map +1 -1
  79. package/dist/lib/components/SlotletProvider.d.ts +2 -2
  80. package/dist/lib/components/SyntaxHighlight.js +0 -4
  81. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  82. package/dist/lib/components/TopNavigation.d.ts +1 -1
  83. package/dist/lib/components/TopNavigation.js +1 -1
  84. package/dist/lib/components/TopNavigation.js.map +1 -1
  85. package/dist/lib/components/Zudoku.js +1 -1
  86. package/dist/lib/components/Zudoku.js.map +1 -1
  87. package/dist/lib/components/context/ZudokuContext.js +1 -1
  88. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  89. package/dist/lib/components/index.d.ts +4 -4
  90. package/dist/lib/components/index.js +1 -1
  91. package/dist/lib/components/index.js.map +1 -1
  92. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  93. package/dist/lib/components/navigation/Sidebar.js +2 -2
  94. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  95. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -9
  96. package/dist/lib/components/navigation/SidebarBadge.js +0 -9
  97. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  98. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  99. package/dist/lib/components/navigation/SidebarCategory.js +4 -5
  100. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  101. package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
  102. package/dist/lib/components/navigation/SidebarItem.js +6 -11
  103. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  104. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  105. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  106. package/dist/lib/components/navigation/utils.js +1 -1
  107. package/dist/lib/components/navigation/utils.js.map +1 -1
  108. package/dist/lib/core/ZudokuContext.d.ts +1 -1
  109. package/dist/lib/core/plugins.d.ts +3 -5
  110. package/dist/lib/core/plugins.js.map +1 -1
  111. package/dist/lib/errors/RouterError.js +1 -1
  112. package/dist/lib/errors/RouterError.js.map +1 -1
  113. package/dist/lib/oas/graphql/index.js +4 -1
  114. package/dist/lib/oas/graphql/index.js.map +1 -1
  115. package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
  116. package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
  117. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  118. package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
  119. package/dist/lib/plugins/api-catalog/index.js +15 -0
  120. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  121. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  122. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  123. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  124. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  125. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  126. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  127. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  128. package/dist/lib/plugins/markdown/MdxPage.js +3 -3
  129. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  130. package/dist/lib/plugins/markdown/index.d.ts +3 -1
  131. package/dist/lib/plugins/markdown/index.js.map +1 -1
  132. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  133. package/dist/lib/plugins/openapi/OperationList.js +24 -3
  134. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  135. package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
  136. package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
  137. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  138. package/dist/lib/plugins/openapi/Route.d.ts +4 -2
  139. package/dist/lib/plugins/openapi/Route.js +25 -2
  140. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  141. package/dist/lib/plugins/openapi/Sidecar.js +3 -13
  142. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  143. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  144. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  145. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  146. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  147. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
  148. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  149. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  150. package/dist/lib/plugins/openapi/index.js +13 -13
  151. package/dist/lib/plugins/openapi/index.js.map +1 -1
  152. package/dist/lib/plugins/openapi/interfaces.d.ts +19 -0
  153. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  154. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  155. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  156. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  157. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  158. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  159. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  160. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  161. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  162. package/dist/lib/plugins/redirect/index.js +1 -1
  163. package/dist/lib/plugins/redirect/index.js.map +1 -1
  164. package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
  165. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  166. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  167. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  168. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  169. package/dist/lib/ui/Button.d.ts +1 -1
  170. package/dist/lib/ui/Command.d.ts +1 -1
  171. package/dist/lib/util/MdxComponents.d.ts +18 -19
  172. package/dist/lib/util/MdxComponents.js +1 -3
  173. package/dist/lib/util/MdxComponents.js.map +1 -1
  174. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  175. package/dist/lib/util/useExposedProps.js +1 -1
  176. package/dist/lib/util/useExposedProps.js.map +1 -1
  177. package/dist/lib/util/useOnScreen.d.ts +1 -1
  178. package/dist/lib/util/useScrollToAnchor.js +1 -1
  179. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  180. package/dist/lib/util/useScrollToTop.js +1 -1
  181. package/dist/lib/util/useScrollToTop.js.map +1 -1
  182. package/dist/vite/build.js +15 -3
  183. package/dist/vite/build.js.map +1 -1
  184. package/dist/vite/config.d.ts +6 -4
  185. package/dist/vite/config.js +59 -24
  186. package/dist/vite/config.js.map +1 -1
  187. package/dist/vite/config.test.js +4 -1
  188. package/dist/vite/config.test.js.map +1 -1
  189. package/dist/vite/css/collect.d.ts +2 -0
  190. package/dist/vite/css/collect.js +27 -0
  191. package/dist/vite/css/collect.js.map +1 -0
  192. package/dist/vite/css/plugin.d.ts +5 -0
  193. package/dist/vite/css/plugin.js +79 -0
  194. package/dist/vite/css/plugin.js.map +1 -0
  195. package/dist/vite/dev-server.js +19 -6
  196. package/dist/vite/dev-server.js.map +1 -1
  197. package/dist/vite/output.d.ts +1 -1
  198. package/dist/vite/output.js +25 -16
  199. package/dist/vite/output.js.map +1 -1
  200. package/dist/vite/plugin-api.js +79 -10
  201. package/dist/vite/plugin-api.js.map +1 -1
  202. package/dist/vite/plugin-component.js +1 -0
  203. package/dist/vite/plugin-component.js.map +1 -1
  204. package/dist/vite/plugin-config-reload.d.ts +1 -2
  205. package/dist/vite/plugin-config-reload.js.map +1 -1
  206. package/dist/vite/plugin-config.js +20 -0
  207. package/dist/vite/plugin-config.js.map +1 -1
  208. package/dist/vite/plugin-mdx.js +50 -1
  209. package/dist/vite/plugin-mdx.js.map +1 -1
  210. package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
  211. package/dist/vite/{plugin-custom-css.js → plugin-theme-css.js} +10 -3
  212. package/dist/vite/plugin-theme-css.js.map +1 -0
  213. package/dist/vite/plugin.d.ts +1 -2
  214. package/dist/vite/plugin.js +6 -2
  215. package/dist/vite/plugin.js.map +1 -1
  216. package/dist/vite/prerender.d.ts +2 -1
  217. package/dist/vite/prerender.js +2 -2
  218. package/dist/vite/prerender.js.map +1 -1
  219. package/dist/vite/sitemap.d.ts +1 -1
  220. package/dist/zuplo/env.d.ts +6 -0
  221. package/dist/zuplo/env.js +9 -0
  222. package/dist/zuplo/env.js.map +1 -0
  223. package/dist/zuplo/with-zuplo.d.ts +2 -2
  224. package/dist/zuplo/with-zuplo.js.map +1 -1
  225. package/lib/AnchorLink-DFZZbmvr.js +34 -0
  226. package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
  227. package/lib/{AuthenticationPlugin-D0Em0SwR.js → AuthenticationPlugin-fB7viE7A.js} +15 -16
  228. package/lib/AuthenticationPlugin-fB7viE7A.js.map +1 -0
  229. package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
  230. package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
  231. package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
  232. package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
  233. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  234. package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
  235. package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
  236. package/lib/{Markdown-ievDDhFT.js → Markdown-CZDLNOFc.js} +13227 -13217
  237. package/lib/Markdown-CZDLNOFc.js.map +1 -0
  238. package/lib/{MdxPage-B2FpJ9KC.js → MdxPage-CPBw4_lf.js} +82 -77
  239. package/lib/MdxPage-CPBw4_lf.js.map +1 -0
  240. package/lib/OperationList-n4U_BHmO.js +5062 -0
  241. package/lib/OperationList-n4U_BHmO.js.map +1 -0
  242. package/lib/Route-C8nwd9A2.js +37 -0
  243. package/lib/Route-C8nwd9A2.js.map +1 -0
  244. package/lib/{Select-O9ZM3ZgX.js → Select-D3XuKKuH.js} +5 -5
  245. package/lib/{Select-O9ZM3ZgX.js.map → Select-D3XuKKuH.js.map} +1 -1
  246. package/lib/SlotletProvider-pfc9oejW.js +221 -0
  247. package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
  248. package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
  249. package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
  250. package/lib/StaggeredRender-DgsamH_G.js +17 -0
  251. package/lib/StaggeredRender-DgsamH_G.js.map +1 -0
  252. package/lib/{SyntaxHighlight-DkLOsjHS.js → SyntaxHighlight-Bz-lOJtH.js} +8 -12
  253. package/lib/{SyntaxHighlight-DkLOsjHS.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
  254. package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
  255. package/lib/assets/index-C7jnHK4b.js.map +1 -0
  256. package/lib/assets/{worker-BHClFO3A.js → worker-D2kRl-cG.js} +5285 -4904
  257. package/lib/assets/worker-D2kRl-cG.js.map +1 -0
  258. package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
  259. package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
  260. package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
  261. package/lib/cn-qaFjX9_3.js.map +1 -0
  262. package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
  263. package/lib/context-h_UkBLvr.js.map +1 -0
  264. package/lib/{createServer-CpJlUPtn.js → createServer-69sLlmQA.js} +4820 -4440
  265. package/lib/createServer-69sLlmQA.js.map +1 -0
  266. package/lib/{hook-hEqe7fPB.js → hook-DgGeo5iL.js} +3 -3
  267. package/lib/{hook-hEqe7fPB.js.map → hook-DgGeo5iL.js.map} +1 -1
  268. package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
  269. package/lib/index-CBXSgjaE.js.map +1 -0
  270. package/lib/index-CPNSgwSb.js +36 -0
  271. package/lib/index-CPNSgwSb.js.map +1 -0
  272. package/lib/index-DStSNvP-.js +1284 -0
  273. package/lib/index-DStSNvP-.js.map +1 -0
  274. package/lib/index-LNp6rxyU.js.map +1 -1
  275. package/lib/index.esm-BSV1C092.js +692 -0
  276. package/lib/index.esm-BSV1C092.js.map +1 -0
  277. package/lib/index.esm-BnnBRKJX.js +1214 -0
  278. package/lib/index.esm-BnnBRKJX.js.map +1 -0
  279. package/lib/invariant-Caa8-XvF.js.map +1 -1
  280. package/lib/jsx-runtime-Dx-03ztt.js +446 -0
  281. package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
  282. package/lib/object_hash-BNWPnMN9.js +787 -0
  283. package/lib/object_hash-BNWPnMN9.js.map +1 -0
  284. package/lib/post-processors/removeExtensions.js.map +1 -1
  285. package/lib/post-processors/removePaths.js.map +1 -1
  286. package/lib/post-processors/traverse.js.map +1 -1
  287. package/lib/prism-csharp.min-DUwvItt4.js +63 -0
  288. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
  289. package/lib/prism-java.min-BtgBR4yd.js +35 -0
  290. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
  291. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  292. package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
  293. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
  294. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  295. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  296. package/lib/state-CFQsUZUP.js +202 -0
  297. package/lib/state-CFQsUZUP.js.map +1 -0
  298. package/lib/ui/Accordion.js +2 -2
  299. package/lib/ui/Accordion.js.map +1 -1
  300. package/lib/ui/ActionButton.js +4 -4
  301. package/lib/ui/ActionButton.js.map +1 -1
  302. package/lib/ui/Alert.js +3 -3
  303. package/lib/ui/Alert.js.map +1 -1
  304. package/lib/ui/AlertDialog.js +2 -2
  305. package/lib/ui/AlertDialog.js.map +1 -1
  306. package/lib/ui/Badge.js +3 -3
  307. package/lib/ui/Badge.js.map +1 -1
  308. package/lib/ui/Breadcrumb.js +2 -2
  309. package/lib/ui/Breadcrumb.js.map +1 -1
  310. package/lib/ui/Button.js +3 -3
  311. package/lib/ui/Button.js.map +1 -1
  312. package/lib/ui/Callout.js +2 -2
  313. package/lib/ui/Callout.js.map +1 -1
  314. package/lib/ui/Card.js +2 -2
  315. package/lib/ui/Card.js.map +1 -1
  316. package/lib/ui/Carousel.js +407 -401
  317. package/lib/ui/Carousel.js.map +1 -1
  318. package/lib/ui/Checkbox.js +2 -2
  319. package/lib/ui/Checkbox.js.map +1 -1
  320. package/lib/ui/Command.js +111 -108
  321. package/lib/ui/Command.js.map +1 -1
  322. package/lib/ui/Dialog.js +2 -2
  323. package/lib/ui/Dialog.js.map +1 -1
  324. package/lib/ui/Drawer.js +81 -81
  325. package/lib/ui/Drawer.js.map +1 -1
  326. package/lib/ui/DropdownMenu.js +2 -2
  327. package/lib/ui/DropdownMenu.js.map +1 -1
  328. package/lib/ui/Form.js +3 -3
  329. package/lib/ui/Form.js.map +1 -1
  330. package/lib/ui/HoverCard.js +2 -2
  331. package/lib/ui/Input.js +2 -2
  332. package/lib/ui/Input.js.map +1 -1
  333. package/lib/ui/Label.js +3 -3
  334. package/lib/ui/Pagination.js +2 -2
  335. package/lib/ui/Pagination.js.map +1 -1
  336. package/lib/ui/Popover.js +2 -2
  337. package/lib/ui/Popover.js.map +1 -1
  338. package/lib/ui/Progress.js +2 -2
  339. package/lib/ui/Progress.js.map +1 -1
  340. package/lib/ui/RadioGroup.js +2 -2
  341. package/lib/ui/RadioGroup.js.map +1 -1
  342. package/lib/ui/ScrollArea.js +2 -2
  343. package/lib/ui/ScrollArea.js.map +1 -1
  344. package/lib/ui/Select.js +2 -2
  345. package/lib/ui/Select.js.map +1 -1
  346. package/lib/ui/Skeleton.js +2 -2
  347. package/lib/ui/Skeleton.js.map +1 -1
  348. package/lib/ui/Slider.js +2 -2
  349. package/lib/ui/Switch.js +2 -2
  350. package/lib/ui/Switch.js.map +1 -1
  351. package/lib/ui/Tabs.js +2 -2
  352. package/lib/ui/Textarea.js +2 -2
  353. package/lib/ui/Textarea.js.map +1 -1
  354. package/lib/ui/Toggle.js +3 -3
  355. package/lib/ui/Toggle.js.map +1 -1
  356. package/lib/ui/ToggleGroup.js +2 -2
  357. package/lib/ui/ToggleGroup.js.map +1 -1
  358. package/lib/ui/Tooltip.js +2 -2
  359. package/lib/useExposedProps-DE9lR6MF.js +9 -0
  360. package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
  361. package/lib/{utils-DcpDOncX.js → utils-B4O1uet5.js} +35 -36
  362. package/lib/{utils-DcpDOncX.js.map → utils-B4O1uet5.js.map} +1 -1
  363. package/lib/zudoku.auth-auth0.js +1 -1
  364. package/lib/zudoku.auth-auth0.js.map +1 -1
  365. package/lib/zudoku.auth-clerk.js +2 -2
  366. package/lib/zudoku.auth-clerk.js.map +1 -1
  367. package/lib/zudoku.auth-openid.js +382 -374
  368. package/lib/zudoku.auth-openid.js.map +1 -1
  369. package/lib/zudoku.components.js +773 -992
  370. package/lib/zudoku.components.js.map +1 -1
  371. package/lib/zudoku.openapi-worker.js +1 -1
  372. package/lib/zudoku.openapi-worker.js.map +1 -1
  373. package/lib/zudoku.plugin-api-catalog.js +123 -0
  374. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  375. package/lib/zudoku.plugin-api-keys.js +15 -16
  376. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  377. package/lib/zudoku.plugin-custom-pages.js +4 -4
  378. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  379. package/lib/zudoku.plugin-markdown.js +2 -2
  380. package/lib/zudoku.plugin-markdown.js.map +1 -1
  381. package/lib/zudoku.plugin-openapi.js +5 -5
  382. package/lib/zudoku.plugin-redirect.js +1 -1
  383. package/lib/zudoku.plugin-redirect.js.map +1 -1
  384. package/lib/zudoku.plugin-search-inkeep.js +53 -24
  385. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  386. package/package.json +59 -47
  387. package/src/app/demo.tsx +1 -1
  388. package/src/app/entry.client.tsx +16 -15
  389. package/src/app/entry.server.tsx +3 -2
  390. package/src/app/main.tsx +6 -2
  391. package/src/app/sentry.ts +24 -0
  392. package/src/app/standalone.tsx +1 -1
  393. package/src/app/tailwind.ts +67 -52
  394. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  395. package/src/lib/authentication/components/SignIn.tsx +1 -1
  396. package/src/lib/authentication/components/SignOut.tsx +1 -1
  397. package/src/lib/authentication/providers/openid.tsx +12 -5
  398. package/src/lib/components/AnchorLink.tsx +1 -1
  399. package/src/lib/components/Bootstrap.tsx +4 -6
  400. package/src/lib/components/Header.tsx +2 -2
  401. package/src/lib/components/Heading.tsx +13 -13
  402. package/src/lib/components/Layout.tsx +10 -5
  403. package/src/lib/components/Markdown.tsx +1 -1
  404. package/src/lib/components/MobileTopNavigation.tsx +18 -18
  405. package/src/lib/components/NotFoundPage.tsx +1 -1
  406. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  407. package/src/lib/components/ReactMarkdown.tsx +264 -0
  408. package/src/lib/components/Search.tsx +3 -3
  409. package/src/lib/components/SlotletProvider.tsx +1 -1
  410. package/src/lib/components/SyntaxHighlight.tsx +0 -4
  411. package/src/lib/components/TopNavigation.tsx +2 -2
  412. package/src/lib/components/Zudoku.tsx +1 -1
  413. package/src/lib/components/context/ZudokuContext.ts +1 -1
  414. package/src/lib/components/index.ts +1 -1
  415. package/src/lib/components/navigation/Sidebar.tsx +18 -8
  416. package/src/lib/components/navigation/SidebarBadge.tsx +0 -10
  417. package/src/lib/components/navigation/SidebarCategory.tsx +11 -10
  418. package/src/lib/components/navigation/SidebarItem.tsx +11 -14
  419. package/src/lib/components/navigation/SidebarWrapper.tsx +1 -1
  420. package/src/lib/components/navigation/utils.ts +1 -1
  421. package/src/lib/core/ZudokuContext.ts +1 -1
  422. package/src/lib/core/plugins.ts +3 -7
  423. package/src/lib/errors/RouterError.tsx +1 -1
  424. package/src/lib/oas/graphql/index.ts +4 -1
  425. package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
  426. package/src/lib/plugins/api-catalog/index.tsx +64 -0
  427. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  428. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  429. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  430. package/src/lib/plugins/api-keys/index.tsx +1 -1
  431. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  432. package/src/lib/plugins/markdown/MdxPage.tsx +3 -1
  433. package/src/lib/plugins/markdown/index.tsx +4 -2
  434. package/src/lib/plugins/markdown/resolver.ts +2 -4
  435. package/src/lib/plugins/openapi/OperationList.tsx +64 -8
  436. package/src/lib/plugins/openapi/OperationListItem.tsx +31 -2
  437. package/src/lib/plugins/openapi/Route.tsx +45 -9
  438. package/src/lib/plugins/openapi/Sidecar.tsx +3 -17
  439. package/src/lib/plugins/openapi/context.tsx +2 -2
  440. package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
  441. package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
  442. package/src/lib/plugins/openapi/index.tsx +35 -28
  443. package/src/lib/plugins/openapi/interfaces.ts +22 -1
  444. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -0
  445. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  446. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  447. package/src/lib/plugins/redirect/index.tsx +2 -2
  448. package/src/lib/plugins/search-inkeep/index.tsx +78 -23
  449. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  450. package/src/lib/util/MdxComponents.tsx +3 -8
  451. package/src/lib/util/createVariantComponent.tsx +2 -2
  452. package/src/lib/util/useExposedProps.tsx +1 -1
  453. package/src/lib/util/useScrollToAnchor.ts +1 -1
  454. package/src/lib/util/useScrollToTop.ts +1 -1
  455. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  456. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  457. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  458. package/dist/vite/plugin-custom-css.js.map +0 -1
  459. package/lib/AnchorLink-CDlhr8gL.js +0 -706
  460. package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
  461. package/lib/AuthenticationPlugin-D0Em0SwR.js.map +0 -1
  462. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  463. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  464. package/lib/Markdown-ievDDhFT.js.map +0 -1
  465. package/lib/MdxPage-B2FpJ9KC.js.map +0 -1
  466. package/lib/OperationList-BkNQEsNs.js +0 -4693
  467. package/lib/OperationList-BkNQEsNs.js.map +0 -1
  468. package/lib/Route-DlG_HTMu.js +0 -11
  469. package/lib/Route-DlG_HTMu.js.map +0 -1
  470. package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
  471. package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
  472. package/lib/SlotletProvider-DyomlzGx.js +0 -252
  473. package/lib/SlotletProvider-DyomlzGx.js.map +0 -1
  474. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  475. package/lib/assets/worker-BHClFO3A.js.map +0 -1
  476. package/lib/cn-BmFQLtkS.js.map +0 -1
  477. package/lib/context-D1nXWxm7.js.map +0 -1
  478. package/lib/createServer-CpJlUPtn.js.map +0 -1
  479. package/lib/index-BuAyrJe3.js +0 -46
  480. package/lib/index-BuAyrJe3.js.map +0 -1
  481. package/lib/index-C7SaIME0.js +0 -1277
  482. package/lib/index-C7SaIME0.js.map +0 -1
  483. package/lib/index-CkwDvuPt.js.map +0 -1
  484. package/lib/index-Czzd9rjU.js +0 -899
  485. package/lib/index-Czzd9rjU.js.map +0 -1
  486. package/lib/index-Yn8c3UWE.js +0 -921
  487. package/lib/index-Yn8c3UWE.js.map +0 -1
  488. package/lib/index.esm-C5mr_sKO.js +0 -1193
  489. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  490. package/lib/jsx-runtime-B6kdoens.js +0 -635
  491. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  492. package/lib/object_hash-CvlLgU-M.js +0 -785
  493. package/lib/object_hash-CvlLgU-M.js.map +0 -1
  494. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  495. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  496. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  497. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  498. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  499. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  500. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  501. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  502. package/lib/router-lfyopgBI.js +0 -3024
  503. package/lib/router-lfyopgBI.js.map +0 -1
  504. package/lib/state-tsXBLONe.js +0 -203
  505. package/lib/state-tsXBLONe.js.map +0 -1
  506. package/lib/useExposedProps-CTPtylCV.js +0 -10
  507. package/lib/useExposedProps-CTPtylCV.js.map +0 -1
  508. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
@@ -0,0 +1,4945 @@
1
+ import type { ReactNode } from "react";
2
+ import z, { RefinementCtx, type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
3
+ import { ZudokuContext } from "../../lib/core/ZudokuContext.js";
4
+ import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
5
+ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6
+ type: z.ZodLiteral<"url">;
7
+ input: z.ZodString;
8
+ }, {
9
+ id: z.ZodOptional<z.ZodString>;
10
+ server: z.ZodOptional<z.ZodString>;
11
+ navigationId: z.ZodOptional<z.ZodString>;
12
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ label: z.ZodString;
14
+ tags: z.ZodArray<z.ZodString, "many">;
15
+ }, "strip", z.ZodTypeAny, {
16
+ tags: string[];
17
+ label: string;
18
+ }, {
19
+ tags: string[];
20
+ label: string;
21
+ }>, "many">>;
22
+ }>, "strip", z.ZodTypeAny, {
23
+ type: "url";
24
+ input: string;
25
+ server?: string | undefined;
26
+ id?: string | undefined;
27
+ navigationId?: string | undefined;
28
+ categories?: {
29
+ tags: string[];
30
+ label: string;
31
+ }[] | undefined;
32
+ }, {
33
+ type: "url";
34
+ input: string;
35
+ server?: string | undefined;
36
+ id?: string | undefined;
37
+ navigationId?: string | undefined;
38
+ categories?: {
39
+ tags: string[];
40
+ label: string;
41
+ }[] | undefined;
42
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
43
+ type: z.ZodLiteral<"file">;
44
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
45
+ }, {
46
+ id: z.ZodOptional<z.ZodString>;
47
+ server: z.ZodOptional<z.ZodString>;
48
+ navigationId: z.ZodOptional<z.ZodString>;
49
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
50
+ label: z.ZodString;
51
+ tags: z.ZodArray<z.ZodString, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ tags: string[];
54
+ label: string;
55
+ }, {
56
+ tags: string[];
57
+ label: string;
58
+ }>, "many">>;
59
+ }>, {
60
+ postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
61
+ }>, "strip", z.ZodTypeAny, {
62
+ type: "file";
63
+ input: string | string[];
64
+ server?: string | undefined;
65
+ id?: string | undefined;
66
+ navigationId?: string | undefined;
67
+ categories?: {
68
+ tags: string[];
69
+ label: string;
70
+ }[] | undefined;
71
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
72
+ }, {
73
+ type: "file";
74
+ input: string | string[];
75
+ server?: string | undefined;
76
+ id?: string | undefined;
77
+ navigationId?: string | undefined;
78
+ categories?: {
79
+ tags: string[];
80
+ label: string;
81
+ }[] | undefined;
82
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
83
+ }>, z.ZodObject<z.objectUtil.extendShape<{
84
+ type: z.ZodLiteral<"raw">;
85
+ input: z.ZodString;
86
+ }, {
87
+ id: z.ZodOptional<z.ZodString>;
88
+ server: z.ZodOptional<z.ZodString>;
89
+ navigationId: z.ZodOptional<z.ZodString>;
90
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ label: z.ZodString;
92
+ tags: z.ZodArray<z.ZodString, "many">;
93
+ }, "strip", z.ZodTypeAny, {
94
+ tags: string[];
95
+ label: string;
96
+ }, {
97
+ tags: string[];
98
+ label: string;
99
+ }>, "many">>;
100
+ }>, "strip", z.ZodTypeAny, {
101
+ type: "raw";
102
+ input: string;
103
+ server?: string | undefined;
104
+ id?: string | undefined;
105
+ navigationId?: string | undefined;
106
+ categories?: {
107
+ tags: string[];
108
+ label: string;
109
+ }[] | undefined;
110
+ }, {
111
+ type: "raw";
112
+ input: string;
113
+ server?: string | undefined;
114
+ id?: string | undefined;
115
+ navigationId?: string | undefined;
116
+ categories?: {
117
+ tags: string[];
118
+ label: string;
119
+ }[] | undefined;
120
+ }>]>;
121
+ declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
122
+ /**
123
+ * Base url of your website
124
+ */
125
+ siteUrl: z.ZodString;
126
+ /**
127
+ * Change frequency.
128
+ * @default 'daily'
129
+ */
130
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
131
+ /**
132
+ * Priority
133
+ * @default 0.7
134
+ */
135
+ priority: z.ZodOptional<z.ZodNumber>;
136
+ outDir: z.ZodOptional<z.ZodString>;
137
+ /**
138
+ * Add <lastmod/> property.
139
+ * @default true
140
+ */
141
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
142
+ /**
143
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
144
+ * @example ['/page-0', '/page/example']
145
+ */
146
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ siteUrl: string;
149
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
150
+ priority?: number | undefined;
151
+ outDir?: string | undefined;
152
+ autoLastmod?: boolean | undefined;
153
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
154
+ }, {
155
+ siteUrl: string;
156
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
157
+ priority?: number | undefined;
158
+ outDir?: string | undefined;
159
+ autoLastmod?: boolean | undefined;
160
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
161
+ }>>;
162
+ declare const DocsConfigSchema: z.ZodObject<{
163
+ files: z.ZodString;
164
+ defaultOptions: z.ZodOptional<z.ZodObject<{
165
+ toc: z.ZodOptional<z.ZodBoolean>;
166
+ disablePager: z.ZodOptional<z.ZodBoolean>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ toc?: boolean | undefined;
169
+ disablePager?: boolean | undefined;
170
+ }, {
171
+ toc?: boolean | undefined;
172
+ disablePager?: boolean | undefined;
173
+ }>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ files: string;
176
+ defaultOptions?: {
177
+ toc?: boolean | undefined;
178
+ disablePager?: boolean | undefined;
179
+ } | undefined;
180
+ }, {
181
+ files: string;
182
+ defaultOptions?: {
183
+ toc?: boolean | undefined;
184
+ disablePager?: boolean | undefined;
185
+ } | undefined;
186
+ }>;
187
+ declare const TopNavigationItemSchema: z.ZodObject<{
188
+ label: z.ZodString;
189
+ id: z.ZodString;
190
+ default: z.ZodOptional<z.ZodString>;
191
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ id: string;
194
+ label: string;
195
+ default?: string | undefined;
196
+ display?: "auth" | "anon" | "always" | undefined;
197
+ }, {
198
+ id: string;
199
+ label: string;
200
+ default?: string | undefined;
201
+ display?: "auth" | "anon" | "always" | undefined;
202
+ }>;
203
+ type BannerColorType = ZodOptional<ZodUnion<[
204
+ ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
205
+ ZodString
206
+ ]>>;
207
+ declare const Redirect: z.ZodObject<{
208
+ from: z.ZodString;
209
+ to: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
211
+ from: string;
212
+ to: string;
213
+ }, {
214
+ from: string;
215
+ to: string;
216
+ }>;
217
+ /**
218
+ * These are the config settings that are available in all configuration
219
+ * formats.
220
+ */
221
+ export declare const CommonConfigSchema: z.ZodObject<{
222
+ basePath: z.ZodOptional<z.ZodString>;
223
+ page: z.ZodObject<{
224
+ pageTitle: z.ZodOptional<z.ZodString>;
225
+ logoUrl: z.ZodOptional<z.ZodString>;
226
+ logo: z.ZodOptional<z.ZodObject<{
227
+ src: z.ZodObject<{
228
+ light: z.ZodString;
229
+ dark: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ dark: string;
232
+ light: string;
233
+ }, {
234
+ dark: string;
235
+ light: string;
236
+ }>;
237
+ alt: z.ZodOptional<z.ZodString>;
238
+ width: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ src: {
241
+ dark: string;
242
+ light: string;
243
+ };
244
+ width?: string | undefined;
245
+ alt?: string | undefined;
246
+ }, {
247
+ src: {
248
+ dark: string;
249
+ light: string;
250
+ };
251
+ width?: string | undefined;
252
+ alt?: string | undefined;
253
+ }>>;
254
+ banner: z.ZodOptional<z.ZodObject<{
255
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
256
+ color: BannerColorType;
257
+ dismissible: z.ZodOptional<z.ZodBoolean>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ message: NonNullable<ReactNode>;
260
+ color?: BannerColorType;
261
+ dismissible?: boolean | undefined;
262
+ }, {
263
+ message: NonNullable<ReactNode>;
264
+ color?: BannerColorType;
265
+ dismissible?: boolean | undefined;
266
+ }>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ pageTitle?: string | undefined;
269
+ logoUrl?: string | undefined;
270
+ logo?: {
271
+ src: {
272
+ dark: string;
273
+ light: string;
274
+ };
275
+ width?: string | undefined;
276
+ alt?: string | undefined;
277
+ } | undefined;
278
+ banner?: {
279
+ message: NonNullable<ReactNode>;
280
+ color?: BannerColorType;
281
+ dismissible?: boolean | undefined;
282
+ } | undefined;
283
+ }, {
284
+ pageTitle?: string | undefined;
285
+ logoUrl?: string | undefined;
286
+ logo?: {
287
+ src: {
288
+ dark: string;
289
+ light: string;
290
+ };
291
+ width?: string | undefined;
292
+ alt?: string | undefined;
293
+ } | undefined;
294
+ banner?: {
295
+ message: NonNullable<ReactNode>;
296
+ color?: BannerColorType;
297
+ dismissible?: boolean | undefined;
298
+ } | undefined;
299
+ }>;
300
+ topNavigation: z.ZodArray<z.ZodObject<{
301
+ label: z.ZodString;
302
+ id: z.ZodString;
303
+ default: z.ZodOptional<z.ZodString>;
304
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ id: string;
307
+ label: string;
308
+ default?: string | undefined;
309
+ display?: "auth" | "anon" | "always" | undefined;
310
+ }, {
311
+ id: string;
312
+ label: string;
313
+ default?: string | undefined;
314
+ display?: "auth" | "anon" | "always" | undefined;
315
+ }>, "many">;
316
+ sidebar: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>;
317
+ theme: z.ZodObject<{
318
+ light: z.ZodOptional<z.ZodObject<{
319
+ background: z.ZodOptional<z.ZodString>;
320
+ foreground: z.ZodOptional<z.ZodString>;
321
+ card: z.ZodOptional<z.ZodString>;
322
+ cardForeground: z.ZodOptional<z.ZodString>;
323
+ popover: z.ZodOptional<z.ZodString>;
324
+ popoverForeground: z.ZodOptional<z.ZodString>;
325
+ primary: z.ZodOptional<z.ZodString>;
326
+ primaryForeground: z.ZodOptional<z.ZodString>;
327
+ secondary: z.ZodOptional<z.ZodString>;
328
+ secondaryForeground: z.ZodOptional<z.ZodString>;
329
+ muted: z.ZodOptional<z.ZodString>;
330
+ mutedForeground: z.ZodOptional<z.ZodString>;
331
+ accent: z.ZodOptional<z.ZodString>;
332
+ accentForeground: z.ZodOptional<z.ZodString>;
333
+ destructive: z.ZodOptional<z.ZodString>;
334
+ destructiveForeground: z.ZodOptional<z.ZodString>;
335
+ border: z.ZodOptional<z.ZodString>;
336
+ input: z.ZodOptional<z.ZodString>;
337
+ ring: z.ZodOptional<z.ZodString>;
338
+ radius: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ input?: string | undefined;
341
+ radius?: string | undefined;
342
+ border?: string | undefined;
343
+ popover?: string | undefined;
344
+ background?: string | undefined;
345
+ foreground?: string | undefined;
346
+ card?: string | undefined;
347
+ cardForeground?: string | undefined;
348
+ popoverForeground?: string | undefined;
349
+ primary?: string | undefined;
350
+ primaryForeground?: string | undefined;
351
+ secondary?: string | undefined;
352
+ secondaryForeground?: string | undefined;
353
+ muted?: string | undefined;
354
+ mutedForeground?: string | undefined;
355
+ accent?: string | undefined;
356
+ accentForeground?: string | undefined;
357
+ destructive?: string | undefined;
358
+ destructiveForeground?: string | undefined;
359
+ ring?: string | undefined;
360
+ }, {
361
+ input?: string | undefined;
362
+ radius?: string | undefined;
363
+ border?: string | undefined;
364
+ popover?: string | undefined;
365
+ background?: string | undefined;
366
+ foreground?: string | undefined;
367
+ card?: string | undefined;
368
+ cardForeground?: string | undefined;
369
+ popoverForeground?: string | undefined;
370
+ primary?: string | undefined;
371
+ primaryForeground?: string | undefined;
372
+ secondary?: string | undefined;
373
+ secondaryForeground?: string | undefined;
374
+ muted?: string | undefined;
375
+ mutedForeground?: string | undefined;
376
+ accent?: string | undefined;
377
+ accentForeground?: string | undefined;
378
+ destructive?: string | undefined;
379
+ destructiveForeground?: string | undefined;
380
+ ring?: string | undefined;
381
+ }>>;
382
+ dark: z.ZodOptional<z.ZodObject<{
383
+ background: z.ZodOptional<z.ZodString>;
384
+ foreground: z.ZodOptional<z.ZodString>;
385
+ card: z.ZodOptional<z.ZodString>;
386
+ cardForeground: z.ZodOptional<z.ZodString>;
387
+ popover: z.ZodOptional<z.ZodString>;
388
+ popoverForeground: z.ZodOptional<z.ZodString>;
389
+ primary: z.ZodOptional<z.ZodString>;
390
+ primaryForeground: z.ZodOptional<z.ZodString>;
391
+ secondary: z.ZodOptional<z.ZodString>;
392
+ secondaryForeground: z.ZodOptional<z.ZodString>;
393
+ muted: z.ZodOptional<z.ZodString>;
394
+ mutedForeground: z.ZodOptional<z.ZodString>;
395
+ accent: z.ZodOptional<z.ZodString>;
396
+ accentForeground: z.ZodOptional<z.ZodString>;
397
+ destructive: z.ZodOptional<z.ZodString>;
398
+ destructiveForeground: z.ZodOptional<z.ZodString>;
399
+ border: z.ZodOptional<z.ZodString>;
400
+ input: z.ZodOptional<z.ZodString>;
401
+ ring: z.ZodOptional<z.ZodString>;
402
+ radius: z.ZodOptional<z.ZodString>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ input?: string | undefined;
405
+ radius?: string | undefined;
406
+ border?: string | undefined;
407
+ popover?: string | undefined;
408
+ background?: string | undefined;
409
+ foreground?: string | undefined;
410
+ card?: string | undefined;
411
+ cardForeground?: string | undefined;
412
+ popoverForeground?: string | undefined;
413
+ primary?: string | undefined;
414
+ primaryForeground?: string | undefined;
415
+ secondary?: string | undefined;
416
+ secondaryForeground?: string | undefined;
417
+ muted?: string | undefined;
418
+ mutedForeground?: string | undefined;
419
+ accent?: string | undefined;
420
+ accentForeground?: string | undefined;
421
+ destructive?: string | undefined;
422
+ destructiveForeground?: string | undefined;
423
+ ring?: string | undefined;
424
+ }, {
425
+ input?: string | undefined;
426
+ radius?: string | undefined;
427
+ border?: string | undefined;
428
+ popover?: string | undefined;
429
+ background?: string | undefined;
430
+ foreground?: string | undefined;
431
+ card?: string | undefined;
432
+ cardForeground?: string | undefined;
433
+ popoverForeground?: string | undefined;
434
+ primary?: string | undefined;
435
+ primaryForeground?: string | undefined;
436
+ secondary?: string | undefined;
437
+ secondaryForeground?: string | undefined;
438
+ muted?: string | undefined;
439
+ mutedForeground?: string | undefined;
440
+ accent?: string | undefined;
441
+ accentForeground?: string | undefined;
442
+ destructive?: string | undefined;
443
+ destructiveForeground?: string | undefined;
444
+ ring?: string | undefined;
445
+ }>>;
446
+ fonts: z.ZodOptional<z.ZodObject<{
447
+ sans: z.ZodOptional<z.ZodObject<{
448
+ url: z.ZodString;
449
+ fontFamily: z.ZodString;
450
+ }, "strip", z.ZodTypeAny, {
451
+ url: string;
452
+ fontFamily: string;
453
+ }, {
454
+ url: string;
455
+ fontFamily: string;
456
+ }>>;
457
+ mono: z.ZodOptional<z.ZodObject<{
458
+ url: z.ZodString;
459
+ fontFamily: z.ZodString;
460
+ }, "strip", z.ZodTypeAny, {
461
+ url: string;
462
+ fontFamily: string;
463
+ }, {
464
+ url: string;
465
+ fontFamily: string;
466
+ }>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ sans?: {
469
+ url: string;
470
+ fontFamily: string;
471
+ } | undefined;
472
+ mono?: {
473
+ url: string;
474
+ fontFamily: string;
475
+ } | undefined;
476
+ }, {
477
+ sans?: {
478
+ url: string;
479
+ fontFamily: string;
480
+ } | undefined;
481
+ mono?: {
482
+ url: string;
483
+ fontFamily: string;
484
+ } | undefined;
485
+ }>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ dark?: {
488
+ input?: string | undefined;
489
+ radius?: string | undefined;
490
+ border?: string | undefined;
491
+ popover?: string | undefined;
492
+ background?: string | undefined;
493
+ foreground?: string | undefined;
494
+ card?: string | undefined;
495
+ cardForeground?: string | undefined;
496
+ popoverForeground?: string | undefined;
497
+ primary?: string | undefined;
498
+ primaryForeground?: string | undefined;
499
+ secondary?: string | undefined;
500
+ secondaryForeground?: string | undefined;
501
+ muted?: string | undefined;
502
+ mutedForeground?: string | undefined;
503
+ accent?: string | undefined;
504
+ accentForeground?: string | undefined;
505
+ destructive?: string | undefined;
506
+ destructiveForeground?: string | undefined;
507
+ ring?: string | undefined;
508
+ } | undefined;
509
+ light?: {
510
+ input?: string | undefined;
511
+ radius?: string | undefined;
512
+ border?: string | undefined;
513
+ popover?: string | undefined;
514
+ background?: string | undefined;
515
+ foreground?: string | undefined;
516
+ card?: string | undefined;
517
+ cardForeground?: string | undefined;
518
+ popoverForeground?: string | undefined;
519
+ primary?: string | undefined;
520
+ primaryForeground?: string | undefined;
521
+ secondary?: string | undefined;
522
+ secondaryForeground?: string | undefined;
523
+ muted?: string | undefined;
524
+ mutedForeground?: string | undefined;
525
+ accent?: string | undefined;
526
+ accentForeground?: string | undefined;
527
+ destructive?: string | undefined;
528
+ destructiveForeground?: string | undefined;
529
+ ring?: string | undefined;
530
+ } | undefined;
531
+ fonts?: {
532
+ sans?: {
533
+ url: string;
534
+ fontFamily: string;
535
+ } | undefined;
536
+ mono?: {
537
+ url: string;
538
+ fontFamily: string;
539
+ } | undefined;
540
+ } | undefined;
541
+ }, {
542
+ dark?: {
543
+ input?: string | undefined;
544
+ radius?: string | undefined;
545
+ border?: string | undefined;
546
+ popover?: string | undefined;
547
+ background?: string | undefined;
548
+ foreground?: string | undefined;
549
+ card?: string | undefined;
550
+ cardForeground?: string | undefined;
551
+ popoverForeground?: string | undefined;
552
+ primary?: string | undefined;
553
+ primaryForeground?: string | undefined;
554
+ secondary?: string | undefined;
555
+ secondaryForeground?: string | undefined;
556
+ muted?: string | undefined;
557
+ mutedForeground?: string | undefined;
558
+ accent?: string | undefined;
559
+ accentForeground?: string | undefined;
560
+ destructive?: string | undefined;
561
+ destructiveForeground?: string | undefined;
562
+ ring?: string | undefined;
563
+ } | undefined;
564
+ light?: {
565
+ input?: string | undefined;
566
+ radius?: string | undefined;
567
+ border?: string | undefined;
568
+ popover?: string | undefined;
569
+ background?: string | undefined;
570
+ foreground?: string | undefined;
571
+ card?: string | undefined;
572
+ cardForeground?: string | undefined;
573
+ popoverForeground?: string | undefined;
574
+ primary?: string | undefined;
575
+ primaryForeground?: string | undefined;
576
+ secondary?: string | undefined;
577
+ secondaryForeground?: string | undefined;
578
+ muted?: string | undefined;
579
+ mutedForeground?: string | undefined;
580
+ accent?: string | undefined;
581
+ accentForeground?: string | undefined;
582
+ destructive?: string | undefined;
583
+ destructiveForeground?: string | undefined;
584
+ ring?: string | undefined;
585
+ } | undefined;
586
+ fonts?: {
587
+ sans?: {
588
+ url: string;
589
+ fontFamily: string;
590
+ } | undefined;
591
+ mono?: {
592
+ url: string;
593
+ fontFamily: string;
594
+ } | undefined;
595
+ } | undefined;
596
+ }>;
597
+ metadata: z.ZodObject<{
598
+ title: z.ZodOptional<z.ZodString>;
599
+ description: z.ZodOptional<z.ZodString>;
600
+ logo: z.ZodOptional<z.ZodString>;
601
+ favicon: z.ZodOptional<z.ZodString>;
602
+ generator: z.ZodOptional<z.ZodString>;
603
+ applicationName: z.ZodOptional<z.ZodString>;
604
+ referrer: z.ZodOptional<z.ZodString>;
605
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
606
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
607
+ creator: z.ZodOptional<z.ZodString>;
608
+ publisher: z.ZodOptional<z.ZodString>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ description?: string | undefined;
611
+ title?: string | undefined;
612
+ logo?: string | undefined;
613
+ favicon?: string | undefined;
614
+ generator?: string | undefined;
615
+ applicationName?: string | undefined;
616
+ referrer?: string | undefined;
617
+ keywords?: string[] | undefined;
618
+ authors?: string[] | undefined;
619
+ creator?: string | undefined;
620
+ publisher?: string | undefined;
621
+ }, {
622
+ description?: string | undefined;
623
+ title?: string | undefined;
624
+ logo?: string | undefined;
625
+ favicon?: string | undefined;
626
+ generator?: string | undefined;
627
+ applicationName?: string | undefined;
628
+ referrer?: string | undefined;
629
+ keywords?: string[] | undefined;
630
+ authors?: string[] | undefined;
631
+ creator?: string | undefined;
632
+ publisher?: string | undefined;
633
+ }>;
634
+ authentication: z.ZodUnion<[z.ZodObject<{
635
+ type: z.ZodLiteral<"clerk">;
636
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
637
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
638
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
639
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ type: "clerk";
642
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
643
+ redirectToAfterSignUp?: string | undefined;
644
+ redirectToAfterSignIn?: string | undefined;
645
+ redirectToAfterSignOut?: string | undefined;
646
+ }, {
647
+ type: "clerk";
648
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
649
+ redirectToAfterSignUp?: string | undefined;
650
+ redirectToAfterSignIn?: string | undefined;
651
+ redirectToAfterSignOut?: string | undefined;
652
+ }>, z.ZodObject<{
653
+ type: z.ZodLiteral<"openid">;
654
+ clientId: z.ZodString;
655
+ issuer: z.ZodString;
656
+ audience: z.ZodOptional<z.ZodString>;
657
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
658
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
659
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
660
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ type: "openid";
663
+ clientId: string;
664
+ issuer: string;
665
+ redirectToAfterSignUp?: string | undefined;
666
+ redirectToAfterSignIn?: string | undefined;
667
+ redirectToAfterSignOut?: string | undefined;
668
+ audience?: string | undefined;
669
+ scopes?: string[] | undefined;
670
+ }, {
671
+ type: "openid";
672
+ clientId: string;
673
+ issuer: string;
674
+ redirectToAfterSignUp?: string | undefined;
675
+ redirectToAfterSignIn?: string | undefined;
676
+ redirectToAfterSignOut?: string | undefined;
677
+ audience?: string | undefined;
678
+ scopes?: string[] | undefined;
679
+ }>, z.ZodObject<{
680
+ type: z.ZodLiteral<"auth0">;
681
+ clientId: z.ZodString;
682
+ domain: z.ZodString;
683
+ audience: z.ZodOptional<z.ZodString>;
684
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
685
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
686
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ type: "auth0";
689
+ clientId: string;
690
+ domain: string;
691
+ redirectToAfterSignUp?: string | undefined;
692
+ redirectToAfterSignIn?: string | undefined;
693
+ redirectToAfterSignOut?: string | undefined;
694
+ audience?: string | undefined;
695
+ }, {
696
+ type: "auth0";
697
+ clientId: string;
698
+ domain: string;
699
+ redirectToAfterSignUp?: string | undefined;
700
+ redirectToAfterSignIn?: string | undefined;
701
+ redirectToAfterSignOut?: string | undefined;
702
+ audience?: string | undefined;
703
+ }>]>;
704
+ search: z.ZodOptional<z.ZodObject<{
705
+ type: z.ZodLiteral<"inkeep">;
706
+ apiKey: z.ZodString;
707
+ integrationId: z.ZodString;
708
+ organizationId: z.ZodString;
709
+ primaryBrandColor: z.ZodString;
710
+ organizationDisplayName: z.ZodString;
711
+ }, "strip", z.ZodTypeAny, {
712
+ type: "inkeep";
713
+ apiKey: string;
714
+ integrationId: string;
715
+ organizationId: string;
716
+ primaryBrandColor: string;
717
+ organizationDisplayName: string;
718
+ }, {
719
+ type: "inkeep";
720
+ apiKey: string;
721
+ integrationId: string;
722
+ organizationId: string;
723
+ primaryBrandColor: string;
724
+ organizationDisplayName: string;
725
+ }>>;
726
+ docs: z.ZodUnion<[z.ZodObject<{
727
+ files: z.ZodString;
728
+ defaultOptions: z.ZodOptional<z.ZodObject<{
729
+ toc: z.ZodOptional<z.ZodBoolean>;
730
+ disablePager: z.ZodOptional<z.ZodBoolean>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ toc?: boolean | undefined;
733
+ disablePager?: boolean | undefined;
734
+ }, {
735
+ toc?: boolean | undefined;
736
+ disablePager?: boolean | undefined;
737
+ }>>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ files: string;
740
+ defaultOptions?: {
741
+ toc?: boolean | undefined;
742
+ disablePager?: boolean | undefined;
743
+ } | undefined;
744
+ }, {
745
+ files: string;
746
+ defaultOptions?: {
747
+ toc?: boolean | undefined;
748
+ disablePager?: boolean | undefined;
749
+ } | undefined;
750
+ }>, z.ZodArray<z.ZodObject<{
751
+ files: z.ZodString;
752
+ defaultOptions: z.ZodOptional<z.ZodObject<{
753
+ toc: z.ZodOptional<z.ZodBoolean>;
754
+ disablePager: z.ZodOptional<z.ZodBoolean>;
755
+ }, "strip", z.ZodTypeAny, {
756
+ toc?: boolean | undefined;
757
+ disablePager?: boolean | undefined;
758
+ }, {
759
+ toc?: boolean | undefined;
760
+ disablePager?: boolean | undefined;
761
+ }>>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ files: string;
764
+ defaultOptions?: {
765
+ toc?: boolean | undefined;
766
+ disablePager?: boolean | undefined;
767
+ } | undefined;
768
+ }, {
769
+ files: string;
770
+ defaultOptions?: {
771
+ toc?: boolean | undefined;
772
+ disablePager?: boolean | undefined;
773
+ } | undefined;
774
+ }>, "many">]>;
775
+ apis: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
776
+ type: z.ZodLiteral<"url">;
777
+ input: z.ZodString;
778
+ }, {
779
+ id: z.ZodOptional<z.ZodString>;
780
+ server: z.ZodOptional<z.ZodString>;
781
+ navigationId: z.ZodOptional<z.ZodString>;
782
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
783
+ label: z.ZodString;
784
+ tags: z.ZodArray<z.ZodString, "many">;
785
+ }, "strip", z.ZodTypeAny, {
786
+ tags: string[];
787
+ label: string;
788
+ }, {
789
+ tags: string[];
790
+ label: string;
791
+ }>, "many">>;
792
+ }>, "strip", z.ZodTypeAny, {
793
+ type: "url";
794
+ input: string;
795
+ server?: string | undefined;
796
+ id?: string | undefined;
797
+ navigationId?: string | undefined;
798
+ categories?: {
799
+ tags: string[];
800
+ label: string;
801
+ }[] | undefined;
802
+ }, {
803
+ type: "url";
804
+ input: string;
805
+ server?: string | undefined;
806
+ id?: string | undefined;
807
+ navigationId?: string | undefined;
808
+ categories?: {
809
+ tags: string[];
810
+ label: string;
811
+ }[] | undefined;
812
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
813
+ type: z.ZodLiteral<"file">;
814
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
815
+ }, {
816
+ id: z.ZodOptional<z.ZodString>;
817
+ server: z.ZodOptional<z.ZodString>;
818
+ navigationId: z.ZodOptional<z.ZodString>;
819
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
820
+ label: z.ZodString;
821
+ tags: z.ZodArray<z.ZodString, "many">;
822
+ }, "strip", z.ZodTypeAny, {
823
+ tags: string[];
824
+ label: string;
825
+ }, {
826
+ tags: string[];
827
+ label: string;
828
+ }>, "many">>;
829
+ }>, {
830
+ 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">>;
831
+ }>, "strip", z.ZodTypeAny, {
832
+ type: "file";
833
+ input: string | string[];
834
+ server?: string | undefined;
835
+ id?: string | undefined;
836
+ navigationId?: string | undefined;
837
+ categories?: {
838
+ tags: string[];
839
+ label: string;
840
+ }[] | undefined;
841
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
842
+ }, {
843
+ type: "file";
844
+ input: string | string[];
845
+ server?: string | undefined;
846
+ id?: string | undefined;
847
+ navigationId?: string | undefined;
848
+ categories?: {
849
+ tags: string[];
850
+ label: string;
851
+ }[] | undefined;
852
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
853
+ }>, z.ZodObject<z.objectUtil.extendShape<{
854
+ type: z.ZodLiteral<"raw">;
855
+ input: z.ZodString;
856
+ }, {
857
+ id: z.ZodOptional<z.ZodString>;
858
+ server: z.ZodOptional<z.ZodString>;
859
+ navigationId: z.ZodOptional<z.ZodString>;
860
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
861
+ label: z.ZodString;
862
+ tags: z.ZodArray<z.ZodString, "many">;
863
+ }, "strip", z.ZodTypeAny, {
864
+ tags: string[];
865
+ label: string;
866
+ }, {
867
+ tags: string[];
868
+ label: string;
869
+ }>, "many">>;
870
+ }>, "strip", z.ZodTypeAny, {
871
+ type: "raw";
872
+ input: string;
873
+ server?: string | undefined;
874
+ id?: string | undefined;
875
+ navigationId?: string | undefined;
876
+ categories?: {
877
+ tags: string[];
878
+ label: string;
879
+ }[] | undefined;
880
+ }, {
881
+ type: "raw";
882
+ input: string;
883
+ server?: string | undefined;
884
+ id?: string | undefined;
885
+ navigationId?: string | undefined;
886
+ categories?: {
887
+ tags: string[];
888
+ label: string;
889
+ }[] | undefined;
890
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
891
+ type: z.ZodLiteral<"url">;
892
+ input: z.ZodString;
893
+ }, {
894
+ id: z.ZodOptional<z.ZodString>;
895
+ server: z.ZodOptional<z.ZodString>;
896
+ navigationId: z.ZodOptional<z.ZodString>;
897
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
898
+ label: z.ZodString;
899
+ tags: z.ZodArray<z.ZodString, "many">;
900
+ }, "strip", z.ZodTypeAny, {
901
+ tags: string[];
902
+ label: string;
903
+ }, {
904
+ tags: string[];
905
+ label: string;
906
+ }>, "many">>;
907
+ }>, "strip", z.ZodTypeAny, {
908
+ type: "url";
909
+ input: string;
910
+ server?: string | undefined;
911
+ id?: string | undefined;
912
+ navigationId?: string | undefined;
913
+ categories?: {
914
+ tags: string[];
915
+ label: string;
916
+ }[] | undefined;
917
+ }, {
918
+ type: "url";
919
+ input: string;
920
+ server?: string | undefined;
921
+ id?: string | undefined;
922
+ navigationId?: string | undefined;
923
+ categories?: {
924
+ tags: string[];
925
+ label: string;
926
+ }[] | undefined;
927
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
928
+ type: z.ZodLiteral<"file">;
929
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
930
+ }, {
931
+ id: z.ZodOptional<z.ZodString>;
932
+ server: z.ZodOptional<z.ZodString>;
933
+ navigationId: z.ZodOptional<z.ZodString>;
934
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
935
+ label: z.ZodString;
936
+ tags: z.ZodArray<z.ZodString, "many">;
937
+ }, "strip", z.ZodTypeAny, {
938
+ tags: string[];
939
+ label: string;
940
+ }, {
941
+ tags: string[];
942
+ label: string;
943
+ }>, "many">>;
944
+ }>, {
945
+ 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">>;
946
+ }>, "strip", z.ZodTypeAny, {
947
+ type: "file";
948
+ input: string | string[];
949
+ server?: string | undefined;
950
+ id?: string | undefined;
951
+ navigationId?: string | undefined;
952
+ categories?: {
953
+ tags: string[];
954
+ label: string;
955
+ }[] | undefined;
956
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
957
+ }, {
958
+ type: "file";
959
+ input: string | string[];
960
+ server?: string | undefined;
961
+ id?: string | undefined;
962
+ navigationId?: string | undefined;
963
+ categories?: {
964
+ tags: string[];
965
+ label: string;
966
+ }[] | undefined;
967
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
968
+ }>, z.ZodObject<z.objectUtil.extendShape<{
969
+ type: z.ZodLiteral<"raw">;
970
+ input: z.ZodString;
971
+ }, {
972
+ id: z.ZodOptional<z.ZodString>;
973
+ server: z.ZodOptional<z.ZodString>;
974
+ navigationId: z.ZodOptional<z.ZodString>;
975
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
976
+ label: z.ZodString;
977
+ tags: z.ZodArray<z.ZodString, "many">;
978
+ }, "strip", z.ZodTypeAny, {
979
+ tags: string[];
980
+ label: string;
981
+ }, {
982
+ tags: string[];
983
+ label: string;
984
+ }>, "many">>;
985
+ }>, "strip", z.ZodTypeAny, {
986
+ type: "raw";
987
+ input: string;
988
+ server?: string | undefined;
989
+ id?: string | undefined;
990
+ navigationId?: string | undefined;
991
+ categories?: {
992
+ tags: string[];
993
+ label: string;
994
+ }[] | undefined;
995
+ }, {
996
+ type: "raw";
997
+ input: string;
998
+ server?: string | undefined;
999
+ id?: string | undefined;
1000
+ navigationId?: string | undefined;
1001
+ categories?: {
1002
+ tags: string[];
1003
+ label: string;
1004
+ }[] | undefined;
1005
+ }>]>, "many">]>;
1006
+ catalogs: z.ZodUnion<[z.ZodObject<{
1007
+ navigationId: z.ZodString;
1008
+ label: z.ZodString;
1009
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1010
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ label: string;
1013
+ navigationId: string;
1014
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1015
+ items?: string[] | undefined;
1016
+ }, {
1017
+ label: string;
1018
+ navigationId: string;
1019
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1020
+ items?: string[] | undefined;
1021
+ }>, z.ZodArray<z.ZodObject<{
1022
+ navigationId: z.ZodString;
1023
+ label: z.ZodString;
1024
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1025
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ label: string;
1028
+ navigationId: string;
1029
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1030
+ items?: string[] | undefined;
1031
+ }, {
1032
+ label: string;
1033
+ navigationId: string;
1034
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1035
+ items?: string[] | undefined;
1036
+ }>, "many">]>;
1037
+ apiKeys: z.ZodUnion<[z.ZodObject<{
1038
+ enabled: z.ZodBoolean;
1039
+ endpoint: z.ZodString;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ enabled: boolean;
1042
+ endpoint: string;
1043
+ }, {
1044
+ enabled: boolean;
1045
+ endpoint: string;
1046
+ }>, z.ZodObject<{
1047
+ enabled: z.ZodBoolean;
1048
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
1049
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
1050
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
1051
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
1052
+ id: string;
1053
+ description: string;
1054
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
1055
+ id: string;
1056
+ description: string;
1057
+ }, context: ZudokuContext) => Promise<void>>>;
1058
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
1059
+ description: string;
1060
+ expiresOn?: string;
1061
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
1062
+ description: string;
1063
+ expiresOn?: string;
1064
+ }, context: ZudokuContext) => Promise<void>>>;
1065
+ }, "strip", z.ZodTypeAny, {
1066
+ enabled: boolean;
1067
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1068
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1069
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1070
+ updateKeyDescription?: ((apiKey: {
1071
+ id: string;
1072
+ description: string;
1073
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1074
+ createKey?: ((apiKey: {
1075
+ description: string;
1076
+ expiresOn?: string;
1077
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1078
+ }, {
1079
+ enabled: boolean;
1080
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1081
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1082
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1083
+ updateKeyDescription?: ((apiKey: {
1084
+ id: string;
1085
+ description: string;
1086
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1087
+ createKey?: ((apiKey: {
1088
+ description: string;
1089
+ expiresOn?: string;
1090
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1091
+ }>]>;
1092
+ redirects: z.ZodArray<z.ZodObject<{
1093
+ from: z.ZodString;
1094
+ to: z.ZodString;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ from: string;
1097
+ to: string;
1098
+ }, {
1099
+ from: string;
1100
+ to: string;
1101
+ }>, "many">;
1102
+ sitemap: z.ZodOptional<z.ZodObject<{
1103
+ /**
1104
+ * Base url of your website
1105
+ */
1106
+ siteUrl: z.ZodString;
1107
+ /**
1108
+ * Change frequency.
1109
+ * @default 'daily'
1110
+ */
1111
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
1112
+ /**
1113
+ * Priority
1114
+ * @default 0.7
1115
+ */
1116
+ priority: z.ZodOptional<z.ZodNumber>;
1117
+ outDir: z.ZodOptional<z.ZodString>;
1118
+ /**
1119
+ * Add <lastmod/> property.
1120
+ * @default true
1121
+ */
1122
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
1123
+ /**
1124
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
1125
+ * @example ['/page-0', '/page/example']
1126
+ */
1127
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ siteUrl: string;
1130
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1131
+ priority?: number | undefined;
1132
+ outDir?: string | undefined;
1133
+ autoLastmod?: boolean | undefined;
1134
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1135
+ }, {
1136
+ siteUrl: string;
1137
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1138
+ priority?: number | undefined;
1139
+ outDir?: string | undefined;
1140
+ autoLastmod?: boolean | undefined;
1141
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1142
+ }>>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ metadata: {
1145
+ description?: string | undefined;
1146
+ title?: string | undefined;
1147
+ logo?: string | undefined;
1148
+ favicon?: string | undefined;
1149
+ generator?: string | undefined;
1150
+ applicationName?: string | undefined;
1151
+ referrer?: string | undefined;
1152
+ keywords?: string[] | undefined;
1153
+ authors?: string[] | undefined;
1154
+ creator?: string | undefined;
1155
+ publisher?: string | undefined;
1156
+ };
1157
+ theme: {
1158
+ dark?: {
1159
+ input?: string | undefined;
1160
+ radius?: string | undefined;
1161
+ border?: string | undefined;
1162
+ popover?: string | undefined;
1163
+ background?: string | undefined;
1164
+ foreground?: string | undefined;
1165
+ card?: string | undefined;
1166
+ cardForeground?: string | undefined;
1167
+ popoverForeground?: string | undefined;
1168
+ primary?: string | undefined;
1169
+ primaryForeground?: string | undefined;
1170
+ secondary?: string | undefined;
1171
+ secondaryForeground?: string | undefined;
1172
+ muted?: string | undefined;
1173
+ mutedForeground?: string | undefined;
1174
+ accent?: string | undefined;
1175
+ accentForeground?: string | undefined;
1176
+ destructive?: string | undefined;
1177
+ destructiveForeground?: string | undefined;
1178
+ ring?: string | undefined;
1179
+ } | undefined;
1180
+ light?: {
1181
+ input?: string | undefined;
1182
+ radius?: string | undefined;
1183
+ border?: string | undefined;
1184
+ popover?: string | undefined;
1185
+ background?: string | undefined;
1186
+ foreground?: string | undefined;
1187
+ card?: string | undefined;
1188
+ cardForeground?: string | undefined;
1189
+ popoverForeground?: string | undefined;
1190
+ primary?: string | undefined;
1191
+ primaryForeground?: string | undefined;
1192
+ secondary?: string | undefined;
1193
+ secondaryForeground?: string | undefined;
1194
+ muted?: string | undefined;
1195
+ mutedForeground?: string | undefined;
1196
+ accent?: string | undefined;
1197
+ accentForeground?: string | undefined;
1198
+ destructive?: string | undefined;
1199
+ destructiveForeground?: string | undefined;
1200
+ ring?: string | undefined;
1201
+ } | undefined;
1202
+ fonts?: {
1203
+ sans?: {
1204
+ url: string;
1205
+ fontFamily: string;
1206
+ } | undefined;
1207
+ mono?: {
1208
+ url: string;
1209
+ fontFamily: string;
1210
+ } | undefined;
1211
+ } | undefined;
1212
+ };
1213
+ page: {
1214
+ pageTitle?: string | undefined;
1215
+ logoUrl?: string | undefined;
1216
+ logo?: {
1217
+ src: {
1218
+ dark: string;
1219
+ light: string;
1220
+ };
1221
+ width?: string | undefined;
1222
+ alt?: string | undefined;
1223
+ } | undefined;
1224
+ banner?: {
1225
+ message: NonNullable<ReactNode>;
1226
+ color?: BannerColorType;
1227
+ dismissible?: boolean | undefined;
1228
+ } | undefined;
1229
+ };
1230
+ topNavigation: {
1231
+ id: string;
1232
+ label: string;
1233
+ default?: string | undefined;
1234
+ display?: "auth" | "anon" | "always" | undefined;
1235
+ }[];
1236
+ sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
1237
+ authentication: {
1238
+ type: "clerk";
1239
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1240
+ redirectToAfterSignUp?: string | undefined;
1241
+ redirectToAfterSignIn?: string | undefined;
1242
+ redirectToAfterSignOut?: string | undefined;
1243
+ } | {
1244
+ type: "openid";
1245
+ clientId: string;
1246
+ issuer: string;
1247
+ redirectToAfterSignUp?: string | undefined;
1248
+ redirectToAfterSignIn?: string | undefined;
1249
+ redirectToAfterSignOut?: string | undefined;
1250
+ audience?: string | undefined;
1251
+ scopes?: string[] | undefined;
1252
+ } | {
1253
+ type: "auth0";
1254
+ clientId: string;
1255
+ domain: string;
1256
+ redirectToAfterSignUp?: string | undefined;
1257
+ redirectToAfterSignIn?: string | undefined;
1258
+ redirectToAfterSignOut?: string | undefined;
1259
+ audience?: string | undefined;
1260
+ };
1261
+ docs: {
1262
+ files: string;
1263
+ defaultOptions?: {
1264
+ toc?: boolean | undefined;
1265
+ disablePager?: boolean | undefined;
1266
+ } | undefined;
1267
+ } | {
1268
+ files: string;
1269
+ defaultOptions?: {
1270
+ toc?: boolean | undefined;
1271
+ disablePager?: boolean | undefined;
1272
+ } | undefined;
1273
+ }[];
1274
+ apis: {
1275
+ type: "url";
1276
+ input: string;
1277
+ server?: string | undefined;
1278
+ id?: string | undefined;
1279
+ navigationId?: string | undefined;
1280
+ categories?: {
1281
+ tags: string[];
1282
+ label: string;
1283
+ }[] | undefined;
1284
+ } | {
1285
+ type: "file";
1286
+ input: string | string[];
1287
+ server?: string | undefined;
1288
+ id?: string | undefined;
1289
+ navigationId?: string | undefined;
1290
+ categories?: {
1291
+ tags: string[];
1292
+ label: string;
1293
+ }[] | undefined;
1294
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1295
+ } | {
1296
+ type: "raw";
1297
+ input: string;
1298
+ server?: string | undefined;
1299
+ id?: string | undefined;
1300
+ navigationId?: string | undefined;
1301
+ categories?: {
1302
+ tags: string[];
1303
+ label: string;
1304
+ }[] | undefined;
1305
+ } | ({
1306
+ type: "url";
1307
+ input: string;
1308
+ server?: string | undefined;
1309
+ id?: string | undefined;
1310
+ navigationId?: string | undefined;
1311
+ categories?: {
1312
+ tags: string[];
1313
+ label: string;
1314
+ }[] | undefined;
1315
+ } | {
1316
+ type: "file";
1317
+ input: string | string[];
1318
+ server?: string | undefined;
1319
+ id?: string | undefined;
1320
+ navigationId?: string | undefined;
1321
+ categories?: {
1322
+ tags: string[];
1323
+ label: string;
1324
+ }[] | undefined;
1325
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1326
+ } | {
1327
+ type: "raw";
1328
+ input: string;
1329
+ server?: string | undefined;
1330
+ id?: string | undefined;
1331
+ navigationId?: string | undefined;
1332
+ categories?: {
1333
+ tags: string[];
1334
+ label: string;
1335
+ }[] | undefined;
1336
+ })[];
1337
+ catalogs: {
1338
+ label: string;
1339
+ navigationId: string;
1340
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1341
+ items?: string[] | undefined;
1342
+ } | {
1343
+ label: string;
1344
+ navigationId: string;
1345
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1346
+ items?: string[] | undefined;
1347
+ }[];
1348
+ apiKeys: {
1349
+ enabled: boolean;
1350
+ endpoint: string;
1351
+ } | {
1352
+ enabled: boolean;
1353
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1354
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1355
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1356
+ updateKeyDescription?: ((apiKey: {
1357
+ id: string;
1358
+ description: string;
1359
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1360
+ createKey?: ((apiKey: {
1361
+ description: string;
1362
+ expiresOn?: string;
1363
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1364
+ };
1365
+ redirects: {
1366
+ from: string;
1367
+ to: string;
1368
+ }[];
1369
+ search?: {
1370
+ type: "inkeep";
1371
+ apiKey: string;
1372
+ integrationId: string;
1373
+ organizationId: string;
1374
+ primaryBrandColor: string;
1375
+ organizationDisplayName: string;
1376
+ } | undefined;
1377
+ basePath?: string | undefined;
1378
+ sitemap?: {
1379
+ siteUrl: string;
1380
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1381
+ priority?: number | undefined;
1382
+ outDir?: string | undefined;
1383
+ autoLastmod?: boolean | undefined;
1384
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1385
+ } | undefined;
1386
+ }, {
1387
+ metadata: {
1388
+ description?: string | undefined;
1389
+ title?: string | undefined;
1390
+ logo?: string | undefined;
1391
+ favicon?: string | undefined;
1392
+ generator?: string | undefined;
1393
+ applicationName?: string | undefined;
1394
+ referrer?: string | undefined;
1395
+ keywords?: string[] | undefined;
1396
+ authors?: string[] | undefined;
1397
+ creator?: string | undefined;
1398
+ publisher?: string | undefined;
1399
+ };
1400
+ theme: {
1401
+ dark?: {
1402
+ input?: string | undefined;
1403
+ radius?: string | undefined;
1404
+ border?: string | undefined;
1405
+ popover?: string | undefined;
1406
+ background?: string | undefined;
1407
+ foreground?: string | undefined;
1408
+ card?: string | undefined;
1409
+ cardForeground?: string | undefined;
1410
+ popoverForeground?: string | undefined;
1411
+ primary?: string | undefined;
1412
+ primaryForeground?: string | undefined;
1413
+ secondary?: string | undefined;
1414
+ secondaryForeground?: string | undefined;
1415
+ muted?: string | undefined;
1416
+ mutedForeground?: string | undefined;
1417
+ accent?: string | undefined;
1418
+ accentForeground?: string | undefined;
1419
+ destructive?: string | undefined;
1420
+ destructiveForeground?: string | undefined;
1421
+ ring?: string | undefined;
1422
+ } | undefined;
1423
+ light?: {
1424
+ input?: string | undefined;
1425
+ radius?: string | undefined;
1426
+ border?: string | undefined;
1427
+ popover?: string | undefined;
1428
+ background?: string | undefined;
1429
+ foreground?: string | undefined;
1430
+ card?: string | undefined;
1431
+ cardForeground?: string | undefined;
1432
+ popoverForeground?: string | undefined;
1433
+ primary?: string | undefined;
1434
+ primaryForeground?: string | undefined;
1435
+ secondary?: string | undefined;
1436
+ secondaryForeground?: string | undefined;
1437
+ muted?: string | undefined;
1438
+ mutedForeground?: string | undefined;
1439
+ accent?: string | undefined;
1440
+ accentForeground?: string | undefined;
1441
+ destructive?: string | undefined;
1442
+ destructiveForeground?: string | undefined;
1443
+ ring?: string | undefined;
1444
+ } | undefined;
1445
+ fonts?: {
1446
+ sans?: {
1447
+ url: string;
1448
+ fontFamily: string;
1449
+ } | undefined;
1450
+ mono?: {
1451
+ url: string;
1452
+ fontFamily: string;
1453
+ } | undefined;
1454
+ } | undefined;
1455
+ };
1456
+ page: {
1457
+ pageTitle?: string | undefined;
1458
+ logoUrl?: string | undefined;
1459
+ logo?: {
1460
+ src: {
1461
+ dark: string;
1462
+ light: string;
1463
+ };
1464
+ width?: string | undefined;
1465
+ alt?: string | undefined;
1466
+ } | undefined;
1467
+ banner?: {
1468
+ message: NonNullable<ReactNode>;
1469
+ color?: BannerColorType;
1470
+ dismissible?: boolean | undefined;
1471
+ } | undefined;
1472
+ };
1473
+ topNavigation: {
1474
+ id: string;
1475
+ label: string;
1476
+ default?: string | undefined;
1477
+ display?: "auth" | "anon" | "always" | undefined;
1478
+ }[];
1479
+ sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
1480
+ authentication: {
1481
+ type: "clerk";
1482
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1483
+ redirectToAfterSignUp?: string | undefined;
1484
+ redirectToAfterSignIn?: string | undefined;
1485
+ redirectToAfterSignOut?: string | undefined;
1486
+ } | {
1487
+ type: "openid";
1488
+ clientId: string;
1489
+ issuer: string;
1490
+ redirectToAfterSignUp?: string | undefined;
1491
+ redirectToAfterSignIn?: string | undefined;
1492
+ redirectToAfterSignOut?: string | undefined;
1493
+ audience?: string | undefined;
1494
+ scopes?: string[] | undefined;
1495
+ } | {
1496
+ type: "auth0";
1497
+ clientId: string;
1498
+ domain: string;
1499
+ redirectToAfterSignUp?: string | undefined;
1500
+ redirectToAfterSignIn?: string | undefined;
1501
+ redirectToAfterSignOut?: string | undefined;
1502
+ audience?: string | undefined;
1503
+ };
1504
+ docs: {
1505
+ files: string;
1506
+ defaultOptions?: {
1507
+ toc?: boolean | undefined;
1508
+ disablePager?: boolean | undefined;
1509
+ } | undefined;
1510
+ } | {
1511
+ files: string;
1512
+ defaultOptions?: {
1513
+ toc?: boolean | undefined;
1514
+ disablePager?: boolean | undefined;
1515
+ } | undefined;
1516
+ }[];
1517
+ apis: {
1518
+ type: "url";
1519
+ input: string;
1520
+ server?: string | undefined;
1521
+ id?: string | undefined;
1522
+ navigationId?: string | undefined;
1523
+ categories?: {
1524
+ tags: string[];
1525
+ label: string;
1526
+ }[] | undefined;
1527
+ } | {
1528
+ type: "file";
1529
+ input: string | string[];
1530
+ server?: string | undefined;
1531
+ id?: string | undefined;
1532
+ navigationId?: string | undefined;
1533
+ categories?: {
1534
+ tags: string[];
1535
+ label: string;
1536
+ }[] | undefined;
1537
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1538
+ } | {
1539
+ type: "raw";
1540
+ input: string;
1541
+ server?: string | undefined;
1542
+ id?: string | undefined;
1543
+ navigationId?: string | undefined;
1544
+ categories?: {
1545
+ tags: string[];
1546
+ label: string;
1547
+ }[] | undefined;
1548
+ } | ({
1549
+ type: "url";
1550
+ input: string;
1551
+ server?: string | undefined;
1552
+ id?: string | undefined;
1553
+ navigationId?: string | undefined;
1554
+ categories?: {
1555
+ tags: string[];
1556
+ label: string;
1557
+ }[] | undefined;
1558
+ } | {
1559
+ type: "file";
1560
+ input: string | string[];
1561
+ server?: string | undefined;
1562
+ id?: string | undefined;
1563
+ navigationId?: string | undefined;
1564
+ categories?: {
1565
+ tags: string[];
1566
+ label: string;
1567
+ }[] | undefined;
1568
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1569
+ } | {
1570
+ type: "raw";
1571
+ input: string;
1572
+ server?: string | undefined;
1573
+ id?: string | undefined;
1574
+ navigationId?: string | undefined;
1575
+ categories?: {
1576
+ tags: string[];
1577
+ label: string;
1578
+ }[] | undefined;
1579
+ })[];
1580
+ catalogs: {
1581
+ label: string;
1582
+ navigationId: string;
1583
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1584
+ items?: string[] | undefined;
1585
+ } | {
1586
+ label: string;
1587
+ navigationId: string;
1588
+ filterItems: (args_0: any, ...args: unknown[]) => any;
1589
+ items?: string[] | undefined;
1590
+ }[];
1591
+ apiKeys: {
1592
+ enabled: boolean;
1593
+ endpoint: string;
1594
+ } | {
1595
+ enabled: boolean;
1596
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1597
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1598
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1599
+ updateKeyDescription?: ((apiKey: {
1600
+ id: string;
1601
+ description: string;
1602
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1603
+ createKey?: ((apiKey: {
1604
+ description: string;
1605
+ expiresOn?: string;
1606
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1607
+ };
1608
+ redirects: {
1609
+ from: string;
1610
+ to: string;
1611
+ }[];
1612
+ search?: {
1613
+ type: "inkeep";
1614
+ apiKey: string;
1615
+ integrationId: string;
1616
+ organizationId: string;
1617
+ primaryBrandColor: string;
1618
+ organizationDisplayName: string;
1619
+ } | undefined;
1620
+ basePath?: string | undefined;
1621
+ sitemap?: {
1622
+ siteUrl: string;
1623
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1624
+ priority?: number | undefined;
1625
+ outDir?: string | undefined;
1626
+ autoLastmod?: boolean | undefined;
1627
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1628
+ } | undefined;
1629
+ }>;
1630
+ export declare const refine: (config: z.output<typeof CommonConfigSchemaPartial>, ctx: RefinementCtx) => void;
1631
+ declare const CommonConfigSchemaPartial: z.ZodObject<{
1632
+ basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1633
+ page: z.ZodOptional<z.ZodObject<{
1634
+ pageTitle: z.ZodOptional<z.ZodString>;
1635
+ logoUrl: z.ZodOptional<z.ZodString>;
1636
+ logo: z.ZodOptional<z.ZodObject<{
1637
+ src: z.ZodObject<{
1638
+ light: z.ZodString;
1639
+ dark: z.ZodString;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ dark: string;
1642
+ light: string;
1643
+ }, {
1644
+ dark: string;
1645
+ light: string;
1646
+ }>;
1647
+ alt: z.ZodOptional<z.ZodString>;
1648
+ width: z.ZodOptional<z.ZodString>;
1649
+ }, "strip", z.ZodTypeAny, {
1650
+ src: {
1651
+ dark: string;
1652
+ light: string;
1653
+ };
1654
+ width?: string | undefined;
1655
+ alt?: string | undefined;
1656
+ }, {
1657
+ src: {
1658
+ dark: string;
1659
+ light: string;
1660
+ };
1661
+ width?: string | undefined;
1662
+ alt?: string | undefined;
1663
+ }>>;
1664
+ banner: z.ZodOptional<z.ZodObject<{
1665
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
1666
+ color: BannerColorType;
1667
+ dismissible: z.ZodOptional<z.ZodBoolean>;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ message: NonNullable<ReactNode>;
1670
+ color?: BannerColorType;
1671
+ dismissible?: boolean | undefined;
1672
+ }, {
1673
+ message: NonNullable<ReactNode>;
1674
+ color?: BannerColorType;
1675
+ dismissible?: boolean | undefined;
1676
+ }>>;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ pageTitle?: string | undefined;
1679
+ logoUrl?: string | undefined;
1680
+ logo?: {
1681
+ src: {
1682
+ dark: string;
1683
+ light: string;
1684
+ };
1685
+ width?: string | undefined;
1686
+ alt?: string | undefined;
1687
+ } | undefined;
1688
+ banner?: {
1689
+ message: NonNullable<ReactNode>;
1690
+ color?: BannerColorType;
1691
+ dismissible?: boolean | undefined;
1692
+ } | undefined;
1693
+ }, {
1694
+ pageTitle?: string | undefined;
1695
+ logoUrl?: string | undefined;
1696
+ logo?: {
1697
+ src: {
1698
+ dark: string;
1699
+ light: string;
1700
+ };
1701
+ width?: string | undefined;
1702
+ alt?: string | undefined;
1703
+ } | undefined;
1704
+ banner?: {
1705
+ message: NonNullable<ReactNode>;
1706
+ color?: BannerColorType;
1707
+ dismissible?: boolean | undefined;
1708
+ } | undefined;
1709
+ }>>;
1710
+ topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
1711
+ label: z.ZodString;
1712
+ id: z.ZodString;
1713
+ default: z.ZodOptional<z.ZodString>;
1714
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ id: string;
1717
+ label: string;
1718
+ default?: string | undefined;
1719
+ display?: "auth" | "anon" | "always" | undefined;
1720
+ }, {
1721
+ id: string;
1722
+ label: string;
1723
+ default?: string | undefined;
1724
+ display?: "auth" | "anon" | "always" | undefined;
1725
+ }>, "many">>;
1726
+ sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
1727
+ theme: z.ZodOptional<z.ZodObject<{
1728
+ light: z.ZodOptional<z.ZodObject<{
1729
+ background: z.ZodOptional<z.ZodString>;
1730
+ foreground: z.ZodOptional<z.ZodString>;
1731
+ card: z.ZodOptional<z.ZodString>;
1732
+ cardForeground: z.ZodOptional<z.ZodString>;
1733
+ popover: z.ZodOptional<z.ZodString>;
1734
+ popoverForeground: z.ZodOptional<z.ZodString>;
1735
+ primary: z.ZodOptional<z.ZodString>;
1736
+ primaryForeground: z.ZodOptional<z.ZodString>;
1737
+ secondary: z.ZodOptional<z.ZodString>;
1738
+ secondaryForeground: z.ZodOptional<z.ZodString>;
1739
+ muted: z.ZodOptional<z.ZodString>;
1740
+ mutedForeground: z.ZodOptional<z.ZodString>;
1741
+ accent: z.ZodOptional<z.ZodString>;
1742
+ accentForeground: z.ZodOptional<z.ZodString>;
1743
+ destructive: z.ZodOptional<z.ZodString>;
1744
+ destructiveForeground: z.ZodOptional<z.ZodString>;
1745
+ border: z.ZodOptional<z.ZodString>;
1746
+ input: z.ZodOptional<z.ZodString>;
1747
+ ring: z.ZodOptional<z.ZodString>;
1748
+ radius: z.ZodOptional<z.ZodString>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ input?: string | undefined;
1751
+ radius?: string | undefined;
1752
+ border?: string | undefined;
1753
+ popover?: string | undefined;
1754
+ background?: string | undefined;
1755
+ foreground?: string | undefined;
1756
+ card?: string | undefined;
1757
+ cardForeground?: string | undefined;
1758
+ popoverForeground?: string | undefined;
1759
+ primary?: string | undefined;
1760
+ primaryForeground?: string | undefined;
1761
+ secondary?: string | undefined;
1762
+ secondaryForeground?: string | undefined;
1763
+ muted?: string | undefined;
1764
+ mutedForeground?: string | undefined;
1765
+ accent?: string | undefined;
1766
+ accentForeground?: string | undefined;
1767
+ destructive?: string | undefined;
1768
+ destructiveForeground?: string | undefined;
1769
+ ring?: string | undefined;
1770
+ }, {
1771
+ input?: string | undefined;
1772
+ radius?: string | undefined;
1773
+ border?: string | undefined;
1774
+ popover?: string | undefined;
1775
+ background?: string | undefined;
1776
+ foreground?: string | undefined;
1777
+ card?: string | undefined;
1778
+ cardForeground?: string | undefined;
1779
+ popoverForeground?: string | undefined;
1780
+ primary?: string | undefined;
1781
+ primaryForeground?: string | undefined;
1782
+ secondary?: string | undefined;
1783
+ secondaryForeground?: string | undefined;
1784
+ muted?: string | undefined;
1785
+ mutedForeground?: string | undefined;
1786
+ accent?: string | undefined;
1787
+ accentForeground?: string | undefined;
1788
+ destructive?: string | undefined;
1789
+ destructiveForeground?: string | undefined;
1790
+ ring?: string | undefined;
1791
+ }>>;
1792
+ dark: z.ZodOptional<z.ZodObject<{
1793
+ background: z.ZodOptional<z.ZodString>;
1794
+ foreground: z.ZodOptional<z.ZodString>;
1795
+ card: z.ZodOptional<z.ZodString>;
1796
+ cardForeground: z.ZodOptional<z.ZodString>;
1797
+ popover: z.ZodOptional<z.ZodString>;
1798
+ popoverForeground: z.ZodOptional<z.ZodString>;
1799
+ primary: z.ZodOptional<z.ZodString>;
1800
+ primaryForeground: z.ZodOptional<z.ZodString>;
1801
+ secondary: z.ZodOptional<z.ZodString>;
1802
+ secondaryForeground: z.ZodOptional<z.ZodString>;
1803
+ muted: z.ZodOptional<z.ZodString>;
1804
+ mutedForeground: z.ZodOptional<z.ZodString>;
1805
+ accent: z.ZodOptional<z.ZodString>;
1806
+ accentForeground: z.ZodOptional<z.ZodString>;
1807
+ destructive: z.ZodOptional<z.ZodString>;
1808
+ destructiveForeground: z.ZodOptional<z.ZodString>;
1809
+ border: z.ZodOptional<z.ZodString>;
1810
+ input: z.ZodOptional<z.ZodString>;
1811
+ ring: z.ZodOptional<z.ZodString>;
1812
+ radius: z.ZodOptional<z.ZodString>;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ input?: string | undefined;
1815
+ radius?: string | undefined;
1816
+ border?: string | undefined;
1817
+ popover?: string | undefined;
1818
+ background?: string | undefined;
1819
+ foreground?: string | undefined;
1820
+ card?: string | undefined;
1821
+ cardForeground?: string | undefined;
1822
+ popoverForeground?: string | undefined;
1823
+ primary?: string | undefined;
1824
+ primaryForeground?: string | undefined;
1825
+ secondary?: string | undefined;
1826
+ secondaryForeground?: string | undefined;
1827
+ muted?: string | undefined;
1828
+ mutedForeground?: string | undefined;
1829
+ accent?: string | undefined;
1830
+ accentForeground?: string | undefined;
1831
+ destructive?: string | undefined;
1832
+ destructiveForeground?: string | undefined;
1833
+ ring?: string | undefined;
1834
+ }, {
1835
+ input?: string | undefined;
1836
+ radius?: string | undefined;
1837
+ border?: string | undefined;
1838
+ popover?: string | undefined;
1839
+ background?: string | undefined;
1840
+ foreground?: string | undefined;
1841
+ card?: string | undefined;
1842
+ cardForeground?: string | undefined;
1843
+ popoverForeground?: string | undefined;
1844
+ primary?: string | undefined;
1845
+ primaryForeground?: string | undefined;
1846
+ secondary?: string | undefined;
1847
+ secondaryForeground?: string | undefined;
1848
+ muted?: string | undefined;
1849
+ mutedForeground?: string | undefined;
1850
+ accent?: string | undefined;
1851
+ accentForeground?: string | undefined;
1852
+ destructive?: string | undefined;
1853
+ destructiveForeground?: string | undefined;
1854
+ ring?: string | undefined;
1855
+ }>>;
1856
+ fonts: z.ZodOptional<z.ZodObject<{
1857
+ sans: z.ZodOptional<z.ZodObject<{
1858
+ url: z.ZodString;
1859
+ fontFamily: z.ZodString;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ url: string;
1862
+ fontFamily: string;
1863
+ }, {
1864
+ url: string;
1865
+ fontFamily: string;
1866
+ }>>;
1867
+ mono: z.ZodOptional<z.ZodObject<{
1868
+ url: z.ZodString;
1869
+ fontFamily: z.ZodString;
1870
+ }, "strip", z.ZodTypeAny, {
1871
+ url: string;
1872
+ fontFamily: string;
1873
+ }, {
1874
+ url: string;
1875
+ fontFamily: string;
1876
+ }>>;
1877
+ }, "strip", z.ZodTypeAny, {
1878
+ sans?: {
1879
+ url: string;
1880
+ fontFamily: string;
1881
+ } | undefined;
1882
+ mono?: {
1883
+ url: string;
1884
+ fontFamily: string;
1885
+ } | undefined;
1886
+ }, {
1887
+ sans?: {
1888
+ url: string;
1889
+ fontFamily: string;
1890
+ } | undefined;
1891
+ mono?: {
1892
+ url: string;
1893
+ fontFamily: string;
1894
+ } | undefined;
1895
+ }>>;
1896
+ }, "strip", z.ZodTypeAny, {
1897
+ dark?: {
1898
+ input?: string | undefined;
1899
+ radius?: string | undefined;
1900
+ border?: string | undefined;
1901
+ popover?: string | undefined;
1902
+ background?: string | undefined;
1903
+ foreground?: string | undefined;
1904
+ card?: string | undefined;
1905
+ cardForeground?: string | undefined;
1906
+ popoverForeground?: string | undefined;
1907
+ primary?: string | undefined;
1908
+ primaryForeground?: string | undefined;
1909
+ secondary?: string | undefined;
1910
+ secondaryForeground?: string | undefined;
1911
+ muted?: string | undefined;
1912
+ mutedForeground?: string | undefined;
1913
+ accent?: string | undefined;
1914
+ accentForeground?: string | undefined;
1915
+ destructive?: string | undefined;
1916
+ destructiveForeground?: string | undefined;
1917
+ ring?: string | undefined;
1918
+ } | undefined;
1919
+ light?: {
1920
+ input?: string | undefined;
1921
+ radius?: string | undefined;
1922
+ border?: string | undefined;
1923
+ popover?: string | undefined;
1924
+ background?: string | undefined;
1925
+ foreground?: string | undefined;
1926
+ card?: string | undefined;
1927
+ cardForeground?: string | undefined;
1928
+ popoverForeground?: string | undefined;
1929
+ primary?: string | undefined;
1930
+ primaryForeground?: string | undefined;
1931
+ secondary?: string | undefined;
1932
+ secondaryForeground?: string | undefined;
1933
+ muted?: string | undefined;
1934
+ mutedForeground?: string | undefined;
1935
+ accent?: string | undefined;
1936
+ accentForeground?: string | undefined;
1937
+ destructive?: string | undefined;
1938
+ destructiveForeground?: string | undefined;
1939
+ ring?: string | undefined;
1940
+ } | undefined;
1941
+ fonts?: {
1942
+ sans?: {
1943
+ url: string;
1944
+ fontFamily: string;
1945
+ } | undefined;
1946
+ mono?: {
1947
+ url: string;
1948
+ fontFamily: string;
1949
+ } | undefined;
1950
+ } | undefined;
1951
+ }, {
1952
+ dark?: {
1953
+ input?: string | undefined;
1954
+ radius?: string | undefined;
1955
+ border?: string | undefined;
1956
+ popover?: string | undefined;
1957
+ background?: string | undefined;
1958
+ foreground?: string | undefined;
1959
+ card?: string | undefined;
1960
+ cardForeground?: string | undefined;
1961
+ popoverForeground?: string | undefined;
1962
+ primary?: string | undefined;
1963
+ primaryForeground?: string | undefined;
1964
+ secondary?: string | undefined;
1965
+ secondaryForeground?: string | undefined;
1966
+ muted?: string | undefined;
1967
+ mutedForeground?: string | undefined;
1968
+ accent?: string | undefined;
1969
+ accentForeground?: string | undefined;
1970
+ destructive?: string | undefined;
1971
+ destructiveForeground?: string | undefined;
1972
+ ring?: string | undefined;
1973
+ } | undefined;
1974
+ light?: {
1975
+ input?: string | undefined;
1976
+ radius?: string | undefined;
1977
+ border?: string | undefined;
1978
+ popover?: string | undefined;
1979
+ background?: string | undefined;
1980
+ foreground?: string | undefined;
1981
+ card?: string | undefined;
1982
+ cardForeground?: string | undefined;
1983
+ popoverForeground?: string | undefined;
1984
+ primary?: string | undefined;
1985
+ primaryForeground?: string | undefined;
1986
+ secondary?: string | undefined;
1987
+ secondaryForeground?: string | undefined;
1988
+ muted?: string | undefined;
1989
+ mutedForeground?: string | undefined;
1990
+ accent?: string | undefined;
1991
+ accentForeground?: string | undefined;
1992
+ destructive?: string | undefined;
1993
+ destructiveForeground?: string | undefined;
1994
+ ring?: string | undefined;
1995
+ } | undefined;
1996
+ fonts?: {
1997
+ sans?: {
1998
+ url: string;
1999
+ fontFamily: string;
2000
+ } | undefined;
2001
+ mono?: {
2002
+ url: string;
2003
+ fontFamily: string;
2004
+ } | undefined;
2005
+ } | undefined;
2006
+ }>>;
2007
+ metadata: z.ZodOptional<z.ZodObject<{
2008
+ title: z.ZodOptional<z.ZodString>;
2009
+ description: z.ZodOptional<z.ZodString>;
2010
+ logo: z.ZodOptional<z.ZodString>;
2011
+ favicon: z.ZodOptional<z.ZodString>;
2012
+ generator: z.ZodOptional<z.ZodString>;
2013
+ applicationName: z.ZodOptional<z.ZodString>;
2014
+ referrer: z.ZodOptional<z.ZodString>;
2015
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2016
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2017
+ creator: z.ZodOptional<z.ZodString>;
2018
+ publisher: z.ZodOptional<z.ZodString>;
2019
+ }, "strip", z.ZodTypeAny, {
2020
+ description?: string | undefined;
2021
+ title?: string | undefined;
2022
+ logo?: string | undefined;
2023
+ favicon?: string | undefined;
2024
+ generator?: string | undefined;
2025
+ applicationName?: string | undefined;
2026
+ referrer?: string | undefined;
2027
+ keywords?: string[] | undefined;
2028
+ authors?: string[] | undefined;
2029
+ creator?: string | undefined;
2030
+ publisher?: string | undefined;
2031
+ }, {
2032
+ description?: string | undefined;
2033
+ title?: string | undefined;
2034
+ logo?: string | undefined;
2035
+ favicon?: string | undefined;
2036
+ generator?: string | undefined;
2037
+ applicationName?: string | undefined;
2038
+ referrer?: string | undefined;
2039
+ keywords?: string[] | undefined;
2040
+ authors?: string[] | undefined;
2041
+ creator?: string | undefined;
2042
+ publisher?: string | undefined;
2043
+ }>>;
2044
+ authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2045
+ type: z.ZodLiteral<"clerk">;
2046
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
2047
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
2048
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
2049
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
2050
+ }, "strip", z.ZodTypeAny, {
2051
+ type: "clerk";
2052
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2053
+ redirectToAfterSignUp?: string | undefined;
2054
+ redirectToAfterSignIn?: string | undefined;
2055
+ redirectToAfterSignOut?: string | undefined;
2056
+ }, {
2057
+ type: "clerk";
2058
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2059
+ redirectToAfterSignUp?: string | undefined;
2060
+ redirectToAfterSignIn?: string | undefined;
2061
+ redirectToAfterSignOut?: string | undefined;
2062
+ }>, z.ZodObject<{
2063
+ type: z.ZodLiteral<"openid">;
2064
+ clientId: z.ZodString;
2065
+ issuer: z.ZodString;
2066
+ audience: z.ZodOptional<z.ZodString>;
2067
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2068
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
2069
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
2070
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
2071
+ }, "strip", z.ZodTypeAny, {
2072
+ type: "openid";
2073
+ clientId: string;
2074
+ issuer: string;
2075
+ redirectToAfterSignUp?: string | undefined;
2076
+ redirectToAfterSignIn?: string | undefined;
2077
+ redirectToAfterSignOut?: string | undefined;
2078
+ audience?: string | undefined;
2079
+ scopes?: string[] | undefined;
2080
+ }, {
2081
+ type: "openid";
2082
+ clientId: string;
2083
+ issuer: string;
2084
+ redirectToAfterSignUp?: string | undefined;
2085
+ redirectToAfterSignIn?: string | undefined;
2086
+ redirectToAfterSignOut?: string | undefined;
2087
+ audience?: string | undefined;
2088
+ scopes?: string[] | undefined;
2089
+ }>, z.ZodObject<{
2090
+ type: z.ZodLiteral<"auth0">;
2091
+ clientId: z.ZodString;
2092
+ domain: z.ZodString;
2093
+ audience: z.ZodOptional<z.ZodString>;
2094
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
2095
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
2096
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
2097
+ }, "strip", z.ZodTypeAny, {
2098
+ type: "auth0";
2099
+ clientId: string;
2100
+ domain: string;
2101
+ redirectToAfterSignUp?: string | undefined;
2102
+ redirectToAfterSignIn?: string | undefined;
2103
+ redirectToAfterSignOut?: string | undefined;
2104
+ audience?: string | undefined;
2105
+ }, {
2106
+ type: "auth0";
2107
+ clientId: string;
2108
+ domain: string;
2109
+ redirectToAfterSignUp?: string | undefined;
2110
+ redirectToAfterSignIn?: string | undefined;
2111
+ redirectToAfterSignOut?: string | undefined;
2112
+ audience?: string | undefined;
2113
+ }>]>>;
2114
+ search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2115
+ type: z.ZodLiteral<"inkeep">;
2116
+ apiKey: z.ZodString;
2117
+ integrationId: z.ZodString;
2118
+ organizationId: z.ZodString;
2119
+ primaryBrandColor: z.ZodString;
2120
+ organizationDisplayName: z.ZodString;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ type: "inkeep";
2123
+ apiKey: string;
2124
+ integrationId: string;
2125
+ organizationId: string;
2126
+ primaryBrandColor: string;
2127
+ organizationDisplayName: string;
2128
+ }, {
2129
+ type: "inkeep";
2130
+ apiKey: string;
2131
+ integrationId: string;
2132
+ organizationId: string;
2133
+ primaryBrandColor: string;
2134
+ organizationDisplayName: string;
2135
+ }>>>;
2136
+ docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2137
+ files: z.ZodString;
2138
+ defaultOptions: z.ZodOptional<z.ZodObject<{
2139
+ toc: z.ZodOptional<z.ZodBoolean>;
2140
+ disablePager: z.ZodOptional<z.ZodBoolean>;
2141
+ }, "strip", z.ZodTypeAny, {
2142
+ toc?: boolean | undefined;
2143
+ disablePager?: boolean | undefined;
2144
+ }, {
2145
+ toc?: boolean | undefined;
2146
+ disablePager?: boolean | undefined;
2147
+ }>>;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ files: string;
2150
+ defaultOptions?: {
2151
+ toc?: boolean | undefined;
2152
+ disablePager?: boolean | undefined;
2153
+ } | undefined;
2154
+ }, {
2155
+ files: string;
2156
+ defaultOptions?: {
2157
+ toc?: boolean | undefined;
2158
+ disablePager?: boolean | undefined;
2159
+ } | undefined;
2160
+ }>, z.ZodArray<z.ZodObject<{
2161
+ files: z.ZodString;
2162
+ defaultOptions: z.ZodOptional<z.ZodObject<{
2163
+ toc: z.ZodOptional<z.ZodBoolean>;
2164
+ disablePager: z.ZodOptional<z.ZodBoolean>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ toc?: boolean | undefined;
2167
+ disablePager?: boolean | undefined;
2168
+ }, {
2169
+ toc?: boolean | undefined;
2170
+ disablePager?: boolean | undefined;
2171
+ }>>;
2172
+ }, "strip", z.ZodTypeAny, {
2173
+ files: string;
2174
+ defaultOptions?: {
2175
+ toc?: boolean | undefined;
2176
+ disablePager?: boolean | undefined;
2177
+ } | undefined;
2178
+ }, {
2179
+ files: string;
2180
+ defaultOptions?: {
2181
+ toc?: boolean | undefined;
2182
+ disablePager?: boolean | undefined;
2183
+ } | undefined;
2184
+ }>, "many">]>>;
2185
+ apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2186
+ type: z.ZodLiteral<"url">;
2187
+ input: z.ZodString;
2188
+ }, {
2189
+ id: z.ZodOptional<z.ZodString>;
2190
+ server: z.ZodOptional<z.ZodString>;
2191
+ navigationId: z.ZodOptional<z.ZodString>;
2192
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2193
+ label: z.ZodString;
2194
+ tags: z.ZodArray<z.ZodString, "many">;
2195
+ }, "strip", z.ZodTypeAny, {
2196
+ tags: string[];
2197
+ label: string;
2198
+ }, {
2199
+ tags: string[];
2200
+ label: string;
2201
+ }>, "many">>;
2202
+ }>, "strip", z.ZodTypeAny, {
2203
+ type: "url";
2204
+ input: string;
2205
+ server?: string | undefined;
2206
+ id?: string | undefined;
2207
+ navigationId?: string | undefined;
2208
+ categories?: {
2209
+ tags: string[];
2210
+ label: string;
2211
+ }[] | undefined;
2212
+ }, {
2213
+ type: "url";
2214
+ input: string;
2215
+ server?: string | undefined;
2216
+ id?: string | undefined;
2217
+ navigationId?: string | undefined;
2218
+ categories?: {
2219
+ tags: string[];
2220
+ label: string;
2221
+ }[] | undefined;
2222
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2223
+ type: z.ZodLiteral<"file">;
2224
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2225
+ }, {
2226
+ id: z.ZodOptional<z.ZodString>;
2227
+ server: z.ZodOptional<z.ZodString>;
2228
+ navigationId: z.ZodOptional<z.ZodString>;
2229
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2230
+ label: z.ZodString;
2231
+ tags: z.ZodArray<z.ZodString, "many">;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ tags: string[];
2234
+ label: string;
2235
+ }, {
2236
+ tags: string[];
2237
+ label: string;
2238
+ }>, "many">>;
2239
+ }>, {
2240
+ 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">>;
2241
+ }>, "strip", z.ZodTypeAny, {
2242
+ type: "file";
2243
+ input: string | string[];
2244
+ server?: string | undefined;
2245
+ id?: string | undefined;
2246
+ navigationId?: string | undefined;
2247
+ categories?: {
2248
+ tags: string[];
2249
+ label: string;
2250
+ }[] | undefined;
2251
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2252
+ }, {
2253
+ type: "file";
2254
+ input: string | string[];
2255
+ server?: string | undefined;
2256
+ id?: string | undefined;
2257
+ navigationId?: string | undefined;
2258
+ categories?: {
2259
+ tags: string[];
2260
+ label: string;
2261
+ }[] | undefined;
2262
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2263
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2264
+ type: z.ZodLiteral<"raw">;
2265
+ input: z.ZodString;
2266
+ }, {
2267
+ id: z.ZodOptional<z.ZodString>;
2268
+ server: z.ZodOptional<z.ZodString>;
2269
+ navigationId: z.ZodOptional<z.ZodString>;
2270
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2271
+ label: z.ZodString;
2272
+ tags: z.ZodArray<z.ZodString, "many">;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ tags: string[];
2275
+ label: string;
2276
+ }, {
2277
+ tags: string[];
2278
+ label: string;
2279
+ }>, "many">>;
2280
+ }>, "strip", z.ZodTypeAny, {
2281
+ type: "raw";
2282
+ input: string;
2283
+ server?: string | undefined;
2284
+ id?: string | undefined;
2285
+ navigationId?: string | undefined;
2286
+ categories?: {
2287
+ tags: string[];
2288
+ label: string;
2289
+ }[] | undefined;
2290
+ }, {
2291
+ type: "raw";
2292
+ input: string;
2293
+ server?: string | undefined;
2294
+ id?: string | undefined;
2295
+ navigationId?: string | undefined;
2296
+ categories?: {
2297
+ tags: string[];
2298
+ label: string;
2299
+ }[] | undefined;
2300
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2301
+ type: z.ZodLiteral<"url">;
2302
+ input: z.ZodString;
2303
+ }, {
2304
+ id: z.ZodOptional<z.ZodString>;
2305
+ server: z.ZodOptional<z.ZodString>;
2306
+ navigationId: z.ZodOptional<z.ZodString>;
2307
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2308
+ label: z.ZodString;
2309
+ tags: z.ZodArray<z.ZodString, "many">;
2310
+ }, "strip", z.ZodTypeAny, {
2311
+ tags: string[];
2312
+ label: string;
2313
+ }, {
2314
+ tags: string[];
2315
+ label: string;
2316
+ }>, "many">>;
2317
+ }>, "strip", z.ZodTypeAny, {
2318
+ type: "url";
2319
+ input: string;
2320
+ server?: string | undefined;
2321
+ id?: string | undefined;
2322
+ navigationId?: string | undefined;
2323
+ categories?: {
2324
+ tags: string[];
2325
+ label: string;
2326
+ }[] | undefined;
2327
+ }, {
2328
+ type: "url";
2329
+ input: string;
2330
+ server?: string | undefined;
2331
+ id?: string | undefined;
2332
+ navigationId?: string | undefined;
2333
+ categories?: {
2334
+ tags: string[];
2335
+ label: string;
2336
+ }[] | undefined;
2337
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2338
+ type: z.ZodLiteral<"file">;
2339
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2340
+ }, {
2341
+ id: z.ZodOptional<z.ZodString>;
2342
+ server: z.ZodOptional<z.ZodString>;
2343
+ navigationId: z.ZodOptional<z.ZodString>;
2344
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2345
+ label: z.ZodString;
2346
+ tags: z.ZodArray<z.ZodString, "many">;
2347
+ }, "strip", z.ZodTypeAny, {
2348
+ tags: string[];
2349
+ label: string;
2350
+ }, {
2351
+ tags: string[];
2352
+ label: string;
2353
+ }>, "many">>;
2354
+ }>, {
2355
+ 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">>;
2356
+ }>, "strip", z.ZodTypeAny, {
2357
+ type: "file";
2358
+ input: string | string[];
2359
+ server?: string | undefined;
2360
+ id?: string | undefined;
2361
+ navigationId?: string | undefined;
2362
+ categories?: {
2363
+ tags: string[];
2364
+ label: string;
2365
+ }[] | undefined;
2366
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2367
+ }, {
2368
+ type: "file";
2369
+ input: string | string[];
2370
+ server?: string | undefined;
2371
+ id?: string | undefined;
2372
+ navigationId?: string | undefined;
2373
+ categories?: {
2374
+ tags: string[];
2375
+ label: string;
2376
+ }[] | undefined;
2377
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2378
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2379
+ type: z.ZodLiteral<"raw">;
2380
+ input: z.ZodString;
2381
+ }, {
2382
+ id: z.ZodOptional<z.ZodString>;
2383
+ server: z.ZodOptional<z.ZodString>;
2384
+ navigationId: z.ZodOptional<z.ZodString>;
2385
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2386
+ label: z.ZodString;
2387
+ tags: z.ZodArray<z.ZodString, "many">;
2388
+ }, "strip", z.ZodTypeAny, {
2389
+ tags: string[];
2390
+ label: string;
2391
+ }, {
2392
+ tags: string[];
2393
+ label: string;
2394
+ }>, "many">>;
2395
+ }>, "strip", z.ZodTypeAny, {
2396
+ type: "raw";
2397
+ input: string;
2398
+ server?: string | undefined;
2399
+ id?: string | undefined;
2400
+ navigationId?: string | undefined;
2401
+ categories?: {
2402
+ tags: string[];
2403
+ label: string;
2404
+ }[] | undefined;
2405
+ }, {
2406
+ type: "raw";
2407
+ input: string;
2408
+ server?: string | undefined;
2409
+ id?: string | undefined;
2410
+ navigationId?: string | undefined;
2411
+ categories?: {
2412
+ tags: string[];
2413
+ label: string;
2414
+ }[] | undefined;
2415
+ }>]>, "many">]>>;
2416
+ catalogs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2417
+ navigationId: z.ZodString;
2418
+ label: z.ZodString;
2419
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2420
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
2421
+ }, "strip", z.ZodTypeAny, {
2422
+ label: string;
2423
+ navigationId: string;
2424
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2425
+ items?: string[] | undefined;
2426
+ }, {
2427
+ label: string;
2428
+ navigationId: string;
2429
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2430
+ items?: string[] | undefined;
2431
+ }>, z.ZodArray<z.ZodObject<{
2432
+ navigationId: z.ZodString;
2433
+ label: z.ZodString;
2434
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2435
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ label: string;
2438
+ navigationId: string;
2439
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2440
+ items?: string[] | undefined;
2441
+ }, {
2442
+ label: string;
2443
+ navigationId: string;
2444
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2445
+ items?: string[] | undefined;
2446
+ }>, "many">]>>;
2447
+ apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2448
+ enabled: z.ZodBoolean;
2449
+ endpoint: z.ZodString;
2450
+ }, "strip", z.ZodTypeAny, {
2451
+ enabled: boolean;
2452
+ endpoint: string;
2453
+ }, {
2454
+ enabled: boolean;
2455
+ endpoint: string;
2456
+ }>, z.ZodObject<{
2457
+ enabled: z.ZodBoolean;
2458
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
2459
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
2460
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
2461
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
2462
+ id: string;
2463
+ description: string;
2464
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
2465
+ id: string;
2466
+ description: string;
2467
+ }, context: ZudokuContext) => Promise<void>>>;
2468
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
2469
+ description: string;
2470
+ expiresOn?: string;
2471
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
2472
+ description: string;
2473
+ expiresOn?: string;
2474
+ }, context: ZudokuContext) => Promise<void>>>;
2475
+ }, "strip", z.ZodTypeAny, {
2476
+ enabled: boolean;
2477
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2478
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2479
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2480
+ updateKeyDescription?: ((apiKey: {
2481
+ id: string;
2482
+ description: string;
2483
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2484
+ createKey?: ((apiKey: {
2485
+ description: string;
2486
+ expiresOn?: string;
2487
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2488
+ }, {
2489
+ enabled: boolean;
2490
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2491
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2492
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2493
+ updateKeyDescription?: ((apiKey: {
2494
+ id: string;
2495
+ description: string;
2496
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2497
+ createKey?: ((apiKey: {
2498
+ description: string;
2499
+ expiresOn?: string;
2500
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2501
+ }>]>>;
2502
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
2503
+ from: z.ZodString;
2504
+ to: z.ZodString;
2505
+ }, "strip", z.ZodTypeAny, {
2506
+ from: string;
2507
+ to: string;
2508
+ }, {
2509
+ from: string;
2510
+ to: string;
2511
+ }>, "many">>;
2512
+ sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2513
+ /**
2514
+ * Base url of your website
2515
+ */
2516
+ siteUrl: z.ZodString;
2517
+ /**
2518
+ * Change frequency.
2519
+ * @default 'daily'
2520
+ */
2521
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
2522
+ /**
2523
+ * Priority
2524
+ * @default 0.7
2525
+ */
2526
+ priority: z.ZodOptional<z.ZodNumber>;
2527
+ outDir: z.ZodOptional<z.ZodString>;
2528
+ /**
2529
+ * Add <lastmod/> property.
2530
+ * @default true
2531
+ */
2532
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
2533
+ /**
2534
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
2535
+ * @example ['/page-0', '/page/example']
2536
+ */
2537
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
2538
+ }, "strip", z.ZodTypeAny, {
2539
+ siteUrl: string;
2540
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2541
+ priority?: number | undefined;
2542
+ outDir?: string | undefined;
2543
+ autoLastmod?: boolean | undefined;
2544
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2545
+ }, {
2546
+ siteUrl: string;
2547
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2548
+ priority?: number | undefined;
2549
+ outDir?: string | undefined;
2550
+ autoLastmod?: boolean | undefined;
2551
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2552
+ }>>>;
2553
+ }, "strip", z.ZodTypeAny, {
2554
+ search?: {
2555
+ type: "inkeep";
2556
+ apiKey: string;
2557
+ integrationId: string;
2558
+ organizationId: string;
2559
+ primaryBrandColor: string;
2560
+ organizationDisplayName: string;
2561
+ } | undefined;
2562
+ metadata?: {
2563
+ description?: string | undefined;
2564
+ title?: string | undefined;
2565
+ logo?: string | undefined;
2566
+ favicon?: string | undefined;
2567
+ generator?: string | undefined;
2568
+ applicationName?: string | undefined;
2569
+ referrer?: string | undefined;
2570
+ keywords?: string[] | undefined;
2571
+ authors?: string[] | undefined;
2572
+ creator?: string | undefined;
2573
+ publisher?: string | undefined;
2574
+ } | undefined;
2575
+ theme?: {
2576
+ dark?: {
2577
+ input?: string | undefined;
2578
+ radius?: string | undefined;
2579
+ border?: string | undefined;
2580
+ popover?: string | undefined;
2581
+ background?: string | undefined;
2582
+ foreground?: string | undefined;
2583
+ card?: string | undefined;
2584
+ cardForeground?: string | undefined;
2585
+ popoverForeground?: string | undefined;
2586
+ primary?: string | undefined;
2587
+ primaryForeground?: string | undefined;
2588
+ secondary?: string | undefined;
2589
+ secondaryForeground?: string | undefined;
2590
+ muted?: string | undefined;
2591
+ mutedForeground?: string | undefined;
2592
+ accent?: string | undefined;
2593
+ accentForeground?: string | undefined;
2594
+ destructive?: string | undefined;
2595
+ destructiveForeground?: string | undefined;
2596
+ ring?: string | undefined;
2597
+ } | undefined;
2598
+ light?: {
2599
+ input?: string | undefined;
2600
+ radius?: string | undefined;
2601
+ border?: string | undefined;
2602
+ popover?: string | undefined;
2603
+ background?: string | undefined;
2604
+ foreground?: string | undefined;
2605
+ card?: string | undefined;
2606
+ cardForeground?: string | undefined;
2607
+ popoverForeground?: string | undefined;
2608
+ primary?: string | undefined;
2609
+ primaryForeground?: string | undefined;
2610
+ secondary?: string | undefined;
2611
+ secondaryForeground?: string | undefined;
2612
+ muted?: string | undefined;
2613
+ mutedForeground?: string | undefined;
2614
+ accent?: string | undefined;
2615
+ accentForeground?: string | undefined;
2616
+ destructive?: string | undefined;
2617
+ destructiveForeground?: string | undefined;
2618
+ ring?: string | undefined;
2619
+ } | undefined;
2620
+ fonts?: {
2621
+ sans?: {
2622
+ url: string;
2623
+ fontFamily: string;
2624
+ } | undefined;
2625
+ mono?: {
2626
+ url: string;
2627
+ fontFamily: string;
2628
+ } | undefined;
2629
+ } | undefined;
2630
+ } | undefined;
2631
+ basePath?: string | undefined;
2632
+ page?: {
2633
+ pageTitle?: string | undefined;
2634
+ logoUrl?: string | undefined;
2635
+ logo?: {
2636
+ src: {
2637
+ dark: string;
2638
+ light: string;
2639
+ };
2640
+ width?: string | undefined;
2641
+ alt?: string | undefined;
2642
+ } | undefined;
2643
+ banner?: {
2644
+ message: NonNullable<ReactNode>;
2645
+ color?: BannerColorType;
2646
+ dismissible?: boolean | undefined;
2647
+ } | undefined;
2648
+ } | undefined;
2649
+ topNavigation?: {
2650
+ id: string;
2651
+ label: string;
2652
+ default?: string | undefined;
2653
+ display?: "auth" | "anon" | "always" | undefined;
2654
+ }[] | undefined;
2655
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
2656
+ authentication?: {
2657
+ type: "clerk";
2658
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2659
+ redirectToAfterSignUp?: string | undefined;
2660
+ redirectToAfterSignIn?: string | undefined;
2661
+ redirectToAfterSignOut?: string | undefined;
2662
+ } | {
2663
+ type: "openid";
2664
+ clientId: string;
2665
+ issuer: string;
2666
+ redirectToAfterSignUp?: string | undefined;
2667
+ redirectToAfterSignIn?: string | undefined;
2668
+ redirectToAfterSignOut?: string | undefined;
2669
+ audience?: string | undefined;
2670
+ scopes?: string[] | undefined;
2671
+ } | {
2672
+ type: "auth0";
2673
+ clientId: string;
2674
+ domain: string;
2675
+ redirectToAfterSignUp?: string | undefined;
2676
+ redirectToAfterSignIn?: string | undefined;
2677
+ redirectToAfterSignOut?: string | undefined;
2678
+ audience?: string | undefined;
2679
+ } | undefined;
2680
+ docs?: {
2681
+ files: string;
2682
+ defaultOptions?: {
2683
+ toc?: boolean | undefined;
2684
+ disablePager?: boolean | undefined;
2685
+ } | undefined;
2686
+ } | {
2687
+ files: string;
2688
+ defaultOptions?: {
2689
+ toc?: boolean | undefined;
2690
+ disablePager?: boolean | undefined;
2691
+ } | undefined;
2692
+ }[] | undefined;
2693
+ apis?: {
2694
+ type: "url";
2695
+ input: string;
2696
+ server?: string | undefined;
2697
+ id?: string | undefined;
2698
+ navigationId?: string | undefined;
2699
+ categories?: {
2700
+ tags: string[];
2701
+ label: string;
2702
+ }[] | undefined;
2703
+ } | {
2704
+ type: "file";
2705
+ input: string | string[];
2706
+ server?: string | undefined;
2707
+ id?: string | undefined;
2708
+ navigationId?: string | undefined;
2709
+ categories?: {
2710
+ tags: string[];
2711
+ label: string;
2712
+ }[] | undefined;
2713
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2714
+ } | {
2715
+ type: "raw";
2716
+ input: string;
2717
+ server?: string | undefined;
2718
+ id?: string | undefined;
2719
+ navigationId?: string | undefined;
2720
+ categories?: {
2721
+ tags: string[];
2722
+ label: string;
2723
+ }[] | undefined;
2724
+ } | ({
2725
+ type: "url";
2726
+ input: string;
2727
+ server?: string | undefined;
2728
+ id?: string | undefined;
2729
+ navigationId?: string | undefined;
2730
+ categories?: {
2731
+ tags: string[];
2732
+ label: string;
2733
+ }[] | undefined;
2734
+ } | {
2735
+ type: "file";
2736
+ input: string | string[];
2737
+ server?: string | undefined;
2738
+ id?: string | undefined;
2739
+ navigationId?: string | undefined;
2740
+ categories?: {
2741
+ tags: string[];
2742
+ label: string;
2743
+ }[] | undefined;
2744
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2745
+ } | {
2746
+ type: "raw";
2747
+ input: string;
2748
+ server?: string | undefined;
2749
+ id?: string | undefined;
2750
+ navigationId?: string | undefined;
2751
+ categories?: {
2752
+ tags: string[];
2753
+ label: string;
2754
+ }[] | undefined;
2755
+ })[] | undefined;
2756
+ catalogs?: {
2757
+ label: string;
2758
+ navigationId: string;
2759
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2760
+ items?: string[] | undefined;
2761
+ } | {
2762
+ label: string;
2763
+ navigationId: string;
2764
+ filterItems: (args_0: any, ...args: unknown[]) => any;
2765
+ items?: string[] | undefined;
2766
+ }[] | undefined;
2767
+ apiKeys?: {
2768
+ enabled: boolean;
2769
+ endpoint: string;
2770
+ } | {
2771
+ enabled: boolean;
2772
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2773
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2774
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2775
+ updateKeyDescription?: ((apiKey: {
2776
+ id: string;
2777
+ description: string;
2778
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2779
+ createKey?: ((apiKey: {
2780
+ description: string;
2781
+ expiresOn?: string;
2782
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2783
+ } | undefined;
2784
+ redirects?: {
2785
+ from: string;
2786
+ to: string;
2787
+ }[] | undefined;
2788
+ sitemap?: {
2789
+ siteUrl: string;
2790
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2791
+ priority?: number | undefined;
2792
+ outDir?: string | undefined;
2793
+ autoLastmod?: boolean | undefined;
2794
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2795
+ } | undefined;
2796
+ }, {
2797
+ search?: {
2798
+ type: "inkeep";
2799
+ apiKey: string;
2800
+ integrationId: string;
2801
+ organizationId: string;
2802
+ primaryBrandColor: string;
2803
+ organizationDisplayName: string;
2804
+ } | undefined;
2805
+ metadata?: {
2806
+ description?: string | undefined;
2807
+ title?: string | undefined;
2808
+ logo?: string | undefined;
2809
+ favicon?: string | undefined;
2810
+ generator?: string | undefined;
2811
+ applicationName?: string | undefined;
2812
+ referrer?: string | undefined;
2813
+ keywords?: string[] | undefined;
2814
+ authors?: string[] | undefined;
2815
+ creator?: string | undefined;
2816
+ publisher?: string | undefined;
2817
+ } | undefined;
2818
+ theme?: {
2819
+ dark?: {
2820
+ input?: string | undefined;
2821
+ radius?: string | undefined;
2822
+ border?: string | undefined;
2823
+ popover?: string | undefined;
2824
+ background?: string | undefined;
2825
+ foreground?: string | undefined;
2826
+ card?: string | undefined;
2827
+ cardForeground?: string | undefined;
2828
+ popoverForeground?: string | undefined;
2829
+ primary?: string | undefined;
2830
+ primaryForeground?: string | undefined;
2831
+ secondary?: string | undefined;
2832
+ secondaryForeground?: string | undefined;
2833
+ muted?: string | undefined;
2834
+ mutedForeground?: string | undefined;
2835
+ accent?: string | undefined;
2836
+ accentForeground?: string | undefined;
2837
+ destructive?: string | undefined;
2838
+ destructiveForeground?: string | undefined;
2839
+ ring?: string | undefined;
2840
+ } | undefined;
2841
+ light?: {
2842
+ input?: string | undefined;
2843
+ radius?: string | undefined;
2844
+ border?: string | undefined;
2845
+ popover?: string | undefined;
2846
+ background?: string | undefined;
2847
+ foreground?: string | undefined;
2848
+ card?: string | undefined;
2849
+ cardForeground?: string | undefined;
2850
+ popoverForeground?: string | undefined;
2851
+ primary?: string | undefined;
2852
+ primaryForeground?: string | undefined;
2853
+ secondary?: string | undefined;
2854
+ secondaryForeground?: string | undefined;
2855
+ muted?: string | undefined;
2856
+ mutedForeground?: string | undefined;
2857
+ accent?: string | undefined;
2858
+ accentForeground?: string | undefined;
2859
+ destructive?: string | undefined;
2860
+ destructiveForeground?: string | undefined;
2861
+ ring?: string | undefined;
2862
+ } | undefined;
2863
+ fonts?: {
2864
+ sans?: {
2865
+ url: string;
2866
+ fontFamily: string;
2867
+ } | undefined;
2868
+ mono?: {
2869
+ url: string;
2870
+ fontFamily: string;
2871
+ } | undefined;
2872
+ } | undefined;
2873
+ } | undefined;
2874
+ basePath?: string | undefined;
2875
+ page?: {
2876
+ pageTitle?: string | undefined;
2877
+ logoUrl?: string | undefined;
2878
+ logo?: {
2879
+ src: {
2880
+ dark: string;
2881
+ light: string;
2882
+ };
2883
+ width?: string | undefined;
2884
+ alt?: string | undefined;
2885
+ } | undefined;
2886
+ banner?: {
2887
+ message: NonNullable<ReactNode>;
2888
+ color?: BannerColorType;
2889
+ dismissible?: boolean | undefined;
2890
+ } | undefined;
2891
+ } | undefined;
2892
+ topNavigation?: {
2893
+ id: string;
2894
+ label: string;
2895
+ default?: string | undefined;
2896
+ display?: "auth" | "anon" | "always" | undefined;
2897
+ }[] | undefined;
2898
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
2899
+ authentication?: {
2900
+ type: "clerk";
2901
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2902
+ redirectToAfterSignUp?: string | undefined;
2903
+ redirectToAfterSignIn?: string | undefined;
2904
+ redirectToAfterSignOut?: string | undefined;
2905
+ } | {
2906
+ type: "openid";
2907
+ clientId: string;
2908
+ issuer: string;
2909
+ redirectToAfterSignUp?: string | undefined;
2910
+ redirectToAfterSignIn?: string | undefined;
2911
+ redirectToAfterSignOut?: string | undefined;
2912
+ audience?: string | undefined;
2913
+ scopes?: string[] | undefined;
2914
+ } | {
2915
+ type: "auth0";
2916
+ clientId: string;
2917
+ domain: string;
2918
+ redirectToAfterSignUp?: string | undefined;
2919
+ redirectToAfterSignIn?: string | undefined;
2920
+ redirectToAfterSignOut?: string | undefined;
2921
+ audience?: string | undefined;
2922
+ } | undefined;
2923
+ docs?: {
2924
+ files: string;
2925
+ defaultOptions?: {
2926
+ toc?: boolean | undefined;
2927
+ disablePager?: boolean | undefined;
2928
+ } | undefined;
2929
+ } | {
2930
+ files: string;
2931
+ defaultOptions?: {
2932
+ toc?: boolean | undefined;
2933
+ disablePager?: boolean | undefined;
2934
+ } | undefined;
2935
+ }[] | undefined;
2936
+ apis?: {
2937
+ type: "url";
2938
+ input: string;
2939
+ server?: string | undefined;
2940
+ id?: string | undefined;
2941
+ navigationId?: string | undefined;
2942
+ categories?: {
2943
+ tags: string[];
2944
+ label: string;
2945
+ }[] | undefined;
2946
+ } | {
2947
+ type: "file";
2948
+ input: string | string[];
2949
+ server?: string | undefined;
2950
+ id?: string | undefined;
2951
+ navigationId?: string | undefined;
2952
+ categories?: {
2953
+ tags: string[];
2954
+ label: string;
2955
+ }[] | undefined;
2956
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2957
+ } | {
2958
+ type: "raw";
2959
+ input: string;
2960
+ server?: string | undefined;
2961
+ id?: string | undefined;
2962
+ navigationId?: string | undefined;
2963
+ categories?: {
2964
+ tags: string[];
2965
+ label: string;
2966
+ }[] | undefined;
2967
+ } | ({
2968
+ type: "url";
2969
+ input: string;
2970
+ server?: string | undefined;
2971
+ id?: string | undefined;
2972
+ navigationId?: string | undefined;
2973
+ categories?: {
2974
+ tags: string[];
2975
+ label: string;
2976
+ }[] | undefined;
2977
+ } | {
2978
+ type: "file";
2979
+ input: string | string[];
2980
+ server?: string | undefined;
2981
+ id?: string | undefined;
2982
+ navigationId?: string | undefined;
2983
+ categories?: {
2984
+ tags: string[];
2985
+ label: string;
2986
+ }[] | undefined;
2987
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2988
+ } | {
2989
+ type: "raw";
2990
+ input: string;
2991
+ server?: string | undefined;
2992
+ id?: string | undefined;
2993
+ navigationId?: string | undefined;
2994
+ categories?: {
2995
+ tags: string[];
2996
+ label: string;
2997
+ }[] | undefined;
2998
+ })[] | undefined;
2999
+ catalogs?: {
3000
+ label: string;
3001
+ navigationId: string;
3002
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3003
+ items?: string[] | undefined;
3004
+ } | {
3005
+ label: string;
3006
+ navigationId: string;
3007
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3008
+ items?: string[] | undefined;
3009
+ }[] | undefined;
3010
+ apiKeys?: {
3011
+ enabled: boolean;
3012
+ endpoint: string;
3013
+ } | {
3014
+ enabled: boolean;
3015
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3016
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3017
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3018
+ updateKeyDescription?: ((apiKey: {
3019
+ id: string;
3020
+ description: string;
3021
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3022
+ createKey?: ((apiKey: {
3023
+ description: string;
3024
+ expiresOn?: string;
3025
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3026
+ } | undefined;
3027
+ redirects?: {
3028
+ from: string;
3029
+ to: string;
3030
+ }[] | undefined;
3031
+ sitemap?: {
3032
+ siteUrl: string;
3033
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3034
+ priority?: number | undefined;
3035
+ outDir?: string | undefined;
3036
+ autoLastmod?: boolean | undefined;
3037
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3038
+ } | undefined;
3039
+ }>;
3040
+ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
3041
+ basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3042
+ page: z.ZodOptional<z.ZodObject<{
3043
+ pageTitle: z.ZodOptional<z.ZodString>;
3044
+ logoUrl: z.ZodOptional<z.ZodString>;
3045
+ logo: z.ZodOptional<z.ZodObject<{
3046
+ src: z.ZodObject<{
3047
+ light: z.ZodString;
3048
+ dark: z.ZodString;
3049
+ }, "strip", z.ZodTypeAny, {
3050
+ dark: string;
3051
+ light: string;
3052
+ }, {
3053
+ dark: string;
3054
+ light: string;
3055
+ }>;
3056
+ alt: z.ZodOptional<z.ZodString>;
3057
+ width: z.ZodOptional<z.ZodString>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ src: {
3060
+ dark: string;
3061
+ light: string;
3062
+ };
3063
+ width?: string | undefined;
3064
+ alt?: string | undefined;
3065
+ }, {
3066
+ src: {
3067
+ dark: string;
3068
+ light: string;
3069
+ };
3070
+ width?: string | undefined;
3071
+ alt?: string | undefined;
3072
+ }>>;
3073
+ banner: z.ZodOptional<z.ZodObject<{
3074
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
3075
+ color: BannerColorType;
3076
+ dismissible: z.ZodOptional<z.ZodBoolean>;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ message: NonNullable<ReactNode>;
3079
+ color?: BannerColorType;
3080
+ dismissible?: boolean | undefined;
3081
+ }, {
3082
+ message: NonNullable<ReactNode>;
3083
+ color?: BannerColorType;
3084
+ dismissible?: boolean | undefined;
3085
+ }>>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ pageTitle?: string | undefined;
3088
+ logoUrl?: string | undefined;
3089
+ logo?: {
3090
+ src: {
3091
+ dark: string;
3092
+ light: string;
3093
+ };
3094
+ width?: string | undefined;
3095
+ alt?: string | undefined;
3096
+ } | undefined;
3097
+ banner?: {
3098
+ message: NonNullable<ReactNode>;
3099
+ color?: BannerColorType;
3100
+ dismissible?: boolean | undefined;
3101
+ } | undefined;
3102
+ }, {
3103
+ pageTitle?: string | undefined;
3104
+ logoUrl?: string | undefined;
3105
+ logo?: {
3106
+ src: {
3107
+ dark: string;
3108
+ light: string;
3109
+ };
3110
+ width?: string | undefined;
3111
+ alt?: string | undefined;
3112
+ } | undefined;
3113
+ banner?: {
3114
+ message: NonNullable<ReactNode>;
3115
+ color?: BannerColorType;
3116
+ dismissible?: boolean | undefined;
3117
+ } | undefined;
3118
+ }>>;
3119
+ topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
3120
+ label: z.ZodString;
3121
+ id: z.ZodString;
3122
+ default: z.ZodOptional<z.ZodString>;
3123
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
3124
+ }, "strip", z.ZodTypeAny, {
3125
+ id: string;
3126
+ label: string;
3127
+ default?: string | undefined;
3128
+ display?: "auth" | "anon" | "always" | undefined;
3129
+ }, {
3130
+ id: string;
3131
+ label: string;
3132
+ default?: string | undefined;
3133
+ display?: "auth" | "anon" | "always" | undefined;
3134
+ }>, "many">>;
3135
+ sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
3136
+ theme: z.ZodOptional<z.ZodObject<{
3137
+ light: z.ZodOptional<z.ZodObject<{
3138
+ background: z.ZodOptional<z.ZodString>;
3139
+ foreground: z.ZodOptional<z.ZodString>;
3140
+ card: z.ZodOptional<z.ZodString>;
3141
+ cardForeground: z.ZodOptional<z.ZodString>;
3142
+ popover: z.ZodOptional<z.ZodString>;
3143
+ popoverForeground: z.ZodOptional<z.ZodString>;
3144
+ primary: z.ZodOptional<z.ZodString>;
3145
+ primaryForeground: z.ZodOptional<z.ZodString>;
3146
+ secondary: z.ZodOptional<z.ZodString>;
3147
+ secondaryForeground: z.ZodOptional<z.ZodString>;
3148
+ muted: z.ZodOptional<z.ZodString>;
3149
+ mutedForeground: z.ZodOptional<z.ZodString>;
3150
+ accent: z.ZodOptional<z.ZodString>;
3151
+ accentForeground: z.ZodOptional<z.ZodString>;
3152
+ destructive: z.ZodOptional<z.ZodString>;
3153
+ destructiveForeground: z.ZodOptional<z.ZodString>;
3154
+ border: z.ZodOptional<z.ZodString>;
3155
+ input: z.ZodOptional<z.ZodString>;
3156
+ ring: z.ZodOptional<z.ZodString>;
3157
+ radius: z.ZodOptional<z.ZodString>;
3158
+ }, "strip", z.ZodTypeAny, {
3159
+ input?: string | undefined;
3160
+ radius?: string | undefined;
3161
+ border?: string | undefined;
3162
+ popover?: string | undefined;
3163
+ background?: string | undefined;
3164
+ foreground?: string | undefined;
3165
+ card?: string | undefined;
3166
+ cardForeground?: string | undefined;
3167
+ popoverForeground?: string | undefined;
3168
+ primary?: string | undefined;
3169
+ primaryForeground?: string | undefined;
3170
+ secondary?: string | undefined;
3171
+ secondaryForeground?: string | undefined;
3172
+ muted?: string | undefined;
3173
+ mutedForeground?: string | undefined;
3174
+ accent?: string | undefined;
3175
+ accentForeground?: string | undefined;
3176
+ destructive?: string | undefined;
3177
+ destructiveForeground?: string | undefined;
3178
+ ring?: string | undefined;
3179
+ }, {
3180
+ input?: string | undefined;
3181
+ radius?: string | undefined;
3182
+ border?: string | undefined;
3183
+ popover?: string | undefined;
3184
+ background?: string | undefined;
3185
+ foreground?: string | undefined;
3186
+ card?: string | undefined;
3187
+ cardForeground?: string | undefined;
3188
+ popoverForeground?: string | undefined;
3189
+ primary?: string | undefined;
3190
+ primaryForeground?: string | undefined;
3191
+ secondary?: string | undefined;
3192
+ secondaryForeground?: string | undefined;
3193
+ muted?: string | undefined;
3194
+ mutedForeground?: string | undefined;
3195
+ accent?: string | undefined;
3196
+ accentForeground?: string | undefined;
3197
+ destructive?: string | undefined;
3198
+ destructiveForeground?: string | undefined;
3199
+ ring?: string | undefined;
3200
+ }>>;
3201
+ dark: z.ZodOptional<z.ZodObject<{
3202
+ background: z.ZodOptional<z.ZodString>;
3203
+ foreground: z.ZodOptional<z.ZodString>;
3204
+ card: z.ZodOptional<z.ZodString>;
3205
+ cardForeground: z.ZodOptional<z.ZodString>;
3206
+ popover: z.ZodOptional<z.ZodString>;
3207
+ popoverForeground: z.ZodOptional<z.ZodString>;
3208
+ primary: z.ZodOptional<z.ZodString>;
3209
+ primaryForeground: z.ZodOptional<z.ZodString>;
3210
+ secondary: z.ZodOptional<z.ZodString>;
3211
+ secondaryForeground: z.ZodOptional<z.ZodString>;
3212
+ muted: z.ZodOptional<z.ZodString>;
3213
+ mutedForeground: z.ZodOptional<z.ZodString>;
3214
+ accent: z.ZodOptional<z.ZodString>;
3215
+ accentForeground: z.ZodOptional<z.ZodString>;
3216
+ destructive: z.ZodOptional<z.ZodString>;
3217
+ destructiveForeground: z.ZodOptional<z.ZodString>;
3218
+ border: z.ZodOptional<z.ZodString>;
3219
+ input: z.ZodOptional<z.ZodString>;
3220
+ ring: z.ZodOptional<z.ZodString>;
3221
+ radius: z.ZodOptional<z.ZodString>;
3222
+ }, "strip", z.ZodTypeAny, {
3223
+ input?: string | undefined;
3224
+ radius?: string | undefined;
3225
+ border?: string | undefined;
3226
+ popover?: string | undefined;
3227
+ background?: string | undefined;
3228
+ foreground?: string | undefined;
3229
+ card?: string | undefined;
3230
+ cardForeground?: string | undefined;
3231
+ popoverForeground?: string | undefined;
3232
+ primary?: string | undefined;
3233
+ primaryForeground?: string | undefined;
3234
+ secondary?: string | undefined;
3235
+ secondaryForeground?: string | undefined;
3236
+ muted?: string | undefined;
3237
+ mutedForeground?: string | undefined;
3238
+ accent?: string | undefined;
3239
+ accentForeground?: string | undefined;
3240
+ destructive?: string | undefined;
3241
+ destructiveForeground?: string | undefined;
3242
+ ring?: string | undefined;
3243
+ }, {
3244
+ input?: string | undefined;
3245
+ radius?: string | undefined;
3246
+ border?: string | undefined;
3247
+ popover?: string | undefined;
3248
+ background?: string | undefined;
3249
+ foreground?: string | undefined;
3250
+ card?: string | undefined;
3251
+ cardForeground?: string | undefined;
3252
+ popoverForeground?: string | undefined;
3253
+ primary?: string | undefined;
3254
+ primaryForeground?: string | undefined;
3255
+ secondary?: string | undefined;
3256
+ secondaryForeground?: string | undefined;
3257
+ muted?: string | undefined;
3258
+ mutedForeground?: string | undefined;
3259
+ accent?: string | undefined;
3260
+ accentForeground?: string | undefined;
3261
+ destructive?: string | undefined;
3262
+ destructiveForeground?: string | undefined;
3263
+ ring?: string | undefined;
3264
+ }>>;
3265
+ fonts: z.ZodOptional<z.ZodObject<{
3266
+ sans: z.ZodOptional<z.ZodObject<{
3267
+ url: z.ZodString;
3268
+ fontFamily: z.ZodString;
3269
+ }, "strip", z.ZodTypeAny, {
3270
+ url: string;
3271
+ fontFamily: string;
3272
+ }, {
3273
+ url: string;
3274
+ fontFamily: string;
3275
+ }>>;
3276
+ mono: z.ZodOptional<z.ZodObject<{
3277
+ url: z.ZodString;
3278
+ fontFamily: z.ZodString;
3279
+ }, "strip", z.ZodTypeAny, {
3280
+ url: string;
3281
+ fontFamily: string;
3282
+ }, {
3283
+ url: string;
3284
+ fontFamily: string;
3285
+ }>>;
3286
+ }, "strip", z.ZodTypeAny, {
3287
+ sans?: {
3288
+ url: string;
3289
+ fontFamily: string;
3290
+ } | undefined;
3291
+ mono?: {
3292
+ url: string;
3293
+ fontFamily: string;
3294
+ } | undefined;
3295
+ }, {
3296
+ sans?: {
3297
+ url: string;
3298
+ fontFamily: string;
3299
+ } | undefined;
3300
+ mono?: {
3301
+ url: string;
3302
+ fontFamily: string;
3303
+ } | undefined;
3304
+ }>>;
3305
+ }, "strip", z.ZodTypeAny, {
3306
+ dark?: {
3307
+ input?: string | undefined;
3308
+ radius?: string | undefined;
3309
+ border?: string | undefined;
3310
+ popover?: string | undefined;
3311
+ background?: string | undefined;
3312
+ foreground?: string | undefined;
3313
+ card?: string | undefined;
3314
+ cardForeground?: string | undefined;
3315
+ popoverForeground?: string | undefined;
3316
+ primary?: string | undefined;
3317
+ primaryForeground?: string | undefined;
3318
+ secondary?: string | undefined;
3319
+ secondaryForeground?: string | undefined;
3320
+ muted?: string | undefined;
3321
+ mutedForeground?: string | undefined;
3322
+ accent?: string | undefined;
3323
+ accentForeground?: string | undefined;
3324
+ destructive?: string | undefined;
3325
+ destructiveForeground?: string | undefined;
3326
+ ring?: string | undefined;
3327
+ } | undefined;
3328
+ light?: {
3329
+ input?: string | undefined;
3330
+ radius?: string | undefined;
3331
+ border?: string | undefined;
3332
+ popover?: string | undefined;
3333
+ background?: string | undefined;
3334
+ foreground?: string | undefined;
3335
+ card?: string | undefined;
3336
+ cardForeground?: string | undefined;
3337
+ popoverForeground?: string | undefined;
3338
+ primary?: string | undefined;
3339
+ primaryForeground?: string | undefined;
3340
+ secondary?: string | undefined;
3341
+ secondaryForeground?: string | undefined;
3342
+ muted?: string | undefined;
3343
+ mutedForeground?: string | undefined;
3344
+ accent?: string | undefined;
3345
+ accentForeground?: string | undefined;
3346
+ destructive?: string | undefined;
3347
+ destructiveForeground?: string | undefined;
3348
+ ring?: string | undefined;
3349
+ } | undefined;
3350
+ fonts?: {
3351
+ sans?: {
3352
+ url: string;
3353
+ fontFamily: string;
3354
+ } | undefined;
3355
+ mono?: {
3356
+ url: string;
3357
+ fontFamily: string;
3358
+ } | undefined;
3359
+ } | undefined;
3360
+ }, {
3361
+ dark?: {
3362
+ input?: string | undefined;
3363
+ radius?: string | undefined;
3364
+ border?: string | undefined;
3365
+ popover?: string | undefined;
3366
+ background?: string | undefined;
3367
+ foreground?: string | undefined;
3368
+ card?: string | undefined;
3369
+ cardForeground?: string | undefined;
3370
+ popoverForeground?: string | undefined;
3371
+ primary?: string | undefined;
3372
+ primaryForeground?: string | undefined;
3373
+ secondary?: string | undefined;
3374
+ secondaryForeground?: string | undefined;
3375
+ muted?: string | undefined;
3376
+ mutedForeground?: string | undefined;
3377
+ accent?: string | undefined;
3378
+ accentForeground?: string | undefined;
3379
+ destructive?: string | undefined;
3380
+ destructiveForeground?: string | undefined;
3381
+ ring?: string | undefined;
3382
+ } | undefined;
3383
+ light?: {
3384
+ input?: string | undefined;
3385
+ radius?: string | undefined;
3386
+ border?: string | undefined;
3387
+ popover?: string | undefined;
3388
+ background?: string | undefined;
3389
+ foreground?: string | undefined;
3390
+ card?: string | undefined;
3391
+ cardForeground?: string | undefined;
3392
+ popoverForeground?: string | undefined;
3393
+ primary?: string | undefined;
3394
+ primaryForeground?: string | undefined;
3395
+ secondary?: string | undefined;
3396
+ secondaryForeground?: string | undefined;
3397
+ muted?: string | undefined;
3398
+ mutedForeground?: string | undefined;
3399
+ accent?: string | undefined;
3400
+ accentForeground?: string | undefined;
3401
+ destructive?: string | undefined;
3402
+ destructiveForeground?: string | undefined;
3403
+ ring?: string | undefined;
3404
+ } | undefined;
3405
+ fonts?: {
3406
+ sans?: {
3407
+ url: string;
3408
+ fontFamily: string;
3409
+ } | undefined;
3410
+ mono?: {
3411
+ url: string;
3412
+ fontFamily: string;
3413
+ } | undefined;
3414
+ } | undefined;
3415
+ }>>;
3416
+ metadata: z.ZodOptional<z.ZodObject<{
3417
+ title: z.ZodOptional<z.ZodString>;
3418
+ description: z.ZodOptional<z.ZodString>;
3419
+ logo: z.ZodOptional<z.ZodString>;
3420
+ favicon: z.ZodOptional<z.ZodString>;
3421
+ generator: z.ZodOptional<z.ZodString>;
3422
+ applicationName: z.ZodOptional<z.ZodString>;
3423
+ referrer: z.ZodOptional<z.ZodString>;
3424
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3425
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3426
+ creator: z.ZodOptional<z.ZodString>;
3427
+ publisher: z.ZodOptional<z.ZodString>;
3428
+ }, "strip", z.ZodTypeAny, {
3429
+ description?: string | undefined;
3430
+ title?: string | undefined;
3431
+ logo?: string | undefined;
3432
+ favicon?: string | undefined;
3433
+ generator?: string | undefined;
3434
+ applicationName?: string | undefined;
3435
+ referrer?: string | undefined;
3436
+ keywords?: string[] | undefined;
3437
+ authors?: string[] | undefined;
3438
+ creator?: string | undefined;
3439
+ publisher?: string | undefined;
3440
+ }, {
3441
+ description?: string | undefined;
3442
+ title?: string | undefined;
3443
+ logo?: string | undefined;
3444
+ favicon?: string | undefined;
3445
+ generator?: string | undefined;
3446
+ applicationName?: string | undefined;
3447
+ referrer?: string | undefined;
3448
+ keywords?: string[] | undefined;
3449
+ authors?: string[] | undefined;
3450
+ creator?: string | undefined;
3451
+ publisher?: string | undefined;
3452
+ }>>;
3453
+ authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3454
+ type: z.ZodLiteral<"clerk">;
3455
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
3456
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3457
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3458
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3459
+ }, "strip", z.ZodTypeAny, {
3460
+ type: "clerk";
3461
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
3462
+ redirectToAfterSignUp?: string | undefined;
3463
+ redirectToAfterSignIn?: string | undefined;
3464
+ redirectToAfterSignOut?: string | undefined;
3465
+ }, {
3466
+ type: "clerk";
3467
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
3468
+ redirectToAfterSignUp?: string | undefined;
3469
+ redirectToAfterSignIn?: string | undefined;
3470
+ redirectToAfterSignOut?: string | undefined;
3471
+ }>, z.ZodObject<{
3472
+ type: z.ZodLiteral<"openid">;
3473
+ clientId: z.ZodString;
3474
+ issuer: z.ZodString;
3475
+ audience: z.ZodOptional<z.ZodString>;
3476
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3477
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3478
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3479
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3480
+ }, "strip", z.ZodTypeAny, {
3481
+ type: "openid";
3482
+ clientId: string;
3483
+ issuer: string;
3484
+ redirectToAfterSignUp?: string | undefined;
3485
+ redirectToAfterSignIn?: string | undefined;
3486
+ redirectToAfterSignOut?: string | undefined;
3487
+ audience?: string | undefined;
3488
+ scopes?: string[] | undefined;
3489
+ }, {
3490
+ type: "openid";
3491
+ clientId: string;
3492
+ issuer: string;
3493
+ redirectToAfterSignUp?: string | undefined;
3494
+ redirectToAfterSignIn?: string | undefined;
3495
+ redirectToAfterSignOut?: string | undefined;
3496
+ audience?: string | undefined;
3497
+ scopes?: string[] | undefined;
3498
+ }>, z.ZodObject<{
3499
+ type: z.ZodLiteral<"auth0">;
3500
+ clientId: z.ZodString;
3501
+ domain: z.ZodString;
3502
+ audience: z.ZodOptional<z.ZodString>;
3503
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3504
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3505
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3506
+ }, "strip", z.ZodTypeAny, {
3507
+ type: "auth0";
3508
+ clientId: string;
3509
+ domain: string;
3510
+ redirectToAfterSignUp?: string | undefined;
3511
+ redirectToAfterSignIn?: string | undefined;
3512
+ redirectToAfterSignOut?: string | undefined;
3513
+ audience?: string | undefined;
3514
+ }, {
3515
+ type: "auth0";
3516
+ clientId: string;
3517
+ domain: string;
3518
+ redirectToAfterSignUp?: string | undefined;
3519
+ redirectToAfterSignIn?: string | undefined;
3520
+ redirectToAfterSignOut?: string | undefined;
3521
+ audience?: string | undefined;
3522
+ }>]>>;
3523
+ search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3524
+ type: z.ZodLiteral<"inkeep">;
3525
+ apiKey: z.ZodString;
3526
+ integrationId: z.ZodString;
3527
+ organizationId: z.ZodString;
3528
+ primaryBrandColor: z.ZodString;
3529
+ organizationDisplayName: z.ZodString;
3530
+ }, "strip", z.ZodTypeAny, {
3531
+ type: "inkeep";
3532
+ apiKey: string;
3533
+ integrationId: string;
3534
+ organizationId: string;
3535
+ primaryBrandColor: string;
3536
+ organizationDisplayName: string;
3537
+ }, {
3538
+ type: "inkeep";
3539
+ apiKey: string;
3540
+ integrationId: string;
3541
+ organizationId: string;
3542
+ primaryBrandColor: string;
3543
+ organizationDisplayName: string;
3544
+ }>>>;
3545
+ docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3546
+ files: z.ZodString;
3547
+ defaultOptions: z.ZodOptional<z.ZodObject<{
3548
+ toc: z.ZodOptional<z.ZodBoolean>;
3549
+ disablePager: z.ZodOptional<z.ZodBoolean>;
3550
+ }, "strip", z.ZodTypeAny, {
3551
+ toc?: boolean | undefined;
3552
+ disablePager?: boolean | undefined;
3553
+ }, {
3554
+ toc?: boolean | undefined;
3555
+ disablePager?: boolean | undefined;
3556
+ }>>;
3557
+ }, "strip", z.ZodTypeAny, {
3558
+ files: string;
3559
+ defaultOptions?: {
3560
+ toc?: boolean | undefined;
3561
+ disablePager?: boolean | undefined;
3562
+ } | undefined;
3563
+ }, {
3564
+ files: string;
3565
+ defaultOptions?: {
3566
+ toc?: boolean | undefined;
3567
+ disablePager?: boolean | undefined;
3568
+ } | undefined;
3569
+ }>, z.ZodArray<z.ZodObject<{
3570
+ files: z.ZodString;
3571
+ defaultOptions: z.ZodOptional<z.ZodObject<{
3572
+ toc: z.ZodOptional<z.ZodBoolean>;
3573
+ disablePager: z.ZodOptional<z.ZodBoolean>;
3574
+ }, "strip", z.ZodTypeAny, {
3575
+ toc?: boolean | undefined;
3576
+ disablePager?: boolean | undefined;
3577
+ }, {
3578
+ toc?: boolean | undefined;
3579
+ disablePager?: boolean | undefined;
3580
+ }>>;
3581
+ }, "strip", z.ZodTypeAny, {
3582
+ files: string;
3583
+ defaultOptions?: {
3584
+ toc?: boolean | undefined;
3585
+ disablePager?: boolean | undefined;
3586
+ } | undefined;
3587
+ }, {
3588
+ files: string;
3589
+ defaultOptions?: {
3590
+ toc?: boolean | undefined;
3591
+ disablePager?: boolean | undefined;
3592
+ } | undefined;
3593
+ }>, "many">]>>;
3594
+ apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3595
+ type: z.ZodLiteral<"url">;
3596
+ input: z.ZodString;
3597
+ }, {
3598
+ id: z.ZodOptional<z.ZodString>;
3599
+ server: z.ZodOptional<z.ZodString>;
3600
+ navigationId: z.ZodOptional<z.ZodString>;
3601
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3602
+ label: z.ZodString;
3603
+ tags: z.ZodArray<z.ZodString, "many">;
3604
+ }, "strip", z.ZodTypeAny, {
3605
+ tags: string[];
3606
+ label: string;
3607
+ }, {
3608
+ tags: string[];
3609
+ label: string;
3610
+ }>, "many">>;
3611
+ }>, "strip", z.ZodTypeAny, {
3612
+ type: "url";
3613
+ input: string;
3614
+ server?: string | undefined;
3615
+ id?: string | undefined;
3616
+ navigationId?: string | undefined;
3617
+ categories?: {
3618
+ tags: string[];
3619
+ label: string;
3620
+ }[] | undefined;
3621
+ }, {
3622
+ type: "url";
3623
+ input: string;
3624
+ server?: string | undefined;
3625
+ id?: string | undefined;
3626
+ navigationId?: string | undefined;
3627
+ categories?: {
3628
+ tags: string[];
3629
+ label: string;
3630
+ }[] | undefined;
3631
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3632
+ type: z.ZodLiteral<"file">;
3633
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3634
+ }, {
3635
+ id: z.ZodOptional<z.ZodString>;
3636
+ server: z.ZodOptional<z.ZodString>;
3637
+ navigationId: z.ZodOptional<z.ZodString>;
3638
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3639
+ label: z.ZodString;
3640
+ tags: z.ZodArray<z.ZodString, "many">;
3641
+ }, "strip", z.ZodTypeAny, {
3642
+ tags: string[];
3643
+ label: string;
3644
+ }, {
3645
+ tags: string[];
3646
+ label: string;
3647
+ }>, "many">>;
3648
+ }>, {
3649
+ 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">>;
3650
+ }>, "strip", z.ZodTypeAny, {
3651
+ type: "file";
3652
+ input: string | string[];
3653
+ server?: string | undefined;
3654
+ id?: string | undefined;
3655
+ navigationId?: string | undefined;
3656
+ categories?: {
3657
+ tags: string[];
3658
+ label: string;
3659
+ }[] | undefined;
3660
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3661
+ }, {
3662
+ type: "file";
3663
+ input: string | string[];
3664
+ server?: string | undefined;
3665
+ id?: string | undefined;
3666
+ navigationId?: string | undefined;
3667
+ categories?: {
3668
+ tags: string[];
3669
+ label: string;
3670
+ }[] | undefined;
3671
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3672
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3673
+ type: z.ZodLiteral<"raw">;
3674
+ input: z.ZodString;
3675
+ }, {
3676
+ id: z.ZodOptional<z.ZodString>;
3677
+ server: z.ZodOptional<z.ZodString>;
3678
+ navigationId: z.ZodOptional<z.ZodString>;
3679
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3680
+ label: z.ZodString;
3681
+ tags: z.ZodArray<z.ZodString, "many">;
3682
+ }, "strip", z.ZodTypeAny, {
3683
+ tags: string[];
3684
+ label: string;
3685
+ }, {
3686
+ tags: string[];
3687
+ label: string;
3688
+ }>, "many">>;
3689
+ }>, "strip", z.ZodTypeAny, {
3690
+ type: "raw";
3691
+ input: string;
3692
+ server?: string | undefined;
3693
+ id?: string | undefined;
3694
+ navigationId?: string | undefined;
3695
+ categories?: {
3696
+ tags: string[];
3697
+ label: string;
3698
+ }[] | undefined;
3699
+ }, {
3700
+ type: "raw";
3701
+ input: string;
3702
+ server?: string | undefined;
3703
+ id?: string | undefined;
3704
+ navigationId?: string | undefined;
3705
+ categories?: {
3706
+ tags: string[];
3707
+ label: string;
3708
+ }[] | undefined;
3709
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3710
+ type: z.ZodLiteral<"url">;
3711
+ input: z.ZodString;
3712
+ }, {
3713
+ id: z.ZodOptional<z.ZodString>;
3714
+ server: z.ZodOptional<z.ZodString>;
3715
+ navigationId: z.ZodOptional<z.ZodString>;
3716
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3717
+ label: z.ZodString;
3718
+ tags: z.ZodArray<z.ZodString, "many">;
3719
+ }, "strip", z.ZodTypeAny, {
3720
+ tags: string[];
3721
+ label: string;
3722
+ }, {
3723
+ tags: string[];
3724
+ label: string;
3725
+ }>, "many">>;
3726
+ }>, "strip", z.ZodTypeAny, {
3727
+ type: "url";
3728
+ input: string;
3729
+ server?: string | undefined;
3730
+ id?: string | undefined;
3731
+ navigationId?: string | undefined;
3732
+ categories?: {
3733
+ tags: string[];
3734
+ label: string;
3735
+ }[] | undefined;
3736
+ }, {
3737
+ type: "url";
3738
+ input: string;
3739
+ server?: string | undefined;
3740
+ id?: string | undefined;
3741
+ navigationId?: string | undefined;
3742
+ categories?: {
3743
+ tags: string[];
3744
+ label: string;
3745
+ }[] | undefined;
3746
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3747
+ type: z.ZodLiteral<"file">;
3748
+ input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3749
+ }, {
3750
+ id: z.ZodOptional<z.ZodString>;
3751
+ server: z.ZodOptional<z.ZodString>;
3752
+ navigationId: z.ZodOptional<z.ZodString>;
3753
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3754
+ label: z.ZodString;
3755
+ tags: z.ZodArray<z.ZodString, "many">;
3756
+ }, "strip", z.ZodTypeAny, {
3757
+ tags: string[];
3758
+ label: string;
3759
+ }, {
3760
+ tags: string[];
3761
+ label: string;
3762
+ }>, "many">>;
3763
+ }>, {
3764
+ 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">>;
3765
+ }>, "strip", z.ZodTypeAny, {
3766
+ type: "file";
3767
+ input: string | string[];
3768
+ server?: string | undefined;
3769
+ id?: string | undefined;
3770
+ navigationId?: string | undefined;
3771
+ categories?: {
3772
+ tags: string[];
3773
+ label: string;
3774
+ }[] | undefined;
3775
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3776
+ }, {
3777
+ type: "file";
3778
+ input: string | string[];
3779
+ server?: string | undefined;
3780
+ id?: string | undefined;
3781
+ navigationId?: string | undefined;
3782
+ categories?: {
3783
+ tags: string[];
3784
+ label: string;
3785
+ }[] | undefined;
3786
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3787
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3788
+ type: z.ZodLiteral<"raw">;
3789
+ input: z.ZodString;
3790
+ }, {
3791
+ id: z.ZodOptional<z.ZodString>;
3792
+ server: z.ZodOptional<z.ZodString>;
3793
+ navigationId: z.ZodOptional<z.ZodString>;
3794
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3795
+ label: z.ZodString;
3796
+ tags: z.ZodArray<z.ZodString, "many">;
3797
+ }, "strip", z.ZodTypeAny, {
3798
+ tags: string[];
3799
+ label: string;
3800
+ }, {
3801
+ tags: string[];
3802
+ label: string;
3803
+ }>, "many">>;
3804
+ }>, "strip", z.ZodTypeAny, {
3805
+ type: "raw";
3806
+ input: string;
3807
+ server?: string | undefined;
3808
+ id?: string | undefined;
3809
+ navigationId?: string | undefined;
3810
+ categories?: {
3811
+ tags: string[];
3812
+ label: string;
3813
+ }[] | undefined;
3814
+ }, {
3815
+ type: "raw";
3816
+ input: string;
3817
+ server?: string | undefined;
3818
+ id?: string | undefined;
3819
+ navigationId?: string | undefined;
3820
+ categories?: {
3821
+ tags: string[];
3822
+ label: string;
3823
+ }[] | undefined;
3824
+ }>]>, "many">]>>;
3825
+ catalogs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3826
+ navigationId: z.ZodString;
3827
+ label: z.ZodString;
3828
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3829
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
3830
+ }, "strip", z.ZodTypeAny, {
3831
+ label: string;
3832
+ navigationId: string;
3833
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3834
+ items?: string[] | undefined;
3835
+ }, {
3836
+ label: string;
3837
+ navigationId: string;
3838
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3839
+ items?: string[] | undefined;
3840
+ }>, z.ZodArray<z.ZodObject<{
3841
+ navigationId: z.ZodString;
3842
+ label: z.ZodString;
3843
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3844
+ filterItems: z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodAny>;
3845
+ }, "strip", z.ZodTypeAny, {
3846
+ label: string;
3847
+ navigationId: string;
3848
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3849
+ items?: string[] | undefined;
3850
+ }, {
3851
+ label: string;
3852
+ navigationId: string;
3853
+ filterItems: (args_0: any, ...args: unknown[]) => any;
3854
+ items?: string[] | undefined;
3855
+ }>, "many">]>>;
3856
+ apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3857
+ enabled: z.ZodBoolean;
3858
+ endpoint: z.ZodString;
3859
+ }, "strip", z.ZodTypeAny, {
3860
+ enabled: boolean;
3861
+ endpoint: string;
3862
+ }, {
3863
+ enabled: boolean;
3864
+ endpoint: string;
3865
+ }>, z.ZodObject<{
3866
+ enabled: z.ZodBoolean;
3867
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
3868
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
3869
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
3870
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
3871
+ id: string;
3872
+ description: string;
3873
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
3874
+ id: string;
3875
+ description: string;
3876
+ }, context: ZudokuContext) => Promise<void>>>;
3877
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
3878
+ description: string;
3879
+ expiresOn?: string;
3880
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
3881
+ description: string;
3882
+ expiresOn?: string;
3883
+ }, context: ZudokuContext) => Promise<void>>>;
3884
+ }, "strip", z.ZodTypeAny, {
3885
+ enabled: boolean;
3886
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3887
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3888
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3889
+ updateKeyDescription?: ((apiKey: {
3890
+ id: string;
3891
+ description: string;
3892
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3893
+ createKey?: ((apiKey: {
3894
+ description: string;
3895
+ expiresOn?: string;
3896
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3897
+ }, {
3898
+ enabled: boolean;
3899
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3900
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3901
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3902
+ updateKeyDescription?: ((apiKey: {
3903
+ id: string;
3904
+ description: string;
3905
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3906
+ createKey?: ((apiKey: {
3907
+ description: string;
3908
+ expiresOn?: string;
3909
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3910
+ }>]>>;
3911
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
3912
+ from: z.ZodString;
3913
+ to: z.ZodString;
3914
+ }, "strip", z.ZodTypeAny, {
3915
+ from: string;
3916
+ to: string;
3917
+ }, {
3918
+ from: string;
3919
+ to: string;
3920
+ }>, "many">>;
3921
+ sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3922
+ /**
3923
+ * Base url of your website
3924
+ */
3925
+ siteUrl: z.ZodString;
3926
+ /**
3927
+ * Change frequency.
3928
+ * @default 'daily'
3929
+ */
3930
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
3931
+ /**
3932
+ * Priority
3933
+ * @default 0.7
3934
+ */
3935
+ priority: z.ZodOptional<z.ZodNumber>;
3936
+ outDir: z.ZodOptional<z.ZodString>;
3937
+ /**
3938
+ * Add <lastmod/> property.
3939
+ * @default true
3940
+ */
3941
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
3942
+ /**
3943
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
3944
+ * @example ['/page-0', '/page/example']
3945
+ */
3946
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
3947
+ }, "strip", z.ZodTypeAny, {
3948
+ siteUrl: string;
3949
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3950
+ priority?: number | undefined;
3951
+ outDir?: string | undefined;
3952
+ autoLastmod?: boolean | undefined;
3953
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3954
+ }, {
3955
+ siteUrl: string;
3956
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3957
+ priority?: number | undefined;
3958
+ outDir?: string | undefined;
3959
+ autoLastmod?: boolean | undefined;
3960
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3961
+ }>>>;
3962
+ }, "strip", z.ZodTypeAny, {
3963
+ search?: {
3964
+ type: "inkeep";
3965
+ apiKey: string;
3966
+ integrationId: string;
3967
+ organizationId: string;
3968
+ primaryBrandColor: string;
3969
+ organizationDisplayName: string;
3970
+ } | undefined;
3971
+ metadata?: {
3972
+ description?: string | undefined;
3973
+ title?: string | undefined;
3974
+ logo?: string | undefined;
3975
+ favicon?: string | undefined;
3976
+ generator?: string | undefined;
3977
+ applicationName?: string | undefined;
3978
+ referrer?: string | undefined;
3979
+ keywords?: string[] | undefined;
3980
+ authors?: string[] | undefined;
3981
+ creator?: string | undefined;
3982
+ publisher?: string | undefined;
3983
+ } | undefined;
3984
+ theme?: {
3985
+ dark?: {
3986
+ input?: string | undefined;
3987
+ radius?: string | undefined;
3988
+ border?: string | undefined;
3989
+ popover?: string | undefined;
3990
+ background?: string | undefined;
3991
+ foreground?: string | undefined;
3992
+ card?: string | undefined;
3993
+ cardForeground?: string | undefined;
3994
+ popoverForeground?: string | undefined;
3995
+ primary?: string | undefined;
3996
+ primaryForeground?: string | undefined;
3997
+ secondary?: string | undefined;
3998
+ secondaryForeground?: string | undefined;
3999
+ muted?: string | undefined;
4000
+ mutedForeground?: string | undefined;
4001
+ accent?: string | undefined;
4002
+ accentForeground?: string | undefined;
4003
+ destructive?: string | undefined;
4004
+ destructiveForeground?: string | undefined;
4005
+ ring?: string | undefined;
4006
+ } | undefined;
4007
+ light?: {
4008
+ input?: string | undefined;
4009
+ radius?: string | undefined;
4010
+ border?: string | undefined;
4011
+ popover?: string | undefined;
4012
+ background?: string | undefined;
4013
+ foreground?: string | undefined;
4014
+ card?: string | undefined;
4015
+ cardForeground?: string | undefined;
4016
+ popoverForeground?: string | undefined;
4017
+ primary?: string | undefined;
4018
+ primaryForeground?: string | undefined;
4019
+ secondary?: string | undefined;
4020
+ secondaryForeground?: string | undefined;
4021
+ muted?: string | undefined;
4022
+ mutedForeground?: string | undefined;
4023
+ accent?: string | undefined;
4024
+ accentForeground?: string | undefined;
4025
+ destructive?: string | undefined;
4026
+ destructiveForeground?: string | undefined;
4027
+ ring?: string | undefined;
4028
+ } | undefined;
4029
+ fonts?: {
4030
+ sans?: {
4031
+ url: string;
4032
+ fontFamily: string;
4033
+ } | undefined;
4034
+ mono?: {
4035
+ url: string;
4036
+ fontFamily: string;
4037
+ } | undefined;
4038
+ } | undefined;
4039
+ } | undefined;
4040
+ basePath?: string | undefined;
4041
+ page?: {
4042
+ pageTitle?: string | undefined;
4043
+ logoUrl?: string | undefined;
4044
+ logo?: {
4045
+ src: {
4046
+ dark: string;
4047
+ light: string;
4048
+ };
4049
+ width?: string | undefined;
4050
+ alt?: string | undefined;
4051
+ } | undefined;
4052
+ banner?: {
4053
+ message: NonNullable<ReactNode>;
4054
+ color?: BannerColorType;
4055
+ dismissible?: boolean | undefined;
4056
+ } | undefined;
4057
+ } | undefined;
4058
+ topNavigation?: {
4059
+ id: string;
4060
+ label: string;
4061
+ default?: string | undefined;
4062
+ display?: "auth" | "anon" | "always" | undefined;
4063
+ }[] | undefined;
4064
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4065
+ authentication?: {
4066
+ type: "clerk";
4067
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4068
+ redirectToAfterSignUp?: string | undefined;
4069
+ redirectToAfterSignIn?: string | undefined;
4070
+ redirectToAfterSignOut?: string | undefined;
4071
+ } | {
4072
+ type: "openid";
4073
+ clientId: string;
4074
+ issuer: string;
4075
+ redirectToAfterSignUp?: string | undefined;
4076
+ redirectToAfterSignIn?: string | undefined;
4077
+ redirectToAfterSignOut?: string | undefined;
4078
+ audience?: string | undefined;
4079
+ scopes?: string[] | undefined;
4080
+ } | {
4081
+ type: "auth0";
4082
+ clientId: string;
4083
+ domain: string;
4084
+ redirectToAfterSignUp?: string | undefined;
4085
+ redirectToAfterSignIn?: string | undefined;
4086
+ redirectToAfterSignOut?: string | undefined;
4087
+ audience?: string | undefined;
4088
+ } | undefined;
4089
+ docs?: {
4090
+ files: string;
4091
+ defaultOptions?: {
4092
+ toc?: boolean | undefined;
4093
+ disablePager?: boolean | undefined;
4094
+ } | undefined;
4095
+ } | {
4096
+ files: string;
4097
+ defaultOptions?: {
4098
+ toc?: boolean | undefined;
4099
+ disablePager?: boolean | undefined;
4100
+ } | undefined;
4101
+ }[] | undefined;
4102
+ apis?: {
4103
+ type: "url";
4104
+ input: string;
4105
+ server?: string | undefined;
4106
+ id?: string | undefined;
4107
+ navigationId?: string | undefined;
4108
+ categories?: {
4109
+ tags: string[];
4110
+ label: string;
4111
+ }[] | undefined;
4112
+ } | {
4113
+ type: "file";
4114
+ input: string | string[];
4115
+ server?: string | undefined;
4116
+ id?: string | undefined;
4117
+ navigationId?: string | undefined;
4118
+ categories?: {
4119
+ tags: string[];
4120
+ label: string;
4121
+ }[] | undefined;
4122
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4123
+ } | {
4124
+ type: "raw";
4125
+ input: string;
4126
+ server?: string | undefined;
4127
+ id?: string | undefined;
4128
+ navigationId?: string | undefined;
4129
+ categories?: {
4130
+ tags: string[];
4131
+ label: string;
4132
+ }[] | undefined;
4133
+ } | ({
4134
+ type: "url";
4135
+ input: string;
4136
+ server?: string | undefined;
4137
+ id?: string | undefined;
4138
+ navigationId?: string | undefined;
4139
+ categories?: {
4140
+ tags: string[];
4141
+ label: string;
4142
+ }[] | undefined;
4143
+ } | {
4144
+ type: "file";
4145
+ input: string | string[];
4146
+ server?: string | undefined;
4147
+ id?: string | undefined;
4148
+ navigationId?: string | undefined;
4149
+ categories?: {
4150
+ tags: string[];
4151
+ label: string;
4152
+ }[] | undefined;
4153
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4154
+ } | {
4155
+ type: "raw";
4156
+ input: string;
4157
+ server?: string | undefined;
4158
+ id?: string | undefined;
4159
+ navigationId?: string | undefined;
4160
+ categories?: {
4161
+ tags: string[];
4162
+ label: string;
4163
+ }[] | undefined;
4164
+ })[] | undefined;
4165
+ catalogs?: {
4166
+ label: string;
4167
+ navigationId: string;
4168
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4169
+ items?: string[] | undefined;
4170
+ } | {
4171
+ label: string;
4172
+ navigationId: string;
4173
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4174
+ items?: string[] | undefined;
4175
+ }[] | undefined;
4176
+ apiKeys?: {
4177
+ enabled: boolean;
4178
+ endpoint: string;
4179
+ } | {
4180
+ enabled: boolean;
4181
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4182
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4183
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4184
+ updateKeyDescription?: ((apiKey: {
4185
+ id: string;
4186
+ description: string;
4187
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4188
+ createKey?: ((apiKey: {
4189
+ description: string;
4190
+ expiresOn?: string;
4191
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4192
+ } | undefined;
4193
+ redirects?: {
4194
+ from: string;
4195
+ to: string;
4196
+ }[] | undefined;
4197
+ sitemap?: {
4198
+ siteUrl: string;
4199
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4200
+ priority?: number | undefined;
4201
+ outDir?: string | undefined;
4202
+ autoLastmod?: boolean | undefined;
4203
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4204
+ } | undefined;
4205
+ }, {
4206
+ search?: {
4207
+ type: "inkeep";
4208
+ apiKey: string;
4209
+ integrationId: string;
4210
+ organizationId: string;
4211
+ primaryBrandColor: string;
4212
+ organizationDisplayName: string;
4213
+ } | undefined;
4214
+ metadata?: {
4215
+ description?: string | undefined;
4216
+ title?: string | undefined;
4217
+ logo?: string | undefined;
4218
+ favicon?: string | undefined;
4219
+ generator?: string | undefined;
4220
+ applicationName?: string | undefined;
4221
+ referrer?: string | undefined;
4222
+ keywords?: string[] | undefined;
4223
+ authors?: string[] | undefined;
4224
+ creator?: string | undefined;
4225
+ publisher?: string | undefined;
4226
+ } | undefined;
4227
+ theme?: {
4228
+ dark?: {
4229
+ input?: string | undefined;
4230
+ radius?: string | undefined;
4231
+ border?: string | undefined;
4232
+ popover?: string | undefined;
4233
+ background?: string | undefined;
4234
+ foreground?: string | undefined;
4235
+ card?: string | undefined;
4236
+ cardForeground?: string | undefined;
4237
+ popoverForeground?: string | undefined;
4238
+ primary?: string | undefined;
4239
+ primaryForeground?: string | undefined;
4240
+ secondary?: string | undefined;
4241
+ secondaryForeground?: string | undefined;
4242
+ muted?: string | undefined;
4243
+ mutedForeground?: string | undefined;
4244
+ accent?: string | undefined;
4245
+ accentForeground?: string | undefined;
4246
+ destructive?: string | undefined;
4247
+ destructiveForeground?: string | undefined;
4248
+ ring?: string | undefined;
4249
+ } | undefined;
4250
+ light?: {
4251
+ input?: string | undefined;
4252
+ radius?: string | undefined;
4253
+ border?: string | undefined;
4254
+ popover?: string | undefined;
4255
+ background?: string | undefined;
4256
+ foreground?: string | undefined;
4257
+ card?: string | undefined;
4258
+ cardForeground?: string | undefined;
4259
+ popoverForeground?: string | undefined;
4260
+ primary?: string | undefined;
4261
+ primaryForeground?: string | undefined;
4262
+ secondary?: string | undefined;
4263
+ secondaryForeground?: string | undefined;
4264
+ muted?: string | undefined;
4265
+ mutedForeground?: string | undefined;
4266
+ accent?: string | undefined;
4267
+ accentForeground?: string | undefined;
4268
+ destructive?: string | undefined;
4269
+ destructiveForeground?: string | undefined;
4270
+ ring?: string | undefined;
4271
+ } | undefined;
4272
+ fonts?: {
4273
+ sans?: {
4274
+ url: string;
4275
+ fontFamily: string;
4276
+ } | undefined;
4277
+ mono?: {
4278
+ url: string;
4279
+ fontFamily: string;
4280
+ } | undefined;
4281
+ } | undefined;
4282
+ } | undefined;
4283
+ basePath?: string | undefined;
4284
+ page?: {
4285
+ pageTitle?: string | undefined;
4286
+ logoUrl?: string | undefined;
4287
+ logo?: {
4288
+ src: {
4289
+ dark: string;
4290
+ light: string;
4291
+ };
4292
+ width?: string | undefined;
4293
+ alt?: string | undefined;
4294
+ } | undefined;
4295
+ banner?: {
4296
+ message: NonNullable<ReactNode>;
4297
+ color?: BannerColorType;
4298
+ dismissible?: boolean | undefined;
4299
+ } | undefined;
4300
+ } | undefined;
4301
+ topNavigation?: {
4302
+ id: string;
4303
+ label: string;
4304
+ default?: string | undefined;
4305
+ display?: "auth" | "anon" | "always" | undefined;
4306
+ }[] | undefined;
4307
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4308
+ authentication?: {
4309
+ type: "clerk";
4310
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4311
+ redirectToAfterSignUp?: string | undefined;
4312
+ redirectToAfterSignIn?: string | undefined;
4313
+ redirectToAfterSignOut?: string | undefined;
4314
+ } | {
4315
+ type: "openid";
4316
+ clientId: string;
4317
+ issuer: string;
4318
+ redirectToAfterSignUp?: string | undefined;
4319
+ redirectToAfterSignIn?: string | undefined;
4320
+ redirectToAfterSignOut?: string | undefined;
4321
+ audience?: string | undefined;
4322
+ scopes?: string[] | undefined;
4323
+ } | {
4324
+ type: "auth0";
4325
+ clientId: string;
4326
+ domain: string;
4327
+ redirectToAfterSignUp?: string | undefined;
4328
+ redirectToAfterSignIn?: string | undefined;
4329
+ redirectToAfterSignOut?: string | undefined;
4330
+ audience?: string | undefined;
4331
+ } | undefined;
4332
+ docs?: {
4333
+ files: string;
4334
+ defaultOptions?: {
4335
+ toc?: boolean | undefined;
4336
+ disablePager?: boolean | undefined;
4337
+ } | undefined;
4338
+ } | {
4339
+ files: string;
4340
+ defaultOptions?: {
4341
+ toc?: boolean | undefined;
4342
+ disablePager?: boolean | undefined;
4343
+ } | undefined;
4344
+ }[] | undefined;
4345
+ apis?: {
4346
+ type: "url";
4347
+ input: string;
4348
+ server?: string | undefined;
4349
+ id?: string | undefined;
4350
+ navigationId?: string | undefined;
4351
+ categories?: {
4352
+ tags: string[];
4353
+ label: string;
4354
+ }[] | undefined;
4355
+ } | {
4356
+ type: "file";
4357
+ input: string | string[];
4358
+ server?: string | undefined;
4359
+ id?: string | undefined;
4360
+ navigationId?: string | undefined;
4361
+ categories?: {
4362
+ tags: string[];
4363
+ label: string;
4364
+ }[] | undefined;
4365
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4366
+ } | {
4367
+ type: "raw";
4368
+ input: string;
4369
+ server?: string | undefined;
4370
+ id?: string | undefined;
4371
+ navigationId?: string | undefined;
4372
+ categories?: {
4373
+ tags: string[];
4374
+ label: string;
4375
+ }[] | undefined;
4376
+ } | ({
4377
+ type: "url";
4378
+ input: string;
4379
+ server?: string | undefined;
4380
+ id?: string | undefined;
4381
+ navigationId?: string | undefined;
4382
+ categories?: {
4383
+ tags: string[];
4384
+ label: string;
4385
+ }[] | undefined;
4386
+ } | {
4387
+ type: "file";
4388
+ input: string | string[];
4389
+ server?: string | undefined;
4390
+ id?: string | undefined;
4391
+ navigationId?: string | undefined;
4392
+ categories?: {
4393
+ tags: string[];
4394
+ label: string;
4395
+ }[] | undefined;
4396
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4397
+ } | {
4398
+ type: "raw";
4399
+ input: string;
4400
+ server?: string | undefined;
4401
+ id?: string | undefined;
4402
+ navigationId?: string | undefined;
4403
+ categories?: {
4404
+ tags: string[];
4405
+ label: string;
4406
+ }[] | undefined;
4407
+ })[] | undefined;
4408
+ catalogs?: {
4409
+ label: string;
4410
+ navigationId: string;
4411
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4412
+ items?: string[] | undefined;
4413
+ } | {
4414
+ label: string;
4415
+ navigationId: string;
4416
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4417
+ items?: string[] | undefined;
4418
+ }[] | undefined;
4419
+ apiKeys?: {
4420
+ enabled: boolean;
4421
+ endpoint: string;
4422
+ } | {
4423
+ enabled: boolean;
4424
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4425
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4426
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4427
+ updateKeyDescription?: ((apiKey: {
4428
+ id: string;
4429
+ description: string;
4430
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4431
+ createKey?: ((apiKey: {
4432
+ description: string;
4433
+ expiresOn?: string;
4434
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4435
+ } | undefined;
4436
+ redirects?: {
4437
+ from: string;
4438
+ to: string;
4439
+ }[] | undefined;
4440
+ sitemap?: {
4441
+ siteUrl: string;
4442
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4443
+ priority?: number | undefined;
4444
+ outDir?: string | undefined;
4445
+ autoLastmod?: boolean | undefined;
4446
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4447
+ } | undefined;
4448
+ }>, {
4449
+ search?: {
4450
+ type: "inkeep";
4451
+ apiKey: string;
4452
+ integrationId: string;
4453
+ organizationId: string;
4454
+ primaryBrandColor: string;
4455
+ organizationDisplayName: string;
4456
+ } | undefined;
4457
+ metadata?: {
4458
+ description?: string | undefined;
4459
+ title?: string | undefined;
4460
+ logo?: string | undefined;
4461
+ favicon?: string | undefined;
4462
+ generator?: string | undefined;
4463
+ applicationName?: string | undefined;
4464
+ referrer?: string | undefined;
4465
+ keywords?: string[] | undefined;
4466
+ authors?: string[] | undefined;
4467
+ creator?: string | undefined;
4468
+ publisher?: string | undefined;
4469
+ } | undefined;
4470
+ theme?: {
4471
+ dark?: {
4472
+ input?: string | undefined;
4473
+ radius?: string | undefined;
4474
+ border?: string | undefined;
4475
+ popover?: string | undefined;
4476
+ background?: string | undefined;
4477
+ foreground?: string | undefined;
4478
+ card?: string | undefined;
4479
+ cardForeground?: string | undefined;
4480
+ popoverForeground?: string | undefined;
4481
+ primary?: string | undefined;
4482
+ primaryForeground?: string | undefined;
4483
+ secondary?: string | undefined;
4484
+ secondaryForeground?: string | undefined;
4485
+ muted?: string | undefined;
4486
+ mutedForeground?: string | undefined;
4487
+ accent?: string | undefined;
4488
+ accentForeground?: string | undefined;
4489
+ destructive?: string | undefined;
4490
+ destructiveForeground?: string | undefined;
4491
+ ring?: string | undefined;
4492
+ } | undefined;
4493
+ light?: {
4494
+ input?: string | undefined;
4495
+ radius?: string | undefined;
4496
+ border?: string | undefined;
4497
+ popover?: string | undefined;
4498
+ background?: string | undefined;
4499
+ foreground?: string | undefined;
4500
+ card?: string | undefined;
4501
+ cardForeground?: string | undefined;
4502
+ popoverForeground?: string | undefined;
4503
+ primary?: string | undefined;
4504
+ primaryForeground?: string | undefined;
4505
+ secondary?: string | undefined;
4506
+ secondaryForeground?: string | undefined;
4507
+ muted?: string | undefined;
4508
+ mutedForeground?: string | undefined;
4509
+ accent?: string | undefined;
4510
+ accentForeground?: string | undefined;
4511
+ destructive?: string | undefined;
4512
+ destructiveForeground?: string | undefined;
4513
+ ring?: string | undefined;
4514
+ } | undefined;
4515
+ fonts?: {
4516
+ sans?: {
4517
+ url: string;
4518
+ fontFamily: string;
4519
+ } | undefined;
4520
+ mono?: {
4521
+ url: string;
4522
+ fontFamily: string;
4523
+ } | undefined;
4524
+ } | undefined;
4525
+ } | undefined;
4526
+ basePath?: string | undefined;
4527
+ page?: {
4528
+ pageTitle?: string | undefined;
4529
+ logoUrl?: string | undefined;
4530
+ logo?: {
4531
+ src: {
4532
+ dark: string;
4533
+ light: string;
4534
+ };
4535
+ width?: string | undefined;
4536
+ alt?: string | undefined;
4537
+ } | undefined;
4538
+ banner?: {
4539
+ message: NonNullable<ReactNode>;
4540
+ color?: BannerColorType;
4541
+ dismissible?: boolean | undefined;
4542
+ } | undefined;
4543
+ } | undefined;
4544
+ topNavigation?: {
4545
+ id: string;
4546
+ label: string;
4547
+ default?: string | undefined;
4548
+ display?: "auth" | "anon" | "always" | undefined;
4549
+ }[] | undefined;
4550
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4551
+ authentication?: {
4552
+ type: "clerk";
4553
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4554
+ redirectToAfterSignUp?: string | undefined;
4555
+ redirectToAfterSignIn?: string | undefined;
4556
+ redirectToAfterSignOut?: string | undefined;
4557
+ } | {
4558
+ type: "openid";
4559
+ clientId: string;
4560
+ issuer: string;
4561
+ redirectToAfterSignUp?: string | undefined;
4562
+ redirectToAfterSignIn?: string | undefined;
4563
+ redirectToAfterSignOut?: string | undefined;
4564
+ audience?: string | undefined;
4565
+ scopes?: string[] | undefined;
4566
+ } | {
4567
+ type: "auth0";
4568
+ clientId: string;
4569
+ domain: string;
4570
+ redirectToAfterSignUp?: string | undefined;
4571
+ redirectToAfterSignIn?: string | undefined;
4572
+ redirectToAfterSignOut?: string | undefined;
4573
+ audience?: string | undefined;
4574
+ } | undefined;
4575
+ docs?: {
4576
+ files: string;
4577
+ defaultOptions?: {
4578
+ toc?: boolean | undefined;
4579
+ disablePager?: boolean | undefined;
4580
+ } | undefined;
4581
+ } | {
4582
+ files: string;
4583
+ defaultOptions?: {
4584
+ toc?: boolean | undefined;
4585
+ disablePager?: boolean | undefined;
4586
+ } | undefined;
4587
+ }[] | undefined;
4588
+ apis?: {
4589
+ type: "url";
4590
+ input: string;
4591
+ server?: string | undefined;
4592
+ id?: string | undefined;
4593
+ navigationId?: string | undefined;
4594
+ categories?: {
4595
+ tags: string[];
4596
+ label: string;
4597
+ }[] | undefined;
4598
+ } | {
4599
+ type: "file";
4600
+ input: string | string[];
4601
+ server?: string | undefined;
4602
+ id?: string | undefined;
4603
+ navigationId?: string | undefined;
4604
+ categories?: {
4605
+ tags: string[];
4606
+ label: string;
4607
+ }[] | undefined;
4608
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4609
+ } | {
4610
+ type: "raw";
4611
+ input: string;
4612
+ server?: string | undefined;
4613
+ id?: string | undefined;
4614
+ navigationId?: string | undefined;
4615
+ categories?: {
4616
+ tags: string[];
4617
+ label: string;
4618
+ }[] | undefined;
4619
+ } | ({
4620
+ type: "url";
4621
+ input: string;
4622
+ server?: string | undefined;
4623
+ id?: string | undefined;
4624
+ navigationId?: string | undefined;
4625
+ categories?: {
4626
+ tags: string[];
4627
+ label: string;
4628
+ }[] | undefined;
4629
+ } | {
4630
+ type: "file";
4631
+ input: string | string[];
4632
+ server?: string | undefined;
4633
+ id?: string | undefined;
4634
+ navigationId?: string | undefined;
4635
+ categories?: {
4636
+ tags: string[];
4637
+ label: string;
4638
+ }[] | undefined;
4639
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4640
+ } | {
4641
+ type: "raw";
4642
+ input: string;
4643
+ server?: string | undefined;
4644
+ id?: string | undefined;
4645
+ navigationId?: string | undefined;
4646
+ categories?: {
4647
+ tags: string[];
4648
+ label: string;
4649
+ }[] | undefined;
4650
+ })[] | undefined;
4651
+ catalogs?: {
4652
+ label: string;
4653
+ navigationId: string;
4654
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4655
+ items?: string[] | undefined;
4656
+ } | {
4657
+ label: string;
4658
+ navigationId: string;
4659
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4660
+ items?: string[] | undefined;
4661
+ }[] | undefined;
4662
+ apiKeys?: {
4663
+ enabled: boolean;
4664
+ endpoint: string;
4665
+ } | {
4666
+ enabled: boolean;
4667
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4668
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4669
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4670
+ updateKeyDescription?: ((apiKey: {
4671
+ id: string;
4672
+ description: string;
4673
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4674
+ createKey?: ((apiKey: {
4675
+ description: string;
4676
+ expiresOn?: string;
4677
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4678
+ } | undefined;
4679
+ redirects?: {
4680
+ from: string;
4681
+ to: string;
4682
+ }[] | undefined;
4683
+ sitemap?: {
4684
+ siteUrl: string;
4685
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4686
+ priority?: number | undefined;
4687
+ outDir?: string | undefined;
4688
+ autoLastmod?: boolean | undefined;
4689
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4690
+ } | undefined;
4691
+ }, {
4692
+ search?: {
4693
+ type: "inkeep";
4694
+ apiKey: string;
4695
+ integrationId: string;
4696
+ organizationId: string;
4697
+ primaryBrandColor: string;
4698
+ organizationDisplayName: string;
4699
+ } | undefined;
4700
+ metadata?: {
4701
+ description?: string | undefined;
4702
+ title?: string | undefined;
4703
+ logo?: string | undefined;
4704
+ favicon?: string | undefined;
4705
+ generator?: string | undefined;
4706
+ applicationName?: string | undefined;
4707
+ referrer?: string | undefined;
4708
+ keywords?: string[] | undefined;
4709
+ authors?: string[] | undefined;
4710
+ creator?: string | undefined;
4711
+ publisher?: string | undefined;
4712
+ } | undefined;
4713
+ theme?: {
4714
+ dark?: {
4715
+ input?: string | undefined;
4716
+ radius?: string | undefined;
4717
+ border?: string | undefined;
4718
+ popover?: string | undefined;
4719
+ background?: string | undefined;
4720
+ foreground?: string | undefined;
4721
+ card?: string | undefined;
4722
+ cardForeground?: string | undefined;
4723
+ popoverForeground?: string | undefined;
4724
+ primary?: string | undefined;
4725
+ primaryForeground?: string | undefined;
4726
+ secondary?: string | undefined;
4727
+ secondaryForeground?: string | undefined;
4728
+ muted?: string | undefined;
4729
+ mutedForeground?: string | undefined;
4730
+ accent?: string | undefined;
4731
+ accentForeground?: string | undefined;
4732
+ destructive?: string | undefined;
4733
+ destructiveForeground?: string | undefined;
4734
+ ring?: string | undefined;
4735
+ } | undefined;
4736
+ light?: {
4737
+ input?: string | undefined;
4738
+ radius?: string | undefined;
4739
+ border?: string | undefined;
4740
+ popover?: string | undefined;
4741
+ background?: string | undefined;
4742
+ foreground?: string | undefined;
4743
+ card?: string | undefined;
4744
+ cardForeground?: string | undefined;
4745
+ popoverForeground?: string | undefined;
4746
+ primary?: string | undefined;
4747
+ primaryForeground?: string | undefined;
4748
+ secondary?: string | undefined;
4749
+ secondaryForeground?: string | undefined;
4750
+ muted?: string | undefined;
4751
+ mutedForeground?: string | undefined;
4752
+ accent?: string | undefined;
4753
+ accentForeground?: string | undefined;
4754
+ destructive?: string | undefined;
4755
+ destructiveForeground?: string | undefined;
4756
+ ring?: string | undefined;
4757
+ } | undefined;
4758
+ fonts?: {
4759
+ sans?: {
4760
+ url: string;
4761
+ fontFamily: string;
4762
+ } | undefined;
4763
+ mono?: {
4764
+ url: string;
4765
+ fontFamily: string;
4766
+ } | undefined;
4767
+ } | undefined;
4768
+ } | undefined;
4769
+ basePath?: string | undefined;
4770
+ page?: {
4771
+ pageTitle?: string | undefined;
4772
+ logoUrl?: string | undefined;
4773
+ logo?: {
4774
+ src: {
4775
+ dark: string;
4776
+ light: string;
4777
+ };
4778
+ width?: string | undefined;
4779
+ alt?: string | undefined;
4780
+ } | undefined;
4781
+ banner?: {
4782
+ message: NonNullable<ReactNode>;
4783
+ color?: BannerColorType;
4784
+ dismissible?: boolean | undefined;
4785
+ } | undefined;
4786
+ } | undefined;
4787
+ topNavigation?: {
4788
+ id: string;
4789
+ label: string;
4790
+ default?: string | undefined;
4791
+ display?: "auth" | "anon" | "always" | undefined;
4792
+ }[] | undefined;
4793
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4794
+ authentication?: {
4795
+ type: "clerk";
4796
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4797
+ redirectToAfterSignUp?: string | undefined;
4798
+ redirectToAfterSignIn?: string | undefined;
4799
+ redirectToAfterSignOut?: string | undefined;
4800
+ } | {
4801
+ type: "openid";
4802
+ clientId: string;
4803
+ issuer: string;
4804
+ redirectToAfterSignUp?: string | undefined;
4805
+ redirectToAfterSignIn?: string | undefined;
4806
+ redirectToAfterSignOut?: string | undefined;
4807
+ audience?: string | undefined;
4808
+ scopes?: string[] | undefined;
4809
+ } | {
4810
+ type: "auth0";
4811
+ clientId: string;
4812
+ domain: string;
4813
+ redirectToAfterSignUp?: string | undefined;
4814
+ redirectToAfterSignIn?: string | undefined;
4815
+ redirectToAfterSignOut?: string | undefined;
4816
+ audience?: string | undefined;
4817
+ } | undefined;
4818
+ docs?: {
4819
+ files: string;
4820
+ defaultOptions?: {
4821
+ toc?: boolean | undefined;
4822
+ disablePager?: boolean | undefined;
4823
+ } | undefined;
4824
+ } | {
4825
+ files: string;
4826
+ defaultOptions?: {
4827
+ toc?: boolean | undefined;
4828
+ disablePager?: boolean | undefined;
4829
+ } | undefined;
4830
+ }[] | undefined;
4831
+ apis?: {
4832
+ type: "url";
4833
+ input: string;
4834
+ server?: string | undefined;
4835
+ id?: string | undefined;
4836
+ navigationId?: string | undefined;
4837
+ categories?: {
4838
+ tags: string[];
4839
+ label: string;
4840
+ }[] | undefined;
4841
+ } | {
4842
+ type: "file";
4843
+ input: string | string[];
4844
+ server?: string | undefined;
4845
+ id?: string | undefined;
4846
+ navigationId?: string | undefined;
4847
+ categories?: {
4848
+ tags: string[];
4849
+ label: string;
4850
+ }[] | undefined;
4851
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4852
+ } | {
4853
+ type: "raw";
4854
+ input: string;
4855
+ server?: string | undefined;
4856
+ id?: string | undefined;
4857
+ navigationId?: string | undefined;
4858
+ categories?: {
4859
+ tags: string[];
4860
+ label: string;
4861
+ }[] | undefined;
4862
+ } | ({
4863
+ type: "url";
4864
+ input: string;
4865
+ server?: string | undefined;
4866
+ id?: string | undefined;
4867
+ navigationId?: string | undefined;
4868
+ categories?: {
4869
+ tags: string[];
4870
+ label: string;
4871
+ }[] | undefined;
4872
+ } | {
4873
+ type: "file";
4874
+ input: string | string[];
4875
+ server?: string | undefined;
4876
+ id?: string | undefined;
4877
+ navigationId?: string | undefined;
4878
+ categories?: {
4879
+ tags: string[];
4880
+ label: string;
4881
+ }[] | undefined;
4882
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4883
+ } | {
4884
+ type: "raw";
4885
+ input: string;
4886
+ server?: string | undefined;
4887
+ id?: string | undefined;
4888
+ navigationId?: string | undefined;
4889
+ categories?: {
4890
+ tags: string[];
4891
+ label: string;
4892
+ }[] | undefined;
4893
+ })[] | undefined;
4894
+ catalogs?: {
4895
+ label: string;
4896
+ navigationId: string;
4897
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4898
+ items?: string[] | undefined;
4899
+ } | {
4900
+ label: string;
4901
+ navigationId: string;
4902
+ filterItems: (args_0: any, ...args: unknown[]) => any;
4903
+ items?: string[] | undefined;
4904
+ }[] | undefined;
4905
+ apiKeys?: {
4906
+ enabled: boolean;
4907
+ endpoint: string;
4908
+ } | {
4909
+ enabled: boolean;
4910
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4911
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4912
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4913
+ updateKeyDescription?: ((apiKey: {
4914
+ id: string;
4915
+ description: string;
4916
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4917
+ createKey?: ((apiKey: {
4918
+ description: string;
4919
+ expiresOn?: string;
4920
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4921
+ } | undefined;
4922
+ redirects?: {
4923
+ from: string;
4924
+ to: string;
4925
+ }[] | undefined;
4926
+ sitemap?: {
4927
+ siteUrl: string;
4928
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4929
+ priority?: number | undefined;
4930
+ outDir?: string | undefined;
4931
+ autoLastmod?: boolean | undefined;
4932
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4933
+ } | undefined;
4934
+ }>;
4935
+ export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
4936
+ export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
4937
+ export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
4938
+ export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
4939
+ export type ZudokuRedirect = z.infer<typeof Redirect>;
4940
+ /**
4941
+ * Type for the dev-portal.json file
4942
+ */
4943
+ export type CommonConfig = z.infer<typeof CommonConfig>;
4944
+ export declare function validateCommonConfig(config: unknown): void;
4945
+ export {};