blume 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/cli/index.js +175 -26
- package/dist/cli/index.js.map +16 -16
- package/dist/types/ai/component-markdown.d.ts +10 -0
- package/dist/types/core/config-input.d.ts +50 -5
- package/dist/types/core/i18n-ui.d.ts +24 -24
- package/dist/types/core/schema.d.ts +301 -132
- package/dist/types/core/types.d.ts +21 -0
- package/dist/types/markdown/themes.d.ts +21 -0
- package/dist/types/openapi/references.d.ts +5 -0
- package/docs/advanced/api-reference.mdx +20 -0
- package/docs/configuration/index.mdx +28 -1
- package/docs/content/components.mdx +1 -1
- package/docs/content/syntax.mdx +14 -0
- package/package.json +1 -1
- package/src/ai/component-markdown.ts +28 -0
- package/src/ai/llms.ts +11 -2
- package/src/ai/markdown.ts +12 -6
- package/src/astro/examples.ts +13 -0
- package/src/astro/generate.ts +95 -14
- package/src/astro/templates.ts +48 -7
- package/src/components/content/Component.astro +99 -6
- package/src/components/content/diff.ts +53 -4
- package/src/components/layout/Logo.astro +2 -2
- package/src/components/layout/RootLayout.astro +23 -6
- package/src/components/layout/nav-utils.ts +18 -7
- package/src/components/openapi/ApiTagOperations.astro +17 -8
- package/src/core/config-input.ts +51 -5
- package/src/core/date-format.ts +17 -0
- package/src/core/navigation.ts +11 -7
- package/src/core/project-graph.ts +9 -0
- package/src/core/schema.ts +96 -2
- package/src/core/types.ts +23 -0
- package/src/markdown/index.ts +2 -0
- package/src/markdown/inline-code.ts +1 -1
- package/src/markdown/themes.ts +7 -2
- package/src/openapi/references.ts +6 -0
- package/src/openapi/scalar.ts +4 -0
- package/src/registry/eject.ts +6 -3
- package/src/theme/entry.ts +7 -0
- package/src/theme/twoslash.ts +10 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { ComponentMarkdown } from "../ai/component-markdown.ts";
|
|
3
|
+
import type { CodeTheme } from "../markdown/themes.ts";
|
|
3
4
|
import type { ContentSource } from "./sources/types.ts";
|
|
4
5
|
import type { StandardSchema } from "./standard-schema.ts";
|
|
5
6
|
declare const hydrationMode: z.ZodEnum<["load", "idle", "visible", "media", "only"]>;
|
|
@@ -90,22 +91,22 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
90
91
|
}>>;
|
|
91
92
|
}, "strict", z.ZodTypeAny, {
|
|
92
93
|
noindex: boolean;
|
|
94
|
+
description?: string | undefined;
|
|
93
95
|
title?: string | undefined;
|
|
94
96
|
image?: string | undefined;
|
|
95
|
-
description?: string | undefined;
|
|
96
97
|
x?: {
|
|
97
98
|
creator?: string | undefined;
|
|
98
99
|
} | undefined;
|
|
99
100
|
canonical?: string | undefined;
|
|
100
101
|
}, {
|
|
102
|
+
description?: string | undefined;
|
|
101
103
|
title?: string | undefined;
|
|
102
104
|
image?: string | undefined;
|
|
103
|
-
description?: string | undefined;
|
|
104
105
|
x?: {
|
|
105
106
|
creator?: string | undefined;
|
|
106
107
|
} | undefined;
|
|
107
|
-
noindex?: boolean | undefined;
|
|
108
108
|
canonical?: string | undefined;
|
|
109
|
+
noindex?: boolean | undefined;
|
|
109
110
|
}>>;
|
|
110
111
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
111
112
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -123,8 +124,8 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
123
124
|
icon?: string | undefined;
|
|
124
125
|
label?: string | undefined;
|
|
125
126
|
order?: number | undefined;
|
|
126
|
-
hidden?: boolean | undefined;
|
|
127
127
|
badge?: string | undefined;
|
|
128
|
+
hidden?: boolean | undefined;
|
|
128
129
|
}>>;
|
|
129
130
|
slug: z.ZodOptional<z.ZodString>;
|
|
130
131
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -144,25 +145,25 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
144
145
|
};
|
|
145
146
|
seo: {
|
|
146
147
|
noindex: boolean;
|
|
148
|
+
description?: string | undefined;
|
|
147
149
|
title?: string | undefined;
|
|
148
150
|
image?: string | undefined;
|
|
149
|
-
description?: string | undefined;
|
|
150
151
|
x?: {
|
|
151
152
|
creator?: string | undefined;
|
|
152
153
|
} | undefined;
|
|
153
154
|
canonical?: string | undefined;
|
|
154
155
|
};
|
|
155
156
|
deprecated: boolean;
|
|
156
|
-
draft: boolean;
|
|
157
157
|
hidden: boolean;
|
|
158
158
|
noindex: boolean;
|
|
159
|
+
draft: boolean;
|
|
159
160
|
type?: string | undefined;
|
|
160
|
-
title?: string | undefined;
|
|
161
161
|
date?: string | undefined;
|
|
162
162
|
icon?: string | undefined;
|
|
163
163
|
description?: string | undefined;
|
|
164
164
|
lastModified?: string | undefined;
|
|
165
165
|
slug?: string | undefined;
|
|
166
|
+
title?: string | undefined;
|
|
166
167
|
changelog?: {
|
|
167
168
|
date?: string | undefined;
|
|
168
169
|
version?: string | undefined;
|
|
@@ -181,18 +182,18 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
181
182
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
182
183
|
}, {
|
|
183
184
|
type?: string | undefined;
|
|
184
|
-
title?: string | undefined;
|
|
185
185
|
date?: string | Date | undefined;
|
|
186
186
|
icon?: string | undefined;
|
|
187
187
|
description?: string | undefined;
|
|
188
188
|
lastModified?: string | Date | undefined;
|
|
189
189
|
slug?: string | undefined;
|
|
190
|
+
title?: string | undefined;
|
|
190
191
|
sidebar?: {
|
|
191
192
|
icon?: string | undefined;
|
|
192
193
|
label?: string | undefined;
|
|
193
194
|
order?: number | undefined;
|
|
194
|
-
hidden?: boolean | undefined;
|
|
195
195
|
badge?: string | undefined;
|
|
196
|
+
hidden?: boolean | undefined;
|
|
196
197
|
} | undefined;
|
|
197
198
|
search?: {
|
|
198
199
|
exclude?: boolean | undefined;
|
|
@@ -205,16 +206,18 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
205
206
|
category?: string | undefined;
|
|
206
207
|
} | undefined;
|
|
207
208
|
seo?: {
|
|
209
|
+
description?: string | undefined;
|
|
208
210
|
title?: string | undefined;
|
|
209
211
|
image?: string | undefined;
|
|
210
|
-
description?: string | undefined;
|
|
211
212
|
x?: {
|
|
212
213
|
creator?: string | undefined;
|
|
213
214
|
} | undefined;
|
|
214
|
-
noindex?: boolean | undefined;
|
|
215
215
|
canonical?: string | undefined;
|
|
216
|
+
noindex?: boolean | undefined;
|
|
216
217
|
} | undefined;
|
|
217
218
|
deprecated?: boolean | undefined;
|
|
219
|
+
hidden?: boolean | undefined;
|
|
220
|
+
noindex?: boolean | undefined;
|
|
218
221
|
authors?: string | z.objectInputType<{
|
|
219
222
|
avatar: z.ZodOptional<z.ZodString>;
|
|
220
223
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -227,8 +230,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
227
230
|
url: z.ZodOptional<z.ZodString>;
|
|
228
231
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
229
232
|
draft?: boolean | undefined;
|
|
230
|
-
hidden?: boolean | undefined;
|
|
231
|
-
noindex?: boolean | undefined;
|
|
232
233
|
}>;
|
|
233
234
|
export declare const pageMetaSchema: z.ZodObject<{
|
|
234
235
|
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
@@ -315,22 +316,22 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
315
316
|
}>>;
|
|
316
317
|
}, "strict", z.ZodTypeAny, {
|
|
317
318
|
noindex: boolean;
|
|
319
|
+
description?: string | undefined;
|
|
318
320
|
title?: string | undefined;
|
|
319
321
|
image?: string | undefined;
|
|
320
|
-
description?: string | undefined;
|
|
321
322
|
x?: {
|
|
322
323
|
creator?: string | undefined;
|
|
323
324
|
} | undefined;
|
|
324
325
|
canonical?: string | undefined;
|
|
325
326
|
}, {
|
|
327
|
+
description?: string | undefined;
|
|
326
328
|
title?: string | undefined;
|
|
327
329
|
image?: string | undefined;
|
|
328
|
-
description?: string | undefined;
|
|
329
330
|
x?: {
|
|
330
331
|
creator?: string | undefined;
|
|
331
332
|
} | undefined;
|
|
332
|
-
noindex?: boolean | undefined;
|
|
333
333
|
canonical?: string | undefined;
|
|
334
|
+
noindex?: boolean | undefined;
|
|
334
335
|
}>>;
|
|
335
336
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
336
337
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -348,8 +349,8 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
348
349
|
icon?: string | undefined;
|
|
349
350
|
label?: string | undefined;
|
|
350
351
|
order?: number | undefined;
|
|
351
|
-
hidden?: boolean | undefined;
|
|
352
352
|
badge?: string | undefined;
|
|
353
|
+
hidden?: boolean | undefined;
|
|
353
354
|
}>>;
|
|
354
355
|
slug: z.ZodOptional<z.ZodString>;
|
|
355
356
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -369,25 +370,25 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
369
370
|
};
|
|
370
371
|
seo: {
|
|
371
372
|
noindex: boolean;
|
|
373
|
+
description?: string | undefined;
|
|
372
374
|
title?: string | undefined;
|
|
373
375
|
image?: string | undefined;
|
|
374
|
-
description?: string | undefined;
|
|
375
376
|
x?: {
|
|
376
377
|
creator?: string | undefined;
|
|
377
378
|
} | undefined;
|
|
378
379
|
canonical?: string | undefined;
|
|
379
380
|
};
|
|
380
381
|
deprecated: boolean;
|
|
381
|
-
draft: boolean;
|
|
382
382
|
hidden: boolean;
|
|
383
383
|
noindex: boolean;
|
|
384
|
+
draft: boolean;
|
|
384
385
|
type?: string | undefined;
|
|
385
|
-
title?: string | undefined;
|
|
386
386
|
date?: string | undefined;
|
|
387
387
|
icon?: string | undefined;
|
|
388
388
|
description?: string | undefined;
|
|
389
389
|
lastModified?: string | undefined;
|
|
390
390
|
slug?: string | undefined;
|
|
391
|
+
title?: string | undefined;
|
|
391
392
|
changelog?: {
|
|
392
393
|
date?: string | undefined;
|
|
393
394
|
version?: string | undefined;
|
|
@@ -406,18 +407,18 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
406
407
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
407
408
|
}, {
|
|
408
409
|
type?: string | undefined;
|
|
409
|
-
title?: string | undefined;
|
|
410
410
|
date?: string | Date | undefined;
|
|
411
411
|
icon?: string | undefined;
|
|
412
412
|
description?: string | undefined;
|
|
413
413
|
lastModified?: string | Date | undefined;
|
|
414
414
|
slug?: string | undefined;
|
|
415
|
+
title?: string | undefined;
|
|
415
416
|
sidebar?: {
|
|
416
417
|
icon?: string | undefined;
|
|
417
418
|
label?: string | undefined;
|
|
418
419
|
order?: number | undefined;
|
|
419
|
-
hidden?: boolean | undefined;
|
|
420
420
|
badge?: string | undefined;
|
|
421
|
+
hidden?: boolean | undefined;
|
|
421
422
|
} | undefined;
|
|
422
423
|
search?: {
|
|
423
424
|
exclude?: boolean | undefined;
|
|
@@ -430,16 +431,18 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
430
431
|
category?: string | undefined;
|
|
431
432
|
} | undefined;
|
|
432
433
|
seo?: {
|
|
434
|
+
description?: string | undefined;
|
|
433
435
|
title?: string | undefined;
|
|
434
436
|
image?: string | undefined;
|
|
435
|
-
description?: string | undefined;
|
|
436
437
|
x?: {
|
|
437
438
|
creator?: string | undefined;
|
|
438
439
|
} | undefined;
|
|
439
|
-
noindex?: boolean | undefined;
|
|
440
440
|
canonical?: string | undefined;
|
|
441
|
+
noindex?: boolean | undefined;
|
|
441
442
|
} | undefined;
|
|
442
443
|
deprecated?: boolean | undefined;
|
|
444
|
+
hidden?: boolean | undefined;
|
|
445
|
+
noindex?: boolean | undefined;
|
|
443
446
|
authors?: string | z.objectInputType<{
|
|
444
447
|
avatar: z.ZodOptional<z.ZodString>;
|
|
445
448
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -452,8 +455,6 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
452
455
|
url: z.ZodOptional<z.ZodString>;
|
|
453
456
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
454
457
|
draft?: boolean | undefined;
|
|
455
|
-
hidden?: boolean | undefined;
|
|
456
|
-
noindex?: boolean | undefined;
|
|
457
458
|
}>;
|
|
458
459
|
export type PageMeta = z.infer<typeof pageMetaBaseSchema>;
|
|
459
460
|
export type PageMetaInput = z.input<typeof pageMetaBaseSchema>;
|
|
@@ -474,15 +475,15 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
474
475
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
475
476
|
title: z.ZodOptional<z.ZodString>;
|
|
476
477
|
}, "strict", z.ZodTypeAny, {
|
|
477
|
-
title?: string | undefined;
|
|
478
478
|
icon?: string | undefined;
|
|
479
479
|
pages?: string[] | undefined;
|
|
480
|
+
title?: string | undefined;
|
|
480
481
|
order?: number | undefined;
|
|
481
482
|
collapsed?: boolean | undefined;
|
|
482
483
|
}, {
|
|
483
|
-
title?: string | undefined;
|
|
484
484
|
icon?: string | undefined;
|
|
485
485
|
pages?: string[] | undefined;
|
|
486
|
+
title?: string | undefined;
|
|
486
487
|
order?: number | undefined;
|
|
487
488
|
collapsed?: boolean | undefined;
|
|
488
489
|
}>;
|
|
@@ -497,15 +498,15 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
497
498
|
type: z.ZodLiteral<"filesystem">;
|
|
498
499
|
}, "strict", z.ZodTypeAny, {
|
|
499
500
|
type: "filesystem";
|
|
500
|
-
root: string;
|
|
501
501
|
exclude: string[];
|
|
502
502
|
include: string[];
|
|
503
|
+
root: string;
|
|
503
504
|
prefix?: string | undefined;
|
|
504
505
|
}, {
|
|
505
506
|
type: "filesystem";
|
|
506
|
-
root?: string | undefined;
|
|
507
507
|
exclude?: string[] | undefined;
|
|
508
508
|
include?: string[] | undefined;
|
|
509
|
+
root?: string | undefined;
|
|
509
510
|
prefix?: string | undefined;
|
|
510
511
|
}>, z.ZodObject<{
|
|
511
512
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -608,17 +609,17 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
608
609
|
slug: z.ZodOptional<z.ZodString>;
|
|
609
610
|
title: z.ZodOptional<z.ZodString>;
|
|
610
611
|
}, "strict", z.ZodTypeAny, {
|
|
611
|
-
title?: string | undefined;
|
|
612
612
|
body?: string | undefined;
|
|
613
613
|
description?: string | undefined;
|
|
614
614
|
lastModified?: string | undefined;
|
|
615
615
|
slug?: string | undefined;
|
|
616
|
-
}, {
|
|
617
616
|
title?: string | undefined;
|
|
617
|
+
}, {
|
|
618
618
|
body?: string | undefined;
|
|
619
619
|
description?: string | undefined;
|
|
620
620
|
lastModified?: string | undefined;
|
|
621
621
|
slug?: string | undefined;
|
|
622
|
+
title?: string | undefined;
|
|
622
623
|
}>>;
|
|
623
624
|
/** Opt-in dev polling interval (seconds); omit to freeze for the session. */
|
|
624
625
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
@@ -636,11 +637,11 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
636
637
|
pollInterval?: number | undefined;
|
|
637
638
|
apiVersion?: string | undefined;
|
|
638
639
|
fields?: {
|
|
639
|
-
title?: string | undefined;
|
|
640
640
|
body?: string | undefined;
|
|
641
641
|
description?: string | undefined;
|
|
642
642
|
lastModified?: string | undefined;
|
|
643
643
|
slug?: string | undefined;
|
|
644
|
+
title?: string | undefined;
|
|
644
645
|
} | undefined;
|
|
645
646
|
}, {
|
|
646
647
|
type: "sanity";
|
|
@@ -651,11 +652,11 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
651
652
|
pollInterval?: number | undefined;
|
|
652
653
|
apiVersion?: string | undefined;
|
|
653
654
|
fields?: {
|
|
654
|
-
title?: string | undefined;
|
|
655
655
|
body?: string | undefined;
|
|
656
656
|
description?: string | undefined;
|
|
657
657
|
lastModified?: string | undefined;
|
|
658
658
|
slug?: string | undefined;
|
|
659
|
+
title?: string | undefined;
|
|
659
660
|
} | undefined;
|
|
660
661
|
}>, z.ZodObject<{
|
|
661
662
|
database: z.ZodString;
|
|
@@ -670,16 +671,16 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
670
671
|
status: z.ZodOptional<z.ZodString>;
|
|
671
672
|
title: z.ZodOptional<z.ZodString>;
|
|
672
673
|
}, "strict", z.ZodTypeAny, {
|
|
673
|
-
title?: string | undefined;
|
|
674
674
|
status?: string | undefined;
|
|
675
675
|
description?: string | undefined;
|
|
676
676
|
slug?: string | undefined;
|
|
677
|
+
title?: string | undefined;
|
|
677
678
|
order?: string | undefined;
|
|
678
679
|
}, {
|
|
679
|
-
title?: string | undefined;
|
|
680
680
|
status?: string | undefined;
|
|
681
681
|
description?: string | undefined;
|
|
682
682
|
slug?: string | undefined;
|
|
683
|
+
title?: string | undefined;
|
|
683
684
|
order?: string | undefined;
|
|
684
685
|
}>>;
|
|
685
686
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
@@ -691,10 +692,10 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
691
692
|
prefix?: string | undefined;
|
|
692
693
|
pollInterval?: number | undefined;
|
|
693
694
|
properties?: {
|
|
694
|
-
title?: string | undefined;
|
|
695
695
|
status?: string | undefined;
|
|
696
696
|
description?: string | undefined;
|
|
697
697
|
slug?: string | undefined;
|
|
698
|
+
title?: string | undefined;
|
|
698
699
|
order?: string | undefined;
|
|
699
700
|
} | undefined;
|
|
700
701
|
publishedValue?: string | undefined;
|
|
@@ -704,10 +705,10 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
704
705
|
prefix?: string | undefined;
|
|
705
706
|
pollInterval?: number | undefined;
|
|
706
707
|
properties?: {
|
|
707
|
-
title?: string | undefined;
|
|
708
708
|
status?: string | undefined;
|
|
709
709
|
description?: string | undefined;
|
|
710
710
|
slug?: string | undefined;
|
|
711
|
+
title?: string | undefined;
|
|
711
712
|
order?: string | undefined;
|
|
712
713
|
} | undefined;
|
|
713
714
|
publishedValue?: string | undefined;
|
|
@@ -835,12 +836,12 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
835
836
|
}, "strict", z.ZodTypeAny, {
|
|
836
837
|
enabled: boolean;
|
|
837
838
|
route: string;
|
|
838
|
-
name?: string | undefined;
|
|
839
839
|
instructions?: string | undefined;
|
|
840
|
-
}, {
|
|
841
840
|
name?: string | undefined;
|
|
841
|
+
}, {
|
|
842
842
|
enabled?: boolean | undefined;
|
|
843
843
|
instructions?: string | undefined;
|
|
844
|
+
name?: string | undefined;
|
|
844
845
|
route?: string | undefined;
|
|
845
846
|
}>>;
|
|
846
847
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -852,8 +853,8 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
852
853
|
mcp: {
|
|
853
854
|
enabled: boolean;
|
|
854
855
|
route: string;
|
|
855
|
-
name?: string | undefined;
|
|
856
856
|
instructions?: string | undefined;
|
|
857
|
+
name?: string | undefined;
|
|
857
858
|
};
|
|
858
859
|
ask?: {
|
|
859
860
|
enabled: boolean;
|
|
@@ -884,9 +885,9 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
884
885
|
} | undefined;
|
|
885
886
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
886
887
|
mcp?: {
|
|
887
|
-
name?: string | undefined;
|
|
888
888
|
enabled?: boolean | undefined;
|
|
889
889
|
instructions?: string | undefined;
|
|
890
|
+
name?: string | undefined;
|
|
890
891
|
route?: string | undefined;
|
|
891
892
|
} | undefined;
|
|
892
893
|
}>;
|
|
@@ -1009,6 +1010,74 @@ declare const contentSignalsSchema: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.Zod
|
|
|
1009
1010
|
aiInput?: boolean | undefined;
|
|
1010
1011
|
aiTrain?: boolean | undefined;
|
|
1011
1012
|
}>;
|
|
1013
|
+
/**
|
|
1014
|
+
* How the "last updated" stamp and the changelog timeline render their dates —
|
|
1015
|
+
* a curated pass-through to `Intl.DateTimeFormat`, shared by both surfaces so
|
|
1016
|
+
* they read alike. Defaults to `{ dateStyle: "long" }`. Both stamps format in
|
|
1017
|
+
* UTC unless a `timeZone` is given, so a date reads the same regardless of the
|
|
1018
|
+
* build machine's zone. `dateStyle` is a preset that can't be combined with the
|
|
1019
|
+
* individual component fields (`year`, `month`, …), matching `Intl`'s own rule.
|
|
1020
|
+
*/
|
|
1021
|
+
declare const dateFormatConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
1022
|
+
/** Calendar system (e.g. `japanese`, `buddhist`). */
|
|
1023
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
/** Preset date length; mutually exclusive with the component fields. */
|
|
1025
|
+
dateStyle: z.ZodOptional<z.ZodEnum<["full", "long", "medium", "short"]>>;
|
|
1026
|
+
/** Day representation. */
|
|
1027
|
+
day: z.ZodOptional<z.ZodEnum<["numeric", "2-digit"]>>;
|
|
1028
|
+
/** Era representation (e.g. the Japanese imperial era). */
|
|
1029
|
+
era: z.ZodOptional<z.ZodEnum<["long", "short", "narrow"]>>;
|
|
1030
|
+
/** Month representation. */
|
|
1031
|
+
month: z.ZodOptional<z.ZodEnum<["numeric", "2-digit", "long", "short", "narrow"]>>;
|
|
1032
|
+
/** Numbering system (e.g. `latn`, `arab`). */
|
|
1033
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
/** IANA time zone (e.g. `Asia/Tokyo`). Defaults to `UTC`. */
|
|
1035
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
/** Weekday representation. */
|
|
1037
|
+
weekday: z.ZodOptional<z.ZodEnum<["long", "short", "narrow"]>>;
|
|
1038
|
+
/** Year representation. */
|
|
1039
|
+
year: z.ZodOptional<z.ZodEnum<["numeric", "2-digit"]>>;
|
|
1040
|
+
}, "strict", z.ZodTypeAny, {
|
|
1041
|
+
calendar?: string | undefined;
|
|
1042
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1043
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1044
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1045
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1046
|
+
numberingSystem?: string | undefined;
|
|
1047
|
+
timeZone?: string | undefined;
|
|
1048
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1049
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1050
|
+
}, {
|
|
1051
|
+
calendar?: string | undefined;
|
|
1052
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1053
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1054
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1055
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1056
|
+
numberingSystem?: string | undefined;
|
|
1057
|
+
timeZone?: string | undefined;
|
|
1058
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1059
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1060
|
+
}>, {
|
|
1061
|
+
calendar?: string | undefined;
|
|
1062
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1063
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1064
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1065
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1066
|
+
numberingSystem?: string | undefined;
|
|
1067
|
+
timeZone?: string | undefined;
|
|
1068
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1069
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
calendar?: string | undefined;
|
|
1072
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1073
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1074
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1075
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1076
|
+
numberingSystem?: string | undefined;
|
|
1077
|
+
timeZone?: string | undefined;
|
|
1078
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1079
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1080
|
+
}>;
|
|
1012
1081
|
/**
|
|
1013
1082
|
* A single spec rendered by the API reference. `spec` is a local path or an
|
|
1014
1083
|
* `http(s)` URL (OpenAPI for the Blume renderer; OpenAPI or AsyncAPI for Scalar).
|
|
@@ -1126,12 +1195,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1126
1195
|
}, "strict", z.ZodTypeAny, {
|
|
1127
1196
|
enabled: boolean;
|
|
1128
1197
|
route: string;
|
|
1129
|
-
name?: string | undefined;
|
|
1130
1198
|
instructions?: string | undefined;
|
|
1131
|
-
}, {
|
|
1132
1199
|
name?: string | undefined;
|
|
1200
|
+
}, {
|
|
1133
1201
|
enabled?: boolean | undefined;
|
|
1134
1202
|
instructions?: string | undefined;
|
|
1203
|
+
name?: string | undefined;
|
|
1135
1204
|
route?: string | undefined;
|
|
1136
1205
|
}>>;
|
|
1137
1206
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1143,8 +1212,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1143
1212
|
mcp: {
|
|
1144
1213
|
enabled: boolean;
|
|
1145
1214
|
route: string;
|
|
1146
|
-
name?: string | undefined;
|
|
1147
1215
|
instructions?: string | undefined;
|
|
1216
|
+
name?: string | undefined;
|
|
1148
1217
|
};
|
|
1149
1218
|
ask?: {
|
|
1150
1219
|
enabled: boolean;
|
|
@@ -1175,9 +1244,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1175
1244
|
} | undefined;
|
|
1176
1245
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
1177
1246
|
mcp?: {
|
|
1178
|
-
name?: string | undefined;
|
|
1179
1247
|
enabled?: boolean | undefined;
|
|
1180
1248
|
instructions?: string | undefined;
|
|
1249
|
+
name?: string | undefined;
|
|
1181
1250
|
route?: string | undefined;
|
|
1182
1251
|
} | undefined;
|
|
1183
1252
|
}>>;
|
|
@@ -1247,6 +1316,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1247
1316
|
asyncapi: z.ZodDefault<z.ZodObject<{
|
|
1248
1317
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1249
1318
|
route: z.ZodDefault<z.ZodString>;
|
|
1319
|
+
/** Extra Scalar config forwarded to `<ScalarComponent>`. */
|
|
1320
|
+
scalar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1250
1321
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1251
1322
|
/** Nav/section label for this source. */
|
|
1252
1323
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1273,9 +1344,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1273
1344
|
label?: string | undefined;
|
|
1274
1345
|
route?: string | undefined;
|
|
1275
1346
|
}[];
|
|
1347
|
+
scalar?: Record<string, unknown> | undefined;
|
|
1276
1348
|
spec?: string | undefined;
|
|
1277
1349
|
theme?: string | undefined;
|
|
1278
1350
|
}, {
|
|
1351
|
+
scalar?: Record<string, unknown> | undefined;
|
|
1279
1352
|
enabled?: boolean | undefined;
|
|
1280
1353
|
route?: string | undefined;
|
|
1281
1354
|
spec?: string | undefined;
|
|
@@ -1296,28 +1369,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1296
1369
|
href: z.ZodString;
|
|
1297
1370
|
text: z.ZodString;
|
|
1298
1371
|
}, "strict", z.ZodTypeAny, {
|
|
1299
|
-
text: string;
|
|
1300
1372
|
href: string;
|
|
1301
|
-
}, {
|
|
1302
1373
|
text: string;
|
|
1374
|
+
}, {
|
|
1303
1375
|
href: string;
|
|
1376
|
+
text: string;
|
|
1304
1377
|
}>>;
|
|
1305
1378
|
}, "strict", z.ZodTypeAny, {
|
|
1306
1379
|
content: string;
|
|
1307
1380
|
dismissible: boolean;
|
|
1308
1381
|
id?: string | undefined;
|
|
1309
1382
|
link?: {
|
|
1310
|
-
text: string;
|
|
1311
1383
|
href: string;
|
|
1384
|
+
text: string;
|
|
1312
1385
|
} | undefined;
|
|
1313
1386
|
}, {
|
|
1314
1387
|
content: string;
|
|
1315
1388
|
id?: string | undefined;
|
|
1389
|
+
dismissible?: boolean | undefined;
|
|
1316
1390
|
link?: {
|
|
1317
|
-
text: string;
|
|
1318
1391
|
href: string;
|
|
1392
|
+
text: string;
|
|
1319
1393
|
} | undefined;
|
|
1320
|
-
dismissible?: boolean | undefined;
|
|
1321
1394
|
}>]>>;
|
|
1322
1395
|
/**
|
|
1323
1396
|
* Site-wide mount point prepended to every generated route (e.g. `/docs`),
|
|
@@ -1346,15 +1419,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1346
1419
|
type: z.ZodLiteral<"filesystem">;
|
|
1347
1420
|
}, "strict", z.ZodTypeAny, {
|
|
1348
1421
|
type: "filesystem";
|
|
1349
|
-
root: string;
|
|
1350
1422
|
exclude: string[];
|
|
1351
1423
|
include: string[];
|
|
1424
|
+
root: string;
|
|
1352
1425
|
prefix?: string | undefined;
|
|
1353
1426
|
}, {
|
|
1354
1427
|
type: "filesystem";
|
|
1355
|
-
root?: string | undefined;
|
|
1356
1428
|
exclude?: string[] | undefined;
|
|
1357
1429
|
include?: string[] | undefined;
|
|
1430
|
+
root?: string | undefined;
|
|
1358
1431
|
prefix?: string | undefined;
|
|
1359
1432
|
}>, z.ZodObject<{
|
|
1360
1433
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -1457,17 +1530,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1457
1530
|
slug: z.ZodOptional<z.ZodString>;
|
|
1458
1531
|
title: z.ZodOptional<z.ZodString>;
|
|
1459
1532
|
}, "strict", z.ZodTypeAny, {
|
|
1460
|
-
title?: string | undefined;
|
|
1461
1533
|
body?: string | undefined;
|
|
1462
1534
|
description?: string | undefined;
|
|
1463
1535
|
lastModified?: string | undefined;
|
|
1464
1536
|
slug?: string | undefined;
|
|
1465
|
-
}, {
|
|
1466
1537
|
title?: string | undefined;
|
|
1538
|
+
}, {
|
|
1467
1539
|
body?: string | undefined;
|
|
1468
1540
|
description?: string | undefined;
|
|
1469
1541
|
lastModified?: string | undefined;
|
|
1470
1542
|
slug?: string | undefined;
|
|
1543
|
+
title?: string | undefined;
|
|
1471
1544
|
}>>;
|
|
1472
1545
|
/** Opt-in dev polling interval (seconds); omit to freeze for the session. */
|
|
1473
1546
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1485,11 +1558,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1485
1558
|
pollInterval?: number | undefined;
|
|
1486
1559
|
apiVersion?: string | undefined;
|
|
1487
1560
|
fields?: {
|
|
1488
|
-
title?: string | undefined;
|
|
1489
1561
|
body?: string | undefined;
|
|
1490
1562
|
description?: string | undefined;
|
|
1491
1563
|
lastModified?: string | undefined;
|
|
1492
1564
|
slug?: string | undefined;
|
|
1565
|
+
title?: string | undefined;
|
|
1493
1566
|
} | undefined;
|
|
1494
1567
|
}, {
|
|
1495
1568
|
type: "sanity";
|
|
@@ -1500,11 +1573,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1500
1573
|
pollInterval?: number | undefined;
|
|
1501
1574
|
apiVersion?: string | undefined;
|
|
1502
1575
|
fields?: {
|
|
1503
|
-
title?: string | undefined;
|
|
1504
1576
|
body?: string | undefined;
|
|
1505
1577
|
description?: string | undefined;
|
|
1506
1578
|
lastModified?: string | undefined;
|
|
1507
1579
|
slug?: string | undefined;
|
|
1580
|
+
title?: string | undefined;
|
|
1508
1581
|
} | undefined;
|
|
1509
1582
|
}>, z.ZodObject<{
|
|
1510
1583
|
database: z.ZodString;
|
|
@@ -1519,16 +1592,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1519
1592
|
status: z.ZodOptional<z.ZodString>;
|
|
1520
1593
|
title: z.ZodOptional<z.ZodString>;
|
|
1521
1594
|
}, "strict", z.ZodTypeAny, {
|
|
1522
|
-
title?: string | undefined;
|
|
1523
1595
|
status?: string | undefined;
|
|
1524
1596
|
description?: string | undefined;
|
|
1525
1597
|
slug?: string | undefined;
|
|
1598
|
+
title?: string | undefined;
|
|
1526
1599
|
order?: string | undefined;
|
|
1527
1600
|
}, {
|
|
1528
|
-
title?: string | undefined;
|
|
1529
1601
|
status?: string | undefined;
|
|
1530
1602
|
description?: string | undefined;
|
|
1531
1603
|
slug?: string | undefined;
|
|
1604
|
+
title?: string | undefined;
|
|
1532
1605
|
order?: string | undefined;
|
|
1533
1606
|
}>>;
|
|
1534
1607
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
@@ -1540,10 +1613,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1540
1613
|
prefix?: string | undefined;
|
|
1541
1614
|
pollInterval?: number | undefined;
|
|
1542
1615
|
properties?: {
|
|
1543
|
-
title?: string | undefined;
|
|
1544
1616
|
status?: string | undefined;
|
|
1545
1617
|
description?: string | undefined;
|
|
1546
1618
|
slug?: string | undefined;
|
|
1619
|
+
title?: string | undefined;
|
|
1547
1620
|
order?: string | undefined;
|
|
1548
1621
|
} | undefined;
|
|
1549
1622
|
publishedValue?: string | undefined;
|
|
@@ -1553,10 +1626,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1553
1626
|
prefix?: string | undefined;
|
|
1554
1627
|
pollInterval?: number | undefined;
|
|
1555
1628
|
properties?: {
|
|
1556
|
-
title?: string | undefined;
|
|
1557
1629
|
status?: string | undefined;
|
|
1558
1630
|
description?: string | undefined;
|
|
1559
1631
|
slug?: string | undefined;
|
|
1632
|
+
title?: string | undefined;
|
|
1560
1633
|
order?: string | undefined;
|
|
1561
1634
|
} | undefined;
|
|
1562
1635
|
publishedValue?: string | undefined;
|
|
@@ -1571,16 +1644,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1571
1644
|
source: ContentSource;
|
|
1572
1645
|
}>]>, "many">>;
|
|
1573
1646
|
}, "strict", z.ZodTypeAny, {
|
|
1574
|
-
root: string;
|
|
1575
1647
|
defaultType: string;
|
|
1576
1648
|
exclude: string[];
|
|
1577
1649
|
include: string[];
|
|
1578
1650
|
pages: string;
|
|
1651
|
+
root: string;
|
|
1579
1652
|
sources?: ({
|
|
1580
1653
|
type: "filesystem";
|
|
1581
|
-
root: string;
|
|
1582
1654
|
exclude: string[];
|
|
1583
1655
|
include: string[];
|
|
1656
|
+
root: string;
|
|
1584
1657
|
prefix?: string | undefined;
|
|
1585
1658
|
} | {
|
|
1586
1659
|
type: "mdx-remote";
|
|
@@ -1613,11 +1686,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1613
1686
|
pollInterval?: number | undefined;
|
|
1614
1687
|
apiVersion?: string | undefined;
|
|
1615
1688
|
fields?: {
|
|
1616
|
-
title?: string | undefined;
|
|
1617
1689
|
body?: string | undefined;
|
|
1618
1690
|
description?: string | undefined;
|
|
1619
1691
|
lastModified?: string | undefined;
|
|
1620
1692
|
slug?: string | undefined;
|
|
1693
|
+
title?: string | undefined;
|
|
1621
1694
|
} | undefined;
|
|
1622
1695
|
} | {
|
|
1623
1696
|
type: "notion";
|
|
@@ -1625,10 +1698,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1625
1698
|
prefix?: string | undefined;
|
|
1626
1699
|
pollInterval?: number | undefined;
|
|
1627
1700
|
properties?: {
|
|
1628
|
-
title?: string | undefined;
|
|
1629
1701
|
status?: string | undefined;
|
|
1630
1702
|
description?: string | undefined;
|
|
1631
1703
|
slug?: string | undefined;
|
|
1704
|
+
title?: string | undefined;
|
|
1632
1705
|
order?: string | undefined;
|
|
1633
1706
|
} | undefined;
|
|
1634
1707
|
publishedValue?: string | undefined;
|
|
@@ -1637,12 +1710,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1637
1710
|
source: ContentSource;
|
|
1638
1711
|
})[] | undefined;
|
|
1639
1712
|
}, {
|
|
1640
|
-
root?: string | undefined;
|
|
1641
1713
|
sources?: ({
|
|
1642
1714
|
type: "filesystem";
|
|
1643
|
-
root?: string | undefined;
|
|
1644
1715
|
exclude?: string[] | undefined;
|
|
1645
1716
|
include?: string[] | undefined;
|
|
1717
|
+
root?: string | undefined;
|
|
1646
1718
|
prefix?: string | undefined;
|
|
1647
1719
|
} | {
|
|
1648
1720
|
type: "mdx-remote";
|
|
@@ -1675,11 +1747,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1675
1747
|
pollInterval?: number | undefined;
|
|
1676
1748
|
apiVersion?: string | undefined;
|
|
1677
1749
|
fields?: {
|
|
1678
|
-
title?: string | undefined;
|
|
1679
1750
|
body?: string | undefined;
|
|
1680
1751
|
description?: string | undefined;
|
|
1681
1752
|
lastModified?: string | undefined;
|
|
1682
1753
|
slug?: string | undefined;
|
|
1754
|
+
title?: string | undefined;
|
|
1683
1755
|
} | undefined;
|
|
1684
1756
|
} | {
|
|
1685
1757
|
type: "notion";
|
|
@@ -1687,10 +1759,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1687
1759
|
prefix?: string | undefined;
|
|
1688
1760
|
pollInterval?: number | undefined;
|
|
1689
1761
|
properties?: {
|
|
1690
|
-
title?: string | undefined;
|
|
1691
1762
|
status?: string | undefined;
|
|
1692
1763
|
description?: string | undefined;
|
|
1693
1764
|
slug?: string | undefined;
|
|
1765
|
+
title?: string | undefined;
|
|
1694
1766
|
order?: string | undefined;
|
|
1695
1767
|
} | undefined;
|
|
1696
1768
|
publishedValue?: string | undefined;
|
|
@@ -1702,6 +1774,71 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1702
1774
|
exclude?: string[] | undefined;
|
|
1703
1775
|
include?: string[] | undefined;
|
|
1704
1776
|
pages?: string | undefined;
|
|
1777
|
+
root?: string | undefined;
|
|
1778
|
+
}>>;
|
|
1779
|
+
/**
|
|
1780
|
+
* Date presentation for the "last updated" stamp and the changelog timeline.
|
|
1781
|
+
* Pass-through `Intl.DateTimeFormat` options; defaults to `{ dateStyle: "long" }`.
|
|
1782
|
+
*/
|
|
1783
|
+
dateFormat: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
1784
|
+
/** Calendar system (e.g. `japanese`, `buddhist`). */
|
|
1785
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
/** Preset date length; mutually exclusive with the component fields. */
|
|
1787
|
+
dateStyle: z.ZodOptional<z.ZodEnum<["full", "long", "medium", "short"]>>;
|
|
1788
|
+
/** Day representation. */
|
|
1789
|
+
day: z.ZodOptional<z.ZodEnum<["numeric", "2-digit"]>>;
|
|
1790
|
+
/** Era representation (e.g. the Japanese imperial era). */
|
|
1791
|
+
era: z.ZodOptional<z.ZodEnum<["long", "short", "narrow"]>>;
|
|
1792
|
+
/** Month representation. */
|
|
1793
|
+
month: z.ZodOptional<z.ZodEnum<["numeric", "2-digit", "long", "short", "narrow"]>>;
|
|
1794
|
+
/** Numbering system (e.g. `latn`, `arab`). */
|
|
1795
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
/** IANA time zone (e.g. `Asia/Tokyo`). Defaults to `UTC`. */
|
|
1797
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
/** Weekday representation. */
|
|
1799
|
+
weekday: z.ZodOptional<z.ZodEnum<["long", "short", "narrow"]>>;
|
|
1800
|
+
/** Year representation. */
|
|
1801
|
+
year: z.ZodOptional<z.ZodEnum<["numeric", "2-digit"]>>;
|
|
1802
|
+
}, "strict", z.ZodTypeAny, {
|
|
1803
|
+
calendar?: string | undefined;
|
|
1804
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1805
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1806
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1807
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1808
|
+
numberingSystem?: string | undefined;
|
|
1809
|
+
timeZone?: string | undefined;
|
|
1810
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1811
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1812
|
+
}, {
|
|
1813
|
+
calendar?: string | undefined;
|
|
1814
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1815
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1816
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1817
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1818
|
+
numberingSystem?: string | undefined;
|
|
1819
|
+
timeZone?: string | undefined;
|
|
1820
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1821
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1822
|
+
}>, {
|
|
1823
|
+
calendar?: string | undefined;
|
|
1824
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1825
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1826
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1827
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1828
|
+
numberingSystem?: string | undefined;
|
|
1829
|
+
timeZone?: string | undefined;
|
|
1830
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1831
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1832
|
+
}, {
|
|
1833
|
+
calendar?: string | undefined;
|
|
1834
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
1835
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1836
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
1837
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
1838
|
+
numberingSystem?: string | undefined;
|
|
1839
|
+
timeZone?: string | undefined;
|
|
1840
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
1841
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1705
1842
|
}>>;
|
|
1706
1843
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1707
1844
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1878,21 +2015,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1878
2015
|
}>]>>;
|
|
1879
2016
|
text: z.ZodOptional<z.ZodString>;
|
|
1880
2017
|
}, "strict", z.ZodTypeAny, {
|
|
2018
|
+
href?: string | undefined;
|
|
2019
|
+
text?: string | undefined;
|
|
1881
2020
|
image?: string | {
|
|
1882
2021
|
alt?: string | undefined;
|
|
1883
2022
|
dark?: string | undefined;
|
|
1884
2023
|
light?: string | undefined;
|
|
1885
2024
|
} | undefined;
|
|
1886
|
-
text?: string | undefined;
|
|
1887
|
-
href?: string | undefined;
|
|
1888
2025
|
}, {
|
|
2026
|
+
href?: string | undefined;
|
|
2027
|
+
text?: string | undefined;
|
|
1889
2028
|
image?: string | {
|
|
1890
2029
|
alt?: string | undefined;
|
|
1891
2030
|
dark?: string | undefined;
|
|
1892
2031
|
light?: string | undefined;
|
|
1893
2032
|
} | undefined;
|
|
1894
|
-
text?: string | undefined;
|
|
1895
|
-
href?: string | undefined;
|
|
1896
2033
|
}>]>>;
|
|
1897
2034
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1898
2035
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -1916,24 +2053,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1916
2053
|
}>>;
|
|
1917
2054
|
codeBlocks: z.ZodDefault<z.ZodObject<{
|
|
1918
2055
|
theme: z.ZodDefault<z.ZodObject<{
|
|
1919
|
-
dark: z.ZodDefault<z.
|
|
1920
|
-
light: z.ZodDefault<z.
|
|
2056
|
+
dark: z.ZodDefault<z.ZodType<CodeTheme, z.ZodTypeDef, CodeTheme>>;
|
|
2057
|
+
light: z.ZodDefault<z.ZodType<CodeTheme, z.ZodTypeDef, CodeTheme>>;
|
|
1921
2058
|
}, "strict", z.ZodTypeAny, {
|
|
1922
|
-
dark:
|
|
1923
|
-
light:
|
|
2059
|
+
dark: CodeTheme;
|
|
2060
|
+
light: CodeTheme;
|
|
1924
2061
|
}, {
|
|
1925
|
-
dark?:
|
|
1926
|
-
light?:
|
|
2062
|
+
dark?: CodeTheme | undefined;
|
|
2063
|
+
light?: CodeTheme | undefined;
|
|
1927
2064
|
}>>;
|
|
1928
2065
|
}, "strict", z.ZodTypeAny, {
|
|
1929
2066
|
theme: {
|
|
1930
|
-
dark:
|
|
1931
|
-
light:
|
|
2067
|
+
dark: CodeTheme;
|
|
2068
|
+
light: CodeTheme;
|
|
1932
2069
|
};
|
|
1933
2070
|
}, {
|
|
1934
2071
|
theme?: {
|
|
1935
|
-
dark?:
|
|
1936
|
-
light?:
|
|
2072
|
+
dark?: CodeTheme | undefined;
|
|
2073
|
+
light?: CodeTheme | undefined;
|
|
1937
2074
|
} | undefined;
|
|
1938
2075
|
}>>;
|
|
1939
2076
|
/**
|
|
@@ -1954,8 +2091,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1954
2091
|
};
|
|
1955
2092
|
codeBlocks: {
|
|
1956
2093
|
theme: {
|
|
1957
|
-
dark:
|
|
1958
|
-
light:
|
|
2094
|
+
dark: CodeTheme;
|
|
2095
|
+
light: CodeTheme;
|
|
1959
2096
|
};
|
|
1960
2097
|
};
|
|
1961
2098
|
headingAnchors: boolean;
|
|
@@ -1967,8 +2104,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1967
2104
|
} | undefined;
|
|
1968
2105
|
codeBlocks?: {
|
|
1969
2106
|
theme?: {
|
|
1970
|
-
dark?:
|
|
1971
|
-
light?:
|
|
2107
|
+
dark?: CodeTheme | undefined;
|
|
2108
|
+
light?: CodeTheme | undefined;
|
|
1972
2109
|
} | undefined;
|
|
1973
2110
|
} | undefined;
|
|
1974
2111
|
headingAnchors?: boolean | undefined;
|
|
@@ -2047,14 +2184,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2047
2184
|
display: "flat" | "group" | "page";
|
|
2048
2185
|
items?: SidebarItemConfig[] | undefined;
|
|
2049
2186
|
}, {
|
|
2050
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2051
2187
|
items?: SidebarItemConfig[] | undefined;
|
|
2188
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2052
2189
|
}>]>>, {
|
|
2053
2190
|
display: "flat" | "group" | "page";
|
|
2054
2191
|
items?: SidebarItemConfig[] | undefined;
|
|
2055
2192
|
}, SidebarItemConfig[] | {
|
|
2056
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2057
2193
|
items?: SidebarItemConfig[] | undefined;
|
|
2194
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2058
2195
|
} | undefined>;
|
|
2059
2196
|
tabs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2060
2197
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -2155,8 +2292,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2155
2292
|
}[] | undefined;
|
|
2156
2293
|
}[] | undefined;
|
|
2157
2294
|
sidebar?: SidebarItemConfig[] | {
|
|
2158
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2159
2295
|
items?: SidebarItemConfig[] | undefined;
|
|
2296
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2160
2297
|
} | undefined;
|
|
2161
2298
|
tabs?: {
|
|
2162
2299
|
path: string;
|
|
@@ -2181,6 +2318,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2181
2318
|
renderer: z.ZodDefault<z.ZodEnum<["blume", "scalar"]>>;
|
|
2182
2319
|
/** Where the reference mounts. */
|
|
2183
2320
|
route: z.ZodDefault<z.ZodString>;
|
|
2321
|
+
/** Extra Scalar config forwarded to `<ScalarComponent>` (Scalar renderer only). */
|
|
2322
|
+
scalar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2184
2323
|
/** One or more specs; each renders on its own route by default. */
|
|
2185
2324
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2186
2325
|
/** Nav/section label for this source. */
|
|
@@ -2213,9 +2352,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2213
2352
|
codeSamples: string[];
|
|
2214
2353
|
expandSchemas: boolean;
|
|
2215
2354
|
renderer: "blume" | "scalar";
|
|
2355
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2216
2356
|
spec?: string | undefined;
|
|
2217
2357
|
theme?: string | undefined;
|
|
2218
2358
|
}, {
|
|
2359
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2219
2360
|
enabled?: boolean | undefined;
|
|
2220
2361
|
route?: string | undefined;
|
|
2221
2362
|
spec?: string | undefined;
|
|
@@ -2731,22 +2872,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2731
2872
|
display: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2732
2873
|
mono: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2733
2874
|
}, "strict", z.ZodTypeAny, {
|
|
2734
|
-
mono: string;
|
|
2735
|
-
display: string;
|
|
2736
2875
|
body: string;
|
|
2876
|
+
display: string;
|
|
2877
|
+
mono: string;
|
|
2737
2878
|
}, {
|
|
2738
|
-
mono?: string | undefined;
|
|
2739
|
-
display?: string | undefined;
|
|
2740
2879
|
body?: string | undefined;
|
|
2880
|
+
display?: string | undefined;
|
|
2881
|
+
mono?: string | undefined;
|
|
2741
2882
|
}>>;
|
|
2742
2883
|
layout: z.ZodDefault<z.ZodEnum<["sidebar"]>>;
|
|
2743
2884
|
mode: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
|
|
2744
2885
|
radius: z.ZodDefault<z.ZodEnum<["none", "sm", "md", "lg"]>>;
|
|
2745
2886
|
}, "strict", z.ZodTypeAny, {
|
|
2746
2887
|
fonts: {
|
|
2747
|
-
mono: string;
|
|
2748
|
-
display: string;
|
|
2749
2888
|
body: string;
|
|
2889
|
+
display: string;
|
|
2890
|
+
mono: string;
|
|
2750
2891
|
};
|
|
2751
2892
|
accent: {
|
|
2752
2893
|
dark: string;
|
|
@@ -2766,9 +2907,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2766
2907
|
} | undefined;
|
|
2767
2908
|
}, {
|
|
2768
2909
|
fonts?: {
|
|
2769
|
-
mono?: string | undefined;
|
|
2770
|
-
display?: string | undefined;
|
|
2771
2910
|
body?: string | undefined;
|
|
2911
|
+
display?: string | undefined;
|
|
2912
|
+
mono?: string | undefined;
|
|
2772
2913
|
} | undefined;
|
|
2773
2914
|
accent?: string | {
|
|
2774
2915
|
dark: string;
|
|
@@ -2813,10 +2954,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2813
2954
|
minHeadingLevel?: number | undefined;
|
|
2814
2955
|
} | undefined>;
|
|
2815
2956
|
}, "strict", z.ZodTypeAny, {
|
|
2816
|
-
title: string;
|
|
2817
|
-
frontmatter: {
|
|
2818
|
-
extend: Record<string, StandardSchema<unknown, unknown>>;
|
|
2819
|
-
};
|
|
2820
2957
|
openapi: {
|
|
2821
2958
|
enabled: boolean;
|
|
2822
2959
|
route: string;
|
|
@@ -2828,6 +2965,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2828
2965
|
codeSamples: string[];
|
|
2829
2966
|
expandSchemas: boolean;
|
|
2830
2967
|
renderer: "blume" | "scalar";
|
|
2968
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2831
2969
|
spec?: string | undefined;
|
|
2832
2970
|
theme?: string | undefined;
|
|
2833
2971
|
};
|
|
@@ -2839,6 +2977,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2839
2977
|
label?: string | undefined;
|
|
2840
2978
|
route?: string | undefined;
|
|
2841
2979
|
}[];
|
|
2980
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2842
2981
|
spec?: string | undefined;
|
|
2843
2982
|
theme?: string | undefined;
|
|
2844
2983
|
};
|
|
@@ -2851,8 +2990,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2851
2990
|
mcp: {
|
|
2852
2991
|
enabled: boolean;
|
|
2853
2992
|
route: string;
|
|
2854
|
-
name?: string | undefined;
|
|
2855
2993
|
instructions?: string | undefined;
|
|
2994
|
+
name?: string | undefined;
|
|
2856
2995
|
};
|
|
2857
2996
|
ask?: {
|
|
2858
2997
|
enabled: boolean;
|
|
@@ -2867,16 +3006,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2867
3006
|
} | undefined;
|
|
2868
3007
|
};
|
|
2869
3008
|
content: {
|
|
2870
|
-
root: string;
|
|
2871
3009
|
defaultType: string;
|
|
2872
3010
|
exclude: string[];
|
|
2873
3011
|
include: string[];
|
|
2874
3012
|
pages: string;
|
|
3013
|
+
root: string;
|
|
2875
3014
|
sources?: ({
|
|
2876
3015
|
type: "filesystem";
|
|
2877
|
-
root: string;
|
|
2878
3016
|
exclude: string[];
|
|
2879
3017
|
include: string[];
|
|
3018
|
+
root: string;
|
|
2880
3019
|
prefix?: string | undefined;
|
|
2881
3020
|
} | {
|
|
2882
3021
|
type: "mdx-remote";
|
|
@@ -2909,11 +3048,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2909
3048
|
pollInterval?: number | undefined;
|
|
2910
3049
|
apiVersion?: string | undefined;
|
|
2911
3050
|
fields?: {
|
|
2912
|
-
title?: string | undefined;
|
|
2913
3051
|
body?: string | undefined;
|
|
2914
3052
|
description?: string | undefined;
|
|
2915
3053
|
lastModified?: string | undefined;
|
|
2916
3054
|
slug?: string | undefined;
|
|
3055
|
+
title?: string | undefined;
|
|
2917
3056
|
} | undefined;
|
|
2918
3057
|
} | {
|
|
2919
3058
|
type: "notion";
|
|
@@ -2921,10 +3060,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2921
3060
|
prefix?: string | undefined;
|
|
2922
3061
|
pollInterval?: number | undefined;
|
|
2923
3062
|
properties?: {
|
|
2924
|
-
title?: string | undefined;
|
|
2925
3063
|
status?: string | undefined;
|
|
2926
3064
|
description?: string | undefined;
|
|
2927
3065
|
slug?: string | undefined;
|
|
3066
|
+
title?: string | undefined;
|
|
2928
3067
|
order?: string | undefined;
|
|
2929
3068
|
} | undefined;
|
|
2930
3069
|
publishedValue?: string | undefined;
|
|
@@ -2935,9 +3074,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2935
3074
|
};
|
|
2936
3075
|
theme: {
|
|
2937
3076
|
fonts: {
|
|
2938
|
-
mono: string;
|
|
2939
|
-
display: string;
|
|
2940
3077
|
body: string;
|
|
3078
|
+
display: string;
|
|
3079
|
+
mono: string;
|
|
2941
3080
|
};
|
|
2942
3081
|
accent: {
|
|
2943
3082
|
dark: string;
|
|
@@ -2960,6 +3099,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2960
3099
|
lastModified: boolean | {
|
|
2961
3100
|
type: "frontmatter" | "git";
|
|
2962
3101
|
};
|
|
3102
|
+
title: string;
|
|
3103
|
+
dateFormat: {
|
|
3104
|
+
calendar?: string | undefined;
|
|
3105
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
3106
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
3107
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
3108
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
3109
|
+
numberingSystem?: string | undefined;
|
|
3110
|
+
timeZone?: string | undefined;
|
|
3111
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
3112
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
3113
|
+
};
|
|
2963
3114
|
deployment: {
|
|
2964
3115
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2965
3116
|
output: "static" | "server";
|
|
@@ -2975,6 +3126,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2975
3126
|
pdf: boolean;
|
|
2976
3127
|
};
|
|
2977
3128
|
feedback: boolean;
|
|
3129
|
+
frontmatter: {
|
|
3130
|
+
extend: Record<string, StandardSchema<unknown, unknown>>;
|
|
3131
|
+
};
|
|
2978
3132
|
markdown: {
|
|
2979
3133
|
code: {
|
|
2980
3134
|
icons: boolean;
|
|
@@ -2982,8 +3136,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2982
3136
|
};
|
|
2983
3137
|
codeBlocks: {
|
|
2984
3138
|
theme: {
|
|
2985
|
-
dark:
|
|
2986
|
-
light:
|
|
3139
|
+
dark: CodeTheme;
|
|
3140
|
+
light: CodeTheme;
|
|
2987
3141
|
};
|
|
2988
3142
|
};
|
|
2989
3143
|
headingAnchors: boolean;
|
|
@@ -3123,8 +3277,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3123
3277
|
dismissible: boolean;
|
|
3124
3278
|
id?: string | undefined;
|
|
3125
3279
|
link?: {
|
|
3126
|
-
text: string;
|
|
3127
3280
|
href: string;
|
|
3281
|
+
text: string;
|
|
3128
3282
|
} | undefined;
|
|
3129
3283
|
} | undefined;
|
|
3130
3284
|
github?: {
|
|
@@ -3147,20 +3301,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3147
3301
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
3148
3302
|
} | undefined;
|
|
3149
3303
|
logo?: string | {
|
|
3304
|
+
href?: string | undefined;
|
|
3305
|
+
text?: string | undefined;
|
|
3150
3306
|
image?: string | {
|
|
3151
3307
|
alt?: string | undefined;
|
|
3152
3308
|
dark?: string | undefined;
|
|
3153
3309
|
light?: string | undefined;
|
|
3154
3310
|
} | undefined;
|
|
3155
|
-
text?: string | undefined;
|
|
3156
|
-
href?: string | undefined;
|
|
3157
3311
|
} | undefined;
|
|
3158
3312
|
}, {
|
|
3159
|
-
title?: string | undefined;
|
|
3160
|
-
frontmatter?: {
|
|
3161
|
-
extend?: Record<string, StandardSchema<unknown, unknown>> | undefined;
|
|
3162
|
-
} | undefined;
|
|
3163
3313
|
openapi?: {
|
|
3314
|
+
scalar?: Record<string, unknown> | undefined;
|
|
3164
3315
|
enabled?: boolean | undefined;
|
|
3165
3316
|
route?: string | undefined;
|
|
3166
3317
|
spec?: string | undefined;
|
|
@@ -3175,6 +3326,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3175
3326
|
renderer?: "blume" | "scalar" | undefined;
|
|
3176
3327
|
} | undefined;
|
|
3177
3328
|
asyncapi?: {
|
|
3329
|
+
scalar?: Record<string, unknown> | undefined;
|
|
3178
3330
|
enabled?: boolean | undefined;
|
|
3179
3331
|
route?: string | undefined;
|
|
3180
3332
|
spec?: string | undefined;
|
|
@@ -3203,19 +3355,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3203
3355
|
} | undefined;
|
|
3204
3356
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
3205
3357
|
mcp?: {
|
|
3206
|
-
name?: string | undefined;
|
|
3207
3358
|
enabled?: boolean | undefined;
|
|
3208
3359
|
instructions?: string | undefined;
|
|
3360
|
+
name?: string | undefined;
|
|
3209
3361
|
route?: string | undefined;
|
|
3210
3362
|
} | undefined;
|
|
3211
3363
|
} | undefined;
|
|
3212
3364
|
content?: {
|
|
3213
|
-
root?: string | undefined;
|
|
3214
3365
|
sources?: ({
|
|
3215
3366
|
type: "filesystem";
|
|
3216
|
-
root?: string | undefined;
|
|
3217
3367
|
exclude?: string[] | undefined;
|
|
3218
3368
|
include?: string[] | undefined;
|
|
3369
|
+
root?: string | undefined;
|
|
3219
3370
|
prefix?: string | undefined;
|
|
3220
3371
|
} | {
|
|
3221
3372
|
type: "mdx-remote";
|
|
@@ -3248,11 +3399,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3248
3399
|
pollInterval?: number | undefined;
|
|
3249
3400
|
apiVersion?: string | undefined;
|
|
3250
3401
|
fields?: {
|
|
3251
|
-
title?: string | undefined;
|
|
3252
3402
|
body?: string | undefined;
|
|
3253
3403
|
description?: string | undefined;
|
|
3254
3404
|
lastModified?: string | undefined;
|
|
3255
3405
|
slug?: string | undefined;
|
|
3406
|
+
title?: string | undefined;
|
|
3256
3407
|
} | undefined;
|
|
3257
3408
|
} | {
|
|
3258
3409
|
type: "notion";
|
|
@@ -3260,10 +3411,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3260
3411
|
prefix?: string | undefined;
|
|
3261
3412
|
pollInterval?: number | undefined;
|
|
3262
3413
|
properties?: {
|
|
3263
|
-
title?: string | undefined;
|
|
3264
3414
|
status?: string | undefined;
|
|
3265
3415
|
description?: string | undefined;
|
|
3266
3416
|
slug?: string | undefined;
|
|
3417
|
+
title?: string | undefined;
|
|
3267
3418
|
order?: string | undefined;
|
|
3268
3419
|
} | undefined;
|
|
3269
3420
|
publishedValue?: string | undefined;
|
|
@@ -3275,6 +3426,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3275
3426
|
exclude?: string[] | undefined;
|
|
3276
3427
|
include?: string[] | undefined;
|
|
3277
3428
|
pages?: string | undefined;
|
|
3429
|
+
root?: string | undefined;
|
|
3278
3430
|
} | undefined;
|
|
3279
3431
|
analytics?: {
|
|
3280
3432
|
posthog?: {
|
|
@@ -3291,9 +3443,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3291
3443
|
} | undefined;
|
|
3292
3444
|
theme?: {
|
|
3293
3445
|
fonts?: {
|
|
3294
|
-
mono?: string | undefined;
|
|
3295
|
-
display?: string | undefined;
|
|
3296
3446
|
body?: string | undefined;
|
|
3447
|
+
display?: string | undefined;
|
|
3448
|
+
mono?: string | undefined;
|
|
3297
3449
|
} | undefined;
|
|
3298
3450
|
accent?: string | {
|
|
3299
3451
|
dark: string;
|
|
@@ -3315,11 +3467,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3315
3467
|
banner?: string | {
|
|
3316
3468
|
content: string;
|
|
3317
3469
|
id?: string | undefined;
|
|
3470
|
+
dismissible?: boolean | undefined;
|
|
3318
3471
|
link?: {
|
|
3319
|
-
text: string;
|
|
3320
3472
|
href: string;
|
|
3473
|
+
text: string;
|
|
3321
3474
|
} | undefined;
|
|
3322
|
-
dismissible?: boolean | undefined;
|
|
3323
3475
|
} | undefined;
|
|
3324
3476
|
basePath?: string | undefined;
|
|
3325
3477
|
github?: {
|
|
@@ -3332,6 +3484,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3332
3484
|
lastModified?: boolean | {
|
|
3333
3485
|
type?: "frontmatter" | "git" | undefined;
|
|
3334
3486
|
} | undefined;
|
|
3487
|
+
title?: string | undefined;
|
|
3488
|
+
dateFormat?: {
|
|
3489
|
+
calendar?: string | undefined;
|
|
3490
|
+
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
|
3491
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
3492
|
+
era?: "long" | "short" | "narrow" | undefined;
|
|
3493
|
+
month?: "long" | "short" | "numeric" | "2-digit" | "narrow" | undefined;
|
|
3494
|
+
numberingSystem?: string | undefined;
|
|
3495
|
+
timeZone?: string | undefined;
|
|
3496
|
+
weekday?: "long" | "short" | "narrow" | undefined;
|
|
3497
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
3498
|
+
} | undefined;
|
|
3335
3499
|
deployment?: {
|
|
3336
3500
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
3337
3501
|
base?: string | undefined;
|
|
@@ -3347,6 +3511,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3347
3511
|
pdf?: boolean | undefined;
|
|
3348
3512
|
} | undefined;
|
|
3349
3513
|
feedback?: boolean | undefined;
|
|
3514
|
+
frontmatter?: {
|
|
3515
|
+
extend?: Record<string, StandardSchema<unknown, unknown>> | undefined;
|
|
3516
|
+
} | undefined;
|
|
3350
3517
|
i18n?: {
|
|
3351
3518
|
locales: {
|
|
3352
3519
|
code: string;
|
|
@@ -3360,13 +3527,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3360
3527
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
3361
3528
|
} | undefined;
|
|
3362
3529
|
logo?: string | {
|
|
3530
|
+
href?: string | undefined;
|
|
3531
|
+
text?: string | undefined;
|
|
3363
3532
|
image?: string | {
|
|
3364
3533
|
alt?: string | undefined;
|
|
3365
3534
|
dark?: string | undefined;
|
|
3366
3535
|
light?: string | undefined;
|
|
3367
3536
|
} | undefined;
|
|
3368
|
-
text?: string | undefined;
|
|
3369
|
-
href?: string | undefined;
|
|
3370
3537
|
} | undefined;
|
|
3371
3538
|
markdown?: {
|
|
3372
3539
|
code?: {
|
|
@@ -3375,8 +3542,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3375
3542
|
} | undefined;
|
|
3376
3543
|
codeBlocks?: {
|
|
3377
3544
|
theme?: {
|
|
3378
|
-
dark?:
|
|
3379
|
-
light?:
|
|
3545
|
+
dark?: CodeTheme | undefined;
|
|
3546
|
+
light?: CodeTheme | undefined;
|
|
3380
3547
|
} | undefined;
|
|
3381
3548
|
} | undefined;
|
|
3382
3549
|
headingAnchors?: boolean | undefined;
|
|
@@ -3401,8 +3568,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3401
3568
|
}[] | undefined;
|
|
3402
3569
|
}[] | undefined;
|
|
3403
3570
|
sidebar?: SidebarItemConfig[] | {
|
|
3404
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
3405
3571
|
items?: SidebarItemConfig[] | undefined;
|
|
3572
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
3406
3573
|
} | undefined;
|
|
3407
3574
|
tabs?: {
|
|
3408
3575
|
path: string;
|
|
@@ -3500,6 +3667,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3500
3667
|
}>;
|
|
3501
3668
|
/** Resolved config: every field present after defaults are applied. */
|
|
3502
3669
|
export type ResolvedConfig = z.infer<typeof blumeConfigSchema>;
|
|
3670
|
+
/** Resolved `dateFormat`: the `Intl.DateTimeFormat` options both date stamps share. */
|
|
3671
|
+
export type ResolvedDateFormat = z.infer<typeof dateFormatConfigSchema>;
|
|
3503
3672
|
/** Resolved `frontmatter.extend`: custom key → user-supplied schema. */
|
|
3504
3673
|
export type FrontmatterExtend = Record<string, StandardSchema>;
|
|
3505
3674
|
/** Resolved i18n block (present only when the project opts into i18n). */
|