blume 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/cli/index.js +2429 -792
  2. package/dist/cli/index.js.map +63 -44
  3. package/dist/types/core/data.d.ts +16 -0
  4. package/dist/types/core/define-components.d.ts +9 -2
  5. package/dist/types/core/diagnostics.d.ts +5 -0
  6. package/dist/types/core/schema.d.ts +313 -778
  7. package/dist/types/core/types.d.ts +2 -2
  8. package/dist/types/migrate/mintlify/assets.d.ts +8 -0
  9. package/docs/01-quickstart.mdx +5 -16
  10. package/docs/02-deployment.mdx +26 -40
  11. package/docs/advanced/api-reference.mdx +10 -37
  12. package/docs/advanced/blog.mdx +9 -25
  13. package/docs/advanced/changelog.mdx +10 -33
  14. package/docs/advanced/custom-pages.mdx +66 -61
  15. package/docs/configuration/ai.mdx +47 -91
  16. package/docs/configuration/analytics.mdx +20 -38
  17. package/docs/configuration/customization.mdx +92 -27
  18. package/docs/configuration/export.mdx +9 -34
  19. package/docs/configuration/index.mdx +78 -85
  20. package/docs/configuration/search.mdx +17 -54
  21. package/docs/configuration/seo.mdx +18 -44
  22. package/docs/configuration/theming.mdx +20 -42
  23. package/docs/content/components.mdx +42 -101
  24. package/docs/content/i18n.mdx +21 -72
  25. package/docs/content/index.mdx +18 -48
  26. package/docs/content/islands.mdx +79 -33
  27. package/docs/content/meta.mdx +23 -50
  28. package/docs/content/navigation.mdx +42 -56
  29. package/docs/content/sources.mdx +20 -83
  30. package/docs/content/syntax.mdx +37 -105
  31. package/docs/index.mdx +13 -51
  32. package/docs/reference/cli.mdx +49 -18
  33. package/docs/reference/frontmatter.mdx +2 -5
  34. package/package.json +3 -1
  35. package/src/ai/ask-context.ts +131 -0
  36. package/src/ai/ask-data.ts +25 -0
  37. package/src/astro/component-slots.ts +165 -0
  38. package/src/astro/generate.ts +132 -13
  39. package/src/astro/integration.ts +85 -3
  40. package/src/astro/islands.ts +6 -2
  41. package/src/astro/markdown-negotiation.ts +17 -3
  42. package/src/astro/pages.ts +11 -13
  43. package/src/astro/static-assets.ts +117 -0
  44. package/src/astro/templates.ts +120 -50
  45. package/src/blume-modules.d.ts +25 -0
  46. package/src/cli/args.ts +23 -0
  47. package/src/cli/commands/build.ts +209 -1
  48. package/src/cli/commands/check.ts +62 -0
  49. package/src/cli/commands/dev.ts +32 -3
  50. package/src/cli/commands/doctor.ts +32 -6
  51. package/src/cli/commands/eject.ts +3 -1
  52. package/src/cli/commands/init.ts +184 -16
  53. package/src/cli/commands/preview.ts +2 -1
  54. package/src/cli/commands/validate.ts +27 -2
  55. package/src/cli/dev-lock.ts +84 -0
  56. package/src/cli/index.ts +15 -0
  57. package/src/cli/internal-error.ts +63 -0
  58. package/src/cli/log.ts +41 -1
  59. package/src/cli/prepare.ts +17 -3
  60. package/src/cli/required-secrets.ts +44 -0
  61. package/src/components/BlumePage.astro +109 -0
  62. package/src/components/content/YouTube.astro +35 -0
  63. package/src/components/content/youtube.ts +46 -0
  64. package/src/components/index.ts +3 -3
  65. package/src/components/islands/ask-ai.tsx +29 -15
  66. package/src/components/islands/hooks.ts +188 -0
  67. package/src/components/layout/Empty.astro +6 -0
  68. package/src/components/layout/Header.astro +24 -39
  69. package/src/components/layout/Logo.astro +50 -0
  70. package/src/components/layout/NavSelector.astro +75 -0
  71. package/src/components/layout/PageLayout.astro +38 -2
  72. package/src/components/layout/RootLayout.astro +70 -4
  73. package/src/components/layout/hydration-hint.ts +30 -0
  74. package/src/components/layout/overrides.ts +6 -4
  75. package/src/components/props.ts +71 -0
  76. package/src/core/assets.ts +31 -0
  77. package/src/core/bridge.ts +10 -0
  78. package/src/core/builtin-tags.ts +40 -0
  79. package/src/core/component-diagnostics.ts +44 -0
  80. package/src/core/component-overrides.ts +478 -0
  81. package/src/core/config.ts +8 -0
  82. package/src/core/data.ts +14 -0
  83. package/src/core/define-components.ts +9 -2
  84. package/src/core/diagnostics.ts +95 -1
  85. package/src/core/gitignore.ts +30 -0
  86. package/src/core/graph.ts +7 -0
  87. package/src/core/links.ts +60 -19
  88. package/src/core/nav-diagnostics.ts +205 -0
  89. package/src/core/project-graph.ts +40 -1
  90. package/src/core/schema.ts +35 -96
  91. package/src/core/sources/mdx-remote.ts +54 -8
  92. package/src/core/sources/normalize.ts +57 -1
  93. package/src/core/sources/notion.ts +49 -5
  94. package/src/core/sources/sanity.ts +5 -1
  95. package/src/core/types.ts +2 -2
  96. package/src/deploy/redirects.ts +43 -0
  97. package/src/deploy/rss.ts +1 -8
  98. package/src/deploy/sitemap.ts +20 -1
  99. package/src/deploy/xml.ts +8 -0
  100. package/src/markdown/directives.ts +15 -7
  101. package/src/markdown/package-commands.ts +26 -4
  102. package/src/migrate/fumadocs/content.ts +14 -1
  103. package/src/migrate/fumadocs/groups.ts +7 -0
  104. package/src/migrate/fumadocs/index.ts +5 -2
  105. package/src/migrate/mintlify/assets.ts +46 -0
  106. package/src/migrate/mintlify/config.ts +1 -176
  107. package/src/migrate/mintlify/index.ts +53 -45
  108. package/src/migrate/shared.ts +12 -27
  109. package/src/migrate/starlight/config.ts +0 -4
  110. package/src/og/card.ts +175 -38
  111. package/src/registry/eject.ts +52 -12
  112. package/src/registry/registry.ts +172 -0
  113. package/src/registry/rewrite-imports.ts +31 -19
  114. package/src/runtime/index.ts +61 -0
  115. package/src/search/documents.ts +23 -5
  116. package/src/search/sync/algolia.ts +5 -1
  117. package/src/search/sync/typesense.ts +24 -16
  118. package/src/theme/palette.ts +26 -7
  119. package/src/vite-env.d.ts +14 -0
@@ -63,9 +63,9 @@ declare const pageMetaBaseSchema: z.ZodObject<{
63
63
  }, {
64
64
  title?: string | undefined;
65
65
  description?: string | undefined;
66
+ noindex?: boolean | undefined;
66
67
  canonical?: string | undefined;
67
68
  image?: string | undefined;
68
- noindex?: boolean | undefined;
69
69
  }>>;
