blume 1.7.3 → 2.0.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 (673) hide show
  1. package/AGENTS.md +19 -0
  2. package/CHANGELOG.md +217 -0
  3. package/README.md +34 -21
  4. package/dist/cli/chunk-11j0384y.js +148 -0
  5. package/dist/cli/chunk-11j0384y.js.map +10 -0
  6. package/dist/cli/{chunk-rqy0s5wh.js → chunk-1w8dp3qb.js} +17 -16
  7. package/dist/cli/{chunk-rqy0s5wh.js.map → chunk-1w8dp3qb.js.map} +3 -3
  8. package/dist/cli/chunk-2q1dwty4.js +75 -0
  9. package/dist/cli/chunk-2q1dwty4.js.map +11 -0
  10. package/dist/cli/chunk-41za066z.js +122 -0
  11. package/dist/cli/chunk-41za066z.js.map +11 -0
  12. package/dist/cli/chunk-5a2z0198.js +133 -0
  13. package/dist/cli/chunk-5a2z0198.js.map +10 -0
  14. package/dist/cli/{chunk-5g0w1e2c.js → chunk-6k8vp3ta.js} +25 -13
  15. package/dist/cli/{chunk-5g0w1e2c.js.map → chunk-6k8vp3ta.js.map} +4 -4
  16. package/dist/cli/{chunk-5qk08vmp.js → chunk-79njf86q.js} +133 -54
  17. package/dist/cli/chunk-79njf86q.js.map +11 -0
  18. package/dist/cli/{chunk-e7f42gdj.js → chunk-7ez8ny0t.js} +2 -2
  19. package/dist/cli/{chunk-nn13znc2.js → chunk-88cpgt6h.js} +1 -1
  20. package/dist/cli/chunk-a9kptbw5.js +361 -0
  21. package/dist/cli/chunk-a9kptbw5.js.map +14 -0
  22. package/dist/cli/chunk-abh8yjkn.js +31 -0
  23. package/dist/cli/chunk-abh8yjkn.js.map +10 -0
  24. package/dist/cli/chunk-b5aj94ah.js +91 -0
  25. package/dist/cli/chunk-b5aj94ah.js.map +10 -0
  26. package/dist/cli/{chunk-b27xqwn9.js → chunk-bctazmbk.js} +9 -5
  27. package/dist/cli/chunk-bctazmbk.js.map +10 -0
  28. package/dist/cli/chunk-beat36xx.js +279 -0
  29. package/dist/cli/chunk-beat36xx.js.map +10 -0
  30. package/dist/cli/chunk-bnbmcwfb.js +145 -0
  31. package/dist/cli/chunk-bnbmcwfb.js.map +11 -0
  32. package/dist/cli/{chunk-0xjyb285.js → chunk-bw22s759.js} +15 -5
  33. package/dist/cli/{chunk-0xjyb285.js.map → chunk-bw22s759.js.map} +4 -4
  34. package/dist/cli/chunk-by2290sx.js +39 -0
  35. package/dist/cli/chunk-by2290sx.js.map +10 -0
  36. package/dist/cli/chunk-d1tadaw7.js +79 -0
  37. package/dist/cli/chunk-d1tadaw7.js.map +10 -0
  38. package/dist/cli/{chunk-ahnw3kxw.js → chunk-d80hr03s.js} +24 -19
  39. package/dist/cli/chunk-d80hr03s.js.map +15 -0
  40. package/dist/cli/chunk-ernrthtr.js +97 -0
  41. package/dist/cli/chunk-ernrthtr.js.map +10 -0
  42. package/dist/cli/chunk-f2972sbt.js +374 -0
  43. package/dist/cli/chunk-f2972sbt.js.map +10 -0
  44. package/dist/cli/{chunk-vacwm2hv.js → chunk-f7t03s3g.js} +2 -2
  45. package/dist/cli/{chunk-2z47ypj8.js → chunk-fa25z98p.js} +16 -3
  46. package/dist/cli/chunk-fa25z98p.js.map +11 -0
  47. package/dist/cli/{chunk-cjtn640a.js → chunk-fh5hj5jt.js} +43 -20
  48. package/dist/cli/chunk-fh5hj5jt.js.map +10 -0
  49. package/dist/cli/{chunk-yg63d42r.js → chunk-j8mw0za6.js} +86 -57
  50. package/dist/cli/chunk-j8mw0za6.js.map +35 -0
  51. package/dist/cli/{chunk-ct47dqpx.js → chunk-jts8mvcz.js} +67 -7
  52. package/dist/cli/{chunk-2mzebbbz.js.map → chunk-jts8mvcz.js.map} +6 -4
  53. package/dist/cli/{chunk-ps4m1xh4.js → chunk-mnqj32sj.js} +505 -542
  54. package/dist/cli/chunk-mnqj32sj.js.map +12 -0
  55. package/dist/cli/{chunk-8cjtbafj.js → chunk-mwt1k8n7.js} +100 -374
  56. package/dist/cli/chunk-mwt1k8n7.js.map +10 -0
  57. package/dist/cli/chunk-nk3ts2xk.js +51 -0
  58. package/dist/cli/chunk-nk3ts2xk.js.map +10 -0
  59. package/dist/cli/{chunk-3r45185y.js → chunk-pat2zzwc.js} +9 -11
  60. package/dist/cli/{chunk-3r45185y.js.map → chunk-pat2zzwc.js.map} +2 -2
  61. package/dist/cli/chunk-pnnvybbk.js +176 -0
  62. package/dist/cli/chunk-pnnvybbk.js.map +11 -0
  63. package/dist/cli/{chunk-4x36ddpw.js → chunk-sqn5t4q0.js} +81 -87
  64. package/dist/cli/chunk-sqn5t4q0.js.map +10 -0
  65. package/dist/cli/{chunk-bvwwhd84.js → chunk-tzne8qfq.js} +15 -15
  66. package/dist/cli/{chunk-bvwwhd84.js.map → chunk-tzne8qfq.js.map} +1 -1
  67. package/dist/cli/chunk-xaz13gwg.js +12449 -0
  68. package/dist/cli/chunk-xaz13gwg.js.map +182 -0
  69. package/dist/cli/chunk-y3e45rc8.js +102 -0
  70. package/dist/cli/chunk-y3e45rc8.js.map +10 -0
  71. package/dist/cli/chunk-z01ze5c1.js +261 -0
  72. package/dist/cli/chunk-z01ze5c1.js.map +10 -0
  73. package/dist/cli/{chunk-k79xp7av.js → chunk-z1f5arsg.js} +219 -689
  74. package/dist/cli/chunk-z1f5arsg.js.map +36 -0
  75. package/dist/cli/{chunk-1jefwnfs.js → chunk-zg2gtj10.js} +1076 -2592
  76. package/dist/cli/chunk-zg2gtj10.js.map +35 -0
  77. package/dist/cli/{chunk-dwgcp5sm.js → chunk-zxccj738.js} +1 -1
  78. package/dist/cli/index.js +214 -57
  79. package/dist/cli/index.js.map +8 -7
  80. package/dist/types/ai/agent-readability.d.ts +52 -0
  81. package/dist/types/ai/ai-catalog.d.ts +42 -0
  82. package/dist/types/ai/api/paths.d.ts +17 -0
  83. package/dist/types/ai/api-catalog.d.ts +18 -0
  84. package/dist/types/ai/ask.d.ts +368 -0
  85. package/dist/types/ai/changelog-markdown.d.ts +2 -0
  86. package/dist/types/ai/component-markdown.d.ts +2 -2
  87. package/dist/types/ai/index.d.ts +24 -0
  88. package/dist/types/ai/link-headers.d.ts +24 -0
  89. package/dist/types/ai/llms.d.ts +25 -0
  90. package/dist/types/ai/markdown.d.ts +45 -0
  91. package/dist/types/ai/mcp/discovery.d.ts +68 -0
  92. package/dist/types/ai/mcp/tools.d.ts +16 -0
  93. package/dist/types/ai/openapi-components.d.ts +43 -0
  94. package/dist/types/ai/relative-links.d.ts +26 -0
  95. package/dist/types/ai/serializers.d.ts +15 -0
  96. package/dist/types/ai/skills.d.ts +42 -0
  97. package/dist/types/ai/tar.d.ts +25 -0
  98. package/dist/types/ai/visibility.d.ts +17 -0
  99. package/dist/types/ai/web-bot-auth.d.ts +16 -0
  100. package/dist/types/analytics/adobe.d.ts +35 -0
  101. package/dist/types/analytics/amplitude.d.ts +50 -0
  102. package/dist/types/analytics/clarity.d.ts +31 -0
  103. package/dist/types/analytics/clearbit.d.ts +29 -0
  104. package/dist/types/analytics/cloudflare.d.ts +41 -0
  105. package/dist/types/analytics/fathom.d.ts +41 -0
  106. package/dist/types/analytics/google-analytics.d.ts +44 -0
  107. package/dist/types/analytics/google-tag-manager.d.ts +40 -0
  108. package/dist/types/analytics/head.d.ts +30 -0
  109. package/dist/types/analytics/heap.d.ts +40 -0
  110. package/dist/types/analytics/hightouch.d.ts +44 -0
  111. package/dist/types/analytics/hotjar.d.ts +33 -0
  112. package/dist/types/analytics/index.d.ts +61 -0
  113. package/dist/types/analytics/inline.d.ts +17 -0
  114. package/dist/types/analytics/logrocket.d.ts +44 -0
  115. package/dist/types/analytics/mixpanel.d.ts +67 -0
  116. package/dist/types/analytics/pirsch.d.ts +42 -0
  117. package/dist/types/analytics/plausible.d.ts +56 -0
  118. package/dist/types/analytics/posthog.d.ts +45 -0
  119. package/dist/types/analytics/schema.d.ts +320 -0
  120. package/dist/types/analytics/script.d.ts +46 -0
  121. package/dist/types/analytics/segment.d.ts +50 -0
  122. package/dist/types/analytics/vercel.d.ts +48 -0
  123. package/dist/types/astro/integration.d.ts +76 -0
  124. package/dist/types/astro/markdown-negotiation.d.ts +23 -0
  125. package/dist/types/astro/module-types.d.ts +14 -0
  126. package/dist/types/astro/pages.d.ts +44 -0
  127. package/dist/types/cli/env.d.ts +12 -0
  128. package/dist/types/cli/init/scaffold.d.ts +154 -0
  129. package/dist/types/components/layout/nav-utils.d.ts +11 -0
  130. package/dist/types/core/adapter.d.ts +47 -0
  131. package/dist/types/core/api-name.d.ts +7 -0
  132. package/dist/types/core/changelog-index.d.ts +13 -0
  133. package/dist/types/core/config-input.d.ts +186 -515
  134. package/dist/types/core/config.d.ts +60 -34
  135. package/dist/types/core/content-assets.d.ts +76 -0
  136. package/dist/types/core/custom-pages.d.ts +33 -0
  137. package/dist/types/core/data.d.ts +27 -12
  138. package/dist/types/core/define-components.d.ts +12 -9
  139. package/dist/types/core/deployment-env.d.ts +6 -11
  140. package/dist/types/core/frontmatter.d.ts +10 -0
  141. package/dist/types/core/graph.d.ts +18 -0
  142. package/dist/types/core/heading-markers.d.ts +54 -0
  143. package/dist/types/core/i18n-ui.d.ts +6 -2
  144. package/dist/types/core/i18n.d.ts +87 -0
  145. package/dist/types/core/includes.d.ts +138 -0
  146. package/dist/types/core/last-modified.d.ts +47 -0
  147. package/dist/types/core/links.d.ts +95 -0
  148. package/dist/types/core/locale-links.d.ts +60 -0
  149. package/dist/types/core/manifest.d.ts +17 -0
  150. package/dist/types/core/meta.d.ts +38 -0
  151. package/dist/types/core/nav-diagnostics.d.ts +26 -0
  152. package/dist/types/core/navigation.d.ts +6 -0
  153. package/dist/types/core/node-require.d.ts +19 -0
  154. package/dist/types/core/package-json.d.ts +13 -0
  155. package/dist/types/core/probe.d.ts +42 -0
  156. package/dist/types/core/project-graph.d.ts +51 -0
  157. package/dist/types/core/project.d.ts +2 -0
  158. package/dist/types/core/safe-href.d.ts +2 -0
  159. package/dist/types/core/safe-links.d.ts +26 -0
  160. package/dist/types/core/schema.d.ts +2282 -452
  161. package/dist/types/core/site-url.d.ts +16 -0
  162. package/dist/types/core/sources/assets.d.ts +36 -0
  163. package/dist/types/core/sources/cache.d.ts +37 -0
  164. package/dist/types/core/sources/collection.d.ts +28 -0
  165. package/dist/types/core/sources/contentful-rich-text.d.ts +31 -0
  166. package/dist/types/core/sources/contentful.d.ts +40 -0
  167. package/dist/types/core/sources/filesystem.d.ts +24 -0
  168. package/dist/types/core/sources/github-releases.d.ts +31 -0
  169. package/dist/types/core/sources/json.d.ts +30 -0
  170. package/dist/types/core/sources/lexical.d.ts +19 -0
  171. package/dist/types/core/sources/lower.d.ts +75 -0
  172. package/dist/types/core/sources/mdx-remote.d.ts +28 -0
  173. package/dist/types/core/sources/normalize.d.ts +147 -0
  174. package/dist/types/core/sources/notion.d.ts +131 -0
  175. package/dist/types/core/sources/obsidian.d.ts +46 -0
  176. package/dist/types/core/sources/payload.d.ts +39 -0
  177. package/dist/types/core/sources/portable-text.d.ts +42 -0
  178. package/dist/types/core/sources/read.d.ts +23 -0
  179. package/dist/types/core/sources/remote.d.ts +74 -0
  180. package/dist/types/core/sources/resolve.d.ts +19 -0
  181. package/dist/types/core/sources/sanity.d.ts +43 -0
  182. package/dist/types/core/sources/strapi-blocks.d.ts +12 -0
  183. package/dist/types/core/sources/strapi.d.ts +33 -0
  184. package/dist/types/core/sources/types.d.ts +7 -0
  185. package/dist/types/core/sources/watch.d.ts +45 -0
  186. package/dist/types/core/text-width.d.ts +11 -0
  187. package/dist/types/core/types.d.ts +15 -1
  188. package/dist/types/core/unrecognized-keys.d.ts +7 -0
  189. package/dist/types/core/versions.d.ts +72 -0
  190. package/dist/types/core/yaml.d.ts +9 -0
  191. package/dist/types/deploy/adapter-output.d.ts +45 -0
  192. package/dist/types/deploy/adapters/cloudflare.d.ts +40 -0
  193. package/dist/types/deploy/adapters/index.d.ts +29 -0
  194. package/dist/types/deploy/adapters/netlify.d.ts +37 -0
  195. package/dist/types/deploy/adapters/node.d.ts +37 -0
  196. package/dist/types/deploy/adapters/registry.d.ts +133 -0
  197. package/dist/types/deploy/adapters/types.d.ts +71 -0
  198. package/dist/types/deploy/adapters/vercel.d.ts +38 -0
  199. package/dist/types/deploy/artifacts.d.ts +65 -0
  200. package/dist/types/deploy/cloudflare-negotiation.d.ts +196 -0
  201. package/dist/types/deploy/function-bundle.d.ts +80 -0
  202. package/dist/types/deploy/headers.d.ts +50 -0
  203. package/dist/types/deploy/node-headers.d.ts +42 -0
  204. package/dist/types/deploy/platforms/cloudflare.d.ts +40 -0
  205. package/dist/types/deploy/platforms/index.d.ts +18 -0
  206. package/dist/types/deploy/platforms/netlify.d.ts +13 -0
  207. package/dist/types/deploy/platforms/node.d.ts +11 -0
  208. package/dist/types/deploy/platforms/paths.d.ts +27 -0
  209. package/dist/types/deploy/platforms/static.d.ts +10 -0
  210. package/dist/types/deploy/platforms/types.d.ts +104 -0
  211. package/dist/types/deploy/platforms/vercel.d.ts +32 -0
  212. package/dist/types/deploy/redirects.d.ts +53 -0
  213. package/dist/types/deploy/robots.d.ts +8 -0
  214. package/dist/types/deploy/rss.d.ts +31 -0
  215. package/dist/types/deploy/sitemap.d.ts +21 -0
  216. package/dist/types/deploy/vercel-negotiation.d.ts +109 -0
  217. package/dist/types/markdown/code-title.d.ts +32 -0
  218. package/dist/types/markdown/fence-meta.d.ts +23 -0
  219. package/dist/types/markdown/themes.d.ts +3 -3
  220. package/dist/types/openapi/asyncapi.d.ts +129 -0
  221. package/dist/types/openapi/graphql-build.d.ts +8 -0
  222. package/dist/types/openapi/graphql.d.ts +122 -0
  223. package/dist/types/openapi/model.d.ts +158 -0
  224. package/dist/types/openapi/parse.d.ts +57 -0
  225. package/dist/types/openapi/references.d.ts +37 -25
  226. package/dist/types/openapi/render-mdx.d.ts +33 -0
  227. package/dist/types/openapi/sentence.d.ts +7 -0
  228. package/dist/types/openapi/signature.d.ts +10 -0
  229. package/dist/types/openapi/source.d.ts +22 -0
  230. package/dist/types/openapi/spec-dependency-error.d.ts +10 -0
  231. package/dist/types/reference/asyncapi.d.ts +166 -0
  232. package/dist/types/reference/graphql.d.ts +181 -0
  233. package/dist/types/reference/index.d.ts +32 -0
  234. package/dist/types/reference/openapi.d.ts +165 -0
  235. package/dist/types/reference/options.d.ts +157 -0
  236. package/dist/types/reference/scalar.d.ts +136 -0
  237. package/dist/types/reference/schema.d.ts +630 -0
  238. package/dist/types/search/adapters/algolia.d.ts +32 -0
  239. package/dist/types/search/adapters/flexsearch.d.ts +12 -0
  240. package/dist/types/search/adapters/index.d.ts +31 -0
  241. package/dist/types/search/adapters/mixedbread.d.ts +22 -0
  242. package/dist/types/search/adapters/orama-cloud.d.ts +33 -0
  243. package/dist/types/search/adapters/orama.d.ts +13 -0
  244. package/dist/types/search/adapters/pagefind.d.ts +12 -0
  245. package/dist/types/search/adapters/registry.d.ts +228 -0
  246. package/dist/types/search/adapters/types.d.ts +34 -0
  247. package/dist/types/search/adapters/typesense.d.ts +42 -0
  248. package/dist/types/search/build.d.ts +23 -0
  249. package/dist/types/search/documents.d.ts +90 -0
  250. package/dist/types/search/facets.d.ts +3 -0
  251. package/dist/types/search/sync/algolia.d.ts +14 -0
  252. package/dist/types/search/sync/index.d.ts +14 -0
  253. package/dist/types/search/sync/orama-cloud.d.ts +10 -0
  254. package/dist/types/search/sync/typesense.d.ts +14 -0
  255. package/dist/types/sources/contentful.d.ts +68 -0
  256. package/dist/types/sources/custom.d.ts +20 -0
  257. package/dist/types/sources/filesystem.d.ts +42 -0
  258. package/dist/types/sources/github-releases.d.ts +46 -0
  259. package/dist/types/sources/index.d.ts +48 -0
  260. package/dist/types/sources/mdx-remote.d.ts +63 -0
  261. package/dist/types/sources/notion.d.ts +65 -0
  262. package/dist/types/sources/obsidian.d.ts +34 -0
  263. package/dist/types/sources/payload.d.ts +68 -0
  264. package/dist/types/sources/registry.d.ts +1414 -0
  265. package/dist/types/sources/sanity.d.ts +69 -0
  266. package/dist/types/sources/shared.d.ts +46 -0
  267. package/dist/types/sources/strapi.d.ts +66 -0
  268. package/dist/types/theme/icon-kind.d.ts +11 -0
  269. package/dist/types/theme/icons.d.ts +20 -0
  270. package/docs/01-quickstart.mdx +18 -18
  271. package/docs/02-deployment.mdx +50 -26
  272. package/docs/03-upgrading.mdx +351 -0
  273. package/docs/04-migrating.mdx +58 -0
  274. package/docs/08-faq.mdx +3 -3
  275. package/docs/advanced/blog.mdx +13 -6
  276. package/docs/advanced/changelog.mdx +23 -35
  277. package/docs/advanced/custom-pages.mdx +20 -8
  278. package/docs/advanced/meta.ts +1 -8
  279. package/docs/advanced/skills.mdx +8 -0
  280. package/docs/cli/audit.mdx +646 -0
  281. package/docs/cli/doctor.mdx +29 -0
  282. package/docs/{reference/eval.mdx → cli/evals.mdx} +9 -8
  283. package/docs/cli/index.mdx +105 -0
  284. package/docs/cli/meta.ts +7 -0
  285. package/docs/{reference → cli}/translate.mdx +1 -1
  286. package/docs/cli/validate.mdx +41 -0
  287. package/docs/cli/version.mdx +40 -0
  288. package/docs/configuration/analytics.mdx +350 -59
  289. package/docs/configuration/ask-ai.mdx +162 -61
  290. package/docs/configuration/customization.mdx +15 -9
  291. package/docs/configuration/index.mdx +50 -31
  292. package/docs/configuration/search.mdx +75 -54
  293. package/docs/configuration/theming.mdx +24 -15
  294. package/docs/content/components.mdx +21 -5
  295. package/docs/{reference → content}/frontmatter.mdx +35 -1
  296. package/docs/content/i18n.mdx +8 -6
  297. package/docs/content/includes.mdx +2 -4
  298. package/docs/content/index.mdx +1 -1
  299. package/docs/content/islands.mdx +10 -5
  300. package/docs/content/meta.mdx +1 -1
  301. package/docs/content/meta.ts +1 -0
  302. package/docs/content/navigation.mdx +9 -7
  303. package/docs/content/sources.mdx +145 -50
  304. package/docs/content/syntax.mdx +16 -12
  305. package/docs/content/versioning.mdx +3 -3
  306. package/docs/discoverability/agent-discovery.mdx +11 -11
  307. package/docs/discoverability/index.mdx +4 -4
  308. package/docs/discoverability/json-api.mdx +4 -4
  309. package/docs/discoverability/llms-txt.mdx +6 -6
  310. package/docs/discoverability/markdown.mdx +4 -4
  311. package/docs/discoverability/mcp.mdx +11 -11
  312. package/docs/discoverability/sitemap-and-robots.mdx +3 -3
  313. package/docs/index.mdx +2 -2
  314. package/docs/references/asyncapi.mdx +59 -0
  315. package/docs/{advanced → references}/graphql.mdx +45 -32
  316. package/docs/{reference → references}/meta.ts +2 -2
  317. package/docs/references/openapi.mdx +171 -0
  318. package/docs/references/scalar.mdx +64 -0
  319. package/package.json +42 -8
  320. package/skills/blume/SKILL.md +21 -8
  321. package/skills/blume-migrate/SKILL.md +22 -21
  322. package/skills/blume-migrate/assets/oxfmt@0.67.0.patch +49 -0
  323. package/skills/blume-migrate/references/docusaurus.md +5 -4
  324. package/skills/blume-migrate/references/fumadocs.md +4 -4
  325. package/skills/blume-migrate/references/mintlify.md +23 -8
  326. package/skills/blume-migrate/references/monorepo.md +6 -6
  327. package/skills/blume-migrate/references/starlight.md +4 -4
  328. package/src/ai/agent-readability.ts +21 -22
  329. package/src/ai/ai-catalog.ts +50 -32
  330. package/src/ai/api/handlers.ts +46 -11
  331. package/src/ai/api-catalog.ts +8 -8
  332. package/src/ai/ask-data.ts +1 -1
  333. package/src/ai/ask.ts +624 -100
  334. package/src/ai/changelog-markdown.ts +91 -0
  335. package/src/ai/component-markdown.ts +328 -12
  336. package/src/ai/index.ts +45 -0
  337. package/src/ai/link-headers.ts +7 -6
  338. package/src/ai/llms.ts +20 -15
  339. package/src/ai/markdown.ts +35 -5
  340. package/src/ai/mcp/data.ts +9 -5
  341. package/src/ai/openapi-components.ts +4 -1
  342. package/src/ai/relative-links.ts +170 -0
  343. package/src/ai/serializers.ts +2 -2
  344. package/src/ai/skills.ts +1 -1
  345. package/src/ai/web-bot-auth.ts +2 -2
  346. package/src/analytics/adobe.ts +46 -0
  347. package/src/analytics/amplitude.ts +79 -0
  348. package/src/analytics/clarity.ts +46 -0
  349. package/src/analytics/clearbit.ts +47 -0
  350. package/src/analytics/cloudflare.ts +67 -0
  351. package/src/analytics/fathom.ts +64 -0
  352. package/src/analytics/google-analytics.ts +84 -0
  353. package/src/analytics/google-tag-manager.ts +61 -0
  354. package/src/analytics/head.ts +130 -0
  355. package/src/analytics/heap.ts +65 -0
  356. package/src/analytics/hightouch.ts +77 -0
  357. package/src/analytics/hotjar.ts +47 -0
  358. package/src/analytics/index.ts +71 -0
  359. package/src/analytics/inline.ts +21 -0
  360. package/src/analytics/logrocket.ts +71 -0
  361. package/src/analytics/mixpanel.ts +92 -0
  362. package/src/analytics/pirsch.ts +66 -0
  363. package/src/analytics/plausible.ts +83 -0
  364. package/src/analytics/posthog.ts +78 -0
  365. package/src/analytics/schema.ts +60 -0
  366. package/src/analytics/script.ts +60 -0
  367. package/src/analytics/segment.ts +85 -0
  368. package/src/analytics/vercel.ts +50 -0
  369. package/src/astro/adapter-root.ts +7 -9
  370. package/src/astro/component-slots.ts +131 -91
  371. package/src/astro/generate.ts +112 -345
  372. package/src/astro/integration.ts +2 -6
  373. package/src/astro/pages.ts +13 -101
  374. package/src/astro/render-deps.ts +379 -0
  375. package/src/astro/runtime-deps.ts +201 -0
  376. package/src/astro/templates.ts +554 -541
  377. package/src/audit/agent.ts +24 -0
  378. package/src/audit/catalog.ts +2 -2
  379. package/src/audit/checks/assets.ts +2 -2
  380. package/src/audit/checks/dns-aid.ts +1 -1
  381. package/src/audit/checks/duplicates.ts +3 -1
  382. package/src/audit/checks/i18n.ts +1 -1
  383. package/src/audit/checks/indexability.ts +7 -7
  384. package/src/audit/checks/links.ts +2 -2
  385. package/src/audit/checks/llms.ts +6 -6
  386. package/src/audit/checks/network.ts +3 -3
  387. package/src/audit/checks/og-image.ts +2 -2
  388. package/src/audit/checks/robots.ts +1 -1
  389. package/src/audit/checks/sitemap.ts +2 -2
  390. package/src/audit/checks/social.ts +1 -1
  391. package/src/audit/run.ts +4 -3
  392. package/src/audit/terms.ts +31 -0
  393. package/src/audit/url.ts +13 -13
  394. package/src/cli/command-meta.ts +10 -0
  395. package/src/cli/commands/audit.ts +39 -20
  396. package/src/cli/commands/build.ts +71 -316
  397. package/src/cli/commands/check.ts +1 -0
  398. package/src/cli/commands/dev.ts +40 -1
  399. package/src/cli/commands/doctor.ts +90 -14
  400. package/src/cli/commands/eject.ts +44 -7
  401. package/src/cli/commands/eval.ts +2 -2
  402. package/src/cli/commands/init.ts +161 -41
  403. package/src/cli/commands/migrate.ts +121 -0
  404. package/src/cli/commands/preview.ts +7 -1
  405. package/src/cli/commands/translate.ts +2 -2
  406. package/src/cli/commands/upgrade.ts +141 -0
  407. package/src/cli/commands/version.ts +57 -44
  408. package/src/cli/eject-scripts.ts +121 -6
  409. package/src/cli/index.ts +11 -1
  410. package/src/cli/init/install.ts +70 -0
  411. package/src/cli/init/questions.ts +7 -0
  412. package/src/cli/init/scaffold.ts +459 -75
  413. package/src/cli/lazy-command.ts +37 -1
  414. package/src/cli/prepare.ts +40 -6
  415. package/src/cli/required-secrets.ts +38 -11
  416. package/src/cli/unknown-flags.ts +266 -0
  417. package/src/cli/yarn-pnp.ts +52 -0
  418. package/src/components/content/AccordionItem.astro +7 -1
  419. package/src/components/content/Card.astro +4 -3
  420. package/src/components/content/ColorItem.astro +22 -4
  421. package/src/components/content/GithubInfo.astro +2 -2
  422. package/src/components/content/Prompt.astro +25 -25
  423. package/src/components/content/Tabs.astro +3 -1
  424. package/src/components/content/Tile.astro +2 -3
  425. package/src/components/content/Tooltip.astro +57 -9
  426. package/src/components/content/content-strings.ts +34 -0
  427. package/src/components/content/diff.ts +1 -1
  428. package/src/components/content/mermaid-element.ts +13 -2
  429. package/src/components/content/prompt-markdown.ts +292 -0
  430. package/src/components/content/tooltip-id.ts +41 -0
  431. package/src/components/islands/hooks.ts +25 -2
  432. package/src/components/layout/Analytics.astro +21 -79
  433. package/src/components/layout/Banner.astro +3 -1
  434. package/src/components/layout/DiscoveryLinks.astro +69 -0
  435. package/src/components/layout/Header.astro +83 -20
  436. package/src/components/layout/LanguageSwitcher.astro +4 -1
  437. package/src/components/layout/Logo.astro +23 -2
  438. package/src/components/layout/NavSelector.astro +13 -2
  439. package/src/components/layout/NavTree.astro +12 -3
  440. package/src/components/layout/NavTreeScript.astro +17 -3
  441. package/src/components/layout/PageActions.astro +3 -3
  442. package/src/components/layout/PageFeedback.astro +11 -1
  443. package/src/components/layout/PageLayout.astro +52 -5
  444. package/src/components/layout/ReferenceLayout.astro +21 -12
  445. package/src/components/layout/RootLayout.astro +69 -66
  446. package/src/components/layout/Search.astro +30 -6
  447. package/src/components/layout/WebMcp.astro +1 -1
  448. package/src/components/layout/analytics-client.ts +72 -15
  449. package/src/components/layout/drawer-inert.ts +113 -15
  450. package/src/components/layout/dropdown-clamp.ts +105 -0
  451. package/src/components/layout/head-scripts.ts +15 -6
  452. package/src/components/layout/nav-utils.ts +17 -0
  453. package/src/components/layout/search/algolia.ts +8 -8
  454. package/src/components/layout/search/orama-cloud.ts +9 -7
  455. package/src/components/layout/search/typesense.ts +11 -17
  456. package/src/components/openapi/MessageComposer.astro +2 -2
  457. package/src/components/openapi/Playground.astro +2 -2
  458. package/src/components/openapi/playground-client.ts +79 -10
  459. package/src/core/changelog-index.ts +24 -0
  460. package/src/core/component-overrides.ts +399 -154
  461. package/src/core/config-input.ts +188 -553
  462. package/src/core/config.ts +130 -41
  463. package/src/core/custom-pages.ts +105 -0
  464. package/src/core/data.ts +31 -12
  465. package/src/core/define-components.ts +12 -9
  466. package/src/core/deployment-env.ts +18 -74
  467. package/src/core/diagnostics.ts +14 -7
  468. package/src/core/graph.ts +69 -25
  469. package/src/core/i18n-ui.ts +6 -2
  470. package/src/core/i18n.ts +17 -0
  471. package/src/core/includes.ts +156 -38
  472. package/src/core/last-modified.ts +6 -11
  473. package/src/core/links.ts +166 -2
  474. package/src/core/manifest.ts +10 -3
  475. package/src/core/navigation.ts +115 -16
  476. package/src/core/new-tab.ts +35 -0
  477. package/src/core/node-require.ts +21 -0
  478. package/src/core/project-graph.ts +42 -26
  479. package/src/core/project.ts +9 -4
  480. package/src/core/request-body.ts +61 -0
  481. package/src/core/safe-href.ts +28 -0
  482. package/src/core/safe-links.ts +68 -0
  483. package/src/core/schema.ts +517 -739
  484. package/src/core/server-features.ts +8 -9
  485. package/src/core/sources/assets.ts +47 -11
  486. package/src/core/sources/collection.ts +67 -0
  487. package/src/core/sources/contentful-rich-text.ts +285 -0
  488. package/src/core/sources/contentful.ts +173 -0
  489. package/src/core/sources/github-releases.ts +51 -1
  490. package/src/core/sources/json.ts +71 -0
  491. package/src/core/sources/lexical.ts +195 -0
  492. package/src/core/sources/lower.ts +226 -0
  493. package/src/core/sources/normalize.ts +52 -2
  494. package/src/core/sources/notion.ts +39 -28
  495. package/src/core/sources/payload.ts +135 -0
  496. package/src/core/sources/portable-text.ts +11 -16
  497. package/src/core/sources/remote.ts +226 -0
  498. package/src/core/sources/resolve.ts +104 -166
  499. package/src/core/sources/sanity.ts +16 -49
  500. package/src/core/sources/strapi-blocks.ts +124 -0
  501. package/src/core/sources/strapi.ts +191 -0
  502. package/src/core/sources/types.ts +12 -1
  503. package/src/core/types.ts +15 -1
  504. package/src/core/ui-packs/ar.ts +6 -2
  505. package/src/core/ui-packs/bg.ts +6 -2
  506. package/src/core/ui-packs/bn.ts +6 -2
  507. package/src/core/ui-packs/ca.ts +3 -1
  508. package/src/core/ui-packs/cs.ts +6 -2
  509. package/src/core/ui-packs/da.ts +6 -2
  510. package/src/core/ui-packs/de.ts +6 -2
  511. package/src/core/ui-packs/el.ts +3 -1
  512. package/src/core/ui-packs/es.ts +3 -1
  513. package/src/core/ui-packs/fa.ts +6 -2
  514. package/src/core/ui-packs/fi.ts +6 -2
  515. package/src/core/ui-packs/fr.ts +3 -1
  516. package/src/core/ui-packs/he.ts +6 -2
  517. package/src/core/ui-packs/hi.ts +6 -2
  518. package/src/core/ui-packs/hr.ts +6 -2
  519. package/src/core/ui-packs/hu.ts +6 -2
  520. package/src/core/ui-packs/id.ts +6 -2
  521. package/src/core/ui-packs/it.ts +3 -1
  522. package/src/core/ui-packs/ja.ts +3 -1
  523. package/src/core/ui-packs/ko.ts +3 -1
  524. package/src/core/ui-packs/nl.ts +6 -2
  525. package/src/core/ui-packs/no.ts +6 -2
  526. package/src/core/ui-packs/pl.ts +6 -2
  527. package/src/core/ui-packs/pt-br.ts +3 -1
  528. package/src/core/ui-packs/pt.ts +3 -1
  529. package/src/core/ui-packs/ro.ts +6 -2
  530. package/src/core/ui-packs/ru.ts +6 -2
  531. package/src/core/ui-packs/sk.ts +6 -2
  532. package/src/core/ui-packs/sr.ts +6 -2
  533. package/src/core/ui-packs/sv.ts +6 -2
  534. package/src/core/ui-packs/th.ts +3 -1
  535. package/src/core/ui-packs/tr.ts +6 -2
  536. package/src/core/ui-packs/uk.ts +6 -2
  537. package/src/core/ui-packs/vi.ts +3 -1
  538. package/src/core/ui-packs/zh-tw.ts +3 -1
  539. package/src/core/ui-packs/zh.ts +3 -1
  540. package/src/core/unrecognized-keys.ts +10 -0
  541. package/src/core/version-cut.ts +116 -8
  542. package/src/deploy/adapter-output.ts +57 -97
  543. package/src/deploy/adapters/cloudflare.ts +39 -0
  544. package/src/deploy/adapters/index.ts +41 -0
  545. package/src/deploy/adapters/netlify.ts +34 -0
  546. package/src/deploy/adapters/node.ts +34 -0
  547. package/src/deploy/adapters/registry.ts +127 -0
  548. package/src/deploy/adapters/types.ts +92 -0
  549. package/src/deploy/adapters/vercel.ts +35 -0
  550. package/src/deploy/artifacts.ts +55 -27
  551. package/src/deploy/cloudflare-negotiation.ts +179 -100
  552. package/src/deploy/function-bundle.ts +18 -3
  553. package/src/deploy/headers.ts +124 -23
  554. package/src/deploy/node-headers.ts +198 -0
  555. package/src/deploy/platforms/cloudflare.ts +312 -0
  556. package/src/deploy/platforms/index.ts +67 -0
  557. package/src/deploy/platforms/netlify.ts +52 -0
  558. package/src/deploy/platforms/node.ts +40 -0
  559. package/src/deploy/platforms/paths.ts +42 -0
  560. package/src/deploy/platforms/static.ts +29 -0
  561. package/src/deploy/platforms/types.ts +112 -0
  562. package/src/deploy/platforms/vercel.ts +193 -0
  563. package/src/deploy/redirects.ts +30 -18
  564. package/src/deploy/robots.ts +3 -3
  565. package/src/deploy/rss.ts +2 -2
  566. package/src/deploy/sitemap.ts +2 -2
  567. package/src/deploy/vercel-negotiation.ts +2 -2
  568. package/src/eval/agents.ts +32 -1
  569. package/src/eval/findings.ts +19 -11
  570. package/src/eval/report.ts +10 -2
  571. package/src/markdown/external-links.ts +65 -0
  572. package/src/markdown/include.ts +45 -27
  573. package/src/markdown/index.ts +34 -9
  574. package/src/markdown/inline-code.ts +12 -6
  575. package/src/markdown/relative-links.ts +324 -0
  576. package/src/markdown/themes.ts +3 -3
  577. package/src/migrate/migrate.ts +149 -0
  578. package/src/openapi/parse.ts +64 -16
  579. package/src/openapi/proxy.ts +62 -10
  580. package/src/openapi/references.ts +147 -147
  581. package/src/openapi/render-mdx.ts +32 -10
  582. package/src/openapi/scalar.ts +15 -13
  583. package/src/openapi/sentence.ts +14 -0
  584. package/src/openapi/source.ts +37 -21
  585. package/src/openapi/spec-dependency-error.ts +15 -0
  586. package/src/reference/asyncapi.ts +83 -0
  587. package/src/reference/graphql.ts +89 -0
  588. package/src/reference/index.ts +40 -0
  589. package/src/reference/openapi.ts +83 -0
  590. package/src/reference/options.ts +201 -0
  591. package/src/reference/scalar.ts +136 -0
  592. package/src/reference/schema.ts +88 -0
  593. package/src/registry/eject.ts +97 -42
  594. package/src/search/adapters/algolia.ts +46 -0
  595. package/src/search/adapters/flexsearch.ts +29 -0
  596. package/src/search/adapters/index.ts +39 -0
  597. package/src/search/adapters/mixedbread.ts +39 -0
  598. package/src/search/adapters/orama-cloud.ts +51 -0
  599. package/src/search/adapters/orama.ts +24 -0
  600. package/src/search/adapters/pagefind.ts +27 -0
  601. package/src/search/adapters/registry.ts +131 -0
  602. package/src/search/adapters/types.ts +46 -0
  603. package/src/search/adapters/typesense.ts +57 -0
  604. package/src/search/build.ts +8 -4
  605. package/src/search/documents.ts +6 -0
  606. package/src/search/sync/algolia.ts +12 -11
  607. package/src/search/sync/index.ts +35 -20
  608. package/src/search/sync/orama-cloud.ts +12 -9
  609. package/src/search/sync/typesense.ts +15 -13
  610. package/src/sources/contentful.ts +63 -0
  611. package/src/sources/custom.ts +38 -0
  612. package/src/sources/filesystem.ts +51 -0
  613. package/src/sources/github-releases.ts +52 -0
  614. package/src/sources/index.ts +60 -0
  615. package/src/sources/mdx-remote.ts +76 -0
  616. package/src/sources/notion.ts +63 -0
  617. package/src/sources/obsidian.ts +38 -0
  618. package/src/sources/payload.ts +60 -0
  619. package/src/sources/registry.ts +182 -0
  620. package/src/sources/sanity.ts +66 -0
  621. package/src/sources/shared.ts +52 -0
  622. package/src/sources/strapi.ts +58 -0
  623. package/src/theme/entry.ts +24 -2
  624. package/src/translate/report.ts +40 -7
  625. package/src/upgrade/upgrade.ts +499 -0
  626. package/dist/cli/chunk-0qymqwzz.js +0 -164
  627. package/dist/cli/chunk-0qymqwzz.js.map +0 -15
  628. package/dist/cli/chunk-1jefwnfs.js.map +0 -48
  629. package/dist/cli/chunk-2mzebbbz.js +0 -69
  630. package/dist/cli/chunk-2z47ypj8.js.map +0 -11
  631. package/dist/cli/chunk-4x36ddpw.js.map +0 -11
  632. package/dist/cli/chunk-5093q3n7.js +0 -68
  633. package/dist/cli/chunk-5093q3n7.js.map +0 -10
  634. package/dist/cli/chunk-5qk08vmp.js.map +0 -11
  635. package/dist/cli/chunk-7s8hm3b6.js +0 -5347
  636. package/dist/cli/chunk-7s8hm3b6.js.map +0 -58
  637. package/dist/cli/chunk-8cjtbafj.js.map +0 -13
  638. package/dist/cli/chunk-97r59kpr.js +0 -381
  639. package/dist/cli/chunk-97r59kpr.js.map +0 -12
  640. package/dist/cli/chunk-ahnw3kxw.js.map +0 -15
  641. package/dist/cli/chunk-b27xqwn9.js.map +0 -10
  642. package/dist/cli/chunk-bf6bt1xt.js +0 -185
  643. package/dist/cli/chunk-bf6bt1xt.js.map +0 -11
  644. package/dist/cli/chunk-cjtn640a.js.map +0 -10
  645. package/dist/cli/chunk-ct47dqpx.js.map +0 -11
  646. package/dist/cli/chunk-esphfr8p.js +0 -107
  647. package/dist/cli/chunk-esphfr8p.js.map +0 -11
  648. package/dist/cli/chunk-ex56aa81.js +0 -1016
  649. package/dist/cli/chunk-ex56aa81.js.map +0 -13
  650. package/dist/cli/chunk-garjf5z9.js +0 -30
  651. package/dist/cli/chunk-garjf5z9.js.map +0 -10
  652. package/dist/cli/chunk-js7saxwm.js +0 -1045
  653. package/dist/cli/chunk-js7saxwm.js.map +0 -22
  654. package/dist/cli/chunk-k79xp7av.js.map +0 -39
  655. package/dist/cli/chunk-ps4m1xh4.js.map +0 -15
  656. package/dist/cli/chunk-q4rae3bg.js +0 -60
  657. package/dist/cli/chunk-q4rae3bg.js.map +0 -10
  658. package/dist/cli/chunk-rz9jmfhz.js +0 -108
  659. package/dist/cli/chunk-rz9jmfhz.js.map +0 -10
  660. package/dist/cli/chunk-vh9w1sgp.js +0 -73
  661. package/dist/cli/chunk-vh9w1sgp.js.map +0 -10
  662. package/dist/cli/chunk-vrfp10qk.js +0 -81
  663. package/dist/cli/chunk-vrfp10qk.js.map +0 -10
  664. package/dist/cli/chunk-yg63d42r.js.map +0 -34
  665. package/docs/advanced/api-reference.mdx +0 -240
  666. package/docs/reference/cli.mdx +0 -197
  667. package/skills/blume-migrate/assets/oxfmt@0.55.0.patch +0 -20
  668. package/src/components/content/changelog-element.ts +0 -69
  669. package/src/search/providers.ts +0 -91
  670. /package/dist/cli/{chunk-e7f42gdj.js.map → chunk-7ez8ny0t.js.map} +0 -0
  671. /package/dist/cli/{chunk-nn13znc2.js.map → chunk-88cpgt6h.js.map} +0 -0
  672. /package/dist/cli/{chunk-vacwm2hv.js.map → chunk-f7t03s3g.js.map} +0 -0
  673. /package/dist/cli/{chunk-dwgcp5sm.js.map → chunk-zxccj738.js.map} +0 -0
