blume 0.7.0 → 0.8.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/CHANGELOG.md +618 -0
- package/LICENSE +21 -0
- package/README.md +107 -0
- package/dist/cli/index.js +1487 -360
- package/dist/cli/index.js.map +91 -85
- package/dist/types/ai/component-markdown.d.ts +34 -0
- package/dist/types/components/content/youtube.d.ts +18 -0
- package/dist/types/core/base-path.d.ts +9 -0
- package/dist/types/core/config-input.d.ts +36 -2
- package/dist/types/core/config.d.ts +3 -2
- package/dist/types/core/data.d.ts +2 -0
- package/dist/types/core/i18n-ui.d.ts +476 -132
- package/dist/types/core/schema.d.ts +216 -145
- package/dist/types/index.d.ts +1 -0
- package/dist/types/openapi/references.d.ts +60 -0
- package/docs/01-quickstart.mdx +5 -2
- package/docs/02-deployment.mdx +8 -8
- package/docs/03-faq.mdx +46 -16
- package/docs/advanced/custom-pages.mdx +1 -1
- package/docs/advanced/skills.mdx +1 -1
- package/docs/configuration/ai.mdx +49 -10
- package/docs/configuration/customization.mdx +11 -0
- package/docs/configuration/index.mdx +27 -3
- package/docs/configuration/seo.mdx +2 -2
- package/docs/content/components.mdx +1 -1
- package/docs/content/i18n.mdx +1 -1
- package/docs/content/navigation.mdx +3 -3
- package/docs/content/sources.mdx +1 -1
- package/docs/content/syntax.mdx +4 -2
- package/docs/index.mdx +2 -2
- package/docs/reference/cli.mdx +8 -6
- package/package.json +14 -4
- package/skills/blume/SKILL.md +5 -3
- package/skills/blume-update-docs/SKILL.md +3 -2
- package/src/ai/agent-readability.ts +9 -8
- package/src/ai/ask-context.ts +7 -2
- package/src/ai/ask-data.ts +3 -0
- package/src/ai/component-markdown.ts +461 -0
- package/src/ai/llms.ts +135 -26
- package/src/ai/markdown.ts +35 -6
- package/src/ai/mcp/data.ts +25 -4
- package/src/ai/mcp/discovery.ts +10 -3
- package/src/ai/mcp/server.ts +21 -7
- package/src/ai/visibility.ts +74 -0
- package/src/astro/component-slots.ts +11 -1
- package/src/astro/generate.ts +76 -45
- package/src/astro/integration.ts +1 -1
- package/src/astro/markdown-negotiation.ts +1 -1
- package/src/astro/pages.ts +81 -19
- package/src/astro/templates.ts +99 -12
- package/src/blume-modules.d.ts +8 -0
- package/src/cli/commands/build.ts +99 -19
- package/src/cli/commands/check.ts +1 -1
- package/src/cli/commands/dev.ts +26 -5
- package/src/cli/commands/eject.ts +47 -19
- package/src/cli/commands/init.ts +120 -180
- package/src/cli/commands/preview.ts +4 -1
- package/src/cli/commands/validate.ts +43 -2
- package/src/cli/dev-lock.ts +8 -4
- package/src/cli/eject-scripts.ts +72 -0
- package/src/cli/env.ts +15 -5
- package/src/cli/init/questions.ts +158 -0
- package/src/cli/init/scaffold.ts +380 -0
- package/src/components/content/AccordionItem.astro +23 -4
- package/src/components/content/Badge.astro +3 -1
- package/src/components/content/Card.astro +4 -2
- package/src/components/content/Step.astro +10 -1
- package/src/components/content/Tabs.astro +15 -3
- package/src/components/content/Tile.astro +2 -1
- package/src/components/content/Tooltip.astro +3 -1
- package/src/components/content/Update.astro +9 -2
- package/src/components/content/auto-type-table.ts +7 -1
- package/src/components/content/base-href.ts +33 -0
- package/src/components/content/changelog-element.ts +9 -2
- package/src/components/content/mermaid-element.ts +7 -2
- package/src/components/islands/AskAI.astro +5 -2
- package/src/components/islands/ask-ai.tsx +56 -6
- package/src/components/islands/hooks.ts +28 -8
- package/src/components/layout/Banner.astro +10 -2
- package/src/components/layout/Header.astro +13 -4
- package/src/components/layout/Logo.astro +11 -3
- package/src/components/layout/NavTree.astro +17 -3
- package/src/components/layout/PageActions.astro +25 -10
- package/src/components/layout/PageLayout.astro +45 -8
- package/src/components/layout/ReferenceLayout.astro +8 -1
- package/src/components/layout/RootLayout.astro +67 -9
- package/src/components/layout/Search.astro +94 -22
- package/src/components/layout/search/algolia.ts +11 -2
- package/src/components/layout/search/endpoint.ts +11 -5
- package/src/components/layout/search/orama-cloud.ts +8 -2
- package/src/components/layout/search/types.ts +5 -1
- package/src/components/layout/search/typesense.ts +4 -1
- package/src/components/layout/toc-element.ts +1 -1
- package/src/components/openapi/ApiTagOperations.astro +2 -1
- package/src/components/openapi/Operation.astro +47 -40
- package/src/components/openapi/RequestPanel.astro +1 -1
- package/src/components/openapi/helpers.ts +71 -3
- package/src/components/openapi/panel.ts +1 -1
- package/src/core/base-path.ts +24 -0
- package/src/core/builtin-tags.ts +2 -0
- package/src/core/config-input.ts +37 -2
- package/src/core/config.ts +3 -2
- package/src/core/data.ts +2 -0
- package/src/core/graph.ts +15 -5
- package/src/core/i18n-ui.ts +45 -0
- package/src/core/last-modified.ts +13 -6
- package/src/core/links.ts +32 -8
- package/src/core/navigation.ts +29 -4
- package/src/core/package-json.ts +17 -2
- package/src/core/project-graph.ts +15 -6
- package/src/core/schema.ts +36 -2
- package/src/core/sources/assets.ts +6 -1
- package/src/core/sources/filesystem.ts +4 -0
- package/src/core/sources/mdx-remote.ts +23 -14
- package/src/core/sources/normalize.ts +152 -50
- package/src/core/sources/notion.ts +8 -8
- package/src/core/ui-packs/ar.ts +1 -0
- package/src/core/ui-packs/bg.ts +1 -0
- package/src/core/ui-packs/bn.ts +1 -0
- package/src/core/ui-packs/ca.ts +1 -0
- package/src/core/ui-packs/cs.ts +1 -0
- package/src/core/ui-packs/da.ts +1 -0
- package/src/core/ui-packs/de.ts +1 -0
- package/src/core/ui-packs/el.ts +1 -0
- package/src/core/ui-packs/es.ts +1 -0
- package/src/core/ui-packs/fa.ts +1 -0
- package/src/core/ui-packs/fi.ts +1 -0
- package/src/core/ui-packs/fr.ts +2 -1
- package/src/core/ui-packs/he.ts +1 -0
- package/src/core/ui-packs/hi.ts +1 -0
- package/src/core/ui-packs/hr.ts +1 -0
- package/src/core/ui-packs/hu.ts +1 -0
- package/src/core/ui-packs/id.ts +1 -0
- package/src/core/ui-packs/it.ts +1 -0
- package/src/core/ui-packs/ja.ts +1 -0
- package/src/core/ui-packs/ko.ts +1 -0
- package/src/core/ui-packs/nl.ts +1 -0
- package/src/core/ui-packs/no.ts +1 -0
- package/src/core/ui-packs/pl.ts +1 -0
- package/src/core/ui-packs/pt-br.ts +1 -0
- package/src/core/ui-packs/pt.ts +1 -0
- package/src/core/ui-packs/ro.ts +1 -0
- package/src/core/ui-packs/ru.ts +1 -0
- package/src/core/ui-packs/sk.ts +1 -0
- package/src/core/ui-packs/sr.ts +1 -0
- package/src/core/ui-packs/sv.ts +1 -0
- package/src/core/ui-packs/th.ts +1 -0
- package/src/core/ui-packs/tr.ts +1 -0
- package/src/core/ui-packs/uk.ts +1 -0
- package/src/core/ui-packs/vi.ts +1 -0
- package/src/core/ui-packs/zh-tw.ts +1 -0
- package/src/core/ui-packs/zh.ts +1 -0
- package/src/deploy/adapter-output.ts +18 -8
- package/src/deploy/redirects.ts +7 -2
- package/src/deploy/sitemap.ts +53 -11
- package/src/index.ts +5 -0
- package/src/markdown/base-links.ts +10 -8
- package/src/markdown/index.ts +15 -3
- package/src/markdown/inline-code.ts +7 -2
- package/src/markdown/package-commands.ts +10 -4
- package/src/openapi/model.ts +12 -4
- package/src/openapi/parse.ts +21 -0
- package/src/openapi/references.ts +38 -8
- package/src/openapi/source.ts +59 -10
- package/src/registry/eject.ts +184 -12
- package/src/registry/registry.ts +0 -3
- package/src/search/documents.ts +34 -2
- package/src/seo/jsonld.ts +13 -12
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { ComponentMarkdown } from "../ai/component-markdown.ts";
|
|
2
3
|
import type { ContentSource } from "./sources/types.ts";
|
|
3
4
|
declare const hydrationMode: z.ZodEnum<["load", "idle", "visible", "media", "only"]>;
|
|
4
5
|
export type HydrationMode = z.infer<typeof hydrationMode>;
|
|
@@ -81,13 +82,13 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
81
82
|
}, "strict", z.ZodTypeAny, {
|
|
82
83
|
noindex: boolean;
|
|
83
84
|
title?: string | undefined;
|
|
84
|
-
description?: string | undefined;
|
|
85
85
|
image?: string | undefined;
|
|
86
|
+
description?: string | undefined;
|
|
86
87
|
canonical?: string | undefined;
|
|
87
88
|
}, {
|
|
88
89
|
title?: string | undefined;
|
|
89
|
-
description?: string | undefined;
|
|
90
90
|
image?: string | undefined;
|
|
91
|
+
description?: string | undefined;
|
|
91
92
|
noindex?: boolean | undefined;
|
|
92
93
|
canonical?: string | undefined;
|
|
93
94
|
}>>;
|
|
@@ -99,48 +100,47 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
99
100
|
order: z.ZodOptional<z.ZodNumber>;
|
|
100
101
|
}, "strict", z.ZodTypeAny, {
|
|
101
102
|
hidden: boolean;
|
|
102
|
-
label?: string | undefined;
|
|
103
103
|
icon?: string | undefined;
|
|
104
104
|
badge?: string | undefined;
|
|
105
|
+
label?: string | undefined;
|
|
105
106
|
order?: number | undefined;
|
|
106
107
|
}, {
|
|
107
|
-
label?: string | undefined;
|
|
108
108
|
hidden?: boolean | undefined;
|
|
109
109
|
icon?: string | undefined;
|
|
110
110
|
badge?: string | undefined;
|
|
111
|
+
label?: string | undefined;
|
|
111
112
|
order?: number | undefined;
|
|
112
113
|
}>>;
|
|
113
114
|
slug: z.ZodOptional<z.ZodString>;
|
|
114
115
|
title: z.ZodOptional<z.ZodString>;
|
|
115
116
|
type: z.ZodOptional<z.ZodString>;
|
|
116
117
|
}, "strict", z.ZodTypeAny, {
|
|
118
|
+
deprecated: boolean;
|
|
119
|
+
draft: boolean;
|
|
120
|
+
hidden: boolean;
|
|
121
|
+
noindex: boolean;
|
|
117
122
|
search: {
|
|
118
123
|
exclude: boolean;
|
|
119
124
|
boost?: number | undefined;
|
|
120
125
|
tags?: string[] | undefined;
|
|
121
126
|
};
|
|
122
|
-
deprecated: boolean;
|
|
123
|
-
draft: boolean;
|
|
124
|
-
hidden: boolean;
|
|
125
|
-
noindex: boolean;
|
|
126
127
|
seo: {
|
|
127
128
|
noindex: boolean;
|
|
128
129
|
title?: string | undefined;
|
|
129
|
-
description?: string | undefined;
|
|
130
130
|
image?: string | undefined;
|
|
131
|
+
description?: string | undefined;
|
|
131
132
|
canonical?: string | undefined;
|
|
132
133
|
};
|
|
133
134
|
sidebar: {
|
|
134
135
|
hidden: boolean;
|
|
135
|
-
label?: string | undefined;
|
|
136
136
|
icon?: string | undefined;
|
|
137
137
|
badge?: string | undefined;
|
|
138
|
+
label?: string | undefined;
|
|
138
139
|
order?: number | undefined;
|
|
139
140
|
};
|
|
140
141
|
type?: string | undefined;
|
|
141
|
-
date?: string | undefined;
|
|
142
142
|
title?: string | undefined;
|
|
143
|
-
|
|
143
|
+
date?: string | undefined;
|
|
144
144
|
authors?: string | z.objectOutputType<{
|
|
145
145
|
avatar: z.ZodOptional<z.ZodString>;
|
|
146
146
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -157,19 +157,14 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
157
157
|
category?: string | undefined;
|
|
158
158
|
version?: string | undefined;
|
|
159
159
|
} | undefined;
|
|
160
|
+
description?: string | undefined;
|
|
160
161
|
icon?: string | undefined;
|
|
161
162
|
lastModified?: string | undefined;
|
|
162
163
|
slug?: string | undefined;
|
|
163
164
|
}, {
|
|
164
165
|
type?: string | undefined;
|
|
165
|
-
date?: string | Date | undefined;
|
|
166
166
|
title?: string | undefined;
|
|
167
|
-
|
|
168
|
-
boost?: number | undefined;
|
|
169
|
-
exclude?: boolean | undefined;
|
|
170
|
-
tags?: string[] | undefined;
|
|
171
|
-
} | undefined;
|
|
172
|
-
description?: string | undefined;
|
|
167
|
+
date?: string | Date | undefined;
|
|
173
168
|
authors?: string | z.objectInputType<{
|
|
174
169
|
avatar: z.ZodOptional<z.ZodString>;
|
|
175
170
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -187,23 +182,29 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
187
182
|
version?: string | undefined;
|
|
188
183
|
} | undefined;
|
|
189
184
|
deprecated?: boolean | undefined;
|
|
185
|
+
description?: string | undefined;
|
|
190
186
|
draft?: boolean | undefined;
|
|
191
187
|
hidden?: boolean | undefined;
|
|
192
188
|
icon?: string | undefined;
|
|
193
189
|
lastModified?: string | Date | undefined;
|
|
194
190
|
noindex?: boolean | undefined;
|
|
191
|
+
search?: {
|
|
192
|
+
boost?: number | undefined;
|
|
193
|
+
exclude?: boolean | undefined;
|
|
194
|
+
tags?: string[] | undefined;
|
|
195
|
+
} | undefined;
|
|
195
196
|
seo?: {
|
|
196
197
|
title?: string | undefined;
|
|
197
|
-
description?: string | undefined;
|
|
198
198
|
image?: string | undefined;
|
|
199
|
+
description?: string | undefined;
|
|
199
200
|
noindex?: boolean | undefined;
|
|
200
201
|
canonical?: string | undefined;
|
|
201
202
|
} | undefined;
|
|
202
203
|
sidebar?: {
|
|
203
|
-
label?: string | undefined;
|
|
204
204
|
hidden?: boolean | undefined;
|
|
205
205
|
icon?: string | undefined;
|
|
206
206
|
badge?: string | undefined;
|
|
207
|
+
label?: string | undefined;
|
|
207
208
|
order?: number | undefined;
|
|
208
209
|
} | undefined;
|
|
209
210
|
slug?: string | undefined;
|
|
@@ -286,13 +287,13 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
286
287
|
}, "strict", z.ZodTypeAny, {
|
|
287
288
|
noindex: boolean;
|
|
288
289
|
title?: string | undefined;
|
|
289
|
-
description?: string | undefined;
|
|
290
290
|
image?: string | undefined;
|
|
291
|
+
description?: string | undefined;
|
|
291
292
|
canonical?: string | undefined;
|
|
292
293
|
}, {
|
|
293
294
|
title?: string | undefined;
|
|
294
|
-
description?: string | undefined;
|
|
295
295
|
image?: string | undefined;
|
|
296
|
+
description?: string | undefined;
|
|
296
297
|
noindex?: boolean | undefined;
|
|
297
298
|
canonical?: string | undefined;
|
|
298
299
|
}>>;
|
|
@@ -304,48 +305,47 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
304
305
|
order: z.ZodOptional<z.ZodNumber>;
|
|
305
306
|
}, "strict", z.ZodTypeAny, {
|
|
306
307
|
hidden: boolean;
|
|
307
|
-
label?: string | undefined;
|
|
308
308
|
icon?: string | undefined;
|
|
309
309
|
badge?: string | undefined;
|
|
310
|
+
label?: string | undefined;
|
|
310
311
|
order?: number | undefined;
|
|
311
312
|
}, {
|
|
312
|
-
label?: string | undefined;
|
|
313
313
|
hidden?: boolean | undefined;
|
|
314
314
|
icon?: string | undefined;
|
|
315
315
|
badge?: string | undefined;
|
|
316
|
+
label?: string | undefined;
|
|
316
317
|
order?: number | undefined;
|
|
317
318
|
}>>;
|
|
318
319
|
slug: z.ZodOptional<z.ZodString>;
|
|
319
320
|
title: z.ZodOptional<z.ZodString>;
|
|
320
321
|
type: z.ZodOptional<z.ZodString>;
|
|
321
322
|
}, "strict", z.ZodTypeAny, {
|
|
323
|
+
deprecated: boolean;
|
|
324
|
+
draft: boolean;
|
|
325
|
+
hidden: boolean;
|
|
326
|
+
noindex: boolean;
|
|
322
327
|
search: {
|
|
323
328
|
exclude: boolean;
|
|
324
329
|
boost?: number | undefined;
|
|
325
330
|
tags?: string[] | undefined;
|
|
326
331
|
};
|
|
327
|
-
deprecated: boolean;
|
|
328
|
-
draft: boolean;
|
|
329
|
-
hidden: boolean;
|
|
330
|
-
noindex: boolean;
|
|
331
332
|
seo: {
|
|
332
333
|
noindex: boolean;
|
|
333
334
|
title?: string | undefined;
|
|
334
|
-
description?: string | undefined;
|
|
335
335
|
image?: string | undefined;
|
|
336
|
+
description?: string | undefined;
|
|
336
337
|
canonical?: string | undefined;
|
|
337
338
|
};
|
|
338
339
|
sidebar: {
|
|
339
340
|
hidden: boolean;
|
|
340
|
-
label?: string | undefined;
|
|
341
341
|
icon?: string | undefined;
|
|
342
342
|
badge?: string | undefined;
|
|
343
|
+
label?: string | undefined;
|
|
343
344
|
order?: number | undefined;
|
|
344
345
|
};
|
|
345
346
|
type?: string | undefined;
|
|
346
|
-
date?: string | undefined;
|
|
347
347
|
title?: string | undefined;
|
|
348
|
-
|
|
348
|
+
date?: string | undefined;
|
|
349
349
|
authors?: string | z.objectOutputType<{
|
|
350
350
|
avatar: z.ZodOptional<z.ZodString>;
|
|
351
351
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -362,19 +362,14 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
362
362
|
category?: string | undefined;
|
|
363
363
|
version?: string | undefined;
|
|
364
364
|
} | undefined;
|
|
365
|
+
description?: string | undefined;
|
|
365
366
|
icon?: string | undefined;
|
|
366
367
|
lastModified?: string | undefined;
|
|
367
368
|
slug?: string | undefined;
|
|
368
369
|
}, {
|
|
369
370
|
type?: string | undefined;
|
|
370
|
-
date?: string | Date | undefined;
|
|
371
371
|
title?: string | undefined;
|
|
372
|
-
|
|
373
|
-
boost?: number | undefined;
|
|
374
|
-
exclude?: boolean | undefined;
|
|
375
|
-
tags?: string[] | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
description?: string | undefined;
|
|
372
|
+
date?: string | Date | undefined;
|
|
378
373
|
authors?: string | z.objectInputType<{
|
|
379
374
|
avatar: z.ZodOptional<z.ZodString>;
|
|
380
375
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -392,23 +387,29 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
392
387
|
version?: string | undefined;
|
|
393
388
|
} | undefined;
|
|
394
389
|
deprecated?: boolean | undefined;
|
|
390
|
+
description?: string | undefined;
|
|
395
391
|
draft?: boolean | undefined;
|
|
396
392
|
hidden?: boolean | undefined;
|
|
397
393
|
icon?: string | undefined;
|
|
398
394
|
lastModified?: string | Date | undefined;
|
|
399
395
|
noindex?: boolean | undefined;
|
|
396
|
+
search?: {
|
|
397
|
+
boost?: number | undefined;
|
|
398
|
+
exclude?: boolean | undefined;
|
|
399
|
+
tags?: string[] | undefined;
|
|
400
|
+
} | undefined;
|
|
400
401
|
seo?: {
|
|
401
402
|
title?: string | undefined;
|
|
402
|
-
description?: string | undefined;
|
|
403
403
|
image?: string | undefined;
|
|
404
|
+
description?: string | undefined;
|
|
404
405
|
noindex?: boolean | undefined;
|
|
405
406
|
canonical?: string | undefined;
|
|
406
407
|
} | undefined;
|
|
407
408
|
sidebar?: {
|
|
408
|
-
label?: string | undefined;
|
|
409
409
|
hidden?: boolean | undefined;
|
|
410
410
|
icon?: string | undefined;
|
|
411
411
|
badge?: string | undefined;
|
|
412
|
+
label?: string | undefined;
|
|
412
413
|
order?: number | undefined;
|
|
413
414
|
} | undefined;
|
|
414
415
|
slug?: string | undefined;
|
|
@@ -455,15 +456,15 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
455
456
|
type: z.ZodLiteral<"filesystem">;
|
|
456
457
|
}, "strict", z.ZodTypeAny, {
|
|
457
458
|
type: "filesystem";
|
|
459
|
+
root: string;
|
|
458
460
|
exclude: string[];
|
|
459
461
|
include: string[];
|
|
460
|
-
root: string;
|
|
461
462
|
prefix?: string | undefined;
|
|
462
463
|
}, {
|
|
463
464
|
type: "filesystem";
|
|
465
|
+
root?: string | undefined;
|
|
464
466
|
exclude?: string[] | undefined;
|
|
465
467
|
include?: string[] | undefined;
|
|
466
|
-
root?: string | undefined;
|
|
467
468
|
prefix?: string | undefined;
|
|
468
469
|
}>, z.ZodObject<{
|
|
469
470
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -566,14 +567,14 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
566
567
|
slug: z.ZodOptional<z.ZodString>;
|
|
567
568
|
title: z.ZodOptional<z.ZodString>;
|
|
568
569
|
}, "strict", z.ZodTypeAny, {
|
|
569
|
-
body?: string | undefined;
|
|
570
570
|
title?: string | undefined;
|
|
571
|
+
body?: string | undefined;
|
|
571
572
|
description?: string | undefined;
|
|
572
573
|
lastModified?: string | undefined;
|
|
573
574
|
slug?: string | undefined;
|
|
574
575
|
}, {
|
|
575
|
-
body?: string | undefined;
|
|
576
576
|
title?: string | undefined;
|
|
577
|
+
body?: string | undefined;
|
|
577
578
|
description?: string | undefined;
|
|
578
579
|
lastModified?: string | undefined;
|
|
579
580
|
slug?: string | undefined;
|
|
@@ -594,8 +595,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
594
595
|
pollInterval?: number | undefined;
|
|
595
596
|
apiVersion?: string | undefined;
|
|
596
597
|
fields?: {
|
|
597
|
-
body?: string | undefined;
|
|
598
598
|
title?: string | undefined;
|
|
599
|
+
body?: string | undefined;
|
|
599
600
|
description?: string | undefined;
|
|
600
601
|
lastModified?: string | undefined;
|
|
601
602
|
slug?: string | undefined;
|
|
@@ -609,8 +610,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
609
610
|
pollInterval?: number | undefined;
|
|
610
611
|
apiVersion?: string | undefined;
|
|
611
612
|
fields?: {
|
|
612
|
-
body?: string | undefined;
|
|
613
613
|
title?: string | undefined;
|
|
614
|
+
body?: string | undefined;
|
|
614
615
|
description?: string | undefined;
|
|
615
616
|
lastModified?: string | undefined;
|
|
616
617
|
slug?: string | undefined;
|
|
@@ -628,14 +629,14 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
628
629
|
status: z.ZodOptional<z.ZodString>;
|
|
629
630
|
title: z.ZodOptional<z.ZodString>;
|
|
630
631
|
}, "strict", z.ZodTypeAny, {
|
|
631
|
-
status?: string | undefined;
|
|
632
632
|
title?: string | undefined;
|
|
633
|
+
status?: string | undefined;
|
|
633
634
|
description?: string | undefined;
|
|
634
635
|
order?: string | undefined;
|
|
635
636
|
slug?: string | undefined;
|
|
636
637
|
}, {
|
|
637
|
-
status?: string | undefined;
|
|
638
638
|
title?: string | undefined;
|
|
639
|
+
status?: string | undefined;
|
|
639
640
|
description?: string | undefined;
|
|
640
641
|
order?: string | undefined;
|
|
641
642
|
slug?: string | undefined;
|
|
@@ -649,8 +650,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
649
650
|
prefix?: string | undefined;
|
|
650
651
|
pollInterval?: number | undefined;
|
|
651
652
|
properties?: {
|
|
652
|
-
status?: string | undefined;
|
|
653
653
|
title?: string | undefined;
|
|
654
|
+
status?: string | undefined;
|
|
654
655
|
description?: string | undefined;
|
|
655
656
|
order?: string | undefined;
|
|
656
657
|
slug?: string | undefined;
|
|
@@ -662,8 +663,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
662
663
|
prefix?: string | undefined;
|
|
663
664
|
pollInterval?: number | undefined;
|
|
664
665
|
properties?: {
|
|
665
|
-
status?: string | undefined;
|
|
666
666
|
title?: string | undefined;
|
|
667
|
+
status?: string | undefined;
|
|
667
668
|
description?: string | undefined;
|
|
668
669
|
order?: string | undefined;
|
|
669
670
|
slug?: string | undefined;
|
|
@@ -756,9 +757,34 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
756
757
|
icon?: string | undefined;
|
|
757
758
|
}[] | undefined;
|
|
758
759
|
}>>;
|
|
759
|
-
|
|
760
|
+
/**
|
|
761
|
+
* `llms.txt`/`llms-full.txt` emission. A bare boolean toggles it; the object
|
|
762
|
+
* form adds `openapi: false` to keep generated API reference pages out of
|
|
763
|
+
* both files (e.g. when the configured spec is example content).
|
|
764
|
+
*/
|
|
765
|
+
llmsTxt: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
766
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
767
|
+
openapi: z.ZodDefault<z.ZodBoolean>;
|
|
768
|
+
}, "strict", z.ZodTypeAny, {
|
|
769
|
+
enabled: boolean;
|
|
770
|
+
openapi: boolean;
|
|
771
|
+
}, {
|
|
772
|
+
enabled?: boolean | undefined;
|
|
773
|
+
openapi?: boolean | undefined;
|
|
774
|
+
}>]>>, {
|
|
775
|
+
enabled: boolean;
|
|
776
|
+
openapi: boolean;
|
|
777
|
+
}, boolean | {
|
|
778
|
+
enabled?: boolean | undefined;
|
|
779
|
+
openapi?: boolean | undefined;
|
|
780
|
+
} | undefined>;
|
|
781
|
+
markdownComponents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ComponentMarkdown, z.ZodTypeDef, ComponentMarkdown>>>;
|
|
760
782
|
}, "strict", z.ZodTypeAny, {
|
|
761
|
-
llmsTxt:
|
|
783
|
+
llmsTxt: {
|
|
784
|
+
enabled: boolean;
|
|
785
|
+
openapi: boolean;
|
|
786
|
+
};
|
|
787
|
+
markdownComponents: Record<string, ComponentMarkdown>;
|
|
762
788
|
ask?: {
|
|
763
789
|
enabled: boolean;
|
|
764
790
|
model: string;
|
|
@@ -782,7 +808,11 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
782
808
|
icon?: string | undefined;
|
|
783
809
|
}[] | undefined;
|
|
784
810
|
} | undefined;
|
|
785
|
-
llmsTxt?: boolean |
|
|
811
|
+
llmsTxt?: boolean | {
|
|
812
|
+
enabled?: boolean | undefined;
|
|
813
|
+
openapi?: boolean | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
786
816
|
}>;
|
|
787
817
|
export type AskAiProvider = (typeof askAiProviders)[number];
|
|
788
818
|
export type AskAiConfig = NonNullable<z.infer<typeof aiConfigSchema>["ask"]>;
|
|
@@ -983,9 +1013,34 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
983
1013
|
icon?: string | undefined;
|
|
984
1014
|
}[] | undefined;
|
|
985
1015
|
}>>;
|
|
986
|
-
|
|
1016
|
+
/**
|
|
1017
|
+
* `llms.txt`/`llms-full.txt` emission. A bare boolean toggles it; the object
|
|
1018
|
+
* form adds `openapi: false` to keep generated API reference pages out of
|
|
1019
|
+
* both files (e.g. when the configured spec is example content).
|
|
1020
|
+
*/
|
|
1021
|
+
llmsTxt: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1022
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1023
|
+
openapi: z.ZodDefault<z.ZodBoolean>;
|
|
1024
|
+
}, "strict", z.ZodTypeAny, {
|
|
1025
|
+
enabled: boolean;
|
|
1026
|
+
openapi: boolean;
|
|
1027
|
+
}, {
|
|
1028
|
+
enabled?: boolean | undefined;
|
|
1029
|
+
openapi?: boolean | undefined;
|
|
1030
|
+
}>]>>, {
|
|
1031
|
+
enabled: boolean;
|
|
1032
|
+
openapi: boolean;
|
|
1033
|
+
}, boolean | {
|
|
1034
|
+
enabled?: boolean | undefined;
|
|
1035
|
+
openapi?: boolean | undefined;
|
|
1036
|
+
} | undefined>;
|
|
1037
|
+
markdownComponents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ComponentMarkdown, z.ZodTypeDef, ComponentMarkdown>>>;
|
|
987
1038
|
}, "strict", z.ZodTypeAny, {
|
|
988
|
-
llmsTxt:
|
|
1039
|
+
llmsTxt: {
|
|
1040
|
+
enabled: boolean;
|
|
1041
|
+
openapi: boolean;
|
|
1042
|
+
};
|
|
1043
|
+
markdownComponents: Record<string, ComponentMarkdown>;
|
|
989
1044
|
ask?: {
|
|
990
1045
|
enabled: boolean;
|
|
991
1046
|
model: string;
|
|
@@ -1009,7 +1064,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1009
1064
|
icon?: string | undefined;
|
|
1010
1065
|
}[] | undefined;
|
|
1011
1066
|
} | undefined;
|
|
1012
|
-
llmsTxt?: boolean |
|
|
1067
|
+
llmsTxt?: boolean | {
|
|
1068
|
+
enabled?: boolean | undefined;
|
|
1069
|
+
openapi?: boolean | undefined;
|
|
1070
|
+
} | undefined;
|
|
1071
|
+
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
1013
1072
|
}>>;
|
|
1014
1073
|
analytics: z.ZodOptional<z.ZodObject<{
|
|
1015
1074
|
posthog: z.ZodOptional<z.ZodObject<{
|
|
@@ -1126,28 +1185,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1126
1185
|
href: z.ZodString;
|
|
1127
1186
|
text: z.ZodString;
|
|
1128
1187
|
}, "strict", z.ZodTypeAny, {
|
|
1129
|
-
href: string;
|
|
1130
1188
|
text: string;
|
|
1131
|
-
}, {
|
|
1132
1189
|
href: string;
|
|
1190
|
+
}, {
|
|
1133
1191
|
text: string;
|
|
1192
|
+
href: string;
|
|
1134
1193
|
}>>;
|
|
1135
1194
|
}, "strict", z.ZodTypeAny, {
|
|
1136
1195
|
content: string;
|
|
1137
1196
|
dismissible: boolean;
|
|
1138
1197
|
id?: string | undefined;
|
|
1139
1198
|
link?: {
|
|
1140
|
-
href: string;
|
|
1141
1199
|
text: string;
|
|
1200
|
+
href: string;
|
|
1142
1201
|
} | undefined;
|
|
1143
1202
|
}, {
|
|
1144
1203
|
content: string;
|
|
1145
1204
|
id?: string | undefined;
|
|
1146
|
-
dismissible?: boolean | undefined;
|
|
1147
1205
|
link?: {
|
|
1148
|
-
href: string;
|
|
1149
1206
|
text: string;
|
|
1207
|
+
href: string;
|
|
1150
1208
|
} | undefined;
|
|
1209
|
+
dismissible?: boolean | undefined;
|
|
1151
1210
|
}>]>>;
|
|
1152
1211
|
/**
|
|
1153
1212
|
* Site-wide mount point prepended to every generated route (e.g. `/docs`),
|
|
@@ -1176,15 +1235,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1176
1235
|
type: z.ZodLiteral<"filesystem">;
|
|
1177
1236
|
}, "strict", z.ZodTypeAny, {
|
|
1178
1237
|
type: "filesystem";
|
|
1238
|
+
root: string;
|
|
1179
1239
|
exclude: string[];
|
|
1180
1240
|
include: string[];
|
|
1181
|
-
root: string;
|
|
1182
1241
|
prefix?: string | undefined;
|
|
1183
1242
|
}, {
|
|
1184
1243
|
type: "filesystem";
|
|
1244
|
+
root?: string | undefined;
|
|
1185
1245
|
exclude?: string[] | undefined;
|
|
1186
1246
|
include?: string[] | undefined;
|
|
1187
|
-
root?: string | undefined;
|
|
1188
1247
|
prefix?: string | undefined;
|
|
1189
1248
|
}>, z.ZodObject<{
|
|
1190
1249
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -1287,14 +1346,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1287
1346
|
slug: z.ZodOptional<z.ZodString>;
|
|
1288
1347
|
title: z.ZodOptional<z.ZodString>;
|
|
1289
1348
|
}, "strict", z.ZodTypeAny, {
|
|
1290
|
-
body?: string | undefined;
|
|
1291
1349
|
title?: string | undefined;
|
|
1350
|
+
body?: string | undefined;
|
|
1292
1351
|
description?: string | undefined;
|
|
1293
1352
|
lastModified?: string | undefined;
|
|
1294
1353
|
slug?: string | undefined;
|
|
1295
1354
|
}, {
|
|
1296
|
-
body?: string | undefined;
|
|
1297
1355
|
title?: string | undefined;
|
|
1356
|
+
body?: string | undefined;
|
|
1298
1357
|
description?: string | undefined;
|
|
1299
1358
|
lastModified?: string | undefined;
|
|
1300
1359
|
slug?: string | undefined;
|
|
@@ -1315,8 +1374,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1315
1374
|
pollInterval?: number | undefined;
|
|
1316
1375
|
apiVersion?: string | undefined;
|
|
1317
1376
|
fields?: {
|
|
1318
|
-
body?: string | undefined;
|
|
1319
1377
|
title?: string | undefined;
|
|
1378
|
+
body?: string | undefined;
|
|
1320
1379
|
description?: string | undefined;
|
|
1321
1380
|
lastModified?: string | undefined;
|
|
1322
1381
|
slug?: string | undefined;
|
|
@@ -1330,8 +1389,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1330
1389
|
pollInterval?: number | undefined;
|
|
1331
1390
|
apiVersion?: string | undefined;
|
|
1332
1391
|
fields?: {
|
|
1333
|
-
body?: string | undefined;
|
|
1334
1392
|
title?: string | undefined;
|
|
1393
|
+
body?: string | undefined;
|
|
1335
1394
|
description?: string | undefined;
|
|
1336
1395
|
lastModified?: string | undefined;
|
|
1337
1396
|
slug?: string | undefined;
|
|
@@ -1349,14 +1408,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1349
1408
|
status: z.ZodOptional<z.ZodString>;
|
|
1350
1409
|
title: z.ZodOptional<z.ZodString>;
|
|
1351
1410
|
}, "strict", z.ZodTypeAny, {
|
|
1352
|
-
status?: string | undefined;
|
|
1353
1411
|
title?: string | undefined;
|
|
1412
|
+
status?: string | undefined;
|
|
1354
1413
|
description?: string | undefined;
|
|
1355
1414
|
order?: string | undefined;
|
|
1356
1415
|
slug?: string | undefined;
|
|
1357
1416
|
}, {
|
|
1358
|
-
status?: string | undefined;
|
|
1359
1417
|
title?: string | undefined;
|
|
1418
|
+
status?: string | undefined;
|
|
1360
1419
|
description?: string | undefined;
|
|
1361
1420
|
order?: string | undefined;
|
|
1362
1421
|
slug?: string | undefined;
|
|
@@ -1370,8 +1429,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1370
1429
|
prefix?: string | undefined;
|
|
1371
1430
|
pollInterval?: number | undefined;
|
|
1372
1431
|
properties?: {
|
|
1373
|
-
status?: string | undefined;
|
|
1374
1432
|
title?: string | undefined;
|
|
1433
|
+
status?: string | undefined;
|
|
1375
1434
|
description?: string | undefined;
|
|
1376
1435
|
order?: string | undefined;
|
|
1377
1436
|
slug?: string | undefined;
|
|
@@ -1383,8 +1442,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1383
1442
|
prefix?: string | undefined;
|
|
1384
1443
|
pollInterval?: number | undefined;
|
|
1385
1444
|
properties?: {
|
|
1386
|
-
status?: string | undefined;
|
|
1387
1445
|
title?: string | undefined;
|
|
1446
|
+
status?: string | undefined;
|
|
1388
1447
|
description?: string | undefined;
|
|
1389
1448
|
order?: string | undefined;
|
|
1390
1449
|
slug?: string | undefined;
|
|
@@ -1401,16 +1460,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1401
1460
|
source: ContentSource;
|
|
1402
1461
|
}>]>, "many">>;
|
|
1403
1462
|
}, "strict", z.ZodTypeAny, {
|
|
1463
|
+
root: string;
|
|
1404
1464
|
exclude: string[];
|
|
1405
1465
|
defaultType: string;
|
|
1406
1466
|
include: string[];
|
|
1407
1467
|
pages: string;
|
|
1408
|
-
root: string;
|
|
1409
1468
|
sources?: ({
|
|
1410
1469
|
type: "filesystem";
|
|
1470
|
+
root: string;
|
|
1411
1471
|
exclude: string[];
|
|
1412
1472
|
include: string[];
|
|
1413
|
-
root: string;
|
|
1414
1473
|
prefix?: string | undefined;
|
|
1415
1474
|
} | {
|
|
1416
1475
|
type: "mdx-remote";
|
|
@@ -1443,8 +1502,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1443
1502
|
pollInterval?: number | undefined;
|
|
1444
1503
|
apiVersion?: string | undefined;
|
|
1445
1504
|
fields?: {
|
|
1446
|
-
body?: string | undefined;
|
|
1447
1505
|
title?: string | undefined;
|
|
1506
|
+
body?: string | undefined;
|
|
1448
1507
|
description?: string | undefined;
|
|
1449
1508
|
lastModified?: string | undefined;
|
|
1450
1509
|
slug?: string | undefined;
|
|
@@ -1455,8 +1514,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1455
1514
|
prefix?: string | undefined;
|
|
1456
1515
|
pollInterval?: number | undefined;
|
|
1457
1516
|
properties?: {
|
|
1458
|
-
status?: string | undefined;
|
|
1459
1517
|
title?: string | undefined;
|
|
1518
|
+
status?: string | undefined;
|
|
1460
1519
|
description?: string | undefined;
|
|
1461
1520
|
order?: string | undefined;
|
|
1462
1521
|
slug?: string | undefined;
|
|
@@ -1467,12 +1526,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1467
1526
|
source: ContentSource;
|
|
1468
1527
|
})[] | undefined;
|
|
1469
1528
|
}, {
|
|
1529
|
+
root?: string | undefined;
|
|
1470
1530
|
exclude?: string[] | undefined;
|
|
1471
1531
|
sources?: ({
|
|
1472
1532
|
type: "filesystem";
|
|
1533
|
+
root?: string | undefined;
|
|
1473
1534
|
exclude?: string[] | undefined;
|
|
1474
1535
|
include?: string[] | undefined;
|
|
1475
|
-
root?: string | undefined;
|
|
1476
1536
|
prefix?: string | undefined;
|
|
1477
1537
|
} | {
|
|
1478
1538
|
type: "mdx-remote";
|
|
@@ -1505,8 +1565,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1505
1565
|
pollInterval?: number | undefined;
|
|
1506
1566
|
apiVersion?: string | undefined;
|
|
1507
1567
|
fields?: {
|
|
1508
|
-
body?: string | undefined;
|
|
1509
1568
|
title?: string | undefined;
|
|
1569
|
+
body?: string | undefined;
|
|
1510
1570
|
description?: string | undefined;
|
|
1511
1571
|
lastModified?: string | undefined;
|
|
1512
1572
|
slug?: string | undefined;
|
|
@@ -1517,8 +1577,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1517
1577
|
prefix?: string | undefined;
|
|
1518
1578
|
pollInterval?: number | undefined;
|
|
1519
1579
|
properties?: {
|
|
1520
|
-
status?: string | undefined;
|
|
1521
1580
|
title?: string | undefined;
|
|
1581
|
+
status?: string | undefined;
|
|
1522
1582
|
description?: string | undefined;
|
|
1523
1583
|
order?: string | undefined;
|
|
1524
1584
|
slug?: string | undefined;
|
|
@@ -1531,7 +1591,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1531
1591
|
defaultType?: string | undefined;
|
|
1532
1592
|
include?: string[] | undefined;
|
|
1533
1593
|
pages?: string | undefined;
|
|
1534
|
-
root?: string | undefined;
|
|
1535
1594
|
}>>;
|
|
1536
1595
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1537
1596
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1705,16 +1764,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1705
1764
|
dark?: string | undefined;
|
|
1706
1765
|
light?: string | undefined;
|
|
1707
1766
|
} | undefined;
|
|
1708
|
-
href?: string | undefined;
|
|
1709
1767
|
text?: string | undefined;
|
|
1768
|
+
href?: string | undefined;
|
|
1710
1769
|
}, {
|
|
1711
1770
|
image?: string | {
|
|
1712
1771
|
alt?: string | undefined;
|
|
1713
1772
|
dark?: string | undefined;
|
|
1714
1773
|
light?: string | undefined;
|
|
1715
1774
|
} | undefined;
|
|
1716
|
-
href?: string | undefined;
|
|
1717
1775
|
text?: string | undefined;
|
|
1776
|
+
href?: string | undefined;
|
|
1718
1777
|
}>]>>;
|
|
1719
1778
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1720
1779
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1802,7 +1861,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1802
1861
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1803
1862
|
/** Server name shown to clients; defaults to the site title. */
|
|
1804
1863
|
name: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
|
|
1864
|
+
/**
|
|
1865
|
+
* Normalized like `openapi.route`: a slash-less value would otherwise be
|
|
1866
|
+
* string-concatenated onto the site origin (`https://acme.comdocs-mcp`).
|
|
1867
|
+
*/
|
|
1868
|
+
route: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
1806
1869
|
}, "strict", z.ZodTypeAny, {
|
|
1807
1870
|
enabled: boolean;
|
|
1808
1871
|
route: string;
|
|
@@ -2489,7 +2552,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2489
2552
|
} | undefined>;
|
|
2490
2553
|
}, "strict", z.ZodTypeAny, {
|
|
2491
2554
|
title: string;
|
|
2492
|
-
|
|
2555
|
+
lastModified: boolean | {
|
|
2556
|
+
type: "git" | "frontmatter";
|
|
2557
|
+
};
|
|
2493
2558
|
search: {
|
|
2494
2559
|
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2495
2560
|
indexing: {
|
|
@@ -2516,14 +2581,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2516
2581
|
protocol?: "http" | "https" | undefined;
|
|
2517
2582
|
} | undefined;
|
|
2518
2583
|
};
|
|
2519
|
-
toc: {
|
|
2520
|
-
enabled: boolean;
|
|
2521
|
-
maxLevel: number;
|
|
2522
|
-
minLevel: number;
|
|
2523
|
-
};
|
|
2524
|
-
lastModified: boolean | {
|
|
2525
|
-
type: "git" | "frontmatter";
|
|
2526
|
-
};
|
|
2527
2584
|
seo: {
|
|
2528
2585
|
agentReadability: boolean;
|
|
2529
2586
|
contentSignals: {
|
|
@@ -2543,8 +2600,26 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2543
2600
|
sitemap: boolean;
|
|
2544
2601
|
structuredData: boolean;
|
|
2545
2602
|
};
|
|
2603
|
+
openapi: {
|
|
2604
|
+
enabled: boolean;
|
|
2605
|
+
route: string;
|
|
2606
|
+
sources: {
|
|
2607
|
+
spec: string;
|
|
2608
|
+
label?: string | undefined;
|
|
2609
|
+
route?: string | undefined;
|
|
2610
|
+
}[];
|
|
2611
|
+
codeSamples: string[];
|
|
2612
|
+
expandSchemas: boolean;
|
|
2613
|
+
renderer: "blume" | "scalar";
|
|
2614
|
+
spec?: string | undefined;
|
|
2615
|
+
theme?: string | undefined;
|
|
2616
|
+
};
|
|
2546
2617
|
ai: {
|
|
2547
|
-
llmsTxt:
|
|
2618
|
+
llmsTxt: {
|
|
2619
|
+
enabled: boolean;
|
|
2620
|
+
openapi: boolean;
|
|
2621
|
+
};
|
|
2622
|
+
markdownComponents: Record<string, ComponentMarkdown>;
|
|
2548
2623
|
ask?: {
|
|
2549
2624
|
enabled: boolean;
|
|
2550
2625
|
model: string;
|
|
@@ -2558,16 +2633,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2558
2633
|
} | undefined;
|
|
2559
2634
|
};
|
|
2560
2635
|
content: {
|
|
2636
|
+
root: string;
|
|
2561
2637
|
exclude: string[];
|
|
2562
2638
|
defaultType: string;
|
|
2563
2639
|
include: string[];
|
|
2564
2640
|
pages: string;
|
|
2565
|
-
root: string;
|
|
2566
2641
|
sources?: ({
|
|
2567
2642
|
type: "filesystem";
|
|
2643
|
+
root: string;
|
|
2568
2644
|
exclude: string[];
|
|
2569
2645
|
include: string[];
|
|
2570
|
-
root: string;
|
|
2571
2646
|
prefix?: string | undefined;
|
|
2572
2647
|
} | {
|
|
2573
2648
|
type: "mdx-remote";
|
|
@@ -2600,8 +2675,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2600
2675
|
pollInterval?: number | undefined;
|
|
2601
2676
|
apiVersion?: string | undefined;
|
|
2602
2677
|
fields?: {
|
|
2603
|
-
body?: string | undefined;
|
|
2604
2678
|
title?: string | undefined;
|
|
2679
|
+
body?: string | undefined;
|
|
2605
2680
|
description?: string | undefined;
|
|
2606
2681
|
lastModified?: string | undefined;
|
|
2607
2682
|
slug?: string | undefined;
|
|
@@ -2612,8 +2687,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2612
2687
|
prefix?: string | undefined;
|
|
2613
2688
|
pollInterval?: number | undefined;
|
|
2614
2689
|
properties?: {
|
|
2615
|
-
status?: string | undefined;
|
|
2616
2690
|
title?: string | undefined;
|
|
2691
|
+
status?: string | undefined;
|
|
2617
2692
|
description?: string | undefined;
|
|
2618
2693
|
order?: string | undefined;
|
|
2619
2694
|
slug?: string | undefined;
|
|
@@ -2673,6 +2748,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2673
2748
|
epub: boolean;
|
|
2674
2749
|
pdf: boolean;
|
|
2675
2750
|
};
|
|
2751
|
+
feedback: boolean;
|
|
2676
2752
|
markdown: {
|
|
2677
2753
|
code: {
|
|
2678
2754
|
icons: boolean;
|
|
@@ -2728,20 +2804,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2728
2804
|
}[] | undefined;
|
|
2729
2805
|
}[] | undefined;
|
|
2730
2806
|
};
|
|
2731
|
-
openapi: {
|
|
2732
|
-
enabled: boolean;
|
|
2733
|
-
route: string;
|
|
2734
|
-
sources: {
|
|
2735
|
-
spec: string;
|
|
2736
|
-
label?: string | undefined;
|
|
2737
|
-
route?: string | undefined;
|
|
2738
|
-
}[];
|
|
2739
|
-
codeSamples: string[];
|
|
2740
|
-
expandSchemas: boolean;
|
|
2741
|
-
renderer: "blume" | "scalar";
|
|
2742
|
-
spec?: string | undefined;
|
|
2743
|
-
theme?: string | undefined;
|
|
2744
|
-
};
|
|
2745
2807
|
react: {
|
|
2746
2808
|
compiler: boolean;
|
|
2747
2809
|
};
|
|
@@ -2750,6 +2812,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2750
2812
|
from: string;
|
|
2751
2813
|
to: string;
|
|
2752
2814
|
}[];
|
|
2815
|
+
toc: {
|
|
2816
|
+
enabled: boolean;
|
|
2817
|
+
maxLevel: number;
|
|
2818
|
+
minLevel: number;
|
|
2819
|
+
};
|
|
2753
2820
|
description?: string | undefined;
|
|
2754
2821
|
analytics?: {
|
|
2755
2822
|
posthog?: {
|
|
@@ -2769,8 +2836,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2769
2836
|
dismissible: boolean;
|
|
2770
2837
|
id?: string | undefined;
|
|
2771
2838
|
link?: {
|
|
2772
|
-
href: string;
|
|
2773
2839
|
text: string;
|
|
2840
|
+
href: string;
|
|
2774
2841
|
} | undefined;
|
|
2775
2842
|
} | undefined;
|
|
2776
2843
|
github?: {
|
|
@@ -2797,12 +2864,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2797
2864
|
dark?: string | undefined;
|
|
2798
2865
|
light?: string | undefined;
|
|
2799
2866
|
} | undefined;
|
|
2800
|
-
href?: string | undefined;
|
|
2801
2867
|
text?: string | undefined;
|
|
2868
|
+
href?: string | undefined;
|
|
2802
2869
|
} | undefined;
|
|
2803
2870
|
}, {
|
|
2804
2871
|
title?: string | undefined;
|
|
2805
|
-
|
|
2872
|
+
description?: string | undefined;
|
|
2873
|
+
lastModified?: boolean | {
|
|
2874
|
+
type?: "git" | "frontmatter" | undefined;
|
|
2875
|
+
} | undefined;
|
|
2806
2876
|
search?: {
|
|
2807
2877
|
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2808
2878
|
algolia?: {
|
|
@@ -2829,14 +2899,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2829
2899
|
protocol?: "http" | "https" | undefined;
|
|
2830
2900
|
} | undefined;
|
|
2831
2901
|
} | undefined;
|
|
2832
|
-
toc?: boolean | {
|
|
2833
|
-
maxHeadingLevel?: number | undefined;
|
|
2834
|
-
minHeadingLevel?: number | undefined;
|
|
2835
|
-
} | undefined;
|
|
2836
|
-
description?: string | undefined;
|
|
2837
|
-
lastModified?: boolean | {
|
|
2838
|
-
type?: "git" | "frontmatter" | undefined;
|
|
2839
|
-
} | undefined;
|
|
2840
2902
|
seo?: {
|
|
2841
2903
|
agentReadability?: boolean | undefined;
|
|
2842
2904
|
contentSignals?: boolean | {
|
|
@@ -2856,6 +2918,20 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2856
2918
|
sitemap?: boolean | undefined;
|
|
2857
2919
|
structuredData?: boolean | undefined;
|
|
2858
2920
|
} | undefined;
|
|
2921
|
+
openapi?: {
|
|
2922
|
+
enabled?: boolean | undefined;
|
|
2923
|
+
route?: string | undefined;
|
|
2924
|
+
spec?: string | undefined;
|
|
2925
|
+
sources?: {
|
|
2926
|
+
spec: string;
|
|
2927
|
+
label?: string | undefined;
|
|
2928
|
+
route?: string | undefined;
|
|
2929
|
+
}[] | undefined;
|
|
2930
|
+
theme?: string | undefined;
|
|
2931
|
+
codeSamples?: string[] | undefined;
|
|
2932
|
+
expandSchemas?: boolean | undefined;
|
|
2933
|
+
renderer?: "blume" | "scalar" | undefined;
|
|
2934
|
+
} | undefined;
|
|
2859
2935
|
ai?: {
|
|
2860
2936
|
ask?: {
|
|
2861
2937
|
apiKeyEnv?: string | undefined;
|
|
@@ -2868,15 +2944,20 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2868
2944
|
icon?: string | undefined;
|
|
2869
2945
|
}[] | undefined;
|
|
2870
2946
|
} | undefined;
|
|
2871
|
-
llmsTxt?: boolean |
|
|
2947
|
+
llmsTxt?: boolean | {
|
|
2948
|
+
enabled?: boolean | undefined;
|
|
2949
|
+
openapi?: boolean | undefined;
|
|
2950
|
+
} | undefined;
|
|
2951
|
+
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
2872
2952
|
} | undefined;
|
|
2873
2953
|
content?: {
|
|
2954
|
+
root?: string | undefined;
|
|
2874
2955
|
exclude?: string[] | undefined;
|
|
2875
2956
|
sources?: ({
|
|
2876
2957
|
type: "filesystem";
|
|
2958
|
+
root?: string | undefined;
|
|
2877
2959
|
exclude?: string[] | undefined;
|
|
2878
2960
|
include?: string[] | undefined;
|
|
2879
|
-
root?: string | undefined;
|
|
2880
2961
|
prefix?: string | undefined;
|
|
2881
2962
|
} | {
|
|
2882
2963
|
type: "mdx-remote";
|
|
@@ -2909,8 +2990,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2909
2990
|
pollInterval?: number | undefined;
|
|
2910
2991
|
apiVersion?: string | undefined;
|
|
2911
2992
|
fields?: {
|
|
2912
|
-
body?: string | undefined;
|
|
2913
2993
|
title?: string | undefined;
|
|
2994
|
+
body?: string | undefined;
|
|
2914
2995
|
description?: string | undefined;
|
|
2915
2996
|
lastModified?: string | undefined;
|
|
2916
2997
|
slug?: string | undefined;
|
|
@@ -2921,8 +3002,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2921
3002
|
prefix?: string | undefined;
|
|
2922
3003
|
pollInterval?: number | undefined;
|
|
2923
3004
|
properties?: {
|
|
2924
|
-
status?: string | undefined;
|
|
2925
3005
|
title?: string | undefined;
|
|
3006
|
+
status?: string | undefined;
|
|
2926
3007
|
description?: string | undefined;
|
|
2927
3008
|
order?: string | undefined;
|
|
2928
3009
|
slug?: string | undefined;
|
|
@@ -2935,7 +3016,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2935
3016
|
defaultType?: string | undefined;
|
|
2936
3017
|
include?: string[] | undefined;
|
|
2937
3018
|
pages?: string | undefined;
|
|
2938
|
-
root?: string | undefined;
|
|
2939
3019
|
} | undefined;
|
|
2940
3020
|
analytics?: {
|
|
2941
3021
|
posthog?: {
|
|
@@ -2987,11 +3067,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2987
3067
|
banner?: string | {
|
|
2988
3068
|
content: string;
|
|
2989
3069
|
id?: string | undefined;
|
|
2990
|
-
dismissible?: boolean | undefined;
|
|
2991
3070
|
link?: {
|
|
2992
|
-
href: string;
|
|
2993
3071
|
text: string;
|
|
3072
|
+
href: string;
|
|
2994
3073
|
} | undefined;
|
|
3074
|
+
dismissible?: boolean | undefined;
|
|
2995
3075
|
} | undefined;
|
|
2996
3076
|
basePath?: string | undefined;
|
|
2997
3077
|
github?: {
|
|
@@ -3014,6 +3094,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3014
3094
|
epub?: boolean | undefined;
|
|
3015
3095
|
pdf?: boolean | undefined;
|
|
3016
3096
|
} | undefined;
|
|
3097
|
+
feedback?: boolean | undefined;
|
|
3017
3098
|
i18n?: {
|
|
3018
3099
|
locales: {
|
|
3019
3100
|
code: string;
|
|
@@ -3032,8 +3113,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3032
3113
|
dark?: string | undefined;
|
|
3033
3114
|
light?: string | undefined;
|
|
3034
3115
|
} | undefined;
|
|
3035
|
-
href?: string | undefined;
|
|
3036
3116
|
text?: string | undefined;
|
|
3117
|
+
href?: string | undefined;
|
|
3037
3118
|
} | undefined;
|
|
3038
3119
|
markdown?: {
|
|
3039
3120
|
code?: {
|
|
@@ -3090,20 +3171,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3090
3171
|
}[] | undefined;
|
|
3091
3172
|
}[] | undefined;
|
|
3092
3173
|
} | undefined;
|
|
3093
|
-
openapi?: {
|
|
3094
|
-
enabled?: boolean | undefined;
|
|
3095
|
-
route?: string | undefined;
|
|
3096
|
-
spec?: string | undefined;
|
|
3097
|
-
sources?: {
|
|
3098
|
-
spec: string;
|
|
3099
|
-
label?: string | undefined;
|
|
3100
|
-
route?: string | undefined;
|
|
3101
|
-
}[] | undefined;
|
|
3102
|
-
theme?: string | undefined;
|
|
3103
|
-
codeSamples?: string[] | undefined;
|
|
3104
|
-
expandSchemas?: boolean | undefined;
|
|
3105
|
-
renderer?: "blume" | "scalar" | undefined;
|
|
3106
|
-
} | undefined;
|
|
3107
3174
|
react?: {
|
|
3108
3175
|
compiler?: boolean | undefined;
|
|
3109
3176
|
} | undefined;
|
|
@@ -3112,6 +3179,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3112
3179
|
to: string;
|
|
3113
3180
|
status?: 301 | 302 | 307 | 308 | undefined;
|
|
3114
3181
|
}[] | undefined;
|
|
3182
|
+
toc?: boolean | {
|
|
3183
|
+
maxHeadingLevel?: number | undefined;
|
|
3184
|
+
minHeadingLevel?: number | undefined;
|
|
3185
|
+
} | undefined;
|
|
3115
3186
|
}>;
|
|
3116
3187
|
/** Resolved config: every field present after defaults are applied. */
|
|
3117
3188
|
export type ResolvedConfig = z.infer<typeof blumeConfigSchema>;
|