70
70
  sidebar: z.ZodDefault<z.ZodObject<{
71
71
  badge: z.ZodOptional<z.ZodString>;
@@ -76,14 +76,14 @@ declare const pageMetaBaseSchema: z.ZodObject<{
76
76
  }, "strict", z.ZodTypeAny, {
77
77
  hidden: boolean;
78
78
  label?: string | undefined;
79
- badge?: string | undefined;
80
79
  icon?: string | undefined;
80
+ badge?: string | undefined;
81
81
  order?: number | undefined;
82
82
  }, {
83
83
  label?: string | undefined;
84
- badge?: string | undefined;
85
84
  hidden?: boolean | undefined;
86
85
  icon?: string | undefined;
86
+ badge?: string | undefined;
87
87
  order?: number | undefined;
88
88
  }>>;
89
89
  sidebarTitle: z.ZodOptional<z.ZodString>;
@@ -98,11 +98,11 @@ declare const pageMetaBaseSchema: z.ZodObject<{
98
98
  boost?: number | undefined;
99
99
  tags?: string[] | undefined;
100
100
  };
101
- hidden: boolean;
102
- noindex: boolean;
103
101
  deprecated: boolean;
104
102
  draft: boolean;
103
+ hidden: boolean;
105
104
  hideApiMarker: boolean;
105
+ noindex: boolean;
106
106
  seo: {
107
107
  noindex: boolean;
108
108
  title?: string | undefined;
@@ -113,14 +113,13 @@ declare const pageMetaBaseSchema: z.ZodObject<{
113
113
  sidebar: {
114
114
  hidden: boolean;
115
115
  label?: string | undefined;
116
- badge?: string | undefined;
117
116
  icon?: string | undefined;
117
+ badge?: string | undefined;
118
118
  order?: number | undefined;
119
119
  };
120
120
  date?: string | undefined;
121
121
  title?: string | undefined;
122
122
  description?: string | undefined;
123
- icon?: string | undefined;
124
123
  changelog?: {
125
124
  date?: string | undefined;
126
125
  category?: string | undefined;
@@ -128,6 +127,7 @@ declare const pageMetaBaseSchema: z.ZodObject<{
128
127
  } | undefined;
129
128
  groups?: string | string[] | undefined;
130
129
  hideFooterPagination?: boolean | undefined;
130
+ icon?: string | undefined;
131
131
  iconType?: string | undefined;
132
132
  keywords?: string[] | undefined;
133
133
  lastModified?: string | undefined;
@@ -147,9 +147,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
147
147
  tags?: string[] | undefined;
148
148
  } | undefined;
149
149
  description?: string | undefined;
150
- hidden?: boolean | undefined;
151
- icon?: string | undefined;
152
- noindex?: boolean | undefined;
153
150
  changelog?: {
154
151
  date?: string | Date | undefined;
155
152
  category?: string | undefined;
@@ -158,26 +155,29 @@ declare const pageMetaBaseSchema: z.ZodObject<{
158
155
  deprecated?: boolean | undefined;
159
156
  draft?: boolean | undefined;
160
157
  groups?: string | string[] | undefined;
158
+ hidden?: boolean | undefined;
161
159
  hideApiMarker?: boolean | undefined;
162
160
  hideFooterPagination?: boolean | undefined;
161
+ icon?: string | undefined;
163
162
  iconType?: string | undefined;
164
163
  keywords?: string[] | undefined;
165
164
  lastModified?: string | Date | undefined;
166
165
  mode?: string | undefined;
166
+ noindex?: boolean | undefined;
167
167
  public?: boolean | undefined;
168
168
  rss?: boolean | undefined;
169
169
  seo?: {
170
170
  title?: string | undefined;
171
171
  description?: string | undefined;
172
+ noindex?: boolean | undefined;
172
173
  canonical?: string | undefined;
173
174
  image?: string | undefined;
174
- noindex?: boolean | undefined;
175
175
  } | undefined;
176
176
  sidebar?: {
177
177
  label?: string | undefined;
178
- badge?: string | undefined;
179
178
  hidden?: boolean | undefined;
180
179
  icon?: string | undefined;
180
+ badge?: string | undefined;
181
181
  order?: number | undefined;
182
182
  } | undefined;
183
183
  sidebarTitle?: string | undefined;
@@ -244,9 +244,9 @@ export declare const pageMetaSchema: z.ZodObject<{
244
244
  }, {
245
245
  title?: string | undefined;
246
246
  description?: string | undefined;
247
+ noindex?: boolean | undefined;
247
248
  canonical?: string | undefined;
248
249
  image?: string | undefined;
249
- noindex?: boolean | undefined;
250
250
  }>>;
251
251
  sidebar: z.ZodDefault<z.ZodObject<{
252
252
  badge: z.ZodOptional<z.ZodString>;
@@ -257,14 +257,14 @@ export declare const pageMetaSchema: z.ZodObject<{
257
257
  }, "strict", z.ZodTypeAny, {
258
258
  hidden: boolean;
259
259
  label?: string | undefined;
260
- badge?: string | undefined;
261
260
  icon?: string | undefined;
261
+ badge?: string | undefined;
262
262
  order?: number | undefined;
263
263
  }, {
264
264
  label?: string | undefined;
265
- badge?: string | undefined;
266
265
  hidden?: boolean | undefined;
267
266
  icon?: string | undefined;
267
+ badge?: string | undefined;
268
268
  order?: number | undefined;
269
269
  }>>;
270
270
  sidebarTitle: z.ZodOptional<z.ZodString>;
@@ -279,11 +279,11 @@ export declare const pageMetaSchema: z.ZodObject<{
279
279
  boost?: number | undefined;
280
280
  tags?: string[] | undefined;
281
281
  };
282
- hidden: boolean;
283
- noindex: boolean;
284
282
  deprecated: boolean;
285
283
  draft: boolean;
284
+ hidden: boolean;
286
285
  hideApiMarker: boolean;
286
+ noindex: boolean;
287
287
  seo: {
288
288
  noindex: boolean;
289
289
  title?: string | undefined;
@@ -294,14 +294,13 @@ export declare const pageMetaSchema: z.ZodObject<{
294
294
  sidebar: {
295
295
  hidden: boolean;
296
296
  label?: string | undefined;
297
- badge?: string | undefined;
298
297
  icon?: string | undefined;
298
+ badge?: string | undefined;
299
299
  order?: number | undefined;
300
300
  };
301
301
  date?: string | undefined;
302
302
  title?: string | undefined;
303
303
  description?: string | undefined;
304
- icon?: string | undefined;
305
304
  changelog?: {
306
305
  date?: string | undefined;
307
306
  category?: string | undefined;
@@ -309,6 +308,7 @@ export declare const pageMetaSchema: z.ZodObject<{
309
308
  } | undefined;
310
309
  groups?: string | string[] | undefined;
311
310
  hideFooterPagination?: boolean | undefined;
311
+ icon?: string | undefined;
312
312
  iconType?: string | undefined;
313
313
  keywords?: string[] | undefined;
314
314
  lastModified?: string | undefined;
@@ -328,9 +328,6 @@ export declare const pageMetaSchema: z.ZodObject<{
328
328
  tags?: string[] | undefined;
329
329
  } | undefined;
330
330
  description?: string | undefined;
331
- hidden?: boolean | undefined;
332
- icon?: string | undefined;
333
- noindex?: boolean | undefined;
334
331
  changelog?: {
335
332
  date?: string | Date | undefined;
336
333
  category?: string | undefined;
@@ -339,26 +336,29 @@ export declare const pageMetaSchema: z.ZodObject<{
339
336
  deprecated?: boolean | undefined;
340
337
  draft?: boolean | undefined;
341
338
  groups?: string | string[] | undefined;
339
+ hidden?: boolean | undefined;
342
340
  hideApiMarker?: boolean | undefined;
343
341
  hideFooterPagination?: boolean | undefined;
342
+ icon?: string | undefined;
344
343
  iconType?: string | undefined;
345
344
  keywords?: string[] | undefined;
346
345
  lastModified?: string | Date | undefined;
347
346
  mode?: string | undefined;
347
+ noindex?: boolean | undefined;
348
348
  public?: boolean | undefined;
349
349
  rss?: boolean | undefined;
350
350
  seo?: {
351
351
  title?: string | undefined;
352
352
  description?: string | undefined;
353
+ noindex?: boolean | undefined;
353
354
  canonical?: string | undefined;
354
355
  image?: string | undefined;
355
- noindex?: boolean | undefined;
356
356
  } | undefined;
357
357
  sidebar?: {
358
358
  label?: string | undefined;
359
- badge?: string | undefined;
360
359
  hidden?: boolean | undefined;
361
360
  icon?: string | undefined;
361
+ badge?: string | undefined;
362
362
  order?: number | undefined;
363
363
  } | undefined;
364
364
  sidebarTitle?: string | undefined;
@@ -389,15 +389,15 @@ export declare const folderMetaSchema: z.ZodObject<{
389
389
  title?: string | undefined;
390
390
  icon?: string | undefined;
391
391
  order?: number | undefined;
392
- collapsed?: boolean | undefined;
393
392
  pages?: string[] | undefined;
393
+ collapsed?: boolean | undefined;
394
394
  }, {
395
395
  display?: "flat" | "page" | "group" | undefined;
396
396
  title?: string | undefined;
397
397
  icon?: string | undefined;
398
398
  order?: number | undefined;
399
- collapsed?: boolean | undefined;
400
399
  pages?: string[] | undefined;
400
+ collapsed?: boolean | undefined;
401
401
  }>;
402
402
  export type FolderMeta = z.infer<typeof folderMetaSchema>;
403
403
  /** A single configured content source. */
@@ -418,8 +418,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
418
418
  type: "filesystem";
419
419
  exclude?: string[] | undefined;
420
420
  include?: string[] | undefined;
421
- prefix?: string | undefined;
422
421
  root?: string | undefined;
422
+ prefix?: string | undefined;
423
423
  }>, z.ZodObject<{
424
424
  /** Explicit list of source-relative file paths to fetch from `url`. */
425
425
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -650,8 +650,8 @@ declare const contentSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
650
650
  type: "mintlify";
651
651
  exclude?: string[] | undefined;
652
652
  include?: string[] | undefined;
653
- prefix?: string | undefined;
654
653
  root?: string | undefined;
654
+ prefix?: string | undefined;
655
655
  configFile?: string | undefined;
656
656
  variables?: Record<string, string> | undefined;
657
657
  }>, z.ZodObject<{
@@ -691,47 +691,47 @@ declare const aiConfigSchema: z.ZodObject<{
691
691
  model: z.ZodDefault<z.ZodString>;
692
692
  provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
693
693
  }, "strict", z.ZodTypeAny, {
694
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
695
694
  enabled: boolean;
696
695
  model: string;
696
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
697
697
  apiKeyEnv?: string | undefined;
698
698
  baseUrl?: string | undefined;
699
699
  }, {
700
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
701
700
  apiKeyEnv?: string | undefined;
702
701
  baseUrl?: string | undefined;
703
702
  enabled?: boolean | undefined;
704
703
  model?: string | undefined;
704
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
705
705
  }>, {
706
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
707
706
  enabled: boolean;
708
707
  model: string;
708
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
709
709
  apiKeyEnv?: string | undefined;
710
710
  baseUrl?: string | undefined;
711
711
  }, {
712
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
713
712
  apiKeyEnv?: string | undefined;
714
713
  baseUrl?: string | undefined;
715
714
  enabled?: boolean | undefined;
716
715
  model?: string | undefined;
716
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
717
717
  }>>;
718
718
  llmsTxt: z.ZodDefault<z.ZodBoolean>;
719
719
  }, "strict", z.ZodTypeAny, {
720
720
  llmsTxt: boolean;
721
721
  ask?: {
722
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
723
722
  enabled: boolean;
724
723
  model: string;
724
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
725
725
  apiKeyEnv?: string | undefined;
726
726
  baseUrl?: string | undefined;
727
727
  } | undefined;
728
728
  }, {
729
729
  ask?: {
730
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
731
730
  apiKeyEnv?: string | undefined;
732
731
  baseUrl?: string | undefined;
733
732
  enabled?: boolean | undefined;
734
733
  model?: string | undefined;
734
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
735
735
  } | undefined;
736
736
  llmsTxt?: boolean | undefined;
737
737
  }>;
@@ -847,7 +847,6 @@ declare const openapiSourceSchema: z.ZodObject<{
847
847
  route?: string | undefined;
848
848
  }>;
849
849
  export type OpenApiSource = z.infer<typeof openapiSourceSchema>;
850
- /** Full user-facing config schema. All fields optional with defaults. */
851
850
  export declare const blumeConfigSchema: z.ZodObject<{
852
851
  ai: z.ZodDefault<z.ZodObject<{
853
852
  ask: z.ZodOptional<z.ZodEffects<z.ZodObject<{
@@ -857,47 +856,47 @@ export declare const blumeConfigSchema: z.ZodObject<{
857
856
  model: z.ZodDefault<z.ZodString>;
858
857
  provider: z.ZodDefault<z.ZodEnum<["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"]>>;
859
858
  }, "strict", z.ZodTypeAny, {
860
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
861
859
  enabled: boolean;
862
860
  model: string;
861
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
863
862
  apiKeyEnv?: string | undefined;
864
863
  baseUrl?: string | undefined;
865
864
  }, {
866
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
867
865
  apiKeyEnv?: string | undefined;
868
866
  baseUrl?: string | undefined;
869
867
  enabled?: boolean | undefined;
870
868
  model?: string | undefined;
869
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
871
870
  }>, {
872
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
873
871
  enabled: boolean;
874
872
  model: string;
873
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
875
874
  apiKeyEnv?: string | undefined;
876
875
  baseUrl?: string | undefined;
877
876
  }, {
878
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
879
877
  apiKeyEnv?: string | undefined;
880
878
  baseUrl?: string | undefined;
881
879
  enabled?: boolean | undefined;
882
880
  model?: string | undefined;
881
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
883
882
  }>>;
884
883
  llmsTxt: z.ZodDefault<z.ZodBoolean>;
885
884
  }, "strict", z.ZodTypeAny, {
886
885
  llmsTxt: boolean;
887
886
  ask?: {
888
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
889
887
  enabled: boolean;
890
888
  model: string;
889
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
891
890
  apiKeyEnv?: string | undefined;
892
891
  baseUrl?: string | undefined;
893
892
  } | undefined;
894
893
  }, {
895
894
  ask?: {
896
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
897
895
  apiKeyEnv?: string | undefined;
898
896
  baseUrl?: string | undefined;
899
897
  enabled?: boolean | undefined;
900
898
  model?: string | undefined;
899
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
901
900
  } | undefined;
902
901
  llmsTxt?: boolean | undefined;
903
902
  }>>;
@@ -918,23 +917,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
918
917
  src: z.ZodOptional<z.ZodString>;
919
918
  strategy: z.ZodOptional<z.ZodEnum<["async", "defer"]>>;
920
919
  }, "strict", z.ZodTypeAny, {
921
- content?: string | undefined;
922
920
  attributes?: Record<string, string> | undefined;
921
+ content?: string | undefined;
923
922
  src?: string | undefined;
924
923
  strategy?: "async" | "defer" | undefined;
925
924
  }, {
926
- content?: string | undefined;
927
925
  attributes?: Record<string, string> | undefined;
926
+ content?: string | undefined;
928
927
  src?: string | undefined;
929
928
  strategy?: "async" | "defer" | undefined;
930
929
  }>, {
931
- content?: string | undefined;
932
930
  attributes?: Record<string, string> | undefined;
931
+ content?: string | undefined;
933
932
  src?: string | undefined;
934
933
  strategy?: "async" | "defer" | undefined;
935
934
  }, {
936
- content?: string | undefined;
937
935
  attributes?: Record<string, string> | undefined;
936
+ content?: string | undefined;
938
937
  src?: string | undefined;
939
938
  strategy?: "async" | "defer" | undefined;
940
939
  }>, "many">>;
@@ -945,8 +944,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
945
944
  host?: string | undefined;
946
945
  } | undefined;
947
946
  scripts?: {
948
- content?: string | undefined;
949
947
  attributes?: Record<string, string> | undefined;
948
+ content?: string | undefined;
950
949
  src?: string | undefined;
951
950
  strategy?: "async" | "defer" | undefined;
952
951
  }[] | undefined;
@@ -957,8 +956,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
957
956
  host?: string | undefined;
958
957
  } | undefined;
959
958
  scripts?: {
960
- content?: string | undefined;
961
959
  attributes?: Record<string, string> | undefined;
960
+ content?: string | undefined;
962
961
  src?: string | undefined;
963
962
  strategy?: "async" | "defer" | undefined;
964
963
  }[] | undefined;
@@ -986,25 +985,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
986
985
  spec: z.ZodOptional<z.ZodString>;
987
986
  theme: z.ZodOptional<z.ZodString>;
988
987
  }, "strict", z.ZodTypeAny, {
988
+ enabled: boolean;
989
+ route: string;
989
990
  sources: {
990
991
  spec: string;
991
992
  label?: string | undefined;
992
993
  route?: string | undefined;
993
994
  }[];
994
- enabled: boolean;
995
- route: string;
996
- theme?: string | undefined;
997
995
  spec?: string | undefined;
996
+ theme?: string | undefined;
998
997
  }, {
998
+ enabled?: boolean | undefined;
999
+ route?: string | undefined;
1000
+ spec?: string | undefined;
999
1001
  sources?: {
1000
1002
  spec: string;
1001
1003
  label?: string | undefined;
1002
1004
  route?: string | undefined;
1003
1005
  }[] | undefined;
1004
- enabled?: boolean | undefined;
1005
- route?: string | undefined;
1006
1006
  theme?: string | undefined;
1007
- spec?: string | undefined;
1008
1007
  }>>;
1009
1008
  banner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1010
1009
  /** Background color override (Mintlify compatibility). */
@@ -1044,7 +1043,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1044
1043
  }, "strict", z.ZodTypeAny, {
1045
1044
  content: string;
1046
1045
  dismissible: boolean;
1047
- type?: "info" | "warning" | "critical" | undefined;
1046
+ type?: "warning" | "info" | "critical" | undefined;
1048
1047
  id?: string | undefined;
1049
1048
  color?: {
1050
1049
  dark?: string | undefined;
@@ -1056,7 +1055,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1056
1055
  } | undefined;
1057
1056
  }, {
1058
1057
  content: string;
1059
- type?: "info" | "warning" | "critical" | undefined;
1058
+ type?: "warning" | "info" | "critical" | undefined;
1060
1059
  id?: string | undefined;
1061
1060
  color?: {
1062
1061
  dark?: string | undefined;
@@ -1069,6 +1068,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
1069
1068
  } | undefined;
1070
1069
  }>]>>;
1071
1070
  content: z.ZodDefault<z.ZodObject<{
1071
+ /**
1072
+ * Extra top-level directories (relative to the project root) served as
1073
+ * static assets at the site root, alongside `public/`. Lets projects keep
1074
+ * root-served asset folders in place — e.g. a Mintlify migration keeps
1075
+ * `images/` where it is instead of relocating it under `public/`.
1076
+ */
1077
+ assets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1072
1078
  defaultType: z.ZodDefault<z.ZodString>;
1073
1079
  exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1074
1080
  include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1096,8 +1102,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
1096
1102
  type: "filesystem";
1097
1103
  exclude?: string[] | undefined;
1098
1104
  include?: string[] | undefined;
1099
- prefix?: string | undefined;
1100
1105
  root?: string | undefined;
1106
+ prefix?: string | undefined;
1101
1107
  }>, z.ZodObject<{
1102
1108
  /** Explicit list of source-relative file paths to fetch from `url`. */
1103
1109
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1328,8 +1334,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
1328
1334
  type: "mintlify";
1329
1335
  exclude?: string[] | undefined;
1330
1336
  include?: string[] | undefined;
1331
- prefix?: string | undefined;
1332
1337
  root?: string | undefined;
1338
+ prefix?: string | undefined;
1333
1339
  configFile?: string | undefined;
1334
1340
  variables?: Record<string, string> | undefined;
1335
1341
  }>, z.ZodObject<{
@@ -1344,10 +1350,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
1344
1350
  }>]>, "many">>;
1345
1351
  }, "strict", z.ZodTypeAny, {
1346
1352
  exclude: string[];
1347
- pages: string;
1353
+ assets: string[];
1354
+ defaultType: string;
1348
1355
  include: string[];
1356
+ pages: string;
1349
1357
  root: string;
1350
- defaultType: string;
1351
1358
  sources?: ({
1352
1359
  type: "filesystem";
1353
1360
  exclude: string[];
@@ -1367,6 +1374,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
1367
1374
  repo: string;
1368
1375
  } | undefined;
1369
1376
  pollInterval?: number | undefined;
1377
+ } | {
1378
+ type: "github-releases";
1379
+ owner: string;
1380
+ repo: string;
1381
+ prefix?: string | undefined;
1382
+ pollInterval?: number | undefined;
1383
+ drafts?: boolean | undefined;
1384
+ limit?: number | undefined;
1385
+ prereleases?: boolean | undefined;
1370
1386
  } | {
1371
1387
  type: "sanity";
1372
1388
  dataset: string;
@@ -1395,15 +1411,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
1395
1411
  slug?: string | undefined;
1396
1412
  } | undefined;
1397
1413
  publishedValue?: string | undefined;
1398
- } | {
1399
- type: "github-releases";
1400
- owner: string;
1401
- repo: string;
1402
- prefix?: string | undefined;
1403
- pollInterval?: number | undefined;
1404
- drafts?: boolean | undefined;
1405
- limit?: number | undefined;
1406
- prereleases?: boolean | undefined;
1407
1414
  } | {
1408
1415
  type: "mintlify";
1409
1416
  exclude: string[];
@@ -1418,16 +1425,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
1418
1425
  })[] | undefined;
1419
1426
  }, {
1420
1427
  exclude?: string[] | undefined;
1421
- pages?: string | undefined;
1422
- include?: string[] | undefined;
1423
- root?: string | undefined;
1424
- defaultType?: string | undefined;
1425
1428
  sources?: ({
1426
1429
  type: "filesystem";
1427
1430
  exclude?: string[] | undefined;
1428
1431
  include?: string[] | undefined;
1429
- prefix?: string | undefined;
1430
1432
  root?: string | undefined;
1433
+ prefix?: string | undefined;
1431
1434
  } | {
1432
1435
  type: "mdx-remote";
1433
1436
  url?: string | undefined;
@@ -1441,6 +1444,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
1441
1444
  ref?: string | undefined;
1442
1445
  } | undefined;
1443
1446
  pollInterval?: number | undefined;
1447
+ } | {
1448
+ type: "github-releases";
1449
+ owner: string;
1450
+ repo: string;
1451
+ prefix?: string | undefined;
1452
+ pollInterval?: number | undefined;
1453
+ drafts?: boolean | undefined;
1454
+ limit?: number | undefined;
1455
+ prereleases?: boolean | undefined;
1444
1456
  } | {
1445
1457
  type: "sanity";
1446
1458
  dataset: string;
@@ -1469,62 +1481,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
1469
1481
  slug?: string | undefined;
1470
1482
  } | undefined;
1471
1483
  publishedValue?: string | undefined;
1472
- } | {
1473
- type: "github-releases";
1474
- owner: string;
1475
- repo: string;
1476
- prefix?: string | undefined;
1477
- pollInterval?: number | undefined;
1478
- drafts?: boolean | undefined;
1479
- limit?: number | undefined;
1480
- prereleases?: boolean | undefined;
1481
1484
  } | {
1482
1485
  type: "mintlify";
1483
1486
  exclude?: string[] | undefined;
1484
1487
  include?: string[] | undefined;
1485
- prefix?: string | undefined;
1486
1488
  root?: string | undefined;
1489
+ prefix?: string | undefined;
1487
1490
  configFile?: string | undefined;
1488
1491
  variables?: Record<string, string> | undefined;
1489
1492
  } | {
1490
1493
  type: "custom";
1491
1494
  source: ContentSource;
1492
1495
  })[] | undefined;
1493
- }>>;
1494
- contextual: z.ZodDefault<z.ZodObject<{
1495
- display: z.ZodDefault<z.ZodEnum<["header", "toc"]>>;
1496
- options: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1497
- description: z.ZodOptional<z.ZodString>;
1498
- href: z.ZodOptional<z.ZodString>;
1499
- icon: z.ZodOptional<z.ZodString>;
1500
- title: z.ZodString;
1501
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1502
- description: z.ZodOptional<z.ZodString>;
1503
- href: z.ZodOptional<z.ZodString>;
1504
- icon: z.ZodOptional<z.ZodString>;
1505
- title: z.ZodString;
1506
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1507
- description: z.ZodOptional<z.ZodString>;
1508
- href: z.ZodOptional<z.ZodString>;
1509
- icon: z.ZodOptional<z.ZodString>;
1510
- title: z.ZodString;
1511
- }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1512
- }, "strict", z.ZodTypeAny, {
1513
- display: "toc" | "header";
1514
- options: (string | z.objectOutputType<{
1515
- description: z.ZodOptional<z.ZodString>;
1516
- href: z.ZodOptional<z.ZodString>;
1517
- icon: z.ZodOptional<z.ZodString>;
1518
- title: z.ZodString;
1519
- }, z.ZodTypeAny, "passthrough">)[];
1520
- }, {
1521
- display?: "toc" | "header" | undefined;
1522
- options?: (string | z.objectInputType<{
1523
- description: z.ZodOptional<z.ZodString>;
1524
- href: z.ZodOptional<z.ZodString>;
1525
- icon: z.ZodOptional<z.ZodString>;
1526
- title: z.ZodString;
1527
- }, z.ZodTypeAny, "passthrough">)[] | undefined;
1496
+ assets?: string[] | undefined;
1497
+ defaultType?: string | undefined;
1498
+ include?: string[] | undefined;
1499
+ pages?: string | undefined;
1500
+ root?: string | undefined;
1528
1501
  }>>;