@@ -2,8 +2,9 @@ import type { AstroIntegration } from "astro";
2
2
  import { z } from "zod";
3
3
  import type { ComponentMarkdown } from "../ai/component-markdown.ts";
4
4
  import type { CodeTheme } from "../markdown/themes.ts";
5
- import type { ContentSource } from "./sources/types.ts";
5
+ import type { SearchAdapterInput } from "../search/adapters/registry.ts";
6
6
  import type { StandardSchema } from "./standard-schema.ts";
7
+ /** Default include glob for filesystem-backed content sources. */
7
8
  declare const hydrationMode: z.ZodEnum<{
8
9
  load: "load";
9
10
  idle: "idle";
@@ -55,7 +56,6 @@ declare const pageMetaBaseSchema: z.ZodObject<{
55
56
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
56
57
  noindex: z.ZodDefault<z.ZodBoolean>;
57
58
  search: z.ZodPrefault<z.ZodObject<{
58
- boost: z.ZodOptional<z.ZodNumber>;
59
59
  exclude: z.ZodDefault<z.ZodBoolean>;
60
60
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
61
  }, z.core.$strict>>;
@@ -114,7 +114,6 @@ export declare const pageMetaSchema: z.ZodObject<{
114
114
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
115
115
  noindex: z.ZodDefault<z.ZodBoolean>;
116
116
  search: z.ZodPrefault<z.ZodObject<{
117
- boost: z.ZodOptional<z.ZodNumber>;
118
117
  exclude: z.ZodDefault<z.ZodBoolean>;
119
118
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
119
  }, z.core.$strict>>;
@@ -186,7 +185,6 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
186
185
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
187
186
  noindex: z.ZodDefault<z.ZodBoolean>;
188
187
  search: z.ZodPrefault<z.ZodObject<{
189
- boost: z.ZodOptional<z.ZodNumber>;
190
188
  exclude: z.ZodDefault<z.ZodBoolean>;
191
189
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
190
  }, z.core.$strict>>;
@@ -229,75 +227,8 @@ export declare const folderMetaSchema: z.ZodObject<{
229
227
  title: z.ZodOptional<z.ZodString>;
230
228
  }, z.core.$strict>;
231
229
  export type FolderMeta = z.infer<typeof folderMetaSchema>;
232
- /** A single configured content source. */
233
- declare const contentSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
234
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
235
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
236
- prefix: z.ZodOptional<z.ZodString>;
237
- root: z.ZodDefault<z.ZodString>;
238
- type: z.ZodLiteral<"filesystem">;
239
- }, z.core.$strict>, z.ZodObject<{
240
- files: z.ZodOptional<z.ZodArray<z.ZodString>>;
241
- github: z.ZodOptional<z.ZodObject<{
242
- owner: z.ZodString;
243
- path: z.ZodDefault<z.ZodString>;
244
- ref: z.ZodDefault<z.ZodString>;
245
- repo: z.ZodString;
246
- }, z.core.$strict>>;
247
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
248
- pollInterval: z.ZodOptional<z.ZodNumber>;
249
- prefix: z.ZodOptional<z.ZodString>;
250
- type: z.ZodLiteral<"mdx-remote">;
251
- url: z.ZodOptional<z.ZodString>;
252
- }, z.core.$strict>, z.ZodObject<{
253
- drafts: z.ZodOptional<z.ZodBoolean>;
254
- limit: z.ZodOptional<z.ZodNumber>;
255
- owner: z.ZodString;
256
- pollInterval: z.ZodOptional<z.ZodNumber>;
257
- prefix: z.ZodOptional<z.ZodString>;
258
- prereleases: z.ZodOptional<z.ZodBoolean>;
259
- repo: z.ZodString;
260
- type: z.ZodLiteral<"github-releases">;
261
- }, z.core.$strict>, z.ZodObject<{
262
- apiVersion: z.ZodOptional<z.ZodString>;
263
- dataset: z.ZodString;
264
- fields: z.ZodOptional<z.ZodObject<{
265
- body: z.ZodOptional<z.ZodString>;
266
- description: z.ZodOptional<z.ZodString>;
267
- lastModified: z.ZodOptional<z.ZodString>;
268
- slug: z.ZodOptional<z.ZodString>;
269
- title: z.ZodOptional<z.ZodString>;
270
- }, z.core.$strict>>;
271
- pollInterval: z.ZodOptional<z.ZodNumber>;
272
- prefix: z.ZodOptional<z.ZodString>;
273
- projectId: z.ZodString;
274
- query: z.ZodString;
275
- type: z.ZodLiteral<"sanity">;
276
- }, z.core.$strip>, z.ZodObject<{
277
- concurrency: z.ZodOptional<z.ZodNumber>;
278
- database: z.ZodString;
279
- pollInterval: z.ZodOptional<z.ZodNumber>;
280
- prefix: z.ZodOptional<z.ZodString>;
281
- properties: z.ZodOptional<z.ZodObject<{
282
- description: z.ZodOptional<z.ZodString>;
283
- order: z.ZodOptional<z.ZodString>;
284
- slug: z.ZodOptional<z.ZodString>;
285
- status: z.ZodOptional<z.ZodString>;
286
- title: z.ZodOptional<z.ZodString>;
287
- }, z.core.$strict>>;
288
- publishedValue: z.ZodOptional<z.ZodString>;
289
- type: z.ZodLiteral<"notion">;
290
- }, z.core.$strip>, z.ZodObject<{
291
- exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
292
- prefix: z.ZodOptional<z.ZodString>;
293
- type: z.ZodLiteral<"obsidian">;
294
- vault: z.ZodString;
295
- }, z.core.$strict>, z.ZodObject<{
296
- source: z.ZodCustom<ContentSource, ContentSource>;
297
- type: z.ZodLiteral<"custom">;
298
- }, z.core.$strip>], "type">;
299
- /** A resolved content-source config entry (post-defaults). */
300
- export type ContentSourceConfig = z.infer<typeof contentSourceSchema>;
230
+ /** A validated `content.sources` entry: an adapter descriptor from `blume/sources`. */
231
+ export type { ContentSourceAdapter } from "../sources/registry.ts";
301
232
  /**
302
233
  * A header label that may localize: a plain string, or a map of locale code to
303
234
  * label (`{ en: "Docs", ja: "ドキュメント" }`). Resolved when each locale's
@@ -326,40 +257,312 @@ export type SidebarItemConfig = string | {
326
257
  items?: SidebarItemConfig[];
327
258
  root?: string;
328
259
  };
329
- export declare const searchProviders: readonly ["orama", "pagefind", "flexsearch", "algolia", "orama-cloud", "typesense", "mixedbread", "none"];
330
- /**
331
- * The `ai.ask.reasoning` levels: the AI SDK's top-level `reasoning` values
332
- * minus `provider-default`, which is what omitting the field means.
333
- */
334
- export declare const askReasoningLevels: readonly ["none", "minimal", "low", "medium", "high", "xhigh"];
335
- /** Ask AI backends. `gateway` (default) routes through the Vercel AI Gateway. */
336
- export declare const askAiProviders: readonly ["gateway", "openrouter", "llmgateway", "inkeep", "openai-compatible"];
260
+ /** The object form of `search`: the adapter plus its adapter-independent settings. */
261
+ declare const searchOptionsSchema: z.ZodObject<{
262
+ indexing: z.ZodPrefault<z.ZodObject<{
263
+ includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
264
+ includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
265
+ }, z.core.$strict>>;
266
+ popular: z.ZodDefault<z.ZodArray<z.ZodObject<{
267
+ href: z.ZodString;
268
+ icon: z.ZodOptional<z.ZodString>;
269
+ label: z.ZodString;
270
+ }, z.core.$strict>>>;
271
+ provider: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<false | SearchAdapterInput, false | SearchAdapterInput>, z.ZodTransform<{
272
+ kind: "algolia";
273
+ options: {
274
+ [x: string]: z.core.util.JSONType;
275
+ apiKey: string;
276
+ appId: string;
277
+ indexName: string;
278
+ };
279
+ requiredSecrets: string[];
280
+ runtimeDeps: string[];
281
+ mode: "hosted";
282
+ } | {
283
+ kind: "flexsearch";
284
+ options: Record<string, never>;
285
+ requiredSecrets: string[];
286
+ runtimeDeps: string[];
287
+ mode: "static";
288
+ } | {
289
+ kind: "mixedbread";
290
+ options: {
291
+ [x: string]: z.core.util.JSONType;
292
+ storeId: string;
293
+ };
294
+ requiredSecrets: string[];
295
+ runtimeDeps: string[];
296
+ mode: "server";
297
+ } | {
298
+ kind: "orama";
299
+ options: Record<string, never>;
300
+ requiredSecrets: string[];
301
+ runtimeDeps: string[];
302
+ mode: "static";
303
+ } | {
304
+ kind: "orama-cloud";
305
+ options: {
306
+ [x: string]: z.core.util.JSONType;
307
+ apiKey: string;
308
+ endpoint: string;
309
+ indexId?: string | undefined;
310
+ };
311
+ requiredSecrets: string[];
312
+ runtimeDeps: string[];
313
+ mode: "hosted";
314
+ } | {
315
+ kind: "pagefind";
316
+ options: Record<string, never>;
317
+ requiredSecrets: string[];
318
+ runtimeDeps: string[];
319
+ mode: "pagefind";
320
+ } | {
321
+ kind: "typesense";
322
+ options: {
323
+ [x: string]: z.core.util.JSONType;
324
+ apiKey: string;
325
+ collection: string;
326
+ host: string;
327
+ port?: number | undefined;
328
+ protocol?: "http" | "https" | undefined;
329
+ };
330
+ requiredSecrets: string[];
331
+ runtimeDeps: string[];
332
+ mode: "hosted";
333
+ } | import("../search/adapters/registry.ts").NoneSearchAdapter, false | SearchAdapterInput>>, z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
334
+ kind: z.ZodLiteral<"algolia">;
335
+ options: z.ZodObject<{
336
+ apiKey: z.ZodString;
337
+ appId: z.ZodString;
338
+ indexName: z.ZodString;
339
+ }, z.core.$catchall<z.ZodJSONSchema>>;
340
+ requiredSecrets: z.ZodArray<z.ZodString>;
341
+ runtimeDeps: z.ZodArray<z.ZodString>;
342
+ mode: z.ZodLiteral<"hosted">;
343
+ }, z.core.$strict>, z.ZodObject<{
344
+ kind: z.ZodLiteral<"flexsearch">;
345
+ options: z.ZodObject<{}, z.core.$strict>;
346
+ requiredSecrets: z.ZodArray<z.ZodString>;
347
+ runtimeDeps: z.ZodArray<z.ZodString>;
348
+ mode: z.ZodLiteral<"static">;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ kind: z.ZodLiteral<"mixedbread">;
351
+ options: z.ZodObject<{
352
+ storeId: z.ZodString;
353
+ }, z.core.$catchall<z.ZodJSONSchema>>;
354
+ requiredSecrets: z.ZodArray<z.ZodString>;
355
+ runtimeDeps: z.ZodArray<z.ZodString>;
356
+ mode: z.ZodLiteral<"server">;
357
+ }, z.core.$strict>, z.ZodObject<{
358
+ kind: z.ZodLiteral<"orama">;
359
+ options: z.ZodObject<{}, z.core.$strict>;
360
+ requiredSecrets: z.ZodArray<z.ZodString>;
361
+ runtimeDeps: z.ZodArray<z.ZodString>;
362
+ mode: z.ZodLiteral<"static">;
363
+ }, z.core.$strict>, z.ZodObject<{
364
+ kind: z.ZodLiteral<"orama-cloud">;
365
+ options: z.ZodObject<{
366
+ apiKey: z.ZodString;
367
+ endpoint: z.ZodString;
368
+ indexId: z.ZodOptional<z.ZodString>;
369
+ }, z.core.$catchall<z.ZodJSONSchema>>;
370
+ requiredSecrets: z.ZodArray<z.ZodString>;
371
+ runtimeDeps: z.ZodArray<z.ZodString>;
372
+ mode: z.ZodLiteral<"hosted">;
373
+ }, z.core.$strict>, z.ZodObject<{
374
+ kind: z.ZodLiteral<"pagefind">;
375
+ options: z.ZodObject<{}, z.core.$strict>;
376
+ requiredSecrets: z.ZodArray<z.ZodString>;
377
+ runtimeDeps: z.ZodArray<z.ZodString>;
378
+ mode: z.ZodLiteral<"pagefind">;
379
+ }, z.core.$strict>, z.ZodObject<{
380
+ kind: z.ZodLiteral<"typesense">;
381
+ options: z.ZodObject<{
382
+ apiKey: z.ZodString;
383
+ collection: z.ZodString;
384
+ host: z.ZodString;
385
+ port: z.ZodOptional<z.ZodNumber>;
386
+ protocol: z.ZodOptional<z.ZodEnum<{
387
+ http: "http";
388
+ https: "https";
389
+ }>>;
390
+ }, z.core.$catchall<z.ZodJSONSchema>>;
391
+ requiredSecrets: z.ZodArray<z.ZodString>;
392
+ runtimeDeps: z.ZodArray<z.ZodString>;
393
+ mode: z.ZodLiteral<"hosted">;
394
+ }, z.core.$strict>, z.ZodObject<{
395
+ kind: z.ZodLiteral<"none">;
396
+ options: z.ZodObject<{}, z.core.$strict>;
397
+ requiredSecrets: z.ZodArray<z.ZodString>;
398
+ runtimeDeps: z.ZodArray<z.ZodString>;
399
+ mode: z.ZodLiteral<"none">;
400
+ }, z.core.$strict>], "kind">, z.ZodTransform<import("../search/adapters/registry.ts").NoneSearchAdapter | import("../search/adapters/algolia.ts").AlgoliaAdapter | import("../search/adapters/flexsearch.ts").FlexsearchAdapter | import("../search/adapters/mixedbread.ts").MixedbreadAdapter | import("../search/adapters/orama.ts").OramaAdapter | import("../search/adapters/orama-cloud.ts").OramaCloudAdapter | import("../search/adapters/pagefind.ts").PagefindAdapter | import("../search/adapters/typesense.ts").TypesenseAdapter, {
401
+ kind: "algolia";
402
+ options: {
403
+ [x: string]: z.core.util.JSONType;
404
+ apiKey: string;
405
+ appId: string;
406
+ indexName: string;
407
+ };
408
+ requiredSecrets: string[];
409
+ runtimeDeps: string[];
410
+ mode: "hosted";
411
+ } | {
412
+ kind: "flexsearch";
413
+ options: Record<string, never>;
414
+ requiredSecrets: string[];
415
+ runtimeDeps: string[];
416
+ mode: "static";
417
+ } | {
418
+ kind: "mixedbread";
419
+ options: {
420
+ [x: string]: z.core.util.JSONType;
421
+ storeId: string;
422
+ };
423
+ requiredSecrets: string[];
424
+ runtimeDeps: string[];
425
+ mode: "server";
426
+ } | {
427
+ kind: "orama";
428
+ options: Record<string, never>;
429
+ requiredSecrets: string[];
430
+ runtimeDeps: string[];
431
+ mode: "static";
432
+ } | {
433
+ kind: "orama-cloud";
434
+ options: {
435
+ [x: string]: z.core.util.JSONType;
436
+ apiKey: string;
437
+ endpoint: string;
438
+ indexId?: string | undefined;
439
+ };
440
+ requiredSecrets: string[];
441
+ runtimeDeps: string[];
442
+ mode: "hosted";
443
+ } | {
444
+ kind: "pagefind";
445
+ options: Record<string, never>;
446
+ requiredSecrets: string[];
447
+ runtimeDeps: string[];
448
+ mode: "pagefind";
449
+ } | {
450
+ kind: "typesense";
451
+ options: {
452
+ [x: string]: z.core.util.JSONType;
453
+ apiKey: string;
454
+ collection: string;
455
+ host: string;
456
+ port?: number | undefined;
457
+ protocol?: "http" | "https" | undefined;
458
+ };
459
+ requiredSecrets: string[];
460
+ runtimeDeps: string[];
461
+ mode: "hosted";
462
+ } | {
463
+ kind: "none";
464
+ options: Record<string, never>;
465
+ requiredSecrets: string[];
466
+ runtimeDeps: string[];
467
+ mode: "none";
468
+ }>>>>;
469
+ }, z.core.$strict>;
470
+ type SearchOptionsInput = z.input<typeof searchOptionsSchema>;
471
+ /** What `search` accepts: an adapter (or `false`) directly, or the object form. */
472
+ type SearchConfigInput = false | SearchAdapterInput | SearchOptionsInput;
337
473
  declare const aiConfigSchema: z.ZodObject<{
338
- api: z.ZodDefault<z.ZodBoolean>;
339
474
  ask: z.ZodOptional<z.ZodObject<{
340
- apiKeyEnv: z.ZodOptional<z.ZodString>;
341
- baseUrl: z.ZodOptional<z.ZodURL>;
342
475
  cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
343
476
  enabled: z.ZodDefault<z.ZodBoolean>;
344
477
  endpoint: z.ZodOptional<z.ZodString>;
345
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
346
478
  instructions: z.ZodOptional<z.ZodString>;
347
- model: z.ZodDefault<z.ZodString>;
348
- provider: z.ZodDefault<z.ZodEnum<{
349
- gateway: "gateway";
350
- openrouter: "openrouter";
351
- llmgateway: "llmgateway";
352
- inkeep: "inkeep";
353
- "openai-compatible": "openai-compatible";
354
- }>>;
355
- reasoning: z.ZodOptional<z.ZodEnum<{
356
- none: "none";
357
- minimal: "minimal";
358
- low: "low";
359
- medium: "medium";
360
- high: "high";
361
- xhigh: "xhigh";
362
- }>>;
479
+ provider: z.ZodPrefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
480
+ kind: z.ZodLiteral<"gateway">;
481
+ options: z.ZodObject<{
482
+ model: z.ZodDefault<z.ZodString>;
483
+ reasoning: z.ZodOptional<z.ZodEnum<{
484
+ none: "none";
485
+ minimal: "minimal";
486
+ low: "low";
487
+ medium: "medium";
488
+ high: "high";
489
+ xhigh: "xhigh";
490
+ }>>;
491
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
492
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
493
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
494
+ }, z.core.$strict>;
495
+ requiredSecrets: z.ZodArray<z.ZodString>;
496
+ runtimeDeps: z.ZodArray<z.ZodString>;
497
+ }, z.core.$strict>, z.ZodObject<{
498
+ kind: z.ZodLiteral<"openrouter">;
499
+ options: z.ZodObject<{
500
+ model: z.ZodString;
501
+ reasoning: z.ZodOptional<z.ZodEnum<{
502
+ none: "none";
503
+ minimal: "minimal";
504
+ low: "low";
505
+ medium: "medium";
506
+ high: "high";
507
+ xhigh: "xhigh";
508
+ }>>;
509
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
510
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
511
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
512
+ }, z.core.$strict>;
513
+ requiredSecrets: z.ZodArray<z.ZodString>;
514
+ runtimeDeps: z.ZodArray<z.ZodString>;
515
+ }, z.core.$strict>, z.ZodObject<{
516
+ kind: z.ZodLiteral<"llmgateway">;
517
+ options: z.ZodObject<{
518
+ baseUrl: z.ZodDefault<z.ZodURL>;
519
+ model: z.ZodString;
520
+ reasoning: z.ZodOptional<z.ZodEnum<{
521
+ none: "none";
522
+ minimal: "minimal";
523
+ low: "low";
524
+ medium: "medium";
525
+ high: "high";
526
+ xhigh: "xhigh";
527
+ }>>;
528
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
529
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
530
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
531
+ }, z.core.$strict>;
532
+ requiredSecrets: z.ZodArray<z.ZodString>;
533
+ runtimeDeps: z.ZodArray<z.ZodString>;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ kind: z.ZodLiteral<"inkeep">;
536
+ options: z.ZodObject<{
537
+ baseUrl: z.ZodDefault<z.ZodURL>;
538
+ model: z.ZodString;
539
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
540
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
541
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
542
+ }, z.core.$strict>;
543
+ requiredSecrets: z.ZodArray<z.ZodString>;
544
+ runtimeDeps: z.ZodArray<z.ZodString>;
545
+ }, z.core.$strict>, z.ZodObject<{
546
+ kind: z.ZodLiteral<"openai-compatible">;
547
+ options: z.ZodObject<{
548
+ apiKeyEnv: z.ZodString;
549
+ baseUrl: z.ZodURL;
550
+ model: z.ZodString;
551
+ name: z.ZodDefault<z.ZodString>;
552
+ reasoning: z.ZodOptional<z.ZodEnum<{
553
+ none: "none";
554
+ minimal: "minimal";
555
+ low: "low";
556
+ medium: "medium";
557
+ high: "high";
558
+ xhigh: "xhigh";
559
+ }>>;
560
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
561
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
562
+ }, z.core.$strict>;
563
+ requiredSecrets: z.ZodArray<z.ZodString>;
564
+ runtimeDeps: z.ZodArray<z.ZodString>;
565
+ }, z.core.$strict>], "kind">>;
363
566
  retrieval: z.ZodOptional<z.ZodObject<{
364
567
  contextBudget: z.ZodOptional<z.ZodNumber>;
365
568
  excerptChars: z.ZodOptional<z.ZodNumber>;
@@ -370,36 +573,6 @@ declare const aiConfigSchema: z.ZodObject<{
370
573
  label: z.ZodString;
371
574
  }, z.core.$strict>>>;
372
575
  }, z.core.$strict>>;
