blume 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +1631 -940
- package/dist/cli/index.js.map +62 -50
- package/dist/types/core/data.d.ts +2 -0
- package/dist/types/core/project.d.ts +12 -2
- package/dist/types/core/schema.d.ts +442 -292
- package/dist/types/core/types.d.ts +7 -0
- package/dist/types/migrate/mintlify/assets.d.ts +8 -0
- package/docs/01-quickstart.mdx +5 -16
- package/docs/02-deployment.mdx +21 -54
- package/docs/advanced/api-reference.mdx +34 -51
- package/docs/advanced/blog.mdx +9 -25
- package/docs/advanced/bridge.mdx +74 -0
- package/docs/advanced/changelog.mdx +10 -33
- package/docs/advanced/custom-pages.mdx +21 -78
- package/docs/advanced/meta.ts +8 -1
- package/docs/advanced/migrate.mdx +119 -0
- package/docs/configuration/ai.mdx +42 -103
- package/docs/configuration/analytics.mdx +20 -38
- package/docs/configuration/customization.mdx +40 -73
- package/docs/configuration/export.mdx +9 -34
- package/docs/configuration/index.mdx +67 -87
- package/docs/configuration/search.mdx +17 -54
- package/docs/configuration/seo.mdx +17 -48
- package/docs/configuration/theming.mdx +20 -42
- package/docs/content/components.mdx +95 -101
- package/docs/content/i18n.mdx +21 -72
- package/docs/content/index.mdx +18 -48
- package/docs/content/islands.mdx +25 -52
- package/docs/content/meta.mdx +23 -50
- package/docs/content/navigation.mdx +23 -62
- package/docs/content/sources.mdx +20 -83
- package/docs/content/syntax.mdx +37 -105
- package/docs/index.mdx +12 -41
- package/docs/reference/cli.mdx +47 -30
- package/docs/reference/frontmatter.mdx +7 -5
- package/package.json +11 -1
- package/src/astro/generate.ts +18 -8
- package/src/astro/integration.ts +26 -3
- package/src/astro/islands.ts +6 -2
- package/src/astro/markdown-negotiation.ts +17 -3
- package/src/astro/pages.ts +6 -1
- package/src/astro/static-assets.ts +117 -0
- package/src/astro/templates.ts +76 -30
- package/src/cli/args.ts +23 -0
- package/src/cli/commands/build.ts +129 -62
- package/src/cli/commands/check.ts +20 -0
- package/src/cli/commands/dev.ts +11 -2
- package/src/cli/commands/doctor.ts +10 -1
- package/src/cli/commands/eject.ts +3 -1
- package/src/cli/commands/init.ts +21 -1
- package/src/cli/commands/preview.ts +2 -1
- package/src/cli/commands/validate.ts +12 -1
- package/src/cli/dev-lock.ts +92 -0
- package/src/cli/log.ts +11 -0
- package/src/cli/prepare.ts +3 -0
- package/src/components/BlumePage.astro +8 -0
- package/src/components/Icon.astro +13 -10
- package/src/components/content/ApiField.astro +75 -0
- package/src/components/content/ParamField.astro +39 -0
- package/src/components/content/RequestField.astro +23 -0
- package/src/components/content/ResponseField.astro +23 -0
- package/src/components/content/Step.astro +1 -1
- package/src/components/content/YouTube.astro +35 -0
- package/src/components/content/youtube.ts +46 -0
- package/src/components/islands/ask-ai.tsx +14 -14
- package/src/components/layout/Breadcrumbs.astro +7 -2
- package/src/components/layout/NavTree.astro +24 -8
- package/src/components/layout/RootLayout.astro +56 -34
- package/src/components/layout/Search.astro +1 -1
- package/src/components/openapi/ApiOverview.astro +84 -0
- package/src/components/openapi/MethodBadge.astro +28 -0
- package/src/components/openapi/Operation.astro +140 -0
- package/src/components/openapi/ParametersTable.astro +97 -0
- package/src/components/openapi/RequestBody.astro +58 -0
- package/src/components/openapi/RequestPanel.astro +169 -0
- package/src/components/openapi/Responses.astro +91 -0
- package/src/components/openapi/SchemaProperty.astro +118 -0
- package/src/components/openapi/SchemaTable.astro +86 -0
- package/src/components/openapi/helpers.ts +238 -0
- package/src/components/openapi/panel.ts +59 -0
- package/src/components/openapi/snippets.ts +201 -0
- package/src/components/props.ts +3 -0
- package/src/core/assets.ts +31 -0
- package/src/core/bridge.ts +10 -0
- package/src/core/builtin-tags.ts +6 -0
- package/src/core/data.ts +2 -0
- package/src/core/diagnostics.ts +6 -1
- package/src/core/gitignore.ts +30 -0
- package/src/core/links.ts +60 -19
- package/src/core/project-graph.ts +5 -1
- package/src/core/project.ts +25 -3
- package/src/core/schema.ts +54 -6
- package/src/core/sources/mdx-remote.ts +54 -8
- package/src/core/sources/mintlify.ts +1 -1
- package/src/core/sources/normalize.ts +6 -1
- package/src/core/sources/notion.ts +49 -5
- package/src/core/sources/resolve.ts +28 -6
- package/src/core/sources/sanity.ts +5 -1
- package/src/core/types.ts +7 -0
- package/src/deploy/rss.ts +1 -8
- package/src/deploy/sitemap.ts +20 -1
- package/src/deploy/xml.ts +8 -0
- package/src/markdown/directives.ts +15 -7
- package/src/markdown/package-commands.ts +26 -4
- package/src/migrate/fumadocs/content.ts +14 -1
- package/src/migrate/fumadocs/groups.ts +7 -0
- package/src/migrate/fumadocs/index.ts +5 -2
- package/src/migrate/mintlify/assets.ts +46 -0
- package/src/migrate/mintlify/config.ts +153 -1
- package/src/migrate/mintlify/content.ts +8 -2
- package/src/migrate/mintlify/index.ts +111 -46
- package/src/migrate/shared.ts +12 -27
- package/src/og/card.ts +14 -2
- package/src/openapi/model.ts +174 -0
- package/src/openapi/parse.ts +48 -0
- package/src/openapi/references.ts +164 -0
- package/src/openapi/render-mdx.ts +76 -0
- package/src/openapi/scalar.ts +15 -103
- package/src/openapi/source.ts +140 -0
- package/src/registry/eject.ts +28 -5
- package/src/registry/registry.ts +6 -0
- package/src/registry/rewrite-imports.ts +31 -19
- package/src/search/documents.ts +23 -5
- package/src/search/sync/algolia.ts +5 -1
- package/src/search/sync/typesense.ts +24 -16
- package/src/theme/chrome-icons.ts +22 -0
- package/src/theme/icons.ts +151 -161
- package/src/theme/palette.ts +26 -7
|
@@ -4,6 +4,38 @@ declare const hydrationMode: z.ZodEnum<["load", "idle", "visible", "media", "onl
|
|
|
4
4
|
export type HydrationMode = z.infer<typeof hydrationMode>;
|
|
5
5
|
/** Frontmatter accepted on any content page. */
|
|
6
6
|
declare const pageMetaBaseSchema: z.ZodObject<{
|
|
7
|
+
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
8
|
+
authors: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
10
|
+
image: z.ZodOptional<z.ZodString>;
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
url: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15
|
+
image: z.ZodOptional<z.ZodString>;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
url: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
20
|
+
image: z.ZodOptional<z.ZodString>;
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
url: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.ZodTypeAny, "passthrough">>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
24
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
25
|
+
image: z.ZodOptional<z.ZodString>;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
url: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
30
|
+
image: z.ZodOptional<z.ZodString>;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
url: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
35
|
+
image: z.ZodOptional<z.ZodString>;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
url: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">]>>;
|
|
7
39
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
8
40
|
category: z.ZodOptional<z.ZodString>;
|
|
9
41
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -58,14 +90,14 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
58
90
|
noindex: boolean;
|
|
59
91
|
title?: string | undefined;
|
|
60
92
|
description?: string | undefined;
|
|
61
|
-
canonical?: string | undefined;
|
|
62
93
|
image?: string | undefined;
|
|
94
|
+
canonical?: string | undefined;
|
|
63
95
|
}, {
|
|
64
96
|
title?: string | undefined;
|
|
65
97
|
description?: string | undefined;
|
|
66
|
-
canonical?: string | undefined;
|
|
67
98
|
image?: string | undefined;
|
|
68
99
|
noindex?: boolean | undefined;
|
|
100
|
+
canonical?: string | undefined;
|
|
69
101
|
}>>;
|
|
70
102
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
71
103
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -76,14 +108,14 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
76
108
|
}, "strict", z.ZodTypeAny, {
|
|
77
109
|
hidden: boolean;
|
|
78
110
|
label?: string | undefined;
|
|
79
|
-
badge?: string | undefined;
|
|
80
111
|
icon?: string | undefined;
|
|
112
|
+
badge?: string | undefined;
|
|
81
113
|
order?: number | undefined;
|
|
82
114
|
}, {
|
|
83
115
|
label?: string | undefined;
|
|
84
|
-
badge?: string | undefined;
|
|
85
116
|
hidden?: boolean | undefined;
|
|
86
117
|
icon?: string | undefined;
|
|
118
|
+
badge?: string | undefined;
|
|
87
119
|
order?: number | undefined;
|
|
88
120
|
}>>;
|
|
89
121
|
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -98,29 +130,39 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
98
130
|
boost?: number | undefined;
|
|
99
131
|
tags?: string[] | undefined;
|
|
100
132
|
};
|
|
101
|
-
hidden: boolean;
|
|
102
|
-
noindex: boolean;
|
|
103
133
|
deprecated: boolean;
|
|
104
134
|
draft: boolean;
|
|
135
|
+
hidden: boolean;
|
|
105
136
|
hideApiMarker: boolean;
|
|
137
|
+
noindex: boolean;
|
|
106
138
|
seo: {
|
|
107
139
|
noindex: boolean;
|
|
108
140
|
title?: string | undefined;
|
|
109
141
|
description?: string | undefined;
|
|
110
|
-
canonical?: string | undefined;
|
|
111
142
|
image?: string | undefined;
|
|
143
|
+
canonical?: string | undefined;
|
|
112
144
|
};
|
|
113
145
|
sidebar: {
|
|
114
146
|
hidden: boolean;
|
|
115
147
|
label?: string | undefined;
|
|
116
|
-
badge?: string | undefined;
|
|
117
148
|
icon?: string | undefined;
|
|
149
|
+
badge?: string | undefined;
|
|
118
150
|
order?: number | undefined;
|
|
119
151
|
};
|
|
120
152
|
date?: string | undefined;
|
|
121
153
|
title?: string | undefined;
|
|
122
154
|
description?: string | undefined;
|
|
123
|
-
|
|
155
|
+
authors?: string | z.objectOutputType<{
|
|
156
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
157
|
+
image: z.ZodOptional<z.ZodString>;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
url: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.ZodTypeAny, "passthrough"> | (string | z.objectOutputType<{
|
|
161
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
162
|
+
image: z.ZodOptional<z.ZodString>;
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
url: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.ZodTypeAny, "passthrough">)[] | undefined;
|
|
124
166
|
changelog?: {
|
|
125
167
|
date?: string | undefined;
|
|
126
168
|
category?: string | undefined;
|
|
@@ -128,6 +170,7 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
128
170
|
} | undefined;
|
|
129
171
|
groups?: string | string[] | undefined;
|
|
130
172
|
hideFooterPagination?: boolean | undefined;
|
|
173
|
+
icon?: string | undefined;
|
|
131
174
|
iconType?: string | undefined;
|
|
132
175
|
keywords?: string[] | undefined;
|
|
133
176
|
lastModified?: string | undefined;
|
|
@@ -147,9 +190,17 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
147
190
|
tags?: string[] | undefined;
|
|
148
191
|
} | undefined;
|
|
149
192
|
description?: string | undefined;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
193
|
+
authors?: string | z.objectInputType<{
|
|
194
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
195
|
+
image: z.ZodOptional<z.ZodString>;
|
|
196
|
+
name: z.ZodString;
|
|
197
|
+
url: z.ZodOptional<z.ZodString>;
|
|
198
|
+
}, z.ZodTypeAny, "passthrough"> | (string | z.objectInputType<{
|
|
199
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
200
|
+
image: z.ZodOptional<z.ZodString>;
|
|
201
|
+
name: z.ZodString;
|
|
202
|
+
url: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.ZodTypeAny, "passthrough">)[] | undefined;
|
|
153
204
|
changelog?: {
|
|
154
205
|
date?: string | Date | undefined;
|
|
155
206
|
category?: string | undefined;
|
|
@@ -158,26 +209,29 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
158
209
|
deprecated?: boolean | undefined;
|
|
159
210
|
draft?: boolean | undefined;
|
|
160
211
|
groups?: string | string[] | undefined;
|
|
212
|
+
hidden?: boolean | undefined;
|
|
161
213
|
hideApiMarker?: boolean | undefined;
|
|
162
214
|
hideFooterPagination?: boolean | undefined;
|
|
215
|
+
icon?: string | undefined;
|
|
163
216
|
iconType?: string | undefined;
|
|
164
217
|
keywords?: string[] | undefined;
|
|
165
218
|
lastModified?: string | Date | undefined;
|
|
166
219
|
mode?: string | undefined;
|
|
220
|
+
noindex?: boolean | undefined;
|
|
167
221
|
public?: boolean | undefined;
|
|
168
222
|
rss?: boolean | undefined;
|
|
169
223
|
seo?: {
|
|
170
224
|
title?: string | undefined;
|
|
171
225
|
description?: string | undefined;
|
|
172
|
-
canonical?: string | undefined;
|
|
173
226
|
image?: string | undefined;
|
|
174
227
|
noindex?: boolean | undefined;
|
|
228
|
+
canonical?: string | undefined;
|
|
175
229
|
} | undefined;
|
|
176
230
|
sidebar?: {
|
|
177
231
|
label?: string | undefined;
|
|
178
|
-
badge?: string | undefined;
|
|
179
232
|
hidden?: boolean | undefined;
|
|
180
233
|
icon?: string | undefined;
|
|
234
|
+
badge?: string | undefined;
|
|
181
235
|
order?: number | undefined;
|
|
182
236
|
} | undefined;
|
|
183
237
|
sidebarTitle?: string | undefined;
|
|
@@ -185,6 +239,38 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
185
239
|
tag?: string | undefined;
|
|
186
240
|
}>;
|
|
187
241
|
export declare const pageMetaSchema: z.ZodObject<{
|
|
242
|
+
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
243
|
+
authors: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
244
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
245
|
+
image: z.ZodOptional<z.ZodString>;
|
|
246
|
+
name: z.ZodString;
|
|
247
|
+
url: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
249
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
250
|
+
image: z.ZodOptional<z.ZodString>;
|
|
251
|
+
name: z.ZodString;
|
|
252
|
+
url: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
254
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
255
|
+
image: z.ZodOptional<z.ZodString>;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
url: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.ZodTypeAny, "passthrough">>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
259
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
260
|
+
image: z.ZodOptional<z.ZodString>;
|
|
261
|
+
name: z.ZodString;
|
|
262
|
+
url: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
264
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
265
|
+
image: z.ZodOptional<z.ZodString>;
|
|
266
|
+
name: z.ZodString;
|
|
267
|
+
url: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
269
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
270
|
+
image: z.ZodOptional<z.ZodString>;
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
url: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">]>>;
|
|
188
274
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
189
275
|
category: z.ZodOptional<z.ZodString>;
|
|
190
276
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -239,14 +325,14 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
239
325
|
noindex: boolean;
|
|
240
326
|
title?: string | undefined;
|
|
241
327
|
description?: string | undefined;
|
|
242
|
-
canonical?: string | undefined;
|
|
243
328
|
image?: string | undefined;
|
|
329
|
+
canonical?: string | undefined;
|
|
244
330
|
}, {
|
|
245
331
|
title?: string | undefined;
|
|
246
332
|
description?: string | undefined;
|
|
247
|
-
canonical?: string | undefined;
|
|
248
333
|
image?: string | undefined;
|
|
249
334
|
noindex?: boolean | undefined;
|
|
335
|
+
canonical?: string | undefined;
|
|
250
336
|
}>>;
|
|
251
337
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
252
338
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -257,14 +343,14 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
257
343
|
}, "strict", z.ZodTypeAny, {
|
|
258
344
|
hidden: boolean;
|
|
259
345
|
label?: string | undefined;
|
|
260
|
-
badge?: string | undefined;
|
|
261
346
|
icon?: string | undefined;
|
|
347
|
+
badge?: string | undefined;
|
|
262
348
|
order?: number | undefined;
|
|
263
349
|
}, {
|
|
264
350
|
label?: string | undefined;
|
|
265
|
-
badge?: string | undefined;
|
|
266
351
|
hidden?: boolean | undefined;
|
|
267
352
|
icon?: string | undefined;
|
|
353
|
+
badge?: string | undefined;
|
|
268
354
|
order?: number | undefined;
|
|
269
355
|
}>>;
|
|
270
356
|
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -279,29 +365,39 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
279
365
|
boost?: number | undefined;
|
|
280
366
|
tags?: string[] | undefined;
|
|
281
367
|
};
|
|
282
|
-
hidden: boolean;
|
|
283
|
-
noindex: boolean;
|
|
284
368
|
deprecated: boolean;
|
|
285
369
|
draft: boolean;
|
|
370
|
+
hidden: boolean;
|
|
286
371
|
hideApiMarker: boolean;
|
|
372
|
+
noindex: boolean;
|
|
287
373
|
seo: {
|
|
288
374
|
noindex: boolean;
|
|
289
375
|
title?: string | undefined;
|
|
290
376
|
description?: string | undefined;
|
|
291
|
-
canonical?: string | undefined;
|
|
292
377
|
image?: string | undefined;
|
|
378
|
+
canonical?: string | undefined;
|
|
293
379
|
};
|
|
294
380
|
sidebar: {
|
|
295
381
|
hidden: boolean;
|
|
296
382
|
label?: string | undefined;
|
|
297
|
-
badge?: string | undefined;
|
|
298
383
|
icon?: string | undefined;
|
|
384
|
+
badge?: string | undefined;
|
|
299
385
|
order?: number | undefined;
|
|
300
386
|
};
|
|
301
387
|
date?: string | undefined;
|
|
302
388
|
title?: string | undefined;
|
|
303
389
|
description?: string | undefined;
|
|
304
|
-
|
|
390
|
+
authors?: string | z.objectOutputType<{
|
|
391
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
392
|
+
image: z.ZodOptional<z.ZodString>;
|
|
393
|
+
name: z.ZodString;
|
|
394
|
+
url: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.ZodTypeAny, "passthrough"> | (string | z.objectOutputType<{
|
|
396
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
397
|
+
image: z.ZodOptional<z.ZodString>;
|
|
398
|
+
name: z.ZodString;
|
|
399
|
+
url: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.ZodTypeAny, "passthrough">)[] | undefined;
|
|
305
401
|
changelog?: {
|
|
306
402
|
date?: string | undefined;
|
|
307
403
|
category?: string | undefined;
|
|
@@ -309,6 +405,7 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
309
405
|
} | undefined;
|
|
310
406
|
groups?: string | string[] | undefined;
|
|
311
407
|
hideFooterPagination?: boolean | undefined;
|
|
408
|
+
icon?: string | undefined;
|
|
312
409
|
iconType?: string | undefined;
|
|
313
410
|
keywords?: string[] | undefined;
|
|
314
411
|
lastModified?: string | undefined;
|
|
@@ -328,9 +425,17 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
328
425
|
tags?: string[] | undefined;
|
|
329
426
|
} | undefined;
|
|
330
427
|
description?: string | undefined;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
428
|
+
authors?: string | z.objectInputType<{
|
|
429
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
430
|
+
image: z.ZodOptional<z.ZodString>;
|
|
431
|
+
name: z.ZodString;
|
|
432
|
+
url: z.ZodOptional<z.ZodString>;
|
|
433
|
+
}, z.ZodTypeAny, "passthrough"> | (string | z.objectInputType<{
|
|
434
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
435
|
+
image: z.ZodOptional<z.ZodString>;
|
|
436
|
+
name: z.ZodString;
|
|
437
|
+
url: z.ZodOptional<z.ZodString>;
|
|
438
|
+
}, z.ZodTypeAny, "passthrough">)[] | undefined;
|
|
334
439
|
changelog?: {
|
|
335
440
|
date?: string | Date | undefined;
|
|
336
441
|
category?: string | undefined;
|
|
@@ -339,26 +444,29 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
339
444
|
deprecated?: boolean | undefined;
|
|
340
445
|
draft?: boolean | undefined;
|
|
341
446
|
groups?: string | string[] | undefined;
|
|
447
|
+
hidden?: boolean | undefined;
|
|
342
448
|
hideApiMarker?: boolean | undefined;
|
|
343
449
|
hideFooterPagination?: boolean | undefined;
|
|
450
|
+
icon?: string | undefined;
|
|
344
451
|
iconType?: string | undefined;
|
|
345
452
|
keywords?: string[] | undefined;
|
|
346
453
|
lastModified?: string | Date | undefined;
|
|
347
454
|
mode?: string | undefined;
|
|
455
|
+
noindex?: boolean | undefined;
|
|
348
456
|
public?: boolean | undefined;
|
|
349
457
|
rss?: boolean | undefined;
|
|
350
458
|
seo?: {
|
|
351
459
|
title?: string | undefined;
|
|
352
460
|
description?: string | undefined;
|
|
353
|
-
canonical?: string | undefined;
|
|
354
461
|
image?: string | undefined;
|
|
355
462
|
noindex?: boolean | undefined;
|
|
463
|
+
canonical?: string | undefined;
|
|
356
464
|
} | undefined;
|
|
357
465
|
sidebar?: {
|
|
358
466
|
label?: string | undefined;
|
|
359
|
-
badge?: string | undefined;
|
|
360
467
|
hidden?: boolean | undefined;
|
|
361
468
|
icon?: string | undefined;
|
|
469
|
+
badge?: string | undefined;
|
|
362
470
|
order?: number | undefined;
|
|
363
471
|
} | undefined;
|
|
364
472
|
sidebarTitle?: string | undefined;
|
|
@@ -389,15 +497,15 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
389
497
|
title?: string | undefined;
|
|
390
498
|
icon?: string | undefined;
|
|
391
499
|
order?: number | undefined;
|
|
392
|
-
collapsed?: boolean | undefined;
|
|
393
500
|
pages?: string[] | undefined;
|
|
501
|
+
collapsed?: boolean | undefined;
|
|
394
502
|
}, {
|
|
395
503
|
display?: "flat" | "page" | "group" | undefined;
|
|
396
504
|
title?: string | undefined;
|
|
397
505
|
icon?: string | undefined;
|
|
398
506
|
order?: number | undefined;
|
|
399
|
-
collapsed?: boolean | undefined;
|
|
400
507
|
pages?: string[] | undefined;
|
|
508
|
+
collapsed?: boolean | undefined;
|
|
401
509
|
}>;
|
|
402
510
|
export type FolderMeta = z.infer<typeof folderMetaSchema>;
|
|
403
511
|
/** A single configured content source. */
|
|
@@ -418,8 +526,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
418
526
|
type: "filesystem";
|
|
419
527
|
exclude?: string[] | undefined;
|
|
420
528
|
include?: string[] | undefined;
|
|
421
|
-
prefix?: string | undefined;
|
|
422
529
|
root?: string | undefined;
|
|
530
|
+
prefix?: string | undefined;
|
|
423
531
|
}>, z.ZodObject<{
|
|
424
532
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
425
533
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -650,8 +758,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
650
758
|
type: "mintlify";
|
|
651
759
|
exclude?: string[] | undefined;
|
|
652
760
|
include?: string[] | undefined;
|
|
653
|
-
prefix?: string | undefined;
|
|
654
761
|
root?: string | undefined;
|
|
762
|
+
prefix?: string | undefined;
|
|
655
763
|
configFile?: string | undefined;
|
|
656
764
|
variables?: Record<string, string> | undefined;
|
|
657
765
|
}>, z.ZodObject<{
|
|
@@ -691,47 +799,47 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
691
799
|
model: z.ZodDefault<z.ZodString>;
|
|
692
800
|
provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
|
|
693
801
|
}, "strict", z.ZodTypeAny, {
|
|
694
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
695
802
|
enabled: boolean;
|
|
696
803
|
model: string;
|
|
804
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
697
805
|
apiKeyEnv?: string | undefined;
|
|
698
806
|
baseUrl?: string | undefined;
|
|
699
807
|
}, {
|
|
700
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
701
808
|
apiKeyEnv?: string | undefined;
|
|
702
809
|
baseUrl?: string | undefined;
|
|
703
810
|
enabled?: boolean | undefined;
|
|
704
811
|
model?: string | undefined;
|
|
812
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
705
813
|
}>, {
|
|
706
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
707
814
|
enabled: boolean;
|
|
708
815
|
model: string;
|
|
816
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
709
817
|
apiKeyEnv?: string | undefined;
|
|
710
818
|
baseUrl?: string | undefined;
|
|
711
819
|
}, {
|
|
712
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
713
820
|
apiKeyEnv?: string | undefined;
|
|
714
821
|
baseUrl?: string | undefined;
|
|
715
822
|
enabled?: boolean | undefined;
|
|
716
823
|
model?: string | undefined;
|
|
824
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
717
825
|
}>>;
|
|
718
826
|
llmsTxt: z.ZodDefault<z.ZodBoolean>;
|
|
719
827
|
}, "strict", z.ZodTypeAny, {
|
|
720
828
|
llmsTxt: boolean;
|
|
721
829
|
ask?: {
|
|
722
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
723
830
|
enabled: boolean;
|
|
724
831
|
model: string;
|
|
832
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
725
833
|
apiKeyEnv?: string | undefined;
|
|
726
834
|
baseUrl?: string | undefined;
|
|
727
835
|
} | undefined;
|
|
728
836
|
}, {
|
|
729
837
|
ask?: {
|
|
730
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
731
838
|
apiKeyEnv?: string | undefined;
|
|
732
839
|
baseUrl?: string | undefined;
|
|
733
840
|
enabled?: boolean | undefined;
|
|
734
841
|
model?: string | undefined;
|
|
842
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
735
843
|
} | undefined;
|
|
736
844
|
llmsTxt?: boolean | undefined;
|
|
737
845
|
}>;
|
|
@@ -827,8 +935,8 @@ declare const i18nConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
827
935
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
828
936
|
}>;
|
|
829
937
|
/**
|
|
830
|
-
* A single spec rendered by the API reference
|
|
831
|
-
*
|
|
938
|
+
* A single spec rendered by the API reference. `spec` is a local path or an
|
|
939
|
+
* `http(s)` URL (OpenAPI for the Blume renderer; OpenAPI or AsyncAPI for Scalar).
|
|
832
940
|
*/
|
|
833
941
|
declare const openapiSourceSchema: z.ZodObject<{
|
|
834
942
|
/** Nav/section label for this source. */
|
|
@@ -856,47 +964,47 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
856
964
|
model: z.ZodDefault<z.ZodString>;
|
|
857
965
|
provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
|
|
858
966
|
}, "strict", z.ZodTypeAny, {
|
|
859
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
860
967
|
enabled: boolean;
|
|
861
968
|
model: string;
|
|
969
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
862
970
|
apiKeyEnv?: string | undefined;
|
|
863
971
|
baseUrl?: string | undefined;
|
|
864
972
|
}, {
|
|
865
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
866
973
|
apiKeyEnv?: string | undefined;
|
|
867
974
|
baseUrl?: string | undefined;
|
|
868
975
|
enabled?: boolean | undefined;
|
|
869
976
|
model?: string | undefined;
|
|
977
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
870
978
|
}>, {
|
|
871
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
872
979
|
enabled: boolean;
|
|
873
980
|
model: string;
|
|
981
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
874
982
|
apiKeyEnv?: string | undefined;
|
|
875
983
|
baseUrl?: string | undefined;
|
|
876
984
|
}, {
|
|
877
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
878
985
|
apiKeyEnv?: string | undefined;
|
|
879
986
|
baseUrl?: string | undefined;
|
|
880
987
|
enabled?: boolean | undefined;
|
|
881
988
|
model?: string | undefined;
|
|
989
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
882
990
|
}>>;
|
|
883
991
|
llmsTxt: z.ZodDefault<z.ZodBoolean>;
|
|
884
992
|
}, "strict", z.ZodTypeAny, {
|
|
885
993
|
llmsTxt: boolean;
|
|
886
994
|
ask?: {
|
|
887
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
888
995
|
enabled: boolean;
|
|
889
996
|
model: string;
|
|
997
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
890
998
|
apiKeyEnv?: string | undefined;
|
|
891
999
|
baseUrl?: string | undefined;
|
|
892
1000
|
} | undefined;
|
|
893
1001
|
}, {
|
|
894
1002
|
ask?: {
|
|
895
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
896
1003
|
apiKeyEnv?: string | undefined;
|
|
897
1004
|
baseUrl?: string | undefined;
|
|
898
1005
|
enabled?: boolean | undefined;
|
|
899
1006
|
model?: string | undefined;
|
|
1007
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
900
1008
|
} | undefined;
|
|
901
1009
|
llmsTxt?: boolean | undefined;
|
|
902
1010
|
}>>;
|
|
@@ -917,23 +1025,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
917
1025
|
src: z.ZodOptional<z.ZodString>;
|
|
918
1026
|
strategy: z.ZodOptional<z.ZodEnum<["async", "defer"]>>;
|
|
919
1027
|
}, "strict", z.ZodTypeAny, {
|
|
920
|
-
content?: string | undefined;
|
|
921
1028
|
attributes?: Record<string, string> | undefined;
|
|
1029
|
+
content?: string | undefined;
|
|
922
1030
|
src?: string | undefined;
|
|
923
1031
|
strategy?: "async" | "defer" | undefined;
|
|
924
1032
|
}, {
|
|
925
|
-
content?: string | undefined;
|
|
926
1033
|
attributes?: Record<string, string> | undefined;
|
|
1034
|
+
content?: string | undefined;
|
|
927
1035
|
src?: string | undefined;
|
|
928
1036
|
strategy?: "async" | "defer" | undefined;
|
|
929
1037
|
}>, {
|
|
930
|
-
content?: string | undefined;
|
|
931
1038
|
attributes?: Record<string, string> | undefined;
|
|
1039
|
+
content?: string | undefined;
|
|
932
1040
|
src?: string | undefined;
|
|
933
1041
|
strategy?: "async" | "defer" | undefined;
|
|
934
1042
|
}, {
|
|
935
|
-
content?: string | undefined;
|
|
936
1043
|
attributes?: Record<string, string> | undefined;
|
|
1044
|
+
content?: string | undefined;
|
|
937
1045
|
src?: string | undefined;
|
|
938
1046
|
strategy?: "async" | "defer" | undefined;
|
|
939
1047
|
}>, "many">>;
|
|
@@ -944,8 +1052,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
944
1052
|
host?: string | undefined;
|
|
945
1053
|
} | undefined;
|
|
946
1054
|
scripts?: {
|
|
947
|
-
content?: string | undefined;
|
|
948
1055
|
attributes?: Record<string, string> | undefined;
|
|
1056
|
+
content?: string | undefined;
|
|
949
1057
|
src?: string | undefined;
|
|
950
1058
|
strategy?: "async" | "defer" | undefined;
|
|
951
1059
|
}[] | undefined;
|
|
@@ -956,8 +1064,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
956
1064
|
host?: string | undefined;
|
|
957
1065
|
} | undefined;
|
|
958
1066
|
scripts?: {
|
|
959
|
-
content?: string | undefined;
|
|
960
1067
|
attributes?: Record<string, string> | undefined;
|
|
1068
|
+
content?: string | undefined;
|
|
961
1069
|
src?: string | undefined;
|
|
962
1070
|
strategy?: "async" | "defer" | undefined;
|
|
963
1071
|
}[] | undefined;
|
|
@@ -985,25 +1093,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
985
1093
|
spec: z.ZodOptional<z.ZodString>;
|
|
986
1094
|
theme: z.ZodOptional<z.ZodString>;
|
|
987
1095
|
}, "strict", z.ZodTypeAny, {
|
|
1096
|
+
enabled: boolean;
|
|
1097
|
+
route: string;
|
|
988
1098
|
sources: {
|
|
989
1099
|
spec: string;
|
|
990
1100
|
label?: string | undefined;
|
|
991
1101
|
route?: string | undefined;
|
|
992
1102
|
}[];
|
|
993
|
-
enabled: boolean;
|
|
994
|
-
route: string;
|
|
995
|
-
theme?: string | undefined;
|
|
996
1103
|
spec?: string | undefined;
|
|
1104
|
+
theme?: string | undefined;
|
|
997
1105
|
}, {
|
|
1106
|
+
enabled?: boolean | undefined;
|
|
1107
|
+
route?: string | undefined;
|
|
1108
|
+
spec?: string | undefined;
|
|
998
1109
|
sources?: {
|
|
999
1110
|
spec: string;
|
|
1000
1111
|
label?: string | undefined;
|
|
1001
1112
|
route?: string | undefined;
|
|
1002
1113
|
}[] | undefined;
|
|
1003
|
-
enabled?: boolean | undefined;
|
|
1004
|
-
route?: string | undefined;
|
|
1005
1114
|
theme?: string | undefined;
|
|
1006
|
-
spec?: string | undefined;
|
|
1007
1115
|
}>>;
|
|
1008
1116
|
banner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1009
1117
|
/** Background color override (Mintlify compatibility). */
|
|
@@ -1043,7 +1151,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1043
1151
|
}, "strict", z.ZodTypeAny, {
|
|
1044
1152
|
content: string;
|
|
1045
1153
|
dismissible: boolean;
|
|
1046
|
-
type?: "
|
|
1154
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1047
1155
|
id?: string | undefined;
|
|
1048
1156
|
color?: {
|
|
1049
1157
|
dark?: string | undefined;
|
|
@@ -1055,7 +1163,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1055
1163
|
} | undefined;
|
|
1056
1164
|
}, {
|
|
1057
1165
|
content: string;
|
|
1058
|
-
type?: "
|
|
1166
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1059
1167
|
id?: string | undefined;
|
|
1060
1168
|
color?: {
|
|
1061
1169
|
dark?: string | undefined;
|
|
@@ -1068,6 +1176,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1068
1176
|
} | undefined;
|
|
1069
1177
|
}>]>>;
|
|
1070
1178
|
content: z.ZodDefault<z.ZodObject<{
|
|
1179
|
+
/**
|
|
1180
|
+
* Extra top-level directories (relative to the project root) served as
|
|
1181
|
+
* static assets at the site root, alongside `public/`. Lets projects keep
|
|
1182
|
+
* root-served asset folders in place — e.g. a Mintlify migration keeps
|
|
1183
|
+
* `images/` where it is instead of relocating it under `public/`.
|
|
1184
|
+
*/
|
|
1185
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1071
1186
|
defaultType: z.ZodDefault<z.ZodString>;
|
|
1072
1187
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1073
1188
|
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1095,8 +1210,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1095
1210
|
type: "filesystem";
|
|
1096
1211
|
exclude?: string[] | undefined;
|
|
1097
1212
|
include?: string[] | undefined;
|
|
1098
|
-
prefix?: string | undefined;
|
|
1099
1213
|
root?: string | undefined;
|
|
1214
|
+
prefix?: string | undefined;
|
|
1100
1215
|
}>, z.ZodObject<{
|
|
1101
1216
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
1102
1217
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1327,8 +1442,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1327
1442
|
type: "mintlify";
|
|
1328
1443
|
exclude?: string[] | undefined;
|
|
1329
1444
|
include?: string[] | undefined;
|
|
1330
|
-
prefix?: string | undefined;
|
|
1331
1445
|
root?: string | undefined;
|
|
1446
|
+
prefix?: string | undefined;
|
|
1332
1447
|
configFile?: string | undefined;
|
|
1333
1448
|
variables?: Record<string, string> | undefined;
|
|
1334
1449
|
}>, z.ZodObject<{
|
|
@@ -1343,10 +1458,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1343
1458
|
}>]>, "many">>;
|
|
1344
1459
|
}, "strict", z.ZodTypeAny, {
|
|
1345
1460
|
exclude: string[];
|
|
1346
|
-
|
|
1461
|
+
assets: string[];
|
|
1462
|
+
defaultType: string;
|
|
1347
1463
|
include: string[];
|
|
1464
|
+
pages: string;
|
|
1348
1465
|
root: string;
|
|
1349
|
-
defaultType: string;
|
|
1350
1466
|
sources?: ({
|
|
1351
1467
|
type: "filesystem";
|
|
1352
1468
|
exclude: string[];
|
|
@@ -1366,6 +1482,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1366
1482
|
repo: string;
|
|
1367
1483
|
} | undefined;
|
|
1368
1484
|
pollInterval?: number | undefined;
|
|
1485
|
+
} | {
|
|
1486
|
+
type: "github-releases";
|
|
1487
|
+
owner: string;
|
|
1488
|
+
repo: string;
|
|
1489
|
+
prefix?: string | undefined;
|
|
1490
|
+
pollInterval?: number | undefined;
|
|
1491
|
+
drafts?: boolean | undefined;
|
|
1492
|
+
limit?: number | undefined;
|
|
1493
|
+
prereleases?: boolean | undefined;
|
|
1369
1494
|
} | {
|
|
1370
1495
|
type: "sanity";
|
|
1371
1496
|
dataset: string;
|
|
@@ -1394,15 +1519,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1394
1519
|
slug?: string | undefined;
|
|
1395
1520
|
} | undefined;
|
|
1396
1521
|
publishedValue?: string | undefined;
|
|
1397
|
-
} | {
|
|
1398
|
-
type: "github-releases";
|
|
1399
|
-
owner: string;
|
|
1400
|
-
repo: string;
|
|
1401
|
-
prefix?: string | undefined;
|
|
1402
|
-
pollInterval?: number | undefined;
|
|
1403
|
-
drafts?: boolean | undefined;
|
|
1404
|
-
limit?: number | undefined;
|
|
1405
|
-
prereleases?: boolean | undefined;
|
|
1406
1522
|
} | {
|
|
1407
1523
|
type: "mintlify";
|
|
1408
1524
|
exclude: string[];
|
|
@@ -1417,16 +1533,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1417
1533
|
})[] | undefined;
|
|
1418
1534
|
}, {
|
|
1419
1535
|
exclude?: string[] | undefined;
|
|
1420
|
-
pages?: string | undefined;
|
|
1421
|
-
include?: string[] | undefined;
|
|
1422
|
-
root?: string | undefined;
|
|
1423
|
-
defaultType?: string | undefined;
|
|
1424
1536
|
sources?: ({
|
|
1425
1537
|
type: "filesystem";
|
|
1426
1538
|
exclude?: string[] | undefined;
|
|
1427
1539
|
include?: string[] | undefined;
|
|
1428
|
-
prefix?: string | undefined;
|
|
1429
1540
|
root?: string | undefined;
|
|
1541
|
+
prefix?: string | undefined;
|
|
1430
1542
|
} | {
|
|
1431
1543
|
type: "mdx-remote";
|
|
1432
1544
|
url?: string | undefined;
|
|
@@ -1440,6 +1552,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1440
1552
|
ref?: string | undefined;
|
|
1441
1553
|
} | undefined;
|
|
1442
1554
|
pollInterval?: number | undefined;
|
|
1555
|
+
} | {
|
|
1556
|
+
type: "github-releases";
|
|
1557
|
+
owner: string;
|
|
1558
|
+
repo: string;
|
|
1559
|
+
prefix?: string | undefined;
|
|
1560
|
+
pollInterval?: number | undefined;
|
|
1561
|
+
drafts?: boolean | undefined;
|
|
1562
|
+
limit?: number | undefined;
|
|
1563
|
+
prereleases?: boolean | undefined;
|
|
1443
1564
|
} | {
|
|
1444
1565
|
type: "sanity";
|
|
1445
1566
|
dataset: string;
|
|
@@ -1468,27 +1589,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1468
1589
|
slug?: string | undefined;
|
|
1469
1590
|
} | undefined;
|
|
1470
1591
|
publishedValue?: string | undefined;
|
|
1471
|
-
} | {
|
|
1472
|
-
type: "github-releases";
|
|
1473
|
-
owner: string;
|
|
1474
|
-
repo: string;
|
|
1475
|
-
prefix?: string | undefined;
|
|
1476
|
-
pollInterval?: number | undefined;
|
|
1477
|
-
drafts?: boolean | undefined;
|
|
1478
|
-
limit?: number | undefined;
|
|
1479
|
-
prereleases?: boolean | undefined;
|
|
1480
1592
|
} | {
|
|
1481
1593
|
type: "mintlify";
|
|
1482
1594
|
exclude?: string[] | undefined;
|
|
1483
1595
|
include?: string[] | undefined;
|
|
1484
|
-
prefix?: string | undefined;
|
|
1485
1596
|
root?: string | undefined;
|
|
1597
|
+
prefix?: string | undefined;
|
|
1486
1598
|
configFile?: string | undefined;
|
|
1487
1599
|
variables?: Record<string, string> | undefined;
|
|
1488
1600
|
} | {
|
|
1489
1601
|
type: "custom";
|
|
1490
1602
|
source: ContentSource;
|
|
1491
1603
|
})[] | undefined;
|
|
1604
|
+
assets?: string[] | undefined;
|
|
1605
|
+
defaultType?: string | undefined;
|
|
1606
|
+
include?: string[] | undefined;
|
|
1607
|
+
pages?: string | undefined;
|
|
1608
|
+
root?: string | undefined;
|
|
1492
1609
|
}>>;
|
|
1493
1610
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1494
1611
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1562,8 +1679,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1562
1679
|
}, {
|
|
1563
1680
|
owner: string;
|
|
1564
1681
|
repo: string;
|
|
1565
|
-
dir?: string | undefined;
|
|
1566
1682
|
branch?: string | undefined;
|
|
1683
|
+
dir?: string | undefined;
|
|
1567
1684
|
}>>;
|
|
1568
1685
|
i18n: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1569
1686
|
defaultLocale: z.ZodDefault<z.ZodString>;
|
|
@@ -1634,6 +1751,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1634
1751
|
parser?: "dir" | "dot" | undefined;
|
|
1635
1752
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
1636
1753
|
}>>;
|
|
1754
|
+
icons: z.ZodDefault<z.ZodObject<{
|
|
1755
|
+
library: z.ZodDefault<z.ZodEnum<["lucide", "fontawesome", "tabler"]>>;
|
|
1756
|
+
}, "strict", z.ZodTypeAny, {
|
|
1757
|
+
library: "lucide" | "fontawesome" | "tabler";
|
|
1758
|
+
}, {
|
|
1759
|
+
library?: "lucide" | "fontawesome" | "tabler" | undefined;
|
|
1760
|
+
}>>;
|
|
1637
1761
|
lastModified: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1638
1762
|
type: z.ZodDefault<z.ZodEnum<["git", "frontmatter"]>>;
|
|
1639
1763
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1647,15 +1771,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1647
1771
|
href: z.ZodOptional<z.ZodString>;
|
|
1648
1772
|
light: z.ZodOptional<z.ZodString>;
|
|
1649
1773
|
}, "strict", z.ZodTypeAny, {
|
|
1650
|
-
alt?: string | undefined;
|
|
1651
1774
|
dark?: string | undefined;
|
|
1652
|
-
href?: string | undefined;
|
|
1653
1775
|
light?: string | undefined;
|
|
1654
|
-
|
|
1776
|
+
href?: string | undefined;
|
|
1655
1777
|
alt?: string | undefined;
|
|
1778
|
+
}, {
|
|
1656
1779
|
dark?: string | undefined;
|
|
1657
|
-
href?: string | undefined;
|
|
1658
1780
|
light?: string | undefined;
|
|
1781
|
+
href?: string | undefined;
|
|
1782
|
+
alt?: string | undefined;
|
|
1659
1783
|
}>]>>;
|
|
1660
1784
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1661
1785
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1764,13 +1888,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1764
1888
|
}, "strict", z.ZodTypeAny, {
|
|
1765
1889
|
enabled: boolean;
|
|
1766
1890
|
route: string;
|
|
1767
|
-
instructions?: string | undefined;
|
|
1768
1891
|
name?: string | undefined;
|
|
1769
|
-
}, {
|
|
1770
|
-
enabled?: boolean | undefined;
|
|
1771
1892
|
instructions?: string | undefined;
|
|
1893
|
+
}, {
|
|
1772
1894
|
name?: string | undefined;
|
|
1895
|
+
enabled?: boolean | undefined;
|
|
1773
1896
|
route?: string | undefined;
|
|
1897
|
+
instructions?: string | undefined;
|
|
1774
1898
|
}>>;
|
|
1775
1899
|
navigation: z.ZodDefault<z.ZodObject<{
|
|
1776
1900
|
chromeVariants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1812,7 +1936,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1812
1936
|
}, "strict", z.ZodTypeAny, {
|
|
1813
1937
|
content: string;
|
|
1814
1938
|
dismissible: boolean;
|
|
1815
|
-
type?: "
|
|
1939
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1816
1940
|
id?: string | undefined;
|
|
1817
1941
|
color?: {
|
|
1818
1942
|
dark?: string | undefined;
|
|
@@ -1824,7 +1948,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1824
1948
|
} | undefined;
|
|
1825
1949
|
}, {
|
|
1826
1950
|
content: string;
|
|
1827
|
-
type?: "
|
|
1951
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1828
1952
|
id?: string | undefined;
|
|
1829
1953
|
color?: {
|
|
1830
1954
|
dark?: string | undefined;
|
|
@@ -1842,7 +1966,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1842
1966
|
banner?: string | {
|
|
1843
1967
|
content: string;
|
|
1844
1968
|
dismissible: boolean;
|
|
1845
|
-
type?: "
|
|
1969
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1846
1970
|
id?: string | undefined;
|
|
1847
1971
|
color?: {
|
|
1848
1972
|
dark?: string | undefined;
|
|
@@ -1857,7 +1981,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1857
1981
|
path: string;
|
|
1858
1982
|
banner?: string | {
|
|
1859
1983
|
content: string;
|
|
1860
|
-
type?: "
|
|
1984
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1861
1985
|
id?: string | undefined;
|
|
1862
1986
|
color?: {
|
|
1863
1987
|
dark?: string | undefined;
|
|
@@ -1980,7 +2104,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1980
2104
|
banner?: string | {
|
|
1981
2105
|
content: string;
|
|
1982
2106
|
dismissible: boolean;
|
|
1983
|
-
type?: "
|
|
2107
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1984
2108
|
id?: string | undefined;
|
|
1985
2109
|
color?: {
|
|
1986
2110
|
dark?: string | undefined;
|
|
@@ -2027,7 +2151,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2027
2151
|
path: string;
|
|
2028
2152
|
banner?: string | {
|
|
2029
2153
|
content: string;
|
|
2030
|
-
type?: "
|
|
2154
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2031
2155
|
id?: string | undefined;
|
|
2032
2156
|
color?: {
|
|
2033
2157
|
dark?: string | undefined;
|
|
@@ -2069,7 +2193,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2069
2193
|
}[] | undefined;
|
|
2070
2194
|
}>>;
|
|
2071
2195
|
openapi: z.ZodDefault<z.ZodObject<{
|
|
2196
|
+
/** Code-sample languages shown per operation (Blume renderer). */
|
|
2197
|
+
codeSamples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2072
2198
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2199
|
+
/** Start nested schema rows expanded rather than collapsed (Blume renderer). */
|
|
2200
|
+
expandSchemas: z.ZodDefault<z.ZodBoolean>;
|
|
2201
|
+
/** Who renders the reference: Blume's own UI, or the embedded Scalar SPA. */
|
|
2202
|
+
renderer: z.ZodDefault<z.ZodEnum<["blume", "scalar"]>>;
|
|
2073
2203
|
/** Where the reference mounts. */
|
|
2074
2204
|
route: z.ZodDefault<z.ZodString>;
|
|
2075
2205
|
/** One or more specs; each renders on its own route by default. */
|
|
@@ -2091,28 +2221,34 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2091
2221
|
}>, "many">>;
|
|
2092
2222
|
/** Shorthand for a single source: `sources: [{ spec }]`. */
|
|
2093
2223
|
spec: z.ZodOptional<z.ZodString>;
|
|
2094
|
-
/** Scalar theme name
|
|
2224
|
+
/** Scalar theme name (Scalar renderer only). */
|
|
2095
2225
|
theme: z.ZodOptional<z.ZodString>;
|
|
2096
2226
|
}, "strict", z.ZodTypeAny, {
|
|
2227
|
+
enabled: boolean;
|
|
2228
|
+
route: string;
|
|
2097
2229
|
sources: {
|
|
2098
2230
|
spec: string;
|
|
2099
2231
|
label?: string | undefined;
|
|
2100
2232
|
route?: string | undefined;
|
|
2101
2233
|
}[];
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2234
|
+
codeSamples: string[];
|
|
2235
|
+
expandSchemas: boolean;
|
|
2236
|
+
renderer: "blume" | "scalar";
|
|
2105
2237
|
spec?: string | undefined;
|
|
2238
|
+
theme?: string | undefined;
|
|
2106
2239
|
}, {
|
|
2240
|
+
enabled?: boolean | undefined;
|
|
2241
|
+
route?: string | undefined;
|
|
2242
|
+
spec?: string | undefined;
|
|
2107
2243
|
sources?: {
|
|
2108
2244
|
spec: string;
|
|
2109
2245
|
label?: string | undefined;
|
|
2110
2246
|
route?: string | undefined;
|
|
2111
2247
|
}[] | undefined;
|
|
2112
|
-
enabled?: boolean | undefined;
|
|
2113
|
-
route?: string | undefined;
|
|
2114
2248
|
theme?: string | undefined;
|
|
2115
|
-
|
|
2249
|
+
codeSamples?: string[] | undefined;
|
|
2250
|
+
expandSchemas?: boolean | undefined;
|
|
2251
|
+
renderer?: "blume" | "scalar" | undefined;
|
|
2116
2252
|
}>>;
|
|
2117
2253
|
redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2118
2254
|
from: z.ZodString;
|
|
@@ -2178,35 +2314,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2178
2314
|
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
|
2179
2315
|
searchApiKey: z.ZodString;
|
|
2180
2316
|
}, "strict", z.ZodTypeAny, {
|
|
2317
|
+
host: string;
|
|
2181
2318
|
searchApiKey: string;
|
|
2182
2319
|
collection: string;
|
|
2183
|
-
host: string;
|
|
2184
2320
|
port?: number | undefined;
|
|
2185
2321
|
protocol?: "http" | "https" | undefined;
|
|
2186
2322
|
}, {
|
|
2323
|
+
host: string;
|
|
2187
2324
|
searchApiKey: string;
|
|
2188
2325
|
collection: string;
|
|
2189
|
-
host: string;
|
|
2190
2326
|
port?: number | undefined;
|
|
2191
2327
|
protocol?: "http" | "https" | undefined;
|
|
2192
2328
|
}>>;
|
|
2193
2329
|
}, "strict", z.ZodTypeAny, {
|
|
2330
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2194
2331
|
indexing: {
|
|
2195
2332
|
includeHiddenPages: boolean;
|
|
2196
2333
|
};
|
|
2197
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2198
2334
|
algolia?: {
|
|
2199
2335
|
appId: string;
|
|
2200
2336
|
indexName: string;
|
|
2201
2337
|
searchApiKey: string;
|
|
2202
2338
|
} | undefined;
|
|
2203
|
-
typesense?: {
|
|
2204
|
-
searchApiKey: string;
|
|
2205
|
-
collection: string;
|
|
2206
|
-
host: string;
|
|
2207
|
-
port?: number | undefined;
|
|
2208
|
-
protocol?: "http" | "https" | undefined;
|
|
2209
|
-
} | undefined;
|
|
2210
2339
|
mixedbread?: {
|
|
2211
2340
|
storeId: string;
|
|
2212
2341
|
} | undefined;
|
|
@@ -2216,18 +2345,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2216
2345
|
indexId?: string | undefined;
|
|
2217
2346
|
} | undefined;
|
|
2218
2347
|
prompt?: string | undefined;
|
|
2348
|
+
typesense?: {
|
|
2349
|
+
host: string;
|
|
2350
|
+
searchApiKey: string;
|
|
2351
|
+
collection: string;
|
|
2352
|
+
port?: number | undefined;
|
|
2353
|
+
protocol?: "http" | "https" | undefined;
|
|
2354
|
+
} | undefined;
|
|
2219
2355
|
}, {
|
|
2356
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2220
2357
|
algolia?: {
|
|
2221
2358
|
appId: string;
|
|
2222
2359
|
indexName: string;
|
|
2223
2360
|
searchApiKey: string;
|
|
2224
2361
|
} | undefined;
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
collection: string;
|
|
2228
|
-
host: string;
|
|
2229
|
-
port?: number | undefined;
|
|
2230
|
-
protocol?: "http" | "https" | undefined;
|
|
2362
|
+
indexing?: {
|
|
2363
|
+
includeHiddenPages?: boolean | undefined;
|
|
2231
2364
|
} | undefined;
|
|
2232
2365
|
mixedbread?: {
|
|
2233
2366
|
storeId: string;
|
|
@@ -2237,28 +2370,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2237
2370
|
endpoint: string;
|
|
2238
2371
|
indexId?: string | undefined;
|
|
2239
2372
|
} | undefined;
|
|
2240
|
-
indexing?: {
|
|
2241
|
-
includeHiddenPages?: boolean | undefined;
|
|
2242
|
-
} | undefined;
|
|
2243
2373
|
prompt?: string | undefined;
|
|
2244
|
-
provider?: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread" | undefined;
|
|
2245
|
-
}>, {
|
|
2246
|
-
indexing: {
|
|
2247
|
-
includeHiddenPages: boolean;
|
|
2248
|
-
};
|
|
2249
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2250
|
-
algolia?: {
|
|
2251
|
-
appId: string;
|
|
2252
|
-
indexName: string;
|
|
2253
|
-
searchApiKey: string;
|
|
2254
|
-
} | undefined;
|
|
2255
2374
|
typesense?: {
|
|
2375
|
+
host: string;
|
|
2256
2376
|
searchApiKey: string;
|
|
2257
2377
|
collection: string;
|
|
2258
|
-
host: string;
|
|
2259
2378
|
port?: number | undefined;
|
|
2260
2379
|
protocol?: "http" | "https" | undefined;
|
|
2261
2380
|
} | undefined;
|
|
2381
|
+
}>, {
|
|
2382
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2383
|
+
indexing: {
|
|
2384
|
+
includeHiddenPages: boolean;
|
|
2385
|
+
};
|
|
2386
|
+
algolia?: {
|
|
2387
|
+
appId: string;
|
|
2388
|
+
indexName: string;
|
|
2389
|
+
searchApiKey: string;
|
|
2390
|
+
} | undefined;
|
|
2262
2391
|
mixedbread?: {
|
|
2263
2392
|
storeId: string;
|
|
2264
2393
|
} | undefined;
|
|
@@ -2268,18 +2397,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2268
2397
|
indexId?: string | undefined;
|
|
2269
2398
|
} | undefined;
|
|
2270
2399
|
prompt?: string | undefined;
|
|
2400
|
+
typesense?: {
|
|
2401
|
+
host: string;
|
|
2402
|
+
searchApiKey: string;
|
|
2403
|
+
collection: string;
|
|
2404
|
+
port?: number | undefined;
|
|
2405
|
+
protocol?: "http" | "https" | undefined;
|
|
2406
|
+
} | undefined;
|
|
2271
2407
|
}, {
|
|
2408
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2272
2409
|
algolia?: {
|
|
2273
2410
|
appId: string;
|
|
2274
2411
|
indexName: string;
|
|
2275
2412
|
searchApiKey: string;
|
|
2276
2413
|
} | undefined;
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
collection: string;
|
|
2280
|
-
host: string;
|
|
2281
|
-
port?: number | undefined;
|
|
2282
|
-
protocol?: "http" | "https" | undefined;
|
|
2414
|
+
indexing?: {
|
|
2415
|
+
includeHiddenPages?: boolean | undefined;
|
|
2283
2416
|
} | undefined;
|
|
2284
2417
|
mixedbread?: {
|
|
2285
2418
|
storeId: string;
|
|
@@ -2289,11 +2422,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2289
2422
|
endpoint: string;
|
|
2290
2423
|
indexId?: string | undefined;
|
|
2291
2424
|
} | undefined;
|
|
2292
|
-
indexing?: {
|
|
2293
|
-
includeHiddenPages?: boolean | undefined;
|
|
2294
|
-
} | undefined;
|
|
2295
2425
|
prompt?: string | undefined;
|
|
2296
|
-
|
|
2426
|
+
typesense?: {
|
|
2427
|
+
host: string;
|
|
2428
|
+
searchApiKey: string;
|
|
2429
|
+
collection: string;
|
|
2430
|
+
port?: number | undefined;
|
|
2431
|
+
protocol?: "http" | "https" | undefined;
|
|
2432
|
+
} | undefined;
|
|
2297
2433
|
}>>;
|
|
2298
2434
|
seo: z.ZodDefault<z.ZodObject<{
|
|
2299
2435
|
metatags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2319,12 +2455,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2319
2455
|
/** Content types that each get a feed at `/<type>/rss.xml`. */
|
|
2320
2456
|
types: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2321
2457
|
}, "strict", z.ZodTypeAny, {
|
|
2322
|
-
limit: number;
|
|
2323
2458
|
enabled: boolean;
|
|
2459
|
+
limit: number;
|
|
2324
2460
|
types: string[];
|
|
2325
2461
|
}, {
|
|
2326
|
-
limit?: number | undefined;
|
|
2327
2462
|
enabled?: boolean | undefined;
|
|
2463
|
+
limit?: number | undefined;
|
|
2328
2464
|
types?: string[] | undefined;
|
|
2329
2465
|
}>>;
|
|
2330
2466
|
/** Generate sitemap.xml (requires deployment.site). */
|
|
@@ -2333,8 +2469,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2333
2469
|
structuredData: z.ZodDefault<z.ZodBoolean>;
|
|
2334
2470
|
}, "strict", z.ZodTypeAny, {
|
|
2335
2471
|
rss: {
|
|
2336
|
-
limit: number;
|
|
2337
2472
|
enabled: boolean;
|
|
2473
|
+
limit: number;
|
|
2338
2474
|
types: string[];
|
|
2339
2475
|
};
|
|
2340
2476
|
metatags: Record<string, string>;
|
|
@@ -2346,8 +2482,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2346
2482
|
structuredData: boolean;
|
|
2347
2483
|
}, {
|
|
2348
2484
|
rss?: {
|
|
2349
|
-
limit?: number | undefined;
|
|
2350
2485
|
enabled?: boolean | undefined;
|
|
2486
|
+
limit?: number | undefined;
|
|
2351
2487
|
types?: string[] | undefined;
|
|
2352
2488
|
} | undefined;
|
|
2353
2489
|
metatags?: Record<string, string> | undefined;
|
|
@@ -2444,22 +2580,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2444
2580
|
title: string;
|
|
2445
2581
|
feedback: boolean;
|
|
2446
2582
|
search: {
|
|
2583
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2447
2584
|
indexing: {
|
|
2448
2585
|
includeHiddenPages: boolean;
|
|
2449
2586
|
};
|
|
2450
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2451
2587
|
algolia?: {
|
|
2452
2588
|
appId: string;
|
|
2453
2589
|
indexName: string;
|
|
2454
2590
|
searchApiKey: string;
|
|
2455
2591
|
} | undefined;
|
|
2456
|
-
typesense?: {
|
|
2457
|
-
searchApiKey: string;
|
|
2458
|
-
collection: string;
|
|
2459
|
-
host: string;
|
|
2460
|
-
port?: number | undefined;
|
|
2461
|
-
protocol?: "http" | "https" | undefined;
|
|
2462
|
-
} | undefined;
|
|
2463
2592
|
mixedbread?: {
|
|
2464
2593
|
storeId: string;
|
|
2465
2594
|
} | undefined;
|
|
@@ -2469,6 +2598,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2469
2598
|
indexId?: string | undefined;
|
|
2470
2599
|
} | undefined;
|
|
2471
2600
|
prompt?: string | undefined;
|
|
2601
|
+
typesense?: {
|
|
2602
|
+
host: string;
|
|
2603
|
+
searchApiKey: string;
|
|
2604
|
+
collection: string;
|
|
2605
|
+
port?: number | undefined;
|
|
2606
|
+
protocol?: "http" | "https" | undefined;
|
|
2607
|
+
} | undefined;
|
|
2472
2608
|
};
|
|
2473
2609
|
toc: {
|
|
2474
2610
|
enabled: boolean;
|
|
@@ -2480,8 +2616,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2480
2616
|
};
|
|
2481
2617
|
seo: {
|
|
2482
2618
|
rss: {
|
|
2483
|
-
limit: number;
|
|
2484
2619
|
enabled: boolean;
|
|
2620
|
+
limit: number;
|
|
2485
2621
|
types: string[];
|
|
2486
2622
|
};
|
|
2487
2623
|
metatags: Record<string, string>;
|
|
@@ -2492,12 +2628,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2492
2628
|
sitemap: boolean;
|
|
2493
2629
|
structuredData: boolean;
|
|
2494
2630
|
};
|
|
2631
|
+
ai: {
|
|
2632
|
+
llmsTxt: boolean;
|
|
2633
|
+
ask?: {
|
|
2634
|
+
enabled: boolean;
|
|
2635
|
+
model: string;
|
|
2636
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
2637
|
+
apiKeyEnv?: string | undefined;
|
|
2638
|
+
baseUrl?: string | undefined;
|
|
2639
|
+
} | undefined;
|
|
2640
|
+
};
|
|
2495
2641
|
content: {
|
|
2496
2642
|
exclude: string[];
|
|
2497
|
-
|
|
2643
|
+
assets: string[];
|
|
2644
|
+
defaultType: string;
|
|
2498
2645
|
include: string[];
|
|
2646
|
+
pages: string;
|
|
2499
2647
|
root: string;
|
|
2500
|
-
defaultType: string;
|
|
2501
2648
|
sources?: ({
|
|
2502
2649
|
type: "filesystem";
|
|
2503
2650
|
exclude: string[];
|
|
@@ -2517,6 +2664,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2517
2664
|
repo: string;
|
|
2518
2665
|
} | undefined;
|
|
2519
2666
|
pollInterval?: number | undefined;
|
|
2667
|
+
} | {
|
|
2668
|
+
type: "github-releases";
|
|
2669
|
+
owner: string;
|
|
2670
|
+
repo: string;
|
|
2671
|
+
prefix?: string | undefined;
|
|
2672
|
+
pollInterval?: number | undefined;
|
|
2673
|
+
drafts?: boolean | undefined;
|
|
2674
|
+
limit?: number | undefined;
|
|
2675
|
+
prereleases?: boolean | undefined;
|
|
2520
2676
|
} | {
|
|
2521
2677
|
type: "sanity";
|
|
2522
2678
|
dataset: string;
|
|
@@ -2545,15 +2701,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2545
2701
|
slug?: string | undefined;
|
|
2546
2702
|
} | undefined;
|
|
2547
2703
|
publishedValue?: string | undefined;
|
|
2548
|
-
} | {
|
|
2549
|
-
type: "github-releases";
|
|
2550
|
-
owner: string;
|
|
2551
|
-
repo: string;
|
|
2552
|
-
prefix?: string | undefined;
|
|
2553
|
-
pollInterval?: number | undefined;
|
|
2554
|
-
drafts?: boolean | undefined;
|
|
2555
|
-
limit?: number | undefined;
|
|
2556
|
-
prereleases?: boolean | undefined;
|
|
2557
2704
|
} | {
|
|
2558
2705
|
type: "mintlify";
|
|
2559
2706
|
exclude: string[];
|
|
@@ -2567,7 +2714,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2567
2714
|
source: ContentSource;
|
|
2568
2715
|
})[] | undefined;
|
|
2569
2716
|
};
|
|
2570
|
-
variables: Record<string, string>;
|
|
2571
2717
|
theme: {
|
|
2572
2718
|
strict: boolean;
|
|
2573
2719
|
mode: "dark" | "light" | "system";
|
|
@@ -2587,27 +2733,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2587
2733
|
backgroundImage?: string | undefined;
|
|
2588
2734
|
backgroundImageDark?: string | undefined;
|
|
2589
2735
|
};
|
|
2590
|
-
ai: {
|
|
2591
|
-
llmsTxt: boolean;
|
|
2592
|
-
ask?: {
|
|
2593
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
2594
|
-
enabled: boolean;
|
|
2595
|
-
model: string;
|
|
2596
|
-
apiKeyEnv?: string | undefined;
|
|
2597
|
-
baseUrl?: string | undefined;
|
|
2598
|
-
} | undefined;
|
|
2599
|
-
};
|
|
2600
2736
|
asyncapi: {
|
|
2737
|
+
enabled: boolean;
|
|
2738
|
+
route: string;
|
|
2601
2739
|
sources: {
|
|
2602
2740
|
spec: string;
|
|
2603
2741
|
label?: string | undefined;
|
|
2604
2742
|
route?: string | undefined;
|
|
2605
2743
|
}[];
|
|
2606
|
-
enabled: boolean;
|
|
2607
|
-
route: string;
|
|
2608
|
-
theme?: string | undefined;
|
|
2609
2744
|
spec?: string | undefined;
|
|
2745
|
+
theme?: string | undefined;
|
|
2610
2746
|
};
|
|
2747
|
+
variables: Record<string, string>;
|
|
2611
2748
|
deployment: {
|
|
2612
2749
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2613
2750
|
output: "static" | "server";
|
|
@@ -2619,6 +2756,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2619
2756
|
epub: boolean;
|
|
2620
2757
|
pdf: boolean;
|
|
2621
2758
|
};
|
|
2759
|
+
icons: {
|
|
2760
|
+
library: "lucide" | "fontawesome" | "tabler";
|
|
2761
|
+
};
|
|
2622
2762
|
markdown: {
|
|
2623
2763
|
code: {
|
|
2624
2764
|
icons: boolean;
|
|
@@ -2638,8 +2778,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2638
2778
|
mcp: {
|
|
2639
2779
|
enabled: boolean;
|
|
2640
2780
|
route: string;
|
|
2641
|
-
instructions?: string | undefined;
|
|
2642
2781
|
name?: string | undefined;
|
|
2782
|
+
instructions?: string | undefined;
|
|
2643
2783
|
};
|
|
2644
2784
|
navigation: {
|
|
2645
2785
|
repo: boolean;
|
|
@@ -2648,7 +2788,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2648
2788
|
banner?: string | {
|
|
2649
2789
|
content: string;
|
|
2650
2790
|
dismissible: boolean;
|
|
2651
|
-
type?: "
|
|
2791
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2652
2792
|
id?: string | undefined;
|
|
2653
2793
|
color?: {
|
|
2654
2794
|
dark?: string | undefined;
|
|
@@ -2690,15 +2830,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2690
2830
|
}[] | undefined;
|
|
2691
2831
|
};
|
|
2692
2832
|
openapi: {
|
|
2833
|
+
enabled: boolean;
|
|
2834
|
+
route: string;
|
|
2693
2835
|
sources: {
|
|
2694
2836
|
spec: string;
|
|
2695
2837
|
label?: string | undefined;
|
|
2696
2838
|
route?: string | undefined;
|
|
2697
2839
|
}[];
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2840
|
+
codeSamples: string[];
|
|
2841
|
+
expandSchemas: boolean;
|
|
2842
|
+
renderer: "blume" | "scalar";
|
|
2701
2843
|
spec?: string | undefined;
|
|
2844
|
+
theme?: string | undefined;
|
|
2702
2845
|
};
|
|
2703
2846
|
redirects: {
|
|
2704
2847
|
status: 301 | 302 | 307 | 308;
|
|
@@ -2706,16 +2849,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2706
2849
|
to: string;
|
|
2707
2850
|
}[];
|
|
2708
2851
|
description?: string | undefined;
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2852
|
+
analytics?: {
|
|
2853
|
+
posthog?: {
|
|
2854
|
+
key: string;
|
|
2855
|
+
host?: string | undefined;
|
|
2856
|
+
} | undefined;
|
|
2857
|
+
scripts?: {
|
|
2858
|
+
attributes?: Record<string, string> | undefined;
|
|
2859
|
+
content?: string | undefined;
|
|
2860
|
+
src?: string | undefined;
|
|
2861
|
+
strategy?: "async" | "defer" | undefined;
|
|
2862
|
+
}[] | undefined;
|
|
2863
|
+
vercel?: boolean | undefined;
|
|
2714
2864
|
} | undefined;
|
|
2715
2865
|
banner?: string | {
|
|
2716
2866
|
content: string;
|
|
2717
2867
|
dismissible: boolean;
|
|
2718
|
-
type?: "
|
|
2868
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2719
2869
|
id?: string | undefined;
|
|
2720
2870
|
color?: {
|
|
2721
2871
|
dark?: string | undefined;
|
|
@@ -2726,18 +2876,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2726
2876
|
text: string;
|
|
2727
2877
|
} | undefined;
|
|
2728
2878
|
} | undefined;
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
scripts?: {
|
|
2735
|
-
content?: string | undefined;
|
|
2736
|
-
attributes?: Record<string, string> | undefined;
|
|
2737
|
-
src?: string | undefined;
|
|
2738
|
-
strategy?: "async" | "defer" | undefined;
|
|
2739
|
-
}[] | undefined;
|
|
2740
|
-
vercel?: boolean | undefined;
|
|
2879
|
+
github?: {
|
|
2880
|
+
owner: string;
|
|
2881
|
+
repo: string;
|
|
2882
|
+
branch: string;
|
|
2883
|
+
dir?: string | undefined;
|
|
2741
2884
|
} | undefined;
|
|
2742
2885
|
favicon?: string | {
|
|
2743
2886
|
dark?: string | undefined;
|
|
@@ -2756,26 +2899,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2756
2899
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
2757
2900
|
} | undefined;
|
|
2758
2901
|
logo?: string | {
|
|
2759
|
-
alt?: string | undefined;
|
|
2760
2902
|
dark?: string | undefined;
|
|
2761
|
-
href?: string | undefined;
|
|
2762
2903
|
light?: string | undefined;
|
|
2904
|
+
href?: string | undefined;
|
|
2905
|
+
alt?: string | undefined;
|
|
2763
2906
|
} | undefined;
|
|
2764
2907
|
}, {
|
|
2765
2908
|
title?: string | undefined;
|
|
2766
2909
|
feedback?: boolean | undefined;
|
|
2767
2910
|
search?: {
|
|
2911
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2768
2912
|
algolia?: {
|
|
2769
2913
|
appId: string;
|
|
2770
2914
|
indexName: string;
|
|
2771
2915
|
searchApiKey: string;
|
|
2772
2916
|
} | undefined;
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
collection: string;
|
|
2776
|
-
host: string;
|
|
2777
|
-
port?: number | undefined;
|
|
2778
|
-
protocol?: "http" | "https" | undefined;
|
|
2917
|
+
indexing?: {
|
|
2918
|
+
includeHiddenPages?: boolean | undefined;
|
|
2779
2919
|
} | undefined;
|
|
2780
2920
|
mixedbread?: {
|
|
2781
2921
|
storeId: string;
|
|
@@ -2785,11 +2925,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2785
2925
|
endpoint: string;
|
|
2786
2926
|
indexId?: string | undefined;
|
|
2787
2927
|
} | undefined;
|
|
2788
|
-
indexing?: {
|
|
2789
|
-
includeHiddenPages?: boolean | undefined;
|
|
2790
|
-
} | undefined;
|
|
2791
2928
|
prompt?: string | undefined;
|
|
2792
|
-
|
|
2929
|
+
typesense?: {
|
|
2930
|
+
host: string;
|
|
2931
|
+
searchApiKey: string;
|
|
2932
|
+
collection: string;
|
|
2933
|
+
port?: number | undefined;
|
|
2934
|
+
protocol?: "http" | "https" | undefined;
|
|
2935
|
+
} | undefined;
|
|
2793
2936
|
} | undefined;
|
|
2794
2937
|
toc?: boolean | {
|
|
2795
2938
|
maxHeadingLevel?: number | undefined;
|
|
@@ -2801,8 +2944,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2801
2944
|
} | undefined;
|
|
2802
2945
|
seo?: {
|
|
2803
2946
|
rss?: {
|
|
2804
|
-
limit?: number | undefined;
|
|
2805
2947
|
enabled?: boolean | undefined;
|
|
2948
|
+
limit?: number | undefined;
|
|
2806
2949
|
types?: string[] | undefined;
|
|
2807
2950
|
} | undefined;
|
|
2808
2951
|
metatags?: Record<string, string> | undefined;
|
|
@@ -2813,18 +2956,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2813
2956
|
sitemap?: boolean | undefined;
|
|
2814
2957
|
structuredData?: boolean | undefined;
|
|
2815
2958
|
} | undefined;
|
|
2959
|
+
ai?: {
|
|
2960
|
+
ask?: {
|
|
2961
|
+
apiKeyEnv?: string | undefined;
|
|
2962
|
+
baseUrl?: string | undefined;
|
|
2963
|
+
enabled?: boolean | undefined;
|
|
2964
|
+
model?: string | undefined;
|
|
2965
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
2966
|
+
} | undefined;
|
|
2967
|
+
llmsTxt?: boolean | undefined;
|
|
2968
|
+
} | undefined;
|
|
2816
2969
|
content?: {
|
|
2817
2970
|
exclude?: string[] | undefined;
|
|
2818
|
-
pages?: string | undefined;
|
|
2819
|
-
include?: string[] | undefined;
|
|
2820
|
-
root?: string | undefined;
|
|
2821
|
-
defaultType?: string | undefined;
|
|
2822
2971
|
sources?: ({
|
|
2823
2972
|
type: "filesystem";
|
|
2824
2973
|
exclude?: string[] | undefined;
|
|
2825
2974
|
include?: string[] | undefined;
|
|
2826
|
-
prefix?: string | undefined;
|
|
2827
2975
|
root?: string | undefined;
|
|
2976
|
+
prefix?: string | undefined;
|
|
2828
2977
|
} | {
|
|
2829
2978
|
type: "mdx-remote";
|
|
2830
2979
|
url?: string | undefined;
|
|
@@ -2838,6 +2987,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2838
2987
|
ref?: string | undefined;
|
|
2839
2988
|
} | undefined;
|
|
2840
2989
|
pollInterval?: number | undefined;
|
|
2990
|
+
} | {
|
|
2991
|
+
type: "github-releases";
|
|
2992
|
+
owner: string;
|
|
2993
|
+
repo: string;
|
|
2994
|
+
prefix?: string | undefined;
|
|
2995
|
+
pollInterval?: number | undefined;
|
|
2996
|
+
drafts?: boolean | undefined;
|
|
2997
|
+
limit?: number | undefined;
|
|
2998
|
+
prereleases?: boolean | undefined;
|
|
2841
2999
|
} | {
|
|
2842
3000
|
type: "sanity";
|
|
2843
3001
|
dataset: string;
|
|
@@ -2866,48 +3024,36 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2866
3024
|
slug?: string | undefined;
|
|
2867
3025
|
} | undefined;
|
|
2868
3026
|
publishedValue?: string | undefined;
|
|
2869
|
-
} | {
|
|
2870
|
-
type: "github-releases";
|
|
2871
|
-
owner: string;
|
|
2872
|
-
repo: string;
|
|
2873
|
-
prefix?: string | undefined;
|
|
2874
|
-
pollInterval?: number | undefined;
|
|
2875
|
-
drafts?: boolean | undefined;
|
|
2876
|
-
limit?: number | undefined;
|
|
2877
|
-
prereleases?: boolean | undefined;
|
|
2878
3027
|
} | {
|
|
2879
3028
|
type: "mintlify";
|
|
2880
3029
|
exclude?: string[] | undefined;
|
|
2881
3030
|
include?: string[] | undefined;
|
|
2882
|
-
prefix?: string | undefined;
|
|
2883
3031
|
root?: string | undefined;
|
|
3032
|
+
prefix?: string | undefined;
|
|
2884
3033
|
configFile?: string | undefined;
|
|
2885
3034
|
variables?: Record<string, string> | undefined;
|
|
2886
3035
|
} | {
|
|
2887
3036
|
type: "custom";
|
|
2888
3037
|
source: ContentSource;
|
|
2889
3038
|
})[] | undefined;
|
|
3039
|
+
assets?: string[] | undefined;
|
|
3040
|
+
defaultType?: string | undefined;
|
|
3041
|
+
include?: string[] | undefined;
|
|
3042
|
+
pages?: string | undefined;
|
|
3043
|
+
root?: string | undefined;
|
|
2890
3044
|
} | undefined;
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
branch?: string | undefined;
|
|
2896
|
-
} | undefined;
|
|
2897
|
-
variables?: Record<string, string> | undefined;
|
|
2898
|
-
banner?: string | {
|
|
2899
|
-
content: string;
|
|
2900
|
-
type?: "info" | "warning" | "critical" | undefined;
|
|
2901
|
-
id?: string | undefined;
|
|
2902
|
-
color?: {
|
|
2903
|
-
dark?: string | undefined;
|
|
2904
|
-
light?: string | undefined;
|
|
2905
|
-
} | undefined;
|
|
2906
|
-
dismissible?: boolean | undefined;
|
|
2907
|
-
link?: {
|
|
2908
|
-
href: string;
|
|
2909
|
-
text: string;
|
|
3045
|
+
analytics?: {
|
|
3046
|
+
posthog?: {
|
|
3047
|
+
key: string;
|
|
3048
|
+
host?: string | undefined;
|
|
2910
3049
|
} | undefined;
|
|
3050
|
+
scripts?: {
|
|
3051
|
+
attributes?: Record<string, string> | undefined;
|
|
3052
|
+
content?: string | undefined;
|
|
3053
|
+
src?: string | undefined;
|
|
3054
|
+
strategy?: "async" | "defer" | undefined;
|
|
3055
|
+
}[] | undefined;
|
|
3056
|
+
vercel?: boolean | undefined;
|
|
2911
3057
|
} | undefined;
|
|
2912
3058
|
theme?: {
|
|
2913
3059
|
strict?: boolean | undefined;
|
|
@@ -2928,40 +3074,38 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2928
3074
|
layout?: "sidebar" | undefined;
|
|
2929
3075
|
radius?: "md" | "none" | "sm" | "lg" | undefined;
|
|
2930
3076
|
} | undefined;
|
|
2931
|
-
ai?: {
|
|
2932
|
-
ask?: {
|
|
2933
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
2934
|
-
apiKeyEnv?: string | undefined;
|
|
2935
|
-
baseUrl?: string | undefined;
|
|
2936
|
-
enabled?: boolean | undefined;
|
|
2937
|
-
model?: string | undefined;
|
|
2938
|
-
} | undefined;
|
|
2939
|
-
llmsTxt?: boolean | undefined;
|
|
2940
|
-
} | undefined;
|
|
2941
|
-
analytics?: {
|
|
2942
|
-
posthog?: {
|
|
2943
|
-
key: string;
|
|
2944
|
-
host?: string | undefined;
|
|
2945
|
-
} | undefined;
|
|
2946
|
-
scripts?: {
|
|
2947
|
-
content?: string | undefined;
|
|
2948
|
-
attributes?: Record<string, string> | undefined;
|
|
2949
|
-
src?: string | undefined;
|
|
2950
|
-
strategy?: "async" | "defer" | undefined;
|
|
2951
|
-
}[] | undefined;
|
|
2952
|
-
vercel?: boolean | undefined;
|
|
2953
|
-
} | undefined;
|
|
2954
3077
|
asyncapi?: {
|
|
3078
|
+
enabled?: boolean | undefined;
|
|
3079
|
+
route?: string | undefined;
|
|
3080
|
+
spec?: string | undefined;
|
|
2955
3081
|
sources?: {
|
|
2956
3082
|
spec: string;
|
|
2957
3083
|
label?: string | undefined;
|
|
2958
3084
|
route?: string | undefined;
|
|
2959
3085
|
}[] | undefined;
|
|
2960
|
-
enabled?: boolean | undefined;
|
|
2961
|
-
route?: string | undefined;
|
|
2962
3086
|
theme?: string | undefined;
|
|
2963
|
-
spec?: string | undefined;
|
|
2964
3087
|
} | undefined;
|
|
3088
|
+
banner?: string | {
|
|
3089
|
+
content: string;
|
|
3090
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
3091
|
+
id?: string | undefined;
|
|
3092
|
+
color?: {
|
|
3093
|
+
dark?: string | undefined;
|
|
3094
|
+
light?: string | undefined;
|
|
3095
|
+
} | undefined;
|
|
3096
|
+
dismissible?: boolean | undefined;
|
|
3097
|
+
link?: {
|
|
3098
|
+
href: string;
|
|
3099
|
+
text: string;
|
|
3100
|
+
} | undefined;
|
|
3101
|
+
} | undefined;
|
|
3102
|
+
github?: {
|
|
3103
|
+
owner: string;
|
|
3104
|
+
repo: string;
|
|
3105
|
+
branch?: string | undefined;
|
|
3106
|
+
dir?: string | undefined;
|
|
3107
|
+
} | undefined;
|
|
3108
|
+
variables?: Record<string, string> | undefined;
|
|
2965
3109
|
deployment?: {
|
|
2966
3110
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
2967
3111
|
base?: string | undefined;
|
|
@@ -2989,11 +3133,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2989
3133
|
parser?: "dir" | "dot" | undefined;
|
|
2990
3134
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
2991
3135
|
} | undefined;
|
|
3136
|
+
icons?: {
|
|
3137
|
+
library?: "lucide" | "fontawesome" | "tabler" | undefined;
|
|
3138
|
+
} | undefined;
|
|
2992
3139
|
logo?: string | {
|
|
2993
|
-
alt?: string | undefined;
|
|
2994
3140
|
dark?: string | undefined;
|
|
2995
|
-
href?: string | undefined;
|
|
2996
3141
|
light?: string | undefined;
|
|
3142
|
+
href?: string | undefined;
|
|
3143
|
+
alt?: string | undefined;
|
|
2997
3144
|
} | undefined;
|
|
2998
3145
|
markdown?: {
|
|
2999
3146
|
code?: {
|
|
@@ -3012,10 +3159,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3012
3159
|
math?: boolean | undefined;
|
|
3013
3160
|
} | undefined;
|
|
3014
3161
|
mcp?: {
|
|
3015
|
-
enabled?: boolean | undefined;
|
|
3016
|
-
instructions?: string | undefined;
|
|
3017
3162
|
name?: string | undefined;
|
|
3163
|
+
enabled?: boolean | undefined;
|
|
3018
3164
|
route?: string | undefined;
|
|
3165
|
+
instructions?: string | undefined;
|
|
3019
3166
|
} | undefined;
|
|
3020
3167
|
navigation?: {
|
|
3021
3168
|
sidebar?: SidebarItemConfig[] | undefined;
|
|
@@ -3024,7 +3171,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3024
3171
|
path: string;
|
|
3025
3172
|
banner?: string | {
|
|
3026
3173
|
content: string;
|
|
3027
|
-
type?: "
|
|
3174
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
3028
3175
|
id?: string | undefined;
|
|
3029
3176
|
color?: {
|
|
3030
3177
|
dark?: string | undefined;
|
|
@@ -3066,15 +3213,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3066
3213
|
}[] | undefined;
|
|
3067
3214
|
} | undefined;
|
|
3068
3215
|
openapi?: {
|
|
3216
|
+
enabled?: boolean | undefined;
|
|
3217
|
+
route?: string | undefined;
|
|
3218
|
+
spec?: string | undefined;
|
|
3069
3219
|
sources?: {
|
|
3070
3220
|
spec: string;
|
|
3071
3221
|
label?: string | undefined;
|
|
3072
3222
|
route?: string | undefined;
|
|
3073
3223
|
}[] | undefined;
|
|
3074
|
-
enabled?: boolean | undefined;
|
|
3075
|
-
route?: string | undefined;
|
|
3076
3224
|
theme?: string | undefined;
|
|
3077
|
-
|
|
3225
|
+
codeSamples?: string[] | undefined;
|
|
3226
|
+
expandSchemas?: boolean | undefined;
|
|
3227
|
+
renderer?: "blume" | "scalar" | undefined;
|
|
3078
3228
|
} | undefined;
|
|
3079
3229
|
redirects?: {
|
|
3080
3230
|
from: string;
|