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
@@ -1,159 +1,9 @@
1
1
  import type { Options } from "@mdx-js/rollup";
2
2
  import type { ComponentType, ReactNode } from "react";
3
- import type { ZudokuPlugin } from "src/lib/core/plugins.js";
4
- import z, { type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
3
+ import z from "zod";
5
4
  import type { ExposedComponentProps } from "../../lib/components/SlotletProvider.js";
6
- import { ZudokuContext } from "../../lib/core/ZudokuContext.js";
7
- import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
8
- declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
9
- type: z.ZodLiteral<"url">;
10
- input: z.ZodString;
11
- }, {
12
- server: z.ZodOptional<z.ZodString>;
13
- navigationId: z.ZodOptional<z.ZodString>;
14
- }>, "strip", z.ZodTypeAny, {
15
- type: "url";
16
- input: string;
17
- server?: string | undefined;
18
- navigationId?: string | undefined;
19
- }, {
20
- type: "url";
21
- input: string;
22
- server?: string | undefined;
23
- navigationId?: string | undefined;
24
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
25
- type: z.ZodLiteral<"file">;
26
- input: z.ZodString;
27
- }, {
28
- server: z.ZodOptional<z.ZodString>;
29
- navigationId: z.ZodOptional<z.ZodString>;
30
- }>, {
31
- 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">>;
32
- }>, "strip", z.ZodTypeAny, {
33
- type: "file";
34
- input: string;
35
- server?: string | undefined;
36
- navigationId?: string | undefined;
37
- postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
38
- }, {
39
- type: "file";
40
- input: string;
41
- server?: string | undefined;
42
- navigationId?: string | undefined;
43
- postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
44
- }>, z.ZodObject<z.objectUtil.extendShape<{
45
- type: z.ZodLiteral<"raw">;
46
- input: z.ZodString;
47
- }, {
48
- server: z.ZodOptional<z.ZodString>;
49
- navigationId: z.ZodOptional<z.ZodString>;
50
- }>, "strip", z.ZodTypeAny, {
51
- type: "raw";
52
- input: string;
53
- server?: string | undefined;
54
- navigationId?: string | undefined;
55
- }, {
56
- type: "raw";
57
- input: string;
58
- server?: string | undefined;
59
- navigationId?: string | undefined;
60
- }>]>;
61
- declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
62
- /**
63
- * Base url of your website
64
- */
65
- siteUrl: z.ZodString;
66
- /**
67
- * Change frequency.
68
- * @default 'daily'
69
- */
70
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
71
- /**
72
- * Priority
73
- * @default 0.7
74
- */
75
- priority: z.ZodOptional<z.ZodNumber>;
76
- outDir: z.ZodOptional<z.ZodString>;
77
- /**
78
- * Add <lastmod/> property.
79
- * @default true
80
- */
81
- autoLastmod: z.ZodOptional<z.ZodBoolean>;
82
- /**
83
- * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
84
- * @example ['/page-0', '/page/example']
85
- */
86
- exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
87
- }, "strip", z.ZodTypeAny, {
88
- siteUrl: string;
89
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
90
- priority?: number | undefined;
91
- outDir?: string | undefined;
92
- autoLastmod?: boolean | undefined;
93
- exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
94
- }, {
95
- siteUrl: string;
96
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
97
- priority?: number | undefined;
98
- outDir?: string | undefined;
99
- autoLastmod?: boolean | undefined;
100
- exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
101
- }>>;
102
- declare const DocsConfigSchema: z.ZodObject<{
103
- files: z.ZodString;
104
- defaultOptions: z.ZodOptional<z.ZodObject<{
105
- toc: z.ZodOptional<z.ZodBoolean>;
106
- disablePager: z.ZodOptional<z.ZodBoolean>;
107
- }, "strip", z.ZodTypeAny, {
108
- toc?: boolean | undefined;
109
- disablePager?: boolean | undefined;
110
- }, {
111
- toc?: boolean | undefined;
112
- disablePager?: boolean | undefined;
113
- }>>;
114
- }, "strip", z.ZodTypeAny, {
115
- files: string;
116
- defaultOptions?: {
117
- toc?: boolean | undefined;
118
- disablePager?: boolean | undefined;
119
- } | undefined;
120
- }, {
121
- files: string;
122
- defaultOptions?: {
123
- toc?: boolean | undefined;
124
- disablePager?: boolean | undefined;
125
- } | undefined;
126
- }>;
127
- declare const TopNavigationItemSchema: z.ZodObject<{
128
- label: z.ZodString;
129
- id: z.ZodString;
130
- default: z.ZodOptional<z.ZodString>;
131
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
132
- }, "strip", z.ZodTypeAny, {
133
- id: string;
134
- label: string;
135
- default?: string | undefined;
136
- display?: "auth" | "anon" | "always" | undefined;
137
- }, {
138
- id: string;
139
- label: string;
140
- default?: string | undefined;
141
- display?: "auth" | "anon" | "always" | undefined;
142
- }>;
143
- type BannerColorType = ZodOptional<ZodUnion<[
144
- ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
145
- ZodString
146
- ]>>;
147
- declare const Redirect: z.ZodObject<{
148
- from: z.ZodString;
149
- to: z.ZodString;
150
- }, "strip", z.ZodTypeAny, {
151
- from: string;
152
- to: string;
153
- }, {
154
- from: string;
155
- to: string;
156
- }>;
5
+ import type { ZudokuPlugin } from "../../lib/core/plugins.js";
6
+ import { MdxComponentsType } from "../../lib/util/MdxComponents.js";
157
7
  declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
158
8
  basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
159
9
  page: z.ZodOptional<z.ZodObject<{
@@ -164,73 +14,73 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
164
14
  light: z.ZodString;
165
15
  dark: z.ZodString;
166
16
  }, "strip", z.ZodTypeAny, {
167
- light: string;
168
17
  dark: string;
169
- }, {
170
18
  light: string;
19
+ }, {
171
20
  dark: string;
21
+ light: string;
172
22
  }>;
173
23
  alt: z.ZodOptional<z.ZodString>;
174
24
  width: z.ZodOptional<z.ZodString>;
175
25
  }, "strip", z.ZodTypeAny, {
176
26
  src: {
177
- light: string;
178
27
  dark: string;
28
+ light: string;
179
29
  };
180
- alt?: string | undefined;
181
30
  width?: string | undefined;
31
+ alt?: string | undefined;
182
32
  }, {
183
33
  src: {
184
- light: string;
185
34
  dark: string;
35
+ light: string;
186
36
  };
187
- alt?: string | undefined;
188
37
  width?: string | undefined;
38
+ alt?: string | undefined;
189
39
  }>>;
190
- banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
40
+ banner: z.ZodOptional<z.ZodObject<{
191
41
  message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
192
- color: BannerColorType;
42
+ color: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
193
43
  dismissible: z.ZodOptional<z.ZodBoolean>;
194
44
  }, "strip", z.ZodTypeAny, {
195
45
  message: NonNullable<ReactNode>;
196
- color?: BannerColorType;
46
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
197
47
  dismissible?: boolean | undefined;
198
48
  }, {
199
49
  message: NonNullable<ReactNode>;
200
- color?: BannerColorType;
50
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
201
51
  dismissible?: boolean | undefined;
202
- }>>>;
52
+ }>>;
203
53
  }, "strip", z.ZodTypeAny, {
54
+ banner?: {
55
+ message: NonNullable<ReactNode>;
56
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
57
+ dismissible?: boolean | undefined;
58
+ } | undefined;
204
59
  pageTitle?: string | undefined;
205
60
  logoUrl?: string | undefined;
206
61
  logo?: {
207
62
  src: {
208
- light: string;
209
63
  dark: string;
64
+ light: string;
210
65
  };
211
- alt?: string | undefined;
212
66
  width?: string | undefined;
67
+ alt?: string | undefined;
213
68
  } | undefined;
69
+ }, {
214
70
  banner?: {
215
71
  message: NonNullable<ReactNode>;
216
- color?: BannerColorType;
72
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
217
73
  dismissible?: boolean | undefined;
218
74
  } | undefined;
219
- }, {
220
75
  pageTitle?: string | undefined;
221
76
  logoUrl?: string | undefined;
222
77
  logo?: {
223
78
  src: {
224
- light: string;
225
79
  dark: string;
80
+ light: string;
226
81
  };
227
- alt?: string | undefined;
228
82
  width?: string | undefined;
229
- } | undefined;
230
- banner?: {
231
- message: NonNullable<ReactNode>;
232
- color?: BannerColorType;
233
- dismissible?: boolean | undefined;
83
+ alt?: string | undefined;
234
84
  } | undefined;
235
85
  }>>;
236
86
  topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -250,7 +100,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