1529
1502
  deployment: z.ZodDefault<z.ZodObject<{
1530
1503
  adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<["vercel", "node", "netlify", "cloudflare"]>>>;
@@ -1584,52 +1557,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
1584
1557
  light?: string | undefined;
1585
1558
  }>]>>;
1586
1559
  feedback: z.ZodDefault<z.ZodBoolean>;
1587
- footer: z.ZodDefault<z.ZodObject<{
1588
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
1589
- header: z.ZodOptional<z.ZodString>;
1590
- items: z.ZodDefault<z.ZodArray<z.ZodObject<{
1591
- href: z.ZodString;
1592
- label: z.ZodString;
1593
- }, "strict", z.ZodTypeAny, {
1594
- label: string;
1595
- href: string;
1596
- }, {
1597
- label: string;
1598
- href: string;
1599
- }>, "many">>;
1600
- }, "strict", z.ZodTypeAny, {
1601
- items: {
1602
- label: string;
1603
- href: string;
1604
- }[];
1605
- header?: string | undefined;
1606
- }, {
1607
- items?: {
1608
- label: string;
1609
- href: string;
1610
- }[] | undefined;
1611
- header?: string | undefined;
1612
- }>, "many">>;
1613
- socials: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1614
- }, "strict", z.ZodTypeAny, {
1615
- links: {
1616
- items: {
1617
- label: string;
1618
- href: string;
1619
- }[];
1620
- header?: string | undefined;
1621
- }[];
1622
- socials: Record<string, string>;
1623
- }, {
1624
- links?: {
1625
- items?: {
1626
- label: string;
1627
- href: string;
1628
- }[] | undefined;
1629
- header?: string | undefined;
1630
- }[] | undefined;
1631
- socials?: Record<string, string> | undefined;
1632
- }>>;
1633
1560
  github: z.ZodOptional<z.ZodObject<{
1634
1561
  branch: z.ZodDefault<z.ZodString>;
1635
1562
  /** Path from the repo root to the project root (for monorepos). */
@@ -1644,8 +1571,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
1644
1571
  }, {
1645
1572
  owner: string;
1646
1573
  repo: string;
1647
- dir?: string | undefined;
1648
1574
  branch?: string | undefined;
1575
+ dir?: string | undefined;
1649
1576
  }>>;
