blume 0.6.7 → 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 +2609 -1041
- package/dist/cli/index.js.map +110 -103
- 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 +47 -0
- package/dist/types/core/config-input.d.ts +110 -12
- package/dist/types/core/config.d.ts +6 -4
- package/dist/types/core/data.d.ts +4 -0
- package/dist/types/core/i18n-ui.d.ts +477 -135
- package/dist/types/core/schema.d.ts +309 -195
- package/dist/types/core/sources/types.d.ts +2 -0
- package/dist/types/core/types.d.ts +6 -1
- 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 +24 -9
- 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 +33 -3
- package/docs/configuration/seo.mdx +2 -2
- package/docs/content/components.mdx +30 -3
- package/docs/content/i18n.mdx +1 -1
- package/docs/content/islands.mdx +8 -0
- package/docs/content/navigation.mdx +3 -3
- package/docs/content/sources.mdx +1 -1
- package/docs/content/syntax.mdx +17 -2
- package/docs/index.mdx +2 -2
- package/docs/reference/cli.mdx +8 -6
- package/package.json +15 -4
- package/skills/blume/SKILL.md +5 -3
- package/skills/blume-update-docs/SKILL.md +3 -2
- package/src/ai/agent-readability.ts +11 -5
- package/src/ai/ask-context.ts +7 -2
- package/src/ai/ask-data.ts +3 -0
- package/src/ai/ask.ts +12 -7
- package/src/ai/component-markdown.ts +461 -0
- package/src/ai/llms.ts +143 -23
- package/src/ai/markdown.ts +35 -6
- package/src/ai/mcp/data.ts +33 -8
- package/src/ai/mcp/discovery.ts +10 -3
- package/src/ai/mcp/server.ts +24 -7
- package/src/ai/visibility.ts +74 -0
- package/src/astro/component-slots.ts +16 -4
- package/src/astro/examples.ts +12 -7
- package/src/astro/generate.ts +393 -189
- package/src/astro/index.ts +5 -1
- package/src/astro/integration.ts +9 -5
- package/src/astro/islands.ts +11 -5
- package/src/astro/markdown-negotiation.ts +2 -2
- package/src/astro/pages.ts +89 -22
- package/src/astro/templates.ts +259 -25
- package/src/blume-modules.d.ts +8 -0
- package/src/cli/commands/build.ts +131 -38
- package/src/cli/commands/check.ts +1 -1
- package/src/cli/commands/dev.ts +71 -17
- package/src/cli/commands/doctor.ts +2 -2
- 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 +44 -2
- package/src/cli/dev-lock.ts +34 -19
- 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/cli/required-secrets.ts +2 -1
- 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/CodeBlock.astro +3 -0
- package/src/components/content/Component.astro +30 -16
- package/src/components/content/Diff.astro +3 -1
- 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 +25 -9
- package/src/components/content/base-href.ts +33 -0
- package/src/components/content/changelog-element.ts +9 -2
- package/src/components/content/diff.ts +12 -6
- package/src/components/content/mermaid-element.ts +10 -2
- package/src/components/index.ts +23 -1
- package/src/components/islands/AskAI.astro +5 -2
- package/src/components/islands/ask-ai.tsx +68 -12
- package/src/components/islands/base-path.ts +28 -0
- package/src/components/islands/hooks.ts +44 -9
- package/src/components/layout/Banner.astro +12 -3
- package/src/components/layout/Breadcrumbs.astro +2 -1
- package/src/components/layout/Favicon.astro +3 -2
- package/src/components/layout/Header.astro +15 -5
- package/src/components/layout/LanguageSwitcher.astro +2 -1
- package/src/components/layout/Logo.astro +13 -4
- package/src/components/layout/NavSelector.astro +2 -1
- package/src/components/layout/NavTree.astro +22 -7
- package/src/components/layout/PageActions.astro +25 -10
- package/src/components/layout/PageFeedback.astro +4 -1
- package/src/components/layout/PageLayout.astro +51 -9
- package/src/components/layout/Pagination.astro +3 -2
- package/src/components/layout/ReferenceLayout.astro +8 -1
- package/src/components/layout/RootLayout.astro +74 -13
- package/src/components/layout/Search.astro +107 -27
- package/src/components/layout/nav-utils.ts +18 -10
- 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/pagefind.ts +3 -0
- 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 +8 -2
- package/src/components/openapi/ApiTagOperations.astro +2 -1
- package/src/components/openapi/Operation.astro +47 -40
- package/src/components/openapi/RequestPanel.astro +8 -2
- package/src/components/openapi/helpers.ts +71 -3
- package/src/components/openapi/panel.ts +1 -1
- package/src/components/openapi/snippets.ts +25 -11
- package/src/core/base-path.ts +94 -0
- package/src/core/builtin-tags.ts +2 -0
- package/src/core/component-overrides.ts +103 -74
- package/src/core/config-input.ts +118 -17
- package/src/core/config.ts +8 -5
- package/src/core/content.ts +2 -0
- package/src/core/data.ts +4 -0
- package/src/core/diagnostics.ts +54 -34
- package/src/core/gitignore.ts +4 -1
- package/src/core/graph.ts +166 -88
- package/src/core/i18n-ui.ts +63 -3
- package/src/core/last-modified.ts +15 -6
- package/src/core/links.ts +69 -25
- package/src/core/manifest.ts +62 -45
- package/src/core/nav-diagnostics.ts +1 -1
- package/src/core/navigation.ts +144 -58
- package/src/core/package-json.ts +17 -2
- package/src/core/project-graph.ts +25 -15
- package/src/core/schema.ts +605 -620
- package/src/core/sources/assets.ts +6 -1
- package/src/core/sources/filesystem.ts +4 -0
- package/src/core/sources/github-releases.ts +2 -1
- package/src/core/sources/mdx-remote.ts +76 -63
- package/src/core/sources/normalize.ts +236 -91
- package/src/core/sources/notion.ts +27 -18
- package/src/core/sources/types.ts +2 -0
- package/src/core/tsconfig-aliases.ts +59 -30
- package/src/core/types.ts +6 -1
- 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 +25 -2
- package/src/deploy/robots.ts +6 -1
- package/src/deploy/rss.ts +10 -3
- package/src/deploy/sitemap.ts +59 -13
- package/src/index.ts +5 -0
- package/src/markdown/base-links.ts +60 -0
- package/src/markdown/code-title.ts +11 -14
- package/src/markdown/index.ts +46 -9
- package/src/markdown/inline-code.ts +14 -4
- package/src/markdown/package-commands.ts +10 -4
- package/src/markdown/themes.ts +24 -0
- package/src/openapi/model.ts +15 -5
- package/src/openapi/parse.ts +21 -0
- package/src/openapi/references.ts +75 -21
- package/src/openapi/render-mdx.ts +11 -6
- package/src/openapi/scalar.ts +32 -16
- package/src/openapi/source.ts +59 -10
- package/src/registry/eject.ts +247 -19
- package/src/registry/registry.ts +0 -3
- package/src/search/build.ts +3 -0
- package/src/search/documents.ts +36 -4
- package/src/search/sync/typesense.ts +6 -4
- package/src/seo/jsonld.ts +28 -17
- package/src/theme/entry.ts +85 -20
|
@@ -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>;
|
|
@@ -10,32 +11,32 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
10
11
|
image: z.ZodOptional<z.ZodString>;
|
|
11
12
|
name: z.ZodString;
|
|
12
13
|
url: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, "
|
|
14
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
14
15
|
avatar: z.ZodOptional<z.ZodString>;
|
|
15
16
|
image: z.ZodOptional<z.ZodString>;
|
|
16
17
|
name: z.ZodString;
|
|
17
18
|
url: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.
|
|
19
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
19
20
|
avatar: z.ZodOptional<z.ZodString>;
|
|
20
21
|
image: z.ZodOptional<z.ZodString>;
|
|
21
22
|
name: z.ZodString;
|
|
22
23
|
url: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.
|
|
24
|
+
}, z.ZodUnknown, "strip">>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
24
25
|
avatar: z.ZodOptional<z.ZodString>;
|
|
25
26
|
image: z.ZodOptional<z.ZodString>;
|
|
26
27
|
name: z.ZodString;
|
|
27
28
|
url: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, "
|
|
29
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
29
30
|
avatar: z.ZodOptional<z.ZodString>;
|
|
30
31
|
image: z.ZodOptional<z.ZodString>;
|
|
31
32
|
name: z.ZodString;
|
|
32
33
|
url: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, z.
|
|
34
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
34
35
|
avatar: z.ZodOptional<z.ZodString>;
|
|
35
36
|
image: z.ZodOptional<z.ZodString>;
|
|
36
37
|
name: z.ZodString;
|
|
37
38
|
url: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.
|
|
39
|
+
}, z.ZodUnknown, "strip">>]>, "many">]>>;
|
|
39
40
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
40
41
|
category: z.ZodOptional<z.ZodString>;
|
|
41
42
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -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,111 +100,111 @@ 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>;
|
|
147
147
|
name: z.ZodString;
|
|
148
148
|
url: z.ZodOptional<z.ZodString>;
|
|
149
|
-
}, z.
|
|
149
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectOutputType<{
|
|
150
150
|
avatar: z.ZodOptional<z.ZodString>;
|
|
151
151
|
image: z.ZodOptional<z.ZodString>;
|
|
152
152
|
name: z.ZodString;
|
|
153
153
|
url: z.ZodOptional<z.ZodString>;
|
|
154
|
-
}, z.
|
|
154
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
155
155
|
changelog?: {
|
|
156
156
|
date?: string | undefined;
|
|
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>;
|
|
176
171
|
name: z.ZodString;
|
|
177
172
|
url: z.ZodOptional<z.ZodString>;
|
|
178
|
-
}, z.
|
|
173
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
179
174
|
avatar: z.ZodOptional<z.ZodString>;
|
|
180
175
|
image: z.ZodOptional<z.ZodString>;
|
|
181
176
|
name: z.ZodString;
|
|
182
177
|
url: z.ZodOptional<z.ZodString>;
|
|
183
|
-
}, z.
|
|
178
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
184
179
|
changelog?: {
|
|
185
180
|
date?: string | Date | undefined;
|
|
186
181
|
category?: string | undefined;
|
|
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;
|
|
@@ -215,32 +216,32 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
215
216
|
image: z.ZodOptional<z.ZodString>;
|
|
216
217
|
name: z.ZodString;
|
|
217
218
|
url: z.ZodOptional<z.ZodString>;
|
|
218
|
-
}, "
|
|
219
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
219
220
|
avatar: z.ZodOptional<z.ZodString>;
|
|
220
221
|
image: z.ZodOptional<z.ZodString>;
|
|
221
222
|
name: z.ZodString;
|
|
222
223
|
url: z.ZodOptional<z.ZodString>;
|
|
223
|
-
}, z.
|
|
224
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
224
225
|
avatar: z.ZodOptional<z.ZodString>;
|
|
225
226
|
image: z.ZodOptional<z.ZodString>;
|
|
226
227
|
name: z.ZodString;
|
|
227
228
|
url: z.ZodOptional<z.ZodString>;
|
|
228
|
-
}, z.
|
|
229
|
+
}, z.ZodUnknown, "strip">>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
229
230
|
avatar: z.ZodOptional<z.ZodString>;
|
|
230
231
|
image: z.ZodOptional<z.ZodString>;
|
|
231
232
|
name: z.ZodString;
|
|
232
233
|
url: z.ZodOptional<z.ZodString>;
|
|
233
|
-
}, "
|
|
234
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
234
235
|
avatar: z.ZodOptional<z.ZodString>;
|
|
235
236
|
image: z.ZodOptional<z.ZodString>;
|
|
236
237
|
name: z.ZodString;
|
|
237
238
|
url: z.ZodOptional<z.ZodString>;
|
|
238
|
-
}, z.
|
|
239
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
239
240
|
avatar: z.ZodOptional<z.ZodString>;
|
|
240
241
|
image: z.ZodOptional<z.ZodString>;
|
|
241
242
|
name: z.ZodString;
|
|
242
243
|
url: z.ZodOptional<z.ZodString>;
|
|
243
|
-
}, z.
|
|
244
|
+
}, z.ZodUnknown, "strip">>]>, "many">]>>;
|
|
244
245
|
changelog: z.ZodOptional<z.ZodObject<{
|
|
245
246
|
category: z.ZodOptional<z.ZodString>;
|
|
246
247
|
date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -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,111 +305,111 @@ 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>;
|
|
352
352
|
name: z.ZodString;
|
|
353
353
|
url: z.ZodOptional<z.ZodString>;
|
|
354
|
-
}, z.
|
|
354
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectOutputType<{
|
|
355
355
|
avatar: z.ZodOptional<z.ZodString>;
|
|
356
356
|
image: z.ZodOptional<z.ZodString>;
|
|
357
357
|
name: z.ZodString;
|
|
358
358
|
url: z.ZodOptional<z.ZodString>;
|
|
359
|
-
}, z.
|
|
359
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
360
360
|
changelog?: {
|
|
361
361
|
date?: string | undefined;
|
|
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>;
|
|
381
376
|
name: z.ZodString;
|
|
382
377
|
url: z.ZodOptional<z.ZodString>;
|
|
383
|
-
}, z.
|
|
378
|
+
}, z.ZodUnknown, "strip"> | (string | z.objectInputType<{
|
|
384
379
|
avatar: z.ZodOptional<z.ZodString>;
|
|
385
380
|
image: z.ZodOptional<z.ZodString>;
|
|
386
381
|
name: z.ZodString;
|
|
387
382
|
url: z.ZodOptional<z.ZodString>;
|
|
388
|
-
}, z.
|
|
383
|
+
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
389
384
|
changelog?: {
|
|
390
385
|
date?: string | Date | undefined;
|
|
391
386
|
category?: string | undefined;
|
|
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,29 +1185,36 @@ 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
|
}>]>>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Site-wide mount point prepended to every generated route (e.g. `/docs`),
|
|
1213
|
+
* while staying invisible to the sidebar/nav tree. Distinct from a per-source
|
|
1214
|
+
* `prefix` (which creates a group) and from `deployment.base` (Astro's
|
|
1215
|
+
* host-subdirectory base); the two compose. Normalized to `""` or `/seg`.
|
|
1216
|
+
*/
|
|
1217
|
+
basePath: z.ZodEffects<z.ZodOptional<z.ZodString>, string, string | undefined>;
|
|
1152
1218
|
content: z.ZodDefault<z.ZodObject<{
|
|
1153
1219
|
defaultType: z.ZodDefault<z.ZodString>;
|
|
1154
1220
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1169,15 +1235,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1169
1235
|
type: z.ZodLiteral<"filesystem">;
|
|
1170
1236
|
}, "strict", z.ZodTypeAny, {
|
|
1171
1237
|
type: "filesystem";
|
|
1238
|
+
root: string;
|
|
1172
1239
|
exclude: string[];
|
|
1173
1240
|
include: string[];
|
|
1174
|
-
root: string;
|
|
1175
1241
|
prefix?: string | undefined;
|
|
1176
1242
|
}, {
|
|
1177
1243
|
type: "filesystem";
|
|
1244
|
+
root?: string | undefined;
|
|
1178
1245
|
exclude?: string[] | undefined;
|
|
1179
1246
|
include?: string[] | undefined;
|
|
1180
|
-
root?: string | undefined;
|
|
1181
1247
|
prefix?: string | undefined;
|
|
1182
1248
|
}>, z.ZodObject<{
|
|
1183
1249
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -1280,14 +1346,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1280
1346
|
slug: z.ZodOptional<z.ZodString>;
|
|
1281
1347
|
title: z.ZodOptional<z.ZodString>;
|
|
1282
1348
|
}, "strict", z.ZodTypeAny, {
|
|
1283
|
-
body?: string | undefined;
|
|
1284
1349
|
title?: string | undefined;
|
|
1350
|
+
body?: string | undefined;
|
|
1285
1351
|
description?: string | undefined;
|
|
1286
1352
|
lastModified?: string | undefined;
|
|
1287
1353
|
slug?: string | undefined;
|
|
1288
1354
|
}, {
|
|
1289
|
-
body?: string | undefined;
|
|
1290
1355
|
title?: string | undefined;
|
|
1356
|
+
body?: string | undefined;
|
|
1291
1357
|
description?: string | undefined;
|
|
1292
1358
|
lastModified?: string | undefined;
|
|
1293
1359
|
slug?: string | undefined;
|
|
@@ -1308,8 +1374,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1308
1374
|
pollInterval?: number | undefined;
|
|
1309
1375
|
apiVersion?: string | undefined;
|
|
1310
1376
|
fields?: {
|
|
1311
|
-
body?: string | undefined;
|
|
1312
1377
|
title?: string | undefined;
|
|
1378
|
+
body?: string | undefined;
|
|
1313
1379
|
description?: string | undefined;
|
|
1314
1380
|
lastModified?: string | undefined;
|
|
1315
1381
|
slug?: string | undefined;
|
|
@@ -1323,8 +1389,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1323
1389
|
pollInterval?: number | undefined;
|
|
1324
1390
|
apiVersion?: string | undefined;
|
|
1325
1391
|
fields?: {
|
|
1326
|
-
body?: string | undefined;
|
|
1327
1392
|
title?: string | undefined;
|
|
1393
|
+
body?: string | undefined;
|
|
1328
1394
|
description?: string | undefined;
|
|
1329
1395
|
lastModified?: string | undefined;
|
|
1330
1396
|
slug?: string | undefined;
|
|
@@ -1342,14 +1408,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1342
1408
|
status: z.ZodOptional<z.ZodString>;
|
|
1343
1409
|
title: z.ZodOptional<z.ZodString>;
|
|
1344
1410
|
}, "strict", z.ZodTypeAny, {
|
|
1345
|
-
status?: string | undefined;
|
|
1346
1411
|
title?: string | undefined;
|
|
1412
|
+
status?: string | undefined;
|
|
1347
1413
|
description?: string | undefined;
|
|
1348
1414
|
order?: string | undefined;
|
|
1349
1415
|
slug?: string | undefined;
|
|
1350
1416
|
}, {
|
|
1351
|
-
status?: string | undefined;
|
|
1352
1417
|
title?: string | undefined;
|
|
1418
|
+
status?: string | undefined;
|
|
1353
1419
|
description?: string | undefined;
|
|
1354
1420
|
order?: string | undefined;
|
|
1355
1421
|
slug?: string | undefined;
|
|
@@ -1363,8 +1429,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1363
1429
|
prefix?: string | undefined;
|
|
1364
1430
|
pollInterval?: number | undefined;
|
|
1365
1431
|
properties?: {
|
|
1366
|
-
status?: string | undefined;
|
|
1367
1432
|
title?: string | undefined;
|
|
1433
|
+
status?: string | undefined;
|
|
1368
1434
|
description?: string | undefined;
|
|
1369
1435
|
order?: string | undefined;
|
|
1370
1436
|
slug?: string | undefined;
|
|
@@ -1376,8 +1442,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1376
1442
|
prefix?: string | undefined;
|
|
1377
1443
|
pollInterval?: number | undefined;
|
|
1378
1444
|
properties?: {
|
|
1379
|
-
status?: string | undefined;
|
|
1380
1445
|
title?: string | undefined;
|
|
1446
|
+
status?: string | undefined;
|
|
1381
1447
|
description?: string | undefined;
|
|
1382
1448
|
order?: string | undefined;
|
|
1383
1449
|
slug?: string | undefined;
|
|
@@ -1394,16 +1460,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1394
1460
|
source: ContentSource;
|
|
1395
1461
|
}>]>, "many">>;
|
|
1396
1462
|
}, "strict", z.ZodTypeAny, {
|
|
1463
|
+
root: string;
|
|
1397
1464
|
exclude: string[];
|
|
1398
1465
|
defaultType: string;
|
|
1399
1466
|
include: string[];
|
|
1400
1467
|
pages: string;
|
|
1401
|
-
root: string;
|
|
1402
1468
|
sources?: ({
|
|
1403
1469
|
type: "filesystem";
|
|
1470
|
+
root: string;
|
|
1404
1471
|
exclude: string[];
|
|
1405
1472
|
include: string[];
|
|
1406
|
-
root: string;
|
|
1407
1473
|
prefix?: string | undefined;
|
|
1408
1474
|
} | {
|
|
1409
1475
|
type: "mdx-remote";
|
|
@@ -1436,8 +1502,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1436
1502
|
pollInterval?: number | undefined;
|
|
1437
1503
|
apiVersion?: string | undefined;
|
|
1438
1504
|
fields?: {
|
|
1439
|
-
body?: string | undefined;
|
|
1440
1505
|
title?: string | undefined;
|
|
1506
|
+
body?: string | undefined;
|
|
1441
1507
|
description?: string | undefined;
|
|
1442
1508
|
lastModified?: string | undefined;
|
|
1443
1509
|
slug?: string | undefined;
|
|
@@ -1448,8 +1514,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1448
1514
|
prefix?: string | undefined;
|
|
1449
1515
|
pollInterval?: number | undefined;
|
|
1450
1516
|
properties?: {
|
|
1451
|
-
status?: string | undefined;
|
|
1452
1517
|
title?: string | undefined;
|
|
1518
|
+
status?: string | undefined;
|
|
1453
1519
|
description?: string | undefined;
|
|
1454
1520
|
order?: string | undefined;
|
|
1455
1521
|
slug?: string | undefined;
|
|
@@ -1460,12 +1526,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1460
1526
|
source: ContentSource;
|
|
1461
1527
|
})[] | undefined;
|
|
1462
1528
|
}, {
|
|
1529
|
+
root?: string | undefined;
|
|
1463
1530
|
exclude?: string[] | undefined;
|
|
1464
1531
|
sources?: ({
|
|
1465
1532
|
type: "filesystem";
|
|
1533
|
+
root?: string | undefined;
|
|
1466
1534
|
exclude?: string[] | undefined;
|
|
1467
1535
|
include?: string[] | undefined;
|
|
1468
|
-
root?: string | undefined;
|
|
1469
1536
|
prefix?: string | undefined;
|
|
1470
1537
|
} | {
|
|
1471
1538
|
type: "mdx-remote";
|
|
@@ -1498,8 +1565,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1498
1565
|
pollInterval?: number | undefined;
|
|
1499
1566
|
apiVersion?: string | undefined;
|
|
1500
1567
|
fields?: {
|
|
1501
|
-
body?: string | undefined;
|
|
1502
1568
|
title?: string | undefined;
|
|
1569
|
+
body?: string | undefined;
|
|
1503
1570
|
description?: string | undefined;
|
|
1504
1571
|
lastModified?: string | undefined;
|
|
1505
1572
|
slug?: string | undefined;
|
|
@@ -1510,8 +1577,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1510
1577
|
prefix?: string | undefined;
|
|
1511
1578
|
pollInterval?: number | undefined;
|
|
1512
1579
|
properties?: {
|
|
1513
|
-
status?: string | undefined;
|
|
1514
1580
|
title?: string | undefined;
|
|
1581
|
+
status?: string | undefined;
|
|
1515
1582
|
description?: string | undefined;
|
|
1516
1583
|
order?: string | undefined;
|
|
1517
1584
|
slug?: string | undefined;
|
|
@@ -1524,7 +1591,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1524
1591
|
defaultType?: string | undefined;
|
|
1525
1592
|
include?: string[] | undefined;
|
|
1526
1593
|
pages?: string | undefined;
|
|
1527
|
-
root?: string | undefined;
|
|
1528
1594
|
}>>;
|
|
1529
1595
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1530
1596
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1544,19 +1610,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1544
1610
|
}>>;
|
|
1545
1611
|
description: z.ZodOptional<z.ZodString>;
|
|
1546
1612
|
/**
|
|
1547
|
-
* Where `<Component path>` resolves live previews and their source from
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
*
|
|
1551
|
-
*
|
|
1552
|
-
* matching files are discovered and a `<Component path>` key is relative to
|
|
1553
|
-
* the glob's static prefix. Use this for a registry layout that colocates
|
|
1554
|
-
* component sources with their examples — `registry/<pkg>/**\/examples/*`
|
|
1555
|
-
* targets just the examples, leaving the sources (which have no default
|
|
1556
|
-
* export to wrap) out, so the registry needn't be forked into its own
|
|
1557
|
-
* examples directory.
|
|
1613
|
+
* Where `<Component path>` resolves live previews and their source from.
|
|
1614
|
+
* A string is shorthand for `{ source }` — the directory (or glob, for
|
|
1615
|
+
* colocated registry layouts) under the project root that holds example
|
|
1616
|
+
* files. The object form adds `css`: a stylesheet injected into every
|
|
1617
|
+
* preview frame (design tokens, shadcn variables, `@theme` mappings).
|
|
1558
1618
|
*/
|
|
1559
|
-
examples: z.ZodDefault<z.ZodString
|
|
1619
|
+
examples: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1620
|
+
css: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
source: z.ZodDefault<z.ZodString>;
|
|
1622
|
+
}, "strict", z.ZodTypeAny, {
|
|
1623
|
+
source: string;
|
|
1624
|
+
css?: string | undefined;
|
|
1625
|
+
}, {
|
|
1626
|
+
source?: string | undefined;
|
|
1627
|
+
css?: string | undefined;
|
|
1628
|
+
}>]>, {
|
|
1629
|
+
css?: string;
|
|
1630
|
+
source: string;
|
|
1631
|
+
}, string | {
|
|
1632
|
+
source?: string | undefined;
|
|
1633
|
+
css?: string | undefined;
|
|
1634
|
+
}>>;
|
|
1560
1635
|
export: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1561
1636
|
epub: z.ZodDefault<z.ZodBoolean>;
|
|
1562
1637
|
pdf: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1689,16 +1764,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1689
1764
|
dark?: string | undefined;
|
|
1690
1765
|
light?: string | undefined;
|
|
1691
1766
|
} | undefined;
|
|
1692
|
-
href?: string | undefined;
|
|
1693
1767
|
text?: string | undefined;
|
|
1768
|
+
href?: string | undefined;
|
|
1694
1769
|
}, {
|
|
1695
1770
|
image?: string | {
|
|
1696
1771
|
alt?: string | undefined;
|
|
1697
1772
|
dark?: string | undefined;
|
|
1698
1773
|
light?: string | undefined;
|
|
1699
1774
|
} | undefined;
|
|
1700
|
-
href?: string | undefined;
|
|
1701
1775
|
text?: string | undefined;
|
|
1776
|
+
href?: string | undefined;
|
|
1702
1777
|
}>]>>;
|
|
1703
1778
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1704
1779
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1786,7 +1861,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1786
1861
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1787
1862
|
/** Server name shown to clients; defaults to the site title. */
|
|
1788
1863
|
name: z.ZodOptional<z.ZodString>;
|
|
1789
|
-
|
|
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>;
|
|
1790
1869
|
}, "strict", z.ZodTypeAny, {
|
|
1791
1870
|
enabled: boolean;
|
|
1792
1871
|
route: string;
|
|
@@ -1846,10 +1925,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1846
1925
|
icon?: string | undefined;
|
|
1847
1926
|
tag?: string | undefined;
|
|
1848
1927
|
}[];
|
|
1849
|
-
kind: "version" | "
|
|
1928
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
1850
1929
|
}, {
|
|
1851
1930
|
label: string;
|
|
1852
|
-
kind: "version" | "
|
|
1931
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
1853
1932
|
items?: {
|
|
1854
1933
|
path: string;
|
|
1855
1934
|
label: string;
|
|
@@ -1946,7 +2025,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1946
2025
|
icon?: string | undefined;
|
|
1947
2026
|
tag?: string | undefined;
|
|
1948
2027
|
}[];
|
|
1949
|
-
kind: "version" | "
|
|
2028
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
1950
2029
|
}[];
|
|
1951
2030
|
tabs?: {
|
|
1952
2031
|
path: string;
|
|
@@ -1973,7 +2052,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1973
2052
|
}[] | undefined;
|
|
1974
2053
|
selectors?: {
|
|
1975
2054
|
label: string;
|
|
1976
|
-
kind: "version" | "
|
|
2055
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
1977
2056
|
items?: {
|
|
1978
2057
|
path: string;
|
|
1979
2058
|
label: string;
|
|
@@ -2053,6 +2132,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2053
2132
|
expandSchemas?: boolean | undefined;
|
|
2054
2133
|
renderer?: "blume" | "scalar" | undefined;
|
|
2055
2134
|
}>>;
|
|
2135
|
+
react: z.ZodDefault<z.ZodObject<{
|
|
2136
|
+
/**
|
|
2137
|
+
* Auto-memoize React components/hooks with the React Compiler
|
|
2138
|
+
* (`babel-plugin-react-compiler`). On by default whenever React is enabled
|
|
2139
|
+
* (a project `.tsx`/`.jsx`, a React island/example/override, or Ask AI); set
|
|
2140
|
+
* to `false` to skip the compiler's babel pass.
|
|
2141
|
+
*/
|
|
2142
|
+
compiler: z.ZodDefault<z.ZodBoolean>;
|
|
2143
|
+
}, "strict", z.ZodTypeAny, {
|
|
2144
|
+
compiler: boolean;
|
|
2145
|
+
}, {
|
|
2146
|
+
compiler?: boolean | undefined;
|
|
2147
|
+
}>>;
|
|
2056
2148
|
redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2057
2149
|
from: z.ZodString;
|
|
2058
2150
|
status: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
@@ -2380,13 +2472,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2380
2472
|
light?: string | undefined;
|
|
2381
2473
|
} | undefined>;
|
|
2382
2474
|
fonts: z.ZodDefault<z.ZodObject<{
|
|
2383
|
-
body: z.ZodDefault<z.ZodEffects<z.ZodString,
|
|
2384
|
-
display: z.ZodDefault<z.ZodEffects<z.ZodString,
|
|
2385
|
-
mono: z.ZodDefault<z.ZodEffects<z.ZodString,
|
|
2475
|
+
body: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2476
|
+
display: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2477
|
+
mono: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2386
2478
|
}, "strict", z.ZodTypeAny, {
|
|
2387
|
-
mono:
|
|
2388
|
-
display:
|
|
2389
|
-
body:
|
|
2479
|
+
mono: string;
|
|
2480
|
+
display: string;
|
|
2481
|
+
body: string;
|
|
2390
2482
|
}, {
|
|
2391
2483
|
mono?: string | undefined;
|
|
2392
2484
|
display?: string | undefined;
|
|
@@ -2401,9 +2493,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2401
2493
|
light: string;
|
|
2402
2494
|
};
|
|
2403
2495
|
fonts: {
|
|
2404
|
-
mono:
|
|
2405
|
-
display:
|
|
2406
|
-
body:
|
|
2496
|
+
mono: string;
|
|
2497
|
+
display: string;
|
|
2498
|
+
body: string;
|
|
2407
2499
|
};
|
|
2408
2500
|
layout: "sidebar";
|
|
2409
2501
|
mode: "dark" | "light" | "system";
|
|
@@ -2460,7 +2552,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2460
2552
|
} | undefined>;
|
|
2461
2553
|
}, "strict", z.ZodTypeAny, {
|
|
2462
2554
|
title: string;
|
|
2463
|
-
|
|
2555
|
+
lastModified: boolean | {
|
|
2556
|
+
type: "git" | "frontmatter";
|
|
2557
|
+
};
|
|
2464
2558
|
search: {
|
|
2465
2559
|
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2466
2560
|
indexing: {
|
|
@@ -2487,14 +2581,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2487
2581
|
protocol?: "http" | "https" | undefined;
|
|
2488
2582
|
} | undefined;
|
|
2489
2583
|
};
|
|
2490
|
-
toc: {
|
|
2491
|
-
enabled: boolean;
|
|
2492
|
-
maxLevel: number;
|
|
2493
|
-
minLevel: number;
|
|
2494
|
-
};
|
|
2495
|
-
lastModified: boolean | {
|
|
2496
|
-
type: "git" | "frontmatter";
|
|
2497
|
-
};
|
|
2498
2584
|
seo: {
|
|
2499
2585
|
agentReadability: boolean;
|
|
2500
2586
|
contentSignals: {
|
|
@@ -2514,8 +2600,26 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2514
2600
|
sitemap: boolean;
|
|
2515
2601
|
structuredData: boolean;
|
|
2516
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
|
+
};
|
|
2517
2617
|
ai: {
|
|
2518
|
-
llmsTxt:
|
|
2618
|
+
llmsTxt: {
|
|
2619
|
+
enabled: boolean;
|
|
2620
|
+
openapi: boolean;
|
|
2621
|
+
};
|
|
2622
|
+
markdownComponents: Record<string, ComponentMarkdown>;
|
|
2519
2623
|
ask?: {
|
|
2520
2624
|
enabled: boolean;
|
|
2521
2625
|
model: string;
|
|
@@ -2529,16 +2633,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2529
2633
|
} | undefined;
|
|
2530
2634
|
};
|
|
2531
2635
|
content: {
|
|
2636
|
+
root: string;
|
|
2532
2637
|
exclude: string[];
|
|
2533
2638
|
defaultType: string;
|
|
2534
2639
|
include: string[];
|
|
2535
2640
|
pages: string;
|
|
2536
|
-
root: string;
|
|
2537
2641
|
sources?: ({
|
|
2538
2642
|
type: "filesystem";
|
|
2643
|
+
root: string;
|
|
2539
2644
|
exclude: string[];
|
|
2540
2645
|
include: string[];
|
|
2541
|
-
root: string;
|
|
2542
2646
|
prefix?: string | undefined;
|
|
2543
2647
|
} | {
|
|
2544
2648
|
type: "mdx-remote";
|
|
@@ -2571,8 +2675,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2571
2675
|
pollInterval?: number | undefined;
|
|
2572
2676
|
apiVersion?: string | undefined;
|
|
2573
2677
|
fields?: {
|
|
2574
|
-
body?: string | undefined;
|
|
2575
2678
|
title?: string | undefined;
|
|
2679
|
+
body?: string | undefined;
|
|
2576
2680
|
description?: string | undefined;
|
|
2577
2681
|
lastModified?: string | undefined;
|
|
2578
2682
|
slug?: string | undefined;
|
|
@@ -2583,8 +2687,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2583
2687
|
prefix?: string | undefined;
|
|
2584
2688
|
pollInterval?: number | undefined;
|
|
2585
2689
|
properties?: {
|
|
2586
|
-
status?: string | undefined;
|
|
2587
2690
|
title?: string | undefined;
|
|
2691
|
+
status?: string | undefined;
|
|
2588
2692
|
description?: string | undefined;
|
|
2589
2693
|
order?: string | undefined;
|
|
2590
2694
|
slug?: string | undefined;
|
|
@@ -2601,9 +2705,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2601
2705
|
light: string;
|
|
2602
2706
|
};
|
|
2603
2707
|
fonts: {
|
|
2604
|
-
mono:
|
|
2605
|
-
display:
|
|
2606
|
-
body:
|
|
2708
|
+
mono: string;
|
|
2709
|
+
display: string;
|
|
2710
|
+
body: string;
|
|
2607
2711
|
};
|
|
2608
2712
|
layout: "sidebar";
|
|
2609
2713
|
mode: "dark" | "light" | "system";
|
|
@@ -2629,17 +2733,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2629
2733
|
spec?: string | undefined;
|
|
2630
2734
|
theme?: string | undefined;
|
|
2631
2735
|
};
|
|
2736
|
+
basePath: string;
|
|
2632
2737
|
deployment: {
|
|
2633
2738
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2634
2739
|
output: "static" | "server";
|
|
2635
2740
|
base?: string | undefined;
|
|
2636
2741
|
site?: string | undefined;
|
|
2637
2742
|
};
|
|
2638
|
-
examples:
|
|
2743
|
+
examples: {
|
|
2744
|
+
css?: string;
|
|
2745
|
+
source: string;
|
|
2746
|
+
};
|
|
2639
2747
|
export: {
|
|
2640
2748
|
epub: boolean;
|
|
2641
2749
|
pdf: boolean;
|
|
2642
2750
|
};
|
|
2751
|
+
feedback: boolean;
|
|
2643
2752
|
markdown: {
|
|
2644
2753
|
code: {
|
|
2645
2754
|
icons: boolean;
|
|
@@ -2680,7 +2789,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2680
2789
|
icon?: string | undefined;
|
|
2681
2790
|
tag?: string | undefined;
|
|
2682
2791
|
}[];
|
|
2683
|
-
kind: "version" | "
|
|
2792
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
2684
2793
|
}[];
|
|
2685
2794
|
tabs?: {
|
|
2686
2795
|
path: string;
|
|
@@ -2695,25 +2804,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2695
2804
|
}[] | undefined;
|
|
2696
2805
|
}[] | undefined;
|
|
2697
2806
|
};
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
route: string;
|
|
2701
|
-
sources: {
|
|
2702
|
-
spec: string;
|
|
2703
|
-
label?: string | undefined;
|
|
2704
|
-
route?: string | undefined;
|
|
2705
|
-
}[];
|
|
2706
|
-
codeSamples: string[];
|
|
2707
|
-
expandSchemas: boolean;
|
|
2708
|
-
renderer: "blume" | "scalar";
|
|
2709
|
-
spec?: string | undefined;
|
|
2710
|
-
theme?: string | undefined;
|
|
2807
|
+
react: {
|
|
2808
|
+
compiler: boolean;
|
|
2711
2809
|
};
|
|
2712
2810
|
redirects: {
|
|
2713
2811
|
status: 301 | 302 | 307 | 308;
|
|
2714
2812
|
from: string;
|
|
2715
2813
|
to: string;
|
|
2716
2814
|
}[];
|
|
2815
|
+
toc: {
|
|
2816
|
+
enabled: boolean;
|
|
2817
|
+
maxLevel: number;
|
|
2818
|
+
minLevel: number;
|
|
2819
|
+
};
|
|
2717
2820
|
description?: string | undefined;
|
|
2718
2821
|
analytics?: {
|
|
2719
2822
|
posthog?: {
|
|
@@ -2733,8 +2836,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2733
2836
|
dismissible: boolean;
|
|
2734
2837
|
id?: string | undefined;
|
|
2735
2838
|
link?: {
|
|
2736
|
-
href: string;
|
|
2737
2839
|
text: string;
|
|
2840
|
+
href: string;
|
|
2738
2841
|
} | undefined;
|
|
2739
2842
|
} | undefined;
|
|
2740
2843
|
github?: {
|
|
@@ -2761,12 +2864,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2761
2864
|
dark?: string | undefined;
|
|
2762
2865
|
light?: string | undefined;
|
|
2763
2866
|
} | undefined;
|
|
2764
|
-
href?: string | undefined;
|
|
2765
2867
|
text?: string | undefined;
|
|
2868
|
+
href?: string | undefined;
|
|
2766
2869
|
} | undefined;
|
|
2767
2870
|
}, {
|
|
2768
2871
|
title?: string | undefined;
|
|
2769
|
-
|
|
2872
|
+
description?: string | undefined;
|
|
2873
|
+
lastModified?: boolean | {
|
|
2874
|
+
type?: "git" | "frontmatter" | undefined;
|
|
2875
|
+
} | undefined;
|
|
2770
2876
|
search?: {
|
|
2771
2877
|
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2772
2878
|
algolia?: {
|
|
@@ -2793,14 +2899,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2793
2899
|
protocol?: "http" | "https" | undefined;
|
|
2794
2900
|
} | undefined;
|
|
2795
2901
|
} | undefined;
|
|
2796
|
-
toc?: boolean | {
|
|
2797
|
-
maxHeadingLevel?: number | undefined;
|
|
2798
|
-
minHeadingLevel?: number | undefined;
|
|
2799
|
-
} | undefined;
|
|
2800
|
-
description?: string | undefined;
|
|
2801
|
-
lastModified?: boolean | {
|
|
2802
|
-
type?: "git" | "frontmatter" | undefined;
|
|
2803
|
-
} | undefined;
|
|
2804
2902
|
seo?: {
|
|
2805
2903
|
agentReadability?: boolean | undefined;
|
|
2806
2904
|
contentSignals?: boolean | {
|
|
@@ -2820,6 +2918,20 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2820
2918
|
sitemap?: boolean | undefined;
|
|
2821
2919
|
structuredData?: boolean | undefined;
|
|
2822
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;
|
|
2823
2935
|
ai?: {
|
|
2824
2936
|
ask?: {
|
|
2825
2937
|
apiKeyEnv?: string | undefined;
|
|
@@ -2832,15 +2944,20 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2832
2944
|
icon?: string | undefined;
|
|
2833
2945
|
}[] | undefined;
|
|
2834
2946
|
} | undefined;
|
|
2835
|
-
llmsTxt?: boolean |
|
|
2947
|
+
llmsTxt?: boolean | {
|
|
2948
|
+
enabled?: boolean | undefined;
|
|
2949
|
+
openapi?: boolean | undefined;
|
|
2950
|
+
} | undefined;
|
|
2951
|
+
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
2836
2952
|
} | undefined;
|
|
2837
2953
|
content?: {
|
|
2954
|
+
root?: string | undefined;
|
|
2838
2955
|
exclude?: string[] | undefined;
|
|
2839
2956
|
sources?: ({
|
|
2840
2957
|
type: "filesystem";
|
|
2958
|
+
root?: string | undefined;
|
|
2841
2959
|
exclude?: string[] | undefined;
|
|
2842
2960
|
include?: string[] | undefined;
|
|
2843
|
-
root?: string | undefined;
|
|
2844
2961
|
prefix?: string | undefined;
|
|
2845
2962
|
} | {
|
|
2846
2963
|
type: "mdx-remote";
|
|
@@ -2873,8 +2990,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2873
2990
|
pollInterval?: number | undefined;
|
|
2874
2991
|
apiVersion?: string | undefined;
|
|
2875
2992
|
fields?: {
|
|
2876
|
-
body?: string | undefined;
|
|
2877
2993
|
title?: string | undefined;
|
|
2994
|
+
body?: string | undefined;
|
|
2878
2995
|
description?: string | undefined;
|
|
2879
2996
|
lastModified?: string | undefined;
|
|
2880
2997
|
slug?: string | undefined;
|
|
@@ -2885,8 +3002,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2885
3002
|
prefix?: string | undefined;
|
|
2886
3003
|
pollInterval?: number | undefined;
|
|
2887
3004
|
properties?: {
|
|
2888
|
-
status?: string | undefined;
|
|
2889
3005
|
title?: string | undefined;
|
|
3006
|
+
status?: string | undefined;
|
|
2890
3007
|
description?: string | undefined;
|
|
2891
3008
|
order?: string | undefined;
|
|
2892
3009
|
slug?: string | undefined;
|
|
@@ -2899,7 +3016,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2899
3016
|
defaultType?: string | undefined;
|
|
2900
3017
|
include?: string[] | undefined;
|
|
2901
3018
|
pages?: string | undefined;
|
|
2902
|
-
root?: string | undefined;
|
|
2903
3019
|
} | undefined;
|
|
2904
3020
|
analytics?: {
|
|
2905
3021
|
posthog?: {
|
|
@@ -2951,12 +3067,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2951
3067
|
banner?: string | {
|
|
2952
3068
|
content: string;
|
|
2953
3069
|
id?: string | undefined;
|
|
2954
|
-
dismissible?: boolean | undefined;
|
|
2955
3070
|
link?: {
|
|
2956
|
-
href: string;
|
|
2957
3071
|
text: string;
|
|
3072
|
+
href: string;
|
|
2958
3073
|
} | undefined;
|
|
3074
|
+
dismissible?: boolean | undefined;
|
|
2959
3075
|
} | undefined;
|
|
3076
|
+
basePath?: string | undefined;
|
|
2960
3077
|
github?: {
|
|
2961
3078
|
owner: string;
|
|
2962
3079
|
repo: string;
|
|
@@ -2969,11 +3086,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2969
3086
|
output?: "static" | "server" | undefined;
|
|
2970
3087
|
site?: string | undefined;
|
|
2971
3088
|
} | undefined;
|
|
2972
|
-
examples?: string |
|
|
3089
|
+
examples?: string | {
|
|
3090
|
+
source?: string | undefined;
|
|
3091
|
+
css?: string | undefined;
|
|
3092
|
+
} | undefined;
|
|
2973
3093
|
export?: boolean | {
|
|
2974
3094
|
epub?: boolean | undefined;
|
|
2975
3095
|
pdf?: boolean | undefined;
|
|
2976
3096
|
} | undefined;
|
|
3097
|
+
feedback?: boolean | undefined;
|
|
2977
3098
|
i18n?: {
|
|
2978
3099
|
locales: {
|
|
2979
3100
|
code: string;
|
|
@@ -2992,8 +3113,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2992
3113
|
dark?: string | undefined;
|
|
2993
3114
|
light?: string | undefined;
|
|
2994
3115
|
} | undefined;
|
|
2995
|
-
href?: string | undefined;
|
|
2996
3116
|
text?: string | undefined;
|
|
3117
|
+
href?: string | undefined;
|
|
2997
3118
|
} | undefined;
|
|
2998
3119
|
markdown?: {
|
|
2999
3120
|
code?: {
|
|
@@ -3028,7 +3149,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3028
3149
|
}[] | undefined;
|
|
3029
3150
|
selectors?: {
|
|
3030
3151
|
label: string;
|
|
3031
|
-
kind: "version" | "
|
|
3152
|
+
kind: "version" | "product" | "dropdown" | "language";
|
|
3032
3153
|
items?: {
|
|
3033
3154
|
path: string;
|
|
3034
3155
|
label: string;
|
|
@@ -3050,25 +3171,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3050
3171
|
}[] | undefined;
|
|
3051
3172
|
}[] | undefined;
|
|
3052
3173
|
} | undefined;
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
route?: string | undefined;
|
|
3056
|
-
spec?: string | undefined;
|
|
3057
|
-
sources?: {
|
|
3058
|
-
spec: string;
|
|
3059
|
-
label?: string | undefined;
|
|
3060
|
-
route?: string | undefined;
|
|
3061
|
-
}[] | undefined;
|
|
3062
|
-
theme?: string | undefined;
|
|
3063
|
-
codeSamples?: string[] | undefined;
|
|
3064
|
-
expandSchemas?: boolean | undefined;
|
|
3065
|
-
renderer?: "blume" | "scalar" | undefined;
|
|
3174
|
+
react?: {
|
|
3175
|
+
compiler?: boolean | undefined;
|
|
3066
3176
|
} | undefined;
|
|
3067
3177
|
redirects?: {
|
|
3068
3178
|
from: string;
|
|
3069
3179
|
to: string;
|
|
3070
3180
|
status?: 301 | 302 | 307 | 308 | undefined;
|
|
3071
3181
|
}[] | undefined;
|
|
3182
|
+
toc?: boolean | {
|
|
3183
|
+
maxHeadingLevel?: number | undefined;
|
|
3184
|
+
minHeadingLevel?: number | undefined;
|
|
3185
|
+
} | undefined;
|
|
3072
3186
|
}>;
|
|
3073
3187
|
/** Resolved config: every field present after defaults are applied. */
|
|
3074
3188
|
export type ResolvedConfig = z.infer<typeof blumeConfigSchema>;
|