250
100
  display?: "auth" | "anon" | "always" | undefined;
251
101
  }>, "many">>;
252
102
  sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
253
- UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
254
103
  theme: z.ZodOptional<z.ZodObject<{
255
104
  light: z.ZodOptional<z.ZodObject<{
256
105
  background: z.ZodOptional<z.ZodString>;
@@ -275,6 +124,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
275
124
  radius: z.ZodOptional<z.ZodString>;
276
125
  }, "strip", z.ZodTypeAny, {
277
126
  input?: string | undefined;
127
+ radius?: string | undefined;
128
+ border?: string | undefined;
278
129
  background?: string | undefined;
279
130
  foreground?: string | undefined;
280
131
  card?: string | undefined;
@@ -291,11 +142,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
291
142
  accentForeground?: string | undefined;
292
143
  destructive?: string | undefined;
293
144
  destructiveForeground?: string | undefined;
294
- border?: string | undefined;
295
145
  ring?: string | undefined;
296
- radius?: string | undefined;
297
146
  }, {
298
147
  input?: string | undefined;
148
+ radius?: string | undefined;
149
+ border?: string | undefined;
299
150
  background?: string | undefined;
300
151
  foreground?: string | undefined;
301
152
  card?: string | undefined;
@@ -312,9 +163,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
312
163
  accentForeground?: string | undefined;
313
164
  destructive?: string | undefined;
314
165
  destructiveForeground?: string | undefined;
315
- border?: string | undefined;
316
166
  ring?: string | undefined;
317
- radius?: string | undefined;
318
167
  }>>;
319
168
  dark: z.ZodOptional<z.ZodObject<{
320
169
  background: z.ZodOptional<z.ZodString>;
@@ -339,6 +188,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
339
188
  radius: z.ZodOptional<z.ZodString>;
340
189
  }, "strip", z.ZodTypeAny, {
341
190
  input?: string | undefined;
191
+ radius?: string | undefined;
192
+ border?: string | undefined;
342
193
  background?: string | undefined;
343
194
  foreground?: string | undefined;
344
195
  card?: string | undefined;
@@ -355,11 +206,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
355
206
  accentForeground?: string | undefined;
356
207
  destructive?: string | undefined;
357
208
  destructiveForeground?: string | undefined;
358
- border?: string | undefined;
359
209
  ring?: string | undefined;
360
- radius?: string | undefined;
361
210
  }, {
362
211
  input?: string | undefined;
212
+ radius?: string | undefined;
213
+ border?: string | undefined;
363
214
  background?: string | undefined;
364
215
  foreground?: string | undefined;
365
216
  card?: string | undefined;
@@ -376,13 +227,53 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
376
227
  accentForeground?: string | undefined;
377
228
  destructive?: string | undefined;
378
229
  destructiveForeground?: string | undefined;
379
- border?: string | undefined;
380
230
  ring?: string | undefined;
381
- radius?: string | undefined;
231
+ }>>;
232
+ fonts: z.ZodOptional<z.ZodObject<{
233
+ sans: z.ZodOptional<z.ZodObject<{
234
+ url: z.ZodString;
235
+ fontFamily: z.ZodString;
236
+ }, "strip", z.ZodTypeAny, {
237
+ url: string;
238
+ fontFamily: string;
239
+ }, {
240
+ url: string;
241
+ fontFamily: string;
242
+ }>>;
243
+ mono: z.ZodOptional<z.ZodObject<{
244
+ url: z.ZodString;
245
+ fontFamily: z.ZodString;
246
+ }, "strip", z.ZodTypeAny, {
247
+ url: string;
248
+ fontFamily: string;
249
+ }, {
250
+ url: string;
251
+ fontFamily: string;
252
+ }>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ sans?: {
255
+ url: string;
256
+ fontFamily: string;
257
+ } | undefined;
258
+ mono?: {
259
+ url: string;
260
+ fontFamily: string;
261
+ } | undefined;
262
+ }, {
263
+ sans?: {
264
+ url: string;
265
+ fontFamily: string;
266
+ } | undefined;
267
+ mono?: {
268
+ url: string;
269
+ fontFamily: string;
270
+ } | undefined;
382
271
  }>>;
383
272
  }, "strip", z.ZodTypeAny, {
384
- light?: {
273
+ dark?: {
385
274
  input?: string | undefined;
275
+ radius?: string | undefined;
276
+ border?: string | undefined;
386
277
  background?: string | undefined;
387
278
  foreground?: string | undefined;
388
279
  card?: string | undefined;
@@ -399,12 +290,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
399
290
  accentForeground?: string | undefined;
400
291
  destructive?: string | undefined;
401
292
  destructiveForeground?: string | undefined;
402
- border?: string | undefined;
403
293
  ring?: string | undefined;
404
- radius?: string | undefined;
405
294
  } | undefined;
406
- dark?: {
295
+ light?: {
407
296
  input?: string | undefined;
297
+ radius?: string | undefined;
298
+ border?: string | undefined;
408
299
  background?: string | undefined;
409
300
  foreground?: string | undefined;
410
301
  card?: string | undefined;
@@ -421,13 +312,23 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
421
312
  accentForeground?: string | undefined;
422
313
  destructive?: string | undefined;
423
314
  destructiveForeground?: string | undefined;
424
- border?: string | undefined;
425
315
  ring?: string | undefined;
426
- radius?: string | undefined;
316
+ } | undefined;
317
+ fonts?: {
318
+ sans?: {
319
+ url: string;
320
+ fontFamily: string;
321
+ } | undefined;
322
+ mono?: {
323
+ url: string;
324
+ fontFamily: string;
325
+ } | undefined;
427
326
  } | undefined;
428
327
  }, {
429
- light?: {
328
+ dark?: {
430
329
  input?: string | undefined;
330
+ radius?: string | undefined;
331
+ border?: string | undefined;
431
332
  background?: string | undefined;
432
333
  foreground?: string | undefined;
433
334
  card?: string | undefined;
@@ -444,12 +345,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
444
345
  accentForeground?: string | undefined;
445
346
  destructive?: string | undefined;
446
347
  destructiveForeground?: string | undefined;
447
- border?: string | undefined;
448
348
  ring?: string | undefined;
449
- radius?: string | undefined;
450
349
  } | undefined;
451
- dark?: {
350
+ light?: {
452
351
  input?: string | undefined;
352
+ radius?: string | undefined;
353
+ border?: string | undefined;
453
354
  background?: string | undefined;
454
355
  foreground?: string | undefined;
455
356
  card?: string | undefined;
@@ -466,9 +367,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
466
367
  accentForeground?: string | undefined;
467
368
  destructive?: string | undefined;
468
369
  destructiveForeground?: string | undefined;
469
- border?: string | undefined;
470
370
  ring?: string | undefined;
471
- radius?: string | undefined;
371
+ } | undefined;
372
+ fonts?: {
373
+ sans?: {
374
+ url: string;
375
+ fontFamily: string;
376
+ } | undefined;
377
+ mono?: {
378
+ url: string;
379
+ fontFamily: string;
380
+ } | undefined;
472
381
  } | undefined;
473
382
  }>>;
474
383
  metadata: z.ZodOptional<z.ZodObject<{
@@ -508,13 +417,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
508
417
  creator?: string | undefined;
509
418
  publisher?: string | undefined;
510
419
  }>>;
511
- mdx: z.ZodOptional<z.ZodObject<{
512
- components: z.ZodOptional<z.ZodType<Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined, z.ZodTypeDef, Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined>>;
513
- }, "strip", z.ZodTypeAny, {
514
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
515
- }, {
516
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
517
- }>>;
518
420
  authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
519
421
  type: z.ZodLiteral<"clerk">;
520
422
  clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
@@ -585,7 +487,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
585
487
  redirectToAfterSignOut?: string | undefined;
586
488
  audience?: string | undefined;
587
489
  }>]>>;
588
- search: z.ZodOptional<z.ZodObject<{
490
+ search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
589
491
  type: z.ZodLiteral<"inkeep">;
590
492
  apiKey: z.ZodString;
591
493
  integrationId: z.ZodString;
@@ -606,7 +508,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
606
508
  organizationId: string;
607
509
  primaryBrandColor: string;
608
510
  organizationDisplayName: string;
609
- }>>;
511
+ }>>>;
610
512
  docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
611
513
  files: z.ZodString;
612
514
  defaultOptions: z.ZodOptional<z.ZodObject<{
@@ -660,107 +562,258 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
660
562
  type: z.ZodLiteral<"url">;
661
563
  input: z.ZodString;
662
564
  }, {
565
+ id: z.ZodOptional<z.ZodString>;
663
566
  server: z.ZodOptional<z.ZodString>;
664
567
  navigationId: z.ZodOptional<z.ZodString>;
568
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
569
+ label: z.ZodString;
570
+ tags: z.ZodArray<z.ZodString, "many">;
571
+ }, "strip", z.ZodTypeAny, {
572
+ tags: string[];
573
+ label: string;
574
+ }, {
575
+ tags: string[];
576
+ label: string;
577
+ }>, "many">>;
665
578
  }>, "strip", z.ZodTypeAny, {
666
579
  type: "url";
667
580
  input: string;
668
581
  server?: string | undefined;
582
+ id?: string | undefined;
669
583
  navigationId?: string | undefined;
584
+ categories?: {
585
+ tags: string[];
586
+ label: string;
587
+ }[] | undefined;
670
588
  }, {
671
589
  type: "url";
672
590
  input: string;
673
591
  server?: string | undefined;
592
+ id?: string | undefined;
674
593
  navigationId?: string | undefined;
594
+ categories?: {
595
+ tags: string[];
596
+ label: string;
597
+ }[] | undefined;
675
598
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
676
599
  type: z.ZodLiteral<"file">;
677
600
  input: z.ZodString;
678
601
  }, {
602
+ id: z.ZodOptional<z.ZodString>;
679
603
  server: z.ZodOptional<z.ZodString>;
680
604
  navigationId: z.ZodOptional<z.ZodString>;
605
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
606
+ label: z.ZodString;
607
+ tags: z.ZodArray<z.ZodString, "many">;
608
+ }, "strip", z.ZodTypeAny, {
609
+ tags: string[];
610
+ label: string;
611
+ }, {
612
+ tags: string[];
613
+ label: string;
614
+ }>, "many">>;
681
615
  }>, {
682
616
  postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
683
617
  }>, "strip", z.ZodTypeAny, {
684
618
  type: "file";
685
619
  input: string;
686
620
  server?: string | undefined;
621
+ id?: string | undefined;
687
622
  navigationId?: string | undefined;
623
+ categories?: {
624
+ tags: string[];
625
+ label: string;
626
+ }[] | undefined;
688
627
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
689
628
  }, {
690
629
  type: "file";
691
630
  input: string;
692
631
  server?: string | undefined;
632
+ id?: string | undefined;
693
633
  navigationId?: string | undefined;
634
+ categories?: {
635
+ tags: string[];
636
+ label: string;
637
+ }[] | undefined;
694
638
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
695
639
  }>, z.ZodObject<z.objectUtil.extendShape<{
696
640
  type: z.ZodLiteral<"raw">;
697
641
  input: z.ZodString;
698
642
  }, {
643
+ id: z.ZodOptional<z.ZodString>;
699
644
  server: z.ZodOptional<z.ZodString>;
700
645
  navigationId: z.ZodOptional<z.ZodString>;
646
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
+ label: z.ZodString;
648
+ tags: z.ZodArray<z.ZodString, "many">;
649
+ }, "strip", z.ZodTypeAny, {
650
+ tags: string[];
651
+ label: string;
652
+ }, {
653
+ tags: string[];
654
+ label: string;
655
+ }>, "many">>;
701
656
  }>, "strip", z.ZodTypeAny, {
702
657
  type: "raw";
703
658
  input: string;
704
659
  server?: string | undefined;
660
+ id?: string | undefined;
705
661
  navigationId?: string | undefined;
662
+ categories?: {
663
+ tags: string[];
664
+ label: string;
665
+ }[] | undefined;
706
666
  }, {
707
667
  type: "raw";
708
668
  input: string;
709
669
  server?: string | undefined;
670
+ id?: string | undefined;
710
671
  navigationId?: string | undefined;
672
+ categories?: {
673
+ tags: string[];
674
+ label: string;
675
+ }[] | undefined;
711
676
  }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