1650
1577
  i18n: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1651
1578
  defaultLocale: z.ZodDefault<z.ZodString>;
@@ -1716,13 +1643,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
1716
1643
  parser?: "dir" | "dot" | undefined;
1717
1644
  ui?: Record<string, Record<string, Record<string, string>>> | undefined;
1718
1645
  }>>;
1719
- icons: z.ZodDefault<z.ZodObject<{
1720
- library: z.ZodDefault<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
1721
- }, "strict", z.ZodTypeAny, {
1722
- library: "fontawesome" | "lucide" | "tabler";
1723
- }, {
1724
- library?: "fontawesome" | "lucide" | "tabler" | undefined;
1725
- }>>;
1726
1646
  lastModified: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1727
1647
  type: z.ZodDefault<z.ZodEnum<["git", "frontmatter"]>>;
1728
1648
  }, "strict", z.ZodTypeAny, {
@@ -1736,15 +1656,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
1736
1656
  href: z.ZodOptional<z.ZodString>;
1737
1657
  light: z.ZodOptional<z.ZodString>;
1738
1658
  }, "strict", z.ZodTypeAny, {
1739
- alt?: string | undefined;
1740
1659
  dark?: string | undefined;
1741
- href?: string | undefined;
1742
1660
  light?: string | undefined;
1743
- }, {
1661
+ href?: string | undefined;
1744
1662
  alt?: string | undefined;
1663
+ }, {
1745
1664
  dark?: string | undefined;
1746
- href?: string | undefined;
1747
1665
  light?: string | undefined;
1666
+ href?: string | undefined;
1667
+ alt?: string | undefined;
1748
1668
  }>]>>;
1749
1669
  markdown: z.ZodDefault<z.ZodObject<{
1750
1670
  /** Code-block rendering: language icons and line wrapping. */
@@ -1857,82 +1777,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
1857
1777
  name?: string | undefined;
1858
1778
  }, {
1859
1779
  enabled?: boolean | undefined;
1780
+ route?: string | undefined;
1860
1781
  instructions?: string | undefined;
1861
1782
  name?: string | undefined;
1862
- route?: string | undefined;
1863
- }>>;
1864
- navbar: z.ZodDefault<z.ZodObject<{
1865
- links: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
1866
- href: z.ZodString;
1867
- icon: z.ZodOptional<z.ZodString>;
1868
- label: z.ZodOptional<z.ZodString>;
1869
- type: z.ZodOptional<z.ZodEnum<["github", "discord"]>>;
1870
- }, "strict", z.ZodTypeAny, {
1871
- href: string;
1872
- type?: "github" | "discord" | undefined;
1873
- label?: string | undefined;
1874
- icon?: string | undefined;
1875
- }, {
1876
- href: string;
1877
- type?: "github" | "discord" | undefined;
1878
- label?: string | undefined;
1879
- icon?: string | undefined;
1880
- }>, {
1881
- href: string;
1882
- type?: "github" | "discord" | undefined;
1883
- label?: string | undefined;
1884
- icon?: string | undefined;
1885
- }, {
1886
- href: string;
1887
- type?: "github" | "discord" | undefined;
1888
- label?: string | undefined;
1889
- icon?: string | undefined;
1890
- }>, "many">>;
1891
- primary: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1892
- href: z.ZodString;
1893
- label: z.ZodOptional<z.ZodString>;
1894
- type: z.ZodDefault<z.ZodEnum<["button", "github", "discord"]>>;
1895
- }, "strict", z.ZodTypeAny, {
1896
- type: "button" | "github" | "discord";
1897
- href: string;
1898
- label?: string | undefined;
1899
- }, {
1900
- href: string;
1901
- type?: "button" | "github" | "discord" | undefined;
1902
- label?: string | undefined;
1903
- }>, {
1904
- type: "button" | "github" | "discord";
1905
- href: string;
1906
- label?: string | undefined;
1907
- }, {
1908
- href: string;
1909
- type?: "button" | "github" | "discord" | undefined;
1910
- label?: string | undefined;
1911
- }>>;
1912
- }, "strict", z.ZodTypeAny, {
1913
- links: {
1914
- href: string;
1915
- type?: "github" | "discord" | undefined;
1916
- label?: string | undefined;
1917
- icon?: string | undefined;
1918
- }[];
1919
- primary?: {
1920
- type: "button" | "github" | "discord";
1921
- href: string;
1922
- label?: string | undefined;
1923
- } | undefined;
1924
- }, {
1925
- links?: {
1926
- href: string;
1927
- type?: "github" | "discord" | undefined;
1928
- label?: string | undefined;
1929
- icon?: string | undefined;
1930
- }[] | undefined;
1931
- primary?: {
1932
- href: string;
1933
- type?: "button" | "github" | "discord" | undefined;
1934
- label?: string | undefined;
1935
- } | undefined;
1936
1783
  }>>;
1937
1784
  navigation: z.ZodDefault<z.ZodObject<{
1938
1785
  chromeVariants: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1974,7 +1821,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1974
1821
  }, "strict", z.ZodTypeAny, {
1975
1822
  content: string;
1976
1823
  dismissible: boolean;
1977
- type?: "info" | "warning" | "critical" | undefined;
1824
+ type?: "warning" | "info" | "critical" | undefined;
1978
1825
  id?: string | undefined;
1979
1826
  color?: {
1980
1827
  dark?: string | undefined;
@@ -1986,7 +1833,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1986
1833
  } | undefined;
1987
1834
  }, {
1988
1835
  content: string;
1989
- type?: "info" | "warning" | "critical" | undefined;
1836
+ type?: "warning" | "info" | "critical" | undefined;
1990
1837
  id?: string | undefined;
1991
1838
  color?: {
1992
1839
  dark?: string | undefined;
@@ -1998,132 +1845,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
1998
1845
  text: string;
1999
1846
  } | undefined;
2000
1847
  }>]>>;