373
- catalog: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
374
- enabled: z.ZodDefault<z.ZodBoolean>;
375
- queries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
376
- }, z.core.$strict>]>>, z.ZodTransform<{
377
- enabled: boolean;
378
- queries: Record<string, string[]>;
379
- }, boolean | {
380
- enabled: boolean;
381
- queries: Record<string, string[]>;
382
- }>>;
383
- llmsTxt: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
384
- details: z.ZodOptional<z.ZodString>;
385
- enabled: z.ZodDefault<z.ZodBoolean>;
386
- openapi: z.ZodDefault<z.ZodBoolean>;
387
- }, z.core.$strict>]>>, z.ZodTransform<{
388
- enabled: boolean;
389
- openapi: boolean;
390
- details?: string | undefined;
391
- }, boolean | {
392
- enabled: boolean;
393
- openapi: boolean;
394
- details?: string | undefined;
395
- }>>;
396
- markdownComponents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodCustom<ComponentMarkdown, ComponentMarkdown>>>;
397
- mcp: z.ZodPrefault<z.ZodObject<{
398
- enabled: z.ZodDefault<z.ZodBoolean>;
399
- instructions: z.ZodOptional<z.ZodString>;
400
- name: z.ZodOptional<z.ZodString>;
401
- route: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>;
402
- }, z.core.$strict>>;
403
576
  openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
