blume 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +2235 -5942
- package/dist/cli/index.js.map +36 -65
- package/dist/types/core/config.d.ts +0 -8
- package/dist/types/core/data.d.ts +2 -2
- package/dist/types/core/schema.d.ts +58 -453
- package/dist/types/core/types.d.ts +1 -7
- package/docs/advanced/meta.ts +1 -8
- package/docs/advanced/skills.mdx +28 -0
- package/docs/configuration/ai.mdx +3 -1
- package/docs/configuration/index.mdx +13 -17
- package/docs/configuration/theming.mdx +3 -11
- package/docs/content/components.mdx +2 -53
- package/docs/content/i18n.mdx +1 -5
- package/docs/content/sources.mdx +1 -1
- package/docs/content/syntax.mdx +1 -1
- package/docs/index.mdx +0 -1
- package/docs/reference/cli.mdx +12 -13
- package/package.json +4 -6
- package/skills/blume/SKILL.md +71 -0
- package/skills/blume-update-docs/SKILL.md +52 -0
- package/skills/blume-update-docs/references/audit-checklist.md +46 -0
- package/src/ai/mcp/discovery.ts +3 -1
- package/src/ai/mcp/server.ts +3 -1
- package/src/astro/component-slots.ts +10 -2
- package/src/astro/generate.ts +15 -12
- package/src/astro/integration.ts +0 -21
- package/src/astro/templates.ts +62 -37
- package/src/cli/coalesce.ts +43 -0
- package/src/cli/commands/dev.ts +30 -22
- package/src/cli/commands/validate.ts +0 -2
- package/src/cli/dev-lock.ts +4 -2
- package/src/cli/index.ts +0 -2
- package/src/components/BlumePage.astro +0 -6
- package/src/components/Icon.astro +1 -12
- package/src/components/content/AccordionItem.astro +3 -6
- package/src/components/content/Badge.astro +1 -3
- package/src/components/content/Callout.astro +3 -9
- package/src/components/content/Card.astro +2 -3
- package/src/components/content/ColorItem.astro +8 -5
- package/src/components/content/Column.astro +1 -1
- package/src/components/content/Prompt.astro +8 -4
- package/src/components/content/Step.astro +3 -4
- package/src/components/content/Tab.astro +2 -3
- package/src/components/content/Tabs.astro +13 -2
- package/src/components/content/TypeTable.astro +5 -5
- package/src/components/content/Update.astro +1 -1
- package/src/components/content/mermaid-element.ts +20 -2
- package/src/components/islands/ask-ai.tsx +4 -8
- package/src/components/islands/base-path.ts +30 -0
- package/src/components/islands/hooks.ts +12 -8
- package/src/components/layout/Header.astro +26 -3
- package/src/components/layout/Logo.astro +5 -1
- package/src/components/layout/NavSelector.astro +1 -1
- package/src/components/layout/NavTree.astro +14 -14
- package/src/components/layout/PageActions.astro +17 -11
- package/src/components/layout/PageLayout.astro +42 -0
- package/src/components/layout/ReferenceLayout.astro +1 -0
- package/src/components/layout/RootLayout.astro +31 -2
- package/src/components/layout/Search.astro +9 -6
- package/src/components/layout/nav-utils.ts +9 -4
- package/src/components/layout/search/types.ts +16 -5
- package/src/components/openapi/ApiOverview.astro +4 -50
- package/src/components/openapi/ApiTagOperations.astro +42 -0
- package/src/components/openapi/ParametersTable.astro +1 -1
- package/src/components/openapi/SchemaProperty.astro +1 -1
- package/src/components/openapi/SchemaTable.astro +3 -3
- package/src/components/openapi/helpers.ts +17 -8
- package/src/components/openapi/snippets.ts +17 -4
- package/src/core/builtin-tags.ts +1 -3
- package/src/core/config.ts +19 -33
- package/src/core/data.ts +2 -2
- package/src/core/graph.ts +7 -5
- package/src/core/links.ts +5 -19
- package/src/core/meta.ts +1 -1
- package/src/core/navigation.ts +5 -6
- package/src/core/project-graph.ts +0 -5
- package/src/core/schema.ts +13 -90
- package/src/core/sources/filesystem.ts +19 -1
- package/src/core/sources/mdx-remote.ts +20 -4
- package/src/core/sources/normalize.ts +28 -6
- package/src/core/sources/resolve.ts +0 -13
- package/src/core/sources/watch.ts +45 -0
- package/src/core/types.ts +1 -8
- package/src/markdown/code-title.ts +6 -3
- package/src/markdown/package-install.ts +3 -1
- package/src/og/card.ts +16 -4
- package/src/openapi/parse.ts +197 -14
- package/src/openapi/render-mdx.ts +54 -11
- package/src/openapi/source.ts +19 -2
- package/src/search/sync/orama-cloud.ts +2 -0
- package/src/search/sync/typesense.ts +4 -0
- package/src/theme/entry.ts +45 -17
- package/src/theme/icons.ts +22 -104
- package/src/theme/palette.ts +35 -47
- package/src/theme/twoslash.ts +6 -1
- package/dist/types/core/bridge.d.ts +0 -24
- package/dist/types/migrate/mintlify/assets.d.ts +0 -8
- package/dist/types/migrate/mintlify/config.d.ts +0 -16
- package/dist/types/migrate/mintlify/i18n.d.ts +0 -7
- package/docs/advanced/bridge.mdx +0 -76
- package/docs/advanced/migrate.mdx +0 -123
- package/src/astro/static-assets.ts +0 -117
- package/src/cli/commands/migrate.ts +0 -39
- package/src/components/content/ApiField.astro +0 -75
- package/src/components/content/ParamField.astro +0 -39
- package/src/components/content/RequestField.astro +0 -23
- package/src/components/content/ResponseField.astro +0 -23
- package/src/components/content/Warning.astro +0 -9
- package/src/core/assets.ts +0 -31
- package/src/core/bridge.ts +0 -102
- package/src/core/sources/mintlify.ts +0 -204
- package/src/migrate/fumadocs/config.ts +0 -155
- package/src/migrate/fumadocs/content.ts +0 -378
- package/src/migrate/fumadocs/frontmatter.ts +0 -18
- package/src/migrate/fumadocs/groups.ts +0 -237
- package/src/migrate/fumadocs/index.ts +0 -340
- package/src/migrate/fumadocs/meta.ts +0 -244
- package/src/migrate/migrate.ts +0 -53
- package/src/migrate/mintlify/assets.ts +0 -46
- package/src/migrate/mintlify/config.ts +0 -958
- package/src/migrate/mintlify/content.ts +0 -120
- package/src/migrate/mintlify/frontmatter.ts +0 -126
- package/src/migrate/mintlify/i18n.ts +0 -51
- package/src/migrate/mintlify/icons.ts +0 -128
- package/src/migrate/mintlify/index.ts +0 -372
- package/src/migrate/mintlify/snippets.ts +0 -306
- package/src/migrate/mintlify/transform.ts +0 -82
- package/src/migrate/nextra/content.ts +0 -46
- package/src/migrate/nextra/frontmatter.ts +0 -40
- package/src/migrate/nextra/index.ts +0 -374
- package/src/migrate/nextra/meta.ts +0 -266
- package/src/migrate/shared.ts +0 -728
- package/src/migrate/starlight/config.ts +0 -455
- package/src/migrate/starlight/content.ts +0 -78
- package/src/migrate/starlight/frontmatter.ts +0 -111
- package/src/migrate/starlight/i18n.ts +0 -54
- package/src/migrate/starlight/index.ts +0 -131
|
@@ -54,19 +54,11 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
54
54
|
deprecated: z.ZodDefault<z.ZodBoolean>;
|
|
55
55
|
description: z.ZodOptional<z.ZodString>;
|
|
56
56
|
draft: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
-
groups: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
58
57
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
59
|
-
hideApiMarker: z.ZodDefault<z.ZodBoolean>;
|
|
60
|
-
hideFooterPagination: z.ZodOptional<z.ZodBoolean>;
|
|
61
58
|
icon: z.ZodOptional<z.ZodString>;
|
|
62
|
-
iconType: z.ZodOptional<z.ZodString>;
|
|
63
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64
59
|
/** Overrides the git-derived last-modified date when `lastModified` is on. */
|
|
65
60
|
lastModified: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
66
|
-
mode: z.ZodOptional<z.ZodString>;
|
|
67
61
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
68
|
-
public: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
-
rss: z.ZodOptional<z.ZodBoolean>;
|
|
70
62
|
search: z.ZodDefault<z.ZodObject<{
|
|
71
63
|
boost: z.ZodOptional<z.ZodNumber>;
|
|
72
64
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -118,9 +110,7 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
118
110
|
badge?: string | undefined;
|
|
119
111
|
order?: number | undefined;
|
|
120
112
|
}>>;
|
|
121
|
-
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
122
113
|
slug: z.ZodOptional<z.ZodString>;
|
|
123
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
124
114
|
title: z.ZodOptional<z.ZodString>;
|
|
125
115
|
type: z.ZodDefault<z.ZodString>;
|
|
126
116
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -133,7 +123,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
133
123
|
deprecated: boolean;
|
|
134
124
|
draft: boolean;
|
|
135
125
|
hidden: boolean;
|
|
136
|
-
hideApiMarker: boolean;
|
|
137
126
|
noindex: boolean;
|
|
138
127
|
seo: {
|
|
139
128
|
noindex: boolean;
|
|
@@ -168,18 +157,9 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
168
157
|
category?: string | undefined;
|
|
169
158
|
version?: string | undefined;
|
|
170
159
|
} | undefined;
|
|
171
|
-
groups?: string | string[] | undefined;
|
|
172
|
-
hideFooterPagination?: boolean | undefined;
|
|
173
160
|
icon?: string | undefined;
|
|
174
|
-
iconType?: string | undefined;
|
|
175
|
-
keywords?: string[] | undefined;
|
|
176
161
|
lastModified?: string | undefined;
|
|
177
|
-
mode?: string | undefined;
|
|
178
|
-
public?: boolean | undefined;
|
|
179
|
-
rss?: boolean | undefined;
|
|
180
|
-
sidebarTitle?: string | undefined;
|
|
181
162
|
slug?: string | undefined;
|
|
182
|
-
tag?: string | undefined;
|
|
183
163
|
}, {
|
|
184
164
|
type?: string | undefined;
|
|
185
165
|
date?: string | Date | undefined;
|
|
@@ -208,18 +188,10 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
208
188
|
} | undefined;
|
|
209
189
|
deprecated?: boolean | undefined;
|
|
210
190
|
draft?: boolean | undefined;
|
|
211
|
-
groups?: string | string[] | undefined;
|
|
212
191
|
hidden?: boolean | undefined;
|
|
213
|
-
hideApiMarker?: boolean | undefined;
|
|
214
|
-
hideFooterPagination?: boolean | undefined;
|
|
215
192
|
icon?: string | undefined;
|
|
216
|
-
iconType?: string | undefined;
|
|
217
|
-
keywords?: string[] | undefined;
|
|
218
193
|
lastModified?: string | Date | undefined;
|
|
219
|
-
mode?: string | undefined;
|
|
220
194
|
noindex?: boolean | undefined;
|
|
221
|
-
public?: boolean | undefined;
|
|
222
|
-
rss?: boolean | undefined;
|
|
223
195
|
seo?: {
|
|
224
196
|
title?: string | undefined;
|
|
225
197
|
description?: string | undefined;
|
|
@@ -234,9 +206,7 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
234
206
|
badge?: string | undefined;
|
|
235
207
|
order?: number | undefined;
|
|
236
208
|
} | undefined;
|
|
237
|
-
sidebarTitle?: string | undefined;
|
|
238
209
|
slug?: string | undefined;
|
|
239
|
-
tag?: string | undefined;
|
|
240
210
|
}>;
|
|
241
211
|
export declare const pageMetaSchema: z.ZodObject<{
|
|
242
212
|
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
@@ -289,19 +259,11 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
289
259
|
deprecated: z.ZodDefault<z.ZodBoolean>;
|
|
290
260
|
description: z.ZodOptional<z.ZodString>;
|
|
291
261
|
draft: z.ZodDefault<z.ZodBoolean>;
|
|
292
|
-
groups: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
293
262
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
294
|
-
hideApiMarker: z.ZodDefault<z.ZodBoolean>;
|
|
295
|
-
hideFooterPagination: z.ZodOptional<z.ZodBoolean>;
|
|
296
263
|
icon: z.ZodOptional<z.ZodString>;
|
|
297
|
-
iconType: z.ZodOptional<z.ZodString>;
|
|
298
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
264
|
/** Overrides the git-derived last-modified date when `lastModified` is on. */
|
|
300
265
|
lastModified: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
301
|
-
mode: z.ZodOptional<z.ZodString>;
|
|
302
266
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
303
|
-
public: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
-
rss: z.ZodOptional<z.ZodBoolean>;
|
|
305
267
|
search: z.ZodDefault<z.ZodObject<{
|
|
306
268
|
boost: z.ZodOptional<z.ZodNumber>;
|
|
307
269
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -353,9 +315,7 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
353
315
|
badge?: string | undefined;
|
|
354
316
|
order?: number | undefined;
|
|
355
317
|
}>>;
|
|
356
|
-
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
357
318
|
slug: z.ZodOptional<z.ZodString>;
|
|
358
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
359
319
|
title: z.ZodOptional<z.ZodString>;
|
|
360
320
|
type: z.ZodDefault<z.ZodString>;
|
|
361
321
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -368,7 +328,6 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
368
328
|
deprecated: boolean;
|
|
369
329
|
draft: boolean;
|
|
370
330
|
hidden: boolean;
|
|
371
|
-
hideApiMarker: boolean;
|
|
372
331
|
noindex: boolean;
|
|
373
332
|
seo: {
|
|
374
333
|
noindex: boolean;
|
|
@@ -403,18 +362,9 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
403
362
|
category?: string | undefined;
|
|
404
363
|
version?: string | undefined;
|
|
405
364
|
} | undefined;
|
|
406
|
-
groups?: string | string[] | undefined;
|
|
407
|
-
hideFooterPagination?: boolean | undefined;
|
|
408
365
|
icon?: string | undefined;
|
|
409
|
-
iconType?: string | undefined;
|
|
410
|
-
keywords?: string[] | undefined;
|
|
411
366
|
lastModified?: string | undefined;
|
|
412
|
-
mode?: string | undefined;
|
|
413
|
-
public?: boolean | undefined;
|
|
414
|
-
rss?: boolean | undefined;
|
|
415
|
-
sidebarTitle?: string | undefined;
|
|
416
367
|
slug?: string | undefined;
|
|
417
|
-
tag?: string | undefined;
|
|
418
368
|
}, {
|
|
419
369
|
type?: string | undefined;
|
|
420
370
|
date?: string | Date | undefined;
|
|
@@ -443,18 +393,10 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
443
393
|
} | undefined;
|
|
444
394
|
deprecated?: boolean | undefined;
|
|
445
395
|
draft?: boolean | undefined;
|
|
446
|
-
groups?: string | string[] | undefined;
|
|
447
396
|
hidden?: boolean | undefined;
|
|
448
|
-
hideApiMarker?: boolean | undefined;
|
|
449
|
-
hideFooterPagination?: boolean | undefined;
|
|
450
397
|
icon?: string | undefined;
|
|
451
|
-
iconType?: string | undefined;
|
|
452
|
-
keywords?: string[] | undefined;
|
|
453
398
|
lastModified?: string | Date | undefined;
|
|
454
|
-
mode?: string | undefined;
|
|
455
399
|
noindex?: boolean | undefined;
|
|
456
|
-
public?: boolean | undefined;
|
|
457
|
-
rss?: boolean | undefined;
|
|
458
400
|
seo?: {
|
|
459
401
|
title?: string | undefined;
|
|
460
402
|
description?: string | undefined;
|
|
@@ -469,9 +411,7 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
469
411
|
badge?: string | undefined;
|
|
470
412
|
order?: number | undefined;
|
|
471
413
|
} | undefined;
|
|
472
|
-
sidebarTitle?: string | undefined;
|
|
473
414
|
slug?: string | undefined;
|
|
474
|
-
tag?: string | undefined;
|
|
475
415
|
}>;
|
|
476
416
|
export type PageMeta = z.infer<typeof pageMetaBaseSchema>;
|
|
477
417
|
export type PageMetaInput = z.input<typeof pageMetaBaseSchema>;
|
|
@@ -732,36 +672,6 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
732
672
|
slug?: string | undefined;
|
|
733
673
|
} | undefined;
|
|
734
674
|
publishedValue?: string | undefined;
|
|
735
|
-
}>, z.ZodObject<{
|
|
736
|
-
/** Absolute path of the `docs.json`/`mint.json`, watched for changes in dev. */
|
|
737
|
-
configFile: z.ZodOptional<z.ZodString>;
|
|
738
|
-
/** Patterns excluded from page discovery (Mintlify defaults are merged in). */
|
|
739
|
-
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
740
|
-
/** Glob patterns for Mintlify content files. */
|
|
741
|
-
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
742
|
-
/** Namespaces the source's routes under `/<prefix>/`. */
|
|
743
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
744
|
-
/** Content root, absolute or relative to the project root (Mintlify: `.`). */
|
|
745
|
-
root: z.ZodDefault<z.ZodString>;
|
|
746
|
-
type: z.ZodLiteral<"mintlify">;
|
|
747
|
-
/** `docs.json` variables, inlined into content (`{{name}}`) at scan time. */
|
|
748
|
-
variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
749
|
-
}, "strict", z.ZodTypeAny, {
|
|
750
|
-
type: "mintlify";
|
|
751
|
-
exclude: string[];
|
|
752
|
-
include: string[];
|
|
753
|
-
root: string;
|
|
754
|
-
variables: Record<string, string>;
|
|
755
|
-
prefix?: string | undefined;
|
|
756
|
-
configFile?: string | undefined;
|
|
757
|
-
}, {
|
|
758
|
-
type: "mintlify";
|
|
759
|
-
exclude?: string[] | undefined;
|
|
760
|
-
include?: string[] | undefined;
|
|
761
|
-
root?: string | undefined;
|
|
762
|
-
prefix?: string | undefined;
|
|
763
|
-
configFile?: string | undefined;
|
|
764
|
-
variables?: Record<string, string> | undefined;
|
|
765
675
|
}>, z.ZodObject<{
|
|
766
676
|
source: z.ZodType<ContentSource, z.ZodTypeDef, ContentSource>;
|
|
767
677
|
type: z.ZodLiteral<"custom">;
|
|
@@ -1114,23 +1024,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1114
1024
|
theme?: string | undefined;
|
|
1115
1025
|
}>>;
|
|
1116
1026
|
banner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1117
|
-
/** Background color override (Mintlify compatibility). */
|
|
1118
|
-
color: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1119
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
light: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
}, "strict", z.ZodTypeAny, {
|
|
1122
|
-
dark?: string | undefined;
|
|
1123
|
-
light?: string | undefined;
|
|
1124
|
-
}, {
|
|
1125
|
-
dark?: string | undefined;
|
|
1126
|
-
light?: string | undefined;
|
|
1127
|
-
}>, {
|
|
1128
|
-
dark?: string | undefined;
|
|
1129
|
-
light?: string | undefined;
|
|
1130
|
-
}, {
|
|
1131
|
-
dark?: string | undefined;
|
|
1132
|
-
light?: string | undefined;
|
|
1133
|
-
}>>;
|
|
1134
1027
|
content: z.ZodString;
|
|
1135
1028
|
/** Show a dismiss button; the choice is remembered per visitor. */
|
|
1136
1029
|
dismissible: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1146,29 +1039,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1146
1039
|
href: string;
|
|
1147
1040
|
text: string;
|
|
1148
1041
|
}>>;
|
|
1149
|
-
/** Tone (Mintlify compatibility). */
|
|
1150
|
-
type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
|
|
1151
1042
|
}, "strict", z.ZodTypeAny, {
|
|
1152
1043
|
content: string;
|
|
1153
1044
|
dismissible: boolean;
|
|
1154
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1155
1045
|
id?: string | undefined;
|
|
1156
|
-
color?: {
|
|
1157
|
-
dark?: string | undefined;
|
|
1158
|
-
light?: string | undefined;
|
|
1159
|
-
} | undefined;
|
|
1160
1046
|
link?: {
|
|
1161
1047
|
href: string;
|
|
1162
1048
|
text: string;
|
|
1163
1049
|
} | undefined;
|
|
1164
1050
|
}, {
|
|
1165
1051
|
content: string;
|
|
1166
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1167
1052
|
id?: string | undefined;
|
|
1168
|
-
color?: {
|
|
1169
|
-
dark?: string | undefined;
|
|
1170
|
-
light?: string | undefined;
|
|
1171
|
-
} | undefined;
|
|
1172
1053
|
dismissible?: boolean | undefined;
|
|
1173
1054
|
link?: {
|
|
1174
1055
|
href: string;
|
|
@@ -1176,13 +1057,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1176
1057
|
} | undefined;
|
|
1177
1058
|
}>]>>;
|
|
1178
1059
|
content: z.ZodDefault<z.ZodObject<{
|
|
1179
|
-
/**
|
|
1180
|
-
* Extra top-level directories (relative to the project root) served as
|
|
1181
|
-
* static assets at the site root, alongside `public/`. Lets projects keep
|
|
1182
|
-
* root-served asset folders in place — e.g. a Mintlify migration keeps
|
|
1183
|
-
* `images/` where it is instead of relocating it under `public/`.
|
|
1184
|
-
*/
|
|
1185
|
-
assets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1186
1060
|
defaultType: z.ZodDefault<z.ZodString>;
|
|
1187
1061
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1188
1062
|
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1416,36 +1290,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1416
1290
|
slug?: string | undefined;
|
|
1417
1291
|
} | undefined;
|
|
1418
1292
|
publishedValue?: string | undefined;
|
|
1419
|
-
}>, z.ZodObject<{
|
|
1420
|
-
/** Absolute path of the `docs.json`/`mint.json`, watched for changes in dev. */
|
|
1421
|
-
configFile: z.ZodOptional<z.ZodString>;
|
|
1422
|
-
/** Patterns excluded from page discovery (Mintlify defaults are merged in). */
|
|
1423
|
-
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1424
|
-
/** Glob patterns for Mintlify content files. */
|
|
1425
|
-
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1426
|
-
/** Namespaces the source's routes under `/<prefix>/`. */
|
|
1427
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1428
|
-
/** Content root, absolute or relative to the project root (Mintlify: `.`). */
|
|
1429
|
-
root: z.ZodDefault<z.ZodString>;
|
|
1430
|
-
type: z.ZodLiteral<"mintlify">;
|
|
1431
|
-
/** `docs.json` variables, inlined into content (`{{name}}`) at scan time. */
|
|
1432
|
-
variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1433
|
-
}, "strict", z.ZodTypeAny, {
|
|
1434
|
-
type: "mintlify";
|
|
1435
|
-
exclude: string[];
|
|
1436
|
-
include: string[];
|
|
1437
|
-
root: string;
|
|
1438
|
-
variables: Record<string, string>;
|
|
1439
|
-
prefix?: string | undefined;
|
|
1440
|
-
configFile?: string | undefined;
|
|
1441
|
-
}, {
|
|
1442
|
-
type: "mintlify";
|
|
1443
|
-
exclude?: string[] | undefined;
|
|
1444
|
-
include?: string[] | undefined;
|
|
1445
|
-
root?: string | undefined;
|
|
1446
|
-
prefix?: string | undefined;
|
|
1447
|
-
configFile?: string | undefined;
|
|
1448
|
-
variables?: Record<string, string> | undefined;
|
|
1449
1293
|
}>, z.ZodObject<{
|
|
1450
1294
|
source: z.ZodType<ContentSource, z.ZodTypeDef, ContentSource>;
|
|
1451
1295
|
type: z.ZodLiteral<"custom">;
|
|
@@ -1458,7 +1302,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1458
1302
|
}>]>, "many">>;
|
|
1459
1303
|
}, "strict", z.ZodTypeAny, {
|
|
1460
1304
|
exclude: string[];
|
|
1461
|
-
assets: string[];
|
|
1462
1305
|
defaultType: string;
|
|
1463
1306
|
include: string[];
|
|
1464
1307
|
pages: string;
|
|
@@ -1519,14 +1362,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1519
1362
|
slug?: string | undefined;
|
|
1520
1363
|
} | undefined;
|
|
1521
1364
|
publishedValue?: string | undefined;
|
|
1522
|
-
} | {
|
|
1523
|
-
type: "mintlify";
|
|
1524
|
-
exclude: string[];
|
|
1525
|
-
include: string[];
|
|
1526
|
-
root: string;
|
|
1527
|
-
variables: Record<string, string>;
|
|
1528
|
-
prefix?: string | undefined;
|
|
1529
|
-
configFile?: string | undefined;
|
|
1530
1365
|
} | {
|
|
1531
1366
|
type: "custom";
|
|
1532
1367
|
source: ContentSource;
|
|
@@ -1589,19 +1424,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1589
1424
|
slug?: string | undefined;
|
|
1590
1425
|
} | undefined;
|
|
1591
1426
|
publishedValue?: string | undefined;
|
|
1592
|
-
} | {
|
|
1593
|
-
type: "mintlify";
|
|
1594
|
-
exclude?: string[] | undefined;
|
|
1595
|
-
include?: string[] | undefined;
|
|
1596
|
-
root?: string | undefined;
|
|
1597
|
-
prefix?: string | undefined;
|
|
1598
|
-
configFile?: string | undefined;
|
|
1599
|
-
variables?: Record<string, string> | undefined;
|
|
1600
1427
|
} | {
|
|
1601
1428
|
type: "custom";
|
|
1602
1429
|
source: ContentSource;
|
|
1603
1430
|
})[] | undefined;
|
|
1604
|
-
assets?: string[] | undefined;
|
|
1605
1431
|
defaultType?: string | undefined;
|
|
1606
1432
|
include?: string[] | undefined;
|
|
1607
1433
|
pages?: string | undefined;
|
|
@@ -1654,16 +1480,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1654
1480
|
epub?: boolean | undefined;
|
|
1655
1481
|
pdf?: boolean | undefined;
|
|
1656
1482
|
}>>;
|
|
1657
|
-
favicon: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1658
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
1659
|
-
light: z.ZodOptional<z.ZodString>;
|
|
1660
|
-
}, "strict", z.ZodTypeAny, {
|
|
1661
|
-
dark?: string | undefined;
|
|
1662
|
-
light?: string | undefined;
|
|
1663
|
-
}, {
|
|
1664
|
-
dark?: string | undefined;
|
|
1665
|
-
light?: string | undefined;
|
|
1666
|
-
}>]>>;
|
|
1667
1483
|
feedback: z.ZodDefault<z.ZodBoolean>;
|
|
1668
1484
|
github: z.ZodOptional<z.ZodObject<{
|
|
1669
1485
|
branch: z.ZodDefault<z.ZodString>;
|
|
@@ -1751,13 +1567,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1751
1567
|
parser?: "dir" | "dot" | undefined;
|
|
1752
1568
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
1753
1569
|
}>>;
|
|
1754
|
-
icons: z.ZodDefault<z.ZodObject<{
|
|
1755
|
-
library: z.ZodDefault<z.ZodEnum<["lucide", "fontawesome", "tabler"]>>;
|
|
1756
|
-
}, "strict", z.ZodTypeAny, {
|
|
1757
|
-
library: "lucide" | "fontawesome" | "tabler";
|
|
1758
|
-
}, {
|
|
1759
|
-
library?: "lucide" | "fontawesome" | "tabler" | undefined;
|
|
1760
|
-
}>>;
|
|
1761
1570
|
lastModified: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1762
1571
|
type: z.ZodDefault<z.ZodEnum<["git", "frontmatter"]>>;
|
|
1763
1572
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1766,20 +1575,37 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1766
1575
|
type?: "git" | "frontmatter" | undefined;
|
|
1767
1576
|
}>]>>;
|
|
1768
1577
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1769
|
-
alt: z.ZodOptional<z.ZodString>;
|
|
1770
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
1771
1578
|
href: z.ZodOptional<z.ZodString>;
|
|
1772
|
-
|
|
1579
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1580
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
light: z.ZodOptional<z.ZodString>;
|
|
1583
|
+
}, "strict", z.ZodTypeAny, {
|
|
1584
|
+
alt?: string | undefined;
|
|
1585
|
+
dark?: string | undefined;
|
|
1586
|
+
light?: string | undefined;
|
|
1587
|
+
}, {
|
|
1588
|
+
alt?: string | undefined;
|
|
1589
|
+
dark?: string | undefined;
|
|
1590
|
+
light?: string | undefined;
|
|
1591
|
+
}>]>>;
|
|
1592
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1773
1593
|
}, "strict", z.ZodTypeAny, {
|
|
1774
|
-
|
|
1775
|
-
|
|
1594
|
+
image?: string | {
|
|
1595
|
+
alt?: string | undefined;
|
|
1596
|
+
dark?: string | undefined;
|
|
1597
|
+
light?: string | undefined;
|
|
1598
|
+
} | undefined;
|
|
1776
1599
|
href?: string | undefined;
|
|
1777
|
-
|
|
1600
|
+
text?: string | undefined;
|
|
1778
1601
|
}, {
|
|
1779
|
-
|
|
1780
|
-
|
|
1602
|
+
image?: string | {
|
|
1603
|
+
alt?: string | undefined;
|
|
1604
|
+
dark?: string | undefined;
|
|
1605
|
+
light?: string | undefined;
|
|
1606
|
+
} | undefined;
|
|
1781
1607
|
href?: string | undefined;
|
|
1782
|
-
|
|
1608
|
+
text?: string | undefined;
|
|
1783
1609
|
}>]>>;
|
|
1784
1610
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1785
1611
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1897,103 +1723,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1897
1723
|
instructions?: string | undefined;
|
|
1898
1724
|
}>>;
|
|
1899
1725
|
navigation: z.ZodDefault<z.ZodObject<{
|
|
1900
|
-
chromeVariants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1901
|
-
banner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1902
|
-
/** Background color override (Mintlify compatibility). */
|
|
1903
|
-
color: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1904
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
1905
|
-
light: z.ZodOptional<z.ZodString>;
|
|
1906
|
-
}, "strict", z.ZodTypeAny, {
|
|
1907
|
-
dark?: string | undefined;
|
|
1908
|
-
light?: string | undefined;
|
|
1909
|
-
}, {
|
|
1910
|
-
dark?: string | undefined;
|
|
1911
|
-
light?: string | undefined;
|
|
1912
|
-
}>, {
|
|
1913
|
-
dark?: string | undefined;
|
|
1914
|
-
light?: string | undefined;
|
|
1915
|
-
}, {
|
|
1916
|
-
dark?: string | undefined;
|
|
1917
|
-
light?: string | undefined;
|
|
1918
|
-
}>>;
|
|
1919
|
-
content: z.ZodString;
|
|
1920
|
-
/** Show a dismiss button; the choice is remembered per visitor. */
|
|
1921
|
-
dismissible: z.ZodDefault<z.ZodBoolean>;
|
|
1922
|
-
/** Stable key for remembering dismissal; defaults to the content. */
|
|
1923
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1924
|
-
link: z.ZodOptional<z.ZodObject<{
|
|
1925
|
-
href: z.ZodString;
|
|
1926
|
-
text: z.ZodString;
|
|
1927
|
-
}, "strict", z.ZodTypeAny, {
|
|
1928
|
-
href: string;
|
|
1929
|
-
text: string;
|
|
1930
|
-
}, {
|
|
1931
|
-
href: string;
|
|
1932
|
-
text: string;
|
|
1933
|
-
}>>;
|
|
1934
|
-
/** Tone (Mintlify compatibility). */
|
|
1935
|
-
type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
|
|
1936
|
-
}, "strict", z.ZodTypeAny, {
|
|
1937
|
-
content: string;
|
|
1938
|
-
dismissible: boolean;
|
|
1939
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1940
|
-
id?: string | undefined;
|
|
1941
|
-
color?: {
|
|
1942
|
-
dark?: string | undefined;
|
|
1943
|
-
light?: string | undefined;
|
|
1944
|
-
} | undefined;
|
|
1945
|
-
link?: {
|
|
1946
|
-
href: string;
|
|
1947
|
-
text: string;
|
|
1948
|
-
} | undefined;
|
|
1949
|
-
}, {
|
|
1950
|
-
content: string;
|
|
1951
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1952
|
-
id?: string | undefined;
|
|
1953
|
-
color?: {
|
|
1954
|
-
dark?: string | undefined;
|
|
1955
|
-
light?: string | undefined;
|
|
1956
|
-
} | undefined;
|
|
1957
|
-
dismissible?: boolean | undefined;
|
|
1958
|
-
link?: {
|
|
1959
|
-
href: string;
|
|
1960
|
-
text: string;
|
|
1961
|
-
} | undefined;
|
|
1962
|
-
}>]>>;
|
|
1963
|
-
path: z.ZodString;
|
|
1964
|
-
}, "strict", z.ZodTypeAny, {
|
|
1965
|
-
path: string;
|
|
1966
|
-
banner?: string | {
|
|
1967
|
-
content: string;
|
|
1968
|
-
dismissible: boolean;
|
|
1969
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1970
|
-
id?: string | undefined;
|
|
1971
|
-
color?: {
|
|
1972
|
-
dark?: string | undefined;
|
|
1973
|
-
light?: string | undefined;
|
|
1974
|
-
} | undefined;
|
|
1975
|
-
link?: {
|
|
1976
|
-
href: string;
|
|
1977
|
-
text: string;
|
|
1978
|
-
} | undefined;
|
|
1979
|
-
} | undefined;
|
|
1980
|
-
}, {
|
|
1981
|
-
path: string;
|
|
1982
|
-
banner?: string | {
|
|
1983
|
-
content: string;
|
|
1984
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
1985
|
-
id?: string | undefined;
|
|
1986
|
-
color?: {
|
|
1987
|
-
dark?: string | undefined;
|
|
1988
|
-
light?: string | undefined;
|
|
1989
|
-
} | undefined;
|
|
1990
|
-
dismissible?: boolean | undefined;
|
|
1991
|
-
link?: {
|
|
1992
|
-
href: string;
|
|
1993
|
-
text: string;
|
|
1994
|
-
} | undefined;
|
|
1995
|
-
} | undefined;
|
|
1996
|
-
}>, "many">>;
|
|
1997
1726
|
/** Show a GitHub repo link in the header (requires `github` configured). */
|
|
1998
1727
|
repo: z.ZodDefault<z.ZodBoolean>;
|
|
1999
1728
|
selectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2089,23 +1818,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2089
1818
|
}>, "many">>;
|
|
2090
1819
|
}, "strict", z.ZodTypeAny, {
|
|
2091
1820
|
repo: boolean;
|
|
2092
|
-
chromeVariants: {
|
|
2093
|
-
path: string;
|
|
2094
|
-
banner?: string | {
|
|
2095
|
-
content: string;
|
|
2096
|
-
dismissible: boolean;
|
|
2097
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
2098
|
-
id?: string | undefined;
|
|
2099
|
-
color?: {
|
|
2100
|
-
dark?: string | undefined;
|
|
2101
|
-
light?: string | undefined;
|
|
2102
|
-
} | undefined;
|
|
2103
|
-
link?: {
|
|
2104
|
-
href: string;
|
|
2105
|
-
text: string;
|
|
2106
|
-
} | undefined;
|
|
2107
|
-
} | undefined;
|
|
2108
|
-
}[];
|
|
2109
1821
|
selectors: {
|
|
2110
1822
|
label: string;
|
|
2111
1823
|
items: {
|
|
@@ -2133,23 +1845,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2133
1845
|
}, {
|
|
2134
1846
|
sidebar?: SidebarItemConfig[] | undefined;
|
|
2135
1847
|
repo?: boolean | undefined;
|
|
2136
|
-
chromeVariants?: {
|
|
2137
|
-
path: string;
|
|
2138
|
-
banner?: string | {
|
|
2139
|
-
content: string;
|
|
2140
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
2141
|
-
id?: string | undefined;
|
|
2142
|
-
color?: {
|
|
2143
|
-
dark?: string | undefined;
|
|
2144
|
-
light?: string | undefined;
|
|
2145
|
-
} | undefined;
|
|
2146
|
-
dismissible?: boolean | undefined;
|
|
2147
|
-
link?: {
|
|
2148
|
-
href: string;
|
|
2149
|
-
text: string;
|
|
2150
|
-
} | undefined;
|
|
2151
|
-
} | undefined;
|
|
2152
|
-
}[] | undefined;
|
|
2153
1848
|
selectors?: {
|
|
2154
1849
|
label: string;
|
|
2155
1850
|
kind: "version" | "dropdown" | "language" | "product";
|
|
@@ -2287,7 +1982,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2287
1982
|
endpoint: string;
|
|
2288
1983
|
indexId?: string | undefined;
|
|
2289
1984
|
}>>;
|
|
2290
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
2291
1985
|
provider: z.ZodDefault<z.ZodEnum<["orama", "pagefind", "flexsearch", "algolia", "orama-cloud", "typesense", "mixedbread", "none"]>>;
|
|
2292
1986
|
typesense: z.ZodOptional<z.ZodObject<{
|
|
2293
1987
|
collection: z.ZodString;
|
|
@@ -2326,7 +2020,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2326
2020
|
endpoint: string;
|
|
2327
2021
|
indexId?: string | undefined;
|
|
2328
2022
|
} | undefined;
|
|
2329
|
-
prompt?: string | undefined;
|
|
2330
2023
|
typesense?: {
|
|
2331
2024
|
host: string;
|
|
2332
2025
|
searchApiKey: string;
|
|
@@ -2352,7 +2045,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2352
2045
|
endpoint: string;
|
|
2353
2046
|
indexId?: string | undefined;
|
|
2354
2047
|
} | undefined;
|
|
2355
|
-
prompt?: string | undefined;
|
|
2356
2048
|
typesense?: {
|
|
2357
2049
|
host: string;
|
|
2358
2050
|
searchApiKey: string;
|
|
@@ -2378,7 +2070,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2378
2070
|
endpoint: string;
|
|
2379
2071
|
indexId?: string | undefined;
|
|
2380
2072
|
} | undefined;
|
|
2381
|
-
prompt?: string | undefined;
|
|
2382
2073
|
typesense?: {
|
|
2383
2074
|
host: string;
|
|
2384
2075
|
searchApiKey: string;
|
|
@@ -2404,7 +2095,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2404
2095
|
endpoint: string;
|
|
2405
2096
|
indexId?: string | undefined;
|
|
2406
2097
|
} | undefined;
|
|
2407
|
-
prompt?: string | undefined;
|
|
2408
2098
|
typesense?: {
|
|
2409
2099
|
host: string;
|
|
2410
2100
|
searchApiKey: string;
|
|
@@ -2414,7 +2104,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2414
2104
|
} | undefined;
|
|
2415
2105
|
}>>;
|
|
2416
2106
|
seo: z.ZodDefault<z.ZodObject<{
|
|
2417
|
-
metatags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2418
2107
|
og: z.ZodDefault<z.ZodObject<{
|
|
2419
2108
|
/**
|
|
2420
2109
|
* Generate a per-page Open Graph image. Defaults to on once a deployment
|
|
@@ -2450,29 +2139,27 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2450
2139
|
/** Emit schema.org JSON-LD in each page's <head>. */
|
|
2451
2140
|
structuredData: z.ZodDefault<z.ZodBoolean>;
|
|
2452
2141
|
}, "strict", z.ZodTypeAny, {
|
|
2142
|
+
og: {
|
|
2143
|
+
enabled?: boolean | undefined;
|
|
2144
|
+
};
|
|
2145
|
+
robots: boolean;
|
|
2453
2146
|
rss: {
|
|
2454
2147
|
enabled: boolean;
|
|
2455
2148
|
limit: number;
|
|
2456
2149
|
types: string[];
|
|
2457
2150
|
};
|
|
2458
|
-
metatags: Record<string, string>;
|
|
2459
|
-
og: {
|
|
2460
|
-
enabled?: boolean | undefined;
|
|
2461
|
-
};
|
|
2462
|
-
robots: boolean;
|
|
2463
2151
|
sitemap: boolean;
|
|
2464
2152
|
structuredData: boolean;
|
|
2465
2153
|
}, {
|
|
2154
|
+
og?: {
|
|
2155
|
+
enabled?: boolean | undefined;
|
|
2156
|
+
} | undefined;
|
|
2157
|
+
robots?: boolean | undefined;
|
|
2466
2158
|
rss?: {
|
|
2467
2159
|
enabled?: boolean | undefined;
|
|
2468
2160
|
limit?: number | undefined;
|
|
2469
2161
|
types?: string[] | undefined;
|
|
2470
2162
|
} | undefined;
|
|
2471
|
-
metatags?: Record<string, string> | undefined;
|
|
2472
|
-
og?: {
|
|
2473
|
-
enabled?: boolean | undefined;
|
|
2474
|
-
} | undefined;
|
|
2475
|
-
robots?: boolean | undefined;
|
|
2476
2163
|
sitemap?: boolean | undefined;
|
|
2477
2164
|
structuredData?: boolean | undefined;
|
|
2478
2165
|
}>>;
|
|
@@ -2482,7 +2169,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2482
2169
|
action: z.ZodOptional<z.ZodString>;
|
|
2483
2170
|
background: z.ZodOptional<z.ZodString>;
|
|
2484
2171
|
backgroundDark: z.ZodOptional<z.ZodString>;
|
|
2485
|
-
backgroundDecoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
|
|
2486
2172
|
backgroundImage: z.ZodOptional<z.ZodString>;
|
|
2487
2173
|
backgroundImageDark: z.ZodOptional<z.ZodString>;
|
|
2488
2174
|
fonts: z.ZodDefault<z.ZodObject<{
|
|
@@ -2504,7 +2190,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2504
2190
|
strict: z.ZodDefault<z.ZodBoolean>;
|
|
2505
2191
|
}, "strict", z.ZodTypeAny, {
|
|
2506
2192
|
strict: boolean;
|
|
2507
|
-
mode: "dark" | "light" | "system";
|
|
2508
2193
|
accent: string;
|
|
2509
2194
|
fonts: {
|
|
2510
2195
|
mono: "dm-sans" | "figtree" | "fira-code" | "geist" | "geist-mono" | "ibm-plex-mono" | "ibm-plex-sans" | "ibm-plex-serif" | "inter" | "inter-tight" | "jetbrains-mono" | "lora" | "manrope" | "merriweather" | "open-sans" | "playfair-display" | "plus-jakarta-sans" | "roboto" | "roboto-mono" | "source-code-pro" | "source-sans-3" | "source-serif-4" | "space-grotesk" | "space-mono" | "work-sans";
|
|
@@ -2512,23 +2197,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2512
2197
|
body: "dm-sans" | "figtree" | "fira-code" | "geist" | "geist-mono" | "ibm-plex-mono" | "ibm-plex-sans" | "ibm-plex-serif" | "inter" | "inter-tight" | "jetbrains-mono" | "lora" | "manrope" | "merriweather" | "open-sans" | "playfair-display" | "plus-jakarta-sans" | "roboto" | "roboto-mono" | "source-code-pro" | "source-sans-3" | "source-serif-4" | "space-grotesk" | "space-mono" | "work-sans";
|
|
2513
2198
|
};
|
|
2514
2199
|
layout: "sidebar";
|
|
2200
|
+
mode: "dark" | "light" | "system";
|
|
2515
2201
|
radius: "md" | "none" | "sm" | "lg";
|
|
2516
2202
|
accentDark?: string | undefined;
|
|
2517
2203
|
action?: string | undefined;
|
|
2518
2204
|
background?: string | undefined;
|
|
2519
2205
|
backgroundDark?: string | undefined;
|
|
2520
|
-
backgroundDecoration?: "gradient" | "grid" | "windows" | undefined;
|
|
2521
2206
|
backgroundImage?: string | undefined;
|
|
2522
2207
|
backgroundImageDark?: string | undefined;
|
|
2523
2208
|
}, {
|
|
2524
2209
|
strict?: boolean | undefined;
|
|
2525
|
-
mode?: "dark" | "light" | "system" | undefined;
|
|
2526
2210
|
accent?: string | undefined;
|
|
2527
2211
|
accentDark?: string | undefined;
|
|
2528
2212
|
action?: string | undefined;
|
|
2529
2213
|
background?: string | undefined;
|
|
2530
2214
|
backgroundDark?: string | undefined;
|
|
2531
|
-
backgroundDecoration?: "gradient" | "grid" | "windows" | undefined;
|
|
2532
2215
|
backgroundImage?: string | undefined;
|
|
2533
2216
|
backgroundImageDark?: string | undefined;
|
|
2534
2217
|
fonts?: {
|
|
@@ -2537,6 +2220,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2537
2220
|
body?: string | undefined;
|
|
2538
2221
|
} | undefined;
|
|
2539
2222
|
layout?: "sidebar" | undefined;
|
|
2223
|
+
mode?: "dark" | "light" | "system" | undefined;
|
|
2540
2224
|
radius?: "md" | "none" | "sm" | "lg" | undefined;
|
|
2541
2225
|
}>>;
|
|
2542
2226
|
title: z.ZodDefault<z.ZodString>;
|
|
@@ -2557,7 +2241,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2557
2241
|
maxHeadingLevel?: number | undefined;
|
|
2558
2242
|
minHeadingLevel?: number | undefined;
|
|
2559
2243
|
} | undefined>;
|
|
2560
|
-
variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2561
2244
|
}, "strict", z.ZodTypeAny, {
|
|
2562
2245
|
title: string;
|
|
2563
2246
|
feedback: boolean;
|
|
@@ -2579,7 +2262,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2579
2262
|
endpoint: string;
|
|
2580
2263
|
indexId?: string | undefined;
|
|
2581
2264
|
} | undefined;
|
|
2582
|
-
prompt?: string | undefined;
|
|
2583
2265
|
typesense?: {
|
|
2584
2266
|
host: string;
|
|
2585
2267
|
searchApiKey: string;
|
|
@@ -2597,16 +2279,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2597
2279
|
type: "git" | "frontmatter";
|
|
2598
2280
|
};
|
|
2599
2281
|
seo: {
|
|
2282
|
+
og: {
|
|
2283
|
+
enabled?: boolean | undefined;
|
|
2284
|
+
};
|
|
2285
|
+
robots: boolean;
|
|
2600
2286
|
rss: {
|
|
2601
2287
|
enabled: boolean;
|
|
2602
2288
|
limit: number;
|
|
2603
2289
|
types: string[];
|
|
2604
2290
|
};
|
|
2605
|
-
metatags: Record<string, string>;
|
|
2606
|
-
og: {
|
|
2607
|
-
enabled?: boolean | undefined;
|
|
2608
|
-
};
|
|
2609
|
-
robots: boolean;
|
|
2610
2291
|
sitemap: boolean;
|
|
2611
2292
|
structuredData: boolean;
|
|
2612
2293
|
};
|
|
@@ -2622,7 +2303,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2622
2303
|
};
|
|
2623
2304
|
content: {
|
|
2624
2305
|
exclude: string[];
|
|
2625
|
-
assets: string[];
|
|
2626
2306
|
defaultType: string;
|
|
2627
2307
|
include: string[];
|
|
2628
2308
|
pages: string;
|
|
@@ -2683,14 +2363,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2683
2363
|
slug?: string | undefined;
|
|
2684
2364
|
} | undefined;
|
|
2685
2365
|
publishedValue?: string | undefined;
|
|
2686
|
-
} | {
|
|
2687
|
-
type: "mintlify";
|
|
2688
|
-
exclude: string[];
|
|
2689
|
-
include: string[];
|
|
2690
|
-
root: string;
|
|
2691
|
-
variables: Record<string, string>;
|
|
2692
|
-
prefix?: string | undefined;
|
|
2693
|
-
configFile?: string | undefined;
|
|
2694
2366
|
} | {
|
|
2695
2367
|
type: "custom";
|
|
2696
2368
|
source: ContentSource;
|
|
@@ -2698,7 +2370,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2698
2370
|
};
|
|
2699
2371
|
theme: {
|
|
2700
2372
|
strict: boolean;
|
|
2701
|
-
mode: "dark" | "light" | "system";
|
|
2702
2373
|
accent: string;
|
|
2703
2374
|
fonts: {
|
|
2704
2375
|
mono: "dm-sans" | "figtree" | "fira-code" | "geist" | "geist-mono" | "ibm-plex-mono" | "ibm-plex-sans" | "ibm-plex-serif" | "inter" | "inter-tight" | "jetbrains-mono" | "lora" | "manrope" | "merriweather" | "open-sans" | "playfair-display" | "plus-jakarta-sans" | "roboto" | "roboto-mono" | "source-code-pro" | "source-sans-3" | "source-serif-4" | "space-grotesk" | "space-mono" | "work-sans";
|
|
@@ -2706,12 +2377,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2706
2377
|
body: "dm-sans" | "figtree" | "fira-code" | "geist" | "geist-mono" | "ibm-plex-mono" | "ibm-plex-sans" | "ibm-plex-serif" | "inter" | "inter-tight" | "jetbrains-mono" | "lora" | "manrope" | "merriweather" | "open-sans" | "playfair-display" | "plus-jakarta-sans" | "roboto" | "roboto-mono" | "source-code-pro" | "source-sans-3" | "source-serif-4" | "space-grotesk" | "space-mono" | "work-sans";
|
|
2707
2378
|
};
|
|
2708
2379
|
layout: "sidebar";
|
|
2380
|
+
mode: "dark" | "light" | "system";
|
|
2709
2381
|
radius: "md" | "none" | "sm" | "lg";
|
|
2710
2382
|
accentDark?: string | undefined;
|
|
2711
2383
|
action?: string | undefined;
|
|
2712
2384
|
background?: string | undefined;
|
|
2713
2385
|
backgroundDark?: string | undefined;
|
|
2714
|
-
backgroundDecoration?: "gradient" | "grid" | "windows" | undefined;
|
|
2715
2386
|
backgroundImage?: string | undefined;
|
|
2716
2387
|
backgroundImageDark?: string | undefined;
|
|
2717
2388
|
};
|
|
@@ -2726,7 +2397,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2726
2397
|
spec?: string | undefined;
|
|
2727
2398
|
theme?: string | undefined;
|
|
2728
2399
|
};
|
|
2729
|
-
variables: Record<string, string>;
|
|
2730
2400
|
deployment: {
|
|
2731
2401
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2732
2402
|
output: "static" | "server";
|
|
@@ -2738,9 +2408,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2738
2408
|
epub: boolean;
|
|
2739
2409
|
pdf: boolean;
|
|
2740
2410
|
};
|
|
2741
|
-
icons: {
|
|
2742
|
-
library: "lucide" | "fontawesome" | "tabler";
|
|
2743
|
-
};
|
|
2744
2411
|
markdown: {
|
|
2745
2412
|
code: {
|
|
2746
2413
|
icons: boolean;
|
|
@@ -2765,23 +2432,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2765
2432
|
};
|
|
2766
2433
|
navigation: {
|
|
2767
2434
|
repo: boolean;
|
|
2768
|
-
chromeVariants: {
|
|
2769
|
-
path: string;
|
|
2770
|
-
banner?: string | {
|
|
2771
|
-
content: string;
|
|
2772
|
-
dismissible: boolean;
|
|
2773
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
2774
|
-
id?: string | undefined;
|
|
2775
|
-
color?: {
|
|
2776
|
-
dark?: string | undefined;
|
|
2777
|
-
light?: string | undefined;
|
|
2778
|
-
} | undefined;
|
|
2779
|
-
link?: {
|
|
2780
|
-
href: string;
|
|
2781
|
-
text: string;
|
|
2782
|
-
} | undefined;
|
|
2783
|
-
} | undefined;
|
|
2784
|
-
}[];
|
|
2785
2435
|
selectors: {
|
|
2786
2436
|
label: string;
|
|
2787
2437
|
items: {
|
|
@@ -2843,12 +2493,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2843
2493
|
banner?: string | {
|
|
2844
2494
|
content: string;
|
|
2845
2495
|
dismissible: boolean;
|
|
2846
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
2847
2496
|
id?: string | undefined;
|
|
2848
|
-
color?: {
|
|
2849
|
-
dark?: string | undefined;
|
|
2850
|
-
light?: string | undefined;
|
|
2851
|
-
} | undefined;
|
|
2852
2497
|
link?: {
|
|
2853
2498
|
href: string;
|
|
2854
2499
|
text: string;
|
|
@@ -2860,10 +2505,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2860
2505
|
branch: string;
|
|
2861
2506
|
dir?: string | undefined;
|
|
2862
2507
|
} | undefined;
|
|
2863
|
-
favicon?: string | {
|
|
2864
|
-
dark?: string | undefined;
|
|
2865
|
-
light?: string | undefined;
|
|
2866
|
-
} | undefined;
|
|
2867
2508
|
i18n?: {
|
|
2868
2509
|
defaultLocale: string;
|
|
2869
2510
|
hideDefaultLocalePrefix: boolean;
|
|
@@ -2877,10 +2518,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2877
2518
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
2878
2519
|
} | undefined;
|
|
2879
2520
|
logo?: string | {
|
|
2880
|
-
|
|
2881
|
-
|
|
2521
|
+
image?: string | {
|
|
2522
|
+
alt?: string | undefined;
|
|
2523
|
+
dark?: string | undefined;
|
|
2524
|
+
light?: string | undefined;
|
|
2525
|
+
} | undefined;
|
|
2882
2526
|
href?: string | undefined;
|
|
2883
|
-
|
|
2527
|
+
text?: string | undefined;
|
|
2884
2528
|
} | undefined;
|
|
2885
2529
|
}, {
|
|
2886
2530
|
title?: string | undefined;
|
|
@@ -2903,7 +2547,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2903
2547
|
endpoint: string;
|
|
2904
2548
|
indexId?: string | undefined;
|
|
2905
2549
|
} | undefined;
|
|
2906
|
-
prompt?: string | undefined;
|
|
2907
2550
|
typesense?: {
|
|
2908
2551
|
host: string;
|
|
2909
2552
|
searchApiKey: string;
|
|
@@ -2921,16 +2564,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2921
2564
|
type?: "git" | "frontmatter" | undefined;
|
|
2922
2565
|
} | undefined;
|
|
2923
2566
|
seo?: {
|
|
2567
|
+
og?: {
|
|
2568
|
+
enabled?: boolean | undefined;
|
|
2569
|
+
} | undefined;
|
|
2570
|
+
robots?: boolean | undefined;
|
|
2924
2571
|
rss?: {
|
|
2925
2572
|
enabled?: boolean | undefined;
|
|
2926
2573
|
limit?: number | undefined;
|
|
2927
2574
|
types?: string[] | undefined;
|
|
2928
2575
|
} | undefined;
|
|
2929
|
-
metatags?: Record<string, string> | undefined;
|
|
2930
|
-
og?: {
|
|
2931
|
-
enabled?: boolean | undefined;
|
|
2932
|
-
} | undefined;
|
|
2933
|
-
robots?: boolean | undefined;
|
|
2934
2576
|
sitemap?: boolean | undefined;
|
|
2935
2577
|
structuredData?: boolean | undefined;
|
|
2936
2578
|
} | undefined;
|
|
@@ -3002,19 +2644,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3002
2644
|
slug?: string | undefined;
|
|
3003
2645
|
} | undefined;
|
|
3004
2646
|
publishedValue?: string | undefined;
|
|
3005
|
-
} | {
|
|
3006
|
-
type: "mintlify";
|
|
3007
|
-
exclude?: string[] | undefined;
|
|
3008
|
-
include?: string[] | undefined;
|
|
3009
|
-
root?: string | undefined;
|
|
3010
|
-
prefix?: string | undefined;
|
|
3011
|
-
configFile?: string | undefined;
|
|
3012
|
-
variables?: Record<string, string> | undefined;
|
|
3013
2647
|
} | {
|
|
3014
2648
|
type: "custom";
|
|
3015
2649
|
source: ContentSource;
|
|
3016
2650
|
})[] | undefined;
|
|
3017
|
-
assets?: string[] | undefined;
|
|
3018
2651
|
defaultType?: string | undefined;
|
|
3019
2652
|
include?: string[] | undefined;
|
|
3020
2653
|
pages?: string | undefined;
|
|
@@ -3035,13 +2668,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3035
2668
|
} | undefined;
|
|
3036
2669
|
theme?: {
|
|
3037
2670
|
strict?: boolean | undefined;
|
|
3038
|
-
mode?: "dark" | "light" | "system" | undefined;
|
|
3039
2671
|
accent?: string | undefined;
|
|
3040
2672
|
accentDark?: string | undefined;
|
|
3041
2673
|
action?: string | undefined;
|
|
3042
2674
|
background?: string | undefined;
|
|
3043
2675
|
backgroundDark?: string | undefined;
|
|
3044
|
-
backgroundDecoration?: "gradient" | "grid" | "windows" | undefined;
|
|
3045
2676
|
backgroundImage?: string | undefined;
|
|
3046
2677
|
backgroundImageDark?: string | undefined;
|
|
3047
2678
|
fonts?: {
|
|
@@ -3050,6 +2681,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3050
2681
|
body?: string | undefined;
|
|
3051
2682
|
} | undefined;
|
|
3052
2683
|
layout?: "sidebar" | undefined;
|
|
2684
|
+
mode?: "dark" | "light" | "system" | undefined;
|
|
3053
2685
|
radius?: "md" | "none" | "sm" | "lg" | undefined;
|
|
3054
2686
|
} | undefined;
|
|
3055
2687
|
asyncapi?: {
|
|
@@ -3065,12 +2697,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3065
2697
|
} | undefined;
|
|
3066
2698
|
banner?: string | {
|
|
3067
2699
|
content: string;
|
|
3068
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
3069
2700
|
id?: string | undefined;
|
|
3070
|
-
color?: {
|
|
3071
|
-
dark?: string | undefined;
|
|
3072
|
-
light?: string | undefined;
|
|
3073
|
-
} | undefined;
|
|
3074
2701
|
dismissible?: boolean | undefined;
|
|
3075
2702
|
link?: {
|
|
3076
2703
|
href: string;
|
|
@@ -3083,7 +2710,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3083
2710
|
branch?: string | undefined;
|
|
3084
2711
|
dir?: string | undefined;
|
|
3085
2712
|
} | undefined;
|
|
3086
|
-
variables?: Record<string, string> | undefined;
|
|
3087
2713
|
deployment?: {
|
|
3088
2714
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
3089
2715
|
base?: string | undefined;
|
|
@@ -3095,10 +2721,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3095
2721
|
epub?: boolean | undefined;
|
|
3096
2722
|
pdf?: boolean | undefined;
|
|
3097
2723
|
} | undefined;
|
|
3098
|
-
favicon?: string | {
|
|
3099
|
-
dark?: string | undefined;
|
|
3100
|
-
light?: string | undefined;
|
|
3101
|
-
} | undefined;
|
|
3102
2724
|
i18n?: {
|
|
3103
2725
|
locales: {
|
|
3104
2726
|
code: string;
|
|
@@ -3111,14 +2733,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3111
2733
|
parser?: "dir" | "dot" | undefined;
|
|
3112
2734
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
3113
2735
|
} | undefined;
|
|
3114
|
-
icons?: {
|
|
3115
|
-
library?: "lucide" | "fontawesome" | "tabler" | undefined;
|
|
3116
|
-
} | undefined;
|
|
3117
2736
|
logo?: string | {
|
|
3118
|
-
|
|
3119
|
-
|
|
2737
|
+
image?: string | {
|
|
2738
|
+
alt?: string | undefined;
|
|
2739
|
+
dark?: string | undefined;
|
|
2740
|
+
light?: string | undefined;
|
|
2741
|
+
} | undefined;
|
|
3120
2742
|
href?: string | undefined;
|
|
3121
|
-
|
|
2743
|
+
text?: string | undefined;
|
|
3122
2744
|
} | undefined;
|
|
3123
2745
|
markdown?: {
|
|
3124
2746
|
code?: {
|
|
@@ -3145,23 +2767,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3145
2767
|
navigation?: {
|
|
3146
2768
|
sidebar?: SidebarItemConfig[] | undefined;
|
|
3147
2769
|
repo?: boolean | undefined;
|
|
3148
|
-
chromeVariants?: {
|
|
3149
|
-
path: string;
|
|
3150
|
-
banner?: string | {
|
|
3151
|
-
content: string;
|
|
3152
|
-
type?: "warning" | "info" | "critical" | undefined;
|
|
3153
|
-
id?: string | undefined;
|
|
3154
|
-
color?: {
|
|
3155
|
-
dark?: string | undefined;
|
|
3156
|
-
light?: string | undefined;
|
|
3157
|
-
} | undefined;
|
|
3158
|
-
dismissible?: boolean | undefined;
|
|
3159
|
-
link?: {
|
|
3160
|
-
href: string;
|
|
3161
|
-
text: string;
|
|
3162
|
-
} | undefined;
|
|
3163
|
-
} | undefined;
|
|
3164
|
-
}[] | undefined;
|
|
3165
2770
|
selectors?: {
|
|
3166
2771
|
label: string;
|
|
3167
2772
|
kind: "version" | "dropdown" | "language" | "product";
|