712
677
  type: z.ZodLiteral<"url">;
713
678
  input: z.ZodString;
714
679
  }, {
680
+ id: z.ZodOptional<z.ZodString>;
715
681
  server: z.ZodOptional<z.ZodString>;
716
682
  navigationId: z.ZodOptional<z.ZodString>;
683
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
+ label: z.ZodString;
685
+ tags: z.ZodArray<z.ZodString, "many">;
686
+ }, "strip", z.ZodTypeAny, {
687
+ tags: string[];
688
+ label: string;
689
+ }, {
690
+ tags: string[];
691
+ label: string;
692
+ }>, "many">>;
717
693
  }>, "strip", z.ZodTypeAny, {
718
694
  type: "url";
719
695
  input: string;
720
696
  server?: string | undefined;
697
+ id?: string | undefined;
721
698
  navigationId?: string | undefined;
699
+ categories?: {
700
+ tags: string[];
701
+ label: string;
702
+ }[] | undefined;
722
703
  }, {
723
704
  type: "url";
724
705
  input: string;
725
706
  server?: string | undefined;
707
+ id?: string | undefined;
726
708
  navigationId?: string | undefined;
709
+ categories?: {
710
+ tags: string[];
711
+ label: string;
712
+ }[] | undefined;
727
713
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
728
714
  type: z.ZodLiteral<"file">;
729
715
  input: z.ZodString;
730
716
  }, {
717
+ id: z.ZodOptional<z.ZodString>;
731
718
  server: z.ZodOptional<z.ZodString>;
732
719
  navigationId: z.ZodOptional<z.ZodString>;
720
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
721
+ label: z.ZodString;
722
+ tags: z.ZodArray<z.ZodString, "many">;
723
+ }, "strip", z.ZodTypeAny, {
724
+ tags: string[];
725
+ label: string;
726
+ }, {
727
+ tags: string[];
728
+ label: string;
729
+ }>, "many">>;
733
730
  }>, {
734
731
  postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
735
732
  }>, "strip", z.ZodTypeAny, {
736
733
  type: "file";
737
734
  input: string;
738
735
  server?: string | undefined;
736
+ id?: string | undefined;
739
737
  navigationId?: string | undefined;
738
+ categories?: {
739
+ tags: string[];
740
+ label: string;
741
+ }[] | undefined;
740
742
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
741
743
  }, {
742
744
  type: "file";
743
745
  input: string;
744
746
  server?: string | undefined;
747
+ id?: string | undefined;
745
748
  navigationId?: string | undefined;
749
+ categories?: {
750
+ tags: string[];
751
+ label: string;
752
+ }[] | undefined;
746
753
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
747
754
  }>, z.ZodObject<z.objectUtil.extendShape<{
748
755
  type: z.ZodLiteral<"raw">;
749
756
  input: z.ZodString;
750
757
  }, {
758
+ id: z.ZodOptional<z.ZodString>;
751
759
  server: z.ZodOptional<z.ZodString>;
752
760
  navigationId: z.ZodOptional<z.ZodString>;
761
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
762
+ label: z.ZodString;
763
+ tags: z.ZodArray<z.ZodString, "many">;
764
+ }, "strip", z.ZodTypeAny, {
765
+ tags: string[];
766
+ label: string;
767
+ }, {
768
+ tags: string[];
769
+ label: string;
770
+ }>, "many">>;
753
771
  }>, "strip", z.ZodTypeAny, {
754
772
  type: "raw";
755
773
  input: string;
756
774
  server?: string | undefined;
775
+ id?: string | undefined;
757
776
  navigationId?: string | undefined;
777
+ categories?: {
778
+ tags: string[];
779
+ label: string;
780
+ }[] | undefined;
758
781
  }, {
759
782
  type: "raw";
760
783
  input: string;
761
784
  server?: string | undefined;
785
+ id?: string | undefined;
762
786
  navigationId?: string | undefined;
787
+ categories?: {
788
+ tags: string[];
789
+ label: string;
790
+ }[] | undefined;
763
791
  }>]>, "many">]>>;
792
+ catalog: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
793
+ navigationId: z.ZodString;
794
+ label: z.ZodString;
795
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ label: string;
798
+ navigationId: string;
799
+ items?: string[] | undefined;
800
+ }, {
801
+ label: string;
802
+ navigationId: string;
803
+ items?: string[] | undefined;
804
+ }>, z.ZodArray<z.ZodObject<{
805
+ navigationId: z.ZodString;
806
+ label: z.ZodString;
807
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ label: string;
810
+ navigationId: string;
811
+ items?: string[] | undefined;
812
+ }, {
813
+ label: string;
814
+ navigationId: string;
815
+ items?: string[] | undefined;
816
+ }>, "many">]>>;
764
817
  apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
765
818
  enabled: z.ZodBoolean;
766
819
  endpoint: z.ZodString;
@@ -772,49 +825,49 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
772
825
  endpoint: string;