404
577
  v0: "v0";
405
578
  chatgpt: "chatgpt";
@@ -408,14 +581,9 @@ declare const aiConfigSchema: z.ZodObject<{
408
581
  scira: "scira";
409
582
  cursor: "cursor";
410
583
  }>>]>>, z.ZodTransform<("v0" | "chatgpt" | "claude" | "t3" | "scira" | "cursor")[], boolean | ("v0" | "chatgpt" | "claude" | "t3" | "scira" | "cursor")[]>>;
411
- skills: z.ZodOptional<z.ZodString>;
412
- webBotAuth: z.ZodPrefault<z.ZodObject<{
413
- keys: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
414
- }, z.core.$strict>>;
415
- webmcp: z.ZodDefault<z.ZodBoolean>;
416
584
  }, z.core.$strict>;
417
- export type AskAiProvider = (typeof askAiProviders)[number];
418
- export type AskReasoning = (typeof askReasoningLevels)[number];
585
+ export { askReasoningLevels } from "../ai/ask.ts";
586
+ export type { AskReasoning } from "../ai/ask.ts";
419
587
  export type AskAiConfig = NonNullable<z.infer<typeof aiConfigSchema>["ask"]>;
420
588
  export { openInChatProviders } from "./open-in-chat.ts";
421
589
  export type { OpenInChatProvider } from "./open-in-chat.ts";
@@ -563,75 +731,10 @@ declare const dateFormatConfigSchema: z.ZodObject<{
563
731
  "2-digit": "2-digit";
564
732
  }>>;
565
733
  }, z.core.$strict>;
566
- /**
567
- * A single spec rendered by the API reference. `spec` is a local path or an
568
- * `http(s)` URL (an OpenAPI document under `openapi`, an AsyncAPI document
569
- * under `asyncapi`).
570
- */
571
- declare const openapiSourceSchema: z.ZodObject<{
572
- includeInLlms: z.ZodDefault<z.ZodBoolean>;
573
- includeInSearch: z.ZodDefault<z.ZodBoolean>;
574
- label: z.ZodOptional<z.ZodString>;
575
- noindex: z.ZodDefault<z.ZodBoolean>;
576
- route: z.ZodOptional<z.ZodString>;
577
- seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
578
- spec: z.ZodString;
579
- }, z.core.$strict>;
580
- export type OpenApiSource = z.input<typeof openapiSourceSchema>;
581
- /**
582
- * A single GraphQL schema rendered by the reference. `spec` is a local path or
583
- * an `http(s)` URL to SDL text or an introspection JSON result; `endpoint` is
584
- * the live GraphQL API URL the playground and code samples target (a schema,
585
- * unlike an OpenAPI document, names no server).
586
- */
587
- declare const graphqlSourceSchema: z.ZodObject<{
588
- includeInLlms: z.ZodDefault<z.ZodBoolean>;
589
- includeInSearch: z.ZodDefault<z.ZodBoolean>;
590
- label: z.ZodOptional<z.ZodString>;
591
- noindex: z.ZodDefault<z.ZodBoolean>;
592
- route: z.ZodOptional<z.ZodString>;
593
- seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
594
- spec: z.ZodString;
595
- endpoint: z.ZodOptional<z.ZodString>;
596
- }, z.core.$strict>;
597
- export type GraphqlSource = z.input<typeof graphqlSourceSchema>;
598
734
  export declare const blumeConfigSchema: z.ZodObject<{
599
- ai: z.ZodPrefault<z.ZodObject<{
735
+ agents: z.ZodPrefault<z.ZodObject<{
736
+ agentReadability: z.ZodDefault<z.ZodBoolean>;
600
737
  api: z.ZodDefault<z.ZodBoolean>;
601
- ask: z.ZodOptional<z.ZodObject<{
602
- apiKeyEnv: z.ZodOptional<z.ZodString>;
603
- baseUrl: z.ZodOptional<z.ZodURL>;
604
- cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
605
- enabled: z.ZodDefault<z.ZodBoolean>;
606
- endpoint: z.ZodOptional<z.ZodString>;
607
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
608
- instructions: z.ZodOptional<z.ZodString>;
609
- model: z.ZodDefault<z.ZodString>;
610
- provider: z.ZodDefault<z.ZodEnum<{
611
- gateway: "gateway";
612
- openrouter: "openrouter";
613
- llmgateway: "llmgateway";
614
- inkeep: "inkeep";
615
- "openai-compatible": "openai-compatible";
616
- }>>;
617
- reasoning: z.ZodOptional<z.ZodEnum<{
618
- none: "none";
619
- minimal: "minimal";
620
- low: "low";
621
- medium: "medium";
622
- high: "high";
623
- xhigh: "xhigh";
624
- }>>;
625
- retrieval: z.ZodOptional<z.ZodObject<{
626
- contextBudget: z.ZodOptional<z.ZodNumber>;
627
- excerptChars: z.ZodOptional<z.ZodNumber>;
628
- maxResults: z.ZodOptional<z.ZodNumber>;
629
- }, z.core.$strict>>;
630
- suggestions: z.ZodDefault<z.ZodArray<z.ZodObject<{
631
- icon: z.ZodOptional<z.ZodString>;
632
- label: z.ZodString;
633
- }, z.core.$strict>>>;
634
- }, z.core.$strict>>;
635
738
  catalog: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
636
739
  enabled: z.ZodDefault<z.ZodBoolean>;
637
740
  queries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -642,6 +745,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
642
745
  enabled: boolean;
643
746
  queries: Record<string, string[]>;
644
747
  }>>;
748
+ contentSignals: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
749
+ aiInput: z.ZodDefault<z.ZodBoolean>;
750
+ aiTrain: z.ZodDefault<z.ZodBoolean>;
751
+ search: z.ZodDefault<z.ZodBoolean>;
752
+ }, z.core.$strict>]>, z.ZodTransform<{
753
+ aiInput: boolean;
754
+ aiTrain: boolean;
755
+ search: boolean;
756
+ } | null, boolean | {
757
+ aiInput: boolean;
758
+ aiTrain: boolean;
759
+ search: boolean;
760
+ }>>>;
645
761
  llmsTxt: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
646
762
  details: z.ZodOptional<z.ZodString>;
647
763
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -662,6 +778,115 @@ export declare const blumeConfigSchema: z.ZodObject<{
662
778
  name: z.ZodOptional<z.ZodString>;
663
779
  route: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>;
664
780
  }, z.core.$strict>>;
781
+ skills: z.ZodOptional<z.ZodString>;
782
+ webBotAuth: z.ZodPrefault<z.ZodObject<{
783
+ keys: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
784
+ }, z.core.$strict>>;
785
+ webmcp: z.ZodDefault<z.ZodBoolean>;
786
+ }, z.core.$strict>>;
787
+ ai: z.ZodPrefault<z.ZodObject<{
788
+ ask: z.ZodOptional<z.ZodObject<{
789
+ cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
790
+ enabled: z.ZodDefault<z.ZodBoolean>;
791
+ endpoint: z.ZodOptional<z.ZodString>;
792
+ instructions: z.ZodOptional<z.ZodString>;
793
+ provider: z.ZodPrefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
794
+ kind: z.ZodLiteral<"gateway">;
795
+ options: z.ZodObject<{
796
+ model: z.ZodDefault<z.ZodString>;
797
+ reasoning: z.ZodOptional<z.ZodEnum<{
798
+ none: "none";
799
+ minimal: "minimal";
800
+ low: "low";
801
+ medium: "medium";
802
+ high: "high";
803
+ xhigh: "xhigh";
804
+ }>>;
805
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
806
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
807
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
808
+ }, z.core.$strict>;
809
+ requiredSecrets: z.ZodArray<z.ZodString>;
810
+ runtimeDeps: z.ZodArray<z.ZodString>;
811
+ }, z.core.$strict>, z.ZodObject<{
812
+ kind: z.ZodLiteral<"openrouter">;
813
+ options: z.ZodObject<{
814
+ model: z.ZodString;
815
+ reasoning: z.ZodOptional<z.ZodEnum<{
816
+ none: "none";
817
+ minimal: "minimal";
818
+ low: "low";
819
+ medium: "medium";
820
+ high: "high";
821
+ xhigh: "xhigh";
822
+ }>>;
823
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
824
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
825
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
826
+ }, z.core.$strict>;
827
+ requiredSecrets: z.ZodArray<z.ZodString>;
828
+ runtimeDeps: z.ZodArray<z.ZodString>;
829
+ }, z.core.$strict>, z.ZodObject<{
830
+ kind: z.ZodLiteral<"llmgateway">;
831
+ options: z.ZodObject<{
832
+ baseUrl: z.ZodDefault<z.ZodURL>;
833
+ model: z.ZodString;
834
+ reasoning: z.ZodOptional<z.ZodEnum<{
835
+ none: "none";
836
+ minimal: "minimal";
837
+ low: "low";
838
+ medium: "medium";
839
+ high: "high";
840
+ xhigh: "xhigh";
841
+ }>>;
842
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
843
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
844
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
845
+ }, z.core.$strict>;
846
+ requiredSecrets: z.ZodArray<z.ZodString>;
847
+ runtimeDeps: z.ZodArray<z.ZodString>;
848
+ }, z.core.$strict>, z.ZodObject<{
849
+ kind: z.ZodLiteral<"inkeep">;
850
+ options: z.ZodObject<{
851
+ baseUrl: z.ZodDefault<z.ZodURL>;
852
+ model: z.ZodString;
853
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
854
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
855
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
856
+ }, z.core.$strict>;
857
+ requiredSecrets: z.ZodArray<z.ZodString>;
858
+ runtimeDeps: z.ZodArray<z.ZodString>;
859
+ }, z.core.$strict>, z.ZodObject<{
860
+ kind: z.ZodLiteral<"openai-compatible">;
861
+ options: z.ZodObject<{
862
+ apiKeyEnv: z.ZodString;
863
+ baseUrl: z.ZodURL;
864
+ model: z.ZodString;
865
+ name: z.ZodDefault<z.ZodString>;
866
+ reasoning: z.ZodOptional<z.ZodEnum<{
867
+ none: "none";
868
+ minimal: "minimal";
869
+ low: "low";
870
+ medium: "medium";
871
+ high: "high";
872
+ xhigh: "xhigh";
873
+ }>>;
874
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
875
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
876
+ }, z.core.$strict>;
877
+ requiredSecrets: z.ZodArray<z.ZodString>;
878
+ runtimeDeps: z.ZodArray<z.ZodString>;
879
+ }, z.core.$strict>], "kind">>;
880
+ retrieval: z.ZodOptional<z.ZodObject<{
881
+ contextBudget: z.ZodOptional<z.ZodNumber>;
882
+ excerptChars: z.ZodOptional<z.ZodNumber>;
883
+ maxResults: z.ZodOptional<z.ZodNumber>;
884
+ }, z.core.$strict>>;
885
+ suggestions: z.ZodDefault<z.ZodArray<z.ZodObject<{
886
+ icon: z.ZodOptional<z.ZodString>;
887
+ label: z.ZodString;
888
+ }, z.core.$strict>>>;
889
+ }, z.core.$strict>>;
665
890
  openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
666
891
  v0: "v0";
667
892
  chatgpt: "chatgpt";
@@ -670,63 +895,163 @@ export declare const blumeConfigSchema: z.ZodObject<{
670
895
  scira: "scira";
671
896
  cursor: "cursor";
672
897
  }>>]>>, z.ZodTransform<("v0" | "chatgpt" | "claude" | "t3" | "scira" | "cursor")[], boolean | ("v0" | "chatgpt" | "claude" | "t3" | "scira" | "cursor")[]>>;
673
- skills: z.ZodOptional<z.ZodString>;
674
- webBotAuth: z.ZodPrefault<z.ZodObject<{
675
- keys: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
676
- }, z.core.$strict>>;
677
- webmcp: z.ZodDefault<z.ZodBoolean>;
678
898
  }, z.core.$strict>>;
679
- analytics: z.ZodOptional<z.ZodObject<{
680
- cloudflare: z.ZodOptional<z.ZodObject<{
899
+ analytics: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
900
+ kind: z.ZodLiteral<"adobe">;
901
+ options: z.ZodObject<{
902
+ url: z.ZodString;
903
+ }, z.core.$strict>;
904
+ requiredSecrets: z.ZodArray<z.ZodString>;
905
+ runtimeDeps: z.ZodArray<z.ZodString>;
906
+ }, z.core.$strict>, z.ZodObject<{
907
+ kind: z.ZodLiteral<"amplitude">;
908
+ options: z.ZodObject<{
909
+ key: z.ZodString;
910
+ }, z.core.$catchall<z.ZodJSONSchema>>;
911
+ requiredSecrets: z.ZodArray<z.ZodString>;
912
+ runtimeDeps: z.ZodArray<z.ZodString>;
913
+ }, z.core.$strict>, z.ZodObject<{
914
+ kind: z.ZodLiteral<"clarity">;
915
+ options: z.ZodObject<{
916
+ id: z.ZodString;
917
+ }, z.core.$strict>;
918
+ requiredSecrets: z.ZodArray<z.ZodString>;
919
+ runtimeDeps: z.ZodArray<z.ZodString>;
920
+ }, z.core.$strict>, z.ZodObject<{
921
+ kind: z.ZodLiteral<"clearbit">;
922
+ options: z.ZodObject<{
923
+ key: z.ZodString;
924
+ }, z.core.$strict>;
925
+ requiredSecrets: z.ZodArray<z.ZodString>;
926
+ runtimeDeps: z.ZodArray<z.ZodString>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ kind: z.ZodLiteral<"cloudflare">;
929
+ options: z.ZodObject<{
681
930
  token: z.ZodString;
682
- }, z.core.$strict>>;
683
- posthog: z.ZodOptional<z.ZodObject<{
931
+ }, z.core.$catchall<z.ZodJSONSchema>>;
932
+ requiredSecrets: z.ZodArray<z.ZodString>;
933
+ runtimeDeps: z.ZodArray<z.ZodString>;
934
+ }, z.core.$strict>, z.ZodObject<{
935
+ kind: z.ZodLiteral<"fathom">;
936
+ options: z.ZodObject<{
937
+ site: z.ZodString;
938
+ }, z.core.$catchall<z.ZodString>>;
939
+ requiredSecrets: z.ZodArray<z.ZodString>;
940
+ runtimeDeps: z.ZodArray<z.ZodString>;
941
+ }, z.core.$strict>, z.ZodObject<{
942
+ kind: z.ZodLiteral<"google-analytics">;
943
+ options: z.ZodObject<{
944
+ id: z.ZodString;
945
+ }, z.core.$catchall<z.ZodJSONSchema>>;
946
+ requiredSecrets: z.ZodArray<z.ZodString>;
947
+ runtimeDeps: z.ZodArray<z.ZodString>;
948
+ }, z.core.$strict>, z.ZodObject<{
949
+ kind: z.ZodLiteral<"google-tag-manager">;
950
+ options: z.ZodObject<{
951
+ dataLayer: z.ZodOptional<z.ZodString>;
952
+ id: z.ZodString;
953
+ }, z.core.$strict>;
954
+ requiredSecrets: z.ZodArray<z.ZodString>;
955
+ runtimeDeps: z.ZodArray<z.ZodString>;
956
+ }, z.core.$strict>, z.ZodObject<{
957
+ kind: z.ZodLiteral<"heap">;
958
+ options: z.ZodObject<{
959
+ id: z.ZodString;
960
+ }, z.core.$catchall<z.ZodJSONSchema>>;
961
+ requiredSecrets: z.ZodArray<z.ZodString>;
962
+ runtimeDeps: z.ZodArray<z.ZodString>;
963
+ }, z.core.$strict>, z.ZodObject<{
964
+ kind: z.ZodLiteral<"hightouch">;
965
+ options: z.ZodObject<{
684
966
  host: z.ZodOptional<z.ZodString>;
685
967
  key: z.ZodString;
686
- }, z.core.$strict>>;
687
- scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
968
+ }, z.core.$catchall<z.ZodJSONSchema>>;
969
+ requiredSecrets: z.ZodArray<z.ZodString>;
970
+ runtimeDeps: z.ZodArray<z.ZodString>;
971
+ }, z.core.$strict>, z.ZodObject<{
972
+ kind: z.ZodLiteral<"hotjar">;
973
+ options: z.ZodObject<{
974
+ id: z.ZodNumber;
975
+ version: z.ZodOptional<z.ZodNumber>;
976
+ }, z.core.$strict>;
977
+ requiredSecrets: z.ZodArray<z.ZodString>;
978
+ runtimeDeps: z.ZodArray<z.ZodString>;
979
+ }, z.core.$strict>, z.ZodObject<{
980
+ kind: z.ZodLiteral<"logrocket">;
981
+ options: z.ZodObject<{
982
+ id: z.ZodString;
983
+ }, z.core.$catchall<z.ZodJSONSchema>>;
984
+ requiredSecrets: z.ZodArray<z.ZodString>;
985
+ runtimeDeps: z.ZodArray<z.ZodString>;
986
+ }, z.core.$strict>, z.ZodObject<{
987
+ kind: z.ZodLiteral<"mixpanel">;
988
+ options: z.ZodObject<{
989
+ region: z.ZodOptional<z.ZodEnum<{
990
+ in: "in";
991
+ eu: "eu";
992
+ us: "us";
993
+ }>>;
994
+ token: z.ZodString;
995
+ }, z.core.$catchall<z.ZodJSONSchema>>;
996
+ requiredSecrets: z.ZodArray<z.ZodString>;
997
+ runtimeDeps: z.ZodArray<z.ZodString>;
998
+ }, z.core.$strict>, z.ZodObject<{
999
+ kind: z.ZodLiteral<"pirsch">;
1000
+ options: z.ZodObject<{
1001
+ code: z.ZodString;
1002
+ }, z.core.$catchall<z.ZodString>>;
1003
+ requiredSecrets: z.ZodArray<z.ZodString>;
1004
+ runtimeDeps: z.ZodArray<z.ZodString>;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ kind: z.ZodLiteral<"plausible">;
1007
+ options: z.ZodObject<{
1008
+ domain: z.ZodString;
1009
+ host: z.ZodOptional<z.ZodString>;
1010
+ }, z.core.$catchall<z.ZodString>>;
1011
+ requiredSecrets: z.ZodArray<z.ZodString>;
1012
+ runtimeDeps: z.ZodArray<z.ZodString>;
1013
+ }, z.core.$strict>, z.ZodObject<{
1014
+ kind: z.ZodLiteral<"posthog">;
1015
+ options: z.ZodObject<{
1016
+ host: z.ZodOptional<z.ZodString>;
1017
+ key: z.ZodString;
1018
+ }, z.core.$catchall<z.ZodJSONSchema>>;
1019
+ requiredSecrets: z.ZodArray<z.ZodString>;
1020
+ runtimeDeps: z.ZodArray<z.ZodString>;
1021
+ }, z.core.$strict>, z.ZodObject<{
1022
+ kind: z.ZodLiteral<"script">;
1023
+ options: z.ZodObject<{
688
1024
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
689
1025
  content: z.ZodOptional<z.ZodString>;
690
1026
  src: z.ZodOptional<z.ZodString>;
691
1027
  strategy: z.ZodOptional<z.ZodEnum<{
692
- async: "async";
693
1028
  defer: "defer";
1029
+ async: "async";
694
1030
  }>>;
695
- }, z.core.$strict>>>;
696
- vercel: z.ZodOptional<z.ZodBoolean>;
697
- }, z.core.$strict>>;
698
- asyncapi: z.ZodPrefault<z.ZodObject<{
699
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
700
- enabled: z.ZodDefault<z.ZodBoolean>;
701
- expandSchemas: z.ZodDefault<z.ZodBoolean>;
702
- playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
703
- enabled: z.ZodDefault<z.ZodBoolean>;
704
- proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
705
- }, z.core.$strict>]>>, z.ZodTransform<{
706
- enabled: boolean;
707
- proxy: string | boolean;
708
- }, boolean | {
709
- enabled: boolean;
710
- proxy: string | boolean;
711
- }>>;
712
- renderer: z.ZodDefault<z.ZodEnum<{
713
- blume: "blume";
714
- scalar: "scalar";
715
- }>>;
716
- route: z.ZodDefault<z.ZodString>;
717
- scalar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
718
- sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
719
- includeInLlms: z.ZodDefault<z.ZodBoolean>;
720
- includeInSearch: z.ZodDefault<z.ZodBoolean>;
721
- label: z.ZodOptional<z.ZodString>;
722
- noindex: z.ZodDefault<z.ZodBoolean>;
723
- route: z.ZodOptional<z.ZodString>;
724
- seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
725
- spec: z.ZodString;
726
- }, z.core.$strict>>>;
727
- spec: z.ZodOptional<z.ZodString>;
728
- theme: z.ZodOptional<z.ZodString>;
729
- }, z.core.$strict>>;
1031
+ }, z.core.$strict>;
1032
+ requiredSecrets: z.ZodArray<z.ZodString>;
1033
+ runtimeDeps: z.ZodArray<z.ZodString>;
1034
+ }, z.core.$strict>, z.ZodObject<{
1035
+ kind: z.ZodLiteral<"segment">;
1036
+ options: z.ZodObject<{
1037
+ cdn: z.ZodOptional<z.ZodString>;
1038
+ key: z.ZodString;
1039
+ }, z.core.$catchall<z.ZodJSONSchema>>;
1040
+ requiredSecrets: z.ZodArray<z.ZodString>;
1041
+ runtimeDeps: z.ZodArray<z.ZodString>;
1042
+ }, z.core.$strict>, z.ZodObject<{
1043
+ kind: z.ZodLiteral<"vercel">;
1044
+ options: z.ZodObject<{
1045
+ debug: z.ZodOptional<z.ZodBoolean>;
1046
+ mode: z.ZodOptional<z.ZodEnum<{
1047
+ auto: "auto";
1048
+ development: "development";
1049
+ production: "production";
1050
+ }>>;
1051
+ }, z.core.$catchall<z.ZodJSONSchema>>;
1052
+ requiredSecrets: z.ZodArray<z.ZodString>;
1053
+ runtimeDeps: z.ZodArray<z.ZodString>;
1054
+ }, z.core.$strict>], "kind">>>;
730
1055
  banner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