2001
- footer: z.ZodOptional<z.ZodObject<{
2002
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2003
- header: z.ZodOptional<z.ZodString>;
2004
- items: z.ZodDefault<z.ZodArray<z.ZodObject<{
2005
- href: z.ZodString;
2006
- label: z.ZodString;
2007
- }, "strict", z.ZodTypeAny, {
2008
- label: string;
2009
- href: string;
2010
- }, {
2011
- label: string;
2012
- href: string;
2013
- }>, "many">>;
2014
- }, "strict", z.ZodTypeAny, {
2015
- items: {
2016
- label: string;
2017
- href: string;
2018
- }[];
2019
- header?: string | undefined;
2020
- }, {
2021
- items?: {
2022
- label: string;
2023
- href: string;
2024
- }[] | undefined;
2025
- header?: string | undefined;
2026
- }>, "many">>;
2027
- socials: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2028
- }, "strict", z.ZodTypeAny, {
2029
- links: {
2030
- items: {
2031
- label: string;
2032
- href: string;
2033
- }[];
2034
- header?: string | undefined;
2035
- }[];
2036
- socials: Record<string, string>;
2037
- }, {
2038
- links?: {
2039
- items?: {
2040
- label: string;
2041
- href: string;
2042
- }[] | undefined;
2043
- header?: string | undefined;
2044
- }[] | undefined;
2045
- socials?: Record<string, string> | undefined;
2046
- }>>;
2047
- navbar: z.ZodOptional<z.ZodObject<{
2048
- links: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
2049
- href: z.ZodString;
2050
- icon: z.ZodOptional<z.ZodString>;
2051
- label: z.ZodOptional<z.ZodString>;
2052
- type: z.ZodOptional<z.ZodEnum<["github", "discord"]>>;
2053
- }, "strict", z.ZodTypeAny, {
2054
- href: string;
2055
- type?: "github" | "discord" | undefined;
2056
- label?: string | undefined;
2057
- icon?: string | undefined;
2058
- }, {
2059
- href: string;
2060
- type?: "github" | "discord" | undefined;
2061
- label?: string | undefined;
2062
- icon?: string | undefined;
2063
- }>, {
2064
- href: string;
2065
- type?: "github" | "discord" | undefined;
2066
- label?: string | undefined;
2067
- icon?: string | undefined;
2068
- }, {
2069
- href: string;
2070
- type?: "github" | "discord" | undefined;
2071
- label?: string | undefined;
2072
- icon?: string | undefined;
2073
- }>, "many">>;
2074
- primary: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2075
- href: z.ZodString;
2076
- label: z.ZodOptional<z.ZodString>;
2077
- type: z.ZodDefault<z.ZodEnum<["button", "github", "discord"]>>;
2078
- }, "strict", z.ZodTypeAny, {
2079
- type: "button" | "github" | "discord";
2080
- href: string;
2081
- label?: string | undefined;
2082
- }, {
2083
- href: string;
2084
- type?: "button" | "github" | "discord" | undefined;
2085
- label?: string | undefined;
2086
- }>, {
2087
- type: "button" | "github" | "discord";
2088
- href: string;
2089
- label?: string | undefined;
2090
- }, {
2091
- href: string;
2092
- type?: "button" | "github" | "discord" | undefined;
2093
- label?: string | undefined;
2094
- }>>;
2095
- }, "strict", z.ZodTypeAny, {
2096
- links: {
2097
- href: string;
2098
- type?: "github" | "discord" | undefined;
2099
- label?: string | undefined;
2100
- icon?: string | undefined;
2101
- }[];
2102
- primary?: {
2103
- type: "button" | "github" | "discord";
2104
- href: string;
2105
- label?: string | undefined;
2106
- } | undefined;
2107
- }, {
2108
- links?: {
2109
- href: string;
2110
- type?: "github" | "discord" | undefined;
2111
- label?: string | undefined;
2112
- icon?: string | undefined;
2113
- }[] | undefined;
2114
- primary?: {
2115
- href: string;
2116
- type?: "button" | "github" | "discord" | undefined;
2117
- label?: string | undefined;
2118
- } | undefined;
2119
- }>>;
2120
1848
  path: z.ZodString;
2121
1849
  }, "strict", z.ZodTypeAny, {
2122
1850
  path: string;
2123
1851
  banner?: string | {
2124
1852
  content: string;
2125
1853
  dismissible: boolean;
2126
- type?: "info" | "warning" | "critical" | undefined;
1854
+ type?: "warning" | "info" | "critical" | undefined;
2127
1855
  id?: string | undefined;
2128
1856
  color?: {
2129
1857
  dark?: string | undefined;
@@ -2134,34 +1862,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2134
1862
  text: string;
2135
1863
  } | undefined;
2136
1864
  } | undefined;
2137
- footer?: {
2138
- links: {
2139
- items: {
2140
- label: string;
2141
- href: string;
2142
- }[];
2143
- header?: string | undefined;
2144
- }[];
2145
- socials: Record<string, string>;
2146
- } | undefined;
2147
- navbar?: {
2148
- links: {
2149
- href: string;
2150
- type?: "github" | "discord" | undefined;
2151
- label?: string | undefined;
2152
- icon?: string | undefined;
2153
- }[];
2154
- primary?: {
2155
- type: "button" | "github" | "discord";
2156
- href: string;
2157
- label?: string | undefined;
2158
- } | undefined;
2159
- } | undefined;
2160
1865
  }, {
2161
1866
  path: string;
2162
1867
  banner?: string | {
2163
1868
  content: string;
2164
- type?: "info" | "warning" | "critical" | undefined;
1869
+ type?: "warning" | "info" | "critical" | undefined;
2165
1870
  id?: string | undefined;
2166
1871
  color?: {
2167
1872
  dark?: string | undefined;
@@ -2173,29 +1878,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2173
1878
  text: string;
2174
1879
  } | undefined;
2175
1880
  } | undefined;
2176
- footer?: {
2177
- links?: {
2178
- items?: {
2179
- label: string;
2180
- href: string;
2181
- }[] | undefined;
2182
- header?: string | undefined;
2183
- }[] | undefined;
2184
- socials?: Record<string, string> | undefined;
2185
- } | undefined;
2186
- navbar?: {
2187
- links?: {
2188
- href: string;
2189
- type?: "github" | "discord" | undefined;
2190
- label?: string | undefined;
2191
- icon?: string | undefined;
2192
- }[] | undefined;
2193
- primary?: {
2194
- href: string;
2195
- type?: "button" | "github" | "discord" | undefined;
2196
- label?: string | undefined;
2197
- } | undefined;
2198
- } | undefined;
2199
1881
  }>, "many">>;
2200
1882
  /** Show a GitHub repo link in the header (requires `github` configured). */
2201
1883
  repo: z.ZodDefault<z.ZodBoolean>;
@@ -2307,7 +1989,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2307
1989
  banner?: string | {
2308
1990
  content: string;
2309
1991
  dismissible: boolean;
2310
- type?: "info" | "warning" | "critical" | undefined;
1992
+ type?: "warning" | "info" | "critical" | undefined;
2311
1993
  id?: string | undefined;
2312
1994
  color?: {
2313
1995
  dark?: string | undefined;
@@ -2318,29 +2000,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2318
2000
  text: string;
2319
2001
  } | undefined;
2320
2002
  } | undefined;
2321
- footer?: {
2322
- links: {
2323
- items: {
2324
- label: string;
2325
- href: string;
2326
- }[];
2327
- header?: string | undefined;
2328
- }[];
2329
- socials: Record<string, string>;
2330
- } | undefined;
2331
- navbar?: {
2332
- links: {
2333
- href: string;
2334
- type?: "github" | "discord" | undefined;
2335
- label?: string | undefined;
2336
- icon?: string | undefined;
2337
- }[];
2338
- primary?: {
2339
- type: "button" | "github" | "discord";
2340
- href: string;
2341
- label?: string | undefined;
2342
- } | undefined;
2343
- } | undefined;
2344
2003
  }[];
2345
2004
  selectors: {
2346
2005
  label: string;
@@ -2377,7 +2036,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2377
2036
  path: string;
2378
2037
  banner?: string | {
2379
2038
  content: string;
2380
- type?: "info" | "warning" | "critical" | undefined;
2039
+ type?: "warning" | "info" | "critical" | undefined;
2381
2040
  id?: string | undefined;
2382
2041
  color?: {
2383
2042
  dark?: string | undefined;
@@ -2389,29 +2048,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2389
2048
  text: string;
2390
2049
  } | undefined;
2391
2050
  } | undefined;
2392
- footer?: {
2393
- links?: {
2394
- items?: {
2395
- label: string;
2396
- href: string;
2397
- }[] | undefined;
2398
- header?: string | undefined;
2399
- }[] | undefined;
2400
- socials?: Record<string, string> | undefined;
2401
- } | undefined;
2402
- navbar?: {
2403
- links?: {
2404
- href: string;
2405
- type?: "github" | "discord" | undefined;
2406
- label?: string | undefined;
2407
- icon?: string | undefined;
2408
- }[] | undefined;
2409
- primary?: {
2410
- href: string;
2411
- type?: "button" | "github" | "discord" | undefined;
2412
- label?: string | undefined;
2413
- } | undefined;
2414
- } | undefined;
2415
2051
  }[] | undefined;
2416
2052
  selectors?: {
2417
2053
  label: string;
@@ -2467,25 +2103,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
2467
2103
  /** Scalar theme name; defaults to a Blume-derived accent override. */
2468
2104
  theme: z.ZodOptional<z.ZodString>;
2469
2105
  }, "strict", z.ZodTypeAny, {
2106
+ enabled: boolean;
2107
+ route: string;
2470
2108
  sources: {
2471
2109
  spec: string;
2472
2110
  label?: string | undefined;
2473
2111
  route?: string | undefined;
2474
2112
  }[];
2475
- enabled: boolean;
2476
- route: string;
2477
- theme?: string | undefined;
2478
2113
  spec?: string | undefined;
2114
+ theme?: string | undefined;
2479
2115
  }, {
2116
+ enabled?: boolean | undefined;
2117
+ route?: string | undefined;
2118
+ spec?: string | undefined;
2480
2119
  sources?: {
2481
2120
  spec: string;
2482
2121
  label?: string | undefined;
2483
2122
  route?: string | undefined;
2484
2123
  }[] | undefined;
2485
- enabled?: boolean | undefined;
2486
- route?: string | undefined;
2487
2124
  theme?: string | undefined;
2488
- spec?: string | undefined;
2489
2125
  }>>;
2490
2126
  redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
2491
2127
  from: z.ZodString;
@@ -2551,35 +2187,28 @@ export declare const blumeConfigSchema: z.ZodObject<{
2551
2187
  protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
2552
2188
  searchApiKey: z.ZodString;
2553
2189
  }, "strict", z.ZodTypeAny, {
2190
+ host: string;
2554
2191
  searchApiKey: string;
2555
2192
  collection: string;
2556
- host: string;
2557
2193
  port?: number | undefined;
2558
2194
  protocol?: "http" | "https" | undefined;
2559
2195
  }, {
2196
+ host: string;
2560
2197
  searchApiKey: string;
2561
2198
  collection: string;
2562
- host: string;
2563
2199
  port?: number | undefined;
2564
2200
  protocol?: "http" | "https" | undefined;
2565
2201
  }>>;
2566
2202
  }, "strict", z.ZodTypeAny, {
2203
+ provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
2567
2204
  indexing: {
2568
2205
  includeHiddenPages: boolean;
2569
2206
  };
2570
- provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
2571
2207
  algolia?: {
2572
2208
  appId: string;
2573
2209
  indexName: string;
2574
2210
  searchApiKey: string;
2575
2211
  } | undefined;
2576
- typesense?: {
2577
- searchApiKey: string;
2578
- collection: string;
2579
- host: string;
2580
- port?: number | undefined;
2581
- protocol?: "http" | "https" | undefined;
2582
- } | undefined;
2583
2212
  mixedbread?: {
2584
2213
  storeId: string;
2585
2214
  } | undefined;
@@ -2589,18 +2218,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
2589
2218
  indexId?: string | undefined;
2590
2219
  } | undefined;
2591
2220
  prompt?: string | undefined;
