blume 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +747 -471
- package/dist/cli/index.js.map +45 -38
- package/dist/types/core/schema.d.ts +289 -278
- package/dist/types/migrate/mintlify/assets.d.ts +8 -0
- package/docs/01-quickstart.mdx +5 -16
- package/docs/02-deployment.mdx +21 -54
- package/docs/advanced/api-reference.mdx +10 -37
- package/docs/advanced/blog.mdx +9 -25
- package/docs/advanced/changelog.mdx +10 -33
- package/docs/advanced/custom-pages.mdx +21 -78
- package/docs/configuration/ai.mdx +42 -103
- package/docs/configuration/analytics.mdx +20 -38
- package/docs/configuration/customization.mdx +40 -73
- package/docs/configuration/export.mdx +9 -34
- package/docs/configuration/index.mdx +67 -87
- package/docs/configuration/search.mdx +17 -54
- package/docs/configuration/seo.mdx +17 -48
- package/docs/configuration/theming.mdx +20 -42
- package/docs/content/components.mdx +42 -101
- package/docs/content/i18n.mdx +21 -72
- package/docs/content/index.mdx +18 -48
- package/docs/content/islands.mdx +25 -52
- package/docs/content/meta.mdx +23 -50
- package/docs/content/navigation.mdx +23 -62
- package/docs/content/sources.mdx +20 -83
- package/docs/content/syntax.mdx +37 -105
- package/docs/index.mdx +11 -40
- package/docs/reference/cli.mdx +18 -29
- package/docs/reference/frontmatter.mdx +2 -5
- package/package.json +1 -1
- package/src/astro/integration.ts +26 -3
- package/src/astro/islands.ts +6 -2
- package/src/astro/markdown-negotiation.ts +17 -3
- package/src/astro/pages.ts +6 -1
- package/src/astro/static-assets.ts +117 -0
- package/src/astro/templates.ts +48 -26
- package/src/cli/args.ts +23 -0
- package/src/cli/commands/build.ts +23 -0
- package/src/cli/commands/dev.ts +11 -2
- package/src/cli/commands/doctor.ts +10 -1
- package/src/cli/commands/eject.ts +3 -1
- package/src/cli/commands/init.ts +21 -1
- package/src/cli/commands/preview.ts +2 -1
- package/src/cli/commands/validate.ts +12 -1
- package/src/cli/dev-lock.ts +84 -0
- package/src/cli/log.ts +11 -0
- package/src/components/BlumePage.astro +2 -0
- package/src/components/content/YouTube.astro +35 -0
- package/src/components/content/youtube.ts +46 -0
- package/src/components/islands/ask-ai.tsx +14 -14
- package/src/components/props.ts +3 -0
- package/src/core/assets.ts +31 -0
- package/src/core/bridge.ts +10 -0
- package/src/core/builtin-tags.ts +1 -0
- package/src/core/diagnostics.ts +6 -1
- package/src/core/gitignore.ts +30 -0
- package/src/core/links.ts +60 -19
- package/src/core/schema.ts +7 -0
- package/src/core/sources/mdx-remote.ts +54 -8
- package/src/core/sources/normalize.ts +6 -1
- package/src/core/sources/notion.ts +49 -5
- package/src/core/sources/sanity.ts +5 -1
- package/src/deploy/rss.ts +1 -8
- package/src/deploy/sitemap.ts +20 -1
- package/src/deploy/xml.ts +8 -0
- package/src/markdown/directives.ts +15 -7
- package/src/markdown/package-commands.ts +26 -4
- package/src/migrate/fumadocs/content.ts +14 -1
- package/src/migrate/fumadocs/groups.ts +7 -0
- package/src/migrate/fumadocs/index.ts +5 -2
- package/src/migrate/mintlify/assets.ts +46 -0
- package/src/migrate/mintlify/index.ts +53 -45
- package/src/migrate/shared.ts +12 -27
- package/src/og/card.ts +14 -2
- package/src/registry/eject.ts +13 -3
- package/src/registry/registry.ts +6 -0
- package/src/registry/rewrite-imports.ts +31 -19
- package/src/search/documents.ts +23 -5
- package/src/search/sync/algolia.ts +5 -1
- package/src/search/sync/typesense.ts +24 -16
- package/src/theme/palette.ts +26 -7
|
@@ -63,9 +63,9 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
63
63
|
}, {
|
|
64
64
|
title?: string | undefined;
|
|
65
65
|
description?: string | undefined;
|
|
66
|
+
noindex?: boolean | undefined;
|
|
66
67
|
canonical?: string | undefined;
|
|
67
68
|
image?: string | undefined;
|
|
68
|
-
noindex?: boolean | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
71
71
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -76,14 +76,14 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
76
76
|
}, "strict", z.ZodTypeAny, {
|
|
77
77
|
hidden: boolean;
|
|
78
78
|
label?: string | undefined;
|
|
79
|
-
badge?: string | undefined;
|
|
80
79
|
icon?: string | undefined;
|
|
80
|
+
badge?: string | undefined;
|
|
81
81
|
order?: number | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
label?: string | undefined;
|
|
84
|
-
badge?: string | undefined;
|
|
85
84
|
hidden?: boolean | undefined;
|
|
86
85
|
icon?: string | undefined;
|
|
86
|
+
badge?: string | undefined;
|
|
87
87
|
order?: number | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -98,11 +98,11 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
98
98
|
boost?: number | undefined;
|
|
99
99
|
tags?: string[] | undefined;
|
|
100
100
|
};
|
|
101
|
-
hidden: boolean;
|
|
102
|
-
noindex: boolean;
|
|
103
101
|
deprecated: boolean;
|
|
104
102
|
draft: boolean;
|
|
103
|
+
hidden: boolean;
|
|
105
104
|
hideApiMarker: boolean;
|
|
105
|
+
noindex: boolean;
|
|
106
106
|
seo: {
|
|
107
107
|
noindex: boolean;
|
|
108
108
|
title?: string | undefined;
|
|
@@ -113,14 +113,13 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
113
113
|
sidebar: {
|
|
114
114
|
hidden: boolean;
|
|
115
115
|
label?: string | undefined;
|
|
116
|
-
badge?: string | undefined;
|
|
117
116
|
icon?: string | undefined;
|
|
117
|
+
badge?: string | undefined;
|
|
118
118
|
order?: number | undefined;
|
|
119
119
|
};
|
|
120
120
|
date?: string | undefined;
|
|
121
121
|
title?: string | undefined;
|
|
122
122
|
description?: string | undefined;
|
|
123
|
-
icon?: string | undefined;
|
|
124
123
|
changelog?: {
|
|
125
124
|
date?: string | undefined;
|
|
126
125
|
category?: string | undefined;
|
|
@@ -128,6 +127,7 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
128
127
|
} | undefined;
|
|
129
128
|
groups?: string | string[] | undefined;
|
|
130
129
|
hideFooterPagination?: boolean | undefined;
|
|
130
|
+
icon?: string | undefined;
|
|
131
131
|
iconType?: string | undefined;
|
|
132
132
|
keywords?: string[] | undefined;
|
|
133
133
|
lastModified?: string | undefined;
|
|
@@ -147,9 +147,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
147
147
|
tags?: string[] | undefined;
|
|
148
148
|
} | undefined;
|
|
149
149
|
description?: string | undefined;
|
|
150
|
-
hidden?: boolean | undefined;
|
|
151
|
-
icon?: string | undefined;
|
|
152
|
-
noindex?: boolean | undefined;
|
|
153
150
|
changelog?: {
|
|
154
151
|
date?: string | Date | undefined;
|
|
155
152
|
category?: string | undefined;
|
|
@@ -158,26 +155,29 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
158
155
|
deprecated?: boolean | undefined;
|
|
159
156
|
draft?: boolean | undefined;
|
|
160
157
|
groups?: string | string[] | undefined;
|
|
158
|
+
hidden?: boolean | undefined;
|
|
161
159
|
hideApiMarker?: boolean | undefined;
|
|
162
160
|
hideFooterPagination?: boolean | undefined;
|
|
161
|
+
icon?: string | undefined;
|
|
163
162
|
iconType?: string | undefined;
|
|
164
163
|
keywords?: string[] | undefined;
|
|
165
164
|
lastModified?: string | Date | undefined;
|
|
166
165
|
mode?: string | undefined;
|
|
166
|
+
noindex?: boolean | undefined;
|
|
167
167
|
public?: boolean | undefined;
|
|
168
168
|
rss?: boolean | undefined;
|
|
169
169
|
seo?: {
|
|
170
170
|
title?: string | undefined;
|
|
171
171
|
description?: string | undefined;
|
|
172
|
+
noindex?: boolean | undefined;
|
|
172
173
|
canonical?: string | undefined;
|
|
173
174
|
image?: string | undefined;
|
|
174
|
-
noindex?: boolean | undefined;
|
|
175
175
|
} | undefined;
|
|
176
176
|
sidebar?: {
|
|
177
177
|
label?: string | undefined;
|
|
178
|
-
badge?: string | undefined;
|
|
179
178
|
hidden?: boolean | undefined;
|
|
180
179
|
icon?: string | undefined;
|
|
180
|
+
badge?: string | undefined;
|
|
181
181
|
order?: number | undefined;
|
|
182
182
|
} | undefined;
|
|
183
183
|
sidebarTitle?: string | undefined;
|
|
@@ -244,9 +244,9 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
244
244
|
}, {
|
|
245
245
|
title?: string | undefined;
|
|
246
246
|
description?: string | undefined;
|
|
247
|
+
noindex?: boolean | undefined;
|
|
247
248
|
canonical?: string | undefined;
|
|
248
249
|
image?: string | undefined;
|
|
249
|
-
noindex?: boolean | undefined;
|
|
250
250
|
}>>;
|
|
251
251
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
252
252
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -257,14 +257,14 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
257
257
|
}, "strict", z.ZodTypeAny, {
|
|
258
258
|
hidden: boolean;
|
|
259
259
|
label?: string | undefined;
|
|
260
|
-
badge?: string | undefined;
|
|
261
260
|
icon?: string | undefined;
|
|
261
|
+
badge?: string | undefined;
|
|
262
262
|
order?: number | undefined;
|
|
263
263
|
}, {
|
|
264
264
|
label?: string | undefined;
|
|
265
|
-
badge?: string | undefined;
|
|
266
265
|
hidden?: boolean | undefined;
|
|
267
266
|
icon?: string | undefined;
|
|
267
|
+
badge?: string | undefined;
|
|
268
268
|
order?: number | undefined;
|
|
269
269
|
}>>;
|
|
270
270
|
sidebarTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -279,11 +279,11 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
279
279
|
boost?: number | undefined;
|
|
280
280
|
tags?: string[] | undefined;
|
|
281
281
|
};
|
|
282
|
-
hidden: boolean;
|
|
283
|
-
noindex: boolean;
|
|
284
282
|
deprecated: boolean;
|
|
285
283
|
draft: boolean;
|
|
284
|
+
hidden: boolean;
|
|
286
285
|
hideApiMarker: boolean;
|
|
286
|
+
noindex: boolean;
|
|
287
287
|
seo: {
|
|
288
288
|
noindex: boolean;
|
|
289
289
|
title?: string | undefined;
|
|
@@ -294,14 +294,13 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
294
294
|
sidebar: {
|
|
295
295
|
hidden: boolean;
|
|
296
296
|
label?: string | undefined;
|
|
297
|
-
badge?: string | undefined;
|
|
298
297
|
icon?: string | undefined;
|
|
298
|
+
badge?: string | undefined;
|
|
299
299
|
order?: number | undefined;
|
|
300
300
|
};
|
|
301
301
|
date?: string | undefined;
|
|
302
302
|
title?: string | undefined;
|
|
303
303
|
description?: string | undefined;
|
|
304
|
-
icon?: string | undefined;
|
|
305
304
|
changelog?: {
|
|
306
305
|
date?: string | undefined;
|
|
307
306
|
category?: string | undefined;
|
|
@@ -309,6 +308,7 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
309
308
|
} | undefined;
|
|
310
309
|
groups?: string | string[] | undefined;
|
|
311
310
|
hideFooterPagination?: boolean | undefined;
|
|
311
|
+
icon?: string | undefined;
|
|
312
312
|
iconType?: string | undefined;
|
|
313
313
|
keywords?: string[] | undefined;
|
|
314
314
|
lastModified?: string | undefined;
|
|
@@ -328,9 +328,6 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
328
328
|
tags?: string[] | undefined;
|
|
329
329
|
} | undefined;
|
|
330
330
|
description?: string | undefined;
|
|
331
|
-
hidden?: boolean | undefined;
|
|
332
|
-
icon?: string | undefined;
|
|
333
|
-
noindex?: boolean | undefined;
|
|
334
331
|
changelog?: {
|
|
335
332
|
date?: string | Date | undefined;
|
|
336
333
|
category?: string | undefined;
|
|
@@ -339,26 +336,29 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
339
336
|
deprecated?: boolean | undefined;
|
|
340
337
|
draft?: boolean | undefined;
|
|
341
338
|
groups?: string | string[] | undefined;
|
|
339
|
+
hidden?: boolean | undefined;
|
|
342
340
|
hideApiMarker?: boolean | undefined;
|
|
343
341
|
hideFooterPagination?: boolean | undefined;
|
|
342
|
+
icon?: string | undefined;
|
|
344
343
|
iconType?: string | undefined;
|
|
345
344
|
keywords?: string[] | undefined;
|
|
346
345
|
lastModified?: string | Date | undefined;
|
|
347
346
|
mode?: string | undefined;
|
|
347
|
+
noindex?: boolean | undefined;
|
|
348
348
|
public?: boolean | undefined;
|
|
349
349
|
rss?: boolean | undefined;
|
|
350
350
|
seo?: {
|
|
351
351
|
title?: string | undefined;
|
|
352
352
|
description?: string | undefined;
|
|
353
|
+
noindex?: boolean | undefined;
|
|
353
354
|
canonical?: string | undefined;
|
|
354
355
|
image?: string | undefined;
|
|
355
|
-
noindex?: boolean | undefined;
|
|
356
356
|
} | undefined;
|
|
357
357
|
sidebar?: {
|
|
358
358
|
label?: string | undefined;
|
|
359
|
-
badge?: string | undefined;
|
|
360
359
|
hidden?: boolean | undefined;
|
|
361
360
|
icon?: string | undefined;
|
|
361
|
+
badge?: string | undefined;
|
|
362
362
|
order?: number | undefined;
|
|
363
363
|
} | undefined;
|
|
364
364
|
sidebarTitle?: string | undefined;
|
|
@@ -389,15 +389,15 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
389
389
|
title?: string | undefined;
|
|
390
390
|
icon?: string | undefined;
|
|
391
391
|
order?: number | undefined;
|
|
392
|
-
collapsed?: boolean | undefined;
|
|
393
392
|
pages?: string[] | undefined;
|
|
393
|
+
collapsed?: boolean | undefined;
|
|
394
394
|
}, {
|
|
395
395
|
display?: "flat" | "page" | "group" | undefined;
|
|
396
396
|
title?: string | undefined;
|
|
397
397
|
icon?: string | undefined;
|
|
398
398
|
order?: number | undefined;
|
|
399
|
-
collapsed?: boolean | undefined;
|
|
400
399
|
pages?: string[] | undefined;
|
|
400
|
+
collapsed?: boolean | undefined;
|
|
401
401
|
}>;
|
|
402
402
|
export type FolderMeta = z.infer<typeof folderMetaSchema>;
|
|
403
403
|
/** A single configured content source. */
|
|
@@ -418,8 +418,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
418
418
|
type: "filesystem";
|
|
419
419
|
exclude?: string[] | undefined;
|
|
420
420
|
include?: string[] | undefined;
|
|
421
|
-
prefix?: string | undefined;
|
|
422
421
|
root?: string | undefined;
|
|
422
|
+
prefix?: string | undefined;
|
|
423
423
|
}>, z.ZodObject<{
|
|
424
424
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
425
425
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -650,8 +650,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
650
650
|
type: "mintlify";
|
|
651
651
|
exclude?: string[] | undefined;
|
|
652
652
|
include?: string[] | undefined;
|
|
653
|
-
prefix?: string | undefined;
|
|
654
653
|
root?: string | undefined;
|
|
654
|
+
prefix?: string | undefined;
|
|
655
655
|
configFile?: string | undefined;
|
|
656
656
|
variables?: Record<string, string> | undefined;
|
|
657
657
|
}>, z.ZodObject<{
|
|
@@ -691,47 +691,47 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
691
691
|
model: z.ZodDefault<z.ZodString>;
|
|
692
692
|
provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
|
|
693
693
|
}, "strict", z.ZodTypeAny, {
|
|
694
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
695
694
|
enabled: boolean;
|
|
696
695
|
model: string;
|
|
696
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
697
697
|
apiKeyEnv?: string | undefined;
|
|
698
698
|
baseUrl?: string | undefined;
|
|
699
699
|
}, {
|
|
700
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
701
700
|
apiKeyEnv?: string | undefined;
|
|
702
701
|
baseUrl?: string | undefined;
|
|
703
702
|
enabled?: boolean | undefined;
|
|
704
703
|
model?: string | undefined;
|
|
704
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
705
705
|
}>, {
|
|
706
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
707
706
|
enabled: boolean;
|
|
708
707
|
model: string;
|
|
708
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
709
709
|
apiKeyEnv?: string | undefined;
|
|
710
710
|
baseUrl?: string | undefined;
|
|
711
711
|
}, {
|
|
712
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
713
712
|
apiKeyEnv?: string | undefined;
|
|
714
713
|
baseUrl?: string | undefined;
|
|
715
714
|
enabled?: boolean | undefined;
|
|
716
715
|
model?: string | undefined;
|
|
716
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
717
717
|
}>>;
|
|
718
718
|
llmsTxt: z.ZodDefault<z.ZodBoolean>;
|
|
719
719
|
}, "strict", z.ZodTypeAny, {
|
|
720
720
|
llmsTxt: boolean;
|
|
721
721
|
ask?: {
|
|
722
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
723
722
|
enabled: boolean;
|
|
724
723
|
model: string;
|
|
724
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
725
725
|
apiKeyEnv?: string | undefined;
|
|
726
726
|
baseUrl?: string | undefined;
|
|
727
727
|
} | undefined;
|
|
728
728
|
}, {
|
|
729
729
|
ask?: {
|
|
730
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
731
730
|
apiKeyEnv?: string | undefined;
|
|
732
731
|
baseUrl?: string | undefined;
|
|
733
732
|
enabled?: boolean | undefined;
|
|
734
733
|
model?: string | undefined;
|
|
734
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
735
735
|
} | undefined;
|
|
736
736
|
llmsTxt?: boolean | undefined;
|
|
737
737
|
}>;
|
|
@@ -856,47 +856,47 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
856
856
|
model: z.ZodDefault<z.ZodString>;
|
|
857
857
|
provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
|
|
858
858
|
}, "strict", z.ZodTypeAny, {
|
|
859
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
860
859
|
enabled: boolean;
|
|
861
860
|
model: string;
|
|
861
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
862
862
|
apiKeyEnv?: string | undefined;
|
|
863
863
|
baseUrl?: string | undefined;
|
|
864
864
|
}, {
|
|
865
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
866
865
|
apiKeyEnv?: string | undefined;
|
|
867
866
|
baseUrl?: string | undefined;
|
|
868
867
|
enabled?: boolean | undefined;
|
|
869
868
|
model?: string | undefined;
|
|
869
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
870
870
|
}>, {
|
|
871
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
872
871
|
enabled: boolean;
|
|
873
872
|
model: string;
|
|
873
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
874
874
|
apiKeyEnv?: string | undefined;
|
|
875
875
|
baseUrl?: string | undefined;
|
|
876
876
|
}, {
|
|
877
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
878
877
|
apiKeyEnv?: string | undefined;
|
|
879
878
|
baseUrl?: string | undefined;
|
|
880
879
|
enabled?: boolean | undefined;
|
|
881
880
|
model?: string | undefined;
|
|
881
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
882
882
|
}>>;
|
|
883
883
|
llmsTxt: z.ZodDefault<z.ZodBoolean>;
|
|
884
884
|
}, "strict", z.ZodTypeAny, {
|
|
885
885
|
llmsTxt: boolean;
|
|
886
886
|
ask?: {
|
|
887
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
888
887
|
enabled: boolean;
|
|
889
888
|
model: string;
|
|
889
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
890
890
|
apiKeyEnv?: string | undefined;
|
|
891
891
|
baseUrl?: string | undefined;
|
|
892
892
|
} | undefined;
|
|
893
893
|
}, {
|
|
894
894
|
ask?: {
|
|
895
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
896
895
|
apiKeyEnv?: string | undefined;
|
|
897
896
|
baseUrl?: string | undefined;
|
|
898
897
|
enabled?: boolean | undefined;
|
|
899
898
|
model?: string | undefined;
|
|
899
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
900
900
|
} | undefined;
|
|
901
901
|
llmsTxt?: boolean | undefined;
|
|
902
902
|
}>>;
|
|
@@ -917,23 +917,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
917
917
|
src: z.ZodOptional<z.ZodString>;
|
|
918
918
|
strategy: z.ZodOptional<z.ZodEnum<["async", "defer"]>>;
|
|
919
919
|
}, "strict", z.ZodTypeAny, {
|
|
920
|
-
content?: string | undefined;
|
|
921
920
|
attributes?: Record<string, string> | undefined;
|
|
921
|
+
content?: string | undefined;
|
|
922
922
|
src?: string | undefined;
|
|
923
923
|
strategy?: "async" | "defer" | undefined;
|
|
924
924
|
}, {
|
|
925
|
-
content?: string | undefined;
|
|
926
925
|
attributes?: Record<string, string> | undefined;
|
|
926
|
+
content?: string | undefined;
|
|
927
927
|
src?: string | undefined;
|
|
928
928
|
strategy?: "async" | "defer" | undefined;
|
|
929
929
|
}>, {
|
|
930
|
-
content?: string | undefined;
|
|
931
930
|
attributes?: Record<string, string> | undefined;
|
|
931
|
+
content?: string | undefined;
|
|
932
932
|
src?: string | undefined;
|
|
933
933
|
strategy?: "async" | "defer" | undefined;
|
|
934
934
|
}, {
|
|
935
|
-
content?: string | undefined;
|
|
936
935
|
attributes?: Record<string, string> | undefined;
|
|
936
|
+
content?: string | undefined;
|
|
937
937
|
src?: string | undefined;
|
|
938
938
|
strategy?: "async" | "defer" | undefined;
|
|
939
939
|
}>, "many">>;
|
|
@@ -944,8 +944,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
944
944
|
host?: string | undefined;
|
|
945
945
|
} | undefined;
|
|
946
946
|
scripts?: {
|
|
947
|
-
content?: string | undefined;
|
|
948
947
|
attributes?: Record<string, string> | undefined;
|
|
948
|
+
content?: string | undefined;
|
|
949
949
|
src?: string | undefined;
|
|
950
950
|
strategy?: "async" | "defer" | undefined;
|
|
951
951
|
}[] | undefined;
|
|
@@ -956,8 +956,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
956
956
|
host?: string | undefined;
|
|
957
957
|
} | undefined;
|
|
958
958
|
scripts?: {
|
|
959
|
-
content?: string | undefined;
|
|
960
959
|
attributes?: Record<string, string> | undefined;
|
|
960
|
+
content?: string | undefined;
|
|
961
961
|
src?: string | undefined;
|
|
962
962
|
strategy?: "async" | "defer" | undefined;
|
|
963
963
|
}[] | undefined;
|
|
@@ -985,25 +985,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
985
985
|
spec: z.ZodOptional<z.ZodString>;
|
|
986
986
|
theme: z.ZodOptional<z.ZodString>;
|
|
987
987
|
}, "strict", z.ZodTypeAny, {
|
|
988
|
+
enabled: boolean;
|
|
989
|
+
route: string;
|
|
988
990
|
sources: {
|
|
989
991
|
spec: string;
|
|
990
992
|
label?: string | undefined;
|
|
991
993
|
route?: string | undefined;
|
|
992
994
|
}[];
|
|
993
|
-
enabled: boolean;
|
|
994
|
-
route: string;
|
|
995
|
-
theme?: string | undefined;
|
|
996
995
|
spec?: string | undefined;
|
|
996
|
+
theme?: string | undefined;
|
|
997
997
|
}, {
|
|
998
|
+
enabled?: boolean | undefined;
|
|
999
|
+
route?: string | undefined;
|
|
1000
|
+
spec?: string | undefined;
|
|
998
1001
|
sources?: {
|
|
999
1002
|
spec: string;
|
|
1000
1003
|
label?: string | undefined;
|
|
1001
1004
|
route?: string | undefined;
|
|
1002
1005
|
}[] | undefined;
|
|
1003
|
-
enabled?: boolean | undefined;
|
|
1004
|
-
route?: string | undefined;
|
|
1005
1006
|
theme?: string | undefined;
|
|
1006
|
-
spec?: string | undefined;
|
|
1007
1007
|
}>>;
|
|
1008
1008
|
banner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1009
1009
|
/** Background color override (Mintlify compatibility). */
|
|
@@ -1043,7 +1043,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1043
1043
|
}, "strict", z.ZodTypeAny, {
|
|
1044
1044
|
content: string;
|
|
1045
1045
|
dismissible: boolean;
|
|
1046
|
-
type?: "
|
|
1046
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1047
1047
|
id?: string | undefined;
|
|
1048
1048
|
color?: {
|
|
1049
1049
|
dark?: string | undefined;
|
|
@@ -1055,7 +1055,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1055
1055
|
} | undefined;
|
|
1056
1056
|
}, {
|
|
1057
1057
|
content: string;
|
|
1058
|
-
type?: "
|
|
1058
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1059
1059
|
id?: string | undefined;
|
|
1060
1060
|
color?: {
|
|
1061
1061
|
dark?: string | undefined;
|
|
@@ -1068,6 +1068,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1068
1068
|
} | undefined;
|
|
1069
1069
|
}>]>>;
|
|
1070
1070
|
content: z.ZodDefault<z.ZodObject<{
|
|
1071
|
+
/**
|
|
1072
|
+
* Extra top-level directories (relative to the project root) served as
|
|
1073
|
+
* static assets at the site root, alongside `public/`. Lets projects keep
|
|
1074
|
+
* root-served asset folders in place — e.g. a Mintlify migration keeps
|
|
1075
|
+
* `images/` where it is instead of relocating it under `public/`.
|
|
1076
|
+
*/
|
|
1077
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1071
1078
|
defaultType: z.ZodDefault<z.ZodString>;
|
|
1072
1079
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1073
1080
|
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1095,8 +1102,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1095
1102
|
type: "filesystem";
|
|
1096
1103
|
exclude?: string[] | undefined;
|
|
1097
1104
|
include?: string[] | undefined;
|
|
1098
|
-
prefix?: string | undefined;
|
|
1099
1105
|
root?: string | undefined;
|
|
1106
|
+
prefix?: string | undefined;
|
|
1100
1107
|
}>, z.ZodObject<{
|
|
1101
1108
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
1102
1109
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1327,8 +1334,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1327
1334
|
type: "mintlify";
|
|
1328
1335
|
exclude?: string[] | undefined;
|
|
1329
1336
|
include?: string[] | undefined;
|
|
1330
|
-
prefix?: string | undefined;
|
|
1331
1337
|
root?: string | undefined;
|
|
1338
|
+
prefix?: string | undefined;
|
|
1332
1339
|
configFile?: string | undefined;
|
|
1333
1340
|
variables?: Record<string, string> | undefined;
|
|
1334
1341
|
}>, z.ZodObject<{
|
|
@@ -1343,10 +1350,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1343
1350
|
}>]>, "many">>;
|
|
1344
1351
|
}, "strict", z.ZodTypeAny, {
|
|
1345
1352
|
exclude: string[];
|
|
1346
|
-
|
|
1353
|
+
assets: string[];
|
|
1354
|
+
defaultType: string;
|
|
1347
1355
|
include: string[];
|
|
1356
|
+
pages: string;
|
|
1348
1357
|
root: string;
|
|
1349
|
-
defaultType: string;
|
|
1350
1358
|
sources?: ({
|
|
1351
1359
|
type: "filesystem";
|
|
1352
1360
|
exclude: string[];
|
|
@@ -1366,6 +1374,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1366
1374
|
repo: string;
|
|
1367
1375
|
} | undefined;
|
|
1368
1376
|
pollInterval?: number | undefined;
|
|
1377
|
+
} | {
|
|
1378
|
+
type: "github-releases";
|
|
1379
|
+
owner: string;
|
|
1380
|
+
repo: string;
|
|
1381
|
+
prefix?: string | undefined;
|
|
1382
|
+
pollInterval?: number | undefined;
|
|
1383
|
+
drafts?: boolean | undefined;
|
|
1384
|
+
limit?: number | undefined;
|
|
1385
|
+
prereleases?: boolean | undefined;
|
|
1369
1386
|
} | {
|
|
1370
1387
|
type: "sanity";
|
|
1371
1388
|
dataset: string;
|
|
@@ -1394,15 +1411,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1394
1411
|
slug?: string | undefined;
|
|
1395
1412
|
} | undefined;
|
|
1396
1413
|
publishedValue?: string | undefined;
|
|
1397
|
-
} | {
|
|
1398
|
-
type: "github-releases";
|
|
1399
|
-
owner: string;
|
|
1400
|
-
repo: string;
|
|
1401
|
-
prefix?: string | undefined;
|
|
1402
|
-
pollInterval?: number | undefined;
|
|
1403
|
-
drafts?: boolean | undefined;
|
|
1404
|
-
limit?: number | undefined;
|
|
1405
|
-
prereleases?: boolean | undefined;
|
|
1406
1414
|
} | {
|
|
1407
1415
|
type: "mintlify";
|
|
1408
1416
|
exclude: string[];
|
|
@@ -1417,16 +1425,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1417
1425
|
})[] | undefined;
|
|
1418
1426
|
}, {
|
|
1419
1427
|
exclude?: string[] | undefined;
|
|
1420
|
-
pages?: string | undefined;
|
|
1421
|
-
include?: string[] | undefined;
|
|
1422
|
-
root?: string | undefined;
|
|
1423
|
-
defaultType?: string | undefined;
|
|
1424
1428
|
sources?: ({
|
|
1425
1429
|
type: "filesystem";
|
|
1426
1430
|
exclude?: string[] | undefined;
|
|
1427
1431
|
include?: string[] | undefined;
|
|
1428
|
-
prefix?: string | undefined;
|
|
1429
1432
|
root?: string | undefined;
|
|
1433
|
+
prefix?: string | undefined;
|
|
1430
1434
|
} | {
|
|
1431
1435
|
type: "mdx-remote";
|
|
1432
1436
|
url?: string | undefined;
|
|
@@ -1440,6 +1444,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1440
1444
|
ref?: string | undefined;
|
|
1441
1445
|
} | undefined;
|
|
1442
1446
|
pollInterval?: number | undefined;
|
|
1447
|
+
} | {
|
|
1448
|
+
type: "github-releases";
|
|
1449
|
+
owner: string;
|
|
1450
|
+
repo: string;
|
|
1451
|
+
prefix?: string | undefined;
|
|
1452
|
+
pollInterval?: number | undefined;
|
|
1453
|
+
drafts?: boolean | undefined;
|
|
1454
|
+
limit?: number | undefined;
|
|
1455
|
+
prereleases?: boolean | undefined;
|
|
1443
1456
|
} | {
|
|
1444
1457
|
type: "sanity";
|
|
1445
1458
|
dataset: string;
|
|
@@ -1468,27 +1481,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1468
1481
|
slug?: string | undefined;
|
|
1469
1482
|
} | undefined;
|
|
1470
1483
|
publishedValue?: string | undefined;
|
|
1471
|
-
} | {
|
|
1472
|
-
type: "github-releases";
|
|
1473
|
-
owner: string;
|
|
1474
|
-
repo: string;
|
|
1475
|
-
prefix?: string | undefined;
|
|
1476
|
-
pollInterval?: number | undefined;
|
|
1477
|
-
drafts?: boolean | undefined;
|
|
1478
|
-
limit?: number | undefined;
|
|
1479
|
-
prereleases?: boolean | undefined;
|
|
1480
1484
|
} | {
|
|
1481
1485
|
type: "mintlify";
|
|
1482
1486
|
exclude?: string[] | undefined;
|
|
1483
1487
|
include?: string[] | undefined;
|
|
1484
|
-
prefix?: string | undefined;
|
|
1485
1488
|
root?: string | undefined;
|
|
1489
|
+
prefix?: string | undefined;
|
|
1486
1490
|
configFile?: string | undefined;
|
|
1487
1491
|
variables?: Record<string, string> | undefined;
|
|
1488
1492
|
} | {
|
|
1489
1493
|
type: "custom";
|
|
1490
1494
|
source: ContentSource;
|
|
1491
1495
|
})[] | undefined;
|
|
1496
|
+
assets?: string[] | undefined;
|
|
1497
|
+
defaultType?: string | undefined;
|
|
1498
|
+
include?: string[] | undefined;
|
|
1499
|
+
pages?: string | undefined;
|
|
1500
|
+
root?: string | undefined;
|
|
1492
1501
|
}>>;
|
|
1493
1502
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1494
1503
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1562,8 +1571,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1562
1571
|
}, {
|
|
1563
1572
|
owner: string;
|
|
1564
1573
|
repo: string;
|
|
1565
|
-
dir?: string | undefined;
|
|
1566
1574
|
branch?: string | undefined;
|
|
1575
|
+
dir?: string | undefined;
|
|
1567
1576
|
}>>;
|
|
1568
1577
|
i18n: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1569
1578
|
defaultLocale: z.ZodDefault<z.ZodString>;
|
|
@@ -1647,15 +1656,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1647
1656
|
href: z.ZodOptional<z.ZodString>;
|
|
1648
1657
|
light: z.ZodOptional<z.ZodString>;
|
|
1649
1658
|
}, "strict", z.ZodTypeAny, {
|
|
1650
|
-
alt?: string | undefined;
|
|
1651
1659
|
dark?: string | undefined;
|
|
1652
|
-
href?: string | undefined;
|
|
1653
1660
|
light?: string | undefined;
|
|
1654
|
-
|
|
1661
|
+
href?: string | undefined;
|
|
1655
1662
|
alt?: string | undefined;
|
|
1663
|
+
}, {
|
|
1656
1664
|
dark?: string | undefined;
|
|
1657
|
-
href?: string | undefined;
|
|
1658
1665
|
light?: string | undefined;
|
|
1666
|
+
href?: string | undefined;
|
|
1667
|
+
alt?: string | undefined;
|
|
1659
1668
|
}>]>>;
|
|
1660
1669
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1661
1670
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1768,9 +1777,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1768
1777
|
name?: string | undefined;
|
|
1769
1778
|
}, {
|
|
1770
1779
|
enabled?: boolean | undefined;
|
|
1780
|
+
route?: string | undefined;
|
|
1771
1781
|
instructions?: string | undefined;
|
|
1772
1782
|
name?: string | undefined;
|
|
1773
|
-
route?: string | undefined;
|
|
1774
1783
|
}>>;
|
|
1775
1784
|
navigation: z.ZodDefault<z.ZodObject<{
|
|
1776
1785
|
chromeVariants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1812,7 +1821,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1812
1821
|
}, "strict", z.ZodTypeAny, {
|
|
1813
1822
|
content: string;
|
|
1814
1823
|
dismissible: boolean;
|
|
1815
|
-
type?: "
|
|
1824
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1816
1825
|
id?: string | undefined;
|
|
1817
1826
|
color?: {
|
|
1818
1827
|
dark?: string | undefined;
|
|
@@ -1824,7 +1833,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1824
1833
|
} | undefined;
|
|
1825
1834
|
}, {
|
|
1826
1835
|
content: string;
|
|
1827
|
-
type?: "
|
|
1836
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1828
1837
|
id?: string | undefined;
|
|
1829
1838
|
color?: {
|
|
1830
1839
|
dark?: string | undefined;
|
|
@@ -1842,7 +1851,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1842
1851
|
banner?: string | {
|
|
1843
1852
|
content: string;
|
|
1844
1853
|
dismissible: boolean;
|
|
1845
|
-
type?: "
|
|
1854
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1846
1855
|
id?: string | undefined;
|
|
1847
1856
|
color?: {
|
|
1848
1857
|
dark?: string | undefined;
|
|
@@ -1857,7 +1866,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1857
1866
|
path: string;
|
|
1858
1867
|
banner?: string | {
|
|
1859
1868
|
content: string;
|
|
1860
|
-
type?: "
|
|
1869
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1861
1870
|
id?: string | undefined;
|
|
1862
1871
|
color?: {
|
|
1863
1872
|
dark?: string | undefined;
|
|
@@ -1980,7 +1989,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1980
1989
|
banner?: string | {
|
|
1981
1990
|
content: string;
|
|
1982
1991
|
dismissible: boolean;
|
|
1983
|
-
type?: "
|
|
1992
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
1984
1993
|
id?: string | undefined;
|
|
1985
1994
|
color?: {
|
|
1986
1995
|
dark?: string | undefined;
|
|
@@ -2027,7 +2036,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2027
2036
|
path: string;
|
|
2028
2037
|
banner?: string | {
|
|
2029
2038
|
content: string;
|
|
2030
|
-
type?: "
|
|
2039
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2031
2040
|
id?: string | undefined;
|
|
2032
2041
|
color?: {
|
|
2033
2042
|
dark?: string | undefined;
|
|
@@ -2094,25 +2103,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2094
2103
|
/** Scalar theme name; defaults to a Blume-derived accent override. */
|
|
2095
2104
|
theme: z.ZodOptional<z.ZodString>;
|
|
2096
2105
|
}, "strict", z.ZodTypeAny, {
|
|
2106
|
+
enabled: boolean;
|
|
2107
|
+
route: string;
|
|
2097
2108
|
sources: {
|
|
2098
2109
|
spec: string;
|
|
2099
2110
|
label?: string | undefined;
|
|
2100
2111
|
route?: string | undefined;
|
|
2101
2112
|
}[];
|
|
2102
|
-
enabled: boolean;
|
|
2103
|
-
route: string;
|
|
2104
|
-
theme?: string | undefined;
|
|
2105
2113
|
spec?: string | undefined;
|
|
2114
|
+
theme?: string | undefined;
|
|
2106
2115
|
}, {
|
|
2116
|
+
enabled?: boolean | undefined;
|
|
2117
|
+
route?: string | undefined;
|
|
2118
|
+
spec?: string | undefined;
|
|
2107
2119
|
sources?: {
|
|
2108
2120
|
spec: string;
|
|
2109
2121
|
label?: string | undefined;
|
|
2110
2122
|
route?: string | undefined;
|
|
2111
2123
|
}[] | undefined;
|
|
2112
|
-
enabled?: boolean | undefined;
|
|
2113
|
-
route?: string | undefined;
|
|
2114
2124
|
theme?: string | undefined;
|
|
2115
|
-
spec?: string | undefined;
|
|
2116
2125
|
}>>;
|
|
2117
2126
|
redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2118
2127
|
from: z.ZodString;
|
|
@@ -2178,35 +2187,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2178
2187
|
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
|
2179
2188
|
searchApiKey: z.ZodString;
|
|
2180
2189
|
}, "strict", z.ZodTypeAny, {
|
|
2190
|
+
host: string;
|
|
2181
2191
|
searchApiKey: string;
|
|
2182
2192
|
collection: string;
|
|
2183
|
-
host: string;
|
|
2184
2193
|
port?: number | undefined;
|
|
2185
2194
|
protocol?: "http" | "https" | undefined;
|
|
2186
2195
|
}, {
|
|
2196
|
+
host: string;
|
|
2187
2197
|
searchApiKey: string;
|
|
2188
2198
|
collection: string;
|
|
2189
|
-
host: string;
|
|
2190
2199
|
port?: number | undefined;
|
|
2191
2200
|
protocol?: "http" | "https" | undefined;
|
|
2192
2201
|
}>>;
|
|
2193
2202
|
}, "strict", z.ZodTypeAny, {
|
|
2203
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2194
2204
|
indexing: {
|
|
2195
2205
|
includeHiddenPages: boolean;
|
|
2196
2206
|
};
|
|
2197
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2198
2207
|
algolia?: {
|
|
2199
2208
|
appId: string;
|
|
2200
2209
|
indexName: string;
|
|
2201
2210
|
searchApiKey: string;
|
|
2202
2211
|
} | undefined;
|
|
2203
|
-
typesense?: {
|
|
2204
|
-
searchApiKey: string;
|
|
2205
|
-
collection: string;
|
|
2206
|
-
host: string;
|
|
2207
|
-
port?: number | undefined;
|
|
2208
|
-
protocol?: "http" | "https" | undefined;
|
|
2209
|
-
} | undefined;
|
|
2210
2212
|
mixedbread?: {
|
|
2211
2213
|
storeId: string;
|
|
2212
2214
|
} | undefined;
|
|
@@ -2216,18 +2218,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2216
2218
|
indexId?: string | undefined;
|
|
2217
2219
|
} | undefined;
|
|
2218
2220
|
prompt?: string | undefined;
|
|
2221
|
+
typesense?: {
|
|
2222
|
+
host: string;
|
|
2223
|
+
searchApiKey: string;
|
|
2224
|
+
collection: string;
|
|
2225
|
+
port?: number | undefined;
|
|
2226
|
+
protocol?: "http" | "https" | undefined;
|
|
2227
|
+
} | undefined;
|
|
2219
2228
|
}, {
|
|
2229
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2220
2230
|
algolia?: {
|
|
2221
2231
|
appId: string;
|
|
2222
2232
|
indexName: string;
|
|
2223
2233
|
searchApiKey: string;
|
|
2224
2234
|
} | undefined;
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
collection: string;
|
|
2228
|
-
host: string;
|
|
2229
|
-
port?: number | undefined;
|
|
2230
|
-
protocol?: "http" | "https" | undefined;
|
|
2235
|
+
indexing?: {
|
|
2236
|
+
includeHiddenPages?: boolean | undefined;
|
|
2231
2237
|
} | undefined;
|
|
2232
2238
|
mixedbread?: {
|
|
2233
2239
|
storeId: string;
|
|
@@ -2237,28 +2243,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2237
2243
|
endpoint: string;
|
|
2238
2244
|
indexId?: string | undefined;
|
|
2239
2245
|
} | undefined;
|
|
2240
|
-
indexing?: {
|
|
2241
|
-
includeHiddenPages?: boolean | undefined;
|
|
2242
|
-
} | undefined;
|
|
2243
2246
|
prompt?: string | undefined;
|
|
2244
|
-
|
|
2247
|
+
typesense?: {
|
|
2248
|
+
host: string;
|
|
2249
|
+
searchApiKey: string;
|
|
2250
|
+
collection: string;
|
|
2251
|
+
port?: number | undefined;
|
|
2252
|
+
protocol?: "http" | "https" | undefined;
|
|
2253
|
+
} | undefined;
|
|
2245
2254
|
}>, {
|
|
2255
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2246
2256
|
indexing: {
|
|
2247
2257
|
includeHiddenPages: boolean;
|
|
2248
2258
|
};
|
|
2249
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2250
2259
|
algolia?: {
|
|
2251
2260
|
appId: string;
|
|
2252
2261
|
indexName: string;
|
|
2253
2262
|
searchApiKey: string;
|
|
2254
2263
|
} | undefined;
|
|
2255
|
-
typesense?: {
|
|
2256
|
-
searchApiKey: string;
|
|
2257
|
-
collection: string;
|
|
2258
|
-
host: string;
|
|
2259
|
-
port?: number | undefined;
|
|
2260
|
-
protocol?: "http" | "https" | undefined;
|
|
2261
|
-
} | undefined;
|
|
2262
2264
|
mixedbread?: {
|
|
2263
2265
|
storeId: string;
|
|
2264
2266
|
} | undefined;
|
|
@@ -2268,18 +2270,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2268
2270
|
indexId?: string | undefined;
|
|
2269
2271
|
} | undefined;
|
|
2270
2272
|
prompt?: string | undefined;
|
|
2273
|
+
typesense?: {
|
|
2274
|
+
host: string;
|
|
2275
|
+
searchApiKey: string;
|
|
2276
|
+
collection: string;
|
|
2277
|
+
port?: number | undefined;
|
|
2278
|
+
protocol?: "http" | "https" | undefined;
|
|
2279
|
+
} | undefined;
|
|
2271
2280
|
}, {
|
|
2281
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2272
2282
|
algolia?: {
|
|
2273
2283
|
appId: string;
|
|
2274
2284
|
indexName: string;
|
|
2275
2285
|
searchApiKey: string;
|
|
2276
2286
|
} | undefined;
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
collection: string;
|
|
2280
|
-
host: string;
|
|
2281
|
-
port?: number | undefined;
|
|
2282
|
-
protocol?: "http" | "https" | undefined;
|
|
2287
|
+
indexing?: {
|
|
2288
|
+
includeHiddenPages?: boolean | undefined;
|
|
2283
2289
|
} | undefined;
|
|
2284
2290
|
mixedbread?: {
|
|
2285
2291
|
storeId: string;
|
|
@@ -2289,11 +2295,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2289
2295
|
endpoint: string;
|
|
2290
2296
|
indexId?: string | undefined;
|
|
2291
2297
|
} | undefined;
|
|
2292
|
-
indexing?: {
|
|
2293
|
-
includeHiddenPages?: boolean | undefined;
|
|
2294
|
-
} | undefined;
|
|
2295
2298
|
prompt?: string | undefined;
|
|
2296
|
-
|
|
2299
|
+
typesense?: {
|
|
2300
|
+
host: string;
|
|
2301
|
+
searchApiKey: string;
|
|
2302
|
+
collection: string;
|
|
2303
|
+
port?: number | undefined;
|
|
2304
|
+
protocol?: "http" | "https" | undefined;
|
|
2305
|
+
} | undefined;
|
|
2297
2306
|
}>>;
|
|
2298
2307
|
seo: z.ZodDefault<z.ZodObject<{
|
|
2299
2308
|
metatags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2319,12 +2328,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2319
2328
|
/** Content types that each get a feed at `/<type>/rss.xml`. */
|
|
2320
2329
|
types: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2321
2330
|
}, "strict", z.ZodTypeAny, {
|
|
2322
|
-
limit: number;
|
|
2323
2331
|
enabled: boolean;
|
|
2332
|
+
limit: number;
|
|
2324
2333
|
types: string[];
|
|
2325
2334
|
}, {
|
|
2326
|
-
limit?: number | undefined;
|
|
2327
2335
|
enabled?: boolean | undefined;
|
|
2336
|
+
limit?: number | undefined;
|
|
2328
2337
|
types?: string[] | undefined;
|
|
2329
2338
|
}>>;
|
|
2330
2339
|
/** Generate sitemap.xml (requires deployment.site). */
|
|
@@ -2333,8 +2342,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2333
2342
|
structuredData: z.ZodDefault<z.ZodBoolean>;
|
|
2334
2343
|
}, "strict", z.ZodTypeAny, {
|
|
2335
2344
|
rss: {
|
|
2336
|
-
limit: number;
|
|
2337
2345
|
enabled: boolean;
|
|
2346
|
+
limit: number;
|
|
2338
2347
|
types: string[];
|
|
2339
2348
|
};
|
|
2340
2349
|
metatags: Record<string, string>;
|
|
@@ -2346,8 +2355,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2346
2355
|
structuredData: boolean;
|
|
2347
2356
|
}, {
|
|
2348
2357
|
rss?: {
|
|
2349
|
-
limit?: number | undefined;
|
|
2350
2358
|
enabled?: boolean | undefined;
|
|
2359
|
+
limit?: number | undefined;
|
|
2351
2360
|
types?: string[] | undefined;
|
|
2352
2361
|
} | undefined;
|
|
2353
2362
|
metatags?: Record<string, string> | undefined;
|
|
@@ -2444,22 +2453,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2444
2453
|
title: string;
|
|
2445
2454
|
feedback: boolean;
|
|
2446
2455
|
search: {
|
|
2456
|
+
provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
|
|
2447
2457
|
indexing: {
|
|
2448
2458
|
includeHiddenPages: boolean;
|
|
2449
2459
|
};
|
|
2450
|
-
provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
|
|
2451
2460
|
algolia?: {
|
|
2452
2461
|
appId: string;
|
|
2453
2462
|
indexName: string;
|
|
2454
2463
|
searchApiKey: string;
|
|
2455
2464
|
} | undefined;
|
|
2456
|
-
typesense?: {
|
|
2457
|
-
searchApiKey: string;
|
|
2458
|
-
collection: string;
|
|
2459
|
-
host: string;
|
|
2460
|
-
port?: number | undefined;
|
|
2461
|
-
protocol?: "http" | "https" | undefined;
|
|
2462
|
-
} | undefined;
|
|
2463
2465
|
mixedbread?: {
|
|
2464
2466
|
storeId: string;
|
|
2465
2467
|
} | undefined;
|
|
@@ -2469,6 +2471,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2469
2471
|
indexId?: string | undefined;
|
|
2470
2472
|
} | undefined;
|
|
2471
2473
|
prompt?: string | undefined;
|
|
2474
|
+
typesense?: {
|
|
2475
|
+
host: string;
|
|
2476
|
+
searchApiKey: string;
|
|
2477
|
+
collection: string;
|
|
2478
|
+
port?: number | undefined;
|
|
2479
|
+
protocol?: "http" | "https" | undefined;
|
|
2480
|
+
} | undefined;
|
|
2472
2481
|
};
|
|
2473
2482
|
toc: {
|
|
2474
2483
|
enabled: boolean;
|
|
@@ -2480,8 +2489,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2480
2489
|
};
|
|
2481
2490
|
seo: {
|
|
2482
2491
|
rss: {
|
|
2483
|
-
limit: number;
|
|
2484
2492
|
enabled: boolean;
|
|
2493
|
+
limit: number;
|
|
2485
2494
|
types: string[];
|
|
2486
2495
|
};
|
|
2487
2496
|
metatags: Record<string, string>;
|
|
@@ -2492,12 +2501,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2492
2501
|
sitemap: boolean;
|
|
2493
2502
|
structuredData: boolean;
|
|
2494
2503
|
};
|
|
2504
|
+
ai: {
|
|
2505
|
+
llmsTxt: boolean;
|
|
2506
|
+
ask?: {
|
|
2507
|
+
enabled: boolean;
|
|
2508
|
+
model: string;
|
|
2509
|
+
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
2510
|
+
apiKeyEnv?: string | undefined;
|
|
2511
|
+
baseUrl?: string | undefined;
|
|
2512
|
+
} | undefined;
|
|
2513
|
+
};
|
|
2495
2514
|
content: {
|
|
2496
2515
|
exclude: string[];
|
|
2497
|
-
|
|
2516
|
+
assets: string[];
|
|
2517
|
+
defaultType: string;
|
|
2498
2518
|
include: string[];
|
|
2519
|
+
pages: string;
|
|
2499
2520
|
root: string;
|
|
2500
|
-
defaultType: string;
|
|
2501
2521
|
sources?: ({
|
|
2502
2522
|
type: "filesystem";
|
|
2503
2523
|
exclude: string[];
|
|
@@ -2517,6 +2537,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2517
2537
|
repo: string;
|
|
2518
2538
|
} | undefined;
|
|
2519
2539
|
pollInterval?: number | undefined;
|
|
2540
|
+
} | {
|
|
2541
|
+
type: "github-releases";
|
|
2542
|
+
owner: string;
|
|
2543
|
+
repo: string;
|
|
2544
|
+
prefix?: string | undefined;
|
|
2545
|
+
pollInterval?: number | undefined;
|
|
2546
|
+
drafts?: boolean | undefined;
|
|
2547
|
+
limit?: number | undefined;
|
|
2548
|
+
prereleases?: boolean | undefined;
|
|
2520
2549
|
} | {
|
|
2521
2550
|
type: "sanity";
|
|
2522
2551
|
dataset: string;
|
|
@@ -2545,15 +2574,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2545
2574
|
slug?: string | undefined;
|
|
2546
2575
|
} | undefined;
|
|
2547
2576
|
publishedValue?: string | undefined;
|
|
2548
|
-
} | {
|
|
2549
|
-
type: "github-releases";
|
|
2550
|
-
owner: string;
|
|
2551
|
-
repo: string;
|
|
2552
|
-
prefix?: string | undefined;
|
|
2553
|
-
pollInterval?: number | undefined;
|
|
2554
|
-
drafts?: boolean | undefined;
|
|
2555
|
-
limit?: number | undefined;
|
|
2556
|
-
prereleases?: boolean | undefined;
|
|
2557
2577
|
} | {
|
|
2558
2578
|
type: "mintlify";
|
|
2559
2579
|
exclude: string[];
|
|
@@ -2567,7 +2587,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2567
2587
|
source: ContentSource;
|
|
2568
2588
|
})[] | undefined;
|
|
2569
2589
|
};
|
|
2570
|
-
variables: Record<string, string>;
|
|
2571
2590
|
theme: {
|
|
2572
2591
|
strict: boolean;
|
|
2573
2592
|
mode: "dark" | "light" | "system";
|
|
@@ -2587,27 +2606,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2587
2606
|
backgroundImage?: string | undefined;
|
|
2588
2607
|
backgroundImageDark?: string | undefined;
|
|
2589
2608
|
};
|
|
2590
|
-
ai: {
|
|
2591
|
-
llmsTxt: boolean;
|
|
2592
|
-
ask?: {
|
|
2593
|
-
provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
|
|
2594
|
-
enabled: boolean;
|
|
2595
|
-
model: string;
|
|
2596
|
-
apiKeyEnv?: string | undefined;
|
|
2597
|
-
baseUrl?: string | undefined;
|
|
2598
|
-
} | undefined;
|
|
2599
|
-
};
|
|
2600
2609
|
asyncapi: {
|
|
2610
|
+
enabled: boolean;
|
|
2611
|
+
route: string;
|
|
2601
2612
|
sources: {
|
|
2602
2613
|
spec: string;
|
|
2603
2614
|
label?: string | undefined;
|
|
2604
2615
|
route?: string | undefined;
|
|
2605
2616
|
}[];
|
|
2606
|
-
enabled: boolean;
|
|
2607
|
-
route: string;
|
|
2608
|
-
theme?: string | undefined;
|
|
2609
2617
|
spec?: string | undefined;
|
|
2618
|
+
theme?: string | undefined;
|
|
2610
2619
|
};
|
|
2620
|
+
variables: Record<string, string>;
|
|
2611
2621
|
deployment: {
|
|
2612
2622
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2613
2623
|
output: "static" | "server";
|
|
@@ -2648,7 +2658,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2648
2658
|
banner?: string | {
|
|
2649
2659
|
content: string;
|
|
2650
2660
|
dismissible: boolean;
|
|
2651
|
-
type?: "
|
|
2661
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2652
2662
|
id?: string | undefined;
|
|
2653
2663
|
color?: {
|
|
2654
2664
|
dark?: string | undefined;
|
|
@@ -2690,15 +2700,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2690
2700
|
}[] | undefined;
|
|
2691
2701
|
};
|
|
2692
2702
|
openapi: {
|
|
2703
|
+
enabled: boolean;
|
|
2704
|
+
route: string;
|
|
2693
2705
|
sources: {
|
|
2694
2706
|
spec: string;
|
|
2695
2707
|
label?: string | undefined;
|
|
2696
2708
|
route?: string | undefined;
|
|
2697
2709
|
}[];
|
|
2698
|
-
enabled: boolean;
|
|
2699
|
-
route: string;
|
|
2700
|
-
theme?: string | undefined;
|
|
2701
2710
|
spec?: string | undefined;
|
|
2711
|
+
theme?: string | undefined;
|
|
2702
2712
|
};
|
|
2703
2713
|
redirects: {
|
|
2704
2714
|
status: 301 | 302 | 307 | 308;
|
|
@@ -2706,16 +2716,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2706
2716
|
to: string;
|
|
2707
2717
|
}[];
|
|
2708
2718
|
description?: string | undefined;
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2719
|
+
analytics?: {
|
|
2720
|
+
posthog?: {
|
|
2721
|
+
key: string;
|
|
2722
|
+
host?: string | undefined;
|
|
2723
|
+
} | undefined;
|
|
2724
|
+
scripts?: {
|
|
2725
|
+
attributes?: Record<string, string> | undefined;
|
|
2726
|
+
content?: string | undefined;
|
|
2727
|
+
src?: string | undefined;
|
|
2728
|
+
strategy?: "async" | "defer" | undefined;
|
|
2729
|
+
}[] | undefined;
|
|
2730
|
+
vercel?: boolean | undefined;
|
|
2714
2731
|
} | undefined;
|
|
2715
2732
|
banner?: string | {
|
|
2716
2733
|
content: string;
|
|
2717
2734
|
dismissible: boolean;
|
|
2718
|
-
type?: "
|
|
2735
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2719
2736
|
id?: string | undefined;
|
|
2720
2737
|
color?: {
|
|
2721
2738
|
dark?: string | undefined;
|
|
@@ -2726,18 +2743,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2726
2743
|
text: string;
|
|
2727
2744
|
} | undefined;
|
|
2728
2745
|
} | undefined;
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
scripts?: {
|
|
2735
|
-
content?: string | undefined;
|
|
2736
|
-
attributes?: Record<string, string> | undefined;
|
|
2737
|
-
src?: string | undefined;
|
|
2738
|
-
strategy?: "async" | "defer" | undefined;
|
|
2739
|
-
}[] | undefined;
|
|
2740
|
-
vercel?: boolean | undefined;
|
|
2746
|
+
github?: {
|
|
2747
|
+
owner: string;
|
|
2748
|
+
repo: string;
|
|
2749
|
+
branch: string;
|
|
2750
|
+
dir?: string | undefined;
|
|
2741
2751
|
} | undefined;
|
|
2742
2752
|
favicon?: string | {
|
|
2743
2753
|
dark?: string | undefined;
|
|
@@ -2756,26 +2766,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2756
2766
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
2757
2767
|
} | undefined;
|
|
2758
2768
|
logo?: string | {
|
|
2759
|
-
alt?: string | undefined;
|
|
2760
2769
|
dark?: string | undefined;
|
|
2761
|
-
href?: string | undefined;
|
|
2762
2770
|
light?: string | undefined;
|
|
2771
|
+
href?: string | undefined;
|
|
2772
|
+
alt?: string | undefined;
|
|
2763
2773
|
} | undefined;
|
|
2764
2774
|
}, {
|
|
2765
2775
|
title?: string | undefined;
|
|
2766
2776
|
feedback?: boolean | undefined;
|
|
2767
2777
|
search?: {
|
|
2778
|
+
provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
|
|
2768
2779
|
algolia?: {
|
|
2769
2780
|
appId: string;
|
|
2770
2781
|
indexName: string;
|
|
2771
2782
|
searchApiKey: string;
|
|
2772
2783
|
} | undefined;
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
collection: string;
|
|
2776
|
-
host: string;
|
|
2777
|
-
port?: number | undefined;
|
|
2778
|
-
protocol?: "http" | "https" | undefined;
|
|
2784
|
+
indexing?: {
|
|
2785
|
+
includeHiddenPages?: boolean | undefined;
|
|
2779
2786
|
} | undefined;
|
|
2780
2787
|
mixedbread?: {
|
|
2781
2788
|
storeId: string;
|
|
@@ -2785,11 +2792,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2785
2792
|
endpoint: string;
|
|
2786
2793
|
indexId?: string | undefined;
|
|
2787
2794
|
} | undefined;
|
|
2788
|
-
indexing?: {
|
|
2789
|
-
includeHiddenPages?: boolean | undefined;
|
|
2790
|
-
} | undefined;
|
|
2791
2795
|
prompt?: string | undefined;
|
|
2792
|
-
|
|
2796
|
+
typesense?: {
|
|
2797
|
+
host: string;
|
|
2798
|
+
searchApiKey: string;
|
|
2799
|
+
collection: string;
|
|
2800
|
+
port?: number | undefined;
|
|
2801
|
+
protocol?: "http" | "https" | undefined;
|
|
2802
|
+
} | undefined;
|
|
2793
2803
|
} | undefined;
|
|
2794
2804
|
toc?: boolean | {
|
|
2795
2805
|
maxHeadingLevel?: number | undefined;
|
|
@@ -2801,8 +2811,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2801
2811
|
} | undefined;
|
|
2802
2812
|
seo?: {
|
|
2803
2813
|
rss?: {
|
|
2804
|
-
limit?: number | undefined;
|
|
2805
2814
|
enabled?: boolean | undefined;
|
|
2815
|
+
limit?: number | undefined;
|
|
2806
2816
|
types?: string[] | undefined;
|
|
2807
2817
|
} | undefined;
|
|
2808
2818
|
metatags?: Record<string, string> | undefined;
|
|
@@ -2813,18 +2823,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2813
2823
|
sitemap?: boolean | undefined;
|
|
2814
2824
|
structuredData?: boolean | undefined;
|
|
2815
2825
|
} | undefined;
|
|
2826
|
+
ai?: {
|
|
2827
|
+
ask?: {
|
|
2828
|
+
apiKeyEnv?: string | undefined;
|
|
2829
|
+
baseUrl?: string | undefined;
|
|
2830
|
+
enabled?: boolean | undefined;
|
|
2831
|
+
model?: string | undefined;
|
|
2832
|
+
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
2833
|
+
} | undefined;
|
|
2834
|
+
llmsTxt?: boolean | undefined;
|
|
2835
|
+
} | undefined;
|
|
2816
2836
|
content?: {
|
|
2817
2837
|
exclude?: string[] | undefined;
|
|
2818
|
-
pages?: string | undefined;
|
|
2819
|
-
include?: string[] | undefined;
|
|
2820
|
-
root?: string | undefined;
|
|
2821
|
-
defaultType?: string | undefined;
|
|
2822
2838
|
sources?: ({
|
|
2823
2839
|
type: "filesystem";
|
|
2824
2840
|
exclude?: string[] | undefined;
|
|
2825
2841
|
include?: string[] | undefined;
|
|
2826
|
-
prefix?: string | undefined;
|
|
2827
2842
|
root?: string | undefined;
|
|
2843
|
+
prefix?: string | undefined;
|
|
2828
2844
|
} | {
|
|
2829
2845
|
type: "mdx-remote";
|
|
2830
2846
|
url?: string | undefined;
|
|
@@ -2838,6 +2854,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2838
2854
|
ref?: string | undefined;
|
|
2839
2855
|
} | undefined;
|
|
2840
2856
|
pollInterval?: number | undefined;
|
|
2857
|
+
} | {
|
|
2858
|
+
type: "github-releases";
|
|
2859
|
+
owner: string;
|
|
2860
|
+
repo: string;
|
|
2861
|
+
prefix?: string | undefined;
|
|
2862
|
+
pollInterval?: number | undefined;
|
|
2863
|
+
drafts?: boolean | undefined;
|
|
2864
|
+
limit?: number | undefined;
|
|
2865
|
+
prereleases?: boolean | undefined;
|
|
2841
2866
|
} | {
|
|
2842
2867
|
type: "sanity";
|
|
2843
2868
|
dataset: string;
|
|
@@ -2866,48 +2891,36 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2866
2891
|
slug?: string | undefined;
|
|
2867
2892
|
} | undefined;
|
|
2868
2893
|
publishedValue?: string | undefined;
|
|
2869
|
-
} | {
|
|
2870
|
-
type: "github-releases";
|
|
2871
|
-
owner: string;
|
|
2872
|
-
repo: string;
|
|
2873
|
-
prefix?: string | undefined;
|
|
2874
|
-
pollInterval?: number | undefined;
|
|
2875
|
-
drafts?: boolean | undefined;
|
|
2876
|
-
limit?: number | undefined;
|
|
2877
|
-
prereleases?: boolean | undefined;
|
|
2878
2894
|
} | {
|
|
2879
2895
|
type: "mintlify";
|
|
2880
2896
|
exclude?: string[] | undefined;
|
|
2881
2897
|
include?: string[] | undefined;
|
|
2882
|
-
prefix?: string | undefined;
|
|
2883
2898
|
root?: string | undefined;
|
|
2899
|
+
prefix?: string | undefined;
|
|
2884
2900
|
configFile?: string | undefined;
|
|
2885
2901
|
variables?: Record<string, string> | undefined;
|
|
2886
2902
|
} | {
|
|
2887
2903
|
type: "custom";
|
|
2888
2904
|
source: ContentSource;
|
|
2889
2905
|
})[] | undefined;
|
|
2906
|
+
assets?: string[] | undefined;
|
|
2907
|
+
defaultType?: string | undefined;
|
|
2908
|
+
include?: string[] | undefined;
|
|
2909
|
+
pages?: string | undefined;
|
|
2910
|
+
root?: string | undefined;
|
|
2890
2911
|
} | undefined;
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
branch?: string | undefined;
|
|
2896
|
-
} | undefined;
|
|
2897
|
-
variables?: Record<string, string> | undefined;
|
|
2898
|
-
banner?: string | {
|
|
2899
|
-
content: string;
|
|
2900
|
-
type?: "info" | "warning" | "critical" | undefined;
|
|
2901
|
-
id?: string | undefined;
|
|
2902
|
-
color?: {
|
|
2903
|
-
dark?: string | undefined;
|
|
2904
|
-
light?: string | undefined;
|
|
2905
|
-
} | undefined;
|
|
2906
|
-
dismissible?: boolean | undefined;
|
|
2907
|
-
link?: {
|
|
2908
|
-
href: string;
|
|
2909
|
-
text: string;
|
|
2912
|
+
analytics?: {
|
|
2913
|
+
posthog?: {
|
|
2914
|
+
key: string;
|
|
2915
|
+
host?: string | undefined;
|
|
2910
2916
|
} | undefined;
|
|
2917
|
+
scripts?: {
|
|
2918
|
+
attributes?: Record<string, string> | undefined;
|
|
2919
|
+
content?: string | undefined;
|
|
2920
|
+
src?: string | undefined;
|
|
2921
|
+
strategy?: "async" | "defer" | undefined;
|
|
2922
|
+
}[] | undefined;
|
|
2923
|
+
vercel?: boolean | undefined;
|
|
2911
2924
|
} | undefined;
|
|
2912
2925
|
theme?: {
|
|
2913
2926
|
strict?: boolean | undefined;
|
|
@@ -2928,40 +2941,38 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2928
2941
|
layout?: "sidebar" | undefined;
|
|
2929
2942
|
radius?: "md" | "none" | "sm" | "lg" | undefined;
|
|
2930
2943
|
} | undefined;
|
|
2931
|
-
ai?: {
|
|
2932
|
-
ask?: {
|
|
2933
|
-
provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
|
|
2934
|
-
apiKeyEnv?: string | undefined;
|
|
2935
|
-
baseUrl?: string | undefined;
|
|
2936
|
-
enabled?: boolean | undefined;
|
|
2937
|
-
model?: string | undefined;
|
|
2938
|
-
} | undefined;
|
|
2939
|
-
llmsTxt?: boolean | undefined;
|
|
2940
|
-
} | undefined;
|
|
2941
|
-
analytics?: {
|
|
2942
|
-
posthog?: {
|
|
2943
|
-
key: string;
|
|
2944
|
-
host?: string | undefined;
|
|
2945
|
-
} | undefined;
|
|
2946
|
-
scripts?: {
|
|
2947
|
-
content?: string | undefined;
|
|
2948
|
-
attributes?: Record<string, string> | undefined;
|
|
2949
|
-
src?: string | undefined;
|
|
2950
|
-
strategy?: "async" | "defer" | undefined;
|
|
2951
|
-
}[] | undefined;
|
|
2952
|
-
vercel?: boolean | undefined;
|
|
2953
|
-
} | undefined;
|
|
2954
2944
|
asyncapi?: {
|
|
2945
|
+
enabled?: boolean | undefined;
|
|
2946
|
+
route?: string | undefined;
|
|
2947
|
+
spec?: string | undefined;
|
|
2955
2948
|
sources?: {
|
|
2956
2949
|
spec: string;
|
|
2957
2950
|
label?: string | undefined;
|
|
2958
2951
|
route?: string | undefined;
|
|
2959
2952
|
}[] | undefined;
|
|
2960
|
-
enabled?: boolean | undefined;
|
|
2961
|
-
route?: string | undefined;
|
|
2962
2953
|
theme?: string | undefined;
|
|
2963
|
-
spec?: string | undefined;
|
|
2964
2954
|
} | undefined;
|
|
2955
|
+
banner?: string | {
|
|
2956
|
+
content: string;
|
|
2957
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
2958
|
+
id?: string | undefined;
|
|
2959
|
+
color?: {
|
|
2960
|
+
dark?: string | undefined;
|
|
2961
|
+
light?: string | undefined;
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
dismissible?: boolean | undefined;
|
|
2964
|
+
link?: {
|
|
2965
|
+
href: string;
|
|
2966
|
+
text: string;
|
|
2967
|
+
} | undefined;
|
|
2968
|
+
} | undefined;
|
|
2969
|
+
github?: {
|
|
2970
|
+
owner: string;
|
|
2971
|
+
repo: string;
|
|
2972
|
+
branch?: string | undefined;
|
|
2973
|
+
dir?: string | undefined;
|
|
2974
|
+
} | undefined;
|
|
2975
|
+
variables?: Record<string, string> | undefined;
|
|
2965
2976
|
deployment?: {
|
|
2966
2977
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
2967
2978
|
base?: string | undefined;
|
|
@@ -2990,10 +3001,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2990
3001
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
2991
3002
|
} | undefined;
|
|
2992
3003
|
logo?: string | {
|
|
2993
|
-
alt?: string | undefined;
|
|
2994
3004
|
dark?: string | undefined;
|
|
2995
|
-
href?: string | undefined;
|
|
2996
3005
|
light?: string | undefined;
|
|
3006
|
+
href?: string | undefined;
|
|
3007
|
+
alt?: string | undefined;
|
|
2997
3008
|
} | undefined;
|
|
2998
3009
|
markdown?: {
|
|
2999
3010
|
code?: {
|
|
@@ -3013,9 +3024,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3013
3024
|
} | undefined;
|
|
3014
3025
|
mcp?: {
|
|
3015
3026
|
enabled?: boolean | undefined;
|
|
3027
|
+
route?: string | undefined;
|
|
3016
3028
|
instructions?: string | undefined;
|
|
3017
3029
|
name?: string | undefined;
|
|
3018
|
-
route?: string | undefined;
|
|
3019
3030
|
} | undefined;
|
|
3020
3031
|
navigation?: {
|
|
3021
3032
|
sidebar?: SidebarItemConfig[] | undefined;
|
|
@@ -3024,7 +3035,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3024
3035
|
path: string;
|
|
3025
3036
|
banner?: string | {
|
|
3026
3037
|
content: string;
|
|
3027
|
-
type?: "
|
|
3038
|
+
type?: "warning" | "info" | "critical" | undefined;
|
|
3028
3039
|
id?: string | undefined;
|
|
3029
3040
|
color?: {
|
|
3030
3041
|
dark?: string | undefined;
|
|
@@ -3066,15 +3077,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3066
3077
|
}[] | undefined;
|
|
3067
3078
|
} | undefined;
|
|
3068
3079
|
openapi?: {
|
|
3080
|
+
enabled?: boolean | undefined;
|
|
3081
|
+
route?: string | undefined;
|
|
3082
|
+
spec?: string | undefined;
|
|
3069
3083
|
sources?: {
|
|
3070
3084
|
spec: string;
|
|
3071
3085
|
label?: string | undefined;
|
|
3072
3086
|
route?: string | undefined;
|
|
3073
3087
|
}[] | undefined;
|
|
3074
|
-
enabled?: boolean | undefined;
|
|
3075
|
-
route?: string | undefined;
|
|
3076
3088
|
theme?: string | undefined;
|
|
3077
|
-
spec?: string | undefined;
|
|
3078
3089
|
} | undefined;
|
|
3079
3090
|
redirects?: {
|
|
3080
3091
|
from: string;
|