731
1056
  content: z.ZodString;
732
1057
  dismissible: z.ZodDefault<z.ZodBoolean>;
@@ -737,83 +1062,1108 @@ export declare const blumeConfigSchema: z.ZodObject<{
737
1062
  }, z.core.$strict>>;
738
1063
  }, z.core.$strict>]>>;
739
1064
  basePath: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
740
- content: z.ZodPrefault<z.ZodObject<{
1065
+ content: z.ZodPrefault<z.ZodPipe<z.ZodObject<{
741
1066
  defaultType: z.ZodDefault<z.ZodString>;
742
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
743
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
1067
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
1068
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
744
1069
  pages: z.ZodDefault<z.ZodString>;
745
- root: z.ZodDefault<z.ZodString>;
746
- sources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
747
- exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
748
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
749
- prefix: z.ZodOptional<z.ZodString>;
750
- root: z.ZodDefault<z.ZodString>;
751
- type: z.ZodLiteral<"filesystem">;
1070
+ root: z.ZodOptional<z.ZodString>;
1071
+ sources: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodCustom<{
1072
+ kind: "filesystem";
1073
+ options: {
1074
+ pollInterval?: number | undefined;
1075
+ prefix?: string | undefined;
1076
+ exclude?: string[] | undefined;
1077
+ include?: string[] | undefined;
1078
+ root?: string | undefined;
1079
+ };
1080
+ requiredSecrets: string[];
1081
+ runtimeDeps: string[];
1082
+ } | {
1083
+ kind: "mdx-remote";
1084
+ options: {
1085
+ pollInterval?: number | undefined;
1086
+ prefix?: string | undefined;
1087
+ files?: string[] | undefined;
1088
+ github?: {
1089
+ owner: string;
1090
+ repo: string;
1091
+ path?: string | undefined;
1092
+ ref?: string | undefined;
1093
+ } | undefined;
1094
+ include?: string[] | undefined;
1095
+ url?: string | undefined;
1096
+ };
1097
+ requiredSecrets: string[];
1098
+ runtimeDeps: string[];
1099
+ } | {
1100
+ kind: "github-releases";
1101
+ options: {
1102
+ owner: string;
1103
+ repo: string;
1104
+ pollInterval?: number | undefined;
1105
+ prefix?: string | undefined;
1106
+ drafts?: boolean | undefined;
1107
+ limit?: number | undefined;
1108
+ prereleases?: boolean | undefined;
1109
+ };
1110
+ requiredSecrets: string[];
1111
+ runtimeDeps: string[];
1112
+ } | {
1113
+ kind: "sanity";
1114
+ options: {
1115
+ dataset: string;
1116
+ projectId: string;
1117
+ query: string;
1118
+ pollInterval?: number | undefined;
1119
+ prefix?: string | undefined;
1120
+ apiVersion?: string | undefined;
1121
+ fields?: {
1122
+ body?: string | undefined;
1123
+ description?: string | undefined;
1124
+ lastModified?: string | undefined;
1125
+ slug?: string | undefined;
1126
+ title?: string | undefined;
1127
+ } | undefined;
1128
+ };
1129
+ requiredSecrets: string[];
1130
+ runtimeDeps: string[];
1131
+ } | {
1132
+ kind: "notion";
1133
+ options: {
1134
+ database: string;
1135
+ pollInterval?: number | undefined;
1136
+ prefix?: string | undefined;
1137
+ concurrency?: number | undefined;
1138
+ properties?: {
1139
+ description?: string | undefined;
1140
+ order?: string | undefined;
1141
+ slug?: string | undefined;
1142
+ status?: string | undefined;
1143
+ title?: string | undefined;
1144
+ } | undefined;
1145
+ publishedValue?: string | undefined;
1146
+ };
1147
+ requiredSecrets: string[];
1148
+ runtimeDeps: string[];
1149
+ } | {
1150
+ kind: "contentful";
1151
+ options: {
1152
+ contentType: string;
1153
+ space: string;
1154
+ pollInterval?: number | undefined;
1155
+ prefix?: string | undefined;
1156
+ environment?: string | undefined;
1157
+ fields?: {
1158
+ body?: string | undefined;
1159
+ description?: string | undefined;
1160
+ lastModified?: string | undefined;
1161
+ slug?: string | undefined;
1162
+ title?: string | undefined;
1163
+ } | undefined;
1164
+ locale?: string | undefined;
1165
+ params?: Record<string, string> | undefined;
1166
+ };
1167
+ requiredSecrets: string[];
1168
+ runtimeDeps: string[];
1169
+ } | {
1170
+ kind: "payload";
1171
+ options: {
1172
+ collection: string;
1173
+ url: string;
1174
+ pollInterval?: number | undefined;
1175
+ prefix?: string | undefined;
1176
+ authCollection?: string | undefined;
1177
+ depth?: number | undefined;
1178
+ fields?: {
1179
+ body?: string | undefined;
1180
+ description?: string | undefined;
1181
+ lastModified?: string | undefined;
1182
+ slug?: string | undefined;
1183
+ title?: string | undefined;
1184
+ } | undefined;
1185
+ params?: Record<string, string> | undefined;
1186
+ };
1187
+ requiredSecrets: string[];
1188
+ runtimeDeps: string[];
1189
+ } | {
1190
+ kind: "strapi";
1191
+ options: {
1192
+ contentType: string;
1193
+ url: string;
1194
+ pollInterval?: number | undefined;
1195
+ prefix?: string | undefined;
1196
+ fields?: {
1197
+ body?: string | undefined;
1198
+ description?: string | undefined;
1199
+ lastModified?: string | undefined;
1200
+ slug?: string | undefined;
1201
+ title?: string | undefined;
1202
+ } | undefined;
1203
+ locale?: string | undefined;
1204
+ params?: Record<string, string> | undefined;
1205
+ populate?: string | undefined;
1206
+ };
1207
+ requiredSecrets: string[];
1208
+ runtimeDeps: string[];
1209
+ } | {
1210
+ kind: "obsidian";
1211
+ options: {
1212
+ vault: string;
1213
+ pollInterval?: number | undefined;
1214
+ prefix?: string | undefined;
1215
+ exclude?: string[] | undefined;
1216
+ };
1217
+ requiredSecrets: string[];
1218
+ runtimeDeps: string[];
1219
+ } | {
1220
+ kind: "custom";
1221
+ options: import("./sources/types.ts").ContentSource;
1222
+ requiredSecrets: string[];
1223
+ runtimeDeps: string[];
1224
+ }, {
1225
+ kind: "filesystem";
1226
+ options: {
1227
+ pollInterval?: number | undefined;
1228
+ prefix?: string | undefined;
1229
+ exclude?: string[] | undefined;
1230
+ include?: string[] | undefined;
1231
+ root?: string | undefined;
1232
+ };
1233
+ requiredSecrets: string[];
1234
+ runtimeDeps: string[];
1235
+ } | {
1236
+ kind: "mdx-remote";
1237
+ options: {
1238
+ pollInterval?: number | undefined;
1239
+ prefix?: string | undefined;
1240
+ files?: string[] | undefined;
1241
+ github?: {
1242
+ owner: string;
1243
+ repo: string;
1244
+ path?: string | undefined;
1245
+ ref?: string | undefined;
1246
+ } | undefined;
1247
+ include?: string[] | undefined;
1248
+ url?: string | undefined;
1249
+ };
1250
+ requiredSecrets: string[];
1251
+ runtimeDeps: string[];
1252
+ } | {
1253
+ kind: "github-releases";
1254
+ options: {
1255
+ owner: string;
1256
+ repo: string;
1257
+ pollInterval?: number | undefined;
1258
+ prefix?: string | undefined;
1259
+ drafts?: boolean | undefined;
1260
+ limit?: number | undefined;
1261
+ prereleases?: boolean | undefined;
1262
+ };
1263
+ requiredSecrets: string[];
1264
+ runtimeDeps: string[];
1265
+ } | {
1266
+ kind: "sanity";
1267
+ options: {
1268
+ dataset: string;
1269
+ projectId: string;
1270
+ query: string;
1271
+ pollInterval?: number | undefined;
1272
+ prefix?: string | undefined;
1273
+ apiVersion?: string | undefined;
1274
+ fields?: {
1275
+ body?: string | undefined;
1276
+ description?: string | undefined;
1277
+ lastModified?: string | undefined;
1278
+ slug?: string | undefined;
1279
+ title?: string | undefined;
1280
+ } | undefined;
1281
+ };
1282
+ requiredSecrets: string[];
1283
+ runtimeDeps: string[];
1284
+ } | {
1285
+ kind: "notion";
1286
+ options: {
1287
+ database: string;
1288
+ pollInterval?: number | undefined;
1289
+ prefix?: string | undefined;
1290
+ concurrency?: number | undefined;
1291
+ properties?: {
1292
+ description?: string | undefined;
1293
+ order?: string | undefined;
1294
+ slug?: string | undefined;
1295
+ status?: string | undefined;
1296
+ title?: string | undefined;
1297
+ } | undefined;
1298
+ publishedValue?: string | undefined;
1299
+ };
1300
+ requiredSecrets: string[];
1301
+ runtimeDeps: string[];
1302
+ } | {
1303
+ kind: "contentful";
1304
+ options: {
1305
+ contentType: string;
1306
+ space: string;
1307
+ pollInterval?: number | undefined;
1308
+ prefix?: string | undefined;
1309
+ environment?: string | undefined;
1310
+ fields?: {
1311
+ body?: string | undefined;
1312
+ description?: string | undefined;
1313
+ lastModified?: string | undefined;
1314
+ slug?: string | undefined;
1315
+ title?: string | undefined;
1316
+ } | undefined;
1317
+ locale?: string | undefined;
1318
+ params?: Record<string, string> | undefined;
1319
+ };
1320
+ requiredSecrets: string[];
1321
+ runtimeDeps: string[];
1322
+ } | {
1323
+ kind: "payload";
1324
+ options: {
1325
+ collection: string;
1326
+ url: string;
1327
+ pollInterval?: number | undefined;
1328
+ prefix?: string | undefined;
1329
+ authCollection?: string | undefined;
1330
+ depth?: number | undefined;
1331
+ fields?: {
1332
+ body?: string | undefined;
1333
+ description?: string | undefined;
1334
+ lastModified?: string | undefined;
1335
+ slug?: string | undefined;
1336
+ title?: string | undefined;
1337
+ } | undefined;
1338
+ params?: Record<string, string> | undefined;
1339
+ };
1340
+ requiredSecrets: string[];
1341
+ runtimeDeps: string[];
1342
+ } | {
1343
+ kind: "strapi";
1344
+ options: {
1345
+ contentType: string;
1346
+ url: string;
1347
+ pollInterval?: number | undefined;
1348
+ prefix?: string | undefined;
1349
+ fields?: {
1350
+ body?: string | undefined;
1351
+ description?: string | undefined;
1352
+ lastModified?: string | undefined;
1353
+ slug?: string | undefined;
1354
+ title?: string | undefined;
1355
+ } | undefined;
1356
+ locale?: string | undefined;
1357
+ params?: Record<string, string> | undefined;
1358
+ populate?: string | undefined;
1359
+ };
1360
+ requiredSecrets: string[];
1361
+ runtimeDeps: string[];
1362
+ } | {
1363
+ kind: "obsidian";
1364
+ options: {
1365
+ vault: string;
1366
+ pollInterval?: number | undefined;
1367
+ prefix?: string | undefined;
1368
+ exclude?: string[] | undefined;
1369
+ };
1370
+ requiredSecrets: string[];
1371
+ runtimeDeps: string[];
1372
+ } | {
1373
+ kind: "custom";
1374
+ options: import("./sources/types.ts").ContentSource;
1375
+ requiredSecrets: string[];
1376
+ runtimeDeps: string[];
1377
+ }>, z.ZodPipe<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
1378
+ kind: z.ZodLiteral<"filesystem">;
1379
+ options: z.ZodObject<{
1380
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1381
+ prefix: z.ZodOptional<z.ZodString>;
1382
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
1383
+ include: z.ZodDefault<z.ZodArray<z.ZodString>>;
1384
+ root: z.ZodDefault<z.ZodString>;
1385
+ }, z.core.$strict>;
1386
+ requiredSecrets: z.ZodArray<z.ZodString>;
1387
+ runtimeDeps: z.ZodArray<z.ZodString>;
1388
+ }, z.core.$strict>, z.ZodObject<{
1389
+ kind: z.ZodLiteral<"mdx-remote">;
1390
+ options: z.ZodObject<{
1391
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1392
+ prefix: z.ZodOptional<z.ZodString>;
1393
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
1394
+ github: z.ZodOptional<z.ZodObject<{
1395
+ owner: z.ZodString;
1396
+ path: z.ZodDefault<z.ZodString>;
1397
+ ref: z.ZodDefault<z.ZodString>;
1398
+ repo: z.ZodString;
1399
+ }, z.core.$strict>>;
1400
+ include: z.ZodDefault<z.ZodArray<z.ZodString>>;
1401
+ url: z.ZodOptional<z.ZodString>;
1402
+ }, z.core.$strict>;
1403
+ requiredSecrets: z.ZodArray<z.ZodString>;
1404
+ runtimeDeps: z.ZodArray<z.ZodString>;
752
1405
  }, z.core.$strict>, z.ZodObject<{
753
- files: z.ZodOptional<z.ZodArray<z.ZodString>>;
754
- github: z.ZodOptional<z.ZodObject<{
1406
+ kind: z.ZodLiteral<"github-releases">;
1407
+ options: z.ZodObject<{
1408
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1409
+ prefix: z.ZodOptional<z.ZodString>;
1410
+ drafts: z.ZodOptional<z.ZodBoolean>;
1411
+ limit: z.ZodOptional<z.ZodNumber>;
755
1412
  owner: z.ZodString;
756
- path: z.ZodDefault<z.ZodString>;
757
- ref: z.ZodDefault<z.ZodString>;
1413
+ prereleases: z.ZodOptional<z.ZodBoolean>;
758
1414
  repo: z.ZodString;
759
- }, z.core.$strict>>;
760
- include: z.ZodDefault<z.ZodArray<z.ZodString>>;
761
- pollInterval: z.ZodOptional<z.ZodNumber>;
762
- prefix: z.ZodOptional<z.ZodString>;
763
- type: z.ZodLiteral<"mdx-remote">;
764
- url: z.ZodOptional<z.ZodString>;
1415
+ }, z.core.$strict>;
1416
+ requiredSecrets: z.ZodArray<z.ZodString>;
1417
+ runtimeDeps: z.ZodArray<z.ZodString>;
765
1418
  }, z.core.$strict>, z.ZodObject<{
766
- drafts: z.ZodOptional<z.ZodBoolean>;
767
- limit: z.ZodOptional<z.ZodNumber>;
768
- owner: z.ZodString;
769
- pollInterval: z.ZodOptional<z.ZodNumber>;
770
- prefix: z.ZodOptional<z.ZodString>;
771
- prereleases: z.ZodOptional<z.ZodBoolean>;
772
- repo: z.ZodString;
773
- type: z.ZodLiteral<"github-releases">;
1419
+ kind: z.ZodLiteral<"sanity">;
1420
+ options: z.ZodObject<{
1421
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1422
+ prefix: z.ZodOptional<z.ZodString>;
1423
+ apiVersion: z.ZodOptional<z.ZodString>;
1424
+ dataset: z.ZodString;
1425
+ fields: z.ZodOptional<z.ZodObject<{
1426
+ body: z.ZodOptional<z.ZodString>;
1427
+ description: z.ZodOptional<z.ZodString>;
1428
+ lastModified: z.ZodOptional<z.ZodString>;
1429
+ slug: z.ZodOptional<z.ZodString>;
1430
+ title: z.ZodOptional<z.ZodString>;
1431
+ }, z.core.$strict>>;
1432
+ projectId: z.ZodString;
1433
+ query: z.ZodString;
1434
+ }, z.core.$strict>;
1435
+ requiredSecrets: z.ZodArray<z.ZodString>;
1436
+ runtimeDeps: z.ZodArray<z.ZodString>;
774
1437
  }, z.core.$strict>, z.ZodObject<{
775
- apiVersion: z.ZodOptional<z.ZodString>;
776
- dataset: z.ZodString;
777
- fields: z.ZodOptional<z.ZodObject<{
778
- body: z.ZodOptional<z.ZodString>;
779
- description: z.ZodOptional<z.ZodString>;
780
- lastModified: z.ZodOptional<z.ZodString>;
781
- slug: z.ZodOptional<z.ZodString>;
782
- title: z.ZodOptional<z.ZodString>;
783
- }, z.core.$strict>>;
784
- pollInterval: z.ZodOptional<z.ZodNumber>;
785
- prefix: z.ZodOptional<z.ZodString>;
786
- projectId: z.ZodString;
787
- query: z.ZodString;
788
- type: z.ZodLiteral<"sanity">;
789
- }, z.core.$strip>, z.ZodObject<{
790
- concurrency: z.ZodOptional<z.ZodNumber>;
791
- database: z.ZodString;
792
- pollInterval: z.ZodOptional<z.ZodNumber>;
793
- prefix: z.ZodOptional<z.ZodString>;
794
- properties: z.ZodOptional<z.ZodObject<{
795
- description: z.ZodOptional<z.ZodString>;
796
- order: z.ZodOptional<z.ZodString>;
797
- slug: z.ZodOptional<z.ZodString>;
798
- status: z.ZodOptional<z.ZodString>;
799
- title: z.ZodOptional<z.ZodString>;
800
- }, z.core.$strict>>;
801
- publishedValue: z.ZodOptional<z.ZodString>;
802
- type: z.ZodLiteral<"notion">;
803
- }, z.core.$strip>, z.ZodObject<{
804
- exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
805
- prefix: z.ZodOptional<z.ZodString>;
806
- type: z.ZodLiteral<"obsidian">;
807
- vault: z.ZodString;
1438
+ kind: z.ZodLiteral<"notion">;
1439
+ options: z.ZodObject<{
1440
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1441
+ prefix: z.ZodOptional<z.ZodString>;
1442
+ concurrency: z.ZodOptional<z.ZodNumber>;
1443
+ database: z.ZodString;
1444
+ properties: z.ZodOptional<z.ZodObject<{
1445
+ description: z.ZodOptional<z.ZodString>;
1446
+ order: z.ZodOptional<z.ZodString>;
1447
+ slug: z.ZodOptional<z.ZodString>;
1448
+ status: z.ZodOptional<z.ZodString>;
1449
+ title: z.ZodOptional<z.ZodString>;
1450
+ }, z.core.$strict>>;
1451
+ publishedValue: z.ZodOptional<z.ZodString>;
1452
+ }, z.core.$strict>;
1453
+ requiredSecrets: z.ZodArray<z.ZodString>;
1454
+ runtimeDeps: z.ZodArray<z.ZodString>;
1455
+ }, z.core.$strict>, z.ZodObject<{
1456
+ kind: z.ZodLiteral<"contentful">;
1457
+ options: z.ZodObject<{
1458
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1459
+ prefix: z.ZodOptional<z.ZodString>;
1460
+ contentType: z.ZodString;
1461
+ environment: z.ZodOptional<z.ZodString>;
1462
+ fields: z.ZodOptional<z.ZodObject<{
1463
+ body: z.ZodOptional<z.ZodString>;
1464
+ description: z.ZodOptional<z.ZodString>;
1465
+ lastModified: z.ZodOptional<z.ZodString>;
1466
+ slug: z.ZodOptional<z.ZodString>;
1467
+ title: z.ZodOptional<z.ZodString>;
1468
+ }, z.core.$strict>>;
1469
+ locale: z.ZodOptional<z.ZodString>;
1470
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1471
+ space: z.ZodString;
1472
+ }, z.core.$strict>;
1473
+ requiredSecrets: z.ZodArray<z.ZodString>;
1474
+ runtimeDeps: z.ZodArray<z.ZodString>;
1475
+ }, z.core.$strict>, z.ZodObject<{
1476
+ kind: z.ZodLiteral<"payload">;
1477
+ options: z.ZodObject<{
1478
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1479
+ prefix: z.ZodOptional<z.ZodString>;
1480
+ authCollection: z.ZodOptional<z.ZodString>;
1481
+ collection: z.ZodString;
1482
+ depth: z.ZodOptional<z.ZodNumber>;
1483
+ fields: z.ZodOptional<z.ZodObject<{
1484
+ body: z.ZodOptional<z.ZodString>;
1485
+ description: z.ZodOptional<z.ZodString>;
1486
+ lastModified: z.ZodOptional<z.ZodString>;
1487
+ slug: z.ZodOptional<z.ZodString>;
1488
+ title: z.ZodOptional<z.ZodString>;
1489
+ }, z.core.$strict>>;
1490
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1491
+ url: z.ZodString;
1492
+ }, z.core.$strict>;
1493
+ requiredSecrets: z.ZodArray<z.ZodString>;
1494
+ runtimeDeps: z.ZodArray<z.ZodString>;
808
1495
  }, z.core.$strict>, z.ZodObject<{
809
- source: z.ZodCustom<ContentSource, ContentSource>;
810
- type: z.ZodLiteral<"custom">;
811
- }, z.core.$strip>], "type">>>;
1496
+ kind: z.ZodLiteral<"strapi">;
1497
+ options: z.ZodObject<{
1498
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1499
+ prefix: z.ZodOptional<z.ZodString>;
1500
+ contentType: z.ZodString;
1501
+ fields: z.ZodOptional<z.ZodObject<{
1502
+ body: z.ZodOptional<z.ZodString>;
1503
+ description: z.ZodOptional<z.ZodString>;
1504
+ lastModified: z.ZodOptional<z.ZodString>;
1505
+ slug: z.ZodOptional<z.ZodString>;
1506
+ title: z.ZodOptional<z.ZodString>;
1507
+ }, z.core.$strict>>;
1508
+ locale: z.ZodOptional<z.ZodString>;
1509
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1510
+ populate: z.ZodOptional<z.ZodString>;
1511
+ url: z.ZodString;
1512
+ }, z.core.$strict>;
1513
+ requiredSecrets: z.ZodArray<z.ZodString>;
1514
+ runtimeDeps: z.ZodArray<z.ZodString>;
1515
+ }, z.core.$strict>, z.ZodObject<{
1516
+ kind: z.ZodLiteral<"obsidian">;
1517
+ options: z.ZodObject<{
1518
+ pollInterval: z.ZodOptional<z.ZodNumber>;
1519
+ prefix: z.ZodOptional<z.ZodString>;
1520
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
1521
+ vault: z.ZodString;
1522
+ }, z.core.$strict>;
1523
+ requiredSecrets: z.ZodArray<z.ZodString>;
1524
+ runtimeDeps: z.ZodArray<z.ZodString>;
1525
+ }, z.core.$strict>, z.ZodObject<{
1526
+ kind: z.ZodLiteral<"custom">;
1527
+ options: z.ZodCustom<import("./sources/types.ts").ContentSource, import("./sources/types.ts").ContentSource>;
1528
+ requiredSecrets: z.ZodArray<z.ZodString>;
1529
+ runtimeDeps: z.ZodArray<z.ZodString>;
1530
+ }, z.core.$strict>], "kind">, z.ZodTransform<{
1531
+ kind: "filesystem";
1532
+ options: {
1533
+ exclude: string[];
1534
+ include: string[];
1535
+ root: string;
1536
+ pollInterval?: number | undefined;
1537
+ prefix?: string | undefined;
1538
+ };
1539
+ requiredSecrets: string[];
1540
+ runtimeDeps: string[];
1541
+ } | {
1542
+ kind: "mdx-remote";
1543
+ options: {
1544
+ include: string[];
1545
+ pollInterval?: number | undefined;
1546
+ prefix?: string | undefined;
1547
+ files?: string[] | undefined;
1548
+ github?: {
1549
+ owner: string;
1550
+ path: string;
1551
+ ref: string;
1552
+ repo: string;
1553
+ } | undefined;
1554
+ url?: string | undefined;
1555
+ };
1556
+ requiredSecrets: string[];
1557
+ runtimeDeps: string[];
1558
+ } | {
1559
+ kind: "github-releases";
1560
+ options: {
1561
+ owner: string;
1562
+ repo: string;
1563
+ pollInterval?: number | undefined;
1564
+ prefix?: string | undefined;
1565
+ drafts?: boolean | undefined;
1566
+ limit?: number | undefined;
1567
+ prereleases?: boolean | undefined;
1568
+ };
1569
+ requiredSecrets: string[];
1570
+ runtimeDeps: string[];
1571
+ } | {
1572
+ kind: "sanity";
1573
+ options: {
1574
+ dataset: string;
1575
+ projectId: string;
1576
+ query: string;
1577
+ pollInterval?: number | undefined;
1578
+ prefix?: string | undefined;
1579
+ apiVersion?: string | undefined;
1580
+ fields?: {
1581
+ body?: string | undefined;
1582
+ description?: string | undefined;
1583
+ lastModified?: string | undefined;
1584
+ slug?: string | undefined;
1585
+ title?: string | undefined;
1586
+ } | undefined;
1587
+ };
1588
+ requiredSecrets: string[];
1589
+ runtimeDeps: string[];
1590
+ } | {
1591
+ kind: "notion";
1592
+ options: {
1593
+ database: string;
1594
+ pollInterval?: number | undefined;
1595
+ prefix?: string | undefined;
1596
+ concurrency?: number | undefined;
1597
+ properties?: {
1598
+ description?: string | undefined;
1599
+ order?: string | undefined;
1600
+ slug?: string | undefined;
1601
+ status?: string | undefined;
1602
+ title?: string | undefined;
1603
+ } | undefined;
1604
+ publishedValue?: string | undefined;
1605
+ };
1606
+ requiredSecrets: string[];
1607
+ runtimeDeps: string[];
1608
+ } | {
1609
+ kind: "contentful";
1610
+ options: {
1611
+ contentType: string;
1612
+ space: string;
1613
+ pollInterval?: number | undefined;
1614
+ prefix?: string | undefined;
1615
+ environment?: string | undefined;
1616
+ fields?: {
1617
+ body?: string | undefined;
1618
+ description?: string | undefined;
1619
+ lastModified?: string | undefined;
1620
+ slug?: string | undefined;
1621
+ title?: string | undefined;
1622
+ } | undefined;
1623
+ locale?: string | undefined;
1624
+ params?: Record<string, string> | undefined;
1625
+ };
1626
+ requiredSecrets: string[];
1627
+ runtimeDeps: string[];
1628
+ } | {
1629
+ kind: "payload";
1630
+ options: {
1631
+ collection: string;
1632
+ url: string;
1633
+ pollInterval?: number | undefined;
1634
+ prefix?: string | undefined;
1635
+ authCollection?: string | undefined;
1636
+ depth?: number | undefined;
1637
+ fields?: {
1638
+ body?: string | undefined;
1639
+ description?: string | undefined;
1640
+ lastModified?: string | undefined;
1641
+ slug?: string | undefined;
1642
+ title?: string | undefined;
1643
+ } | undefined;
1644
+ params?: Record<string, string> | undefined;
1645
+ };
1646
+ requiredSecrets: string[];
1647
+ runtimeDeps: string[];
1648
+ } | {
1649
+ kind: "strapi";
1650
+ options: {
1651
+ contentType: string;
1652
+ url: string;
1653
+ pollInterval?: number | undefined;
1654
+ prefix?: string | undefined;
1655
+ fields?: {
1656
+ body?: string | undefined;
1657
+ description?: string | undefined;
1658
+ lastModified?: string | undefined;
1659
+ slug?: string | undefined;
1660
+ title?: string | undefined;
1661
+ } | undefined;
1662
+ locale?: string | undefined;
1663
+ params?: Record<string, string> | undefined;
1664
+ populate?: string | undefined;
1665
+ };
1666
+ requiredSecrets: string[];
1667
+ runtimeDeps: string[];
1668
+ } | {
1669
+ kind: "obsidian";
1670
+ options: {
1671
+ vault: string;
1672
+ pollInterval?: number | undefined;
1673
+ prefix?: string | undefined;
1674
+ exclude?: string[] | undefined;
1675
+ };
1676
+ requiredSecrets: string[];
1677
+ runtimeDeps: string[];
1678
+ } | {
1679
+ kind: "custom";
1680
+ options: import("./sources/types.ts").ContentSource;
1681
+ requiredSecrets: string[];
1682
+ runtimeDeps: string[];
1683
+ }, {
1684
+ kind: "filesystem";
1685
+ options: {
1686
+ exclude: string[];
1687
+ include: string[];
1688
+ root: string;
1689
+ pollInterval?: number | undefined;
1690
+ prefix?: string | undefined;
1691
+ };
1692
+ requiredSecrets: string[];
1693
+ runtimeDeps: string[];
1694
+ } | {
1695
+ kind: "mdx-remote";
1696
+ options: {
1697
+ include: string[];
1698
+ pollInterval?: number | undefined;
1699
+ prefix?: string | undefined;
1700
+ files?: string[] | undefined;
1701
+ github?: {
1702
+ owner: string;
1703
+ path: string;
1704
+ ref: string;
1705
+ repo: string;
1706
+ } | undefined;
1707
+ url?: string | undefined;
1708
+ };
1709
+ requiredSecrets: string[];
1710
+ runtimeDeps: string[];
1711
+ } | {
1712
+ kind: "github-releases";
1713
+ options: {
1714
+ owner: string;
1715
+ repo: string;
1716
+ pollInterval?: number | undefined;
1717
+ prefix?: string | undefined;
1718
+ drafts?: boolean | undefined;
1719
+ limit?: number | undefined;
1720
+ prereleases?: boolean | undefined;
1721
+ };
1722
+ requiredSecrets: string[];
1723
+ runtimeDeps: string[];
1724
+ } | {
1725
+ kind: "sanity";
1726
+ options: {
1727
+ dataset: string;
1728
+ projectId: string;
1729
+ query: string;
1730
+ pollInterval?: number | undefined;
1731
+ prefix?: string | undefined;
1732
+ apiVersion?: string | undefined;
1733
+ fields?: {
1734
+ body?: string | undefined;
1735
+ description?: string | undefined;
1736
+ lastModified?: string | undefined;
1737
+ slug?: string | undefined;
1738
+ title?: string | undefined;
1739
+ } | undefined;
1740
+ };
1741
+ requiredSecrets: string[];
1742
+ runtimeDeps: string[];
1743
+ } | {
1744
+ kind: "notion";
1745
+ options: {
1746
+ database: string;
1747
+ pollInterval?: number | undefined;
1748
+ prefix?: string | undefined;
1749
+ concurrency?: number | undefined;
1750
+ properties?: {
1751
+ description?: string | undefined;
1752
+ order?: string | undefined;
1753
+ slug?: string | undefined;
1754
+ status?: string | undefined;
1755
+ title?: string | undefined;
1756
+ } | undefined;
1757
+ publishedValue?: string | undefined;
1758
+ };
1759
+ requiredSecrets: string[];
1760
+ runtimeDeps: string[];
1761
+ } | {
1762
+ kind: "contentful";
1763
+ options: {
1764
+ contentType: string;
1765
+ space: string;
1766
+ pollInterval?: number | undefined;
1767
+ prefix?: string | undefined;
1768
+ environment?: string | undefined;
1769
+ fields?: {
1770
+ body?: string | undefined;
1771
+ description?: string | undefined;
1772
+ lastModified?: string | undefined;
1773
+ slug?: string | undefined;
1774
+ title?: string | undefined;
1775
+ } | undefined;
1776
+ locale?: string | undefined;
1777
+ params?: Record<string, string> | undefined;
1778
+ };
1779
+ requiredSecrets: string[];
1780
+ runtimeDeps: string[];
1781
+ } | {
1782
+ kind: "payload";
1783
+ options: {
1784
+ collection: string;
1785
+ url: string;
1786
+ pollInterval?: number | undefined;
1787
+ prefix?: string | undefined;
1788
+ authCollection?: string | undefined;
1789
+ depth?: number | undefined;
1790
+ fields?: {
1791
+ body?: string | undefined;
1792
+ description?: string | undefined;
1793
+ lastModified?: string | undefined;
1794
+ slug?: string | undefined;
1795
+ title?: string | undefined;
1796
+ } | undefined;
1797
+ params?: Record<string, string> | undefined;
1798
+ };
1799
+ requiredSecrets: string[];
1800
+ runtimeDeps: string[];
1801
+ } | {
1802
+ kind: "strapi";
1803
+ options: {
1804
+ contentType: string;
1805
+ url: string;
1806
+ pollInterval?: number | undefined;
1807
+ prefix?: string | undefined;
1808
+ fields?: {
1809
+ body?: string | undefined;
1810
+ description?: string | undefined;
1811
+ lastModified?: string | undefined;
1812
+ slug?: string | undefined;
1813
+ title?: string | undefined;
1814
+ } | undefined;
1815
+ locale?: string | undefined;
1816
+ params?: Record<string, string> | undefined;
1817
+ populate?: string | undefined;
1818
+ };
1819
+ requiredSecrets: string[];
1820
+ runtimeDeps: string[];
1821
+ } | {
1822
+ kind: "obsidian";
1823
+ options: {
1824
+ vault: string;
1825
+ pollInterval?: number | undefined;
1826
+ prefix?: string | undefined;
1827
+ exclude?: string[] | undefined;
1828
+ };
1829
+ requiredSecrets: string[];
1830
+ runtimeDeps: string[];
1831
+ } | {
1832
+ kind: "custom";
1833
+ options: import("./sources/types.ts").ContentSource;
1834
+ requiredSecrets: string[];
1835
+ runtimeDeps: string[];
1836
+ }>>>>>;
812
1837
  types: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
