blume 1.0.2 → 1.0.4
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/CHANGELOG.md +37 -0
- package/dist/cli/index.js +496 -295
- package/dist/cli/index.js.map +18 -17
- package/dist/types/core/config-input.d.ts +44 -22
- package/dist/types/core/config.d.ts +3 -3
- package/dist/types/core/data.d.ts +12 -0
- package/dist/types/core/i18n-ui.d.ts +136 -136
- package/dist/types/core/schema.d.ts +502 -384
- package/dist/types/core/types.d.ts +10 -0
- package/dist/types/openapi/references.d.ts +12 -7
- package/docs/advanced/api-reference.mdx +11 -3
- package/docs/advanced/custom-pages.mdx +2 -0
- package/docs/configuration/ai.mdx +6 -4
- package/docs/configuration/index.mdx +6 -8
- package/docs/configuration/seo.mdx +20 -1
- package/docs/content/components.mdx +26 -5
- package/docs/content/navigation.mdx +10 -0
- package/docs/content/syntax.mdx +116 -4
- package/package.json +1 -1
- package/skills/blume-migrate/SKILL.md +170 -0
- package/skills/blume-migrate/assets/oxfmt@0.55.0.patch +20 -0
- package/skills/blume-migrate/references/docusaurus.md +95 -0
- package/skills/blume-migrate/references/fumadocs.md +95 -0
- package/skills/blume-migrate/references/mintlify.md +155 -0
- package/skills/blume-migrate/references/monorepo.md +224 -0
- package/skills/blume-migrate/references/nextra.md +76 -0
- package/skills/blume-migrate/references/starlight.md +116 -0
- package/skills/blume-migrate/scripts/mintlify-codemod.mjs +466 -0
- package/src/ai/agent-readability.ts +3 -3
- package/src/ai/mcp/data.ts +2 -2
- package/src/astro/component-slots.ts +3 -2
- package/src/astro/generate.ts +97 -30
- package/src/astro/templates.ts +140 -53
- package/src/blume-modules.d.ts +6 -0
- package/src/components/content/Callout.astro +8 -2
- package/src/components/content/Prompt.astro +25 -13
- package/src/components/layout/Header.astro +19 -10
- package/src/components/layout/Logo.astro +13 -1
- package/src/components/layout/PageFeedback.astro +1 -1
- package/src/components/layout/PageLayout.astro +11 -11
- package/src/components/layout/Pagination.astro +6 -6
- package/src/components/layout/ReferenceLayout.astro +1 -0
- package/src/components/layout/RootLayout.astro +10 -11
- package/src/components/layout/Search.astro +1 -1
- package/src/components/layout/nav-utils.ts +9 -7
- package/src/core/config-input.ts +47 -27
- package/src/core/config.ts +3 -3
- package/src/core/data.ts +9 -1
- package/src/core/navigation.ts +55 -13
- package/src/core/schema.ts +32 -15
- package/src/core/server-features.ts +1 -1
- package/src/core/sources/watch.ts +5 -0
- package/src/core/types.ts +10 -0
- package/src/deploy/adapter-output.ts +11 -1
- package/src/markdown/index.ts +2 -0
- package/src/markdown/language-icon.ts +2 -1
- package/src/markdown/table-wrap.ts +43 -0
- package/src/og/card.ts +39 -12
- package/src/og/index.ts +1 -1
- package/src/og/logo.ts +21 -0
- package/src/openapi/references.ts +19 -16
- package/src/registry/eject.ts +11 -5
- package/src/theme/entry.ts +50 -5
|
@@ -43,12 +43,12 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
43
43
|
version: z.ZodOptional<z.ZodString>;
|
|
44
44
|
}, "strict", z.ZodTypeAny, {
|
|
45
45
|
date?: string | undefined;
|
|
46
|
-
category?: string | undefined;
|
|
47
46
|
version?: string | undefined;
|
|
47
|
+
category?: string | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
date?: string | Date | undefined;
|
|
50
|
-
category?: string | undefined;
|
|
51
50
|
version?: string | undefined;
|
|
51
|
+
category?: string | undefined;
|
|
52
52
|
}>>;
|
|
53
53
|
/** Publish date for feed-backed content like blog/changelog. */
|
|
54
54
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -69,8 +69,8 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
69
69
|
boost?: number | undefined;
|
|
70
70
|
tags?: string[] | undefined;
|
|
71
71
|
}, {
|
|
72
|
-
boost?: number | undefined;
|
|
73
72
|
exclude?: boolean | undefined;
|
|
73
|
+
boost?: number | undefined;
|
|
74
74
|
tags?: string[] | undefined;
|
|
75
75
|
}>>;
|
|
76
76
|
seo: z.ZodDefault<z.ZodObject<{
|
|
@@ -92,19 +92,19 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
92
92
|
title?: string | undefined;
|
|
93
93
|
image?: string | undefined;
|
|
94
94
|
description?: string | undefined;
|
|
95
|
-
canonical?: string | undefined;
|
|
96
95
|
x?: {
|
|
97
96
|
creator?: string | undefined;
|
|
98
97
|
} | undefined;
|
|
98
|
+
canonical?: string | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
title?: string | undefined;
|
|
101
101
|
image?: string | undefined;
|
|
102
102
|
description?: string | undefined;
|
|
103
|
-
noindex?: boolean | undefined;
|
|
104
|
-
canonical?: string | undefined;
|
|
105
103
|
x?: {
|
|
106
104
|
creator?: string | undefined;
|
|
107
105
|
} | undefined;
|
|
106
|
+
noindex?: boolean | undefined;
|
|
107
|
+
canonical?: string | undefined;
|
|
108
108
|
}>>;
|
|
109
109
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
110
110
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -115,24 +115,27 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
115
115
|
}, "strict", z.ZodTypeAny, {
|
|
116
116
|
hidden: boolean;
|
|
117
117
|
icon?: string | undefined;
|
|
118
|
-
badge?: string | undefined;
|
|
119
118
|
label?: string | undefined;
|
|
120
119
|
order?: number | undefined;
|
|
120
|
+
badge?: string | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
hidden?: boolean | undefined;
|
|
123
122
|
icon?: string | undefined;
|
|
124
|
-
badge?: string | undefined;
|
|
125
123
|
label?: string | undefined;
|
|
126
124
|
order?: number | undefined;
|
|
125
|
+
hidden?: boolean | undefined;
|
|
126
|
+
badge?: string | undefined;
|
|
127
127
|
}>>;
|
|
128
128
|
slug: z.ZodOptional<z.ZodString>;
|
|
129
129
|
title: z.ZodOptional<z.ZodString>;
|
|
130
130
|
type: z.ZodOptional<z.ZodString>;
|
|
131
131
|
}, "strict", z.ZodTypeAny, {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
sidebar: {
|
|
133
|
+
hidden: boolean;
|
|
134
|
+
icon?: string | undefined;
|
|
135
|
+
label?: string | undefined;
|
|
136
|
+
order?: number | undefined;
|
|
137
|
+
badge?: string | undefined;
|
|
138
|
+
};
|
|
136
139
|
search: {
|
|
137
140
|
exclude: boolean;
|
|
138
141
|
boost?: number | undefined;
|
|
@@ -143,21 +146,27 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
143
146
|
title?: string | undefined;
|
|
144
147
|
image?: string | undefined;
|
|
145
148
|
description?: string | undefined;
|
|
146
|
-
canonical?: string | undefined;
|
|
147
149
|
x?: {
|
|
148
150
|
creator?: string | undefined;
|
|
149
151
|
} | undefined;
|
|
152
|
+
canonical?: string | undefined;
|
|
150
153
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
label?: string | undefined;
|
|
156
|
-
order?: number | undefined;
|
|
157
|
-
};
|
|
154
|
+
deprecated: boolean;
|
|
155
|
+
draft: boolean;
|
|
156
|
+
hidden: boolean;
|
|
157
|
+
noindex: boolean;
|
|
158
158
|
type?: string | undefined;
|
|
159
159
|
title?: string | undefined;
|
|
160
160
|
date?: string | undefined;
|
|
161
|
+
icon?: string | undefined;
|
|
162
|
+
description?: string | undefined;
|
|
163
|
+
lastModified?: string | undefined;
|
|
164
|
+
slug?: string | undefined;
|
|
165
|
+
changelog?: {
|
|
166
|
+
date?: string | undefined;
|
|
167
|
+
version?: string | undefined;
|
|
168
|
+
category?: string | undefined;
|
|
169
|
+
} | undefined;
|
|
161
170
|
authors?: string | z.objectOutputType<{
|
|
162
171
|
avatar: z.ZodOptional<z.ZodString>;
|
|
163
172
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -169,65 +178,56 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
169
178
|
name: z.ZodString;
|
|
170
179
|
url: z.ZodOptional<z.ZodString>;
|
|
171
180
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
172
|
-
changelog?: {
|
|
173
|
-
date?: string | undefined;
|
|
174
|
-
category?: string | undefined;
|
|
175
|
-
version?: string | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
icon?: string | undefined;
|
|
179
|
-
lastModified?: string | undefined;
|
|
180
|
-
slug?: string | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
type?: string | undefined;
|
|
183
183
|
title?: string | undefined;
|
|
184
184
|
date?: string | Date | undefined;
|
|
185
|
-
authors?: string | z.objectInputType<{
|
|
186
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
187
|
-
image: z.ZodOptional<z.ZodString>;
|
|
188
|
-
name: z.ZodString;
|
|
189
|
-
url: z.ZodOptional<z.ZodString>;
|
|
190
|
-
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
191
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
192
|
-
image: z.ZodOptional<z.ZodString>;
|
|
193
|
-
name: z.ZodString;
|
|
194
|
-
url: z.ZodOptional<z.ZodString>;
|
|
195
|
-
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
196
|
-
changelog?: {
|
|
197
|
-
date?: string | Date | undefined;
|
|
198
|
-
category?: string | undefined;
|
|
199
|
-
version?: string | undefined;
|
|
200
|
-
} | undefined;
|
|
201
|
-
deprecated?: boolean | undefined;
|
|
202
|
-
description?: string | undefined;
|
|
203
|
-
draft?: boolean | undefined;
|
|
204
|
-
hidden?: boolean | undefined;
|
|
205
185
|
icon?: string | undefined;
|
|
186
|
+
description?: string | undefined;
|
|
206
187
|
lastModified?: string | Date | undefined;
|
|
207
|
-
|
|
188
|
+
slug?: string | undefined;
|
|
189
|
+
sidebar?: {
|
|
190
|
+
icon?: string | undefined;
|
|
191
|
+
label?: string | undefined;
|
|
192
|
+
order?: number | undefined;
|
|
193
|
+
hidden?: boolean | undefined;
|
|
194
|
+
badge?: string | undefined;
|
|
195
|
+
} | undefined;
|
|
208
196
|
search?: {
|
|
209
|
-
boost?: number | undefined;
|
|
210
197
|
exclude?: boolean | undefined;
|
|
198
|
+
boost?: number | undefined;
|
|
211
199
|
tags?: string[] | undefined;
|
|
212
200
|
} | undefined;
|
|
201
|
+
changelog?: {
|
|
202
|
+
date?: string | Date | undefined;
|
|
203
|
+
version?: string | undefined;
|
|
204
|
+
category?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
213
206
|
seo?: {
|
|
214
207
|
title?: string | undefined;
|
|
215
208
|
image?: string | undefined;
|
|
216
209
|
description?: string | undefined;
|
|
217
|
-
noindex?: boolean | undefined;
|
|
218
|
-
canonical?: string | undefined;
|
|
219
210
|
x?: {
|
|
220
211
|
creator?: string | undefined;
|
|
221
212
|
} | undefined;
|
|
213
|
+
noindex?: boolean | undefined;
|
|
214
|
+
canonical?: string | undefined;
|
|
222
215
|
} | undefined;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
} |
|
|
230
|
-
|
|
216
|
+
deprecated?: boolean | undefined;
|
|
217
|
+
authors?: string | z.objectInputType<{
|
|
218
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
219
|
+
image: z.ZodOptional<z.ZodString>;
|
|
220
|
+
name: z.ZodString;
|
|
221
|
+
url: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
223
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
224
|
+
image: z.ZodOptional<z.ZodString>;
|
|
225
|
+
name: z.ZodString;
|
|
226
|
+
url: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
228
|
+
draft?: boolean | undefined;
|
|
229
|
+
hidden?: boolean | undefined;
|
|
230
|
+
noindex?: boolean | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
export declare const pageMetaSchema: z.ZodObject<{
|
|
233
233
|
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
@@ -268,12 +268,12 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
268
268
|
version: z.ZodOptional<z.ZodString>;
|
|
269
269
|
}, "strict", z.ZodTypeAny, {
|
|
270
270
|
date?: string | undefined;
|
|
271
|
-
category?: string | undefined;
|
|
272
271
|
version?: string | undefined;
|
|
272
|
+
category?: string | undefined;
|
|
273
273
|
}, {
|
|
274
274
|
date?: string | Date | undefined;
|
|
275
|
-
category?: string | undefined;
|
|
276
275
|
version?: string | undefined;
|
|
276
|
+
category?: string | undefined;
|
|
277
277
|
}>>;
|
|
278
278
|
/** Publish date for feed-backed content like blog/changelog. */
|
|
279
279
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -294,8 +294,8 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
294
294
|
boost?: number | undefined;
|
|
295
295
|
tags?: string[] | undefined;
|
|
296
296
|
}, {
|
|
297
|
-
boost?: number | undefined;
|
|
298
297
|
exclude?: boolean | undefined;
|
|
298
|
+
boost?: number | undefined;
|
|
299
299
|
tags?: string[] | undefined;
|
|
300
300
|
}>>;
|
|
301
301
|
seo: z.ZodDefault<z.ZodObject<{
|
|
@@ -317,19 +317,19 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
317
317
|
title?: string | undefined;
|
|
318
318
|
image?: string | undefined;
|
|
319
319
|
description?: string | undefined;
|
|
320
|
-
canonical?: string | undefined;
|
|
321
320
|
x?: {
|
|
322
321
|
creator?: string | undefined;
|
|
323
322
|
} | undefined;
|
|
323
|
+
canonical?: string | undefined;
|
|
324
324
|
}, {
|
|
325
325
|
title?: string | undefined;
|
|
326
326
|
image?: string | undefined;
|
|
327
327
|
description?: string | undefined;
|
|
328
|
-
noindex?: boolean | undefined;
|
|
329
|
-
canonical?: string | undefined;
|
|
330
328
|
x?: {
|
|
331
329
|
creator?: string | undefined;
|
|
332
330
|
} | undefined;
|
|
331
|
+
noindex?: boolean | undefined;
|
|
332
|
+
canonical?: string | undefined;
|
|
333
333
|
}>>;
|
|
334
334
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
335
335
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -340,24 +340,27 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
340
340
|
}, "strict", z.ZodTypeAny, {
|
|
341
341
|
hidden: boolean;
|
|
342
342
|
icon?: string | undefined;
|
|
343
|
-
badge?: string | undefined;
|
|
344
343
|
label?: string | undefined;
|
|
345
344
|
order?: number | undefined;
|
|
345
|
+
badge?: string | undefined;
|
|
346
346
|
}, {
|
|
347
|
-
hidden?: boolean | undefined;
|
|
348
347
|
icon?: string | undefined;
|
|
349
|
-
badge?: string | undefined;
|
|
350
348
|
label?: string | undefined;
|
|
351
349
|
order?: number | undefined;
|
|
350
|
+
hidden?: boolean | undefined;
|
|
351
|
+
badge?: string | undefined;
|
|
352
352
|
}>>;
|
|
353
353
|
slug: z.ZodOptional<z.ZodString>;
|
|
354
354
|
title: z.ZodOptional<z.ZodString>;
|
|
355
355
|
type: z.ZodOptional<z.ZodString>;
|
|
356
356
|
}, "strict", z.ZodTypeAny, {
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
357
|
+
sidebar: {
|
|
358
|
+
hidden: boolean;
|
|
359
|
+
icon?: string | undefined;
|
|
360
|
+
label?: string | undefined;
|
|
361
|
+
order?: number | undefined;
|
|
362
|
+
badge?: string | undefined;
|
|
363
|
+
};
|
|
361
364
|
search: {
|
|
362
365
|
exclude: boolean;
|
|
363
366
|
boost?: number | undefined;
|
|
@@ -368,21 +371,27 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
368
371
|
title?: string | undefined;
|
|
369
372
|
image?: string | undefined;
|
|
370
373
|
description?: string | undefined;
|
|
371
|
-
canonical?: string | undefined;
|
|
372
374
|
x?: {
|
|
373
375
|
creator?: string | undefined;
|
|
374
376
|
} | undefined;
|
|
377
|
+
canonical?: string | undefined;
|
|
375
378
|
};
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
label?: string | undefined;
|
|
381
|
-
order?: number | undefined;
|
|
382
|
-
};
|
|
379
|
+
deprecated: boolean;
|
|
380
|
+
draft: boolean;
|
|
381
|
+
hidden: boolean;
|
|
382
|
+
noindex: boolean;
|
|
383
383
|
type?: string | undefined;
|
|
384
384
|
title?: string | undefined;
|
|
385
385
|
date?: string | undefined;
|
|
386
|
+
icon?: string | undefined;
|
|
387
|
+
description?: string | undefined;
|
|
388
|
+
lastModified?: string | undefined;
|
|
389
|
+
slug?: string | undefined;
|
|
390
|
+
changelog?: {
|
|
391
|
+
date?: string | undefined;
|
|
392
|
+
version?: string | undefined;
|
|
393
|
+
category?: string | undefined;
|
|
394
|
+
} | undefined;
|
|
386
395
|
authors?: string | z.objectOutputType<{
|
|
387
396
|
avatar: z.ZodOptional<z.ZodString>;
|
|
388
397
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -394,65 +403,56 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
394
403
|
name: z.ZodString;
|
|
395
404
|
url: z.ZodOptional<z.ZodString>;
|
|
396
405
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
397
|
-
changelog?: {
|
|
398
|
-
date?: string | undefined;
|
|
399
|
-
category?: string | undefined;
|
|
400
|
-
version?: string | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
description?: string | undefined;
|
|
403
|
-
icon?: string | undefined;
|
|
404
|
-
lastModified?: string | undefined;
|
|
405
|
-
slug?: string | undefined;
|
|
406
406
|
}, {
|
|
407
407
|
type?: string | undefined;
|
|
408
408
|
title?: string | undefined;
|
|
409
409
|
date?: string | Date | undefined;
|
|
410
|
-
authors?: string | z.objectInputType<{
|
|
411
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
412
|
-
image: z.ZodOptional<z.ZodString>;
|
|
413
|
-
name: z.ZodString;
|
|
414
|
-
url: z.ZodOptional<z.ZodString>;
|
|
415
|
-
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
416
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
417
|
-
image: z.ZodOptional<z.ZodString>;
|
|
418
|
-
name: z.ZodString;
|
|
419
|
-
url: z.ZodOptional<z.ZodString>;
|
|
420
|
-
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
421
|
-
changelog?: {
|
|
422
|
-
date?: string | Date | undefined;
|
|
423
|
-
category?: string | undefined;
|
|
424
|
-
version?: string | undefined;
|
|
425
|
-
} | undefined;
|
|
426
|
-
deprecated?: boolean | undefined;
|
|
427
|
-
description?: string | undefined;
|
|
428
|
-
draft?: boolean | undefined;
|
|
429
|
-
hidden?: boolean | undefined;
|
|
430
410
|
icon?: string | undefined;
|
|
411
|
+
description?: string | undefined;
|
|
431
412
|
lastModified?: string | Date | undefined;
|
|
432
|
-
|
|
413
|
+
slug?: string | undefined;
|
|
414
|
+
sidebar?: {
|
|
415
|
+
icon?: string | undefined;
|
|
416
|
+
label?: string | undefined;
|
|
417
|
+
order?: number | undefined;
|
|
418
|
+
hidden?: boolean | undefined;
|
|
419
|
+
badge?: string | undefined;
|
|
420
|
+
} | undefined;
|
|
433
421
|
search?: {
|
|
434
|
-
boost?: number | undefined;
|
|
435
422
|
exclude?: boolean | undefined;
|
|
423
|
+
boost?: number | undefined;
|
|
436
424
|
tags?: string[] | undefined;
|
|
437
425
|
} | undefined;
|
|
426
|
+
changelog?: {
|
|
427
|
+
date?: string | Date | undefined;
|
|
428
|
+
version?: string | undefined;
|
|
429
|
+
category?: string | undefined;
|
|
430
|
+
} | undefined;
|
|
438
431
|
seo?: {
|
|
439
432
|
title?: string | undefined;
|
|
440
433
|
image?: string | undefined;
|
|
441
434
|
description?: string | undefined;
|
|
442
|
-
noindex?: boolean | undefined;
|
|
443
|
-
canonical?: string | undefined;
|
|
444
435
|
x?: {
|
|
445
436
|
creator?: string | undefined;
|
|
446
437
|
} | undefined;
|
|
438
|
+
noindex?: boolean | undefined;
|
|
439
|
+
canonical?: string | undefined;
|
|
447
440
|
} | undefined;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
} |
|
|
455
|
-
|
|
441
|
+
deprecated?: boolean | undefined;
|
|
442
|
+
authors?: string | z.objectInputType<{
|
|
443
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
444
|
+
image: z.ZodOptional<z.ZodString>;
|
|
445
|
+
name: z.ZodString;
|
|
446
|
+
url: z.ZodOptional<z.ZodString>;
|
|
447
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
448
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
449
|
+
image: z.ZodOptional<z.ZodString>;
|
|
450
|
+
name: z.ZodString;
|
|
451
|
+
url: z.ZodOptional<z.ZodString>;
|
|
452
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
453
|
+
draft?: boolean | undefined;
|
|
454
|
+
hidden?: boolean | undefined;
|
|
455
|
+
noindex?: boolean | undefined;
|
|
456
456
|
}>;
|
|
457
457
|
export type PageMeta = z.infer<typeof pageMetaBaseSchema>;
|
|
458
458
|
export type PageMetaInput = z.input<typeof pageMetaBaseSchema>;
|
|
@@ -475,14 +475,14 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
475
475
|
}, "strict", z.ZodTypeAny, {
|
|
476
476
|
title?: string | undefined;
|
|
477
477
|
icon?: string | undefined;
|
|
478
|
-
order?: number | undefined;
|
|
479
478
|
pages?: string[] | undefined;
|
|
479
|
+
order?: number | undefined;
|
|
480
480
|
collapsed?: boolean | undefined;
|
|
481
481
|
}, {
|
|
482
482
|
title?: string | undefined;
|
|
483
483
|
icon?: string | undefined;
|
|
484
|
-
order?: number | undefined;
|
|
485
484
|
pages?: string[] | undefined;
|
|
485
|
+
order?: number | undefined;
|
|
486
486
|
collapsed?: boolean | undefined;
|
|
487
487
|
}>;
|
|
488
488
|
export type FolderMeta = z.infer<typeof folderMetaSchema>;
|
|
@@ -672,14 +672,14 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
672
672
|
title?: string | undefined;
|
|
673
673
|
status?: string | undefined;
|
|
674
674
|
description?: string | undefined;
|
|
675
|
-
order?: string | undefined;
|
|
676
675
|
slug?: string | undefined;
|
|
676
|
+
order?: string | undefined;
|
|
677
677
|
}, {
|
|
678
678
|
title?: string | undefined;
|
|
679
679
|
status?: string | undefined;
|
|
680
680
|
description?: string | undefined;
|
|
681
|
-
order?: string | undefined;
|
|
682
681
|
slug?: string | undefined;
|
|
682
|
+
order?: string | undefined;
|
|
683
683
|
}>>;
|
|
684
684
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
685
685
|
publishedValue: z.ZodOptional<z.ZodString>;
|
|
@@ -693,8 +693,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
693
693
|
title?: string | undefined;
|
|
694
694
|
status?: string | undefined;
|
|
695
695
|
description?: string | undefined;
|
|
696
|
-
order?: string | undefined;
|
|
697
696
|
slug?: string | undefined;
|
|
697
|
+
order?: string | undefined;
|
|
698
698
|
} | undefined;
|
|
699
699
|
publishedValue?: string | undefined;
|
|
700
700
|
}, {
|
|
@@ -706,8 +706,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
706
706
|
title?: string | undefined;
|
|
707
707
|
status?: string | undefined;
|
|
708
708
|
description?: string | undefined;
|
|
709
|
-
order?: string | undefined;
|
|
710
709
|
slug?: string | undefined;
|
|
710
|
+
order?: string | undefined;
|
|
711
711
|
} | undefined;
|
|
712
712
|
publishedValue?: string | undefined;
|
|
713
713
|
}>, z.ZodObject<{
|
|
@@ -806,25 +806,54 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
806
806
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
807
807
|
openapi: z.ZodDefault<z.ZodBoolean>;
|
|
808
808
|
}, "strict", z.ZodTypeAny, {
|
|
809
|
-
enabled: boolean;
|
|
810
809
|
openapi: boolean;
|
|
810
|
+
enabled: boolean;
|
|
811
811
|
}, {
|
|
812
|
-
enabled?: boolean | undefined;
|
|
813
812
|
openapi?: boolean | undefined;
|
|
813
|
+
enabled?: boolean | undefined;
|
|
814
814
|
}>]>>, {
|
|
815
|
-
enabled: boolean;
|
|
816
815
|
openapi: boolean;
|
|
816
|
+
enabled: boolean;
|
|
817
817
|
}, boolean | {
|
|
818
|
-
enabled?: boolean | undefined;
|
|
819
818
|
openapi?: boolean | undefined;
|
|
819
|
+
enabled?: boolean | undefined;
|
|
820
820
|
} | undefined>;
|
|
821
821
|
markdownComponents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ComponentMarkdown, z.ZodTypeDef, ComponentMarkdown>>>;
|
|
822
|
+
/** Expose the docs as an MCP server for connecting agents. */
|
|
823
|
+
mcp: z.ZodDefault<z.ZodObject<{
|
|
824
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
825
|
+
/** Optional system hint passed to connecting agents. */
|
|
826
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
827
|
+
/** Server name shown to clients; defaults to the site title. */
|
|
828
|
+
name: z.ZodOptional<z.ZodString>;
|
|
829
|
+
/**
|
|
830
|
+
* Normalized like `openapi.route`: a slash-less value would otherwise be
|
|
831
|
+
* string-concatenated onto the site origin (`https://acme.comdocs-mcp`).
|
|
832
|
+
*/
|
|
833
|
+
route: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
834
|
+
}, "strict", z.ZodTypeAny, {
|
|
835
|
+
enabled: boolean;
|
|
836
|
+
route: string;
|
|
837
|
+
name?: string | undefined;
|
|
838
|
+
instructions?: string | undefined;
|
|
839
|
+
}, {
|
|
840
|
+
name?: string | undefined;
|
|
841
|
+
enabled?: boolean | undefined;
|
|
842
|
+
instructions?: string | undefined;
|
|
843
|
+
route?: string | undefined;
|
|
844
|
+
}>>;
|
|
822
845
|
}, "strict", z.ZodTypeAny, {
|
|
823
846
|
llmsTxt: {
|
|
824
|
-
enabled: boolean;
|
|
825
847
|
openapi: boolean;
|
|
848
|
+
enabled: boolean;
|
|
826
849
|
};
|
|
827
850
|
markdownComponents: Record<string, ComponentMarkdown>;
|
|
851
|
+
mcp: {
|
|
852
|
+
enabled: boolean;
|
|
853
|
+
route: string;
|
|
854
|
+
name?: string | undefined;
|
|
855
|
+
instructions?: string | undefined;
|
|
856
|
+
};
|
|
828
857
|
ask?: {
|
|
829
858
|
enabled: boolean;
|
|
830
859
|
model: string;
|
|
@@ -849,10 +878,16 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
849
878
|
}[] | undefined;
|
|
850
879
|
} | undefined;
|
|
851
880
|
llmsTxt?: boolean | {
|
|
852
|
-
enabled?: boolean | undefined;
|
|
853
881
|
openapi?: boolean | undefined;
|
|
882
|
+
enabled?: boolean | undefined;
|
|
854
883
|
} | undefined;
|
|
855
884
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
885
|
+
mcp?: {
|
|
886
|
+
name?: string | undefined;
|
|
887
|
+
enabled?: boolean | undefined;
|
|
888
|
+
instructions?: string | undefined;
|
|
889
|
+
route?: string | undefined;
|
|
890
|
+
} | undefined;
|
|
856
891
|
}>;
|
|
857
892
|
export type AskAiProvider = (typeof askAiProviders)[number];
|
|
858
893
|
export type AskAiConfig = NonNullable<z.infer<typeof aiConfigSchema>["ask"]>;
|
|
@@ -1062,25 +1097,54 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1062
1097
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1063
1098
|
openapi: z.ZodDefault<z.ZodBoolean>;
|
|
1064
1099
|
}, "strict", z.ZodTypeAny, {
|
|
1065
|
-
enabled: boolean;
|
|
1066
1100
|
openapi: boolean;
|
|
1101
|
+
enabled: boolean;
|
|
1067
1102
|
}, {
|
|
1068
|
-
enabled?: boolean | undefined;
|
|
1069
1103
|
openapi?: boolean | undefined;
|
|
1104
|
+
enabled?: boolean | undefined;
|
|
1070
1105
|
}>]>>, {
|
|
1071
|
-
enabled: boolean;
|
|
1072
1106
|
openapi: boolean;
|
|
1107
|
+
enabled: boolean;
|
|
1073
1108
|
}, boolean | {
|
|
1074
|
-
enabled?: boolean | undefined;
|
|
1075
1109
|
openapi?: boolean | undefined;
|
|
1110
|
+
enabled?: boolean | undefined;
|
|
1076
1111
|
} | undefined>;
|
|
1077
1112
|
markdownComponents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ComponentMarkdown, z.ZodTypeDef, ComponentMarkdown>>>;
|
|
1113
|
+
/** Expose the docs as an MCP server for connecting agents. */
|
|
1114
|
+
mcp: z.ZodDefault<z.ZodObject<{
|
|
1115
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1116
|
+
/** Optional system hint passed to connecting agents. */
|
|
1117
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
/** Server name shown to clients; defaults to the site title. */
|
|
1119
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Normalized like `openapi.route`: a slash-less value would otherwise be
|
|
1122
|
+
* string-concatenated onto the site origin (`https://acme.comdocs-mcp`).
|
|
1123
|
+
*/
|
|
1124
|
+
route: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
1125
|
+
}, "strict", z.ZodTypeAny, {
|
|
1126
|
+
enabled: boolean;
|
|
1127
|
+
route: string;
|
|
1128
|
+
name?: string | undefined;
|
|
1129
|
+
instructions?: string | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
name?: string | undefined;
|
|
1132
|
+
enabled?: boolean | undefined;
|
|
1133
|
+
instructions?: string | undefined;
|
|
1134
|
+
route?: string | undefined;
|
|
1135
|
+
}>>;
|
|
1078
1136
|
}, "strict", z.ZodTypeAny, {
|
|
1079
1137
|
llmsTxt: {
|
|
1080
|
-
enabled: boolean;
|
|
1081
1138
|
openapi: boolean;
|
|
1139
|
+
enabled: boolean;
|
|
1082
1140
|
};
|
|
1083
1141
|
markdownComponents: Record<string, ComponentMarkdown>;
|
|
1142
|
+
mcp: {
|
|
1143
|
+
enabled: boolean;
|
|
1144
|
+
route: string;
|
|
1145
|
+
name?: string | undefined;
|
|
1146
|
+
instructions?: string | undefined;
|
|
1147
|
+
};
|
|
1084
1148
|
ask?: {
|
|
1085
1149
|
enabled: boolean;
|
|
1086
1150
|
model: string;
|
|
@@ -1105,10 +1169,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1105
1169
|
}[] | undefined;
|
|
1106
1170
|
} | undefined;
|
|
1107
1171
|
llmsTxt?: boolean | {
|
|
1108
|
-
enabled?: boolean | undefined;
|
|
1109
1172
|
openapi?: boolean | undefined;
|
|
1173
|
+
enabled?: boolean | undefined;
|
|
1110
1174
|
} | undefined;
|
|
1111
1175
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
1176
|
+
mcp?: {
|
|
1177
|
+
name?: string | undefined;
|
|
1178
|
+
enabled?: boolean | undefined;
|
|
1179
|
+
instructions?: string | undefined;
|
|
1180
|
+
route?: string | undefined;
|
|
1181
|
+
} | undefined;
|
|
1112
1182
|
}>>;
|
|
1113
1183
|
analytics: z.ZodOptional<z.ZodObject<{
|
|
1114
1184
|
posthog: z.ZodOptional<z.ZodObject<{
|
|
@@ -1451,14 +1521,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1451
1521
|
title?: string | undefined;
|
|
1452
1522
|
status?: string | undefined;
|
|
1453
1523
|
description?: string | undefined;
|
|
1454
|
-
order?: string | undefined;
|
|
1455
1524
|
slug?: string | undefined;
|
|
1525
|
+
order?: string | undefined;
|
|
1456
1526
|
}, {
|
|
1457
1527
|
title?: string | undefined;
|
|
1458
1528
|
status?: string | undefined;
|
|
1459
1529
|
description?: string | undefined;
|
|
1460
|
-
order?: string | undefined;
|
|
1461
1530
|
slug?: string | undefined;
|
|
1531
|
+
order?: string | undefined;
|
|
1462
1532
|
}>>;
|
|
1463
1533
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
1464
1534
|
publishedValue: z.ZodOptional<z.ZodString>;
|
|
@@ -1472,8 +1542,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1472
1542
|
title?: string | undefined;
|
|
1473
1543
|
status?: string | undefined;
|
|
1474
1544
|
description?: string | undefined;
|
|
1475
|
-
order?: string | undefined;
|
|
1476
1545
|
slug?: string | undefined;
|
|
1546
|
+
order?: string | undefined;
|
|
1477
1547
|
} | undefined;
|
|
1478
1548
|
publishedValue?: string | undefined;
|
|
1479
1549
|
}, {
|
|
@@ -1485,8 +1555,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1485
1555
|
title?: string | undefined;
|
|
1486
1556
|
status?: string | undefined;
|
|
1487
1557
|
description?: string | undefined;
|
|
1488
|
-
order?: string | undefined;
|
|
1489
1558
|
slug?: string | undefined;
|
|
1559
|
+
order?: string | undefined;
|
|
1490
1560
|
} | undefined;
|
|
1491
1561
|
publishedValue?: string | undefined;
|
|
1492
1562
|
}>, z.ZodObject<{
|
|
@@ -1501,8 +1571,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1501
1571
|
}>]>, "many">>;
|
|
1502
1572
|
}, "strict", z.ZodTypeAny, {
|
|
1503
1573
|
root: string;
|
|
1504
|
-
exclude: string[];
|
|
1505
1574
|
defaultType: string;
|
|
1575
|
+
exclude: string[];
|
|
1506
1576
|
include: string[];
|
|
1507
1577
|
pages: string;
|
|
1508
1578
|
sources?: ({
|
|
@@ -1557,8 +1627,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1557
1627
|
title?: string | undefined;
|
|
1558
1628
|
status?: string | undefined;
|
|
1559
1629
|
description?: string | undefined;
|
|
1560
|
-
order?: string | undefined;
|
|
1561
1630
|
slug?: string | undefined;
|
|
1631
|
+
order?: string | undefined;
|
|
1562
1632
|
} | undefined;
|
|
1563
1633
|
publishedValue?: string | undefined;
|
|
1564
1634
|
} | {
|
|
@@ -1567,7 +1637,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1567
1637
|
})[] | undefined;
|
|
1568
1638
|
}, {
|
|
1569
1639
|
root?: string | undefined;
|
|
1570
|
-
exclude?: string[] | undefined;
|
|
1571
1640
|
sources?: ({
|
|
1572
1641
|
type: "filesystem";
|
|
1573
1642
|
root?: string | undefined;
|
|
@@ -1620,8 +1689,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1620
1689
|
title?: string | undefined;
|
|
1621
1690
|
status?: string | undefined;
|
|
1622
1691
|
description?: string | undefined;
|
|
1623
|
-
order?: string | undefined;
|
|
1624
1692
|
slug?: string | undefined;
|
|
1693
|
+
order?: string | undefined;
|
|
1625
1694
|
} | undefined;
|
|
1626
1695
|
publishedValue?: string | undefined;
|
|
1627
1696
|
} | {
|
|
@@ -1629,6 +1698,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1629
1698
|
source: ContentSource;
|
|
1630
1699
|
})[] | undefined;
|
|
1631
1700
|
defaultType?: string | undefined;
|
|
1701
|
+
exclude?: string[] | undefined;
|
|
1632
1702
|
include?: string[] | undefined;
|
|
1633
1703
|
pages?: string | undefined;
|
|
1634
1704
|
}>>;
|
|
@@ -1895,28 +1965,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1895
1965
|
headingAnchors?: boolean | undefined;
|
|
1896
1966
|
imageZoom?: boolean | undefined;
|
|
1897
1967
|
}>>;
|
|
1898
|
-
mcp: z.ZodDefault<z.ZodObject<{
|
|
1899
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1900
|
-
/** Optional system hint passed to connecting agents. */
|
|
1901
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1902
|
-
/** Server name shown to clients; defaults to the site title. */
|
|
1903
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1904
|
-
/**
|
|
1905
|
-
* Normalized like `openapi.route`: a slash-less value would otherwise be
|
|
1906
|
-
* string-concatenated onto the site origin (`https://acme.comdocs-mcp`).
|
|
1907
|
-
*/
|
|
1908
|
-
route: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
1909
|
-
}, "strict", z.ZodTypeAny, {
|
|
1910
|
-
enabled: boolean;
|
|
1911
|
-
route: string;
|
|
1912
|
-
name?: string | undefined;
|
|
1913
|
-
instructions?: string | undefined;
|
|
1914
|
-
}, {
|
|
1915
|
-
name?: string | undefined;
|
|
1916
|
-
enabled?: boolean | undefined;
|
|
1917
|
-
route?: string | undefined;
|
|
1918
|
-
instructions?: string | undefined;
|
|
1919
|
-
}>>;
|
|
1920
1968
|
navigation: z.ZodDefault<z.ZodObject<{
|
|
1921
1969
|
/** Pinned links shown above the generated sidebar sections. */
|
|
1922
1970
|
featured: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1944,14 +1992,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1944
1992
|
}, "strict", z.ZodTypeAny, {
|
|
1945
1993
|
path: string;
|
|
1946
1994
|
label: string;
|
|
1947
|
-
description?: string | undefined;
|
|
1948
1995
|
icon?: string | undefined;
|
|
1996
|
+
description?: string | undefined;
|
|
1949
1997
|
tag?: string | undefined;
|
|
1950
1998
|
}, {
|
|
1951
1999
|
path: string;
|
|
1952
2000
|
label: string;
|
|
1953
|
-
description?: string | undefined;
|
|
1954
2001
|
icon?: string | undefined;
|
|
2002
|
+
description?: string | undefined;
|
|
1955
2003
|
tag?: string | undefined;
|
|
1956
2004
|
}>, "many">>;
|
|
1957
2005
|
kind: z.ZodEnum<["dropdown", "language", "product", "version"]>;
|
|
@@ -1961,19 +2009,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1961
2009
|
items: {
|
|
1962
2010
|
path: string;
|
|
1963
2011
|
label: string;
|
|
1964
|
-
description?: string | undefined;
|
|
1965
2012
|
icon?: string | undefined;
|
|
2013
|
+
description?: string | undefined;
|
|
1966
2014
|
tag?: string | undefined;
|
|
1967
2015
|
}[];
|
|
1968
|
-
kind: "
|
|
2016
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
1969
2017
|
}, {
|
|
1970
2018
|
label: string;
|
|
1971
|
-
kind: "
|
|
2019
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
1972
2020
|
items?: {
|
|
1973
2021
|
path: string;
|
|
1974
2022
|
label: string;
|
|
1975
|
-
description?: string | undefined;
|
|
1976
2023
|
icon?: string | undefined;
|
|
2024
|
+
description?: string | undefined;
|
|
1977
2025
|
tag?: string | undefined;
|
|
1978
2026
|
}[] | undefined;
|
|
1979
2027
|
}>, "many">>;
|
|
@@ -1987,19 +2035,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1987
2035
|
display: z.ZodDefault<z.ZodEnum<["flat", "group", "page"]>>;
|
|
1988
2036
|
items: z.ZodOptional<z.ZodArray<z.ZodType<SidebarItemConfig, z.ZodTypeDef, SidebarItemConfig>, "many">>;
|
|
1989
2037
|
}, "strict", z.ZodTypeAny, {
|
|
1990
|
-
display: "flat" | "
|
|
2038
|
+
display: "flat" | "group" | "page";
|
|
1991
2039
|
items?: SidebarItemConfig[] | undefined;
|
|
1992
2040
|
}, {
|
|
1993
|
-
display?: "flat" | "
|
|
2041
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
1994
2042
|
items?: SidebarItemConfig[] | undefined;
|
|
1995
2043
|
}>]>>, {
|
|
1996
|
-
display: "flat" | "
|
|
2044
|
+
display: "flat" | "group" | "page";
|
|
1997
2045
|
items?: SidebarItemConfig[] | undefined;
|
|
1998
2046
|
}, SidebarItemConfig[] | {
|
|
1999
|
-
display?: "flat" | "
|
|
2047
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2000
2048
|
items?: SidebarItemConfig[] | undefined;
|
|
2001
2049
|
} | undefined>;
|
|
2002
|
-
tabs: z.
|
|
2050
|
+
tabs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2003
2051
|
icon: z.ZodOptional<z.ZodString>;
|
|
2004
2052
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2005
2053
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2010,14 +2058,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2010
2058
|
}, "strict", z.ZodTypeAny, {
|
|
2011
2059
|
path: string;
|
|
2012
2060
|
label: string;
|
|
2013
|
-
description?: string | undefined;
|
|
2014
2061
|
icon?: string | undefined;
|
|
2062
|
+
description?: string | undefined;
|
|
2015
2063
|
tag?: string | undefined;
|
|
2016
2064
|
}, {
|
|
2017
2065
|
path: string;
|
|
2018
2066
|
label: string;
|
|
2019
|
-
description?: string | undefined;
|
|
2020
2067
|
icon?: string | undefined;
|
|
2068
|
+
description?: string | undefined;
|
|
2021
2069
|
tag?: string | undefined;
|
|
2022
2070
|
}>, "many">>;
|
|
2023
2071
|
label: z.ZodString;
|
|
@@ -2029,8 +2077,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2029
2077
|
items?: {
|
|
2030
2078
|
path: string;
|
|
2031
2079
|
label: string;
|
|
2032
|
-
description?: string | undefined;
|
|
2033
2080
|
icon?: string | undefined;
|
|
2081
|
+
description?: string | undefined;
|
|
2034
2082
|
tag?: string | undefined;
|
|
2035
2083
|
}[] | undefined;
|
|
2036
2084
|
}, {
|
|
@@ -2040,16 +2088,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2040
2088
|
items?: {
|
|
2041
2089
|
path: string;
|
|
2042
2090
|
label: string;
|
|
2043
|
-
description?: string | undefined;
|
|
2044
2091
|
icon?: string | undefined;
|
|
2092
|
+
description?: string | undefined;
|
|
2045
2093
|
tag?: string | undefined;
|
|
2046
2094
|
}[] | undefined;
|
|
2047
2095
|
}>, "many">>;
|
|
2048
2096
|
}, "strict", z.ZodTypeAny, {
|
|
2049
|
-
sidebar: {
|
|
2050
|
-
display: "flat" | "page" | "group";
|
|
2051
|
-
items?: SidebarItemConfig[] | undefined;
|
|
2052
|
-
};
|
|
2053
2097
|
repo: boolean;
|
|
2054
2098
|
featured: {
|
|
2055
2099
|
label: string;
|
|
@@ -2061,29 +2105,29 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2061
2105
|
items: {
|
|
2062
2106
|
path: string;
|
|
2063
2107
|
label: string;
|
|
2064
|
-
description?: string | undefined;
|
|
2065
2108
|
icon?: string | undefined;
|
|
2109
|
+
description?: string | undefined;
|
|
2066
2110
|
tag?: string | undefined;
|
|
2067
2111
|
}[];
|
|
2068
|
-
kind: "
|
|
2112
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
2069
2113
|
}[];
|
|
2070
|
-
|
|
2114
|
+
sidebar: {
|
|
2115
|
+
display: "flat" | "group" | "page";
|
|
2116
|
+
items?: SidebarItemConfig[] | undefined;
|
|
2117
|
+
};
|
|
2118
|
+
tabs: {
|
|
2071
2119
|
path: string;
|
|
2072
2120
|
label: string;
|
|
2073
2121
|
icon?: string | undefined;
|
|
2074
2122
|
items?: {
|
|
2075
2123
|
path: string;
|
|
2076
2124
|
label: string;
|
|
2077
|
-
description?: string | undefined;
|
|
2078
2125
|
icon?: string | undefined;
|
|
2126
|
+
description?: string | undefined;
|
|
2079
2127
|
tag?: string | undefined;
|
|
2080
2128
|
}[] | undefined;
|
|
2081
|
-
}[]
|
|
2129
|
+
}[];
|
|
2082
2130
|
}, {
|
|
2083
|
-
sidebar?: SidebarItemConfig[] | {
|
|
2084
|
-
display?: "flat" | "page" | "group" | undefined;
|
|
2085
|
-
items?: SidebarItemConfig[] | undefined;
|
|
2086
|
-
} | undefined;
|
|
2087
2131
|
repo?: boolean | undefined;
|
|
2088
2132
|
featured?: {
|
|
2089
2133
|
label: string;
|
|
@@ -2092,15 +2136,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2092
2136
|
}[] | undefined;
|
|
2093
2137
|
selectors?: {
|
|
2094
2138
|
label: string;
|
|
2095
|
-
kind: "
|
|
2139
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
2096
2140
|
items?: {
|
|
2097
2141
|
path: string;
|
|
2098
2142
|
label: string;
|
|
2099
|
-
description?: string | undefined;
|
|
2100
2143
|
icon?: string | undefined;
|
|
2144
|
+
description?: string | undefined;
|
|
2101
2145
|
tag?: string | undefined;
|
|
2102
2146
|
}[] | undefined;
|
|
2103
2147
|
}[] | undefined;
|
|
2148
|
+
sidebar?: SidebarItemConfig[] | {
|
|
2149
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2150
|
+
items?: SidebarItemConfig[] | undefined;
|
|
2151
|
+
} | undefined;
|
|
2104
2152
|
tabs?: {
|
|
2105
2153
|
path: string;
|
|
2106
2154
|
label: string;
|
|
@@ -2108,8 +2156,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2108
2156
|
items?: {
|
|
2109
2157
|
path: string;
|
|
2110
2158
|
label: string;
|
|
2111
|
-
description?: string | undefined;
|
|
2112
2159
|
icon?: string | undefined;
|
|
2160
|
+
description?: string | undefined;
|
|
2113
2161
|
tag?: string | undefined;
|
|
2114
2162
|
}[] | undefined;
|
|
2115
2163
|
}[] | undefined;
|
|
@@ -2261,7 +2309,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2261
2309
|
protocol?: "http" | "https" | undefined;
|
|
2262
2310
|
}>>;
|
|
2263
2311
|
}, "strict", z.ZodTypeAny, {
|
|
2264
|
-
provider: "
|
|
2312
|
+
provider: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none";
|
|
2265
2313
|
indexing: {
|
|
2266
2314
|
includeHiddenPages: boolean;
|
|
2267
2315
|
};
|
|
@@ -2286,7 +2334,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2286
2334
|
protocol?: "http" | "https" | undefined;
|
|
2287
2335
|
} | undefined;
|
|
2288
2336
|
}, {
|
|
2289
|
-
provider?: "
|
|
2337
|
+
provider?: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none" | undefined;
|
|
2290
2338
|
algolia?: {
|
|
2291
2339
|
appId: string;
|
|
2292
2340
|
indexName: string;
|
|
@@ -2311,7 +2359,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2311
2359
|
protocol?: "http" | "https" | undefined;
|
|
2312
2360
|
} | undefined;
|
|
2313
2361
|
}>, {
|
|
2314
|
-
provider: "
|
|
2362
|
+
provider: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none";
|
|
2315
2363
|
indexing: {
|
|
2316
2364
|
includeHiddenPages: boolean;
|
|
2317
2365
|
};
|
|
@@ -2336,7 +2384,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2336
2384
|
protocol?: "http" | "https" | undefined;
|
|
2337
2385
|
} | undefined;
|
|
2338
2386
|
}, {
|
|
2339
|
-
provider?: "
|
|
2387
|
+
provider?: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none" | undefined;
|
|
2340
2388
|
algolia?: {
|
|
2341
2389
|
appId: string;
|
|
2342
2390
|
indexName: string;
|
|
@@ -2398,10 +2446,48 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2398
2446
|
* `loadConfig`. An explicit value here always wins.
|
|
2399
2447
|
*/
|
|
2400
2448
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2449
|
+
/** Local SVG used in the generated card instead of the site logo. */
|
|
2450
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
2451
|
+
/** Optional generated-card colors. */
|
|
2452
|
+
palette: z.ZodOptional<z.ZodObject<{
|
|
2453
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
background: z.ZodOptional<z.ZodString>;
|
|
2455
|
+
border: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
2457
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
}, "strict", z.ZodTypeAny, {
|
|
2459
|
+
accent?: string | undefined;
|
|
2460
|
+
background?: string | undefined;
|
|
2461
|
+
border?: string | undefined;
|
|
2462
|
+
foreground?: string | undefined;
|
|
2463
|
+
muted?: string | undefined;
|
|
2464
|
+
}, {
|
|
2465
|
+
accent?: string | undefined;
|
|
2466
|
+
background?: string | undefined;
|
|
2467
|
+
border?: string | undefined;
|
|
2468
|
+
foreground?: string | undefined;
|
|
2469
|
+
muted?: string | undefined;
|
|
2470
|
+
}>>;
|
|
2401
2471
|
}, "strict", z.ZodTypeAny, {
|
|
2402
2472
|
enabled?: boolean | undefined;
|
|
2473
|
+
logo?: string | undefined;
|
|
2474
|
+
palette?: {
|
|
2475
|
+
accent?: string | undefined;
|
|
2476
|
+
background?: string | undefined;
|
|
2477
|
+
border?: string | undefined;
|
|
2478
|
+
foreground?: string | undefined;
|
|
2479
|
+
muted?: string | undefined;
|
|
2480
|
+
} | undefined;
|
|
2403
2481
|
}, {
|
|
2404
2482
|
enabled?: boolean | undefined;
|
|
2483
|
+
logo?: string | undefined;
|
|
2484
|
+
palette?: {
|
|
2485
|
+
accent?: string | undefined;
|
|
2486
|
+
background?: string | undefined;
|
|
2487
|
+
border?: string | undefined;
|
|
2488
|
+
foreground?: string | undefined;
|
|
2489
|
+
muted?: string | undefined;
|
|
2490
|
+
} | undefined;
|
|
2405
2491
|
}>>;
|
|
2406
2492
|
/** Generate robots.txt (with a Sitemap reference when available). */
|
|
2407
2493
|
robots: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2438,10 +2524,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2438
2524
|
handle?: string | undefined;
|
|
2439
2525
|
}>>;
|
|
2440
2526
|
}, "strict", z.ZodTypeAny, {
|
|
2441
|
-
x: {
|
|
2442
|
-
creator?: string | undefined;
|
|
2443
|
-
handle?: string | undefined;
|
|
2444
|
-
};
|
|
2445
2527
|
agentReadability: boolean;
|
|
2446
2528
|
contentSignals: {
|
|
2447
2529
|
search: boolean;
|
|
@@ -2450,6 +2532,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2450
2532
|
} | null;
|
|
2451
2533
|
og: {
|
|
2452
2534
|
enabled?: boolean | undefined;
|
|
2535
|
+
logo?: string | undefined;
|
|
2536
|
+
palette?: {
|
|
2537
|
+
accent?: string | undefined;
|
|
2538
|
+
background?: string | undefined;
|
|
2539
|
+
border?: string | undefined;
|
|
2540
|
+
foreground?: string | undefined;
|
|
2541
|
+
muted?: string | undefined;
|
|
2542
|
+
} | undefined;
|
|
2453
2543
|
};
|
|
2454
2544
|
robots: boolean;
|
|
2455
2545
|
rss: {
|
|
@@ -2459,11 +2549,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2459
2549
|
};
|
|
2460
2550
|
sitemap: boolean;
|
|
2461
2551
|
structuredData: boolean;
|
|
2462
|
-
|
|
2463
|
-
x?: {
|
|
2552
|
+
x: {
|
|
2464
2553
|
creator?: string | undefined;
|
|
2465
2554
|
handle?: string | undefined;
|
|
2466
|
-
}
|
|
2555
|
+
};
|
|
2556
|
+
}, {
|
|
2467
2557
|
agentReadability?: boolean | undefined;
|
|
2468
2558
|
contentSignals?: boolean | {
|
|
2469
2559
|
search?: boolean | undefined;
|
|
@@ -2472,6 +2562,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2472
2562
|
} | undefined;
|
|
2473
2563
|
og?: {
|
|
2474
2564
|
enabled?: boolean | undefined;
|
|
2565
|
+
logo?: string | undefined;
|
|
2566
|
+
palette?: {
|
|
2567
|
+
accent?: string | undefined;
|
|
2568
|
+
background?: string | undefined;
|
|
2569
|
+
border?: string | undefined;
|
|
2570
|
+
foreground?: string | undefined;
|
|
2571
|
+
muted?: string | undefined;
|
|
2572
|
+
} | undefined;
|
|
2475
2573
|
} | undefined;
|
|
2476
2574
|
robots?: boolean | undefined;
|
|
2477
2575
|
rss?: {
|
|
@@ -2481,6 +2579,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2481
2579
|
} | undefined;
|
|
2482
2580
|
sitemap?: boolean | undefined;
|
|
2483
2581
|
structuredData?: boolean | undefined;
|
|
2582
|
+
x?: {
|
|
2583
|
+
creator?: string | undefined;
|
|
2584
|
+
handle?: string | undefined;
|
|
2585
|
+
} | undefined;
|
|
2484
2586
|
}>>;
|
|
2485
2587
|
theme: z.ZodDefault<z.ZodObject<{
|
|
2486
2588
|
accent: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -2560,12 +2662,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2560
2662
|
};
|
|
2561
2663
|
layout: "sidebar";
|
|
2562
2664
|
mode: "dark" | "light" | "system";
|
|
2563
|
-
radius: "
|
|
2564
|
-
action?: string | undefined;
|
|
2665
|
+
radius: "none" | "sm" | "md" | "lg";
|
|
2565
2666
|
background?: {
|
|
2566
2667
|
dark?: string | undefined;
|
|
2567
2668
|
light?: string | undefined;
|
|
2568
2669
|
} | undefined;
|
|
2670
|
+
action?: string | undefined;
|
|
2569
2671
|
backgroundImage?: {
|
|
2570
2672
|
dark?: string | undefined;
|
|
2571
2673
|
light?: string | undefined;
|
|
@@ -2575,11 +2677,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2575
2677
|
dark: string;
|
|
2576
2678
|
light: string;
|
|
2577
2679
|
} | undefined;
|
|
2578
|
-
action?: string | undefined;
|
|
2579
2680
|
background?: string | {
|
|
2580
2681
|
dark?: string | undefined;
|
|
2581
2682
|
light?: string | undefined;
|
|
2582
2683
|
} | undefined;
|
|
2684
|
+
action?: string | undefined;
|
|
2583
2685
|
backgroundImage?: string | {
|
|
2584
2686
|
dark?: string | undefined;
|
|
2585
2687
|
light?: string | undefined;
|
|
@@ -2591,7 +2693,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2591
2693
|
} | undefined;
|
|
2592
2694
|
layout?: "sidebar" | undefined;
|
|
2593
2695
|
mode?: "dark" | "light" | "system" | undefined;
|
|
2594
|
-
radius?: "
|
|
2696
|
+
radius?: "none" | "sm" | "md" | "lg" | undefined;
|
|
2595
2697
|
}>>;
|
|
2596
2698
|
title: z.ZodDefault<z.ZodString>;
|
|
2597
2699
|
toc: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -2620,58 +2722,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2620
2722
|
} | undefined>;
|
|
2621
2723
|
}, "strict", z.ZodTypeAny, {
|
|
2622
2724
|
title: string;
|
|
2623
|
-
lastModified: boolean | {
|
|
2624
|
-
type: "git" | "frontmatter";
|
|
2625
|
-
};
|
|
2626
|
-
search: {
|
|
2627
|
-
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2628
|
-
indexing: {
|
|
2629
|
-
includeHiddenPages: boolean;
|
|
2630
|
-
};
|
|
2631
|
-
algolia?: {
|
|
2632
|
-
appId: string;
|
|
2633
|
-
indexName: string;
|
|
2634
|
-
searchApiKey: string;
|
|
2635
|
-
} | undefined;
|
|
2636
|
-
mixedbread?: {
|
|
2637
|
-
storeId: string;
|
|
2638
|
-
} | undefined;
|
|
2639
|
-
oramaCloud?: {
|
|
2640
|
-
apiKey: string;
|
|
2641
|
-
endpoint: string;
|
|
2642
|
-
indexId?: string | undefined;
|
|
2643
|
-
} | undefined;
|
|
2644
|
-
typesense?: {
|
|
2645
|
-
host: string;
|
|
2646
|
-
searchApiKey: string;
|
|
2647
|
-
collection: string;
|
|
2648
|
-
port?: number | undefined;
|
|
2649
|
-
protocol?: "http" | "https" | undefined;
|
|
2650
|
-
} | undefined;
|
|
2651
|
-
};
|
|
2652
|
-
seo: {
|
|
2653
|
-
x: {
|
|
2654
|
-
creator?: string | undefined;
|
|
2655
|
-
handle?: string | undefined;
|
|
2656
|
-
};
|
|
2657
|
-
agentReadability: boolean;
|
|
2658
|
-
contentSignals: {
|
|
2659
|
-
search: boolean;
|
|
2660
|
-
aiInput: boolean;
|
|
2661
|
-
aiTrain: boolean;
|
|
2662
|
-
} | null;
|
|
2663
|
-
og: {
|
|
2664
|
-
enabled?: boolean | undefined;
|
|
2665
|
-
};
|
|
2666
|
-
robots: boolean;
|
|
2667
|
-
rss: {
|
|
2668
|
-
enabled: boolean;
|
|
2669
|
-
limit: number;
|
|
2670
|
-
types: string[];
|
|
2671
|
-
};
|
|
2672
|
-
sitemap: boolean;
|
|
2673
|
-
structuredData: boolean;
|
|
2674
|
-
};
|
|
2675
2725
|
openapi: {
|
|
2676
2726
|
enabled: boolean;
|
|
2677
2727
|
route: string;
|
|
@@ -2686,12 +2736,29 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2686
2736
|
spec?: string | undefined;
|
|
2687
2737
|
theme?: string | undefined;
|
|
2688
2738
|
};
|
|
2739
|
+
asyncapi: {
|
|
2740
|
+
enabled: boolean;
|
|
2741
|
+
route: string;
|
|
2742
|
+
sources: {
|
|
2743
|
+
spec: string;
|
|
2744
|
+
label?: string | undefined;
|
|
2745
|
+
route?: string | undefined;
|
|
2746
|
+
}[];
|
|
2747
|
+
spec?: string | undefined;
|
|
2748
|
+
theme?: string | undefined;
|
|
2749
|
+
};
|
|
2689
2750
|
ai: {
|
|
2690
2751
|
llmsTxt: {
|
|
2691
|
-
enabled: boolean;
|
|
2692
2752
|
openapi: boolean;
|
|
2753
|
+
enabled: boolean;
|
|
2693
2754
|
};
|
|
2694
2755
|
markdownComponents: Record<string, ComponentMarkdown>;
|
|
2756
|
+
mcp: {
|
|
2757
|
+
enabled: boolean;
|
|
2758
|
+
route: string;
|
|
2759
|
+
name?: string | undefined;
|
|
2760
|
+
instructions?: string | undefined;
|
|
2761
|
+
};
|
|
2695
2762
|
ask?: {
|
|
2696
2763
|
enabled: boolean;
|
|
2697
2764
|
model: string;
|
|
@@ -2706,8 +2773,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2706
2773
|
};
|
|
2707
2774
|
content: {
|
|
2708
2775
|
root: string;
|
|
2709
|
-
exclude: string[];
|
|
2710
2776
|
defaultType: string;
|
|
2777
|
+
exclude: string[];
|
|
2711
2778
|
include: string[];
|
|
2712
2779
|
pages: string;
|
|
2713
2780
|
sources?: ({
|
|
@@ -2762,8 +2829,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2762
2829
|
title?: string | undefined;
|
|
2763
2830
|
status?: string | undefined;
|
|
2764
2831
|
description?: string | undefined;
|
|
2765
|
-
order?: string | undefined;
|
|
2766
2832
|
slug?: string | undefined;
|
|
2833
|
+
order?: string | undefined;
|
|
2767
2834
|
} | undefined;
|
|
2768
2835
|
publishedValue?: string | undefined;
|
|
2769
2836
|
} | {
|
|
@@ -2783,29 +2850,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2783
2850
|
};
|
|
2784
2851
|
layout: "sidebar";
|
|
2785
2852
|
mode: "dark" | "light" | "system";
|
|
2786
|
-
radius: "
|
|
2787
|
-
action?: string | undefined;
|
|
2853
|
+
radius: "none" | "sm" | "md" | "lg";
|
|
2788
2854
|
background?: {
|
|
2789
2855
|
dark?: string | undefined;
|
|
2790
2856
|
light?: string | undefined;
|
|
2791
2857
|
} | undefined;
|
|
2858
|
+
action?: string | undefined;
|
|
2792
2859
|
backgroundImage?: {
|
|
2793
2860
|
dark?: string | undefined;
|
|
2794
2861
|
light?: string | undefined;
|
|
2795
2862
|
} | undefined;
|
|
2796
2863
|
};
|
|
2797
|
-
asyncapi: {
|
|
2798
|
-
enabled: boolean;
|
|
2799
|
-
route: string;
|
|
2800
|
-
sources: {
|
|
2801
|
-
spec: string;
|
|
2802
|
-
label?: string | undefined;
|
|
2803
|
-
route?: string | undefined;
|
|
2804
|
-
}[];
|
|
2805
|
-
spec?: string | undefined;
|
|
2806
|
-
theme?: string | undefined;
|
|
2807
|
-
};
|
|
2808
2864
|
basePath: string;
|
|
2865
|
+
lastModified: boolean | {
|
|
2866
|
+
type: "git" | "frontmatter";
|
|
2867
|
+
};
|
|
2809
2868
|
deployment: {
|
|
2810
2869
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2811
2870
|
output: "static" | "server";
|
|
@@ -2835,17 +2894,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2835
2894
|
headingAnchors: boolean;
|
|
2836
2895
|
imageZoom: boolean;
|
|
2837
2896
|
};
|
|
2838
|
-
mcp: {
|
|
2839
|
-
enabled: boolean;
|
|
2840
|
-
route: string;
|
|
2841
|
-
name?: string | undefined;
|
|
2842
|
-
instructions?: string | undefined;
|
|
2843
|
-
};
|
|
2844
2897
|
navigation: {
|
|
2845
|
-
sidebar: {
|
|
2846
|
-
display: "flat" | "page" | "group";
|
|
2847
|
-
items?: SidebarItemConfig[] | undefined;
|
|
2848
|
-
};
|
|
2849
2898
|
repo: boolean;
|
|
2850
2899
|
featured: {
|
|
2851
2900
|
label: string;
|
|
@@ -2857,24 +2906,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2857
2906
|
items: {
|
|
2858
2907
|
path: string;
|
|
2859
2908
|
label: string;
|
|
2860
|
-
description?: string | undefined;
|
|
2861
2909
|
icon?: string | undefined;
|
|
2910
|
+
description?: string | undefined;
|
|
2862
2911
|
tag?: string | undefined;
|
|
2863
2912
|
}[];
|
|
2864
|
-
kind: "
|
|
2913
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
2865
2914
|
}[];
|
|
2866
|
-
|
|
2915
|
+
sidebar: {
|
|
2916
|
+
display: "flat" | "group" | "page";
|
|
2917
|
+
items?: SidebarItemConfig[] | undefined;
|
|
2918
|
+
};
|
|
2919
|
+
tabs: {
|
|
2867
2920
|
path: string;
|
|
2868
2921
|
label: string;
|
|
2869
2922
|
icon?: string | undefined;
|
|
2870
2923
|
items?: {
|
|
2871
2924
|
path: string;
|
|
2872
2925
|
label: string;
|
|
2873
|
-
description?: string | undefined;
|
|
2874
2926
|
icon?: string | undefined;
|
|
2927
|
+
description?: string | undefined;
|
|
2875
2928
|
tag?: string | undefined;
|
|
2876
2929
|
}[] | undefined;
|
|
2877
|
-
}[]
|
|
2930
|
+
}[];
|
|
2878
2931
|
};
|
|
2879
2932
|
react: {
|
|
2880
2933
|
compiler: boolean;
|
|
@@ -2884,12 +2937,68 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2884
2937
|
from: string;
|
|
2885
2938
|
to: string;
|
|
2886
2939
|
}[];
|
|
2940
|
+
search: {
|
|
2941
|
+
provider: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none";
|
|
2942
|
+
indexing: {
|
|
2943
|
+
includeHiddenPages: boolean;
|
|
2944
|
+
};
|
|
2945
|
+
algolia?: {
|
|
2946
|
+
appId: string;
|
|
2947
|
+
indexName: string;
|
|
2948
|
+
searchApiKey: string;
|
|
2949
|
+
} | undefined;
|
|
2950
|
+
mixedbread?: {
|
|
2951
|
+
storeId: string;
|
|
2952
|
+
} | undefined;
|
|
2953
|
+
oramaCloud?: {
|
|
2954
|
+
apiKey: string;
|
|
2955
|
+
endpoint: string;
|
|
2956
|
+
indexId?: string | undefined;
|
|
2957
|
+
} | undefined;
|
|
2958
|
+
typesense?: {
|
|
2959
|
+
host: string;
|
|
2960
|
+
searchApiKey: string;
|
|
2961
|
+
collection: string;
|
|
2962
|
+
port?: number | undefined;
|
|
2963
|
+
protocol?: "http" | "https" | undefined;
|
|
2964
|
+
} | undefined;
|
|
2965
|
+
};
|
|
2966
|
+
seo: {
|
|
2967
|
+
agentReadability: boolean;
|
|
2968
|
+
contentSignals: {
|
|
2969
|
+
search: boolean;
|
|
2970
|
+
aiInput: boolean;
|
|
2971
|
+
aiTrain: boolean;
|
|
2972
|
+
} | null;
|
|
2973
|
+
og: {
|
|
2974
|
+
enabled?: boolean | undefined;
|
|
2975
|
+
logo?: string | undefined;
|
|
2976
|
+
palette?: {
|
|
2977
|
+
accent?: string | undefined;
|
|
2978
|
+
background?: string | undefined;
|
|
2979
|
+
border?: string | undefined;
|
|
2980
|
+
foreground?: string | undefined;
|
|
2981
|
+
muted?: string | undefined;
|
|
2982
|
+
} | undefined;
|
|
2983
|
+
};
|
|
2984
|
+
robots: boolean;
|
|
2985
|
+
rss: {
|
|
2986
|
+
enabled: boolean;
|
|
2987
|
+
limit: number;
|
|
2988
|
+
types: string[];
|
|
2989
|
+
};
|
|
2990
|
+
sitemap: boolean;
|
|
2991
|
+
structuredData: boolean;
|
|
2992
|
+
x: {
|
|
2993
|
+
creator?: string | undefined;
|
|
2994
|
+
handle?: string | undefined;
|
|
2995
|
+
};
|
|
2996
|
+
};
|
|
2887
2997
|
toc: {
|
|
2888
2998
|
enabled: boolean;
|
|
2889
2999
|
maxLevel: number;
|
|
2890
3000
|
minLevel: number;
|
|
2891
3001
|
};
|
|
2892
|
-
description?: string | undefined;
|
|
2893
3002
|
analytics?: {
|
|
2894
3003
|
posthog?: {
|
|
2895
3004
|
key: string;
|
|
@@ -2918,6 +3027,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2918
3027
|
branch: string;
|
|
2919
3028
|
dir?: string | undefined;
|
|
2920
3029
|
} | undefined;
|
|
3030
|
+
description?: string | undefined;
|
|
2921
3031
|
i18n?: {
|
|
2922
3032
|
defaultLocale: string;
|
|
2923
3033
|
hideDefaultLocalePrefix: boolean;
|
|
@@ -2941,59 +3051,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2941
3051
|
} | undefined;
|
|
2942
3052
|
}, {
|
|
2943
3053
|
title?: string | undefined;
|
|
2944
|
-
description?: string | undefined;
|
|
2945
|
-
lastModified?: boolean | {
|
|
2946
|
-
type?: "git" | "frontmatter" | undefined;
|
|
2947
|
-
} | undefined;
|
|
2948
|
-
search?: {
|
|
2949
|
-
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2950
|
-
algolia?: {
|
|
2951
|
-
appId: string;
|
|
2952
|
-
indexName: string;
|
|
2953
|
-
searchApiKey: string;
|
|
2954
|
-
} | undefined;
|
|
2955
|
-
indexing?: {
|
|
2956
|
-
includeHiddenPages?: boolean | undefined;
|
|
2957
|
-
} | undefined;
|
|
2958
|
-
mixedbread?: {
|
|
2959
|
-
storeId: string;
|
|
2960
|
-
} | undefined;
|
|
2961
|
-
oramaCloud?: {
|
|
2962
|
-
apiKey: string;
|
|
2963
|
-
endpoint: string;
|
|
2964
|
-
indexId?: string | undefined;
|
|
2965
|
-
} | undefined;
|
|
2966
|
-
typesense?: {
|
|
2967
|
-
host: string;
|
|
2968
|
-
searchApiKey: string;
|
|
2969
|
-
collection: string;
|
|
2970
|
-
port?: number | undefined;
|
|
2971
|
-
protocol?: "http" | "https" | undefined;
|
|
2972
|
-
} | undefined;
|
|
2973
|
-
} | undefined;
|
|
2974
|
-
seo?: {
|
|
2975
|
-
x?: {
|
|
2976
|
-
creator?: string | undefined;
|
|
2977
|
-
handle?: string | undefined;
|
|
2978
|
-
} | undefined;
|
|
2979
|
-
agentReadability?: boolean | undefined;
|
|
2980
|
-
contentSignals?: boolean | {
|
|
2981
|
-
search?: boolean | undefined;
|
|
2982
|
-
aiInput?: boolean | undefined;
|
|
2983
|
-
aiTrain?: boolean | undefined;
|
|
2984
|
-
} | undefined;
|
|
2985
|
-
og?: {
|
|
2986
|
-
enabled?: boolean | undefined;
|
|
2987
|
-
} | undefined;
|
|
2988
|
-
robots?: boolean | undefined;
|
|
2989
|
-
rss?: {
|
|
2990
|
-
enabled?: boolean | undefined;
|
|
2991
|
-
limit?: number | undefined;
|
|
2992
|
-
types?: string[] | undefined;
|
|
2993
|
-
} | undefined;
|
|
2994
|
-
sitemap?: boolean | undefined;
|
|
2995
|
-
structuredData?: boolean | undefined;
|
|
2996
|
-
} | undefined;
|
|
2997
3054
|
openapi?: {
|
|
2998
3055
|
enabled?: boolean | undefined;
|
|
2999
3056
|
route?: string | undefined;
|
|
@@ -3008,6 +3065,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3008
3065
|
expandSchemas?: boolean | undefined;
|
|
3009
3066
|
renderer?: "blume" | "scalar" | undefined;
|
|
3010
3067
|
} | undefined;
|
|
3068
|
+
asyncapi?: {
|
|
3069
|
+
enabled?: boolean | undefined;
|
|
3070
|
+
route?: string | undefined;
|
|
3071
|
+
spec?: string | undefined;
|
|
3072
|
+
sources?: {
|
|
3073
|
+
spec: string;
|
|
3074
|
+
label?: string | undefined;
|
|
3075
|
+
route?: string | undefined;
|
|
3076
|
+
}[] | undefined;
|
|
3077
|
+
theme?: string | undefined;
|
|
3078
|
+
} | undefined;
|
|
3011
3079
|
ai?: {
|
|
3012
3080
|
ask?: {
|
|
3013
3081
|
apiKeyEnv?: string | undefined;
|
|
@@ -3021,14 +3089,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3021
3089
|
}[] | undefined;
|
|
3022
3090
|
} | undefined;
|
|
3023
3091
|
llmsTxt?: boolean | {
|
|
3024
|
-
enabled?: boolean | undefined;
|
|
3025
3092
|
openapi?: boolean | undefined;
|
|
3093
|
+
enabled?: boolean | undefined;
|
|
3026
3094
|
} | undefined;
|
|
3027
3095
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
3096
|
+
mcp?: {
|
|
3097
|
+
name?: string | undefined;
|
|
3098
|
+
enabled?: boolean | undefined;
|
|
3099
|
+
instructions?: string | undefined;
|
|
3100
|
+
route?: string | undefined;
|
|
3101
|
+
} | undefined;
|
|
3028
3102
|
} | undefined;
|
|
3029
3103
|
content?: {
|
|
3030
3104
|
root?: string | undefined;
|
|
3031
|
-
exclude?: string[] | undefined;
|
|
3032
3105
|
sources?: ({
|
|
3033
3106
|
type: "filesystem";
|
|
3034
3107
|
root?: string | undefined;
|
|
@@ -3081,8 +3154,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3081
3154
|
title?: string | undefined;
|
|
3082
3155
|
status?: string | undefined;
|
|
3083
3156
|
description?: string | undefined;
|
|
3084
|
-
order?: string | undefined;
|
|
3085
3157
|
slug?: string | undefined;
|
|
3158
|
+
order?: string | undefined;
|
|
3086
3159
|
} | undefined;
|
|
3087
3160
|
publishedValue?: string | undefined;
|
|
3088
3161
|
} | {
|
|
@@ -3090,6 +3163,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3090
3163
|
source: ContentSource;
|
|
3091
3164
|
})[] | undefined;
|
|
3092
3165
|
defaultType?: string | undefined;
|
|
3166
|
+
exclude?: string[] | undefined;
|
|
3093
3167
|
include?: string[] | undefined;
|
|
3094
3168
|
pages?: string | undefined;
|
|
3095
3169
|
} | undefined;
|
|
@@ -3111,11 +3185,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3111
3185
|
dark: string;
|
|
3112
3186
|
light: string;
|
|
3113
3187
|
} | undefined;
|
|
3114
|
-
action?: string | undefined;
|
|
3115
3188
|
background?: string | {
|
|
3116
3189
|
dark?: string | undefined;
|
|
3117
3190
|
light?: string | undefined;
|
|
3118
3191
|
} | undefined;
|
|
3192
|
+
action?: string | undefined;
|
|
3119
3193
|
backgroundImage?: string | {
|
|
3120
3194
|
dark?: string | undefined;
|
|
3121
3195
|
light?: string | undefined;
|
|
@@ -3127,18 +3201,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3127
3201
|
} | undefined;
|
|
3128
3202
|
layout?: "sidebar" | undefined;
|
|
3129
3203
|
mode?: "dark" | "light" | "system" | undefined;
|
|
3130
|
-
radius?: "
|
|
3131
|
-
} | undefined;
|
|
3132
|
-
asyncapi?: {
|
|
3133
|
-
enabled?: boolean | undefined;
|
|
3134
|
-
route?: string | undefined;
|
|
3135
|
-
spec?: string | undefined;
|
|
3136
|
-
sources?: {
|
|
3137
|
-
spec: string;
|
|
3138
|
-
label?: string | undefined;
|
|
3139
|
-
route?: string | undefined;
|
|
3140
|
-
}[] | undefined;
|
|
3141
|
-
theme?: string | undefined;
|
|
3204
|
+
radius?: "none" | "sm" | "md" | "lg" | undefined;
|
|
3142
3205
|
} | undefined;
|
|
3143
3206
|
banner?: string | {
|
|
3144
3207
|
content: string;
|
|
@@ -3156,6 +3219,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3156
3219
|
branch?: string | undefined;
|
|
3157
3220
|
dir?: string | undefined;
|
|
3158
3221
|
} | undefined;
|
|
3222
|
+
description?: string | undefined;
|
|
3223
|
+
lastModified?: boolean | {
|
|
3224
|
+
type?: "git" | "frontmatter" | undefined;
|
|
3225
|
+
} | undefined;
|
|
3159
3226
|
deployment?: {
|
|
3160
3227
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
3161
3228
|
base?: string | undefined;
|
|
@@ -3206,17 +3273,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3206
3273
|
headingAnchors?: boolean | undefined;
|
|
3207
3274
|
imageZoom?: boolean | undefined;
|
|
3208
3275
|
} | undefined;
|
|
3209
|
-
mcp?: {
|
|
3210
|
-
name?: string | undefined;
|
|
3211
|
-
enabled?: boolean | undefined;
|
|
3212
|
-
route?: string | undefined;
|
|
3213
|
-
instructions?: string | undefined;
|
|
3214
|
-
} | undefined;
|
|
3215
3276
|
navigation?: {
|
|
3216
|
-
sidebar?: SidebarItemConfig[] | {
|
|
3217
|
-
display?: "flat" | "page" | "group" | undefined;
|
|
3218
|
-
items?: SidebarItemConfig[] | undefined;
|
|
3219
|
-
} | undefined;
|
|
3220
3277
|
repo?: boolean | undefined;
|
|
3221
3278
|
featured?: {
|
|
3222
3279
|
label: string;
|
|
@@ -3225,15 +3282,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3225
3282
|
}[] | undefined;
|
|
3226
3283
|
selectors?: {
|
|
3227
3284
|
label: string;
|
|
3228
|
-
kind: "
|
|
3285
|
+
kind: "dropdown" | "language" | "product" | "version";
|
|
3229
3286
|
items?: {
|
|
3230
3287
|
path: string;
|
|
3231
3288
|
label: string;
|
|
3232
|
-
description?: string | undefined;
|
|
3233
3289
|
icon?: string | undefined;
|
|
3290
|
+
description?: string | undefined;
|
|
3234
3291
|
tag?: string | undefined;
|
|
3235
3292
|
}[] | undefined;
|
|
3236
3293
|
}[] | undefined;
|
|
3294
|
+
sidebar?: SidebarItemConfig[] | {
|
|
3295
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
3296
|
+
items?: SidebarItemConfig[] | undefined;
|
|
3297
|
+
} | undefined;
|
|
3237
3298
|
tabs?: {
|
|
3238
3299
|
path: string;
|
|
3239
3300
|
label: string;
|
|
@@ -3241,8 +3302,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3241
3302
|
items?: {
|
|
3242
3303
|
path: string;
|
|
3243
3304
|
label: string;
|
|
3244
|
-
description?: string | undefined;
|
|
3245
3305
|
icon?: string | undefined;
|
|
3306
|
+
description?: string | undefined;
|
|
3246
3307
|
tag?: string | undefined;
|
|
3247
3308
|
}[] | undefined;
|
|
3248
3309
|
}[] | undefined;
|
|
@@ -3255,6 +3316,63 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3255
3316
|
to: string;
|
|
3256
3317
|
status?: 301 | 302 | 307 | 308 | undefined;
|
|
3257
3318
|
}[] | undefined;
|
|
3319
|
+
search?: {
|
|
3320
|
+
provider?: "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | "none" | undefined;
|
|
3321
|
+
algolia?: {
|
|
3322
|
+
appId: string;
|
|
3323
|
+
indexName: string;
|
|
3324
|
+
searchApiKey: string;
|
|
3325
|
+
} | undefined;
|
|
3326
|
+
indexing?: {
|
|
3327
|
+
includeHiddenPages?: boolean | undefined;
|
|
3328
|
+
} | undefined;
|
|
3329
|
+
mixedbread?: {
|
|
3330
|
+
storeId: string;
|
|
3331
|
+
} | undefined;
|
|
3332
|
+
oramaCloud?: {
|
|
3333
|
+
apiKey: string;
|
|
3334
|
+
endpoint: string;
|
|
3335
|
+
indexId?: string | undefined;
|
|
3336
|
+
} | undefined;
|
|
3337
|
+
typesense?: {
|
|
3338
|
+
host: string;
|
|
3339
|
+
searchApiKey: string;
|
|
3340
|
+
collection: string;
|
|
3341
|
+
port?: number | undefined;
|
|
3342
|
+
protocol?: "http" | "https" | undefined;
|
|
3343
|
+
} | undefined;
|
|
3344
|
+
} | undefined;
|
|
3345
|
+
seo?: {
|
|
3346
|
+
agentReadability?: boolean | undefined;
|
|
3347
|
+
contentSignals?: boolean | {
|
|
3348
|
+
search?: boolean | undefined;
|
|
3349
|
+
aiInput?: boolean | undefined;
|
|
3350
|
+
aiTrain?: boolean | undefined;
|
|
3351
|
+
} | undefined;
|
|
3352
|
+
og?: {
|
|
3353
|
+
enabled?: boolean | undefined;
|
|
3354
|
+
logo?: string | undefined;
|
|
3355
|
+
palette?: {
|
|
3356
|
+
accent?: string | undefined;
|
|
3357
|
+
background?: string | undefined;
|
|
3358
|
+
border?: string | undefined;
|
|
3359
|
+
foreground?: string | undefined;
|
|
3360
|
+
muted?: string | undefined;
|
|
3361
|
+
} | undefined;
|
|
3362
|
+
} | undefined;
|
|
3363
|
+
robots?: boolean | undefined;
|
|
3364
|
+
rss?: {
|
|
3365
|
+
enabled?: boolean | undefined;
|
|
3366
|
+
limit?: number | undefined;
|
|
3367
|
+
types?: string[] | undefined;
|
|
3368
|
+
} | undefined;
|
|
3369
|
+
sitemap?: boolean | undefined;
|
|
3370
|
+
structuredData?: boolean | undefined;
|
|
3371
|
+
x?: {
|
|
3372
|
+
creator?: string | undefined;
|
|
3373
|
+
handle?: string | undefined;
|
|
3374
|
+
} | undefined;
|
|
3375
|
+
} | undefined;
|
|
3258
3376
|
toc?: boolean | {
|
|
3259
3377
|
maxHeadingLevel?: number | undefined;
|
|
3260
3378
|
minHeadingLevel?: number | undefined;
|