2221
+ typesense?: {
2222
+ host: string;
2223
+ searchApiKey: string;
2224
+ collection: string;
2225
+ port?: number | undefined;
2226
+ protocol?: "http" | "https" | undefined;
2227
+ } | undefined;
2592
2228
  }, {
2229
+ provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
2593
2230
  algolia?: {
2594
2231
  appId: string;
2595
2232
  indexName: string;
2596
2233
  searchApiKey: string;
2597
2234
  } | undefined;
2598
- typesense?: {
2599
- searchApiKey: string;
2600
- collection: string;
2601
- host: string;
2602
- port?: number | undefined;
2603
- protocol?: "http" | "https" | undefined;
2235
+ indexing?: {
2236
+ includeHiddenPages?: boolean | undefined;
2604
2237
  } | undefined;
2605
2238
  mixedbread?: {
2606
2239
  storeId: string;
@@ -2610,28 +2243,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
2610
2243
  endpoint: string;
2611
2244
  indexId?: string | undefined;
2612
2245
  } | undefined;
2613
- indexing?: {
2614
- includeHiddenPages?: boolean | undefined;
2615
- } | undefined;
2616
2246
  prompt?: string | undefined;
2617
- provider?: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread" | undefined;
2247
+ typesense?: {
2248
+ host: string;
2249
+ searchApiKey: string;
2250
+ collection: string;
2251
+ port?: number | undefined;
2252
+ protocol?: "http" | "https" | undefined;
2253
+ } | undefined;
2618
2254
  }>, {
2255
+ provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
2619
2256
  indexing: {
2620
2257
  includeHiddenPages: boolean;
2621
2258
  };
2622
- provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
2623
2259
  algolia?: {
2624
2260
  appId: string;
2625
2261
  indexName: string;
2626
2262
  searchApiKey: string;
2627
2263
  } | undefined;
2628
- typesense?: {
2629
- searchApiKey: string;
2630
- collection: string;
2631
- host: string;
2632
- port?: number | undefined;
2633
- protocol?: "http" | "https" | undefined;
2634
- } | undefined;
2635
2264
  mixedbread?: {
2636
2265
  storeId: string;
2637
2266
  } | undefined;
@@ -2641,18 +2270,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
2641
2270
  indexId?: string | undefined;
2642
2271
  } | undefined;
2643
2272
  prompt?: string | undefined;
2273
+ typesense?: {
2274
+ host: string;
2275
+ searchApiKey: string;
2276
+ collection: string;
2277
+ port?: number | undefined;
2278
+ protocol?: "http" | "https" | undefined;
2279
+ } | undefined;
2644
2280
  }, {
2281
+ provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
2645
2282
  algolia?: {
2646
2283
  appId: string;
2647
2284
  indexName: string;
2648
2285
  searchApiKey: string;
2649
2286
  } | undefined;
2650
- typesense?: {
2651
- searchApiKey: string;
2652
- collection: string;
2653
- host: string;
2654
- port?: number | undefined;
2655
- protocol?: "http" | "https" | undefined;
2287
+ indexing?: {
2288
+ includeHiddenPages?: boolean | undefined;
2656
2289
  } | undefined;
2657
2290
  mixedbread?: {
2658
2291
  storeId: string;
@@ -2662,11 +2295,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2662
2295
  endpoint: string;
2663
2296
  indexId?: string | undefined;
2664
2297
  } | undefined;
2665
- indexing?: {
2666
- includeHiddenPages?: boolean | undefined;
2667
- } | undefined;
2668
2298
  prompt?: string | undefined;
2669
- provider?: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread" | undefined;
2299
+ typesense?: {
2300
+ host: string;
2301
+ searchApiKey: string;
2302
+ collection: string;
2303
+ port?: number | undefined;
2304
+ protocol?: "http" | "https" | undefined;
2305
+ } | undefined;
2670
2306
  }>>;
2671
2307
  seo: z.ZodDefault<z.ZodObject<{
2672
2308
  metatags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2692,12 +2328,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
2692
2328
  /** Content types that each get a feed at `/<type>/rss.xml`. */
2693
2329
  types: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2694
2330
  }, "strict", z.ZodTypeAny, {
2695
- limit: number;
2696
2331
  enabled: boolean;
2332
+ limit: number;
2697
2333
  types: string[];
2698
2334
  }, {
2699
- limit?: number | undefined;
2700
2335
  enabled?: boolean | undefined;
2336
+ limit?: number | undefined;
2701
2337
  types?: string[] | undefined;
2702
2338
  }>>;
2703
2339
  /** Generate sitemap.xml (requires deployment.site). */
@@ -2706,8 +2342,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
2706
2342
  structuredData: z.ZodDefault<z.ZodBoolean>;
2707
2343
  }, "strict", z.ZodTypeAny, {
2708
2344
  rss: {
2709
- limit: number;
2710
2345
  enabled: boolean;
2346
+ limit: number;
2711
2347
  types: string[];
2712
2348
  };
2713
2349
  metatags: Record<string, string>;
@@ -2719,8 +2355,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
2719
2355
  structuredData: boolean;
2720
2356
  }, {
2721
2357
  rss?: {
2722
- limit?: number | undefined;
2723
2358
  enabled?: boolean | undefined;
2359
+ limit?: number | undefined;
2724
2360
  types?: string[] | undefined;
2725
2361
  } | undefined;
2726
2362
  metatags?: Record<string, string> | undefined;
@@ -2731,13 +2367,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2731
2367
  sitemap?: boolean | undefined;
2732
2368
  structuredData?: boolean | undefined;
2733
2369
  }>>;
2734
- styling: z.ZodDefault<z.ZodObject<{
2735
- eyebrows: z.ZodDefault<z.ZodEnum<["breadcrumbs", "section"]>>;
2736
- }, "strict", z.ZodTypeAny, {
2737
- eyebrows: "breadcrumbs" | "section";
2738
- }, {
2739
- eyebrows?: "breadcrumbs" | "section" | undefined;
2740
- }>>;
2741
2370
  theme: z.ZodDefault<z.ZodObject<{
2742
2371
  accent: z.ZodDefault<z.ZodString>;
2743
2372
  accentDark: z.ZodOptional<z.ZodString>;
@@ -2802,27 +2431,37 @@ export declare const blumeConfigSchema: z.ZodObject<{
2802
2431
  radius?: "md" | "none" | "sm" | "lg" | undefined;
2803
2432
  }>>;
2804
2433
  title: z.ZodDefault<z.ZodString>;
2434
+ toc: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
2435
+ maxHeadingLevel: z.ZodOptional<z.ZodNumber>;
2436
+ minHeadingLevel: z.ZodOptional<z.ZodNumber>;
2437
+ }, "strict", z.ZodTypeAny, {
2438
+ maxHeadingLevel?: number | undefined;
2439
+ minHeadingLevel?: number | undefined;
2440
+ }, {
2441
+ maxHeadingLevel?: number | undefined;
2442
+ minHeadingLevel?: number | undefined;
2443
+ }>]>>, {
2444
+ enabled: boolean;
2445
+ maxLevel: number;
2446
+ minLevel: number;
2447
+ }, boolean | {
2448
+ maxHeadingLevel?: number | undefined;
2449
+ minHeadingLevel?: number | undefined;
2450
+ } | undefined>;
2805
2451
  variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2806
2452
  }, "strict", z.ZodTypeAny, {
2807
2453
  title: string;
2808
2454
  feedback: boolean;
2809
2455
  search: {
2456
+ provider: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense";
2810
2457
  indexing: {
2811
2458
  includeHiddenPages: boolean;
2812
2459
  };
2813
- provider: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread";
2814
2460
  algolia?: {
2815
2461
  appId: string;
2816
2462
  indexName: string;
2817
2463
  searchApiKey: string;
2818
2464
  } | undefined;
2819
- typesense?: {
2820
- searchApiKey: string;
2821
- collection: string;
2822
- host: string;
2823
- port?: number | undefined;
2824
- protocol?: "http" | "https" | undefined;
2825
- } | undefined;
2826
2465
  mixedbread?: {
2827
2466
  storeId: string;
2828
2467
  } | undefined;
@@ -2832,14 +2471,26 @@ export declare const blumeConfigSchema: z.ZodObject<{
2832
2471
  indexId?: string | undefined;
2833
2472
  } | undefined;
2834
2473
  prompt?: string | undefined;
2474
+ typesense?: {
2475
+ host: string;
2476
+ searchApiKey: string;
2477
+ collection: string;
2478
+ port?: number | undefined;
2479
+ protocol?: "http" | "https" | undefined;
2480
+ } | undefined;
2481
+ };
2482
+ toc: {
2483
+ enabled: boolean;
2484
+ maxLevel: number;
2485
+ minLevel: number;
2835
2486
  };
2836
2487
  lastModified: boolean | {
2837
2488
  type: "git" | "frontmatter";
2838
2489
  };
2839
2490
  seo: {
2840
2491
  rss: {
2841
- limit: number;
2842
2492
  enabled: boolean;
2493
+ limit: number;
2843
2494
  types: string[];
2844
2495
  };
2845
2496
  metatags: Record<string, string>;
@@ -2850,12 +2501,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
2850
2501
  sitemap: boolean;
2851
2502
  structuredData: boolean;
2852
2503
  };
2504
+ ai: {
2505
+ llmsTxt: boolean;
2506
+ ask?: {
2507
+ enabled: boolean;
2508
+ model: string;
2509
+ provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
2510
+ apiKeyEnv?: string | undefined;
2511
+ baseUrl?: string | undefined;
2512
+ } | undefined;
2513
+ };
2853
2514
  content: {
2854
2515
  exclude: string[];
2855
- pages: string;
2516
+ assets: string[];
2517
+ defaultType: string;
2856
2518
  include: string[];
2519
+ pages: string;
2857
2520
  root: string;
2858
- defaultType: string;
2859
2521
  sources?: ({
2860
2522
  type: "filesystem";
2861
2523
  exclude: string[];
@@ -2875,6 +2537,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
2875
2537
  repo: string;
2876
2538
  } | undefined;
2877
2539
  pollInterval?: number | undefined;
2540
+ } | {
2541
+ type: "github-releases";
2542
+ owner: string;
2543
+ repo: string;
2544
+ prefix?: string | undefined;
2545
+ pollInterval?: number | undefined;
2546
+ drafts?: boolean | undefined;
2547
+ limit?: number | undefined;
2548
+ prereleases?: boolean | undefined;
2878
2549
  } | {
2879
2550
  type: "sanity";
2880
2551
  dataset: string;
@@ -2903,15 +2574,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2903
2574
  slug?: string | undefined;
2904
2575
  } | undefined;
2905
2576
  publishedValue?: string | undefined;
2906
- } | {
2907
- type: "github-releases";
2908
- owner: string;
2909
- repo: string;
2910
- prefix?: string | undefined;
2911
- pollInterval?: number | undefined;
2912
- drafts?: boolean | undefined;
2913
- limit?: number | undefined;
2914
- prereleases?: boolean | undefined;
2915
2577
  } | {
2916
2578
  type: "mintlify";
2917
2579
  exclude: string[];
@@ -2925,30 +2587,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
2925
2587
  source: ContentSource;
2926
2588
  })[] | undefined;