773
826
  }>, z.ZodObject<{
774
827
  enabled: z.ZodBoolean;
775
- getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
776
- rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
777
- deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
828
+ getKeys: z.ZodType<(context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>, z.ZodTypeDef, (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>>;
829
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
830
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
778
831
  updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
779
832
  id: string;
780
833
  description: string;
781
- }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
834
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
782
835
  id: string;
783
836
  description: string;
784
- }, context: ZudokuContext) => Promise<void>>>;
837
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
785
838
  createKey: z.ZodOptional<z.ZodType<(apiKey: {
786
839
  description: string;
787
840
  expiresOn?: string;
788
- }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
841
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
789
842
  description: string;
790
843
  expiresOn?: string;
791
- }, context: ZudokuContext) => Promise<void>>>;
844
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>>>;
792
845
  }, "strip", z.ZodTypeAny, {
793
846
  enabled: boolean;
794
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
795
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
796
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
847
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
848
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
849
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
797
850
  updateKeyDescription?: ((apiKey: {
798
851
  id: string;
799
852
  description: string;
800
- }, context: ZudokuContext) => Promise<void>) | undefined;
853
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
801
854
  createKey?: ((apiKey: {
802
855
  description: string;
803
856
  expiresOn?: string;
804
- }, context: ZudokuContext) => Promise<void>) | undefined;
857
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
805
858
  }, {
806
859
  enabled: boolean;
807
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
808
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
809
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
860
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
861
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
862
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
810
863
  updateKeyDescription?: ((apiKey: {
811
864
  id: string;
812
865
  description: string;
813
- }, context: ZudokuContext) => Promise<void>) | undefined;
866
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
814
867
  createKey?: ((apiKey: {
815
868
  description: string;
816
869
  expiresOn?: string;
817
- }, context: ZudokuContext) => Promise<void>) | undefined;
870
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
818
871
  }>]>>;
819
872
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
820
873
  from: z.ZodString;
@@ -826,48 +879,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
826
879
  from: string;
827
880
  to: string;
828
881
  }>, "many">>;
829
- customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
- path: z.ZodString;
831
- element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
832
- render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
833
- prose: z.ZodOptional<z.ZodBoolean>;
834
- }, "strip", z.ZodTypeAny, {
835
- path: string;
836
- element?: NonNullable<ReactNode> | undefined;
837
- render?: ComponentType<ExposedComponentProps> | undefined;
838
- prose?: boolean | undefined;
839
- }, {
840
- path: string;
841
- element?: NonNullable<ReactNode> | undefined;
842
- render?: ComponentType<ExposedComponentProps> | undefined;
843
- prose?: boolean | undefined;
844
- }>, "many">>;
845
- plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
846
882
  sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
847
- /**
848
- * Base url of your website
849
- */
850
883
  siteUrl: z.ZodString;
851
- /**
852
- * Change frequency.
853
- * @default 'daily'
854
- */
855
884
  changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
856
- /**
857
- * Priority
858
- * @default 0.7
859
- */
860
885
  priority: z.ZodOptional<z.ZodNumber>;
861
886
  outDir: z.ZodOptional<z.ZodString>;
862
- /**
863
- * Add <lastmod/> property.
864
- * @default true
865
- */
866
887
  autoLastmod: z.ZodOptional<z.ZodBoolean>;
867
- /**
868
- * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
869
- * @example ['/page-0', '/page/example']
870
- */
871
888
  exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
872
889
  }, "strip", z.ZodTypeAny, {
873
890
  siteUrl: string;
@@ -884,6 +901,31 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
884
901
  autoLastmod?: boolean | undefined;
885
902
  exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
886
903
  }>>>;
904
+ UNSAFE_slotlets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReactNode | ComponentType<ExposedComponentProps>, z.ZodTypeDef, ReactNode | ComponentType<ExposedComponentProps>>>>;
905
+ mdx: z.ZodOptional<z.ZodObject<{
906
+ components: z.ZodOptional<z.ZodType<MdxComponentsType, z.ZodTypeDef, MdxComponentsType>>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ components?: MdxComponentsType;
909
+ }, {
910
+ components?: MdxComponentsType;
911
+ }>>;
912
+ customPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
913
+ path: z.ZodString;
914
+ element: z.ZodOptional<z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>>;
915
+ render: z.ZodOptional<z.ZodType<ComponentType<ExposedComponentProps>, z.ZodTypeDef, ComponentType<ExposedComponentProps>>>;
916
+ prose: z.ZodOptional<z.ZodBoolean>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ path: string;
919
+ element?: NonNullable<ReactNode> | undefined;
920
+ render?: ComponentType<ExposedComponentProps> | undefined;
921
+ prose?: boolean | undefined;
922
+ }, {
923
+ path: string;
924
+ element?: NonNullable<ReactNode> | undefined;
925
+ render?: ComponentType<ExposedComponentProps> | undefined;
926
+ prose?: boolean | undefined;
927
+ }>, "many">>;
928
+ plugins: z.ZodOptional<z.ZodArray<z.ZodType<ZudokuPlugin, z.ZodTypeDef, ZudokuPlugin>, "many">>;
887
929
  build: z.ZodOptional<z.ZodType<{
888
930
  remarkPlugins?: Options["remarkPlugins"];
889
931
  rehypePlugins?: Options["rehypePlugins"];
@@ -901,35 +943,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
901
943
  primaryBrandColor: string;
902
944
  organizationDisplayName: string;
903
945
  } | undefined;