813
1838
  facets: z.ZodDefault<z.ZodArray<z.ZodString>>;
814
1839
  frontmatter: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodCustom<StandardSchema<unknown, unknown>, StandardSchema<unknown, unknown>>>>;
815
1840
  }, z.core.$strict>>>;
816
- }, z.core.$strict>>;
1841
+ }, z.core.$strict>, z.ZodTransform<{
1842
+ sources: ({
1843
+ kind: "filesystem";
1844
+ options: {
1845
+ exclude: string[];
1846
+ include: string[];
1847
+ root: string;
1848
+ pollInterval?: number | undefined;
1849
+ prefix?: string | undefined;
1850
+ };
1851
+ requiredSecrets: string[];
1852
+ runtimeDeps: string[];
1853
+ } | {
1854
+ kind: "mdx-remote";
1855
+ options: {
1856
+ include: string[];
1857
+ pollInterval?: number | undefined;
1858
+ prefix?: string | undefined;
1859
+ files?: string[] | undefined;
1860
+ github?: {
1861
+ owner: string;
1862
+ path: string;
1863
+ ref: string;
1864
+ repo: string;
1865
+ } | undefined;
1866
+ url?: string | undefined;
1867
+ };
1868
+ requiredSecrets: string[];
1869
+ runtimeDeps: string[];
1870
+ } | {
1871
+ kind: "github-releases";
1872
+ options: {
1873
+ owner: string;
1874
+ repo: string;
1875
+ pollInterval?: number | undefined;
1876
+ prefix?: string | undefined;
1877
+ drafts?: boolean | undefined;
1878
+ limit?: number | undefined;
1879
+ prereleases?: boolean | undefined;
1880
+ };
1881
+ requiredSecrets: string[];
1882
+ runtimeDeps: string[];
1883
+ } | {
1884
+ kind: "sanity";
1885
+ options: {
1886
+ dataset: string;
1887
+ projectId: string;
1888
+ query: string;
1889
+ pollInterval?: number | undefined;
1890
+ prefix?: string | undefined;
1891
+ apiVersion?: string | undefined;
1892
+ fields?: {
1893
+ body?: string | undefined;
1894
+ description?: string | undefined;
1895
+ lastModified?: string | undefined;
1896
+ slug?: string | undefined;
1897
+ title?: string | undefined;
1898
+ } | undefined;
1899
+ };
1900
+ requiredSecrets: string[];
1901
+ runtimeDeps: string[];
1902
+ } | {
1903
+ kind: "notion";
1904
+ options: {
1905
+ database: string;
1906
+ pollInterval?: number | undefined;
1907
+ prefix?: string | undefined;
1908
+ concurrency?: number | undefined;
1909
+ properties?: {
1910
+ description?: string | undefined;
1911
+ order?: string | undefined;
1912
+ slug?: string | undefined;
1913
+ status?: string | undefined;
1914
+ title?: string | undefined;
1915
+ } | undefined;
1916
+ publishedValue?: string | undefined;
1917
+ };
1918
+ requiredSecrets: string[];
1919
+ runtimeDeps: string[];
1920
+ } | {
1921
+ kind: "contentful";
1922
+ options: {
1923
+ contentType: string;
1924
+ space: string;
1925
+ pollInterval?: number | undefined;
1926
+ prefix?: string | undefined;
1927
+ environment?: string | undefined;
1928
+ fields?: {
1929
+ body?: string | undefined;
1930
+ description?: string | undefined;
1931
+ lastModified?: string | undefined;
1932
+ slug?: string | undefined;
1933
+ title?: string | undefined;
1934
+ } | undefined;
1935
+ locale?: string | undefined;
1936
+ params?: Record<string, string> | undefined;
1937
+ };
1938
+ requiredSecrets: string[];
1939
+ runtimeDeps: string[];
1940
+ } | {
1941
+ kind: "payload";
1942
+ options: {
1943
+ collection: string;
1944
+ url: string;
1945
+ pollInterval?: number | undefined;
1946
+ prefix?: string | undefined;
1947
+ authCollection?: string | undefined;
1948
+ depth?: number | undefined;
1949
+ fields?: {
1950
+ body?: string | undefined;
1951
+ description?: string | undefined;
1952
+ lastModified?: string | undefined;
1953
+ slug?: string | undefined;
1954
+ title?: string | undefined;
1955
+ } | undefined;
1956
+ params?: Record<string, string> | undefined;
1957
+ };
1958
+ requiredSecrets: string[];
1959
+ runtimeDeps: string[];
1960
+ } | {
1961
+ kind: "strapi";
1962
+ options: {
1963
+ contentType: string;
1964
+ url: string;
1965
+ pollInterval?: number | undefined;
1966
+ prefix?: string | undefined;
1967
+ fields?: {
1968
+ body?: string | undefined;
1969
+ description?: string | undefined;
1970
+ lastModified?: string | undefined;
1971
+ slug?: string | undefined;
1972
+ title?: string | undefined;
1973
+ } | undefined;
1974
+ locale?: string | undefined;
1975
+ params?: Record<string, string> | undefined;
1976
+ populate?: string | undefined;
1977
+ };
1978
+ requiredSecrets: string[];
1979
+ runtimeDeps: string[];
1980
+ } | {
1981
+ kind: "obsidian";
1982
+ options: {
1983
+ vault: string;
1984
+ pollInterval?: number | undefined;
1985
+ prefix?: string | undefined;
1986
+ exclude?: string[] | undefined;
1987
+ };
1988
+ requiredSecrets: string[];
1989
+ runtimeDeps: string[];
1990
+ } | {
1991
+ kind: "custom";
1992
+ options: import("./sources/types.ts").ContentSource;
1993
+ requiredSecrets: string[];
1994
+ runtimeDeps: string[];
1995
+ })[];
1996
+ defaultType: string;
1997
+ pages: string;
1998
+ types: Record<string, {
1999
+ facets: string[];
2000
+ frontmatter: Record<string, StandardSchema<unknown, unknown>>;
2001
+ }>;
2002
+ }, {
2003
+ defaultType: string;
2004
+ pages: string;
2005
+ types: Record<string, {
2006
+ facets: string[];
2007
+ frontmatter: Record<string, StandardSchema<unknown, unknown>>;
2008
+ }>;
2009
+ exclude?: string[] | undefined;
2010
+ include?: string[] | undefined;
2011
+ root?: string | undefined;
2012
+ sources?: ({
2013
+ kind: "filesystem";
2014
+ options: {
2015
+ exclude: string[];
2016
+ include: string[];
2017
+ root: string;
2018
+ pollInterval?: number | undefined;
2019
+ prefix?: string | undefined;
2020
+ };
2021
+ requiredSecrets: string[];
2022
+ runtimeDeps: string[];
2023
+ } | {
2024
+ kind: "mdx-remote";
2025
+ options: {
2026
+ include: string[];
2027
+ pollInterval?: number | undefined;
2028
+ prefix?: string | undefined;
2029
+ files?: string[] | undefined;
2030
+ github?: {
2031
+ owner: string;
2032
+ path: string;
2033
+ ref: string;
2034
+ repo: string;
2035
+ } | undefined;
2036
+ url?: string | undefined;
2037
+ };
2038
+ requiredSecrets: string[];
2039
+ runtimeDeps: string[];
2040
+ } | {
2041
+ kind: "github-releases";
2042
+ options: {
2043
+ owner: string;
2044
+ repo: string;
2045
+ pollInterval?: number | undefined;
2046
+ prefix?: string | undefined;
2047
+ drafts?: boolean | undefined;
2048
+ limit?: number | undefined;
2049
+ prereleases?: boolean | undefined;
2050
+ };
2051
+ requiredSecrets: string[];
2052
+ runtimeDeps: string[];
2053
+ } | {
2054
+ kind: "sanity";
2055
+ options: {
2056
+ dataset: string;
2057
+ projectId: string;
2058
+ query: string;
2059
+ pollInterval?: number | undefined;
2060
+ prefix?: string | undefined;
2061
+ apiVersion?: string | undefined;
2062
+ fields?: {
2063
+ body?: string | undefined;
2064
+ description?: string | undefined;
2065
+ lastModified?: string | undefined;
2066
+ slug?: string | undefined;
2067
+ title?: string | undefined;
2068
+ } | undefined;
2069
+ };
2070
+ requiredSecrets: string[];
2071
+ runtimeDeps: string[];
2072
+ } | {
2073
+ kind: "notion";
2074
+ options: {
2075
+ database: string;
2076
+ pollInterval?: number | undefined;
2077
+ prefix?: string | undefined;
2078
+ concurrency?: number | undefined;
2079
+ properties?: {
2080
+ description?: string | undefined;
2081
+ order?: string | undefined;
2082
+ slug?: string | undefined;
2083
+ status?: string | undefined;
2084
+ title?: string | undefined;
2085
+ } | undefined;
2086
+ publishedValue?: string | undefined;
2087
+ };
2088
+ requiredSecrets: string[];
2089
+ runtimeDeps: string[];
2090
+ } | {
2091
+ kind: "contentful";
2092
+ options: {
2093
+ contentType: string;
2094
+ space: string;
2095
+ pollInterval?: number | undefined;
2096
+ prefix?: string | undefined;
2097
+ environment?: string | undefined;
2098
+ fields?: {
2099
+ body?: string | undefined;
2100
+ description?: string | undefined;
2101
+ lastModified?: string | undefined;
2102
+ slug?: string | undefined;
2103
+ title?: string | undefined;
2104
+ } | undefined;
2105
+ locale?: string | undefined;
2106
+ params?: Record<string, string> | undefined;
2107
+ };
2108
+ requiredSecrets: string[];
2109
+ runtimeDeps: string[];
2110
+ } | {
2111
+ kind: "payload";
2112
+ options: {
2113
+ collection: string;
2114
+ url: string;
2115
+ pollInterval?: number | undefined;
2116
+ prefix?: string | undefined;
2117
+ authCollection?: string | undefined;
2118
+ depth?: number | undefined;
2119
+ fields?: {
2120
+ body?: string | undefined;
2121
+ description?: string | undefined;
2122
+ lastModified?: string | undefined;
2123
+ slug?: string | undefined;
2124
+ title?: string | undefined;
2125
+ } | undefined;
2126
+ params?: Record<string, string> | undefined;
2127
+ };
2128
+ requiredSecrets: string[];
2129
+ runtimeDeps: string[];
2130
+ } | {
2131
+ kind: "strapi";
2132
+ options: {
2133
+ contentType: string;
2134
+ url: string;
2135
+ pollInterval?: number | undefined;
2136
+ prefix?: string | undefined;
2137
+ fields?: {
2138
+ body?: string | undefined;
2139
+ description?: string | undefined;
2140
+ lastModified?: string | undefined;
2141
+ slug?: string | undefined;
2142
+ title?: string | undefined;
2143
+ } | undefined;
2144
+ locale?: string | undefined;
2145
+ params?: Record<string, string> | undefined;
2146
+ populate?: string | undefined;
2147
+ };
2148
+ requiredSecrets: string[];
2149
+ runtimeDeps: string[];
2150
+ } | {
2151
+ kind: "obsidian";
2152
+ options: {
2153
+ vault: string;
2154
+ pollInterval?: number | undefined;
2155
+ prefix?: string | undefined;
2156
+ exclude?: string[] | undefined;
2157
+ };
2158
+ requiredSecrets: string[];
2159
+ runtimeDeps: string[];
2160
+ } | {
2161
+ kind: "custom";
2162
+ options: import("./sources/types.ts").ContentSource;
2163
+ requiredSecrets: string[];
2164
+ runtimeDeps: string[];
2165
+ })[] | undefined;
2166
+ }>>>;
817
2167
  dateFormat: z.ZodDefault<z.ZodObject<{
818
2168
  calendar: z.ZodOptional<z.ZodString>;
819
2169
  dateStyle: z.ZodOptional<z.ZodEnum<{
@@ -850,20 +2200,103 @@ export declare const blumeConfigSchema: z.ZodObject<{
850
2200
  "2-digit": "2-digit";
851
2201
  }>>;
852
2202
  }, z.core.$strict>>;
853
- deployment: z.ZodPrefault<z.ZodObject<{
854
- adapter: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
855
- cloudflare: "cloudflare";
856
- vercel: "vercel";
857
- node: "node";
858
- netlify: "netlify";
859
- }>>>;
2203
+ deployment: z.ZodPrefault<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
2204
+ kind: z.ZodLiteral<"cloudflare">;
2205
+ options: z.ZodObject<{
2206
+ base: z.ZodOptional<z.ZodString>;
2207
+ output: z.ZodOptional<z.ZodEnum<{
2208
+ static: "static";
2209
+ server: "server";
2210
+ }>>;
2211
+ site: z.ZodOptional<z.ZodURL>;
2212
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2213
+ requiredSecrets: z.ZodArray<z.ZodString>;
2214
+ runtimeDeps: z.ZodArray<z.ZodString>;
2215
+ }, z.core.$strict>, z.ZodObject<{
2216
+ kind: z.ZodLiteral<"netlify">;
2217
+ options: z.ZodObject<{
2218
+ base: z.ZodOptional<z.ZodString>;
2219
+ output: z.ZodOptional<z.ZodEnum<{
2220
+ static: "static";
2221
+ server: "server";
2222
+ }>>;
2223
+ site: z.ZodOptional<z.ZodURL>;
2224
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2225
+ requiredSecrets: z.ZodArray<z.ZodString>;
2226
+ runtimeDeps: z.ZodArray<z.ZodString>;
2227
+ }, z.core.$strict>, z.ZodObject<{
2228
+ kind: z.ZodLiteral<"node">;
2229
+ options: z.ZodObject<{
2230
+ base: z.ZodOptional<z.ZodString>;
2231
+ output: z.ZodOptional<z.ZodEnum<{
2232
+ static: "static";
2233
+ server: "server";
2234
+ }>>;
2235
+ site: z.ZodOptional<z.ZodURL>;
2236
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2237
+ requiredSecrets: z.ZodArray<z.ZodString>;
2238
+ runtimeDeps: z.ZodArray<z.ZodString>;
2239
+ }, z.core.$strict>, z.ZodObject<{
2240
+ kind: z.ZodLiteral<"vercel">;
2241
+ options: z.ZodObject<{
2242
+ base: z.ZodOptional<z.ZodString>;
2243
+ output: z.ZodOptional<z.ZodEnum<{
2244
+ static: "static";
2245
+ server: "server";
2246
+ }>>;
2247
+ site: z.ZodOptional<z.ZodURL>;
2248
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2249
+ requiredSecrets: z.ZodArray<z.ZodString>;
2250
+ runtimeDeps: z.ZodArray<z.ZodString>;
2251
+ }, z.core.$strict>, z.ZodObject<{
860
2252
  base: z.ZodOptional<z.ZodString>;
861
- output: z.ZodDefault<z.ZodEnum<{
862
- static: "static";
863
- server: "server";
864
- }>>;
2253
+ kind: z.ZodOptional<z.ZodLiteral<"static">>;
865
2254
  site: z.ZodOptional<z.ZodURL>;
866
- }, z.core.$strict>>;
2255
+ }, z.core.$strict>], "kind">, z.ZodTransform<import("../deploy/adapters/registry.ts").ResolvedDeployment, {
2256
+ kind: "cloudflare";
2257
+ options: {
2258
+ [x: string]: z.core.util.JSONType;
2259
+ base?: string | undefined;
2260
+ output?: "static" | "server" | undefined;
2261
+ site?: string | undefined;
2262
+ };
2263
+ requiredSecrets: string[];
2264
+ runtimeDeps: string[];
2265
+ } | {
2266
+ kind: "netlify";
2267
+ options: {
2268
+ [x: string]: z.core.util.JSONType;
2269
+ base?: string | undefined;
2270
+ output?: "static" | "server" | undefined;
2271
+ site?: string | undefined;
2272
+ };
2273
+ requiredSecrets: string[];
2274
+ runtimeDeps: string[];
2275
+ } | {
2276
+ kind: "node";
2277
+ options: {
2278
+ [x: string]: z.core.util.JSONType;
2279
+ base?: string | undefined;
2280
+ output?: "static" | "server" | undefined;
2281
+ site?: string | undefined;
2282
+ };
2283
+ requiredSecrets: string[];
2284
+ runtimeDeps: string[];
2285
+ } | {
2286
+ kind: "vercel";
2287
+ options: {
2288
+ [x: string]: z.core.util.JSONType;
2289
+ base?: string | undefined;
2290
+ output?: "static" | "server" | undefined;
2291
+ site?: string | undefined;
2292
+ };
2293
+ requiredSecrets: string[];
2294
+ runtimeDeps: string[];
2295
+ } | {
2296
+ base?: string | undefined;
2297
+ kind?: "static" | undefined;
2298
+ site?: string | undefined;
2299
+ }>>>;
867
2300
  description: z.ZodOptional<z.ZodString>;
868
2301
  examples: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
869
2302
  css: z.ZodOptional<z.ZodString>;
@@ -897,33 +2330,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
897
2330
  owner: z.ZodString;
898
2331
  repo: z.ZodString;
899
2332
  }, z.core.$strict>>;
900
- graphql: z.ZodPrefault<z.ZodObject<{
901
- enabled: z.ZodDefault<z.ZodBoolean>;
902
- route: z.ZodDefault<z.ZodString>;
903
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
904
- playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
905
- enabled: z.ZodDefault<z.ZodBoolean>;
906
- proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
907
- }, z.core.$strict>]>>, z.ZodTransform<{
908
- enabled: boolean;
909
- proxy: string | boolean;
910
- }, boolean | {
911
- enabled: boolean;
912
- proxy: string | boolean;
913
- }>>;
914
- spec: z.ZodOptional<z.ZodString>;
915
- endpoint: z.ZodOptional<z.ZodString>;
916
- sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
917
- includeInLlms: z.ZodDefault<z.ZodBoolean>;
918
- includeInSearch: z.ZodDefault<z.ZodBoolean>;
919
- label: z.ZodOptional<z.ZodString>;
920
- noindex: z.ZodDefault<z.ZodBoolean>;
921
- route: z.ZodOptional<z.ZodString>;
922
- seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
923
- spec: z.ZodString;
924
- endpoint: z.ZodOptional<z.ZodString>;
925
- }, z.core.$strict>>>;
926
- }, z.core.$strict>>;
927
2333
  i18n: z.ZodOptional<z.ZodObject<{
928
2334
  defaultLocale: z.ZodDefault<z.ZodString>;
929
2335
  fallbackLocale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -953,12 +2359,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
953
2359
  }, z.core.$strict>>>;