2927
2589
  };
2928
- variables: Record<string, string>;
2929
- footer: {
2930
- links: {
2931
- items: {
2932
- label: string;
2933
- href: string;
2934
- }[];
2935
- header?: string | undefined;
2936
- }[];
2937
- socials: Record<string, string>;
2938
- };
2939
- navbar: {
2940
- links: {
2941
- href: string;
2942
- type?: "github" | "discord" | undefined;
2943
- label?: string | undefined;
2944
- icon?: string | undefined;
2945
- }[];
2946
- primary?: {
2947
- type: "button" | "github" | "discord";
2948
- href: string;
2949
- label?: string | undefined;
2950
- } | undefined;
2951
- };
2952
2590
  theme: {
2953
2591
  strict: boolean;
2954
2592
  mode: "dark" | "light" | "system";
@@ -2968,39 +2606,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
2968
2606
  backgroundImage?: string | undefined;
2969
2607
  backgroundImageDark?: string | undefined;
2970
2608
  };
2971
- icons: {
2972
- library: "fontawesome" | "lucide" | "tabler";
2973
- };
2974
- ai: {
2975
- llmsTxt: boolean;
2976
- ask?: {
2977
- provider: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible";
2978
- enabled: boolean;
2979
- model: string;
2980
- apiKeyEnv?: string | undefined;
2981
- baseUrl?: string | undefined;
2982
- } | undefined;
2983
- };
2984
2609
  asyncapi: {
2610
+ enabled: boolean;
2611
+ route: string;
2985
2612
  sources: {
2986
2613
  spec: string;
2987
2614
  label?: string | undefined;
2988
2615
  route?: string | undefined;
2989
2616
  }[];
2990
- enabled: boolean;
2991
- route: string;
2992
- theme?: string | undefined;
2993
2617
  spec?: string | undefined;
2618
+ theme?: string | undefined;
2994
2619
  };
2995
- contextual: {
2996
- display: "toc" | "header";
2997
- options: (string | z.objectOutputType<{
2998
- description: z.ZodOptional<z.ZodString>;
2999
- href: z.ZodOptional<z.ZodString>;
3000
- icon: z.ZodOptional<z.ZodString>;
3001
- title: z.ZodString;
3002
- }, z.ZodTypeAny, "passthrough">)[];
3003
- };
2620
+ variables: Record<string, string>;
3004
2621
  deployment: {
3005
2622
  adapter: "vercel" | "node" | "netlify" | "cloudflare" | null;
3006
2623
  output: "static" | "server";
@@ -3041,7 +2658,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3041
2658
  banner?: string | {
3042
2659
  content: string;
3043
2660
  dismissible: boolean;
3044
- type?: "info" | "warning" | "critical" | undefined;
2661
+ type?: "warning" | "info" | "critical" | undefined;
3045
2662
  id?: string | undefined;
3046
2663
  color?: {
3047
2664
  dark?: string | undefined;
@@ -3052,29 +2669,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
3052
2669
  text: string;
3053
2670
  } | undefined;
3054
2671
  } | undefined;
3055
- footer?: {
3056
- links: {
3057
- items: {
3058
- label: string;
3059
- href: string;
3060
- }[];
3061
- header?: string | undefined;
3062
- }[];
3063
- socials: Record<string, string>;
3064
- } | undefined;
3065
- navbar?: {
3066
- links: {
3067
- href: string;
3068
- type?: "github" | "discord" | undefined;
3069
- label?: string | undefined;
3070
- icon?: string | undefined;
3071
- }[];
3072
- primary?: {
3073
- type: "button" | "github" | "discord";
3074
- href: string;
3075
- label?: string | undefined;
3076
- } | undefined;
3077
- } | undefined;
3078
2672
  }[];
3079
2673
  selectors: {
3080
2674
  label: string;
@@ -3106,35 +2700,39 @@ export declare const blumeConfigSchema: z.ZodObject<{
3106
2700
  }[] | undefined;
3107
2701
  };
3108
2702
  openapi: {
2703
+ enabled: boolean;
2704
+ route: string;
3109
2705
  sources: {
3110
2706
  spec: string;
3111
2707
  label?: string | undefined;
3112
2708
  route?: string | undefined;
3113
2709
  }[];
3114
- enabled: boolean;
3115
- route: string;
3116
- theme?: string | undefined;
3117
2710
  spec?: string | undefined;
2711
+ theme?: string | undefined;
3118
2712
  };
3119
2713
  redirects: {
3120
2714
  status: 301 | 302 | 307 | 308;
3121
2715
  from: string;
3122
2716
  to: string;
3123
2717
  }[];
3124
- styling: {
3125
- eyebrows: "breadcrumbs" | "section";
3126
- };
3127
2718
  description?: string | undefined;