904
- basePath?: string | undefined;
905
- page?: {
906
- pageTitle?: string | undefined;
907
- logoUrl?: string | undefined;
908
- logo?: {
909
- src: {
910
- light: string;
911
- dark: string;
912
- };
913
- alt?: string | undefined;
914
- width?: string | undefined;
915
- } | undefined;
916
- banner?: {
917
- message: NonNullable<ReactNode>;
918
- color?: BannerColorType;
919
- dismissible?: boolean | undefined;
920
- } | undefined;
946
+ metadata?: {
947
+ description?: string | undefined;
948
+ title?: string | undefined;
949
+ logo?: string | undefined;
950
+ favicon?: string | undefined;
951
+ generator?: string | undefined;
952
+ applicationName?: string | undefined;
953
+ referrer?: string | undefined;
954
+ keywords?: string[] | undefined;
955
+ authors?: string[] | undefined;
956
+ creator?: string | undefined;
957
+ publisher?: string | undefined;
921
958
  } | undefined;
922
- topNavigation?: {
923
- id: string;
924
- label: string;
925
- default?: string | undefined;
926
- display?: "auth" | "anon" | "always" | undefined;
927
- }[] | undefined;
928
- sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
929
- UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
930
959
  theme?: {
931
- light?: {
960
+ dark?: {
932
961
  input?: string | undefined;
962
+ radius?: string | undefined;
963
+ border?: string | undefined;
933
964
  background?: string | undefined;
934
965
  foreground?: string | undefined;
935
966
  card?: string | undefined;
@@ -946,12 +977,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
946
977
  accentForeground?: string | undefined;
947
978
  destructive?: string | undefined;
948
979
  destructiveForeground?: string | undefined;
949
- border?: string | undefined;
950
980
  ring?: string | undefined;
951
- radius?: string | undefined;
952
981
  } | undefined;
953
- dark?: {
982
+ light?: {
954
983
  input?: string | undefined;
984
+ radius?: string | undefined;
985
+ border?: string | undefined;
955
986
  background?: string | undefined;
956
987
  foreground?: string | undefined;
957
988
  card?: string | undefined;
@@ -968,48 +999,79 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
968
999
  accentForeground?: string | undefined;
969
1000
  destructive?: string | undefined;
970
1001
  destructiveForeground?: string | undefined;
971
- border?: string | undefined;
972
1002
  ring?: string | undefined;
973
- radius?: string | undefined;
974
1003
  } | undefined;
975
- } | undefined;
976
- metadata?: {
977
- description?: string | undefined;
978
- title?: string | undefined;
979
- logo?: string | undefined;
980
- favicon?: string | undefined;
981
- generator?: string | undefined;
982
- applicationName?: string | undefined;
983
- referrer?: string | undefined;
984
- keywords?: string[] | undefined;
985
- authors?: string[] | undefined;
986
- creator?: string | undefined;
987
- publisher?: string | undefined;
1004
+ fonts?: {
1005
+ sans?: {
1006
+ url: string;
1007
+ fontFamily: string;
1008
+ } | undefined;
1009
+ mono?: {
1010
+ url: string;
1011
+ fontFamily: string;
1012
+ } | undefined;
1013
+ } | undefined;
988
1014
  } | undefined;
989
1015
  mdx?: {
990
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
1016
+ components?: MdxComponentsType;
991
1017
  } | undefined;
992
- authentication?: {
993
- type: "clerk";
994
- clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
995
- redirectToAfterSignUp?: string | undefined;
996
- redirectToAfterSignIn?: string | undefined;
997
- redirectToAfterSignOut?: string | undefined;
998
- } | {
999
- type: "openid";
1000
- clientId: string;
1001
- issuer: string;
1002
- redirectToAfterSignUp?: string | undefined;
1003
- redirectToAfterSignIn?: string | undefined;
1004
- redirectToAfterSignOut?: string | undefined;
1005
- audience?: string | undefined;
1006
- scopes?: string[] | undefined;
1007
- } | {
1008
- type: "auth0";
1009
- clientId: string;
1010
- domain: string;
1011
- redirectToAfterSignUp?: string | undefined;
1012
- redirectToAfterSignIn?: string | undefined;
1018
+ page?: {
1019
+ banner?: {
1020
+ message: NonNullable<ReactNode>;
1021
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
1022
+ dismissible?: boolean | undefined;
1023
+ } | undefined;
1024
+ pageTitle?: string | undefined;
1025
+ logoUrl?: string | undefined;
1026
+ logo?: {
1027
+ src: {
1028
+ dark: string;
1029
+ light: string;
1030
+ };
1031
+ width?: string | undefined;
1032
+ alt?: string | undefined;
1033
+ } | undefined;
1034
+ } | undefined;
1035
+ UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1036
+ customPages?: {
1037
+ path: string;
1038
+ element?: NonNullable<ReactNode> | undefined;
1039
+ render?: ComponentType<ExposedComponentProps> | undefined;
1040
+ prose?: boolean | undefined;
1041
+ }[] | undefined;
1042
+ build?: {
1043
+ remarkPlugins?: Options["remarkPlugins"];
1044
+ rehypePlugins?: Options["rehypePlugins"];
1045
+ } | undefined;
1046
+ basePath?: string | undefined;
1047
+ topNavigation?: {
1048
+ id: string;
1049
+ label: string;
1050
+ default?: string | undefined;
1051
+ display?: "auth" | "anon" | "always" | undefined;
1052
+ }[] | undefined;
1053
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1054
+ authentication?: {
1055
+ type: "clerk";
1056
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1057
+ redirectToAfterSignUp?: string | undefined;
1058
+ redirectToAfterSignIn?: string | undefined;
1059
+ redirectToAfterSignOut?: string | undefined;
1060
+ } | {
1061
+ type: "openid";
1062
+ clientId: string;
1063
+ issuer: string;
1064
+ redirectToAfterSignUp?: string | undefined;
1065
+ redirectToAfterSignIn?: string | undefined;
1066
+ redirectToAfterSignOut?: string | undefined;
1067
+ audience?: string | undefined;
1068
+ scopes?: string[] | undefined;
1069
+ } | {
1070
+ type: "auth0";
1071
+ clientId: string;
1072
+ domain: string;
1073
+ redirectToAfterSignUp?: string | undefined;
1074
+ redirectToAfterSignIn?: string | undefined;
1013
1075
  redirectToAfterSignOut?: string | undefined;
1014
1076
  audience?: string | undefined;
1015
1077
  } | undefined;
@@ -1030,62 +1092,95 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1030
1092
  type: "url";
1031
1093
  input: string;
1032
1094
  server?: string | undefined;
1095
+ id?: string | undefined;
1033
1096
  navigationId?: string | undefined;
1097
+ categories?: {
1098
+ tags: string[];
1099
+ label: string;
1100
+ }[] | undefined;
1034
1101
  } | {
1035
1102
  type: "file";
1036
1103
  input: string;
1037
1104
  server?: string | undefined;
1105
+ id?: string | undefined;
1038
1106
  navigationId?: string | undefined;
1107
+ categories?: {
1108
+ tags: string[];
1109
+ label: string;
1110
+ }[] | undefined;
1039
1111
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1040
1112
  } | {
1041
1113
  type: "raw";
1042
1114
  input: string;
1043
1115
  server?: string | undefined;
1116
+ id?: string | undefined;
1044
1117
  navigationId?: string | undefined;
1118
+ categories?: {
1119
+ tags: string[];
1120
+ label: string;
1121
+ }[] | undefined;
1045
1122
  } | ({
1046
1123
  type: "url";
1047
1124
  input: string;
1048
1125
  server?: string | undefined;
1126
+ id?: string | undefined;
1049
1127
  navigationId?: string | undefined;
1128
+ categories?: {
1129
+ tags: string[];
1130
+ label: string;
1131
+ }[] | undefined;
1050
1132
  } | {
1051
1133
  type: "file";
1052
1134
  input: string;
1053
1135
  server?: string | undefined;
1136
+ id?: string | undefined;
1054
1137
  navigationId?: string | undefined;
1138
+ categories?: {
1139
+ tags: string[];
1140
+ label: string;
1141
+ }[] | undefined;
1055
1142
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1056
1143
  } | {
1057
1144
  type: "raw";
1058
1145
  input: string;
1059
1146
  server?: string | undefined;
1147
+ id?: string | undefined;
1060
1148
  navigationId?: string | undefined;
1149
+ categories?: {
1150
+ tags: string[];
1151
+ label: string;
1152
+ }[] | undefined;
1061
1153
  })[] | undefined;
1154
+ catalog?: {
1155
+ label: string;
1156
+ navigationId: string;
1157
+ items?: string[] | undefined;
1158
+ } | {
1159
+ label: string;
1160
+ navigationId: string;
1161
+ items?: string[] | undefined;
1162
+ }[] | undefined;
1062
1163
  apiKeys?: {
1063
1164
  enabled: boolean;
1064
1165
  endpoint: string;
1065
1166
  } | {
1066
1167
  enabled: boolean;
1067
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1068
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1069
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1168
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
1169
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1170
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1070
1171
  updateKeyDescription?: ((apiKey: {
1071
1172
  id: string;
1072
1173
  description: string;
1073
- }, context: ZudokuContext) => Promise<void>) | undefined;
1174
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1074
1175
  createKey?: ((apiKey: {
1075
1176
  description: string;
1076
1177
  expiresOn?: string;
1077
- }, context: ZudokuContext) => Promise<void>) | undefined;
1178
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1078
1179
  } | undefined;
1079
1180
  redirects?: {
1080
1181
  from: string;
1081
1182
  to: string;
1082
1183
  }[] | undefined;
1083
- customPages?: {
1084
- path: string;
1085
- element?: NonNullable<ReactNode> | undefined;
1086
- render?: ComponentType<ExposedComponentProps> | undefined;
1087
- prose?: boolean | undefined;
1088
- }[] | undefined;
1089
1184
  sitemap?: {
1090
1185
  siteUrl: string;
1091
1186
  changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
@@ -1094,10 +1189,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1094
1189
  autoLastmod?: boolean | undefined;
1095
1190
  exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1096
1191
  } | undefined;
1097
- build?: {
1098
- remarkPlugins?: Options["remarkPlugins"];
1099
- rehypePlugins?: Options["rehypePlugins"];
1100
- } | undefined;
1101
1192
  }, {
1102
1193
  plugins?: ZudokuPlugin[] | undefined;
1103
1194
  search?: {
@@ -1108,35 +1199,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1108
1199
  primaryBrandColor: string;
1109
1200
  organizationDisplayName: string;
1110
1201
  } | undefined;
1111
- basePath?: string | undefined;
1112
- page?: {
1113
- pageTitle?: string | undefined;
1114
- logoUrl?: string | undefined;
1115
- logo?: {
1116
- src: {
1117
- light: string;
1118
- dark: string;
1119
- };
1120
- alt?: string | undefined;
1121
- width?: string | undefined;
1122
- } | undefined;
1123
- banner?: {
1124
- message: NonNullable<ReactNode>;
1125
- color?: BannerColorType;
1126
- dismissible?: boolean | undefined;
1127
- } | undefined;
1202
+ metadata?: {
1203
+ description?: string | undefined;
1204
+ title?: string | undefined;
1205
+ logo?: string | undefined;
1206
+ favicon?: string | undefined;
1207
+ generator?: string | undefined;
1208
+ applicationName?: string | undefined;
1209
+ referrer?: string | undefined;
1210
+ keywords?: string[] | undefined;
1211
+ authors?: string[] | undefined;
1212
+ creator?: string | undefined;
1213
+ publisher?: string | undefined;
1128
1214
  } | undefined;
1129
- topNavigation?: {
1130
- id: string;
1131
- label: string;
1132
- default?: string | undefined;
1133
- display?: "auth" | "anon" | "always" | undefined;
1134
- }[] | undefined;
1135
- sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1136
- UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1137
1215
  theme?: {
1138
- light?: {
1216
+ dark?: {
1139
1217
  input?: string | undefined;
1218
+ radius?: string | undefined;
1219
+ border?: string | undefined;
1140
1220
  background?: string | undefined;
1141
1221
  foreground?: string | undefined;
1142
1222
  card?: string | undefined;
@@ -1153,12 +1233,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1153
1233
  accentForeground?: string | undefined;
1154
1234
  destructive?: string | undefined;
1155
1235
  destructiveForeground?: string | undefined;
1156
- border?: string | undefined;
1157
1236
  ring?: string | undefined;
1158
- radius?: string | undefined;
1159
1237
  } | undefined;
1160
- dark?: {
1238
+ light?: {
1161
1239
  input?: string | undefined;
1240
+ radius?: string | undefined;
1241
+ border?: string | undefined;
1162
1242
  background?: string | undefined;
1163
1243
  foreground?: string | undefined;
1164
1244
  card?: string | undefined;
@@ -1175,27 +1255,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1175
1255
  accentForeground?: string | undefined;
1176
1256
  destructive?: string | undefined;
1177
1257
  destructiveForeground?: string | undefined;
1178
- border?: string | undefined;
1179
1258
  ring?: string | undefined;
1180
- radius?: string | undefined;
1181
1259
  } | undefined;
1182
- } | undefined;
1183
- metadata?: {
1184
- description?: string | undefined;
1185
- title?: string | undefined;
1186
- logo?: string | undefined;
1187
- favicon?: string | undefined;
1188
- generator?: string | undefined;
1189
- applicationName?: string | undefined;
1190
- referrer?: string | undefined;
1191
- keywords?: string[] | undefined;
1192
- authors?: string[] | undefined;
1193
- creator?: string | undefined;
1194
- publisher?: string | undefined;
1260
+ fonts?: {
1261
+ sans?: {
1262
+ url: string;
1263
+ fontFamily: string;
1264
+ } | undefined;
1265
+ mono?: {
1266
+ url: string;
1267
+ fontFamily: string;
1268
+ } | undefined;
1269
+ } | undefined;
1195
1270
  } | undefined;
1196
1271
  mdx?: {
1197
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
1272
+ components?: MdxComponentsType;
1198
1273
  } | undefined;
1274
+ page?: {
1275
+ banner?: {
1276
+ message: NonNullable<ReactNode>;
1277
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
1278
+ dismissible?: boolean | undefined;
1279
+ } | undefined;
1280
+ pageTitle?: string | undefined;
1281
+ logoUrl?: string | undefined;
1282
+ logo?: {
1283
+ src: {
1284
+ dark: string;
1285
+ light: string;
1286
+ };
1287
+ width?: string | undefined;
1288
+ alt?: string | undefined;
1289
+ } | undefined;
1290
+ } | undefined;
1291
+ UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1292
+ customPages?: {
1293
+ path: string;
1294
+ element?: NonNullable<ReactNode> | undefined;
1295
+ render?: ComponentType<ExposedComponentProps> | undefined;
1296
+ prose?: boolean | undefined;
1297
+ }[] | undefined;
1298
+ build?: {
1299
+ remarkPlugins?: Options["remarkPlugins"];
1300
+ rehypePlugins?: Options["rehypePlugins"];
1301
+ } | undefined;
1302
+ basePath?: string | undefined;
1303
+ topNavigation?: {
1304
+ id: string;
1305
+ label: string;
1306
+ default?: string | undefined;
1307
+ display?: "auth" | "anon" | "always" | undefined;
1308
+ }[] | undefined;
1309
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1199
1310
  authentication?: {
1200
1311
  type: "clerk";
1201
1312
  clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
@@ -1237,62 +1348,95 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1237
1348
  type: "url";
1238
1349
  input: string;
1239
1350
  server?: string | undefined;
1351
+ id?: string | undefined;
1240
1352
  navigationId?: string | undefined;
1353
+ categories?: {
1354
+ tags: string[];
1355
+ label: string;
1356
+ }[] | undefined;
1241
1357
  } | {
1242
1358
  type: "file";
1243
1359
  input: string;
1244
1360
  server?: string | undefined;
1361
+ id?: string | undefined;
1245
1362
  navigationId?: string | undefined;
1363
+ categories?: {
1364
+ tags: string[];
1365
+ label: string;
1366
+ }[] | undefined;
1246
1367
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1247
1368
  } | {
1248
1369
  type: "raw";
1249
1370
  input: string;
1250
1371
  server?: string | undefined;
1372
+ id?: string | undefined;
1251
1373
  navigationId?: string | undefined;
1374
+ categories?: {
1375
+ tags: string[];
1376
+ label: string;
1377
+ }[] | undefined;
1252
1378
  } | ({
1253
1379
  type: "url";
1254
1380
  input: string;
1255
1381
  server?: string | undefined;
1382
+ id?: string | undefined;
1256
1383
  navigationId?: string | undefined;
1384
+ categories?: {
1385
+ tags: string[];
1386
+ label: string;
1387
+ }[] | undefined;
1257
1388
  } | {
1258
1389
  type: "file";
1259
1390
  input: string;
1260
1391
  server?: string | undefined;
1392
+ id?: string | undefined;
1261
1393
  navigationId?: string | undefined;
1394
+ categories?: {
1395
+ tags: string[];
1396
+ label: string;
1397
+ }[] | undefined;
1262
1398
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1263
1399
  } | {
1264
1400
  type: "raw";
1265
1401
  input: string;
1266
1402
  server?: string | undefined;
1403
+ id?: string | undefined;
1267
1404
  navigationId?: string | undefined;
1405
+ categories?: {
1406
+ tags: string[];
1407
+ label: string;
1408
+ }[] | undefined;
1268
1409
  })[] | undefined;
1410
+ catalog?: {
1411
+ label: string;
1412
+ navigationId: string;
1413
+ items?: string[] | undefined;
1414
+ } | {
1415
+ label: string;
1416
+ navigationId: string;
1417
+ items?: string[] | undefined;
1418
+ }[] | undefined;
1269
1419
  apiKeys?: {
1270
1420
  enabled: boolean;
1271
1421
  endpoint: string;
1272
1422
  } | {
1273
1423
  enabled: boolean;
1274
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1275
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1276
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1424
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
1425
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1426
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1277
1427
  updateKeyDescription?: ((apiKey: {
1278
1428
  id: string;
1279
1429
  description: string;
1280
- }, context: ZudokuContext) => Promise<void>) | undefined;
1430
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1281
1431
  createKey?: ((apiKey: {
1282
1432
  description: string;
1283
1433
  expiresOn?: string;
1284
- }, context: ZudokuContext) => Promise<void>) | undefined;
1434
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1285
1435
  } | undefined;
1286
1436
  redirects?: {
1287
1437
  from: string;
1288
1438
  to: string;
1289
1439
  }[] | undefined;
1290
- customPages?: {
1291
- path: string;
1292
- element?: NonNullable<ReactNode> | undefined;
1293
- render?: ComponentType<ExposedComponentProps> | undefined;
1294
- prose?: boolean | undefined;
1295
- }[] | undefined;
1296
1440
  sitemap?: {
1297
1441
  siteUrl: string;
1298
1442
  changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
@@ -1301,10 +1445,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1301
1445
  autoLastmod?: boolean | undefined;
1302
1446
  exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1303
1447
  } | undefined;
1304
- build?: {
1305
- remarkPlugins?: Options["remarkPlugins"];
1306
- rehypePlugins?: Options["rehypePlugins"];
1307
- } | undefined;
1308
1448
  }>, {
1309
1449
  plugins?: ZudokuPlugin[] | undefined;
1310
1450
  search?: {
@@ -1315,35 +1455,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1315
1455
  primaryBrandColor: string;
1316
1456
  organizationDisplayName: string;
1317
1457
  } | undefined;
1318
- basePath?: string | undefined;
1319
- page?: {
1320
- pageTitle?: string | undefined;
1321
- logoUrl?: string | undefined;
1322
- logo?: {
1323
- src: {
1324
- light: string;
1325
- dark: string;
1326
- };
1327
- alt?: string | undefined;
1328
- width?: string | undefined;
1329
- } | undefined;
1330
- banner?: {
1331
- message: NonNullable<ReactNode>;
1332
- color?: BannerColorType;
1333
- dismissible?: boolean | undefined;
1334
- } | undefined;
1458
+ metadata?: {
1459
+ description?: string | undefined;
1460
+ title?: string | undefined;
1461
+ logo?: string | undefined;
1462
+ favicon?: string | undefined;
1463
+ generator?: string | undefined;
1464
+ applicationName?: string | undefined;
1465
+ referrer?: string | undefined;
1466
+ keywords?: string[] | undefined;
1467
+ authors?: string[] | undefined;
1468
+ creator?: string | undefined;
1469
+ publisher?: string | undefined;
1335
1470
  } | undefined;
1336
- topNavigation?: {
1337
- id: string;
1338
- label: string;
1339
- default?: string | undefined;
1340
- display?: "auth" | "anon" | "always" | undefined;
1341
- }[] | undefined;
1342
- sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1343
- UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1344
1471
  theme?: {
1345
- light?: {
1472
+ dark?: {
1346
1473
  input?: string | undefined;
1474
+ radius?: string | undefined;
1475
+ border?: string | undefined;
1347
1476
  background?: string | undefined;
1348
1477
  foreground?: string | undefined;
1349
1478
  card?: string | undefined;
@@ -1360,12 +1489,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1360
1489
  accentForeground?: string | undefined;
1361
1490
  destructive?: string | undefined;
1362
1491
  destructiveForeground?: string | undefined;
1363
- border?: string | undefined;
1364
1492
  ring?: string | undefined;
1365
- radius?: string | undefined;
1366
1493
  } | undefined;
1367
- dark?: {
1494
+ light?: {
1368
1495
  input?: string | undefined;
1496
+ radius?: string | undefined;
1497
+ border?: string | undefined;
1369
1498
  background?: string | undefined;
1370
1499
  foreground?: string | undefined;
1371
1500
  card?: string | undefined;
@@ -1382,27 +1511,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1382
1511
  accentForeground?: string | undefined;
1383
1512
  destructive?: string | undefined;
1384
1513
  destructiveForeground?: string | undefined;
1385
- border?: string | undefined;
1386
1514
  ring?: string | undefined;
1387
- radius?: string | undefined;
1388
1515
  } | undefined;
1389
- } | undefined;
1390
- metadata?: {
1391
- description?: string | undefined;
1392
- title?: string | undefined;
1393
- logo?: string | undefined;
1394
- favicon?: string | undefined;
1395
- generator?: string | undefined;
1396
- applicationName?: string | undefined;
1397
- referrer?: string | undefined;
1398
- keywords?: string[] | undefined;
1399
- authors?: string[] | undefined;
1400
- creator?: string | undefined;
1401
- publisher?: string | undefined;
1516
+ fonts?: {
1517
+ sans?: {
1518
+ url: string;
1519
+ fontFamily: string;
1520
+ } | undefined;
1521
+ mono?: {
1522
+ url: string;
1523
+ fontFamily: string;
1524
+ } | undefined;
1525
+ } | undefined;
1402
1526
  } | undefined;
1403
1527
  mdx?: {
1404
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
1528
+ components?: MdxComponentsType;
1405
1529
  } | undefined;
1530
+ page?: {
1531
+ banner?: {
1532
+ message: NonNullable<ReactNode>;
1533
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
1534
+ dismissible?: boolean | undefined;
1535
+ } | undefined;
1536
+ pageTitle?: string | undefined;
1537
+ logoUrl?: string | undefined;
1538
+ logo?: {
1539
+ src: {
1540
+ dark: string;
1541
+ light: string;
1542
+ };
1543
+ width?: string | undefined;
1544
+ alt?: string | undefined;
1545
+ } | undefined;
1546
+ } | undefined;
1547
+ UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1548
+ customPages?: {
1549
+ path: string;
1550
+ element?: NonNullable<ReactNode> | undefined;
1551
+ render?: ComponentType<ExposedComponentProps> | undefined;
1552
+ prose?: boolean | undefined;
1553
+ }[] | undefined;
1554
+ build?: {
1555
+ remarkPlugins?: Options["remarkPlugins"];
1556
+ rehypePlugins?: Options["rehypePlugins"];
1557
+ } | undefined;
1558
+ basePath?: string | undefined;
1559
+ topNavigation?: {
1560
+ id: string;
1561
+ label: string;
1562
+ default?: string | undefined;
1563
+ display?: "auth" | "anon" | "always" | undefined;
1564
+ }[] | undefined;
1565
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1406
1566
  authentication?: {
1407
1567
  type: "clerk";
1408
1568
  clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
@@ -1444,62 +1604,95 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1444
1604
  type: "url";
1445
1605
  input: string;
1446
1606
  server?: string | undefined;
1607
+ id?: string | undefined;
1447
1608
  navigationId?: string | undefined;
1609
+ categories?: {
1610
+ tags: string[];
1611
+ label: string;
1612
+ }[] | undefined;
1448
1613
  } | {
1449
1614
  type: "file";
1450
1615
  input: string;
1451
1616
  server?: string | undefined;
1617
+ id?: string | undefined;
1452
1618
  navigationId?: string | undefined;
1619
+ categories?: {
1620
+ tags: string[];
1621
+ label: string;
1622
+ }[] | undefined;
1453
1623
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1454
1624
  } | {
1455
1625
  type: "raw";
1456
1626
  input: string;
1457
1627
  server?: string | undefined;
1628
+ id?: string | undefined;
1458
1629
  navigationId?: string | undefined;
1630
+ categories?: {
1631
+ tags: string[];
1632
+ label: string;
1633
+ }[] | undefined;
1459
1634
  } | ({
1460
1635
  type: "url";
1461
1636
  input: string;
1462
1637
  server?: string | undefined;
1638
+ id?: string | undefined;
1463
1639
  navigationId?: string | undefined;
1640
+ categories?: {
1641
+ tags: string[];
1642
+ label: string;
1643
+ }[] | undefined;
1464
1644
  } | {
1465
1645
  type: "file";
1466
1646
  input: string;
1467
1647
  server?: string | undefined;
1648
+ id?: string | undefined;
1468
1649
  navigationId?: string | undefined;
1650
+ categories?: {
1651
+ tags: string[];
1652
+ label: string;
1653
+ }[] | undefined;
1469
1654
  postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1470
1655
  } | {
1471
1656
  type: "raw";
1472
1657
  input: string;
1473
1658
  server?: string | undefined;
1659
+ id?: string | undefined;
1474
1660
  navigationId?: string | undefined;
1661
+ categories?: {
1662
+ tags: string[];
1663
+ label: string;
1664
+ }[] | undefined;
1475
1665
  })[] | undefined;
1666
+ catalog?: {
1667
+ label: string;
1668
+ navigationId: string;
1669
+ items?: string[] | undefined;
1670
+ } | {
1671
+ label: string;
1672
+ navigationId: string;
1673
+ items?: string[] | undefined;
1674
+ }[] | undefined;
1476
1675
  apiKeys?: {
1477
1676
  enabled: boolean;
1478
1677
  endpoint: string;
1479
1678
  } | {
1480
1679
  enabled: boolean;
1481
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1482
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1483
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1680
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
1681
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1682
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1484
1683
  updateKeyDescription?: ((apiKey: {
1485
1684
  id: string;
1486
1685
  description: string;
1487
- }, context: ZudokuContext) => Promise<void>) | undefined;
1686
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1488
1687
  createKey?: ((apiKey: {
1489
1688
  description: string;
1490
1689
  expiresOn?: string;
1491
- }, context: ZudokuContext) => Promise<void>) | undefined;
1690
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1492
1691
  } | undefined;
1493
1692
  redirects?: {
1494
1693
  from: string;
1495
1694
  to: string;
1496
1695
  }[] | undefined;
1497
- customPages?: {
1498
- path: string;
1499
- element?: NonNullable<ReactNode> | undefined;
1500
- render?: ComponentType<ExposedComponentProps> | undefined;
1501
- prose?: boolean | undefined;
1502
- }[] | undefined;
1503
1696
  sitemap?: {
1504
1697
  siteUrl: string;
1505
1698
  changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
@@ -1508,10 +1701,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1508
1701
  autoLastmod?: boolean | undefined;
1509
1702
  exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1510
1703
  } | undefined;
1511
- build?: {
1512
- remarkPlugins?: Options["remarkPlugins"];
1513
- rehypePlugins?: Options["rehypePlugins"];
1514
- } | undefined;
1515
1704
  }, {
1516
1705
  plugins?: ZudokuPlugin[] | undefined;
1517
1706
  search?: {
@@ -1522,35 +1711,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1522
1711
  primaryBrandColor: string;
1523
1712
  organizationDisplayName: string;
1524
1713
  } | undefined;
1525
- basePath?: string | undefined;
1526
- page?: {
1527
- pageTitle?: string | undefined;
1528
- logoUrl?: string | undefined;
1529
- logo?: {
1530
- src: {
1531
- light: string;
1532
- dark: string;
1533
- };
1534
- alt?: string | undefined;
1535
- width?: string | undefined;
1536
- } | undefined;
1537
- banner?: {
1538
- message: NonNullable<ReactNode>;
1539
- color?: BannerColorType;
1540
- dismissible?: boolean | undefined;
1541
- } | undefined;
1714
+ metadata?: {
1715
+ description?: string | undefined;
1716
+ title?: string | undefined;
1717
+ logo?: string | undefined;
1718
+ favicon?: string | undefined;
1719
+ generator?: string | undefined;
1720
+ applicationName?: string | undefined;
1721
+ referrer?: string | undefined;
1722
+ keywords?: string[] | undefined;
1723
+ authors?: string[] | undefined;
1724
+ creator?: string | undefined;
1725
+ publisher?: string | undefined;
1542
1726
  } | undefined;
1543
- topNavigation?: {
1544
- id: string;
1545
- label: string;
1546
- default?: string | undefined;
1547
- display?: "auth" | "anon" | "always" | undefined;
1548
- }[] | undefined;
1549
- sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1550
- UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1551
1727
  theme?: {
1552
- light?: {
1728
+ dark?: {
1553
1729
  input?: string | undefined;
1730
+ radius?: string | undefined;
1731
+ border?: string | undefined;
1554
1732
  background?: string | undefined;
1555
1733
  foreground?: string | undefined;
1556
1734
  card?: string | undefined;
@@ -1567,12 +1745,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1567
1745
  accentForeground?: string | undefined;
1568
1746
  destructive?: string | undefined;
1569
1747
  destructiveForeground?: string | undefined;
1570
- border?: string | undefined;
1571
1748
  ring?: string | undefined;
1572
- radius?: string | undefined;
1573
1749
  } | undefined;
1574
- dark?: {
1750
+ light?: {
1575
1751
  input?: string | undefined;
1752
+ radius?: string | undefined;
1753
+ border?: string | undefined;
1576
1754
  background?: string | undefined;
1577
1755
  foreground?: string | undefined;
1578
1756
  card?: string | undefined;
@@ -1589,27 +1767,58 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1589
1767
  accentForeground?: string | undefined;
1590
1768
  destructive?: string | undefined;
1591
1769
  destructiveForeground?: string | undefined;
1592
- border?: string | undefined;
1593
1770
  ring?: string | undefined;
1594
- radius?: string | undefined;
1595
1771
  } | undefined;
1596
- } | undefined;
1597
- metadata?: {
1598
- description?: string | undefined;
1599
- title?: string | undefined;
1600
- logo?: string | undefined;
1601
- favicon?: string | undefined;
1602
- generator?: string | undefined;
1603
- applicationName?: string | undefined;
1604
- referrer?: string | undefined;
1605
- keywords?: string[] | undefined;
1606
- authors?: string[] | undefined;
1607
- creator?: string | undefined;
1608
- publisher?: string | undefined;
1772
+ fonts?: {
1773
+ sans?: {
1774
+ url: string;
1775
+ fontFamily: string;
1776
+ } | undefined;
1777
+ mono?: {
1778
+ url: string;
1779
+ fontFamily: string;
1780
+ } | undefined;
1781
+ } | undefined;
1609
1782
  } | undefined;
1610
1783
  mdx?: {
1611
- components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
1784
+ components?: MdxComponentsType;
1785
+ } | undefined;
1786
+ page?: {
1787
+ banner?: {
1788
+ message: NonNullable<ReactNode>;
1789
+ color?: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
1790
+ dismissible?: boolean | undefined;
1791
+ } | undefined;
1792
+ pageTitle?: string | undefined;
1793
+ logoUrl?: string | undefined;
1794
+ logo?: {
1795
+ src: {
1796
+ dark: string;
1797
+ light: string;
1798
+ };
1799
+ width?: string | undefined;
1800
+ alt?: string | undefined;
1801
+ } | undefined;
1802
+ } | undefined;
1803
+ UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
1804
+ customPages?: {
1805
+ path: string;
1806
+ element?: NonNullable<ReactNode> | undefined;
1807
+ render?: ComponentType<ExposedComponentProps> | undefined;
1808
+ prose?: boolean | undefined;
1809
+ }[] | undefined;
1810
+ build?: {
1811
+ remarkPlugins?: Options["remarkPlugins"];
1812
+ rehypePlugins?: Options["rehypePlugins"];
1612
1813
  } | undefined;
1814
+ basePath?: string | undefined;
1815
+ topNavigation?: {
1816
+ id: string;
1817
+ label: string;
1818
+ default?: string | undefined;
1819
+ display?: "auth" | "anon" | "always" | undefined;
1820
+ }[] | undefined;
1821
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
1613
1822
  authentication?: {
1614
1823
  type: "clerk";
1615
1824
  clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
@@ -1651,62 +1860,95 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1651
1860
  type: "url";
1652
1861
  input: string;
1653
1862
  server?: string | undefined;
1863
+ id?: string | undefined;
1654
1864
  navigationId?: string | undefined;
1865
+ categories?: {
1866
+ tags: string[];
1867
+ label: string;
1868
+ }[] | undefined;
1655
1869
  } | {
1656
1870
  type: "file";
1657
1871
  input: string;
1658
1872
  server?: string | undefined;
1873
+ id?: string | undefined;
1659
1874
  navigationId?: string | undefined;
1875
+ categories?: {
1876
+ tags: string[];
1877
+ label: string;
1878
+ }[] | undefined;
1660
1879
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1661
1880
  } | {
1662
1881
  type: "raw";
1663
1882
  input: string;
1664
1883
  server?: string | undefined;
1884
+ id?: string | undefined;
1665
1885
  navigationId?: string | undefined;
1886
+ categories?: {
1887
+ tags: string[];
1888
+ label: string;
1889
+ }[] | undefined;
1666
1890
  } | ({
1667
1891
  type: "url";
1668
1892
  input: string;
1669
1893
  server?: string | undefined;
1894
+ id?: string | undefined;
1670
1895
  navigationId?: string | undefined;
1896
+ categories?: {
1897
+ tags: string[];
1898
+ label: string;
1899
+ }[] | undefined;
1671
1900
  } | {
1672
1901
  type: "file";
1673
1902
  input: string;
1674
1903
  server?: string | undefined;
1904
+ id?: string | undefined;
1675
1905
  navigationId?: string | undefined;
1906
+ categories?: {
1907
+ tags: string[];
1908
+ label: string;
1909
+ }[] | undefined;
1676
1910
  postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1677
1911
  } | {
1678
1912
  type: "raw";
1679
1913
  input: string;
1680
1914
  server?: string | undefined;
1915
+ id?: string | undefined;
1681
1916
  navigationId?: string | undefined;
1917
+ categories?: {
1918
+ tags: string[];
1919
+ label: string;
1920
+ }[] | undefined;
1682
1921
  })[] | undefined;
1922
+ catalog?: {
1923
+ label: string;
1924
+ navigationId: string;
1925
+ items?: string[] | undefined;
1926
+ } | {
1927
+ label: string;
1928
+ navigationId: string;
1929
+ items?: string[] | undefined;
1930
+ }[] | undefined;
1683
1931
  apiKeys?: {
1684
1932
  enabled: boolean;
1685
1933
  endpoint: string;
1686
1934
  } | {
1687
1935
  enabled: boolean;
1688
- getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1689
- rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1690
- deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1936
+ getKeys: (context: import("../../index.js").ZudokuContext) => Promise<import("../../lib/plugins/api-keys/index.js").ApiKey[]>;
1937
+ rollKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1938
+ deleteKey?: ((id: string, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1691
1939
  updateKeyDescription?: ((apiKey: {
1692
1940
  id: string;
1693
1941
  description: string;
1694
- }, context: ZudokuContext) => Promise<void>) | undefined;
1942
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1695
1943
  createKey?: ((apiKey: {
1696
1944
  description: string;
1697
1945
  expiresOn?: string;
1698
- }, context: ZudokuContext) => Promise<void>) | undefined;
1946
+ }, context: import("../../index.js").ZudokuContext) => Promise<void>) | undefined;
1699
1947
  } | undefined;
1700
1948
  redirects?: {
1701
1949
  from: string;
1702
1950
  to: string;
1703
1951
  }[] | undefined;
1704
- customPages?: {
1705
- path: string;
1706
- element?: NonNullable<ReactNode> | undefined;
1707
- render?: ComponentType<ExposedComponentProps> | undefined;
1708
- prose?: boolean | undefined;
1709
- }[] | undefined;
1710
1952
  sitemap?: {
1711
1953
  siteUrl: string;
1712
1954
  changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
@@ -1715,16 +1957,10 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
1715
1957
  autoLastmod?: boolean | undefined;
1716
1958
  exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1717
1959
  } | undefined;
1718
- build?: {
1719
- remarkPlugins?: Options["remarkPlugins"];
1720
- rehypePlugins?: Options["rehypePlugins"];
1721
- } | undefined;
1722
1960
  }>;
1723
- export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
1961
+ /**
1962
+ * Type for the zudoku.config.{js,ts,tsx,jsx} files
1963
+ */
1724
1964
  export type ZudokuConfig = z.infer<typeof ConfigSchema>;
1725
- export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
1726
- export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
1727
- export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
1728
- export type ZudokuRedirect = z.infer<typeof Redirect>;
1729
1965
  export declare function validateConfig(config: unknown): void;
1730
1966
  export {};