954
2360
  }, z.core.$strict>>;
955
2361
  integrations: z.ZodDefault<z.ZodArray<z.ZodCustom<AstroIntegration, AstroIntegration>>>;
956
- lastModified: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
957
- type: z.ZodDefault<z.ZodEnum<{
958
- frontmatter: "frontmatter";
959
- git: "git";
960
- }>>;
961
- }, z.core.$strict>]>>;
2362
+ lastModified: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
2363
+ frontmatter: "frontmatter";
2364
+ git: "git";
2365
+ }>]>>;
962
2366
  logo: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
963
2367
  href: z.ZodOptional<z.ZodString>;
964
2368
  image: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -971,14 +2375,13 @@ export declare const blumeConfigSchema: z.ZodObject<{
971
2375
  markdown: z.ZodPrefault<z.ZodObject<{
972
2376
  code: z.ZodPrefault<z.ZodObject<{
973
2377
  icons: z.ZodDefault<z.ZodBoolean>;
974
- wrap: z.ZodDefault<z.ZodBoolean>;
975
- }, z.core.$strict>>;
976
- codeBlocks: z.ZodPrefault<z.ZodObject<{
977
2378
  theme: z.ZodPrefault<z.ZodObject<{
978
2379
  dark: z.ZodDefault<z.ZodCustom<CodeTheme, CodeTheme>>;
979
2380
  light: z.ZodDefault<z.ZodCustom<CodeTheme, CodeTheme>>;
980
2381
  }, z.core.$strict>>;
2382
+ wrap: z.ZodDefault<z.ZodBoolean>;
981
2383
  }, z.core.$strict>>;
2384
+ externalLinks: z.ZodDefault<z.ZodBoolean>;
982
2385
  headingAnchors: z.ZodDefault<z.ZodBoolean>;
983
2386
  imageZoom: z.ZodDefault<z.ZodBoolean>;
984
2387
  }, z.core.$strict>>;
@@ -1006,10 +2409,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
1006
2409
  tag: z.ZodOptional<z.ZodString>;
1007
2410
  }, z.core.$strict>>>;
1008
2411
  kind: z.ZodEnum<{
2412
+ version: "version";
1009
2413
  dropdown: "dropdown";
1010
2414
  language: "language";
1011
2415
  product: "product";
1012
- version: "version";
1013
2416
  }>;
1014
2417
  label: z.ZodString;
1015
2418
  }, z.core.$strict>>>;
@@ -1041,38 +2444,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
1041
2444
  path: z.ZodString;
1042
2445
  }, z.core.$strict>>>;
1043
2446
  }, z.core.$strict>>;
1044
- openapi: z.ZodPrefault<z.ZodObject<{
1045
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
1046
- enabled: z.ZodDefault<z.ZodBoolean>;
1047
- expandSchemas: z.ZodDefault<z.ZodBoolean>;
1048
- playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1049
- enabled: z.ZodDefault<z.ZodBoolean>;
1050
- proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1051
- }, z.core.$strict>]>>, z.ZodTransform<{
1052
- enabled: boolean;
1053
- proxy: string | boolean;
1054
- }, boolean | {
1055
- enabled: boolean;
1056
- proxy: string | boolean;
1057
- }>>;
1058
- renderer: z.ZodDefault<z.ZodEnum<{
1059
- blume: "blume";
1060
- scalar: "scalar";
1061
- }>>;
1062
- route: z.ZodDefault<z.ZodString>;
1063
- scalar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1064
- sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
1065
- includeInLlms: z.ZodDefault<z.ZodBoolean>;
1066
- includeInSearch: z.ZodDefault<z.ZodBoolean>;
1067
- label: z.ZodOptional<z.ZodString>;
1068
- noindex: z.ZodDefault<z.ZodBoolean>;
1069
- route: z.ZodOptional<z.ZodString>;
1070
- seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
1071
- spec: z.ZodString;
1072
- }, z.core.$strict>>>;
1073
- spec: z.ZodOptional<z.ZodString>;
1074
- theme: z.ZodOptional<z.ZodString>;
1075
- }, z.core.$strict>>;
1076
2447
  react: z.ZodPrefault<z.ZodObject<{
1077
2448
  compiler: z.ZodDefault<z.ZodBoolean>;
1078
2449
  }, z.core.$strict>>;
@@ -1081,65 +2452,527 @@ export declare const blumeConfigSchema: z.ZodObject<{
1081
2452
  status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
1082
2453
  to: z.ZodString;
1083
2454
  }, z.core.$strict>>>;