3128
- github?: {
3129
- owner: string;
3130
- repo: string;
3131
- branch: string;
3132
- dir?: string | undefined;
2719
+ analytics?: {
2720
+ posthog?: {
2721
+ key: string;
2722
+ host?: string | undefined;
2723
+ } | undefined;
2724
+ scripts?: {
2725
+ attributes?: Record<string, string> | undefined;
2726
+ content?: string | undefined;
2727
+ src?: string | undefined;
2728
+ strategy?: "async" | "defer" | undefined;
2729
+ }[] | undefined;
2730
+ vercel?: boolean | undefined;
3133
2731
  } | undefined;
3134
2732
  banner?: string | {
3135
2733
  content: string;
3136
2734
  dismissible: boolean;
3137
- type?: "info" | "warning" | "critical" | undefined;
2735
+ type?: "warning" | "info" | "critical" | undefined;
3138
2736
  id?: string | undefined;
3139
2737
  color?: {
3140
2738
  dark?: string | undefined;
@@ -3145,18 +2743,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
3145
2743
  text: string;
3146
2744
  } | undefined;
3147
2745
  } | undefined;
3148
- analytics?: {
3149
- posthog?: {
3150
- key: string;
3151
- host?: string | undefined;
3152
- } | undefined;
3153
- scripts?: {
3154
- content?: string | undefined;
3155
- attributes?: Record<string, string> | undefined;
3156
- src?: string | undefined;
3157
- strategy?: "async" | "defer" | undefined;
3158
- }[] | undefined;
3159
- vercel?: boolean | undefined;
2746
+ github?: {
2747
+ owner: string;
2748
+ repo: string;
2749
+ branch: string;
2750
+ dir?: string | undefined;
3160
2751
  } | undefined;
3161
2752
  favicon?: string | {
3162
2753
  dark?: string | undefined;
@@ -3175,26 +2766,23 @@ export declare const blumeConfigSchema: z.ZodObject<{
3175
2766
  ui?: Record<string, Record<string, Record<string, string>>> | undefined;
3176
2767
  } | undefined;
3177
2768
  logo?: string | {
3178
- alt?: string | undefined;
3179
2769
  dark?: string | undefined;
3180
- href?: string | undefined;
3181
2770
  light?: string | undefined;
2771
+ href?: string | undefined;
2772
+ alt?: string | undefined;
3182
2773
  } | undefined;
3183
2774
  }, {
3184
2775
  title?: string | undefined;
3185
2776
  feedback?: boolean | undefined;
3186
2777
  search?: {
2778
+ provider?: "none" | "algolia" | "mixedbread" | "orama" | "pagefind" | "flexsearch" | "orama-cloud" | "typesense" | undefined;
3187
2779
  algolia?: {
3188
2780
  appId: string;
3189
2781
  indexName: string;
3190
2782
  searchApiKey: string;
3191
2783
  } | undefined;
3192
- typesense?: {
3193
- searchApiKey: string;
3194
- collection: string;
3195
- host: string;
3196
- port?: number | undefined;
3197
- protocol?: "http" | "https" | undefined;
2784
+ indexing?: {
2785
+ includeHiddenPages?: boolean | undefined;
3198
2786
  } | undefined;
3199
2787
  mixedbread?: {
3200
2788
  storeId: string;
@@ -3204,11 +2792,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
3204
2792
  endpoint: string;
3205
2793
  indexId?: string | undefined;
3206
2794
  } | undefined;
3207
- indexing?: {
3208
- includeHiddenPages?: boolean | undefined;
3209
- } | undefined;
3210
2795
  prompt?: string | undefined;
3211
- provider?: "none" | "orama" | "pagefind" | "flexsearch" | "algolia" | "orama-cloud" | "typesense" | "mixedbread" | undefined;
2796
+ typesense?: {
2797
+ host: string;
2798
+ searchApiKey: string;
2799
+ collection: string;
2800
+ port?: number | undefined;
2801
+ protocol?: "http" | "https" | undefined;
2802
+ } | undefined;
2803
+ } | undefined;
2804
+ toc?: boolean | {
2805
+ maxHeadingLevel?: number | undefined;
2806
+ minHeadingLevel?: number | undefined;
3212
2807
  } | undefined;
3213
2808
  description?: string | undefined;
3214
2809
  lastModified?: boolean | {
@@ -3216,8 +2811,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
3216
2811
  } | undefined;
3217
2812
  seo?: {
3218
2813
  rss?: {
3219
- limit?: number | undefined;
3220
2814
  enabled?: boolean | undefined;
2815
+ limit?: number | undefined;
3221
2816
  types?: string[] | undefined;
3222
2817
  } | undefined;
3223
2818
  metatags?: Record<string, string> | undefined;
@@ -3228,18 +2823,24 @@ export declare const blumeConfigSchema: z.ZodObject<{
3228
2823
  sitemap?: boolean | undefined;
3229
2824
  structuredData?: boolean | undefined;
3230
2825
  } | undefined;
2826
+ ai?: {
2827
+ ask?: {
2828
+ apiKeyEnv?: string | undefined;
2829
+ baseUrl?: string | undefined;
2830
+ enabled?: boolean | undefined;
2831
+ model?: string | undefined;
2832
+ provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
2833
+ } | undefined;
2834
+ llmsTxt?: boolean | undefined;
2835
+ } | undefined;
3231
2836
  content?: {
3232
2837
  exclude?: string[] | undefined;
3233
- pages?: string | undefined;
3234
- include?: string[] | undefined;
3235
- root?: string | undefined;
3236
- defaultType?: string | undefined;
3237
2838
  sources?: ({
3238
2839
  type: "filesystem";
3239
2840
  exclude?: string[] | undefined;
3240
2841
  include?: string[] | undefined;
3241
- prefix?: string | undefined;
3242
2842
  root?: string | undefined;
2843
+ prefix?: string | undefined;
3243
2844
  } | {
3244
2845
  type: "mdx-remote";
3245
2846
  url?: string | undefined;
@@ -3253,6 +2854,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
3253
2854
  ref?: string | undefined;
3254
2855
  } | undefined;
3255
2856
  pollInterval?: number | undefined;
2857
+ } | {
2858
+ type: "github-releases";
2859
+ owner: string;
2860
+ repo: string;
2861
+ prefix?: string | undefined;
2862
+ pollInterval?: number | undefined;
2863
+ drafts?: boolean | undefined;
2864
+ limit?: number | undefined;
2865
+ prereleases?: boolean | undefined;
3256
2866
  } | {
3257
2867
  type: "sanity";
3258
2868
  dataset: string;
@@ -3281,71 +2891,36 @@ export declare const blumeConfigSchema: z.ZodObject<{
3281
2891
  slug?: string | undefined;
3282
2892
  } | undefined;
3283
2893
  publishedValue?: string | undefined;
3284
- } | {
3285
- type: "github-releases";
3286
- owner: string;
3287
- repo: string;
3288
- prefix?: string | undefined;
3289
- pollInterval?: number | undefined;
3290
- drafts?: boolean | undefined;
3291
- limit?: number | undefined;
3292
- prereleases?: boolean | undefined;
3293
2894
  } | {
3294
2895
  type: "mintlify";
3295
2896
  exclude?: string[] | undefined;
3296
2897
  include?: string[] | undefined;
3297
- prefix?: string | undefined;
3298
2898
  root?: string | undefined;
2899
+ prefix?: string | undefined;
3299
2900
  configFile?: string | undefined;
3300
2901
  variables?: Record<string, string> | undefined;
3301
2902
  } | {
3302
2903
  type: "custom";
3303
2904
  source: ContentSource;
3304
2905
  })[] | undefined;
2906
+ assets?: string[] | undefined;
2907
+ defaultType?: string | undefined;
2908
+ include?: string[] | undefined;
2909
+ pages?: string | undefined;
2910
+ root?: string | undefined;
3305
2911
  } | undefined;
3306
- github?: {
3307
- owner: string;
3308
- repo: string;
3309
- dir?: string | undefined;
3310
- branch?: string | undefined;
3311
- } | undefined;
3312
- variables?: Record<string, string> | undefined;
3313
- banner?: string | {
3314
- content: string;
3315
- type?: "info" | "warning" | "critical" | undefined;
3316
- id?: string | undefined;
3317
- color?: {
3318
- dark?: string | undefined;
3319
- light?: string | undefined;
3320
- } | undefined;
3321
- dismissible?: boolean | undefined;
3322
- link?: {
3323
- href: string;
3324
- text: string;
2912
+ analytics?: {
2913
+ posthog?: {
2914
+ key: string;
2915
+ host?: string | undefined;
3325
2916
  } | undefined;
3326
- } | undefined;
3327
- footer?: {
3328
- links?: {
3329
- items?: {
3330
- label: string;
3331
- href: string;
3332
- }[] | undefined;
3333
- header?: string | undefined;
3334
- }[] | undefined;
3335
- socials?: Record<string, string> | undefined;
3336
- } | undefined;
3337
- navbar?: {
3338
- links?: {
3339
- href: string;
3340
- type?: "github" | "discord" | undefined;
3341
- label?: string | undefined;
3342
- icon?: string | undefined;
2917
+ scripts?: {
2918
+ attributes?: Record<string, string> | undefined;
2919
+ content?: string | undefined;
2920
+ src?: string | undefined;
2921
+ strategy?: "async" | "defer" | undefined;
3343
2922
  }[] | undefined;
3344
- primary?: {
3345
- href: string;
3346
- type?: "button" | "github" | "discord" | undefined;
3347
- label?: string | undefined;
3348
- } | undefined;
2923
+ vercel?: boolean | undefined;
3349
2924
  } | undefined;
3350
2925
  theme?: {
3351
2926
  strict?: boolean | undefined;
@@ -3366,52 +2941,38 @@ export declare const blumeConfigSchema: z.ZodObject<{
3366
2941
  layout?: "sidebar" | undefined;
3367
2942
  radius?: "md" | "none" | "sm" | "lg" | undefined;
3368
2943
  } | undefined;
3369
- icons?: {
3370
- library?: "fontawesome" | "lucide" | "tabler" | undefined;
3371
- } | undefined;
3372
- ai?: {
3373
- ask?: {
3374
- provider?: "gateway" | "openrouter" | "llmgateway" | "inkeep" | "openai-compatible" | undefined;
3375
- apiKeyEnv?: string | undefined;
3376
- baseUrl?: string | undefined;
3377
- enabled?: boolean | undefined;
3378
- model?: string | undefined;
3379
- } | undefined;
3380
- llmsTxt?: boolean | undefined;
3381
- } | undefined;
3382
- analytics?: {
3383
- posthog?: {
3384
- key: string;
3385
- host?: string | undefined;
3386
- } | undefined;
3387
- scripts?: {
3388
- content?: string | undefined;
3389
- attributes?: Record<string, string> | undefined;
3390
- src?: string | undefined;
3391
- strategy?: "async" | "defer" | undefined;
3392
- }[] | undefined;
3393
- vercel?: boolean | undefined;
3394
- } | undefined;
3395
2944
  asyncapi?: {
2945
+ enabled?: boolean | undefined;
2946
+ route?: string | undefined;
2947
+ spec?: string | undefined;
3396
2948
  sources?: {
3397
2949
  spec: string;
3398
2950
  label?: string | undefined;
3399
2951
  route?: string | undefined;
3400
2952
  }[] | undefined;
3401
- enabled?: boolean | undefined;
3402
- route?: string | undefined;
3403
2953
  theme?: string | undefined;
3404
- spec?: string | undefined;
3405
2954
  } | undefined;
3406
- contextual?: {
3407
- display?: "toc" | "header" | undefined;
3408
- options?: (string | z.objectInputType<{
3409
- description: z.ZodOptional<z.ZodString>;
3410
- href: z.ZodOptional<z.ZodString>;
3411
- icon: z.ZodOptional<z.ZodString>;
3412
- title: z.ZodString;
3413
- }, z.ZodTypeAny, "passthrough">)[] | undefined;
2955
+ banner?: string | {
2956
+ content: string;
2957
+ type?: "warning" | "info" | "critical" | undefined;
2958
+ id?: string | undefined;
2959
+ color?: {
2960
+ dark?: string | undefined;
2961
+ light?: string | undefined;
2962
+ } | undefined;
2963
+ dismissible?: boolean | undefined;
2964
+ link?: {
2965
+ href: string;
2966
+ text: string;
2967
+ } | undefined;
2968
+ } | undefined;
2969
+ github?: {
2970
+ owner: string;
2971
+ repo: string;
2972
+ branch?: string | undefined;
2973
+ dir?: string | undefined;
3414
2974
  } | undefined;
2975
+ variables?: Record<string, string> | undefined;
3415
2976
  deployment?: {
3416
2977
  adapter?: "vercel" | "node" | "netlify" | "cloudflare" | null | undefined;
3417
2978
  base?: string | undefined;
@@ -3440,10 +3001,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3440
3001
  ui?: Record<string, Record<string, Record<string, string>>> | undefined;
3441
3002
  } | undefined;
3442
3003
  logo?: string | {
3443
- alt?: string | undefined;
3444
3004
  dark?: string | undefined;
3445
- href?: string | undefined;
3446
3005
  light?: string | undefined;
3006
+ href?: string | undefined;
3007
+ alt?: string | undefined;
3447
3008
  } | undefined;
3448
3009
  markdown?: {
3449
3010
  code?: {
@@ -3463,9 +3024,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
3463
3024
  } | undefined;
3464
3025
  mcp?: {
3465
3026
  enabled?: boolean | undefined;
3027
+ route?: string | undefined;
3466
3028
  instructions?: string | undefined;
3467
3029
  name?: string | undefined;
3468
- route?: string | undefined;
3469
3030
  } | undefined;
3470
3031
  navigation?: {
3471
3032
  sidebar?: SidebarItemConfig[] | undefined;
@@ -3474,7 +3035,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3474
3035
  path: string;
3475
3036
  banner?: string | {
3476
3037
  content: string;
3477
- type?: "info" | "warning" | "critical" | undefined;
3038
+ type?: "warning" | "info" | "critical" | undefined;
3478
3039
  id?: string | undefined;
3479
3040
  color?: {
3480
3041
  dark?: string | undefined;
@@ -3486,29 +3047,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
3486
3047
  text: string;
3487
3048
  } | undefined;
3488
3049
  } | undefined;
3489
- footer?: {
3490
- links?: {
3491
- items?: {
3492
- label: string;
3493
- href: string;
3494
- }[] | undefined;
3495
- header?: string | undefined;
3496
- }[] | undefined;
3497
- socials?: Record<string, string> | undefined;
3498
- } | undefined;
3499
- navbar?: {
3500
- links?: {
3501
- href: string;
3502
- type?: "github" | "discord" | undefined;
3503
- label?: string | undefined;
3504
- icon?: string | undefined;
3505
- }[] | undefined;
3506
- primary?: {
3507
- href: string;
3508
- type?: "button" | "github" | "discord" | undefined;
3509
- label?: string | undefined;
3510
- } | undefined;
3511
- } | undefined;
3512
3050
  }[] | undefined;
3513
3051
  selectors?: {
3514
3052
  label: string;
@@ -3539,24 +3077,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
3539
3077
  }[] | undefined;
3540
3078
  } | undefined;
3541
3079
  openapi?: {
3080
+ enabled?: boolean | undefined;
3081
+ route?: string | undefined;
3082
+ spec?: string | undefined;
3542
3083
  sources?: {
3543
3084
  spec: string;
3544
3085
  label?: string | undefined;
3545
3086
  route?: string | undefined;
3546
3087
  }[] | undefined;
3547
- enabled?: boolean | undefined;
3548
- route?: string | undefined;
3549
3088
  theme?: string | undefined;
3550
- spec?: string | undefined;
3551
3089
  } | undefined;
3552
3090
  redirects?: {
3553
3091
  from: string;
3554
3092
  to: string;
3555
3093
  status?: 301 | 302 | 307 | 308 | undefined;
3556
3094
  }[] | undefined;
3557
- styling?: {
3558
- eyebrows?: "breadcrumbs" | "section" | undefined;
3559
- } | undefined;
3560
3095
  }>;
3561
3096
  /** Resolved config: every field present after defaults are applied. */
3562
3097
  export type ResolvedConfig = z.infer<typeof blumeConfigSchema>;