blume 1.1.2 → 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 +12 -0
- package/dist/cli/index.js +96 -22
- package/dist/cli/index.js.map +15 -15
- package/dist/types/ai/component-markdown.d.ts +10 -0
- package/dist/types/core/config-input.d.ts +44 -0
- package/dist/types/core/i18n-ui.d.ts +24 -24
- package/dist/types/core/schema.d.ts +282 -114
- package/dist/types/core/types.d.ts +14 -0
- package/dist/types/openapi/references.d.ts +5 -0
- package/docs/advanced/api-reference.mdx +20 -0
- package/docs/configuration/index.mdx +27 -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 +49 -14
- package/src/astro/templates.ts +6 -6
- package/src/components/layout/Logo.astro +2 -2
- package/src/components/layout/RootLayout.astro +14 -5
- package/src/components/openapi/ApiTagOperations.astro +17 -8
- package/src/core/config-input.ts +45 -0
- package/src/core/date-format.ts +17 -0
- package/src/core/project-graph.ts +9 -0
- package/src/core/schema.ts +64 -0
- package/src/core/types.ts +16 -0
- 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
|
@@ -91,22 +91,22 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
91
91
|
}>>;
|
|
92
92
|
}, "strict", z.ZodTypeAny, {
|
|
93
93
|
noindex: boolean;
|
|
94
|
+
description?: string | undefined;
|
|
94
95
|
title?: string | undefined;
|
|
95
96
|
image?: string | undefined;
|
|
96
|
-
description?: string | undefined;
|
|
97
97
|
x?: {
|
|
98
98
|
creator?: string | undefined;
|
|
99
99
|
} | undefined;
|
|
100
100
|
canonical?: string | undefined;
|
|
101
101
|
}, {
|
|
102
|
+
description?: string | undefined;
|
|
102
103
|
title?: string | undefined;
|
|
103
104
|
image?: string | undefined;
|
|
104
|
-
description?: string | undefined;
|
|
105
105
|
x?: {
|
|
106
106
|
creator?: string | undefined;
|
|
107
107
|
} | undefined;
|
|
108
|
-
noindex?: boolean | undefined;
|
|
109
108
|
canonical?: string | undefined;
|
|
109
|
+
noindex?: boolean | undefined;
|
|
110
110
|
}>>;
|
|
111
111
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
112
112
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -124,8 +124,8 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
124
124
|
icon?: string | undefined;
|
|
125
125
|
label?: string | undefined;
|
|
126
126
|
order?: number | undefined;
|
|
127
|
-
hidden?: boolean | undefined;
|
|
128
127
|
badge?: string | undefined;
|
|
128
|
+
hidden?: boolean | undefined;
|
|
129
129
|
}>>;
|
|
130
130
|
slug: z.ZodOptional<z.ZodString>;
|
|
131
131
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -145,25 +145,25 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
145
145
|
};
|
|
146
146
|
seo: {
|
|
147
147
|
noindex: boolean;
|
|
148
|
+
description?: string | undefined;
|
|
148
149
|
title?: string | undefined;
|
|
149
150
|
image?: string | undefined;
|
|
150
|
-
description?: string | undefined;
|
|
151
151
|
x?: {
|
|
152
152
|
creator?: string | undefined;
|
|
153
153
|
} | undefined;
|
|
154
154
|
canonical?: string | undefined;
|
|
155
155
|
};
|
|
156
156
|
deprecated: boolean;
|
|
157
|
-
draft: boolean;
|
|
158
157
|
hidden: boolean;
|
|
159
158
|
noindex: boolean;
|
|
159
|
+
draft: boolean;
|
|
160
160
|
type?: string | undefined;
|
|
161
|
-
title?: string | undefined;
|
|
162
161
|
date?: string | undefined;
|
|
163
162
|
icon?: string | undefined;
|
|
164
163
|
description?: string | undefined;
|
|
165
164
|
lastModified?: string | undefined;
|
|
166
165
|
slug?: string | undefined;
|
|
166
|
+
title?: string | undefined;
|
|
167
167
|
changelog?: {
|
|
168
168
|
date?: string | undefined;
|
|
169
169
|
version?: string | undefined;
|
|
@@ -182,18 +182,18 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
182
182
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
183
183
|
}, {
|
|
184
184
|
type?: string | undefined;
|
|
185
|
-
title?: string | undefined;
|
|
186
185
|
date?: string | Date | undefined;
|
|
187
186
|
icon?: string | undefined;
|
|
188
187
|
description?: string | undefined;
|
|
189
188
|
lastModified?: string | Date | undefined;
|
|
190
189
|
slug?: string | undefined;
|
|
190
|
+
title?: string | undefined;
|
|
191
191
|
sidebar?: {
|
|
192
192
|
icon?: string | undefined;
|
|
193
193
|
label?: string | undefined;
|
|
194
194
|
order?: number | undefined;
|
|
195
|
-
hidden?: boolean | undefined;
|
|
196
195
|
badge?: string | undefined;
|
|
196
|
+
hidden?: boolean | undefined;
|
|
197
197
|
} | undefined;
|
|
198
198
|
search?: {
|
|
199
199
|
exclude?: boolean | undefined;
|
|
@@ -206,16 +206,18 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
206
206
|
category?: string | undefined;
|
|
207
207
|
} | undefined;
|
|
208
208
|
seo?: {
|
|
209
|
+
description?: string | undefined;
|
|
209
210
|
title?: string | undefined;
|
|
210
211
|
image?: string | undefined;
|
|
211
|
-
description?: string | undefined;
|
|
212
212
|
x?: {
|
|
213
213
|
creator?: string | undefined;
|
|
214
214
|
} | undefined;
|
|
215
|
-
noindex?: boolean | undefined;
|
|
216
215
|
canonical?: string | undefined;
|
|
216
|
+
noindex?: boolean | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
deprecated?: boolean | undefined;
|
|
219
|
+
hidden?: boolean | undefined;
|
|
220
|
+
noindex?: boolean | undefined;
|
|
219
221
|
authors?: string | z.objectInputType<{
|
|
220
222
|
avatar: z.ZodOptional<z.ZodString>;
|
|
221
223
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -228,8 +230,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
228
230
|
url: z.ZodOptional<z.ZodString>;
|
|
229
231
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
230
232
|
draft?: boolean | undefined;
|
|
231
|
-
hidden?: boolean | undefined;
|
|
232
|
-
noindex?: boolean | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
export declare const pageMetaSchema: z.ZodObject<{
|
|
235
235
|
/** Post author(s) for blog/changelog content; preserved, not yet rendered. */
|
|
@@ -316,22 +316,22 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
316
316
|
}>>;
|
|
317
317
|
}, "strict", z.ZodTypeAny, {
|
|
318
318
|
noindex: boolean;
|
|
319
|
+
description?: string | undefined;
|
|
319
320
|
title?: string | undefined;
|
|
320
321
|
image?: string | undefined;
|
|
321
|
-
description?: string | undefined;
|
|
322
322
|
x?: {
|
|
323
323
|
creator?: string | undefined;
|
|
324
324
|
} | undefined;
|
|
325
325
|
canonical?: string | undefined;
|
|
326
326
|
}, {
|
|
327
|
+
description?: string | undefined;
|
|
327
328
|
title?: string | undefined;
|
|
328
329
|
image?: string | undefined;
|
|
329
|
-
description?: string | undefined;
|
|
330
330
|
x?: {
|
|
331
331
|
creator?: string | undefined;
|
|
332
332
|
} | undefined;
|
|
333
|
-
noindex?: boolean | undefined;
|
|
334
333
|
canonical?: string | undefined;
|
|
334
|
+
noindex?: boolean | undefined;
|
|
335
335
|
}>>;
|
|
336
336
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
337
337
|
badge: z.ZodOptional<z.ZodString>;
|
|
@@ -349,8 +349,8 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
349
349
|
icon?: string | undefined;
|
|
350
350
|
label?: string | undefined;
|
|
351
351
|
order?: number | undefined;
|
|
352
|
-
hidden?: boolean | undefined;
|
|
353
352
|
badge?: string | undefined;
|
|
353
|
+
hidden?: boolean | undefined;
|
|
354
354
|
}>>;
|
|
355
355
|
slug: z.ZodOptional<z.ZodString>;
|
|
356
356
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -370,25 +370,25 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
370
370
|
};
|
|
371
371
|
seo: {
|
|
372
372
|
noindex: boolean;
|
|
373
|
+
description?: string | undefined;
|
|
373
374
|
title?: string | undefined;
|
|
374
375
|
image?: string | undefined;
|
|
375
|
-
description?: string | undefined;
|
|
376
376
|
x?: {
|
|
377
377
|
creator?: string | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
canonical?: string | undefined;
|
|
380
380
|
};
|
|
381
381
|
deprecated: boolean;
|
|
382
|
-
draft: boolean;
|
|
383
382
|
hidden: boolean;
|
|
384
383
|
noindex: boolean;
|
|
384
|
+
draft: boolean;
|
|
385
385
|
type?: string | undefined;
|
|
386
|
-
title?: string | undefined;
|
|
387
386
|
date?: string | undefined;
|
|
388
387
|
icon?: string | undefined;
|
|
389
388
|
description?: string | undefined;
|
|
390
389
|
lastModified?: string | undefined;
|
|
391
390
|
slug?: string | undefined;
|
|
391
|
+
title?: string | undefined;
|
|
392
392
|
changelog?: {
|
|
393
393
|
date?: string | undefined;
|
|
394
394
|
version?: string | undefined;
|
|
@@ -407,18 +407,18 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
407
407
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
408
408
|
}, {
|
|
409
409
|
type?: string | undefined;
|
|
410
|
-
title?: string | undefined;
|
|
411
410
|
date?: string | Date | undefined;
|
|
412
411
|
icon?: string | undefined;
|
|
413
412
|
description?: string | undefined;
|
|
414
413
|
lastModified?: string | Date | undefined;
|
|
415
414
|
slug?: string | undefined;
|
|
415
|
+
title?: string | undefined;
|
|
416
416
|
sidebar?: {
|
|
417
417
|
icon?: string | undefined;
|
|
418
418
|
label?: string | undefined;
|
|
419
419
|
order?: number | undefined;
|
|
420
|
-
hidden?: boolean | undefined;
|
|
421
420
|
badge?: string | undefined;
|
|
421
|
+
hidden?: boolean | undefined;
|
|
422
422
|
} | undefined;
|
|
423
423
|
search?: {
|
|
424
424
|
exclude?: boolean | undefined;
|
|
@@ -431,16 +431,18 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
431
431
|
category?: string | undefined;
|
|
432
432
|
} | undefined;
|
|
433
433
|
seo?: {
|
|
434
|
+
description?: string | undefined;
|
|
434
435
|
title?: string | undefined;
|
|
435
436
|
image?: string | undefined;
|
|
436
|
-
description?: string | undefined;
|
|
437
437
|
x?: {
|
|
438
438
|
creator?: string | undefined;
|
|
439
439
|
} | undefined;
|
|
440
|
-
noindex?: boolean | undefined;
|
|
441
440
|
canonical?: string | undefined;
|
|
441
|
+
noindex?: boolean | undefined;
|
|
442
442
|
} | undefined;
|
|
443
443
|
deprecated?: boolean | undefined;
|
|
444
|
+
hidden?: boolean | undefined;
|
|
445
|
+
noindex?: boolean | undefined;
|
|
444
446
|
authors?: string | z.objectInputType<{
|
|
445
447
|
avatar: z.ZodOptional<z.ZodString>;
|
|
446
448
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -453,8 +455,6 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
453
455
|
url: z.ZodOptional<z.ZodString>;
|
|
454
456
|
}, z.ZodUnknown, "strip">)[] | undefined;
|
|
455
457
|
draft?: boolean | undefined;
|
|
456
|
-
hidden?: boolean | undefined;
|
|
457
|
-
noindex?: boolean | undefined;
|
|
458
458
|
}>;
|
|
459
459
|
export type PageMeta = z.infer<typeof pageMetaBaseSchema>;
|
|
460
460
|
export type PageMetaInput = z.input<typeof pageMetaBaseSchema>;
|
|
@@ -475,15 +475,15 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
475
475
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
476
476
|
title: z.ZodOptional<z.ZodString>;
|
|
477
477
|
}, "strict", z.ZodTypeAny, {
|
|
478
|
-
title?: string | undefined;
|
|
479
478
|
icon?: string | undefined;
|
|
480
479
|
pages?: string[] | undefined;
|
|
480
|
+
title?: string | undefined;
|
|
481
481
|
order?: number | undefined;
|
|
482
482
|
collapsed?: boolean | undefined;
|
|
483
483
|
}, {
|
|
484
|
-
title?: string | undefined;
|
|
485
484
|
icon?: string | undefined;
|
|
486
485
|
pages?: string[] | undefined;
|
|
486
|
+
title?: string | undefined;
|
|
487
487
|
order?: number | undefined;
|
|
488
488
|
collapsed?: boolean | undefined;
|
|
489
489
|
}>;
|
|
@@ -498,15 +498,15 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
498
498
|
type: z.ZodLiteral<"filesystem">;
|
|
499
499
|
}, "strict", z.ZodTypeAny, {
|
|
500
500
|
type: "filesystem";
|
|
501
|
-
root: string;
|
|
502
501
|
exclude: string[];
|
|
503
502
|
include: string[];
|
|
503
|
+
root: string;
|
|
504
504
|
prefix?: string | undefined;
|
|
505
505
|
}, {
|
|
506
506
|
type: "filesystem";
|
|
507
|
-
root?: string | undefined;
|
|
508
507
|
exclude?: string[] | undefined;
|
|
509
508
|
include?: string[] | undefined;
|
|
509
|
+
root?: string | undefined;
|
|
510
510
|
prefix?: string | undefined;
|
|
511
511
|
}>, z.ZodObject<{
|
|
512
512
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -609,17 +609,17 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
609
609
|
slug: z.ZodOptional<z.ZodString>;
|
|
610
610
|
title: z.ZodOptional<z.ZodString>;
|
|
611
611
|
}, "strict", z.ZodTypeAny, {
|
|
612
|
-
title?: string | undefined;
|
|
613
612
|
body?: string | undefined;
|
|
614
613
|
description?: string | undefined;
|
|
615
614
|
lastModified?: string | undefined;
|
|
616
615
|
slug?: string | undefined;
|
|
617
|
-
}, {
|
|
618
616
|
title?: string | undefined;
|
|
617
|
+
}, {
|
|
619
618
|
body?: string | undefined;
|
|
620
619
|
description?: string | undefined;
|
|
621
620
|
lastModified?: string | undefined;
|
|
622
621
|
slug?: string | undefined;
|
|
622
|
+
title?: string | undefined;
|
|
623
623
|
}>>;
|
|
624
624
|
/** Opt-in dev polling interval (seconds); omit to freeze for the session. */
|
|
625
625
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
@@ -637,11 +637,11 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
637
637
|
pollInterval?: number | undefined;
|
|
638
638
|
apiVersion?: string | undefined;
|
|
639
639
|
fields?: {
|
|
640
|
-
title?: string | undefined;
|
|
641
640
|
body?: string | undefined;
|
|
642
641
|
description?: string | undefined;
|
|
643
642
|
lastModified?: string | undefined;
|
|
644
643
|
slug?: string | undefined;
|
|
644
|
+
title?: string | undefined;
|
|
645
645
|
} | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
type: "sanity";
|
|
@@ -652,11 +652,11 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
652
652
|
pollInterval?: number | undefined;
|
|
653
653
|
apiVersion?: string | undefined;
|
|
654
654
|
fields?: {
|
|
655
|
-
title?: string | undefined;
|
|
656
655
|
body?: string | undefined;
|
|
657
656
|
description?: string | undefined;
|
|
658
657
|
lastModified?: string | undefined;
|
|
659
658
|
slug?: string | undefined;
|
|
659
|
+
title?: string | undefined;
|
|
660
660
|
} | undefined;
|
|
661
661
|
}>, z.ZodObject<{
|
|
662
662
|
database: z.ZodString;
|
|
@@ -671,16 +671,16 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
671
671
|
status: z.ZodOptional<z.ZodString>;
|
|
672
672
|
title: z.ZodOptional<z.ZodString>;
|
|
673
673
|
}, "strict", z.ZodTypeAny, {
|
|
674
|
-
title?: string | undefined;
|
|
675
674
|
status?: string | undefined;
|
|
676
675
|
description?: string | undefined;
|
|
677
676
|
slug?: string | undefined;
|
|
677
|
+
title?: string | undefined;
|
|
678
678
|
order?: string | undefined;
|
|
679
679
|
}, {
|
|
680
|
-
title?: string | undefined;
|
|
681
680
|
status?: string | undefined;
|
|
682
681
|
description?: string | undefined;
|
|
683
682
|
slug?: string | undefined;
|
|
683
|
+
title?: string | undefined;
|
|
684
684
|
order?: string | undefined;
|
|
685
685
|
}>>;
|
|
686
686
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
@@ -692,10 +692,10 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
692
692
|
prefix?: string | undefined;
|
|
693
693
|
pollInterval?: number | undefined;
|
|
694
694
|
properties?: {
|
|
695
|
-
title?: string | undefined;
|
|
696
695
|
status?: string | undefined;
|
|
697
696
|
description?: string | undefined;
|
|
698
697
|
slug?: string | undefined;
|
|
698
|
+
title?: string | undefined;
|
|
699
699
|
order?: string | undefined;
|
|
700
700
|
} | undefined;
|
|
701
701
|
publishedValue?: string | undefined;
|
|
@@ -705,10 +705,10 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
705
705
|
prefix?: string | undefined;
|
|
706
706
|
pollInterval?: number | undefined;
|
|
707
707
|
properties?: {
|
|
708
|
-
title?: string | undefined;
|
|
709
708
|
status?: string | undefined;
|
|
710
709
|
description?: string | undefined;
|
|
711
710
|
slug?: string | undefined;
|
|
711
|
+
title?: string | undefined;
|
|
712
712
|
order?: string | undefined;
|
|
713
713
|
} | undefined;
|
|
714
714
|
publishedValue?: string | undefined;
|
|
@@ -836,12 +836,12 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
836
836
|
}, "strict", z.ZodTypeAny, {
|
|
837
837
|
enabled: boolean;
|
|
838
838
|
route: string;
|
|
839
|
-
name?: string | undefined;
|
|
840
839
|
instructions?: string | undefined;
|
|
841
|
-
}, {
|
|
842
840
|
name?: string | undefined;
|
|
841
|
+
}, {
|
|
843
842
|
enabled?: boolean | undefined;
|
|
844
843
|
instructions?: string | undefined;
|
|
844
|
+
name?: string | undefined;
|
|
845
845
|
route?: string | undefined;
|
|
846
846
|
}>>;
|
|
847
847
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -853,8 +853,8 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
853
853
|
mcp: {
|
|
854
854
|
enabled: boolean;
|
|
855
855
|
route: string;
|
|
856
|
-
name?: string | undefined;
|
|
857
856
|
instructions?: string | undefined;
|
|
857
|
+
name?: string | undefined;
|
|
858
858
|
};
|
|
859
859
|
ask?: {
|
|
860
860
|
enabled: boolean;
|
|
@@ -885,9 +885,9 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
885
885
|
} | undefined;
|
|
886
886
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
887
887
|
mcp?: {
|
|
888
|
-
name?: string | undefined;
|
|
889
888
|
enabled?: boolean | undefined;
|
|
890
889
|
instructions?: string | undefined;
|
|
890
|
+
name?: string | undefined;
|
|
891
891
|
route?: string | undefined;
|
|
892
892
|
} | undefined;
|
|
893
893
|
}>;
|
|
@@ -1010,6 +1010,74 @@ declare const contentSignalsSchema: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.Zod
|
|
|
1010
1010
|
aiInput?: boolean | undefined;
|
|
1011
1011
|
aiTrain?: boolean | undefined;
|
|
1012
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
|
+
}>;
|
|
1013
1081
|
/**
|
|
1014
1082
|
* A single spec rendered by the API reference. `spec` is a local path or an
|
|
1015
1083
|
* `http(s)` URL (OpenAPI for the Blume renderer; OpenAPI or AsyncAPI for Scalar).
|
|
@@ -1127,12 +1195,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1127
1195
|
}, "strict", z.ZodTypeAny, {
|
|
1128
1196
|
enabled: boolean;
|
|
1129
1197
|
route: string;
|
|
1130
|
-
name?: string | undefined;
|
|
1131
1198
|
instructions?: string | undefined;
|
|
1132
|
-
}, {
|
|
1133
1199
|
name?: string | undefined;
|
|
1200
|
+
}, {
|
|
1134
1201
|
enabled?: boolean | undefined;
|
|
1135
1202
|
instructions?: string | undefined;
|
|
1203
|
+
name?: string | undefined;
|
|
1136
1204
|
route?: string | undefined;
|
|
1137
1205
|
}>>;
|
|
1138
1206
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1144,8 +1212,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1144
1212
|
mcp: {
|
|
1145
1213
|
enabled: boolean;
|
|
1146
1214
|
route: string;
|
|
1147
|
-
name?: string | undefined;
|
|
1148
1215
|
instructions?: string | undefined;
|
|
1216
|
+
name?: string | undefined;
|
|
1149
1217
|
};
|
|
1150
1218
|
ask?: {
|
|
1151
1219
|
enabled: boolean;
|
|
@@ -1176,9 +1244,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1176
1244
|
} | undefined;
|
|
1177
1245
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
1178
1246
|
mcp?: {
|
|
1179
|
-
name?: string | undefined;
|
|
1180
1247
|
enabled?: boolean | undefined;
|
|
1181
1248
|
instructions?: string | undefined;
|
|
1249
|
+
name?: string | undefined;
|
|
1182
1250
|
route?: string | undefined;
|
|
1183
1251
|
} | undefined;
|
|
1184
1252
|
}>>;
|
|
@@ -1248,6 +1316,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1248
1316
|
asyncapi: z.ZodDefault<z.ZodObject<{
|
|
1249
1317
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1250
1318
|
route: z.ZodDefault<z.ZodString>;
|
|
1319
|
+
/** Extra Scalar config forwarded to `<ScalarComponent>`. */
|
|
1320
|
+
scalar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1251
1321
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1252
1322
|
/** Nav/section label for this source. */
|
|
1253
1323
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1274,9 +1344,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1274
1344
|
label?: string | undefined;
|
|
1275
1345
|
route?: string | undefined;
|
|
1276
1346
|
}[];
|
|
1347
|
+
scalar?: Record<string, unknown> | undefined;
|
|
1277
1348
|
spec?: string | undefined;
|
|
1278
1349
|
theme?: string | undefined;
|
|
1279
1350
|
}, {
|
|
1351
|
+
scalar?: Record<string, unknown> | undefined;
|
|
1280
1352
|
enabled?: boolean | undefined;
|
|
1281
1353
|
route?: string | undefined;
|
|
1282
1354
|
spec?: string | undefined;
|
|
@@ -1297,28 +1369,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1297
1369
|
href: z.ZodString;
|
|
1298
1370
|
text: z.ZodString;
|
|
1299
1371
|
}, "strict", z.ZodTypeAny, {
|
|
1300
|
-
text: string;
|
|
1301
1372
|
href: string;
|
|
1302
|
-
}, {
|
|
1303
1373
|
text: string;
|
|
1374
|
+
}, {
|
|
1304
1375
|
href: string;
|
|
1376
|
+
text: string;
|
|
1305
1377
|
}>>;
|
|
1306
1378
|
}, "strict", z.ZodTypeAny, {
|
|
1307
1379
|
content: string;
|
|
1308
1380
|
dismissible: boolean;
|
|
1309
1381
|
id?: string | undefined;
|
|
1310
1382
|
link?: {
|
|
1311
|
-
text: string;
|
|
1312
1383
|
href: string;
|
|
1384
|
+
text: string;
|
|
1313
1385
|
} | undefined;
|
|
1314
1386
|
}, {
|
|
1315
1387
|
content: string;
|
|
1316
1388
|
id?: string | undefined;
|
|
1389
|
+
dismissible?: boolean | undefined;
|
|
1317
1390
|
link?: {
|
|
1318
|
-
text: string;
|
|
1319
1391
|
href: string;
|
|
1392
|
+
text: string;
|
|
1320
1393
|
} | undefined;
|
|
1321
|
-
dismissible?: boolean | undefined;
|
|
1322
1394
|
}>]>>;
|
|
1323
1395
|
/**
|
|
1324
1396
|
* Site-wide mount point prepended to every generated route (e.g. `/docs`),
|
|
@@ -1347,15 +1419,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1347
1419
|
type: z.ZodLiteral<"filesystem">;
|
|
1348
1420
|
}, "strict", z.ZodTypeAny, {
|
|
1349
1421
|
type: "filesystem";
|
|
1350
|
-
root: string;
|
|
1351
1422
|
exclude: string[];
|
|
1352
1423
|
include: string[];
|
|
1424
|
+
root: string;
|
|
1353
1425
|
prefix?: string | undefined;
|
|
1354
1426
|
}, {
|
|
1355
1427
|
type: "filesystem";
|
|
1356
|
-
root?: string | undefined;
|
|
1357
1428
|
exclude?: string[] | undefined;
|
|
1358
1429
|
include?: string[] | undefined;
|
|
1430
|
+
root?: string | undefined;
|
|
1359
1431
|
prefix?: string | undefined;
|
|
1360
1432
|
}>, z.ZodObject<{
|
|
1361
1433
|
/** Explicit list of source-relative file paths to fetch from `url`. */
|
|
@@ -1458,17 +1530,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1458
1530
|
slug: z.ZodOptional<z.ZodString>;
|
|
1459
1531
|
title: z.ZodOptional<z.ZodString>;
|
|
1460
1532
|
}, "strict", z.ZodTypeAny, {
|
|
1461
|
-
title?: string | undefined;
|
|
1462
1533
|
body?: string | undefined;
|
|
1463
1534
|
description?: string | undefined;
|
|
1464
1535
|
lastModified?: string | undefined;
|
|
1465
1536
|
slug?: string | undefined;
|
|
1466
|
-
}, {
|
|
1467
1537
|
title?: string | undefined;
|
|
1538
|
+
}, {
|
|
1468
1539
|
body?: string | undefined;
|
|
1469
1540
|
description?: string | undefined;
|
|
1470
1541
|
lastModified?: string | undefined;
|
|
1471
1542
|
slug?: string | undefined;
|
|
1543
|
+
title?: string | undefined;
|
|
1472
1544
|
}>>;
|
|
1473
1545
|
/** Opt-in dev polling interval (seconds); omit to freeze for the session. */
|
|
1474
1546
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1486,11 +1558,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1486
1558
|
pollInterval?: number | undefined;
|
|
1487
1559
|
apiVersion?: string | undefined;
|
|
1488
1560
|
fields?: {
|
|
1489
|
-
title?: string | undefined;
|
|
1490
1561
|
body?: string | undefined;
|
|
1491
1562
|
description?: string | undefined;
|
|
1492
1563
|
lastModified?: string | undefined;
|
|
1493
1564
|
slug?: string | undefined;
|
|
1565
|
+
title?: string | undefined;
|
|
1494
1566
|
} | undefined;
|
|
1495
1567
|
}, {
|
|
1496
1568
|
type: "sanity";
|
|
@@ -1501,11 +1573,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1501
1573
|
pollInterval?: number | undefined;
|
|
1502
1574
|
apiVersion?: string | undefined;
|
|
1503
1575
|
fields?: {
|
|
1504
|
-
title?: string | undefined;
|
|
1505
1576
|
body?: string | undefined;
|
|
1506
1577
|
description?: string | undefined;
|
|
1507
1578
|
lastModified?: string | undefined;
|
|
1508
1579
|
slug?: string | undefined;
|
|
1580
|
+
title?: string | undefined;
|
|
1509
1581
|
} | undefined;
|
|
1510
1582
|
}>, z.ZodObject<{
|
|
1511
1583
|
database: z.ZodString;
|
|
@@ -1520,16 +1592,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1520
1592
|
status: z.ZodOptional<z.ZodString>;
|
|
1521
1593
|
title: z.ZodOptional<z.ZodString>;
|
|
1522
1594
|
}, "strict", z.ZodTypeAny, {
|
|
1523
|
-
title?: string | undefined;
|
|
1524
1595
|
status?: string | undefined;
|
|
1525
1596
|
description?: string | undefined;
|
|
1526
1597
|
slug?: string | undefined;
|
|
1598
|
+
title?: string | undefined;
|
|
1527
1599
|
order?: string | undefined;
|
|
1528
1600
|
}, {
|
|
1529
|
-
title?: string | undefined;
|
|
1530
1601
|
status?: string | undefined;
|
|
1531
1602
|
description?: string | undefined;
|
|
1532
1603
|
slug?: string | undefined;
|
|
1604
|
+
title?: string | undefined;
|
|
1533
1605
|
order?: string | undefined;
|
|
1534
1606
|
}>>;
|
|
1535
1607
|
/** Status value treated as published; others map to `draft`. Default `Published`. */
|
|
@@ -1541,10 +1613,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1541
1613
|
prefix?: string | undefined;
|
|
1542
1614
|
pollInterval?: number | undefined;
|
|
1543
1615
|
properties?: {
|
|
1544
|
-
title?: string | undefined;
|
|
1545
1616
|
status?: string | undefined;
|
|
1546
1617
|
description?: string | undefined;
|
|
1547
1618
|
slug?: string | undefined;
|
|
1619
|
+
title?: string | undefined;
|
|
1548
1620
|
order?: string | undefined;
|
|
1549
1621
|
} | undefined;
|
|
1550
1622
|
publishedValue?: string | undefined;
|
|
@@ -1554,10 +1626,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1554
1626
|
prefix?: string | undefined;
|
|
1555
1627
|
pollInterval?: number | undefined;
|
|
1556
1628
|
properties?: {
|
|
1557
|
-
title?: string | undefined;
|
|
1558
1629
|
status?: string | undefined;
|
|
1559
1630
|
description?: string | undefined;
|
|
1560
1631
|
slug?: string | undefined;
|
|
1632
|
+
title?: string | undefined;
|
|
1561
1633
|
order?: string | undefined;
|
|
1562
1634
|
} | undefined;
|
|
1563
1635
|
publishedValue?: string | undefined;
|
|
@@ -1572,16 +1644,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1572
1644
|
source: ContentSource;
|
|
1573
1645
|
}>]>, "many">>;
|
|
1574
1646
|
}, "strict", z.ZodTypeAny, {
|
|
1575
|
-
root: string;
|
|
1576
1647
|
defaultType: string;
|
|
1577
1648
|
exclude: string[];
|
|
1578
1649
|
include: string[];
|
|
1579
1650
|
pages: string;
|
|
1651
|
+
root: string;
|
|
1580
1652
|
sources?: ({
|
|
1581
1653
|
type: "filesystem";
|
|
1582
|
-
root: string;
|
|
1583
1654
|
exclude: string[];
|
|
1584
1655
|
include: string[];
|
|
1656
|
+
root: string;
|
|
1585
1657
|
prefix?: string | undefined;
|
|
1586
1658
|
} | {
|
|
1587
1659
|
type: "mdx-remote";
|
|
@@ -1614,11 +1686,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1614
1686
|
pollInterval?: number | undefined;
|
|
1615
1687
|
apiVersion?: string | undefined;
|
|
1616
1688
|
fields?: {
|
|
1617
|
-
title?: string | undefined;
|
|
1618
1689
|
body?: string | undefined;
|
|
1619
1690
|
description?: string | undefined;
|
|
1620
1691
|
lastModified?: string | undefined;
|
|
1621
1692
|
slug?: string | undefined;
|
|
1693
|
+
title?: string | undefined;
|
|
1622
1694
|
} | undefined;
|
|
1623
1695
|
} | {
|
|
1624
1696
|
type: "notion";
|
|
@@ -1626,10 +1698,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1626
1698
|
prefix?: string | undefined;
|
|
1627
1699
|
pollInterval?: number | undefined;
|
|
1628
1700
|
properties?: {
|
|
1629
|
-
title?: string | undefined;
|
|
1630
1701
|
status?: string | undefined;
|
|
1631
1702
|
description?: string | undefined;
|
|
1632
1703
|
slug?: string | undefined;
|
|
1704
|
+
title?: string | undefined;
|
|
1633
1705
|
order?: string | undefined;
|
|
1634
1706
|
} | undefined;
|
|
1635
1707
|
publishedValue?: string | undefined;
|
|
@@ -1638,12 +1710,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1638
1710
|
source: ContentSource;
|
|
1639
1711
|
})[] | undefined;
|
|
1640
1712
|
}, {
|
|
1641
|
-
root?: string | undefined;
|
|
1642
1713
|
sources?: ({
|
|
1643
1714
|
type: "filesystem";
|
|
1644
|
-
root?: string | undefined;
|
|
1645
1715
|
exclude?: string[] | undefined;
|
|
1646
1716
|
include?: string[] | undefined;
|
|
1717
|
+
root?: string | undefined;
|
|
1647
1718
|
prefix?: string | undefined;
|
|
1648
1719
|
} | {
|
|
1649
1720
|
type: "mdx-remote";
|
|
@@ -1676,11 +1747,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1676
1747
|
pollInterval?: number | undefined;
|
|
1677
1748
|
apiVersion?: string | undefined;
|
|
1678
1749
|
fields?: {
|
|
1679
|
-
title?: string | undefined;
|
|
1680
1750
|
body?: string | undefined;
|
|
1681
1751
|
description?: string | undefined;
|
|
1682
1752
|
lastModified?: string | undefined;
|
|
1683
1753
|
slug?: string | undefined;
|
|
1754
|
+
title?: string | undefined;
|
|
1684
1755
|
} | undefined;
|
|
1685
1756
|
} | {
|
|
1686
1757
|
type: "notion";
|
|
@@ -1688,10 +1759,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1688
1759
|
prefix?: string | undefined;
|
|
1689
1760
|
pollInterval?: number | undefined;
|
|
1690
1761
|
properties?: {
|
|
1691
|
-
title?: string | undefined;
|
|
1692
1762
|
status?: string | undefined;
|
|
1693
1763
|
description?: string | undefined;
|
|
1694
1764
|
slug?: string | undefined;
|
|
1765
|
+
title?: string | undefined;
|
|
1695
1766
|
order?: string | undefined;
|
|
1696
1767
|
} | undefined;
|
|
1697
1768
|
publishedValue?: string | undefined;
|
|
@@ -1703,6 +1774,71 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1703
1774
|
exclude?: string[] | undefined;
|
|
1704
1775
|
include?: string[] | undefined;
|
|
1705
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;
|
|
1706
1842
|
}>>;
|
|
1707
1843
|
deployment: z.ZodDefault<z.ZodObject<{
|
|
1708
1844
|
adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
|
|
@@ -1879,21 +2015,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1879
2015
|
}>]>>;
|
|
1880
2016
|
text: z.ZodOptional<z.ZodString>;
|
|
1881
2017
|
}, "strict", z.ZodTypeAny, {
|
|
2018
|
+
href?: string | undefined;
|
|
2019
|
+
text?: string | undefined;
|
|
1882
2020
|
image?: string | {
|
|
1883
2021
|
alt?: string | undefined;
|
|
1884
2022
|
dark?: string | undefined;
|
|
1885
2023
|
light?: string | undefined;
|
|
1886
2024
|
} | undefined;
|
|
1887
|
-
text?: string | undefined;
|
|
1888
|
-
href?: string | undefined;
|
|
1889
2025
|
}, {
|
|
2026
|
+
href?: string | undefined;
|
|
2027
|
+
text?: string | undefined;
|
|
1890
2028
|
image?: string | {
|
|
1891
2029
|
alt?: string | undefined;
|
|
1892
2030
|
dark?: string | undefined;
|
|
1893
2031
|
light?: string | undefined;
|
|
1894
2032
|
} | undefined;
|
|
1895
|
-
text?: string | undefined;
|
|
1896
|
-
href?: string | undefined;
|
|
1897
2033
|
}>]>>;
|
|
1898
2034
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
1899
2035
|
/** Code-block rendering: language icons and line wrapping. */
|
|
@@ -2048,14 +2184,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2048
2184
|
display: "flat" | "group" | "page";
|
|
2049
2185
|
items?: SidebarItemConfig[] | undefined;
|
|
2050
2186
|
}, {
|
|
2051
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2052
2187
|
items?: SidebarItemConfig[] | undefined;
|
|
2188
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2053
2189
|
}>]>>, {
|
|
2054
2190
|
display: "flat" | "group" | "page";
|
|
2055
2191
|
items?: SidebarItemConfig[] | undefined;
|
|
2056
2192
|
}, SidebarItemConfig[] | {
|
|
2057
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2058
2193
|
items?: SidebarItemConfig[] | undefined;
|
|
2194
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2059
2195
|
} | undefined>;
|
|
2060
2196
|
tabs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2061
2197
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -2156,8 +2292,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2156
2292
|
}[] | undefined;
|
|
2157
2293
|
}[] | undefined;
|
|
2158
2294
|
sidebar?: SidebarItemConfig[] | {
|
|
2159
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
2160
2295
|
items?: SidebarItemConfig[] | undefined;
|
|
2296
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
2161
2297
|
} | undefined;
|
|
2162
2298
|
tabs?: {
|
|
2163
2299
|
path: string;
|
|
@@ -2182,6 +2318,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2182
2318
|
renderer: z.ZodDefault<z.ZodEnum<["blume", "scalar"]>>;
|
|
2183
2319
|
/** Where the reference mounts. */
|
|
2184
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>>;
|
|
2185
2323
|
/** One or more specs; each renders on its own route by default. */
|
|
2186
2324
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2187
2325
|
/** Nav/section label for this source. */
|
|
@@ -2214,9 +2352,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2214
2352
|
codeSamples: string[];
|
|
2215
2353
|
expandSchemas: boolean;
|
|
2216
2354
|
renderer: "blume" | "scalar";
|
|
2355
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2217
2356
|
spec?: string | undefined;
|
|
2218
2357
|
theme?: string | undefined;
|
|
2219
2358
|
}, {
|
|
2359
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2220
2360
|
enabled?: boolean | undefined;
|
|
2221
2361
|
route?: string | undefined;
|
|
2222
2362
|
spec?: string | undefined;
|
|
@@ -2732,22 +2872,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2732
2872
|
display: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2733
2873
|
mono: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2734
2874
|
}, "strict", z.ZodTypeAny, {
|
|
2735
|
-
mono: string;
|
|
2736
|
-
display: string;
|
|
2737
2875
|
body: string;
|
|
2876
|
+
display: string;
|
|
2877
|
+
mono: string;
|
|
2738
2878
|
}, {
|
|
2739
|
-
mono?: string | undefined;
|
|
2740
|
-
display?: string | undefined;
|
|
2741
2879
|
body?: string | undefined;
|
|
2880
|
+
display?: string | undefined;
|
|
2881
|
+
mono?: string | undefined;
|
|
2742
2882
|
}>>;
|
|
2743
2883
|
layout: z.ZodDefault<z.ZodEnum<["sidebar"]>>;
|
|
2744
2884
|
mode: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
|
|
2745
2885
|
radius: z.ZodDefault<z.ZodEnum<["none", "sm", "md", "lg"]>>;
|
|
2746
2886
|
}, "strict", z.ZodTypeAny, {
|
|
2747
2887
|
fonts: {
|
|
2748
|
-
mono: string;
|
|
2749
|
-
display: string;
|
|
2750
2888
|
body: string;
|
|
2889
|
+
display: string;
|
|
2890
|
+
mono: string;
|
|
2751
2891
|
};
|
|
2752
2892
|
accent: {
|
|
2753
2893
|
dark: string;
|
|
@@ -2767,9 +2907,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2767
2907
|
} | undefined;
|
|
2768
2908
|
}, {
|
|
2769
2909
|
fonts?: {
|
|
2770
|
-
mono?: string | undefined;
|
|
2771
|
-
display?: string | undefined;
|
|
2772
2910
|
body?: string | undefined;
|
|
2911
|
+
display?: string | undefined;
|
|
2912
|
+
mono?: string | undefined;
|
|
2773
2913
|
} | undefined;
|
|
2774
2914
|
accent?: string | {
|
|
2775
2915
|
dark: string;
|
|
@@ -2814,10 +2954,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2814
2954
|
minHeadingLevel?: number | undefined;
|
|
2815
2955
|
} | undefined>;
|
|
2816
2956
|
}, "strict", z.ZodTypeAny, {
|
|
2817
|
-
title: string;
|
|
2818
|
-
frontmatter: {
|
|
2819
|
-
extend: Record<string, StandardSchema<unknown, unknown>>;
|
|
2820
|
-
};
|
|
2821
2957
|
openapi: {
|
|
2822
2958
|
enabled: boolean;
|
|
2823
2959
|
route: string;
|
|
@@ -2829,6 +2965,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2829
2965
|
codeSamples: string[];
|
|
2830
2966
|
expandSchemas: boolean;
|
|
2831
2967
|
renderer: "blume" | "scalar";
|
|
2968
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2832
2969
|
spec?: string | undefined;
|
|
2833
2970
|
theme?: string | undefined;
|
|
2834
2971
|
};
|
|
@@ -2840,6 +2977,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2840
2977
|
label?: string | undefined;
|
|
2841
2978
|
route?: string | undefined;
|
|
2842
2979
|
}[];
|
|
2980
|
+
scalar?: Record<string, unknown> | undefined;
|
|
2843
2981
|
spec?: string | undefined;
|
|
2844
2982
|
theme?: string | undefined;
|
|
2845
2983
|
};
|
|
@@ -2852,8 +2990,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2852
2990
|
mcp: {
|
|
2853
2991
|
enabled: boolean;
|
|
2854
2992
|
route: string;
|
|
2855
|
-
name?: string | undefined;
|
|
2856
2993
|
instructions?: string | undefined;
|
|
2994
|
+
name?: string | undefined;
|
|
2857
2995
|
};
|
|
2858
2996
|
ask?: {
|
|
2859
2997
|
enabled: boolean;
|
|
@@ -2868,16 +3006,16 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2868
3006
|
} | undefined;
|
|
2869
3007
|
};
|
|
2870
3008
|
content: {
|
|
2871
|
-
root: string;
|
|
2872
3009
|
defaultType: string;
|
|
2873
3010
|
exclude: string[];
|
|
2874
3011
|
include: string[];
|
|
2875
3012
|
pages: string;
|
|
3013
|
+
root: string;
|
|
2876
3014
|
sources?: ({
|
|
2877
3015
|
type: "filesystem";
|
|
2878
|
-
root: string;
|
|
2879
3016
|
exclude: string[];
|
|
2880
3017
|
include: string[];
|
|
3018
|
+
root: string;
|
|
2881
3019
|
prefix?: string | undefined;
|
|
2882
3020
|
} | {
|
|
2883
3021
|
type: "mdx-remote";
|
|
@@ -2910,11 +3048,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2910
3048
|
pollInterval?: number | undefined;
|
|
2911
3049
|
apiVersion?: string | undefined;
|
|
2912
3050
|
fields?: {
|
|
2913
|
-
title?: string | undefined;
|
|
2914
3051
|
body?: string | undefined;
|
|
2915
3052
|
description?: string | undefined;
|
|
2916
3053
|
lastModified?: string | undefined;
|
|
2917
3054
|
slug?: string | undefined;
|
|
3055
|
+
title?: string | undefined;
|
|
2918
3056
|
} | undefined;
|
|
2919
3057
|
} | {
|
|
2920
3058
|
type: "notion";
|
|
@@ -2922,10 +3060,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2922
3060
|
prefix?: string | undefined;
|
|
2923
3061
|
pollInterval?: number | undefined;
|
|
2924
3062
|
properties?: {
|
|
2925
|
-
title?: string | undefined;
|
|
2926
3063
|
status?: string | undefined;
|
|
2927
3064
|
description?: string | undefined;
|
|
2928
3065
|
slug?: string | undefined;
|
|
3066
|
+
title?: string | undefined;
|
|
2929
3067
|
order?: string | undefined;
|
|
2930
3068
|
} | undefined;
|
|
2931
3069
|
publishedValue?: string | undefined;
|
|
@@ -2936,9 +3074,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2936
3074
|
};
|
|
2937
3075
|
theme: {
|
|
2938
3076
|
fonts: {
|
|
2939
|
-
mono: string;
|
|
2940
|
-
display: string;
|
|
2941
3077
|
body: string;
|
|
3078
|
+
display: string;
|
|
3079
|
+
mono: string;
|
|
2942
3080
|
};
|
|
2943
3081
|
accent: {
|
|
2944
3082
|
dark: string;
|
|
@@ -2961,6 +3099,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2961
3099
|
lastModified: boolean | {
|
|
2962
3100
|
type: "frontmatter" | "git";
|
|
2963
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
|
+
};
|
|
2964
3114
|
deployment: {
|
|
2965
3115
|
adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
|
|
2966
3116
|
output: "static" | "server";
|
|
@@ -2976,6 +3126,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2976
3126
|
pdf: boolean;
|
|
2977
3127
|
};
|
|
2978
3128
|
feedback: boolean;
|
|
3129
|
+
frontmatter: {
|
|
3130
|
+
extend: Record<string, StandardSchema<unknown, unknown>>;
|
|
3131
|
+
};
|
|
2979
3132
|
markdown: {
|
|
2980
3133
|
code: {
|
|
2981
3134
|
icons: boolean;
|
|
@@ -3124,8 +3277,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3124
3277
|
dismissible: boolean;
|
|
3125
3278
|
id?: string | undefined;
|
|
3126
3279
|
link?: {
|
|
3127
|
-
text: string;
|
|
3128
3280
|
href: string;
|
|
3281
|
+
text: string;
|
|
3129
3282
|
} | undefined;
|
|
3130
3283
|
} | undefined;
|
|
3131
3284
|
github?: {
|
|
@@ -3148,20 +3301,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3148
3301
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
3149
3302
|
} | undefined;
|
|
3150
3303
|
logo?: string | {
|
|
3304
|
+
href?: string | undefined;
|
|
3305
|
+
text?: string | undefined;
|
|
3151
3306
|
image?: string | {
|
|
3152
3307
|
alt?: string | undefined;
|
|
3153
3308
|
dark?: string | undefined;
|
|
3154
3309
|
light?: string | undefined;
|
|
3155
3310
|
} | undefined;
|
|
3156
|
-
text?: string | undefined;
|
|
3157
|
-
href?: string | undefined;
|
|
3158
3311
|
} | undefined;
|
|
3159
3312
|
}, {
|
|
3160
|
-
title?: string | undefined;
|
|
3161
|
-
frontmatter?: {
|
|
3162
|
-
extend?: Record<string, StandardSchema<unknown, unknown>> | undefined;
|
|
3163
|
-
} | undefined;
|
|
3164
3313
|
openapi?: {
|
|
3314
|
+
scalar?: Record<string, unknown> | undefined;
|
|
3165
3315
|
enabled?: boolean | undefined;
|
|
3166
3316
|
route?: string | undefined;
|
|
3167
3317
|
spec?: string | undefined;
|
|
@@ -3176,6 +3326,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3176
3326
|
renderer?: "blume" | "scalar" | undefined;
|
|
3177
3327
|
} | undefined;
|
|
3178
3328
|
asyncapi?: {
|
|
3329
|
+
scalar?: Record<string, unknown> | undefined;
|
|
3179
3330
|
enabled?: boolean | undefined;
|
|
3180
3331
|
route?: string | undefined;
|
|
3181
3332
|
spec?: string | undefined;
|
|
@@ -3204,19 +3355,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3204
3355
|
} | undefined;
|
|
3205
3356
|
markdownComponents?: Record<string, ComponentMarkdown> | undefined;
|
|
3206
3357
|
mcp?: {
|
|
3207
|
-
name?: string | undefined;
|
|
3208
3358
|
enabled?: boolean | undefined;
|
|
3209
3359
|
instructions?: string | undefined;
|
|
3360
|
+
name?: string | undefined;
|
|
3210
3361
|
route?: string | undefined;
|
|
3211
3362
|
} | undefined;
|
|
3212
3363
|
} | undefined;
|
|
3213
3364
|
content?: {
|
|
3214
|
-
root?: string | undefined;
|
|
3215
3365
|
sources?: ({
|
|
3216
3366
|
type: "filesystem";
|
|
3217
|
-
root?: string | undefined;
|
|
3218
3367
|
exclude?: string[] | undefined;
|
|
3219
3368
|
include?: string[] | undefined;
|
|
3369
|
+
root?: string | undefined;
|
|
3220
3370
|
prefix?: string | undefined;
|
|
3221
3371
|
} | {
|
|
3222
3372
|
type: "mdx-remote";
|
|
@@ -3249,11 +3399,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3249
3399
|
pollInterval?: number | undefined;
|
|
3250
3400
|
apiVersion?: string | undefined;
|
|
3251
3401
|
fields?: {
|
|
3252
|
-
title?: string | undefined;
|
|
3253
3402
|
body?: string | undefined;
|
|
3254
3403
|
description?: string | undefined;
|
|
3255
3404
|
lastModified?: string | undefined;
|
|
3256
3405
|
slug?: string | undefined;
|
|
3406
|
+
title?: string | undefined;
|
|
3257
3407
|
} | undefined;
|
|
3258
3408
|
} | {
|
|
3259
3409
|
type: "notion";
|
|
@@ -3261,10 +3411,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3261
3411
|
prefix?: string | undefined;
|
|
3262
3412
|
pollInterval?: number | undefined;
|
|
3263
3413
|
properties?: {
|
|
3264
|
-
title?: string | undefined;
|
|
3265
3414
|
status?: string | undefined;
|
|
3266
3415
|
description?: string | undefined;
|
|
3267
3416
|
slug?: string | undefined;
|
|
3417
|
+
title?: string | undefined;
|
|
3268
3418
|
order?: string | undefined;
|
|
3269
3419
|
} | undefined;
|
|
3270
3420
|
publishedValue?: string | undefined;
|
|
@@ -3276,6 +3426,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3276
3426
|
exclude?: string[] | undefined;
|
|
3277
3427
|
include?: string[] | undefined;
|
|
3278
3428
|
pages?: string | undefined;
|
|
3429
|
+
root?: string | undefined;
|
|
3279
3430
|
} | undefined;
|
|
3280
3431
|
analytics?: {
|
|
3281
3432
|
posthog?: {
|
|
@@ -3292,9 +3443,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3292
3443
|
} | undefined;
|
|
3293
3444
|
theme?: {
|
|
3294
3445
|
fonts?: {
|
|
3295
|
-
mono?: string | undefined;
|
|
3296
|
-
display?: string | undefined;
|
|
3297
3446
|
body?: string | undefined;
|
|
3447
|
+
display?: string | undefined;
|
|
3448
|
+
mono?: string | undefined;
|
|
3298
3449
|
} | undefined;
|
|
3299
3450
|
accent?: string | {
|
|
3300
3451
|
dark: string;
|
|
@@ -3316,11 +3467,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3316
3467
|
banner?: string | {
|
|
3317
3468
|
content: string;
|
|
3318
3469
|
id?: string | undefined;
|
|
3470
|
+
dismissible?: boolean | undefined;
|
|
3319
3471
|
link?: {
|
|
3320
|
-
text: string;
|
|
3321
3472
|
href: string;
|
|
3473
|
+
text: string;
|
|
3322
3474
|
} | undefined;
|
|
3323
|
-
dismissible?: boolean | undefined;
|
|
3324
3475
|
} | undefined;
|
|
3325
3476
|
basePath?: string | undefined;
|
|
3326
3477
|
github?: {
|
|
@@ -3333,6 +3484,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3333
3484
|
lastModified?: boolean | {
|
|
3334
3485
|
type?: "frontmatter" | "git" | undefined;
|
|
3335
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;
|
|
3336
3499
|
deployment?: {
|
|
3337
3500
|
adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
|
|
3338
3501
|
base?: string | undefined;
|
|
@@ -3348,6 +3511,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3348
3511
|
pdf?: boolean | undefined;
|
|
3349
3512
|
} | undefined;
|
|
3350
3513
|
feedback?: boolean | undefined;
|
|
3514
|
+
frontmatter?: {
|
|
3515
|
+
extend?: Record<string, StandardSchema<unknown, unknown>> | undefined;
|
|
3516
|
+
} | undefined;
|
|
3351
3517
|
i18n?: {
|
|
3352
3518
|
locales: {
|
|
3353
3519
|
code: string;
|
|
@@ -3361,13 +3527,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3361
3527
|
ui?: Record<string, Record<string, Record<string, string>>> | undefined;
|
|
3362
3528
|
} | undefined;
|
|
3363
3529
|
logo?: string | {
|
|
3530
|
+
href?: string | undefined;
|
|
3531
|
+
text?: string | undefined;
|
|
3364
3532
|
image?: string | {
|
|
3365
3533
|
alt?: string | undefined;
|
|
3366
3534
|
dark?: string | undefined;
|
|
3367
3535
|
light?: string | undefined;
|
|
3368
3536
|
} | undefined;
|
|
3369
|
-
text?: string | undefined;
|
|
3370
|
-
href?: string | undefined;
|
|
3371
3537
|
} | undefined;
|
|
3372
3538
|
markdown?: {
|
|
3373
3539
|
code?: {
|
|
@@ -3402,8 +3568,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3402
3568
|
}[] | undefined;
|
|
3403
3569
|
}[] | undefined;
|
|
3404
3570
|
sidebar?: SidebarItemConfig[] | {
|
|
3405
|
-
display?: "flat" | "group" | "page" | undefined;
|
|
3406
3571
|
items?: SidebarItemConfig[] | undefined;
|
|
3572
|
+
display?: "flat" | "group" | "page" | undefined;
|
|
3407
3573
|
} | undefined;
|
|
3408
3574
|
tabs?: {
|
|
3409
3575
|
path: string;
|
|
@@ -3501,6 +3667,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3501
3667
|
}>;
|
|
3502
3668
|
/** Resolved config: every field present after defaults are applied. */
|
|
3503
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>;
|
|
3504
3672
|
/** Resolved `frontmatter.extend`: custom key → user-supplied schema. */
|
|
3505
3673
|
export type FrontmatterExtend = Record<string, StandardSchema>;
|
|
3506
3674
|
/** Resolved i18n block (present only when the project opts into i18n). */
|