1084
- search: z.ZodPrefault<z.ZodObject<{
1085
- algolia: z.ZodOptional<z.ZodObject<{
1086
- appId: z.ZodString;
1087
- indexName: z.ZodString;
1088
- searchApiKey: z.ZodString;
1089
- }, z.core.$strict>>;
2455
+ reference: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
2456
+ kind: z.ZodLiteral<"asyncapi">;
2457
+ options: z.ZodPipe<z.ZodObject<{
2458
+ expandSchemas: z.ZodDefault<z.ZodBoolean>;
2459
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2460
+ includeInLlms: z.ZodDefault<z.ZodBoolean>;
2461
+ includeInSearch: z.ZodDefault<z.ZodBoolean>;
2462
+ label: z.ZodOptional<z.ZodString>;
2463
+ noindex: z.ZodDefault<z.ZodBoolean>;
2464
+ route: z.ZodOptional<z.ZodString>;
2465
+ seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2466
+ spec: z.ZodString;
2467
+ }, z.core.$strict>>>;
2468
+ codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
2469
+ playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2470
+ enabled: z.ZodDefault<z.ZodBoolean>;
2471
+ proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2472
+ }, z.core.$strict>]>>, z.ZodTransform<{
2473
+ enabled: boolean;
2474
+ proxy: string | boolean;
2475
+ }, boolean | {
2476
+ enabled: boolean;
2477
+ proxy: string | boolean;
2478
+ }>>;
2479
+ route: z.ZodDefault<z.ZodString>;
2480
+ spec: z.ZodOptional<z.ZodString>;
2481
+ }, z.core.$strict>, z.ZodTransform<Omit<{
2482
+ expandSchemas: boolean;
2483
+ sources: {
2484
+ includeInLlms: boolean;
2485
+ includeInSearch: boolean;
2486
+ noindex: boolean;
2487
+ seoDescriptionSuffix: boolean;
2488
+ spec: string;
2489
+ label?: string | undefined;
2490
+ route?: string | undefined;
2491
+ }[];
2492
+ codeSamples: string[];
2493
+ playground: {
2494
+ enabled: boolean;
2495
+ proxy: string | boolean;
2496
+ };
2497
+ route: string;
2498
+ spec?: string | undefined;
2499
+ }, "spec">, {
2500
+ expandSchemas: boolean;
2501
+ sources: {
2502
+ includeInLlms: boolean;
2503
+ includeInSearch: boolean;
2504
+ noindex: boolean;
2505
+ seoDescriptionSuffix: boolean;
2506
+ spec: string;
2507
+ label?: string | undefined;
2508
+ route?: string | undefined;
2509
+ }[];
2510
+ codeSamples: string[];
2511
+ playground: {
2512
+ enabled: boolean;
2513
+ proxy: string | boolean;
2514
+ };
2515
+ route: string;
2516
+ spec?: string | undefined;
2517
+ }>>;
2518
+ requiredSecrets: z.ZodArray<z.ZodString>;
2519
+ runtimeDeps: z.ZodArray<z.ZodString>;
2520
+ }, z.core.$strict>, z.ZodObject<{
2521
+ kind: z.ZodLiteral<"graphql">;
2522
+ options: z.ZodPipe<z.ZodObject<{
2523
+ endpoint: z.ZodOptional<z.ZodString>;
2524
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2525
+ includeInLlms: z.ZodDefault<z.ZodBoolean>;
2526
+ includeInSearch: z.ZodDefault<z.ZodBoolean>;
2527
+ label: z.ZodOptional<z.ZodString>;
2528
+ noindex: z.ZodDefault<z.ZodBoolean>;
2529
+ route: z.ZodOptional<z.ZodString>;
2530
+ seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2531
+ spec: z.ZodString;
2532
+ endpoint: z.ZodOptional<z.ZodString>;
2533
+ }, z.core.$strict>>>;
2534
+ codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
2535
+ playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2536
+ enabled: z.ZodDefault<z.ZodBoolean>;
2537
+ proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2538
+ }, z.core.$strict>]>>, z.ZodTransform<{
2539
+ enabled: boolean;
2540
+ proxy: string | boolean;
2541
+ }, boolean | {
2542
+ enabled: boolean;
2543
+ proxy: string | boolean;
2544
+ }>>;
2545
+ route: z.ZodDefault<z.ZodString>;
2546
+ spec: z.ZodOptional<z.ZodString>;
2547
+ }, z.core.$strict>, z.ZodTransform<Omit<{
2548
+ sources: {
2549
+ includeInLlms: boolean;
2550
+ includeInSearch: boolean;
2551
+ noindex: boolean;
2552
+ seoDescriptionSuffix: boolean;
2553
+ spec: string;
2554
+ label?: string | undefined;
2555
+ route?: string | undefined;
2556
+ endpoint?: string | undefined;
2557
+ }[];
2558
+ codeSamples: string[];
2559
+ playground: {
2560
+ enabled: boolean;
2561
+ proxy: string | boolean;
2562
+ };
2563
+ route: string;
2564
+ endpoint?: string | undefined;
2565
+ spec?: string | undefined;
2566
+ }, "spec">, {
2567
+ sources: {
2568
+ includeInLlms: boolean;
2569
+ includeInSearch: boolean;
2570
+ noindex: boolean;
2571
+ seoDescriptionSuffix: boolean;
2572
+ spec: string;
2573
+ label?: string | undefined;
2574
+ route?: string | undefined;
2575
+ endpoint?: string | undefined;
2576
+ }[];
2577
+ codeSamples: string[];
2578
+ playground: {
2579
+ enabled: boolean;
2580
+ proxy: string | boolean;
2581
+ };
2582
+ route: string;
2583
+ endpoint?: string | undefined;
2584
+ spec?: string | undefined;
2585
+ }>>;
2586
+ requiredSecrets: z.ZodArray<z.ZodString>;
2587
+ runtimeDeps: z.ZodArray<z.ZodString>;
2588
+ }, z.core.$strict>, z.ZodObject<{
2589
+ kind: z.ZodLiteral<"openapi">;
2590
+ options: z.ZodPipe<z.ZodObject<{
2591
+ expandSchemas: z.ZodDefault<z.ZodBoolean>;
2592
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2593
+ includeInLlms: z.ZodDefault<z.ZodBoolean>;
2594
+ includeInSearch: z.ZodDefault<z.ZodBoolean>;
2595
+ label: z.ZodOptional<z.ZodString>;
2596
+ noindex: z.ZodDefault<z.ZodBoolean>;
2597
+ route: z.ZodOptional<z.ZodString>;
2598
+ seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2599
+ spec: z.ZodString;
2600
+ }, z.core.$strict>>>;
2601
+ codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
2602
+ playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2603
+ enabled: z.ZodDefault<z.ZodBoolean>;
2604
+ proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2605
+ }, z.core.$strict>]>>, z.ZodTransform<{
2606
+ enabled: boolean;
2607
+ proxy: string | boolean;
2608
+ }, boolean | {
2609
+ enabled: boolean;
2610
+ proxy: string | boolean;
2611
+ }>>;
2612
+ route: z.ZodDefault<z.ZodString>;
2613
+ spec: z.ZodOptional<z.ZodString>;
2614
+ }, z.core.$strict>, z.ZodTransform<Omit<{
2615
+ expandSchemas: boolean;
2616
+ sources: {
2617
+ includeInLlms: boolean;
2618
+ includeInSearch: boolean;
2619
+ noindex: boolean;
2620
+ seoDescriptionSuffix: boolean;
2621
+ spec: string;
2622
+ label?: string | undefined;
2623
+ route?: string | undefined;
2624
+ }[];
2625
+ codeSamples: string[];
2626
+ playground: {
2627
+ enabled: boolean;
2628
+ proxy: string | boolean;
2629
+ };
2630
+ route: string;
2631
+ spec?: string | undefined;
2632
+ }, "spec">, {
2633
+ expandSchemas: boolean;
2634
+ sources: {
2635
+ includeInLlms: boolean;
2636
+ includeInSearch: boolean;
2637
+ noindex: boolean;
2638
+ seoDescriptionSuffix: boolean;
2639
+ spec: string;
2640
+ label?: string | undefined;
2641
+ route?: string | undefined;
2642
+ }[];
2643
+ codeSamples: string[];
2644
+ playground: {
2645
+ enabled: boolean;
2646
+ proxy: string | boolean;
2647
+ };
2648
+ route: string;
2649
+ spec?: string | undefined;
2650
+ }>>;
2651
+ requiredSecrets: z.ZodArray<z.ZodString>;
2652
+ runtimeDeps: z.ZodArray<z.ZodString>;
2653
+ }, z.core.$strict>, z.ZodObject<{
2654
+ kind: z.ZodLiteral<"scalar">;
2655
+ options: z.ZodPipe<z.ZodObject<{
2656
+ route: z.ZodDefault<z.ZodString>;
2657
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2658
+ label: z.ZodOptional<z.ZodString>;
2659
+ noindex: z.ZodDefault<z.ZodBoolean>;
2660
+ route: z.ZodOptional<z.ZodString>;
2661
+ spec: z.ZodString;
2662
+ }, z.core.$strict>>>;
2663
+ spec: z.ZodOptional<z.ZodString>;
2664
+ theme: z.ZodOptional<z.ZodString>;
2665
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodTransform<import("../reference/scalar.ts").ResolvedScalarOptions, {
2666
+ [x: string]: z.core.util.JSONType;
2667
+ route: string;
2668
+ sources: {
2669
+ noindex: boolean;
2670
+ spec: string;
2671
+ label?: string | undefined;
2672
+ route?: string | undefined;
2673
+ }[];
2674
+ spec?: string | undefined;
2675
+ theme?: string | undefined;
2676
+ }>>;
2677
+ requiredSecrets: z.ZodArray<z.ZodString>;
2678
+ runtimeDeps: z.ZodArray<z.ZodString>;
2679
+ }, z.core.$strict>], "kind">, z.ZodTransform<import("../reference/scalar.ts").ResolvedScalarAdapter | import("../reference/asyncapi.ts").ResolvedAsyncApiAdapter | import("../reference/graphql.ts").ResolvedGraphqlAdapter | import("../reference/openapi.ts").ResolvedOpenApiAdapter, {
2680
+ kind: "scalar";
2681
+ options: import("../reference/scalar.ts").ResolvedScalarOptions;
2682
+ requiredSecrets: string[];
2683
+ runtimeDeps: string[];
2684
+ } | {
2685
+ kind: "asyncapi";
2686
+ options: Omit<{
2687
+ expandSchemas: boolean;
2688
+ sources: {
2689
+ includeInLlms: boolean;
2690
+ includeInSearch: boolean;
2691
+ noindex: boolean;
2692
+ seoDescriptionSuffix: boolean;
2693
+ spec: string;
2694
+ label?: string | undefined;
2695
+ route?: string | undefined;
2696
+ }[];
2697
+ codeSamples: string[];
2698
+ playground: {
2699
+ enabled: boolean;
2700
+ proxy: string | boolean;
2701
+ };
2702
+ route: string;
2703
+ spec?: string | undefined;
2704
+ }, "spec">;
2705
+ requiredSecrets: string[];
2706
+ runtimeDeps: string[];
2707
+ } | {
2708
+ kind: "graphql";
2709
+ options: Omit<{
2710
+ sources: {
2711
+ includeInLlms: boolean;
2712
+ includeInSearch: boolean;
2713
+ noindex: boolean;
2714
+ seoDescriptionSuffix: boolean;
2715
+ spec: string;
2716
+ label?: string | undefined;
2717
+ route?: string | undefined;
2718
+ endpoint?: string | undefined;
2719
+ }[];
2720
+ codeSamples: string[];
2721
+ playground: {
2722
+ enabled: boolean;
2723
+ proxy: string | boolean;
2724
+ };
2725
+ route: string;
2726
+ endpoint?: string | undefined;
2727
+ spec?: string | undefined;
2728
+ }, "spec">;
2729
+ requiredSecrets: string[];
2730
+ runtimeDeps: string[];
2731
+ } | {
2732
+ kind: "openapi";
2733
+ options: Omit<{
2734
+ expandSchemas: boolean;
2735
+ sources: {
2736
+ includeInLlms: boolean;
2737
+ includeInSearch: boolean;
2738
+ noindex: boolean;
2739
+ seoDescriptionSuffix: boolean;
2740
+ spec: string;
2741
+ label?: string | undefined;
2742
+ route?: string | undefined;
2743
+ }[];
2744
+ codeSamples: string[];
2745
+ playground: {
2746
+ enabled: boolean;
2747
+ proxy: string | boolean;
2748
+ };
2749
+ route: string;
2750
+ spec?: string | undefined;
2751
+ }, "spec">;
2752
+ requiredSecrets: string[];
2753
+ runtimeDeps: string[];
2754
+ }>>>>;
2755
+ search: z.ZodPrefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<SearchConfigInput, SearchConfigInput>, z.ZodTransform<{
2756
+ indexing?: {
2757
+ includeCodeBlocks?: boolean | undefined;
2758
+ includeHiddenPages?: boolean | undefined;
2759
+ } | undefined;
2760
+ popular?: {
2761
+ href: string;
2762
+ label: string;
2763
+ icon?: string | undefined;
2764
+ }[] | undefined;
2765
+ provider?: false | SearchAdapterInput | undefined;
2766
+ }, SearchConfigInput>>, z.ZodObject<{
1090
2767
  indexing: z.ZodPrefault<z.ZodObject<{
1091
2768
  includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
1092
2769
  includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
1093
2770
  }, z.core.$strict>>;
1094
- mixedbread: z.ZodOptional<z.ZodObject<{
1095
- storeId: z.ZodString;
1096
- }, z.core.$strict>>;
1097
- oramaCloud: z.ZodOptional<z.ZodObject<{
1098
- apiKey: z.ZodString;
1099
- endpoint: z.ZodString;
1100
- indexId: z.ZodOptional<z.ZodString>;
1101
- }, z.core.$strict>>;
1102
2771
  popular: z.ZodDefault<z.ZodArray<z.ZodObject<{
1103
2772
  href: z.ZodString;
1104
2773
  icon: z.ZodOptional<z.ZodString>;
1105
2774
  label: z.ZodString;
1106
2775
  }, z.core.$strict>>>;
1107
- provider: z.ZodDefault<z.ZodEnum<{
1108
- none: "none";
1109
- algolia: "algolia";
1110
- mixedbread: "mixedbread";
1111
- orama: "orama";
1112
- pagefind: "pagefind";
1113
- flexsearch: "flexsearch";
1114
- "orama-cloud": "orama-cloud";
1115
- typesense: "typesense";
1116
- }>>;
1117
- typesense: z.ZodOptional<z.ZodObject<{
1118
- collection: z.ZodString;
1119
- host: z.ZodString;
1120
- port: z.ZodOptional<z.ZodNumber>;
1121
- protocol: z.ZodOptional<z.ZodEnum<{
1122
- http: "http";
1123
- https: "https";
1124
- }>>;
1125
- searchApiKey: z.ZodString;
1126
- }, z.core.$strict>>;
1127
- }, z.core.$strict>>;
2776
+ provider: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<false | SearchAdapterInput, false | SearchAdapterInput>, z.ZodTransform<{
2777
+ kind: "algolia";
2778
+ options: {
2779
+ [x: string]: z.core.util.JSONType;
2780
+ apiKey: string;
2781
+ appId: string;
2782
+ indexName: string;
2783
+ };
2784
+ requiredSecrets: string[];
2785
+ runtimeDeps: string[];
2786
+ mode: "hosted";
2787
+ } | {
2788
+ kind: "flexsearch";
2789
+ options: Record<string, never>;
2790
+ requiredSecrets: string[];
2791
+ runtimeDeps: string[];
2792
+ mode: "static";
2793
+ } | {
2794
+ kind: "mixedbread";
2795
+ options: {
2796
+ [x: string]: z.core.util.JSONType;
2797
+ storeId: string;
2798
+ };
2799
+ requiredSecrets: string[];
2800
+ runtimeDeps: string[];
2801
+ mode: "server";
2802
+ } | {
2803
+ kind: "orama";
2804
+ options: Record<string, never>;
2805
+ requiredSecrets: string[];
2806
+ runtimeDeps: string[];
2807
+ mode: "static";
2808
+ } | {
2809
+ kind: "orama-cloud";
2810
+ options: {
2811
+ [x: string]: z.core.util.JSONType;
2812
+ apiKey: string;
2813
+ endpoint: string;
2814
+ indexId?: string | undefined;
2815
+ };
2816
+ requiredSecrets: string[];
2817
+ runtimeDeps: string[];
2818
+ mode: "hosted";
2819
+ } | {
2820
+ kind: "pagefind";
2821
+ options: Record<string, never>;
2822
+ requiredSecrets: string[];
2823
+ runtimeDeps: string[];
2824
+ mode: "pagefind";
2825
+ } | {
2826
+ kind: "typesense";
2827
+ options: {
2828
+ [x: string]: z.core.util.JSONType;
2829
+ apiKey: string;
2830
+ collection: string;
2831
+ host: string;
2832
+ port?: number | undefined;
2833
+ protocol?: "http" | "https" | undefined;
2834
+ };
2835
+ requiredSecrets: string[];
2836
+ runtimeDeps: string[];
2837
+ mode: "hosted";
2838
+ } | import("../search/adapters/registry.ts").NoneSearchAdapter, false | SearchAdapterInput>>, z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
2839
+ kind: z.ZodLiteral<"algolia">;
2840
+ options: z.ZodObject<{
2841
+ apiKey: z.ZodString;
2842
+ appId: z.ZodString;
2843
+ indexName: z.ZodString;
2844
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2845
+ requiredSecrets: z.ZodArray<z.ZodString>;
2846
+ runtimeDeps: z.ZodArray<z.ZodString>;
2847
+ mode: z.ZodLiteral<"hosted">;
2848
+ }, z.core.$strict>, z.ZodObject<{
2849
+ kind: z.ZodLiteral<"flexsearch">;
2850
+ options: z.ZodObject<{}, z.core.$strict>;
2851
+ requiredSecrets: z.ZodArray<z.ZodString>;
2852
+ runtimeDeps: z.ZodArray<z.ZodString>;
2853
+ mode: z.ZodLiteral<"static">;
2854
+ }, z.core.$strict>, z.ZodObject<{
2855
+ kind: z.ZodLiteral<"mixedbread">;
2856
+ options: z.ZodObject<{
2857
+ storeId: z.ZodString;
2858
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2859
+ requiredSecrets: z.ZodArray<z.ZodString>;
2860
+ runtimeDeps: z.ZodArray<z.ZodString>;
2861
+ mode: z.ZodLiteral<"server">;
2862
+ }, z.core.$strict>, z.ZodObject<{
2863
+ kind: z.ZodLiteral<"orama">;
2864
+ options: z.ZodObject<{}, z.core.$strict>;
2865
+ requiredSecrets: z.ZodArray<z.ZodString>;
2866
+ runtimeDeps: z.ZodArray<z.ZodString>;
2867
+ mode: z.ZodLiteral<"static">;
2868
+ }, z.core.$strict>, z.ZodObject<{
2869
+ kind: z.ZodLiteral<"orama-cloud">;
2870
+ options: z.ZodObject<{
2871
+ apiKey: z.ZodString;
2872
+ endpoint: z.ZodString;
2873
+ indexId: z.ZodOptional<z.ZodString>;
2874
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2875
+ requiredSecrets: z.ZodArray<z.ZodString>;
2876
+ runtimeDeps: z.ZodArray<z.ZodString>;
2877
+ mode: z.ZodLiteral<"hosted">;
2878
+ }, z.core.$strict>, z.ZodObject<{
2879
+ kind: z.ZodLiteral<"pagefind">;
2880
+ options: z.ZodObject<{}, z.core.$strict>;
2881
+ requiredSecrets: z.ZodArray<z.ZodString>;
2882
+ runtimeDeps: z.ZodArray<z.ZodString>;
2883
+ mode: z.ZodLiteral<"pagefind">;
2884
+ }, z.core.$strict>, z.ZodObject<{
2885
+ kind: z.ZodLiteral<"typesense">;
2886
+ options: z.ZodObject<{
2887
+ apiKey: z.ZodString;
2888
+ collection: z.ZodString;
2889
+ host: z.ZodString;
2890
+ port: z.ZodOptional<z.ZodNumber>;
2891
+ protocol: z.ZodOptional<z.ZodEnum<{
2892
+ http: "http";
2893
+ https: "https";
2894
+ }>>;
2895
+ }, z.core.$catchall<z.ZodJSONSchema>>;
2896
+ requiredSecrets: z.ZodArray<z.ZodString>;
2897
+ runtimeDeps: z.ZodArray<z.ZodString>;
2898
+ mode: z.ZodLiteral<"hosted">;
2899
+ }, z.core.$strict>, z.ZodObject<{
2900
+ kind: z.ZodLiteral<"none">;
2901
+ options: z.ZodObject<{}, z.core.$strict>;
2902
+ requiredSecrets: z.ZodArray<z.ZodString>;
2903
+ runtimeDeps: z.ZodArray<z.ZodString>;
2904
+ mode: z.ZodLiteral<"none">;
2905
+ }, z.core.$strict>], "kind">, z.ZodTransform<import("../search/adapters/registry.ts").NoneSearchAdapter | import("../search/adapters/algolia.ts").AlgoliaAdapter | import("../search/adapters/flexsearch.ts").FlexsearchAdapter | import("../search/adapters/mixedbread.ts").MixedbreadAdapter | import("../search/adapters/orama.ts").OramaAdapter | import("../search/adapters/orama-cloud.ts").OramaCloudAdapter | import("../search/adapters/pagefind.ts").PagefindAdapter | import("../search/adapters/typesense.ts").TypesenseAdapter, {
2906
+ kind: "algolia";
2907
+ options: {
2908
+ [x: string]: z.core.util.JSONType;
2909
+ apiKey: string;
2910
+ appId: string;
2911
+ indexName: string;
2912
+ };
2913
+ requiredSecrets: string[];
2914
+ runtimeDeps: string[];
2915
+ mode: "hosted";
2916
+ } | {
2917
+ kind: "flexsearch";
2918
+ options: Record<string, never>;
2919
+ requiredSecrets: string[];
2920
+ runtimeDeps: string[];
2921
+ mode: "static";
2922
+ } | {
2923
+ kind: "mixedbread";
2924
+ options: {
2925
+ [x: string]: z.core.util.JSONType;
2926
+ storeId: string;
2927
+ };
2928
+ requiredSecrets: string[];
2929
+ runtimeDeps: string[];
2930
+ mode: "server";
2931
+ } | {
2932
+ kind: "orama";
2933
+ options: Record<string, never>;
2934
+ requiredSecrets: string[];
2935
+ runtimeDeps: string[];
2936
+ mode: "static";
2937
+ } | {
2938
+ kind: "orama-cloud";
2939
+ options: {
2940
+ [x: string]: z.core.util.JSONType;
2941
+ apiKey: string;
2942
+ endpoint: string;
2943
+ indexId?: string | undefined;
2944
+ };
2945
+ requiredSecrets: string[];
2946
+ runtimeDeps: string[];
2947
+ mode: "hosted";
2948
+ } | {
2949
+ kind: "pagefind";
2950
+ options: Record<string, never>;
2951
+ requiredSecrets: string[];
2952
+ runtimeDeps: string[];
2953
+ mode: "pagefind";
2954
+ } | {
2955
+ kind: "typesense";
2956
+ options: {
2957
+ [x: string]: z.core.util.JSONType;
2958
+ apiKey: string;
2959
+ collection: string;
2960
+ host: string;
2961
+ port?: number | undefined;
2962
+ protocol?: "http" | "https" | undefined;
2963
+ };
2964
+ requiredSecrets: string[];
2965
+ runtimeDeps: string[];
2966
+ mode: "hosted";
2967
+ } | {
2968
+ kind: "none";
2969
+ options: Record<string, never>;
2970
+ requiredSecrets: string[];
2971
+ runtimeDeps: string[];
2972
+ mode: "none";
2973
+ }>>>>;
2974
+ }, z.core.$strict>>>;
1128
2975
  seo: z.ZodPrefault<z.ZodObject<{
1129
- agentReadability: z.ZodDefault<z.ZodBoolean>;
1130
- contentSignals: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1131
- aiInput: z.ZodDefault<z.ZodBoolean>;
1132
- aiTrain: z.ZodDefault<z.ZodBoolean>;
1133
- search: z.ZodDefault<z.ZodBoolean>;
1134
- }, z.core.$strict>]>, z.ZodTransform<{
1135
- aiInput: boolean;
1136
- aiTrain: boolean;
1137
- search: boolean;
1138
- } | null, boolean | {
1139
- aiInput: boolean;
1140
- aiTrain: boolean;
1141
- search: boolean;
1142
- }>>>;
1143
2976
  og: z.ZodDefault<z.ZodObject<{
1144
2977
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
1145
2978
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1360,9 +3193,6 @@ export declare const blumeConfigSchema: z.ZodObject<{
1360
3193
  }, z.core.$strict>>;
1361
3194
  }, z.core.$strict>]>>;
1362
3195
  }, z.core.$strict>>;
1363
- layout: z.ZodDefault<z.ZodEnum<{
1364
- sidebar: "sidebar";
1365
- }>>;
1366
3196
  mode: z.ZodDefault<z.ZodEnum<{
1367
3197
  dark: "dark";
1368
3198
  light: "light";
@@ -1433,8 +3263,8 @@ export type ArchivedVersionConfig = z.infer<typeof archivedVersionSchema>;
1433
3263
  * guard keeps structurally identical to this.
1434
3264
  */
1435
3265
  export type BlumeConfigInput = z.input<typeof blumeConfigSchema>;
1436
- /** A configured search backend. */
1437
- export type SearchProvider = (typeof searchProviders)[number];
3266
+ /** The resolved search backend: an adapter descriptor, or `none`. */
3267
+ export type { ResolvedSearchAdapter } from "../search/adapters/registry.ts";
1438
3268
  /** Resolved robots.txt `Content-Signal` preferences (`null` when disabled). */
1439
3269
  export type ContentSignals = z.infer<typeof contentSignalsSchema>;
1440
3270
  /** The resolved per-signal policy object (present when signals are enabled). */