blume 2.0.3 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -0
- package/CHANGELOG.md +142 -0
- package/README.md +1 -1
- package/dist/cli/{chunk-5f86nr5m.js → chunk-073rdvgb.js} +21 -48
- package/dist/cli/{chunk-5f86nr5m.js.map → chunk-073rdvgb.js.map} +4 -5
- package/dist/cli/{chunk-ga0pf4aj.js → chunk-0n9xkp3d.js} +12 -3
- package/dist/cli/{chunk-ga0pf4aj.js.map → chunk-0n9xkp3d.js.map} +3 -3
- package/dist/cli/chunk-150jk7km.js +52 -0
- package/dist/cli/chunk-150jk7km.js.map +10 -0
- package/dist/cli/{chunk-9t7a85s3.js → chunk-313vnn40.js} +30 -19
- package/dist/cli/chunk-313vnn40.js.map +10 -0
- package/dist/cli/{chunk-tkacnehg.js → chunk-3v3ffbrj.js} +2 -2
- package/dist/cli/{chunk-q58y5e6a.js → chunk-3x6x3pph.js} +46 -24
- package/dist/cli/chunk-3x6x3pph.js.map +10 -0
- package/dist/cli/{chunk-1d7ve1dm.js → chunk-42t4jxdx.js} +37 -5
- package/dist/cli/chunk-42t4jxdx.js.map +12 -0
- package/dist/cli/{chunk-8ktnccpt.js → chunk-54ztw1nj.js} +21 -2
- package/dist/cli/chunk-54ztw1nj.js.map +10 -0
- package/dist/cli/{chunk-hm3vjy5s.js → chunk-5vjtgs6e.js} +28 -10
- package/dist/cli/{chunk-hm3vjy5s.js.map → chunk-5vjtgs6e.js.map} +4 -4
- package/dist/cli/chunk-66w9j7p6.js +322 -0
- package/dist/cli/chunk-66w9j7p6.js.map +14 -0
- package/dist/cli/{chunk-2hsdwb9n.js → chunk-7ppf1rva.js} +34 -18
- package/dist/cli/chunk-7ppf1rva.js.map +10 -0
- package/dist/cli/{chunk-r9rcc4w7.js → chunk-8y2kmjv8.js} +7 -7
- package/dist/cli/{chunk-r20tn01b.js → chunk-c1y538kd.js} +8 -2
- package/dist/cli/{chunk-r20tn01b.js.map → chunk-c1y538kd.js.map} +3 -3
- package/dist/cli/{chunk-2eytanqx.js → chunk-c887fj0s.js} +2 -2
- package/dist/cli/{chunk-p3v96n38.js → chunk-cfyg47zg.js} +16 -6
- package/dist/cli/chunk-cfyg47zg.js.map +10 -0
- package/dist/cli/chunk-cm89scdv.js +443 -0
- package/dist/cli/chunk-cm89scdv.js.map +11 -0
- package/dist/cli/{chunk-akbpwfxc.js → chunk-dzwehpy7.js} +2 -2
- package/dist/cli/{chunk-wrr3j9w9.js → chunk-e6atmn4h.js} +299 -72
- package/dist/cli/chunk-e6atmn4h.js.map +36 -0
- package/dist/cli/{chunk-tzmab476.js → chunk-e8xw9qkh.js} +8 -6
- package/dist/cli/{chunk-tzmab476.js.map → chunk-e8xw9qkh.js.map} +3 -3
- package/dist/cli/{chunk-6dsbexzp.js → chunk-e9q7a2ak.js} +17 -15
- package/dist/cli/{chunk-6dsbexzp.js.map → chunk-e9q7a2ak.js.map} +2 -2
- package/dist/cli/{chunk-pv29h0wf.js → chunk-ehweg4fr.js} +5155 -1249
- package/dist/cli/chunk-ehweg4fr.js.map +218 -0
- package/dist/cli/{chunk-c8chx29p.js → chunk-ep6nd0rn.js} +390 -318
- package/dist/cli/chunk-ep6nd0rn.js.map +36 -0
- package/dist/cli/{chunk-p73c0m7w.js → chunk-fdrkhpjy.js} +18 -15
- package/dist/cli/{chunk-p73c0m7w.js.map → chunk-fdrkhpjy.js.map} +3 -3
- package/dist/cli/{chunk-2z928egk.js → chunk-ft9vfys6.js} +5 -5
- package/dist/cli/{chunk-5m5nmvyq.js → chunk-gb420vvz.js} +316 -79
- package/dist/cli/chunk-gb420vvz.js.map +17 -0
- package/dist/cli/{chunk-vg9r4eb9.js → chunk-hebn0tpx.js} +86 -13
- package/dist/cli/chunk-hebn0tpx.js.map +14 -0
- package/dist/cli/{chunk-35d4wj9f.js → chunk-htrwgabr.js} +41 -23
- package/dist/cli/chunk-htrwgabr.js.map +15 -0
- package/dist/cli/{chunk-g4hq16wv.js → chunk-hx3xqnk9.js} +16 -14
- package/dist/cli/{chunk-g4hq16wv.js.map → chunk-hx3xqnk9.js.map} +2 -2
- package/dist/cli/chunk-j134vrp2.js +65 -0
- package/dist/cli/chunk-j134vrp2.js.map +10 -0
- package/dist/cli/{chunk-a58773jm.js → chunk-kma9f6sf.js} +2 -2
- package/dist/cli/chunk-kwrg63tm.js +31 -0
- package/dist/cli/chunk-kwrg63tm.js.map +10 -0
- package/dist/cli/{chunk-ey84smr6.js → chunk-mrcccgnh.js} +6 -6
- package/dist/cli/{chunk-ey84smr6.js.map → chunk-mrcccgnh.js.map} +1 -1
- package/dist/cli/{chunk-yfyb25rh.js → chunk-n0v7m8ry.js} +24 -8
- package/dist/cli/chunk-n0v7m8ry.js.map +14 -0
- package/dist/cli/{chunk-j85vccga.js → chunk-ncj7w596.js} +576 -367
- package/dist/cli/chunk-ncj7w596.js.map +35 -0
- package/dist/cli/{chunk-5xvm6tfj.js → chunk-nq1d20w2.js} +17 -15
- package/dist/cli/{chunk-5xvm6tfj.js.map → chunk-nq1d20w2.js.map} +2 -2
- package/dist/cli/{chunk-pehfxfta.js → chunk-nrns10mj.js} +6 -98
- package/dist/cli/chunk-nrns10mj.js.map +10 -0
- package/dist/cli/{chunk-crgn1q09.js → chunk-sds923fa.js} +4 -4
- package/dist/cli/chunk-t2m5j4pr.js +104 -0
- package/dist/cli/chunk-t2m5j4pr.js.map +11 -0
- package/dist/cli/{chunk-acanzt5p.js → chunk-tdqhyxfz.js} +6 -6
- package/dist/cli/chunk-tphac74f.js +126 -0
- package/dist/cli/chunk-tphac74f.js.map +11 -0
- package/dist/cli/chunk-w1r4vase.js +18 -0
- package/dist/cli/chunk-w1r4vase.js.map +10 -0
- package/dist/cli/{chunk-3em5wd2y.js → chunk-zccbjcj0.js} +4 -3
- package/dist/cli/{chunk-3em5wd2y.js.map → chunk-zccbjcj0.js.map} +2 -2
- package/dist/cli/index.js +31 -20
- package/dist/cli/index.js.map +5 -5
- package/dist/types/ai/agent-surface.d.ts +8 -7
- package/dist/types/ai/ai-catalog.d.ts +7 -0
- package/dist/types/ai/ask-context.d.ts +26 -0
- package/dist/types/ai/ask.d.ts +271 -58
- package/dist/types/ai/component-markdown.d.ts +2 -0
- package/dist/types/ai/index.d.ts +2 -2
- package/dist/types/ai/openapi-components.d.ts +4 -1
- package/dist/types/ai/site-skill.d.ts +26 -0
- package/dist/types/ai/skills.d.ts +16 -0
- package/dist/types/astro/integration.d.ts +9 -0
- package/dist/types/astro/markdown-negotiation.d.ts +3 -0
- package/dist/types/astro/pages.d.ts +10 -0
- package/dist/types/captcha/hcaptcha.d.ts +27 -0
- package/dist/types/captcha/index.d.ts +28 -0
- package/dist/types/captcha/schema.d.ts +29 -0
- package/dist/types/captcha/turnstile.d.ts +28 -0
- package/dist/types/cli/init/scaffold.d.ts +1 -1
- package/dist/types/components/content/api-field.d.ts +62 -0
- package/dist/types/components/content/api-page.d.ts +100 -0
- package/dist/types/components/layout/nav-utils.d.ts +26 -0
- package/dist/types/components/openapi/code-samples.d.ts +29 -0
- package/dist/types/components/openapi/helpers.d.ts +158 -0
- package/dist/types/components/openapi/security.d.ts +95 -0
- package/dist/types/components/openapi/snippets.d.ts +60 -0
- package/dist/types/consent/ethyca.d.ts +48 -0
- package/dist/types/consent/index.d.ts +37 -0
- package/dist/types/consent/native.d.ts +28 -0
- package/dist/types/consent/osano.d.ts +42 -0
- package/dist/types/consent/schema.d.ts +110 -0
- package/dist/types/core/changelog-index.d.ts +8 -0
- package/dist/types/core/config-input.d.ts +217 -23
- package/dist/types/core/data.d.ts +53 -4
- package/dist/types/core/footer.d.ts +8 -0
- package/dist/types/core/i18n-ui.d.ts +88 -0
- package/dist/types/core/includes.d.ts +8 -2
- package/dist/types/core/links.d.ts +8 -0
- package/dist/types/core/localizable.d.ts +7 -0
- package/dist/types/core/page-modes.d.ts +29 -0
- package/dist/types/core/probe.d.ts +2 -0
- package/dist/types/core/project-graph.d.ts +6 -0
- package/dist/types/core/redirect-patterns.d.ts +152 -0
- package/dist/types/core/related.d.ts +40 -0
- package/dist/types/core/schema.d.ts +670 -56
- package/dist/types/core/sources/cache.d.ts +3 -0
- package/dist/types/core/sources/contentful-rich-text.d.ts +11 -2
- package/dist/types/core/sources/contentful.d.ts +17 -1
- package/dist/types/core/sources/lexical.d.ts +5 -0
- package/dist/types/core/sources/normalize.d.ts +20 -1
- package/dist/types/core/sources/read.d.ts +5 -0
- package/dist/types/core/sources/remote.d.ts +37 -10
- package/dist/types/core/sources/sanity.d.ts +1 -1
- package/dist/types/core/types.d.ts +18 -1
- package/dist/types/core/variables.d.ts +42 -0
- package/dist/types/deploy/adapter-output.d.ts +2 -1
- package/dist/types/deploy/adapters/cloudflare.d.ts +7 -5
- package/dist/types/deploy/adapters/node.d.ts +58 -23
- package/dist/types/deploy/adapters/registry.d.ts +10 -0
- package/dist/types/deploy/adapters/types.d.ts +3 -2
- package/dist/types/deploy/node-headers.d.ts +13 -2
- package/dist/types/deploy/platforms/cloudflare.d.ts +15 -7
- package/dist/types/deploy/platforms/netlify.d.ts +7 -0
- package/dist/types/deploy/platforms/node.d.ts +3 -1
- package/dist/types/deploy/platforms/types.d.ts +18 -7
- package/dist/types/deploy/platforms/vercel.d.ts +26 -1
- package/dist/types/deploy/redirects.d.ts +55 -11
- package/dist/types/deploy/sitemap.d.ts +2 -1
- package/dist/types/deploy/vercel-negotiation.d.ts +51 -21
- package/dist/types/markdown/code-title.d.ts +17 -0
- package/dist/types/markdown/features.d.ts +3 -2
- package/dist/types/narration/build.d.ts +70 -0
- package/dist/types/narration/provider.d.ts +26 -0
- package/dist/types/narration/script.d.ts +154 -0
- package/dist/types/openapi/checks.d.ts +27 -0
- package/dist/types/openapi/graphql.d.ts +6 -0
- package/dist/types/openapi/model.d.ts +27 -10
- package/dist/types/openapi/overlay.d.ts +54 -0
- package/dist/types/openapi/parse.d.ts +16 -0
- package/dist/types/openapi/references.d.ts +30 -4
- package/dist/types/ratelimit/cloudflare.d.ts +39 -0
- package/dist/types/ratelimit/index.d.ts +27 -0
- package/dist/types/ratelimit/memory.d.ts +36 -0
- package/dist/types/ratelimit/schema.d.ts +119 -0
- package/dist/types/ratelimit/upstash.d.ts +46 -0
- package/dist/types/ratelimit/wrangler.d.ts +23 -0
- package/dist/types/reference/asyncapi.d.ts +10 -10
- package/dist/types/reference/graphql.d.ts +89 -11
- package/dist/types/reference/index.d.ts +1 -1
- package/dist/types/reference/openapi.d.ts +33 -12
- package/dist/types/reference/options.d.ts +82 -6
- package/dist/types/reference/scalar.d.ts +13 -0
- package/dist/types/reference/schema.d.ts +144 -36
- package/dist/types/search/adapters/registry.d.ts +3 -0
- package/dist/types/search/adapters/typesense.d.ts +14 -4
- package/dist/types/search/build.d.ts +3 -1
- package/dist/types/search/documents.d.ts +12 -1
- package/dist/types/search/orama-index.d.ts +13 -9
- package/dist/types/search/sync/algolia.d.ts +5 -2
- package/dist/types/search/sync/index.d.ts +3 -1
- package/dist/types/search/sync/typesense.d.ts +11 -7
- package/dist/types/seo/metatags.d.ts +20 -0
- package/dist/types/sources/contentful.d.ts +16 -0
- package/dist/types/sources/github-releases.d.ts +8 -1
- package/dist/types/sources/payload.d.ts +2 -0
- package/dist/types/sources/registry.d.ts +54 -0
- package/dist/types/sources/shared.d.ts +3 -0
- package/dist/types/sources/strapi.d.ts +2 -0
- package/docs/01-quickstart.mdx +4 -2
- package/docs/02-deployment.mdx +71 -17
- package/docs/03-upgrading.mdx +4 -4
- package/docs/04-migrating.mdx +1 -1
- package/docs/advanced/changelog.mdx +13 -2
- package/docs/advanced/skills.mdx +15 -1
- package/docs/cli/audit.mdx +51 -8
- package/docs/cli/doctor.mdx +5 -1
- package/docs/cli/evals.mdx +4 -4
- package/docs/cli/index.mdx +1 -0
- package/docs/cli/translate.mdx +1 -0
- package/docs/cli/validate.mdx +4 -3
- package/docs/configuration/analytics.mdx +3 -1
- package/docs/configuration/assistant.mdx +194 -38
- package/docs/configuration/consent.mdx +100 -0
- package/docs/configuration/customization.mdx +8 -6
- package/docs/configuration/export.mdx +5 -3
- package/docs/configuration/index.mdx +64 -5
- package/docs/configuration/meta.ts +3 -0
- package/docs/configuration/narration.mdx +119 -0
- package/docs/configuration/rate-limiting.mdx +90 -0
- package/docs/configuration/search.mdx +63 -12
- package/docs/configuration/theming.mdx +3 -1
- package/docs/content/components.mdx +108 -2
- package/docs/content/frontmatter.mdx +80 -2
- package/docs/content/i18n.mdx +39 -4
- package/docs/content/includes.mdx +16 -0
- package/docs/content/meta.mdx +1 -0
- package/docs/content/meta.ts +1 -0
- package/docs/content/navigation.mdx +32 -10
- package/docs/content/sources/contentful.mdx +35 -0
- package/docs/content/sources/custom.mdx +43 -0
- package/docs/content/sources/github-releases.mdx +39 -0
- package/docs/content/sources/index.mdx +91 -0
- package/docs/content/sources/meta.ts +16 -0
- package/docs/content/sources/notion.mdx +32 -0
- package/docs/content/sources/obsidian.mdx +37 -0
- package/docs/content/sources/payload.mdx +31 -0
- package/docs/content/sources/remote-mdx.mdx +44 -0
- package/docs/content/sources/sanity.mdx +29 -0
- package/docs/content/sources/strapi.mdx +32 -0
- package/docs/content/syntax.mdx +69 -4
- package/docs/content/variables.mdx +41 -0
- package/docs/discoverability/agent-discovery.mdx +29 -2
- package/docs/discoverability/index.mdx +2 -2
- package/docs/discoverability/json-api.mdx +2 -0
- package/docs/discoverability/llms-txt.mdx +2 -2
- package/docs/discoverability/markdown.mdx +3 -1
- package/docs/discoverability/mcp.mdx +4 -0
- package/docs/discoverability/metadata.mdx +17 -0
- package/docs/discoverability/sitemap-and-robots.mdx +1 -1
- package/docs/references/api-pages.mdx +74 -0
- package/docs/references/asyncapi.mdx +4 -2
- package/docs/references/graphql.mdx +14 -2
- package/docs/references/meta.ts +1 -1
- package/docs/references/openapi.mdx +148 -7
- package/docs/references/scalar.mdx +3 -1
- package/package.json +43 -8
- package/skills/blume/SKILL.md +3 -0
- package/skills/blume-migrate/SKILL.md +6 -6
- package/skills/blume-migrate/references/docusaurus.md +7 -7
- package/skills/blume-migrate/references/fumadocs.md +17 -13
- package/skills/blume-migrate/references/mintlify.md +37 -19
- package/skills/blume-migrate/references/nextra.md +10 -7
- package/skills/blume-migrate/references/starlight.md +11 -8
- package/skills/blume-migrate/scripts/mintlify-codemod.mjs +60 -14
- package/skills/blume-write-skill/SKILL.md +82 -0
- package/src/ai/agent-readability.ts +2 -1
- package/src/ai/agent-surface.ts +9 -7
- package/src/ai/ai-catalog.ts +6 -3
- package/src/ai/ask-context.ts +103 -20
- package/src/ai/ask-data.ts +6 -0
- package/src/ai/ask-limits.ts +13 -0
- package/src/ai/ask-tools.ts +142 -0
- package/src/ai/ask.ts +354 -76
- package/src/ai/changelog-markdown.ts +11 -6
- package/src/ai/component-markdown.ts +76 -1
- package/src/ai/cors.ts +14 -3
- package/src/ai/index.ts +12 -0
- package/src/ai/llms.ts +6 -2
- package/src/ai/markdown.ts +2 -1
- package/src/ai/mcp/data.ts +6 -0
- package/src/ai/mcp/query.ts +14 -6
- package/src/ai/openapi-components.ts +36 -6
- package/src/ai/relative-links.ts +4 -38
- package/src/ai/site-skill.ts +274 -0
- package/src/ai/skills.ts +35 -2
- package/src/ai/write-skill.ts +97 -0
- package/src/astro/generate.ts +210 -66
- package/src/astro/index.ts +1 -0
- package/src/astro/integration.ts +42 -4
- package/src/astro/markdown-negotiation.ts +3 -0
- package/src/astro/module-types.ts +9 -1
- package/src/astro/pages.ts +23 -0
- package/src/astro/templates.ts +406 -108
- package/src/astro/variables.ts +31 -0
- package/src/audit/catalog.ts +38 -3
- package/src/audit/checks/contrast.ts +183 -0
- package/src/audit/checks/i18n.ts +2 -3
- package/src/audit/checks/indexability.ts +2 -3
- package/src/audit/checks/links.ts +19 -13
- package/src/audit/checks/network.ts +110 -6
- package/src/audit/checks/redirects.ts +6 -4
- package/src/audit/checks/robots.ts +58 -2
- package/src/audit/checks/sitemap.ts +2 -3
- package/src/audit/redirects.ts +46 -15
- package/src/audit/run.ts +5 -0
- package/src/audit/types.ts +4 -1
- package/src/audit/url.ts +14 -5
- package/src/blume-modules.d.ts +12 -1
- package/src/captcha/client.ts +152 -0
- package/src/captcha/hcaptcha.ts +36 -0
- package/src/captcha/index.ts +28 -0
- package/src/captcha/schema.ts +32 -0
- package/src/captcha/turnstile.ts +38 -0
- package/src/captcha/verify.ts +71 -0
- package/src/cli/args.ts +51 -0
- package/src/cli/build-failure.ts +23 -0
- package/src/cli/command-meta.ts +5 -0
- package/src/cli/commands/audit.ts +10 -1
- package/src/cli/commands/dev.ts +18 -2
- package/src/cli/commands/doctor.ts +67 -28
- package/src/cli/commands/eval.ts +36 -4
- package/src/cli/commands/init.ts +6 -4
- package/src/cli/commands/skill.ts +96 -0
- package/src/cli/commands/validate.ts +10 -1
- package/src/cli/index.ts +5 -0
- package/src/cli/init/scaffold.ts +3 -3
- package/src/cli/prepare.ts +6 -3
- package/src/cli/required-secrets.ts +72 -30
- package/src/components/BlumePage.astro +2 -0
- package/src/components/content/ApiEndpoint.astro +18 -0
- package/src/components/content/ApiField.astro +79 -0
- package/src/components/content/ApiPlayground.astro +66 -0
- package/src/components/content/ApiRail.astro +19 -0
- package/src/components/content/Color.astro +1 -0
- package/src/components/content/FileTree.astro +1 -0
- package/src/components/content/GithubInfo.astro +1 -0
- package/src/components/content/Panel.astro +1 -0
- package/src/components/content/ParamField.astro +25 -0
- package/src/components/content/RequestExample.astro +17 -0
- package/src/components/content/ResponseExample.astro +17 -0
- package/src/components/content/ResponseField.astro +32 -0
- package/src/components/content/Step.astro +1 -0
- package/src/components/content/Tile.astro +1 -0
- package/src/components/content/Tooltip.astro +1 -0
- package/src/components/content/Tree.astro +1 -0
- package/src/components/content/TypeTable.astro +4 -1
- package/src/components/content/View.astro +21 -0
- package/src/components/content/ViewSwitcher.astro +168 -0
- package/src/components/content/api-field.ts +103 -0
- package/src/components/content/api-page.ts +248 -0
- package/src/components/content/mermaid-element.ts +15 -1
- package/src/components/content/view-switcher.ts +71 -0
- package/src/components/index.ts +2 -0
- package/src/components/islands/Assistant.astro +10 -1
- package/src/components/islands/assistant.tsx +104 -14
- package/src/components/islands/code-question.ts +62 -0
- package/src/components/islands/hooks.ts +136 -21
- package/src/components/islands/support-link.ts +68 -0
- package/src/components/layout/Analytics.astro +11 -2
- package/src/components/layout/Banner.astro +14 -10
- package/src/components/layout/Breadcrumbs.astro +6 -2
- package/src/components/layout/ConsentBanner.astro +62 -0
- package/src/components/layout/ConsentHead.astro +38 -0
- package/src/components/layout/Directory.astro +94 -0
- package/src/components/layout/DrawerSwitchers.astro +51 -0
- package/src/components/layout/Empty.astro +2 -2
- package/src/components/layout/Header.astro +122 -80
- package/src/components/layout/LanguageSwitcher.astro +48 -15
- package/src/components/layout/NarrationPlayer.astro +1085 -0
- package/src/components/layout/NavSelector.astro +33 -7
- package/src/components/layout/PageActions.astro +139 -24
- package/src/components/layout/PageFeedback.astro +54 -49
- package/src/components/layout/PageLayout.astro +71 -3
- package/src/components/layout/ReferenceLayout.astro +17 -6
- package/src/components/layout/RelatedPages.astro +42 -0
- package/src/components/layout/RootLayout.astro +318 -47
- package/src/components/layout/Search.astro +47 -19
- package/src/components/layout/SiteFooter.astro +124 -0
- package/src/components/layout/SiteMetatags.astro +16 -0
- package/src/components/layout/TableOfContents.astro +24 -17
- package/src/components/layout/consent/native.ts +79 -0
- package/src/components/layout/consent/types.ts +37 -0
- package/src/components/layout/footer-links.ts +53 -0
- package/src/components/layout/footer-socials.ts +87 -0
- package/src/components/layout/head-scripts.ts +6 -1
- package/src/components/layout/locale-redirect.ts +107 -0
- package/src/components/layout/nav-utils.ts +83 -0
- package/src/components/layout/page-feedback.ts +96 -0
- package/src/components/layout/search/algolia.ts +10 -1
- package/src/components/layout/search/analytics.ts +126 -0
- package/src/components/layout/search/endpoint.ts +48 -5
- package/src/components/layout/search/flexsearch.ts +17 -5
- package/src/components/layout/search/orama-cloud.ts +26 -14
- package/src/components/layout/search/pagefind.ts +114 -5
- package/src/components/layout/search/types.ts +32 -0
- package/src/components/layout/search/typesense.ts +19 -3
- package/src/components/openapi/AsyncApiOperation.astro +14 -7
- package/src/components/openapi/Authorization.astro +10 -0
- package/src/components/openapi/GraphqlOperation.astro +5 -0
- package/src/components/openapi/Operation.astro +184 -13
- package/src/components/openapi/ParametersTable.astro +8 -4
- package/src/components/openapi/Playground.astro +7 -1
- package/src/components/openapi/RequestBody.astro +24 -5
- package/src/components/openapi/RequestPanel.astro +59 -7
- package/src/components/openapi/Responses.astro +7 -4
- package/src/components/openapi/SchemaTable.astro +15 -3
- package/src/components/openapi/async-snippets.ts +65 -9
- package/src/components/openapi/async.ts +123 -29
- package/src/components/openapi/code-samples.ts +97 -0
- package/src/components/openapi/graphql-helpers.ts +35 -12
- package/src/components/openapi/helpers.ts +36 -2
- package/src/components/openapi/message-model.ts +54 -11
- package/src/components/openapi/message.ts +14 -4
- package/src/components/openapi/operation-model.ts +16 -7
- package/src/components/openapi/playground-client.ts +24 -5
- package/src/components/openapi/playground-schema.ts +1 -1
- package/src/components/openapi/schema-tree.ts +44 -14
- package/src/components/openapi/security.ts +16 -3
- package/src/components/openapi/snippets.ts +873 -10
- package/src/components/openapi/validate-json.ts +4 -3
- package/src/components/props.ts +6 -0
- package/src/consent/client.ts +95 -0
- package/src/consent/clients.ts +19 -0
- package/src/consent/ethyca.ts +71 -0
- package/src/consent/head.ts +24 -0
- package/src/consent/index.ts +37 -0
- package/src/consent/init.ts +29 -0
- package/src/consent/native.ts +36 -0
- package/src/consent/osano.ts +59 -0
- package/src/consent/schema.ts +30 -0
- package/src/core/builtin-tags.ts +5 -0
- package/src/core/changelog-index.ts +31 -1
- package/src/core/client-address.ts +19 -0
- package/src/core/component-diagnostics.ts +53 -0
- package/src/core/component-overrides.ts +32 -0
- package/src/core/config-input.ts +225 -23
- package/src/core/data.ts +46 -4
- package/src/core/diagnostics.ts +8 -2
- package/src/core/footer.ts +26 -0
- package/src/core/graph.ts +39 -36
- package/src/core/i18n-ui.ts +84 -2
- package/src/core/includes.ts +21 -4
- package/src/core/links.ts +63 -19
- package/src/core/localizable.ts +26 -0
- package/src/core/navigation.ts +43 -12
- package/src/core/page-modes.ts +56 -0
- package/src/core/probe.ts +26 -6
- package/src/core/project-graph.ts +163 -16
- package/src/core/redirect-patterns.ts +520 -0
- package/src/core/related.ts +131 -0
- package/src/core/schema.ts +339 -66
- package/src/core/sources/cache.ts +6 -0
- package/src/core/sources/contentful-rich-text.ts +29 -6
- package/src/core/sources/contentful.ts +135 -25
- package/src/core/sources/filesystem.ts +26 -4
- package/src/core/sources/github-releases.ts +12 -1
- package/src/core/sources/lexical.ts +15 -10
- package/src/core/sources/mdx-remote.ts +62 -10
- package/src/core/sources/normalize.ts +228 -41
- package/src/core/sources/notion.ts +7 -1
- package/src/core/sources/obsidian.ts +16 -3
- package/src/core/sources/payload.ts +38 -15
- package/src/core/sources/read.ts +8 -3
- package/src/core/sources/remote.ts +72 -15
- package/src/core/sources/resolve.ts +11 -1
- package/src/core/sources/sanity.ts +43 -25
- package/src/core/sources/strapi.ts +2 -2
- package/src/core/types.ts +19 -1
- package/src/core/ui-packs/ar.ts +44 -0
- package/src/core/ui-packs/bg.ts +46 -0
- package/src/core/ui-packs/bn.ts +44 -0
- package/src/core/ui-packs/ca.ts +47 -0
- package/src/core/ui-packs/cs.ts +45 -0
- package/src/core/ui-packs/da.ts +46 -0
- package/src/core/ui-packs/de.ts +47 -0
- package/src/core/ui-packs/el.ts +46 -0
- package/src/core/ui-packs/es.ts +47 -0
- package/src/core/ui-packs/fa.ts +46 -0
- package/src/core/ui-packs/fi.ts +46 -0
- package/src/core/ui-packs/fr.ts +47 -0
- package/src/core/ui-packs/he.ts +44 -0
- package/src/core/ui-packs/hi.ts +45 -0
- package/src/core/ui-packs/hr.ts +46 -0
- package/src/core/ui-packs/hu.ts +45 -0
- package/src/core/ui-packs/id.ts +46 -0
- package/src/core/ui-packs/it.ts +46 -0
- package/src/core/ui-packs/ja.ts +46 -0
- package/src/core/ui-packs/ko.ts +45 -0
- package/src/core/ui-packs/nl.ts +47 -0
- package/src/core/ui-packs/no.ts +45 -0
- package/src/core/ui-packs/pl.ts +46 -0
- package/src/core/ui-packs/pt-br.ts +47 -0
- package/src/core/ui-packs/pt.ts +46 -0
- package/src/core/ui-packs/ro.ts +46 -0
- package/src/core/ui-packs/ru.ts +46 -0
- package/src/core/ui-packs/sk.ts +45 -0
- package/src/core/ui-packs/sr.ts +46 -0
- package/src/core/ui-packs/sv.ts +45 -0
- package/src/core/ui-packs/th.ts +44 -0
- package/src/core/ui-packs/tr.ts +46 -0
- package/src/core/ui-packs/uk.ts +46 -0
- package/src/core/ui-packs/vi.ts +46 -0
- package/src/core/ui-packs/zh-tw.ts +44 -0
- package/src/core/ui-packs/zh.ts +44 -0
- package/src/core/variables.ts +103 -0
- package/src/deploy/adapter-output.ts +7 -2
- package/src/deploy/adapters/cloudflare.ts +7 -5
- package/src/deploy/adapters/node.ts +47 -9
- package/src/deploy/adapters/types.ts +7 -3
- package/src/deploy/artifacts.ts +79 -9
- package/src/deploy/cloudflare-negotiation.ts +35 -5
- package/src/deploy/headers.ts +2 -1
- package/src/deploy/node-headers.ts +63 -9
- package/src/deploy/platforms/cloudflare.ts +45 -9
- package/src/deploy/platforms/netlify.ts +35 -2
- package/src/deploy/platforms/node.ts +12 -2
- package/src/deploy/platforms/types.ts +21 -7
- package/src/deploy/platforms/vercel.ts +149 -17
- package/src/deploy/redirects.ts +151 -24
- package/src/deploy/rss.ts +3 -1
- package/src/deploy/sitemap.ts +39 -5
- package/src/deploy/vercel-negotiation.ts +326 -102
- package/src/eval/agents.ts +18 -1
- package/src/eval/prompts.ts +6 -3
- package/src/eval/report.ts +34 -13
- package/src/eval/run.ts +5 -0
- package/src/markdown/api-rail.ts +259 -0
- package/src/markdown/code-title.ts +35 -9
- package/src/markdown/features.ts +3 -2
- package/src/markdown/fence-meta.ts +2 -0
- package/src/markdown/include.ts +11 -1
- package/src/markdown/index.ts +28 -5
- package/src/markdown/math.ts +4 -4
- package/src/markdown/relative-links.ts +3 -2
- package/src/markdown/variables.ts +56 -0
- package/src/markdown/views.ts +82 -0
- package/src/narration/build.ts +412 -0
- package/src/narration/player.ts +249 -0
- package/src/narration/provider.ts +29 -0
- package/src/narration/script.ts +592 -0
- package/src/og/card.ts +7 -6
- package/src/openapi/checks.ts +273 -0
- package/src/openapi/graphql-build.ts +21 -0
- package/src/openapi/graphql.ts +11 -0
- package/src/openapi/model.ts +72 -27
- package/src/openapi/overlay.ts +256 -0
- package/src/openapi/parse.ts +182 -4
- package/src/openapi/references.ts +64 -8
- package/src/openapi/render-mdx.ts +5 -1
- package/src/openapi/scalar.ts +40 -6
- package/src/openapi/source.ts +40 -15
- package/src/ratelimit/cloudflare.ts +54 -0
- package/src/ratelimit/index.ts +30 -0
- package/src/ratelimit/memory.ts +45 -0
- package/src/ratelimit/runtime.ts +247 -0
- package/src/ratelimit/schema.ts +28 -0
- package/src/ratelimit/upstash.ts +60 -0
- package/src/ratelimit/wrangler.ts +70 -0
- package/src/reference/asyncapi.ts +2 -2
- package/src/reference/graphql.ts +20 -3
- package/src/reference/index.ts +1 -0
- package/src/reference/openapi.ts +21 -7
- package/src/reference/options.ts +80 -8
- package/src/reference/scalar.ts +33 -8
- package/src/registry/eject.ts +23 -5
- package/src/registry/registry.ts +7 -0
- package/src/search/adapters/locale-scope.ts +30 -0
- package/src/search/adapters/typesense.ts +14 -4
- package/src/search/build.ts +21 -3
- package/src/search/documents.ts +26 -2
- package/src/search/orama-index.ts +191 -34
- package/src/search/pagefind-ranking.ts +39 -0
- package/src/search/source-pages.ts +29 -0
- package/src/search/sync/algolia.ts +111 -10
- package/src/search/sync/index.ts +52 -13
- package/src/search/sync/orama-cloud.ts +3 -0
- package/src/search/sync/typesense.ts +76 -26
- package/src/seo/metatags.ts +67 -0
- package/src/sources/contentful.ts +12 -0
- package/src/sources/github-releases.ts +7 -1
- package/src/sources/shared.ts +3 -0
- package/src/theme/chrome-icons.ts +1 -0
- package/src/theme/color.ts +500 -0
- package/src/theme/entry.ts +85 -6
- package/src/theme/palette.ts +121 -45
- package/src/translate/prompts.ts +1 -0
- package/src/translate/validate.ts +31 -3
- package/src/upgrade/upgrade.ts +4 -171
- package/dist/cli/chunk-1d7ve1dm.js.map +0 -12
- package/dist/cli/chunk-2hsdwb9n.js.map +0 -10
- package/dist/cli/chunk-35d4wj9f.js.map +0 -15
- package/dist/cli/chunk-364znk6q.js +0 -75
- package/dist/cli/chunk-364znk6q.js.map +0 -11
- package/dist/cli/chunk-5m5nmvyq.js.map +0 -13
- package/dist/cli/chunk-8ktnccpt.js.map +0 -10
- package/dist/cli/chunk-9t7a85s3.js.map +0 -10
- package/dist/cli/chunk-b07cmahc.js +0 -145
- package/dist/cli/chunk-b07cmahc.js.map +0 -11
- package/dist/cli/chunk-c8chx29p.js.map +0 -36
- package/dist/cli/chunk-e04dxsz1.js +0 -39
- package/dist/cli/chunk-e04dxsz1.js.map +0 -10
- package/dist/cli/chunk-j85vccga.js.map +0 -36
- package/dist/cli/chunk-p3v96n38.js.map +0 -10
- package/dist/cli/chunk-pehfxfta.js.map +0 -10
- package/dist/cli/chunk-pv29h0wf.js.map +0 -190
- package/dist/cli/chunk-q58y5e6a.js.map +0 -10
- package/dist/cli/chunk-vg9r4eb9.js.map +0 -14
- package/dist/cli/chunk-wrr3j9w9.js.map +0 -35
- package/dist/cli/chunk-yfyb25rh.js.map +0 -14
- package/docs/content/sources.mdx +0 -334
- /package/dist/cli/{chunk-tkacnehg.js.map → chunk-3v3ffbrj.js.map} +0 -0
- /package/dist/cli/{chunk-r9rcc4w7.js.map → chunk-8y2kmjv8.js.map} +0 -0
- /package/dist/cli/{chunk-2eytanqx.js.map → chunk-c887fj0s.js.map} +0 -0
- /package/dist/cli/{chunk-akbpwfxc.js.map → chunk-dzwehpy7.js.map} +0 -0
- /package/dist/cli/{chunk-2z928egk.js.map → chunk-ft9vfys6.js.map} +0 -0
- /package/dist/cli/{chunk-a58773jm.js.map → chunk-kma9f6sf.js.map} +0 -0
- /package/dist/cli/{chunk-crgn1q09.js.map → chunk-sds923fa.js.map} +0 -0
- /package/dist/cli/{chunk-acanzt5p.js.map → chunk-tdqhyxfz.js.map} +0 -0
|
@@ -26,11 +26,30 @@ declare const sidebarDisplaySchema: z.ZodEnum<{
|
|
|
26
26
|
page: "page";
|
|
27
27
|
}>;
|
|
28
28
|
export type SidebarDisplay = z.infer<typeof sidebarDisplaySchema>;
|
|
29
|
+
/**
|
|
30
|
+
* How a group's own page lists the group's other pages below its content:
|
|
31
|
+
* `card` a grid of cards, `accordion` a list with each subgroup collapsible,
|
|
32
|
+
* `none` no listing (the default). A group without its own page has nowhere
|
|
33
|
+
* to show one. Nested groups inherit the nearest setting above them.
|
|
34
|
+
*/
|
|
35
|
+
declare const directoryModeSchema: z.ZodEnum<{
|
|
36
|
+
none: "none";
|
|
37
|
+
accordion: "accordion";
|
|
38
|
+
card: "card";
|
|
39
|
+
}>;
|
|
40
|
+
export type DirectoryMode = z.infer<typeof directoryModeSchema>;
|
|
29
41
|
/** Frontmatter accepted on any content page. */
|
|
30
42
|
declare const pageMetaBaseSchema: z.ZodObject<{
|
|
31
43
|
ai: z.ZodPrefault<z.ZodObject<{
|
|
32
44
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
33
45
|
}, z.core.$strict>>;
|
|
46
|
+
api: z.ZodOptional<z.ZodString>;
|
|
47
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
none: "none";
|
|
49
|
+
key: "key";
|
|
50
|
+
bearer: "bearer";
|
|
51
|
+
basic: "basic";
|
|
52
|
+
}>>;
|
|
34
53
|
authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35
54
|
avatar: z.ZodOptional<z.ZodString>;
|
|
36
55
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -54,9 +73,26 @@ declare const pageMetaBaseSchema: z.ZodObject<{
|
|
|
54
73
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
55
74
|
icon: z.ZodOptional<z.ZodString>;
|
|
56
75
|
lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
|
|
76
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
default: "default";
|
|
78
|
+
custom: "custom";
|
|
79
|
+
wide: "wide";
|
|
80
|
+
center: "center";
|
|
81
|
+
frame: "frame";
|
|
82
|
+
}>>;
|
|
83
|
+
narration: z.ZodDefault<z.ZodBoolean>;
|
|
57
84
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
85
|
+
pagination: z.ZodDefault<z.ZodBoolean>;
|
|
86
|
+
playground: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
none: "none";
|
|
88
|
+
interactive: "interactive";
|
|
89
|
+
simple: "simple";
|
|
90
|
+
}>>;
|
|
91
|
+
related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
|
|
58
92
|
search: z.ZodPrefault<z.ZodObject<{
|
|
93
|
+
boost: z.ZodOptional<z.ZodNumber>;
|
|
59
94
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
95
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
96
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
97
|
}, z.core.$strict>>;
|
|
62
98
|
seo: z.ZodPrefault<z.ZodObject<{
|
|
@@ -89,6 +125,13 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
89
125
|
ai: z.ZodPrefault<z.ZodObject<{
|
|
90
126
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
91
127
|
}, z.core.$strict>>;
|
|
128
|
+
api: z.ZodOptional<z.ZodString>;
|
|
129
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
none: "none";
|
|
131
|
+
key: "key";
|
|
132
|
+
bearer: "bearer";
|
|
133
|
+
basic: "basic";
|
|
134
|
+
}>>;
|
|
92
135
|
authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
93
136
|
avatar: z.ZodOptional<z.ZodString>;
|
|
94
137
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -112,9 +155,26 @@ export declare const pageMetaSchema: z.ZodObject<{
|
|
|
112
155
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
113
156
|
icon: z.ZodOptional<z.ZodString>;
|
|
114
157
|
lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
|
|
158
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
default: "default";
|
|
160
|
+
custom: "custom";
|
|
161
|
+
wide: "wide";
|
|
162
|
+
center: "center";
|
|
163
|
+
frame: "frame";
|
|
164
|
+
}>>;
|
|
165
|
+
narration: z.ZodDefault<z.ZodBoolean>;
|
|
115
166
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
167
|
+
pagination: z.ZodDefault<z.ZodBoolean>;
|
|
168
|
+
playground: z.ZodOptional<z.ZodEnum<{
|
|
169
|
+
none: "none";
|
|
170
|
+
interactive: "interactive";
|
|
171
|
+
simple: "simple";
|
|
172
|
+
}>>;
|
|
173
|
+
related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
|
|
116
174
|
search: z.ZodPrefault<z.ZodObject<{
|
|
175
|
+
boost: z.ZodOptional<z.ZodNumber>;
|
|
117
176
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
177
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
178
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
179
|
}, z.core.$strict>>;
|
|
120
180
|
seo: z.ZodPrefault<z.ZodObject<{
|
|
@@ -160,6 +220,13 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
|
|
|
160
220
|
ai: z.ZodPrefault<z.ZodObject<{
|
|
161
221
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
162
222
|
}, z.core.$strict>>;
|
|
223
|
+
api: z.ZodOptional<z.ZodString>;
|
|
224
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
none: "none";
|
|
226
|
+
key: "key";
|
|
227
|
+
bearer: "bearer";
|
|
228
|
+
basic: "basic";
|
|
229
|
+
}>>;
|
|
163
230
|
authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
164
231
|
avatar: z.ZodOptional<z.ZodString>;
|
|
165
232
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -183,9 +250,26 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
|
|
|
183
250
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
184
251
|
icon: z.ZodOptional<z.ZodString>;
|
|
185
252
|
lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
|
|
253
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
254
|
+
default: "default";
|
|
255
|
+
custom: "custom";
|
|
256
|
+
wide: "wide";
|
|
257
|
+
center: "center";
|
|
258
|
+
frame: "frame";
|
|
259
|
+
}>>;
|
|
260
|
+
narration: z.ZodDefault<z.ZodBoolean>;
|
|
186
261
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
262
|
+
pagination: z.ZodDefault<z.ZodBoolean>;
|
|
263
|
+
playground: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
none: "none";
|
|
265
|
+
interactive: "interactive";
|
|
266
|
+
simple: "simple";
|
|
267
|
+
}>>;
|
|
268
|
+
related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
|
|
187
269
|
search: z.ZodPrefault<z.ZodObject<{
|
|
270
|
+
boost: z.ZodOptional<z.ZodNumber>;
|
|
188
271
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
272
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
273
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
274
|
}, z.core.$strict>>;
|
|
191
275
|
seo: z.ZodPrefault<z.ZodObject<{
|
|
@@ -216,6 +300,11 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
|
|
|
216
300
|
}, z.core.$loose>>;
|
|
217
301
|
export declare const folderMetaSchema: z.ZodObject<{
|
|
218
302
|
collapsed: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
+
directory: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
none: "none";
|
|
305
|
+
accordion: "accordion";
|
|
306
|
+
card: "card";
|
|
307
|
+
}>>;
|
|
219
308
|
display: z.ZodOptional<z.ZodEnum<{
|
|
220
309
|
flat: "flat";
|
|
221
310
|
group: "group";
|
|
@@ -227,24 +316,18 @@ export declare const folderMetaSchema: z.ZodObject<{
|
|
|
227
316
|
title: z.ZodOptional<z.ZodString>;
|
|
228
317
|
}, z.core.$strict>;
|
|
229
318
|
export type FolderMeta = z.infer<typeof folderMetaSchema>;
|
|
230
|
-
/** A validated `content.sources` entry: an adapter descriptor from `blume/sources`. */
|
|
231
|
-
export type { ContentSourceAdapter } from "../sources/registry.ts";
|
|
232
319
|
/**
|
|
233
|
-
* A
|
|
234
|
-
* label (`{ en: "Docs", ja: "ドキュメント" }`).
|
|
235
|
-
*
|
|
236
|
-
* locale's, then the map's first entry — so a
|
|
237
|
-
* plain strings and an i18n site can translate
|
|
238
|
-
* config.
|
|
320
|
+
* A label that may localize (header tabs and links, the banner, the footer):
|
|
321
|
+
* a plain string, or a map of locale code to label (`{ en: "Docs", ja: "ドキュメント" }`).
|
|
322
|
+
* Resolved per locale by `core/localizable.ts` — the active locale's entry
|
|
323
|
+
* wins, then the default locale's, then the map's first entry — so a
|
|
324
|
+
* single-locale site can keep plain strings and an i18n site can translate
|
|
325
|
+
* its labels without forking the config.
|
|
239
326
|
*/
|
|
240
327
|
declare const localizableLabelSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
241
328
|
export type LocalizableLabel = z.infer<typeof localizableLabelSchema>;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
accordion: "accordion";
|
|
245
|
-
card: "card";
|
|
246
|
-
}>;
|
|
247
|
-
export type DirectoryMode = z.infer<typeof directoryModeSchema>;
|
|
329
|
+
/** A validated `content.sources` entry: an adapter descriptor from `blume/sources`. */
|
|
330
|
+
export type { ContentSourceAdapter } from "../sources/registry.ts";
|
|
248
331
|
/** A node in an explicit sidebar config: a page reference or a group/link. */
|
|
249
332
|
export type SidebarItemConfig = string | {
|
|
250
333
|
label: string;
|
|
@@ -259,6 +342,9 @@ export type SidebarItemConfig = string | {
|
|
|
259
342
|
};
|
|
260
343
|
/** The object form of `search`: the adapter plus its adapter-independent settings. */
|
|
261
344
|
declare const searchOptionsSchema: z.ZodObject<{
|
|
345
|
+
analytics: z.ZodPrefault<z.ZodObject<{
|
|
346
|
+
queries: z.ZodDefault<z.ZodBoolean>;
|
|
347
|
+
}, z.core.$strict>>;
|
|
262
348
|
indexing: z.ZodPrefault<z.ZodObject<{
|
|
263
349
|
includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
|
|
264
350
|
includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -324,6 +410,7 @@ declare const searchOptionsSchema: z.ZodObject<{
|
|
|
324
410
|
apiKey: string;
|
|
325
411
|
collection: string;
|
|
326
412
|
host: string;
|
|
413
|
+
locale?: string | undefined;
|
|
327
414
|
port?: number | undefined;
|
|
328
415
|
protocol?: "http" | "https" | undefined;
|
|
329
416
|
};
|
|
@@ -382,6 +469,7 @@ declare const searchOptionsSchema: z.ZodObject<{
|
|
|
382
469
|
apiKey: z.ZodString;
|
|
383
470
|
collection: z.ZodString;
|
|
384
471
|
host: z.ZodString;
|
|
472
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
385
473
|
port: z.ZodOptional<z.ZodNumber>;
|
|
386
474
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
387
475
|
http: "http";
|
|
@@ -453,6 +541,7 @@ declare const searchOptionsSchema: z.ZodObject<{
|
|
|
453
541
|
apiKey: string;
|
|
454
542
|
collection: string;
|
|
455
543
|
host: string;
|
|
544
|
+
locale?: string | undefined;
|
|
456
545
|
port?: number | undefined;
|
|
457
546
|
protocol?: "http" | "https" | undefined;
|
|
458
547
|
};
|
|
@@ -472,6 +561,21 @@ type SearchOptionsInput = z.input<typeof searchOptionsSchema>;
|
|
|
472
561
|
type SearchConfigInput = false | SearchAdapterInput | SearchOptionsInput;
|
|
473
562
|
declare const aiConfigSchema: z.ZodObject<{
|
|
474
563
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
captcha: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
565
|
+
kind: z.ZodLiteral<"hcaptcha">;
|
|
566
|
+
options: z.ZodObject<{
|
|
567
|
+
siteKey: z.ZodString;
|
|
568
|
+
}, z.core.$strict>;
|
|
569
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
570
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
572
|
+
kind: z.ZodLiteral<"turnstile">;
|
|
573
|
+
options: z.ZodObject<{
|
|
574
|
+
siteKey: z.ZodString;
|
|
575
|
+
}, z.core.$strict>;
|
|
576
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
577
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
578
|
+
}, z.core.$strict>], "kind">>;
|
|
475
579
|
cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
|
|
476
580
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
477
581
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -495,9 +599,11 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
495
599
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
496
600
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
497
601
|
}, z.core.$strict>, z.ZodObject<{
|
|
498
|
-
kind: z.ZodLiteral<"
|
|
602
|
+
kind: z.ZodLiteral<"openai">;
|
|
499
603
|
options: z.ZodObject<{
|
|
604
|
+
baseUrl: z.ZodOptional<z.ZodURL>;
|
|
500
605
|
model: z.ZodString;
|
|
606
|
+
name: z.ZodOptional<z.ZodString>;
|
|
501
607
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
502
608
|
none: "none";
|
|
503
609
|
minimal: "minimal";
|
|
@@ -513,9 +619,8 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
513
619
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
514
620
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
515
621
|
}, z.core.$strict>, z.ZodObject<{
|
|
516
|
-
kind: z.ZodLiteral<"
|
|
622
|
+
kind: z.ZodLiteral<"anthropic">;
|
|
517
623
|
options: z.ZodObject<{
|
|
518
|
-
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
519
624
|
model: z.ZodString;
|
|
520
625
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
521
626
|
none: "none";
|
|
@@ -532,10 +637,53 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
532
637
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
533
638
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
534
639
|
}, z.core.$strict>, z.ZodObject<{
|
|
535
|
-
kind: z.ZodLiteral<"
|
|
640
|
+
kind: z.ZodLiteral<"gemini">;
|
|
536
641
|
options: z.ZodObject<{
|
|
537
|
-
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
538
642
|
model: z.ZodString;
|
|
643
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
644
|
+
none: "none";
|
|
645
|
+
minimal: "minimal";
|
|
646
|
+
low: "low";
|
|
647
|
+
medium: "medium";
|
|
648
|
+
high: "high";
|
|
649
|
+
xhigh: "xhigh";
|
|
650
|
+
}>>;
|
|
651
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
652
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
653
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
654
|
+
}, z.core.$strict>;
|
|
655
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
656
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
657
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
658
|
+
kind: z.ZodLiteral<"grok">;
|
|
659
|
+
options: z.ZodObject<{
|
|
660
|
+
model: z.ZodString;
|
|
661
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
662
|
+
none: "none";
|
|
663
|
+
minimal: "minimal";
|
|
664
|
+
low: "low";
|
|
665
|
+
medium: "medium";
|
|
666
|
+
high: "high";
|
|
667
|
+
xhigh: "xhigh";
|
|
668
|
+
}>>;
|
|
669
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
670
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
671
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
672
|
+
}, z.core.$strict>;
|
|
673
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
674
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
675
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
676
|
+
kind: z.ZodLiteral<"openrouter">;
|
|
677
|
+
options: z.ZodObject<{
|
|
678
|
+
model: z.ZodString;
|
|
679
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
680
|
+
none: "none";
|
|
681
|
+
minimal: "minimal";
|
|
682
|
+
low: "low";
|
|
683
|
+
medium: "medium";
|
|
684
|
+
high: "high";
|
|
685
|
+
xhigh: "xhigh";
|
|
686
|
+
}>>;
|
|
539
687
|
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
540
688
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
541
689
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
@@ -543,12 +691,10 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
543
691
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
544
692
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
545
693
|
}, z.core.$strict>, z.ZodObject<{
|
|
546
|
-
kind: z.ZodLiteral<"
|
|
694
|
+
kind: z.ZodLiteral<"llmgateway">;
|
|
547
695
|
options: z.ZodObject<{
|
|
548
|
-
|
|
549
|
-
baseUrl: z.ZodURL;
|
|
696
|
+
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
550
697
|
model: z.ZodString;
|
|
551
|
-
name: z.ZodDefault<z.ZodString>;
|
|
552
698
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
553
699
|
none: "none";
|
|
554
700
|
minimal: "minimal";
|
|
@@ -557,6 +703,18 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
557
703
|
high: "high";
|
|
558
704
|
xhigh: "xhigh";
|
|
559
705
|
}>>;
|
|
706
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
707
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
708
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
709
|
+
}, z.core.$strict>;
|
|
710
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
711
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
|
+
kind: z.ZodLiteral<"inkeep">;
|
|
714
|
+
options: z.ZodObject<{
|
|
715
|
+
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
716
|
+
model: z.ZodString;
|
|
717
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
560
718
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
561
719
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
562
720
|
}, z.core.$strict>;
|
|
@@ -572,6 +730,8 @@ declare const aiConfigSchema: z.ZodObject<{
|
|
|
572
730
|
icon: z.ZodOptional<z.ZodString>;
|
|
573
731
|
label: z.ZodString;
|
|
574
732
|
}, z.core.$strict>>>;
|
|
733
|
+
support: z.ZodOptional<z.ZodString>;
|
|
734
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
575
735
|
}, z.core.$strict>>;
|
|
576
736
|
openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
|
|
577
737
|
v0: "v0";
|
|
@@ -619,6 +779,7 @@ declare const i18nConfigSchema: z.ZodObject<{
|
|
|
619
779
|
dir: "dir";
|
|
620
780
|
dot: "dot";
|
|
621
781
|
}>>;
|
|
782
|
+
routeByBrowserLanguage: z.ZodDefault<z.ZodBoolean>;
|
|
622
783
|
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
623
784
|
}, z.core.$strict>;
|
|
624
785
|
/**
|
|
@@ -790,6 +951,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
790
951
|
name: z.ZodOptional<z.ZodString>;
|
|
791
952
|
route: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>;
|
|
792
953
|
}, z.core.$strict>>;
|
|
954
|
+
skillMd: z.ZodDefault<z.ZodBoolean>;
|
|
793
955
|
skills: z.ZodOptional<z.ZodString>;
|
|
794
956
|
webBotAuth: z.ZodPrefault<z.ZodObject<{
|
|
795
957
|
keys: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -798,6 +960,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
798
960
|
}, z.core.$strict>>;
|
|
799
961
|
ai: z.ZodPrefault<z.ZodObject<{
|
|
800
962
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
963
|
+
captcha: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
964
|
+
kind: z.ZodLiteral<"hcaptcha">;
|
|
965
|
+
options: z.ZodObject<{
|
|
966
|
+
siteKey: z.ZodString;
|
|
967
|
+
}, z.core.$strict>;
|
|
968
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
969
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
970
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
971
|
+
kind: z.ZodLiteral<"turnstile">;
|
|
972
|
+
options: z.ZodObject<{
|
|
973
|
+
siteKey: z.ZodString;
|
|
974
|
+
}, z.core.$strict>;
|
|
975
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
976
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
977
|
+
}, z.core.$strict>], "kind">>;
|
|
801
978
|
cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
|
|
802
979
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
803
980
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -821,9 +998,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
821
998
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
822
999
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
823
1000
|
}, z.core.$strict>, z.ZodObject<{
|
|
824
|
-
kind: z.ZodLiteral<"
|
|
1001
|
+
kind: z.ZodLiteral<"openai">;
|
|
825
1002
|
options: z.ZodObject<{
|
|
1003
|
+
baseUrl: z.ZodOptional<z.ZodURL>;
|
|
826
1004
|
model: z.ZodString;
|
|
1005
|
+
name: z.ZodOptional<z.ZodString>;
|
|
827
1006
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
828
1007
|
none: "none";
|
|
829
1008
|
minimal: "minimal";
|
|
@@ -839,9 +1018,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
839
1018
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
840
1019
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
841
1020
|
}, z.core.$strict>, z.ZodObject<{
|
|
842
|
-
kind: z.ZodLiteral<"
|
|
1021
|
+
kind: z.ZodLiteral<"anthropic">;
|
|
843
1022
|
options: z.ZodObject<{
|
|
844
|
-
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
845
1023
|
model: z.ZodString;
|
|
846
1024
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
847
1025
|
none: "none";
|
|
@@ -858,10 +1036,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
858
1036
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
859
1037
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
860
1038
|
}, z.core.$strict>, z.ZodObject<{
|
|
861
|
-
kind: z.ZodLiteral<"
|
|
1039
|
+
kind: z.ZodLiteral<"gemini">;
|
|
862
1040
|
options: z.ZodObject<{
|
|
863
|
-
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
864
1041
|
model: z.ZodString;
|
|
1042
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
1043
|
+
none: "none";
|
|
1044
|
+
minimal: "minimal";
|
|
1045
|
+
low: "low";
|
|
1046
|
+
medium: "medium";
|
|
1047
|
+
high: "high";
|
|
1048
|
+
xhigh: "xhigh";
|
|
1049
|
+
}>>;
|
|
865
1050
|
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
866
1051
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
867
1052
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
@@ -869,12 +1054,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
869
1054
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
870
1055
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
871
1056
|
}, z.core.$strict>, z.ZodObject<{
|
|
872
|
-
kind: z.ZodLiteral<"
|
|
1057
|
+
kind: z.ZodLiteral<"grok">;
|
|
873
1058
|
options: z.ZodObject<{
|
|
874
|
-
apiKeyEnv: z.ZodString;
|
|
875
|
-
baseUrl: z.ZodURL;
|
|
876
1059
|
model: z.ZodString;
|
|
877
|
-
name: z.ZodDefault<z.ZodString>;
|
|
878
1060
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
879
1061
|
none: "none";
|
|
880
1062
|
minimal: "minimal";
|
|
@@ -883,6 +1065,55 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
883
1065
|
high: "high";
|
|
884
1066
|
xhigh: "xhigh";
|
|
885
1067
|
}>>;
|
|
1068
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
1069
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1070
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
1071
|
+
}, z.core.$strict>;
|
|
1072
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1073
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1075
|
+
kind: z.ZodLiteral<"openrouter">;
|
|
1076
|
+
options: z.ZodObject<{
|
|
1077
|
+
model: z.ZodString;
|
|
1078
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
1079
|
+
none: "none";
|
|
1080
|
+
minimal: "minimal";
|
|
1081
|
+
low: "low";
|
|
1082
|
+
medium: "medium";
|
|
1083
|
+
high: "high";
|
|
1084
|
+
xhigh: "xhigh";
|
|
1085
|
+
}>>;
|
|
1086
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
1087
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1088
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
1089
|
+
}, z.core.$strict>;
|
|
1090
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1091
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1093
|
+
kind: z.ZodLiteral<"llmgateway">;
|
|
1094
|
+
options: z.ZodObject<{
|
|
1095
|
+
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
1096
|
+
model: z.ZodString;
|
|
1097
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
1098
|
+
none: "none";
|
|
1099
|
+
minimal: "minimal";
|
|
1100
|
+
low: "low";
|
|
1101
|
+
medium: "medium";
|
|
1102
|
+
high: "high";
|
|
1103
|
+
xhigh: "xhigh";
|
|
1104
|
+
}>>;
|
|
1105
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
1106
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1107
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
1108
|
+
}, z.core.$strict>;
|
|
1109
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1110
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1112
|
+
kind: z.ZodLiteral<"inkeep">;
|
|
1113
|
+
options: z.ZodObject<{
|
|
1114
|
+
baseUrl: z.ZodDefault<z.ZodURL>;
|
|
1115
|
+
model: z.ZodString;
|
|
1116
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
886
1117
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
887
1118
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
888
1119
|
}, z.core.$strict>;
|
|
@@ -898,6 +1129,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
898
1129
|
icon: z.ZodOptional<z.ZodString>;
|
|
899
1130
|
label: z.ZodString;
|
|
900
1131
|
}, z.core.$strict>>>;
|
|
1132
|
+
support: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
901
1134
|
}, z.core.$strict>>;
|
|
902
1135
|
openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
|
|
903
1136
|
v0: "v0";
|
|
@@ -1078,16 +1311,115 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1078
1311
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1079
1312
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1080
1313
|
}, z.core.$strict>], "kind">>>;
|
|
1314
|
+
api: z.ZodPrefault<z.ZodObject<{
|
|
1315
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1316
|
+
method: z.ZodEnum<{
|
|
1317
|
+
none: "none";
|
|
1318
|
+
key: "key";
|
|
1319
|
+
bearer: "bearer";
|
|
1320
|
+
basic: "basic";
|
|
1321
|
+
}>;
|
|
1322
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
}, z.core.$strict>>;
|
|
1324
|
+
playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1325
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1326
|
+
proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
1327
|
+
}, z.core.$strict>]>>, z.ZodTransform<{
|
|
1328
|
+
enabled: boolean;
|
|
1329
|
+
proxy: string | boolean;
|
|
1330
|
+
}, boolean | {
|
|
1331
|
+
enabled: boolean;
|
|
1332
|
+
proxy: string | boolean;
|
|
1333
|
+
}>>;
|
|
1334
|
+
server: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
}, z.core.$strict>>;
|
|
1081
1336
|
banner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1082
|
-
content: z.ZodString
|
|
1337
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1083
1338
|
dismissible: z.ZodDefault<z.ZodBoolean>;
|
|
1084
1339
|
id: z.ZodOptional<z.ZodString>;
|
|
1085
1340
|
link: z.ZodOptional<z.ZodObject<{
|
|
1086
1341
|
href: z.ZodString;
|
|
1087
|
-
text: z.ZodString
|
|
1342
|
+
text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1088
1343
|
}, z.core.$strict>>;
|
|
1089
1344
|
}, z.core.$strict>]>>;
|
|
1090
1345
|
basePath: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
|
|
1346
|
+
changelog: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1348
|
+
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1349
|
+
}, z.core.$strict>>;
|
|
1350
|
+
consent: z.ZodPipe<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"ethyca">;
|
|
1352
|
+
options: z.ZodObject<{
|
|
1353
|
+
notice: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
privacyCenter: z.ZodURL;
|
|
1355
|
+
propertyId: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
}, z.core.$strict>;
|
|
1357
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1358
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1360
|
+
kind: z.ZodLiteral<"native">;
|
|
1361
|
+
options: z.ZodObject<{
|
|
1362
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
}, z.core.$strict>;
|
|
1364
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1365
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1366
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1367
|
+
kind: z.ZodLiteral<"osano">;
|
|
1368
|
+
options: z.ZodObject<{
|
|
1369
|
+
configId: z.ZodString;
|
|
1370
|
+
customerId: z.ZodString;
|
|
1371
|
+
}, z.core.$strict>;
|
|
1372
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
1373
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
1374
|
+
}, z.core.$strict>], "kind">>, z.ZodTransform<{
|
|
1375
|
+
kind: "ethyca";
|
|
1376
|
+
options: {
|
|
1377
|
+
privacyCenter: string;
|
|
1378
|
+
notice?: string | undefined;
|
|
1379
|
+
propertyId?: string | undefined;
|
|
1380
|
+
};
|
|
1381
|
+
requiredSecrets: string[];
|
|
1382
|
+
runtimeDeps: string[];
|
|
1383
|
+
} | {
|
|
1384
|
+
kind: "native";
|
|
1385
|
+
options: {
|
|
1386
|
+
policy?: string | undefined;
|
|
1387
|
+
};
|
|
1388
|
+
requiredSecrets: string[];
|
|
1389
|
+
runtimeDeps: string[];
|
|
1390
|
+
} | {
|
|
1391
|
+
kind: "osano";
|
|
1392
|
+
options: {
|
|
1393
|
+
configId: string;
|
|
1394
|
+
customerId: string;
|
|
1395
|
+
};
|
|
1396
|
+
requiredSecrets: string[];
|
|
1397
|
+
runtimeDeps: string[];
|
|
1398
|
+
} | null, {
|
|
1399
|
+
kind: "ethyca";
|
|
1400
|
+
options: {
|
|
1401
|
+
privacyCenter: string;
|
|
1402
|
+
notice?: string | undefined;
|
|
1403
|
+
propertyId?: string | undefined;
|
|
1404
|
+
};
|
|
1405
|
+
requiredSecrets: string[];
|
|
1406
|
+
runtimeDeps: string[];
|
|
1407
|
+
} | {
|
|
1408
|
+
kind: "native";
|
|
1409
|
+
options: {
|
|
1410
|
+
policy?: string | undefined;
|
|
1411
|
+
};
|
|
1412
|
+
requiredSecrets: string[];
|
|
1413
|
+
runtimeDeps: string[];
|
|
1414
|
+
} | {
|
|
1415
|
+
kind: "osano";
|
|
1416
|
+
options: {
|
|
1417
|
+
configId: string;
|
|
1418
|
+
customerId: string;
|
|
1419
|
+
};
|
|
1420
|
+
requiredSecrets: string[];
|
|
1421
|
+
runtimeDeps: string[];
|
|
1422
|
+
} | undefined>>;
|
|
1091
1423
|
content: z.ZodPrefault<z.ZodPipe<z.ZodObject<{
|
|
1092
1424
|
defaultType: z.ZodDefault<z.ZodString>;
|
|
1093
1425
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1129,6 +1461,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1129
1461
|
repo: string;
|
|
1130
1462
|
pollInterval?: number | undefined;
|
|
1131
1463
|
prefix?: string | undefined;
|
|
1464
|
+
baseUrl?: string | undefined;
|
|
1132
1465
|
drafts?: boolean | undefined;
|
|
1133
1466
|
limit?: number | undefined;
|
|
1134
1467
|
prereleases?: boolean | undefined;
|
|
@@ -1184,11 +1517,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1184
1517
|
body?: string | undefined;
|
|
1185
1518
|
description?: string | undefined;
|
|
1186
1519
|
lastModified?: string | undefined;
|
|
1520
|
+
order?: string | undefined;
|
|
1187
1521
|
slug?: string | undefined;
|
|
1188
1522
|
title?: string | undefined;
|
|
1189
1523
|
} | undefined;
|
|
1524
|
+
host?: string | undefined;
|
|
1190
1525
|
locale?: string | undefined;
|
|
1191
1526
|
params?: Record<string, string> | undefined;
|
|
1527
|
+
previewHost?: string | undefined;
|
|
1192
1528
|
};
|
|
1193
1529
|
requiredSecrets: string[];
|
|
1194
1530
|
runtimeDeps: string[];
|
|
@@ -1205,6 +1541,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1205
1541
|
body?: string | undefined;
|
|
1206
1542
|
description?: string | undefined;
|
|
1207
1543
|
lastModified?: string | undefined;
|
|
1544
|
+
order?: string | undefined;
|
|
1208
1545
|
slug?: string | undefined;
|
|
1209
1546
|
title?: string | undefined;
|
|
1210
1547
|
} | undefined;
|
|
@@ -1223,6 +1560,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1223
1560
|
body?: string | undefined;
|
|
1224
1561
|
description?: string | undefined;
|
|
1225
1562
|
lastModified?: string | undefined;
|
|
1563
|
+
order?: string | undefined;
|
|
1226
1564
|
slug?: string | undefined;
|
|
1227
1565
|
title?: string | undefined;
|
|
1228
1566
|
} | undefined;
|
|
@@ -1282,6 +1620,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1282
1620
|
repo: string;
|
|
1283
1621
|
pollInterval?: number | undefined;
|
|
1284
1622
|
prefix?: string | undefined;
|
|
1623
|
+
baseUrl?: string | undefined;
|
|
1285
1624
|
drafts?: boolean | undefined;
|
|
1286
1625
|
limit?: number | undefined;
|
|
1287
1626
|
prereleases?: boolean | undefined;
|
|
@@ -1337,11 +1676,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1337
1676
|
body?: string | undefined;
|
|
1338
1677
|
description?: string | undefined;
|
|
1339
1678
|
lastModified?: string | undefined;
|
|
1679
|
+
order?: string | undefined;
|
|
1340
1680
|
slug?: string | undefined;
|
|
1341
1681
|
title?: string | undefined;
|
|
1342
1682
|
} | undefined;
|
|
1683
|
+
host?: string | undefined;
|
|
1343
1684
|
locale?: string | undefined;
|
|
1344
1685
|
params?: Record<string, string> | undefined;
|
|
1686
|
+
previewHost?: string | undefined;
|
|
1345
1687
|
};
|
|
1346
1688
|
requiredSecrets: string[];
|
|
1347
1689
|
runtimeDeps: string[];
|
|
@@ -1358,6 +1700,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1358
1700
|
body?: string | undefined;
|
|
1359
1701
|
description?: string | undefined;
|
|
1360
1702
|
lastModified?: string | undefined;
|
|
1703
|
+
order?: string | undefined;
|
|
1361
1704
|
slug?: string | undefined;
|
|
1362
1705
|
title?: string | undefined;
|
|
1363
1706
|
} | undefined;
|
|
@@ -1376,6 +1719,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1376
1719
|
body?: string | undefined;
|
|
1377
1720
|
description?: string | undefined;
|
|
1378
1721
|
lastModified?: string | undefined;
|
|
1722
|
+
order?: string | undefined;
|
|
1379
1723
|
slug?: string | undefined;
|
|
1380
1724
|
title?: string | undefined;
|
|
1381
1725
|
} | undefined;
|
|
@@ -1433,6 +1777,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1433
1777
|
options: z.ZodObject<{
|
|
1434
1778
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
1435
1779
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1436
1781
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
1437
1782
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1438
1783
|
owner: z.ZodString;
|
|
@@ -1489,11 +1834,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1489
1834
|
body: z.ZodOptional<z.ZodString>;
|
|
1490
1835
|
description: z.ZodOptional<z.ZodString>;
|
|
1491
1836
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1492
1838
|
slug: z.ZodOptional<z.ZodString>;
|
|
1493
1839
|
title: z.ZodOptional<z.ZodString>;
|
|
1494
1840
|
}, z.core.$strict>>;
|
|
1841
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1495
1842
|
locale: z.ZodOptional<z.ZodString>;
|
|
1496
1843
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1844
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
1497
1845
|
space: z.ZodString;
|
|
1498
1846
|
}, z.core.$strict>;
|
|
1499
1847
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -1510,6 +1858,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1510
1858
|
body: z.ZodOptional<z.ZodString>;
|
|
1511
1859
|
description: z.ZodOptional<z.ZodString>;
|
|
1512
1860
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1513
1862
|
slug: z.ZodOptional<z.ZodString>;
|
|
1514
1863
|
title: z.ZodOptional<z.ZodString>;
|
|
1515
1864
|
}, z.core.$strict>>;
|
|
@@ -1528,6 +1877,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1528
1877
|
body: z.ZodOptional<z.ZodString>;
|
|
1529
1878
|
description: z.ZodOptional<z.ZodString>;
|
|
1530
1879
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1531
1881
|
slug: z.ZodOptional<z.ZodString>;
|
|
1532
1882
|
title: z.ZodOptional<z.ZodString>;
|
|
1533
1883
|
}, z.core.$strict>>;
|
|
@@ -1588,6 +1938,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1588
1938
|
repo: string;
|
|
1589
1939
|
pollInterval?: number | undefined;
|
|
1590
1940
|
prefix?: string | undefined;
|
|
1941
|
+
baseUrl?: string | undefined;
|
|
1591
1942
|
drafts?: boolean | undefined;
|
|
1592
1943
|
limit?: number | undefined;
|
|
1593
1944
|
prereleases?: boolean | undefined;
|
|
@@ -1643,11 +1994,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1643
1994
|
body?: string | undefined;
|
|
1644
1995
|
description?: string | undefined;
|
|
1645
1996
|
lastModified?: string | undefined;
|
|
1997
|
+
order?: string | undefined;
|
|
1646
1998
|
slug?: string | undefined;
|
|
1647
1999
|
title?: string | undefined;
|
|
1648
2000
|
} | undefined;
|
|
2001
|
+
host?: string | undefined;
|
|
1649
2002
|
locale?: string | undefined;
|
|
1650
2003
|
params?: Record<string, string> | undefined;
|
|
2004
|
+
previewHost?: string | undefined;
|
|
1651
2005
|
};
|
|
1652
2006
|
requiredSecrets: string[];
|
|
1653
2007
|
runtimeDeps: string[];
|
|
@@ -1664,6 +2018,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1664
2018
|
body?: string | undefined;
|
|
1665
2019
|
description?: string | undefined;
|
|
1666
2020
|
lastModified?: string | undefined;
|
|
2021
|
+
order?: string | undefined;
|
|
1667
2022
|
slug?: string | undefined;
|
|
1668
2023
|
title?: string | undefined;
|
|
1669
2024
|
} | undefined;
|
|
@@ -1682,6 +2037,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1682
2037
|
body?: string | undefined;
|
|
1683
2038
|
description?: string | undefined;
|
|
1684
2039
|
lastModified?: string | undefined;
|
|
2040
|
+
order?: string | undefined;
|
|
1685
2041
|
slug?: string | undefined;
|
|
1686
2042
|
title?: string | undefined;
|
|
1687
2043
|
} | undefined;
|
|
@@ -1741,6 +2097,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1741
2097
|
repo: string;
|
|
1742
2098
|
pollInterval?: number | undefined;
|
|
1743
2099
|
prefix?: string | undefined;
|
|
2100
|
+
baseUrl?: string | undefined;
|
|
1744
2101
|
drafts?: boolean | undefined;
|
|
1745
2102
|
limit?: number | undefined;
|
|
1746
2103
|
prereleases?: boolean | undefined;
|
|
@@ -1796,11 +2153,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1796
2153
|
body?: string | undefined;
|
|
1797
2154
|
description?: string | undefined;
|
|
1798
2155
|
lastModified?: string | undefined;
|
|
2156
|
+
order?: string | undefined;
|
|
1799
2157
|
slug?: string | undefined;
|
|
1800
2158
|
title?: string | undefined;
|
|
1801
2159
|
} | undefined;
|
|
2160
|
+
host?: string | undefined;
|
|
1802
2161
|
locale?: string | undefined;
|
|
1803
2162
|
params?: Record<string, string> | undefined;
|
|
2163
|
+
previewHost?: string | undefined;
|
|
1804
2164
|
};
|
|
1805
2165
|
requiredSecrets: string[];
|
|
1806
2166
|
runtimeDeps: string[];
|
|
@@ -1817,6 +2177,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1817
2177
|
body?: string | undefined;
|
|
1818
2178
|
description?: string | undefined;
|
|
1819
2179
|
lastModified?: string | undefined;
|
|
2180
|
+
order?: string | undefined;
|
|
1820
2181
|
slug?: string | undefined;
|
|
1821
2182
|
title?: string | undefined;
|
|
1822
2183
|
} | undefined;
|
|
@@ -1835,6 +2196,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1835
2196
|
body?: string | undefined;
|
|
1836
2197
|
description?: string | undefined;
|
|
1837
2198
|
lastModified?: string | undefined;
|
|
2199
|
+
order?: string | undefined;
|
|
1838
2200
|
slug?: string | undefined;
|
|
1839
2201
|
title?: string | undefined;
|
|
1840
2202
|
} | undefined;
|
|
@@ -1900,6 +2262,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1900
2262
|
repo: string;
|
|
1901
2263
|
pollInterval?: number | undefined;
|
|
1902
2264
|
prefix?: string | undefined;
|
|
2265
|
+
baseUrl?: string | undefined;
|
|
1903
2266
|
drafts?: boolean | undefined;
|
|
1904
2267
|
limit?: number | undefined;
|
|
1905
2268
|
prereleases?: boolean | undefined;
|
|
@@ -1955,11 +2318,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1955
2318
|
body?: string | undefined;
|
|
1956
2319
|
description?: string | undefined;
|
|
1957
2320
|
lastModified?: string | undefined;
|
|
2321
|
+
order?: string | undefined;
|
|
1958
2322
|
slug?: string | undefined;
|
|
1959
2323
|
title?: string | undefined;
|
|
1960
2324
|
} | undefined;
|
|
2325
|
+
host?: string | undefined;
|
|
1961
2326
|
locale?: string | undefined;
|
|
1962
2327
|
params?: Record<string, string> | undefined;
|
|
2328
|
+
previewHost?: string | undefined;
|
|
1963
2329
|
};
|
|
1964
2330
|
requiredSecrets: string[];
|
|
1965
2331
|
runtimeDeps: string[];
|
|
@@ -1976,6 +2342,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1976
2342
|
body?: string | undefined;
|
|
1977
2343
|
description?: string | undefined;
|
|
1978
2344
|
lastModified?: string | undefined;
|
|
2345
|
+
order?: string | undefined;
|
|
1979
2346
|
slug?: string | undefined;
|
|
1980
2347
|
title?: string | undefined;
|
|
1981
2348
|
} | undefined;
|
|
@@ -1994,6 +2361,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
1994
2361
|
body?: string | undefined;
|
|
1995
2362
|
description?: string | undefined;
|
|
1996
2363
|
lastModified?: string | undefined;
|
|
2364
|
+
order?: string | undefined;
|
|
1997
2365
|
slug?: string | undefined;
|
|
1998
2366
|
title?: string | undefined;
|
|
1999
2367
|
} | undefined;
|
|
@@ -2070,6 +2438,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2070
2438
|
repo: string;
|
|
2071
2439
|
pollInterval?: number | undefined;
|
|
2072
2440
|
prefix?: string | undefined;
|
|
2441
|
+
baseUrl?: string | undefined;
|
|
2073
2442
|
drafts?: boolean | undefined;
|
|
2074
2443
|
limit?: number | undefined;
|
|
2075
2444
|
prereleases?: boolean | undefined;
|
|
@@ -2125,11 +2494,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2125
2494
|
body?: string | undefined;
|
|
2126
2495
|
description?: string | undefined;
|
|
2127
2496
|
lastModified?: string | undefined;
|
|
2497
|
+
order?: string | undefined;
|
|
2128
2498
|
slug?: string | undefined;
|
|
2129
2499
|
title?: string | undefined;
|
|
2130
2500
|
} | undefined;
|
|
2501
|
+
host?: string | undefined;
|
|
2131
2502
|
locale?: string | undefined;
|
|
2132
2503
|
params?: Record<string, string> | undefined;
|
|
2504
|
+
previewHost?: string | undefined;
|
|
2133
2505
|
};
|
|
2134
2506
|
requiredSecrets: string[];
|
|
2135
2507
|
runtimeDeps: string[];
|
|
@@ -2146,6 +2518,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2146
2518
|
body?: string | undefined;
|
|
2147
2519
|
description?: string | undefined;
|
|
2148
2520
|
lastModified?: string | undefined;
|
|
2521
|
+
order?: string | undefined;
|
|
2149
2522
|
slug?: string | undefined;
|
|
2150
2523
|
title?: string | undefined;
|
|
2151
2524
|
} | undefined;
|
|
@@ -2164,6 +2537,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2164
2537
|
body?: string | undefined;
|
|
2165
2538
|
description?: string | undefined;
|
|
2166
2539
|
lastModified?: string | undefined;
|
|
2540
|
+
order?: string | undefined;
|
|
2167
2541
|
slug?: string | undefined;
|
|
2168
2542
|
title?: string | undefined;
|
|
2169
2543
|
} | undefined;
|
|
@@ -2279,6 +2653,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2279
2653
|
server: "server";
|
|
2280
2654
|
}>>;
|
|
2281
2655
|
site: z.ZodOptional<z.ZodURL>;
|
|
2656
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2657
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
2658
|
+
port: z.ZodOptional<z.ZodString>;
|
|
2659
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
}, z.core.$strict>>>;
|
|
2282
2661
|
}, z.core.$catchall<z.ZodJSONSchema>>;
|
|
2283
2662
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
2284
2663
|
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
@@ -2325,6 +2704,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2325
2704
|
base?: string | undefined;
|
|
2326
2705
|
output?: "static" | "server" | undefined;
|
|
2327
2706
|
site?: string | undefined;
|
|
2707
|
+
allowedDomains?: {
|
|
2708
|
+
hostname?: string | undefined;
|
|
2709
|
+
port?: string | undefined;
|
|
2710
|
+
protocol?: string | undefined;
|
|
2711
|
+
}[] | undefined;
|
|
2328
2712
|
};
|
|
2329
2713
|
requiredSecrets: string[];
|
|
2330
2714
|
runtimeDeps: string[];
|
|
@@ -2364,7 +2748,43 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2364
2748
|
epub: boolean;
|
|
2365
2749
|
pdf: boolean;
|
|
2366
2750
|
}>>>;
|
|
2367
|
-
feedback: z.
|
|
2751
|
+
feedback: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2752
|
+
comments: z.ZodDefault<z.ZodBoolean>;
|
|
2753
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2754
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
2755
|
+
comments: boolean;
|
|
2756
|
+
enabled: (boolean | {
|
|
2757
|
+
comments: boolean;
|
|
2758
|
+
enabled: boolean;
|
|
2759
|
+
}) & boolean;
|
|
2760
|
+
}, boolean | {
|
|
2761
|
+
comments: boolean;
|
|
2762
|
+
enabled: boolean;
|
|
2763
|
+
}>>>;
|
|
2764
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
2765
|
+
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2766
|
+
href: z.ZodString;
|
|
2767
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2768
|
+
}, z.core.$strict>>>;
|
|
2769
|
+
socials: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
2770
|
+
medium: "medium";
|
|
2771
|
+
github: "github";
|
|
2772
|
+
bluesky: "bluesky";
|
|
2773
|
+
discord: "discord";
|
|
2774
|
+
facebook: "facebook";
|
|
2775
|
+
"hacker-news": "hacker-news";
|
|
2776
|
+
instagram: "instagram";
|
|
2777
|
+
linkedin: "linkedin";
|
|
2778
|
+
podcast: "podcast";
|
|
2779
|
+
reddit: "reddit";
|
|
2780
|
+
slack: "slack";
|
|
2781
|
+
telegram: "telegram";
|
|
2782
|
+
threads: "threads";
|
|
2783
|
+
website: "website";
|
|
2784
|
+
x: "x";
|
|
2785
|
+
youtube: "youtube";
|
|
2786
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
2787
|
+
}, z.core.$strict>>;
|
|
2368
2788
|
frontmatter: z.ZodPrefault<z.ZodObject<{
|
|
2369
2789
|
extend: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodCustom<StandardSchema<unknown, unknown>, StandardSchema<unknown, unknown>>>>;
|
|
2370
2790
|
}, z.core.$strict>>;
|
|
@@ -2393,6 +2813,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2393
2813
|
dir: "dir";
|
|
2394
2814
|
dot: "dot";
|
|
2395
2815
|
}>>;
|
|
2816
|
+
routeByBrowserLanguage: z.ZodDefault<z.ZodBoolean>;
|
|
2396
2817
|
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
2397
2818
|
}, z.core.$strict>>;
|
|
2398
2819
|
image: z.ZodPrefault<z.ZodObject<{
|
|
@@ -2431,19 +2852,65 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2431
2852
|
headingAnchors: z.ZodDefault<z.ZodBoolean>;
|
|
2432
2853
|
imageZoom: z.ZodDefault<z.ZodBoolean>;
|
|
2433
2854
|
}, z.core.$strict>>;
|
|
2855
|
+
narration: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2856
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2857
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
2858
|
+
kind: z.ZodLiteral<"gateway">;
|
|
2859
|
+
options: z.ZodObject<{
|
|
2860
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
model: z.ZodDefault<z.ZodString>;
|
|
2862
|
+
voice: z.ZodDefault<z.ZodString>;
|
|
2863
|
+
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
2864
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2865
|
+
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
2866
|
+
}, z.core.$strict>;
|
|
2867
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
2868
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
2869
|
+
}, z.core.$strict>>;
|
|
2870
|
+
}, z.core.$strict>]>, z.ZodTransform<{
|
|
2871
|
+
enabled: boolean;
|
|
2872
|
+
provider: {
|
|
2873
|
+
kind: "gateway";
|
|
2874
|
+
options: {
|
|
2875
|
+
model: string;
|
|
2876
|
+
voice: string;
|
|
2877
|
+
apiKeyEnv: string;
|
|
2878
|
+
instructions?: string | undefined;
|
|
2879
|
+
headers?: Record<string, string> | undefined;
|
|
2880
|
+
providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
|
|
2881
|
+
};
|
|
2882
|
+
requiredSecrets: string[];
|
|
2883
|
+
runtimeDeps: string[];
|
|
2884
|
+
} | null;
|
|
2885
|
+
}, boolean | {
|
|
2886
|
+
enabled: boolean;
|
|
2887
|
+
provider?: {
|
|
2888
|
+
kind: "gateway";
|
|
2889
|
+
options: {
|
|
2890
|
+
model: string;
|
|
2891
|
+
voice: string;
|
|
2892
|
+
apiKeyEnv: string;
|
|
2893
|
+
instructions?: string | undefined;
|
|
2894
|
+
headers?: Record<string, string> | undefined;
|
|
2895
|
+
providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
|
|
2896
|
+
};
|
|
2897
|
+
requiredSecrets: string[];
|
|
2898
|
+
runtimeDeps: string[];
|
|
2899
|
+
} | undefined;
|
|
2900
|
+
}>>>;
|
|
2434
2901
|
navigation: z.ZodPrefault<z.ZodObject<{
|
|
2435
2902
|
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2436
2903
|
href: z.ZodString;
|
|
2437
|
-
label: z.ZodString
|
|
2904
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2438
2905
|
}, z.core.$strict>>>;
|
|
2439
2906
|
cta: z.ZodOptional<z.ZodObject<{
|
|
2440
2907
|
href: z.ZodString;
|
|
2441
|
-
label: z.ZodString
|
|
2908
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2442
2909
|
}, z.core.$strict>>;
|
|
2443
2910
|
featured: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2444
2911
|
href: z.ZodString;
|
|
2445
2912
|
icon: z.ZodOptional<z.ZodString>;
|
|
2446
|
-
label: z.ZodString
|
|
2913
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2447
2914
|
}, z.core.$strict>>>;
|
|
2448
2915
|
repo: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodURL]>>;
|
|
2449
2916
|
selectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2490,6 +2957,88 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2490
2957
|
path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2491
2958
|
}, z.core.$strict>>>;
|
|
2492
2959
|
}, z.core.$strict>>;
|
|
2960
|
+
rateLimit: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2961
|
+
kind: z.ZodLiteral<"cloudflare">;
|
|
2962
|
+
options: z.ZodObject<{
|
|
2963
|
+
namespaceId: z.ZodOptional<z.ZodString>;
|
|
2964
|
+
requests: z.ZodOptional<z.ZodNumber>;
|
|
2965
|
+
window: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<10>, z.ZodLiteral<60>]>>;
|
|
2966
|
+
}, z.core.$strict>;
|
|
2967
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
2968
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
2969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2970
|
+
kind: z.ZodLiteral<"memory">;
|
|
2971
|
+
options: z.ZodObject<{
|
|
2972
|
+
requests: z.ZodOptional<z.ZodNumber>;
|
|
2973
|
+
window: z.ZodOptional<z.ZodNumber>;
|
|
2974
|
+
}, z.core.$strict>;
|
|
2975
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
2976
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
2977
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2978
|
+
kind: z.ZodLiteral<"upstash">;
|
|
2979
|
+
options: z.ZodObject<{
|
|
2980
|
+
requests: z.ZodOptional<z.ZodNumber>;
|
|
2981
|
+
window: z.ZodOptional<z.ZodNumber>;
|
|
2982
|
+
tokenEnv: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
urlEnv: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
}, z.core.$strict>;
|
|
2985
|
+
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
2986
|
+
runtimeDeps: z.ZodArray<z.ZodString>;
|
|
2987
|
+
}, z.core.$strict>], "kind">]>>, z.ZodTransform<{
|
|
2988
|
+
kind: "cloudflare";
|
|
2989
|
+
options: {
|
|
2990
|
+
namespaceId?: string | undefined;
|
|
2991
|
+
requests?: number | undefined;
|
|
2992
|
+
window?: 10 | 60 | undefined;
|
|
2993
|
+
};
|
|
2994
|
+
requiredSecrets: string[];
|
|
2995
|
+
runtimeDeps: string[];
|
|
2996
|
+
} | {
|
|
2997
|
+
kind: "memory";
|
|
2998
|
+
options: {
|
|
2999
|
+
requests?: number | undefined;
|
|
3000
|
+
window?: number | undefined;
|
|
3001
|
+
};
|
|
3002
|
+
requiredSecrets: string[];
|
|
3003
|
+
runtimeDeps: string[];
|
|
3004
|
+
} | {
|
|
3005
|
+
kind: "upstash";
|
|
3006
|
+
options: {
|
|
3007
|
+
requests?: number | undefined;
|
|
3008
|
+
window?: number | undefined;
|
|
3009
|
+
tokenEnv?: string | undefined;
|
|
3010
|
+
urlEnv?: string | undefined;
|
|
3011
|
+
};
|
|
3012
|
+
requiredSecrets: string[];
|
|
3013
|
+
runtimeDeps: string[];
|
|
3014
|
+
} | null, false | {
|
|
3015
|
+
kind: "cloudflare";
|
|
3016
|
+
options: {
|
|
3017
|
+
namespaceId?: string | undefined;
|
|
3018
|
+
requests?: number | undefined;
|
|
3019
|
+
window?: 10 | 60 | undefined;
|
|
3020
|
+
};
|
|
3021
|
+
requiredSecrets: string[];
|
|
3022
|
+
runtimeDeps: string[];
|
|
3023
|
+
} | {
|
|
3024
|
+
kind: "memory";
|
|
3025
|
+
options: {
|
|
3026
|
+
requests?: number | undefined;
|
|
3027
|
+
window?: number | undefined;
|
|
3028
|
+
};
|
|
3029
|
+
requiredSecrets: string[];
|
|
3030
|
+
runtimeDeps: string[];
|
|
3031
|
+
} | {
|
|
3032
|
+
kind: "upstash";
|
|
3033
|
+
options: {
|
|
3034
|
+
requests?: number | undefined;
|
|
3035
|
+
window?: number | undefined;
|
|
3036
|
+
tokenEnv?: string | undefined;
|
|
3037
|
+
urlEnv?: string | undefined;
|
|
3038
|
+
};
|
|
3039
|
+
requiredSecrets: string[];
|
|
3040
|
+
runtimeDeps: string[];
|
|
3041
|
+
} | undefined>>;
|
|
2493
3042
|
react: z.ZodPrefault<z.ZodObject<{
|
|
2494
3043
|
compiler: z.ZodDefault<z.ZodBoolean>;
|
|
2495
3044
|
}, z.core.$strict>>;
|
|
@@ -2511,7 +3060,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2511
3060
|
seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
|
|
2512
3061
|
spec: z.ZodString;
|
|
2513
3062
|
}, z.core.$strict>>>;
|
|
2514
|
-
codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3063
|
+
codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
|
|
2515
3064
|
playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2516
3065
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2517
3066
|
proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
@@ -2535,14 +3084,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2535
3084
|
label?: string | undefined;
|
|
2536
3085
|
route?: string | undefined;
|
|
2537
3086
|
}[];
|
|
2538
|
-
codeSamples: string[];
|
|
3087
|
+
codeSamples: false | string[];
|
|
2539
3088
|
playground: {
|
|
2540
3089
|
enabled: boolean;
|
|
2541
3090
|
proxy: string | boolean;
|
|
2542
3091
|
};
|
|
2543
3092
|
route: string;
|
|
2544
3093
|
spec?: string | undefined;
|
|
2545
|
-
}, "spec">, {
|
|
3094
|
+
}, "spec" | "overlays">, {
|
|
2546
3095
|
expandSchemas: boolean;
|
|
2547
3096
|
sources: {
|
|
2548
3097
|
includeInLlms: boolean;
|
|
@@ -2553,7 +3102,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2553
3102
|
label?: string | undefined;
|
|
2554
3103
|
route?: string | undefined;
|
|
2555
3104
|
}[];
|
|
2556
|
-
codeSamples: string[];
|
|
3105
|
+
codeSamples: false | string[];
|
|
2557
3106
|
playground: {
|
|
2558
3107
|
enabled: boolean;
|
|
2559
3108
|
proxy: string | boolean;
|
|
@@ -2566,6 +3115,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2566
3115
|
}, z.core.$strict>, z.ZodObject<{
|
|
2567
3116
|
kind: z.ZodLiteral<"graphql">;
|
|
2568
3117
|
options: z.ZodPipe<z.ZodObject<{
|
|
3118
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3119
|
+
method: z.ZodEnum<{
|
|
3120
|
+
none: "none";
|
|
3121
|
+
key: "key";
|
|
3122
|
+
bearer: "bearer";
|
|
3123
|
+
basic: "basic";
|
|
3124
|
+
}>;
|
|
3125
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
}, z.core.$strict>>;
|
|
2569
3127
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
2570
3128
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2571
3129
|
includeInLlms: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2575,9 +3133,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2575
3133
|
route: z.ZodOptional<z.ZodString>;
|
|
2576
3134
|
seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
|
|
2577
3135
|
spec: z.ZodString;
|
|
3136
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3137
|
+
method: z.ZodEnum<{
|
|
3138
|
+
none: "none";
|
|
3139
|
+
key: "key";
|
|
3140
|
+
bearer: "bearer";
|
|
3141
|
+
basic: "basic";
|
|
3142
|
+
}>;
|
|
3143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
}, z.core.$strict>>;
|
|
2578
3145
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
2579
3146
|
}, z.core.$strict>>>;
|
|
2580
|
-
codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3147
|
+
codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
|
|
2581
3148
|
playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2582
3149
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2583
3150
|
proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
@@ -2599,17 +3166,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2599
3166
|
spec: string;
|
|
2600
3167
|
label?: string | undefined;
|
|
2601
3168
|
route?: string | undefined;
|
|
3169
|
+
auth?: {
|
|
3170
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3171
|
+
name?: string | undefined;
|
|
3172
|
+
} | undefined;
|
|
2602
3173
|
endpoint?: string | undefined;
|
|
2603
3174
|
}[];
|
|
2604
|
-
codeSamples: string[];
|
|
3175
|
+
codeSamples: false | string[];
|
|
2605
3176
|
playground: {
|
|
2606
3177
|
enabled: boolean;
|
|
2607
3178
|
proxy: string | boolean;
|
|
2608
3179
|
};
|
|
2609
3180
|
route: string;
|
|
3181
|
+
auth?: {
|
|
3182
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3183
|
+
name?: string | undefined;
|
|
3184
|
+
} | undefined;
|
|
2610
3185
|
endpoint?: string | undefined;
|
|
2611
3186
|
spec?: string | undefined;
|
|
2612
|
-
}, "spec">, {
|
|
3187
|
+
}, "spec" | "overlays">, {
|
|
2613
3188
|
sources: {
|
|
2614
3189
|
includeInLlms: boolean;
|
|
2615
3190
|
includeInSearch: boolean;
|
|
@@ -2618,14 +3193,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2618
3193
|
spec: string;
|
|
2619
3194
|
label?: string | undefined;
|
|
2620
3195
|
route?: string | undefined;
|
|
3196
|
+
auth?: {
|
|
3197
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3198
|
+
name?: string | undefined;
|
|
3199
|
+
} | undefined;
|
|
2621
3200
|
endpoint?: string | undefined;
|
|
2622
3201
|
}[];
|
|
2623
|
-
codeSamples: string[];
|
|
3202
|
+
codeSamples: false | string[];
|
|
2624
3203
|
playground: {
|
|
2625
3204
|
enabled: boolean;
|
|
2626
3205
|
proxy: string | boolean;
|
|
2627
3206
|
};
|
|
2628
3207
|
route: string;
|
|
3208
|
+
auth?: {
|
|
3209
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3210
|
+
name?: string | undefined;
|
|
3211
|
+
} | undefined;
|
|
2629
3212
|
endpoint?: string | undefined;
|
|
2630
3213
|
spec?: string | undefined;
|
|
2631
3214
|
}>>;
|
|
@@ -2635,6 +3218,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2635
3218
|
kind: z.ZodLiteral<"openapi">;
|
|
2636
3219
|
options: z.ZodPipe<z.ZodObject<{
|
|
2637
3220
|
expandSchemas: z.ZodDefault<z.ZodBoolean>;
|
|
3221
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2638
3222
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2639
3223
|
includeInLlms: z.ZodDefault<z.ZodBoolean>;
|
|
2640
3224
|
includeInSearch: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2643,8 +3227,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2643
3227
|
route: z.ZodOptional<z.ZodString>;
|
|
2644
3228
|
seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
|
|
2645
3229
|
spec: z.ZodString;
|
|
3230
|
+
overlays: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2646
3231
|
}, z.core.$strict>>>;
|
|
2647
|
-
codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3232
|
+
codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
|
|
2648
3233
|
playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2649
3234
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2650
3235
|
proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
@@ -2665,17 +3250,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2665
3250
|
noindex: boolean;
|
|
2666
3251
|
seoDescriptionSuffix: boolean;
|
|
2667
3252
|
spec: string;
|
|
3253
|
+
overlays: string[];
|
|
2668
3254
|
label?: string | undefined;
|
|
2669
3255
|
route?: string | undefined;
|
|
2670
3256
|
}[];
|
|
2671
|
-
codeSamples: string[];
|
|
3257
|
+
codeSamples: false | string[];
|
|
2672
3258
|
playground: {
|
|
2673
3259
|
enabled: boolean;
|
|
2674
3260
|
proxy: string | boolean;
|
|
2675
3261
|
};
|
|
2676
3262
|
route: string;
|
|
3263
|
+
overlays?: string[] | undefined;
|
|
2677
3264
|
spec?: string | undefined;
|
|
2678
|
-
}, "spec">, {
|
|
3265
|
+
}, "spec" | "overlays">, {
|
|
2679
3266
|
expandSchemas: boolean;
|
|
2680
3267
|
sources: {
|
|
2681
3268
|
includeInLlms: boolean;
|
|
@@ -2683,15 +3270,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2683
3270
|
noindex: boolean;
|
|
2684
3271
|
seoDescriptionSuffix: boolean;
|
|
2685
3272
|
spec: string;
|
|
3273
|
+
overlays: string[];
|
|
2686
3274
|
label?: string | undefined;
|
|
2687
3275
|
route?: string | undefined;
|
|
2688
3276
|
}[];
|
|
2689
|
-
codeSamples: string[];
|
|
3277
|
+
codeSamples: false | string[];
|
|
2690
3278
|
playground: {
|
|
2691
3279
|
enabled: boolean;
|
|
2692
3280
|
proxy: string | boolean;
|
|
2693
3281
|
};
|
|
2694
3282
|
route: string;
|
|
3283
|
+
overlays?: string[] | undefined;
|
|
2695
3284
|
spec?: string | undefined;
|
|
2696
3285
|
}>>;
|
|
2697
3286
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -2699,10 +3288,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2699
3288
|
}, z.core.$strict>, z.ZodObject<{
|
|
2700
3289
|
kind: z.ZodLiteral<"scalar">;
|
|
2701
3290
|
options: z.ZodPipe<z.ZodObject<{
|
|
3291
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2702
3292
|
route: z.ZodDefault<z.ZodString>;
|
|
2703
3293
|
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2704
3294
|
label: z.ZodOptional<z.ZodString>;
|
|
2705
3295
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
3296
|
+
overlays: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2706
3297
|
route: z.ZodOptional<z.ZodString>;
|
|
2707
3298
|
spec: z.ZodString;
|
|
2708
3299
|
}, z.core.$strict>>>;
|
|
@@ -2713,10 +3304,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2713
3304
|
route: string;
|
|
2714
3305
|
sources: {
|
|
2715
3306
|
noindex: boolean;
|
|
3307
|
+
overlays: string[];
|
|
2716
3308
|
spec: string;
|
|
2717
3309
|
label?: string | undefined;
|
|
2718
3310
|
route?: string | undefined;
|
|
2719
3311
|
}[];
|
|
3312
|
+
overlays?: string[] | undefined;
|
|
2720
3313
|
spec?: string | undefined;
|
|
2721
3314
|
theme?: string | undefined;
|
|
2722
3315
|
}>>;
|
|
@@ -2740,14 +3333,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2740
3333
|
label?: string | undefined;
|
|
2741
3334
|
route?: string | undefined;
|
|
2742
3335
|
}[];
|
|
2743
|
-
codeSamples: string[];
|
|
3336
|
+
codeSamples: false | string[];
|
|
2744
3337
|
playground: {
|
|
2745
3338
|
enabled: boolean;
|
|
2746
3339
|
proxy: string | boolean;
|
|
2747
3340
|
};
|
|
2748
3341
|
route: string;
|
|
2749
3342
|
spec?: string | undefined;
|
|
2750
|
-
}, "spec">;
|
|
3343
|
+
}, "spec" | "overlays">;
|
|
2751
3344
|
requiredSecrets: string[];
|
|
2752
3345
|
runtimeDeps: string[];
|
|
2753
3346
|
} | {
|
|
@@ -2761,17 +3354,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2761
3354
|
spec: string;
|
|
2762
3355
|
label?: string | undefined;
|
|
2763
3356
|
route?: string | undefined;
|
|
3357
|
+
auth?: {
|
|
3358
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3359
|
+
name?: string | undefined;
|
|
3360
|
+
} | undefined;
|
|
2764
3361
|
endpoint?: string | undefined;
|
|
2765
3362
|
}[];
|
|
2766
|
-
codeSamples: string[];
|
|
3363
|
+
codeSamples: false | string[];
|
|
2767
3364
|
playground: {
|
|
2768
3365
|
enabled: boolean;
|
|
2769
3366
|
proxy: string | boolean;
|
|
2770
3367
|
};
|
|
2771
3368
|
route: string;
|
|
3369
|
+
auth?: {
|
|
3370
|
+
method: "none" | "key" | "bearer" | "basic";
|
|
3371
|
+
name?: string | undefined;
|
|
3372
|
+
} | undefined;
|
|
2772
3373
|
endpoint?: string | undefined;
|
|
2773
3374
|
spec?: string | undefined;
|
|
2774
|
-
}, "spec">;
|
|
3375
|
+
}, "spec" | "overlays">;
|
|
2775
3376
|
requiredSecrets: string[];
|
|
2776
3377
|
runtimeDeps: string[];
|
|
2777
3378
|
} | {
|
|
@@ -2784,21 +3385,26 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2784
3385
|
noindex: boolean;
|
|
2785
3386
|
seoDescriptionSuffix: boolean;
|
|
2786
3387
|
spec: string;
|
|
3388
|
+
overlays: string[];
|
|
2787
3389
|
label?: string | undefined;
|
|
2788
3390
|
route?: string | undefined;
|
|
2789
3391
|
}[];
|
|
2790
|
-
codeSamples: string[];
|
|
3392
|
+
codeSamples: false | string[];
|
|
2791
3393
|
playground: {
|
|
2792
3394
|
enabled: boolean;
|
|
2793
3395
|
proxy: string | boolean;
|
|
2794
3396
|
};
|
|
2795
3397
|
route: string;
|
|
3398
|
+
overlays?: string[] | undefined;
|
|
2796
3399
|
spec?: string | undefined;
|
|
2797
|
-
}, "spec">;
|
|
3400
|
+
}, "spec" | "overlays">;
|
|
2798
3401
|
requiredSecrets: string[];
|
|
2799
3402
|
runtimeDeps: string[];
|
|
2800
3403
|
}>>>>;
|
|
2801
3404
|
search: z.ZodPrefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<SearchConfigInput, SearchConfigInput>, z.ZodTransform<{
|
|
3405
|
+
analytics?: {
|
|
3406
|
+
queries?: boolean | undefined;
|
|
3407
|
+
} | undefined;
|
|
2802
3408
|
indexing?: {
|
|
2803
3409
|
includeCodeBlocks?: boolean | undefined;
|
|
2804
3410
|
includeHiddenPages?: boolean | undefined;
|
|
@@ -2810,6 +3416,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2810
3416
|
}[] | undefined;
|
|
2811
3417
|
provider?: false | SearchAdapterInput | undefined;
|
|
2812
3418
|
}, SearchConfigInput>>, z.ZodObject<{
|
|
3419
|
+
analytics: z.ZodPrefault<z.ZodObject<{
|
|
3420
|
+
queries: z.ZodDefault<z.ZodBoolean>;
|
|
3421
|
+
}, z.core.$strict>>;
|
|
2813
3422
|
indexing: z.ZodPrefault<z.ZodObject<{
|
|
2814
3423
|
includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
|
|
2815
3424
|
includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2875,6 +3484,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2875
3484
|
apiKey: string;
|
|
2876
3485
|
collection: string;
|
|
2877
3486
|
host: string;
|
|
3487
|
+
locale?: string | undefined;
|
|
2878
3488
|
port?: number | undefined;
|
|
2879
3489
|
protocol?: "http" | "https" | undefined;
|
|
2880
3490
|
};
|
|
@@ -2933,6 +3543,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
2933
3543
|
apiKey: z.ZodString;
|
|
2934
3544
|
collection: z.ZodString;
|
|
2935
3545
|
host: z.ZodString;
|
|
3546
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
2936
3547
|
port: z.ZodOptional<z.ZodNumber>;
|
|
2937
3548
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
2938
3549
|
http: "http";
|
|
@@ -3004,6 +3615,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3004
3615
|
apiKey: string;
|
|
3005
3616
|
collection: string;
|
|
3006
3617
|
host: string;
|
|
3618
|
+
locale?: string | undefined;
|
|
3007
3619
|
port?: number | undefined;
|
|
3008
3620
|
protocol?: "http" | "https" | undefined;
|
|
3009
3621
|
};
|
|
@@ -3019,6 +3631,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3019
3631
|
}>>>>;
|
|
3020
3632
|
}, z.core.$strict>>>;
|
|
3021
3633
|
seo: z.ZodPrefault<z.ZodObject<{
|
|
3634
|
+
metatags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3022
3635
|
og: z.ZodDefault<z.ZodObject<{
|
|
3023
3636
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
3024
3637
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3266,6 +3879,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
|
|
|
3266
3879
|
maxHeadingLevel?: number | undefined;
|
|
3267
3880
|
minHeadingLevel?: number | undefined;
|
|
3268
3881
|
}>>;
|
|
3882
|
+
variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3269
3883
|
versions: z.ZodOptional<z.ZodObject<{
|
|
3270
3884
|
archived: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3271
3885
|
banner: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|