zudoku 0.0.0-fa903e7 → 0.0.0-fc5c03b

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