blume 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +110 -0
- 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-43zcf4gz.js → chunk-0pmb4tr4.js} +541 -368
- package/dist/cli/chunk-0pmb4tr4.js.map +35 -0
- package/dist/cli/{chunk-9geymqns.js → chunk-0w6hs479.js} +15 -15
- package/dist/cli/{chunk-xkz5xbtv.js → chunk-124fvmzq.js} +2802 -1422
- package/dist/cli/chunk-124fvmzq.js.map +220 -0
- package/dist/cli/chunk-150jk7km.js +52 -0
- package/dist/cli/chunk-150jk7km.js.map +10 -0
- package/dist/cli/{chunk-y4ykbark.js → chunk-1f882900.js} +2 -2
- package/dist/cli/{chunk-5ffywsmb.js → chunk-297ajdcv.js} +8 -6
- package/dist/cli/{chunk-5ffywsmb.js.map → chunk-297ajdcv.js.map} +3 -3
- package/dist/cli/{chunk-h2a48yhd.js → chunk-32khwcb6.js} +120 -16
- package/dist/cli/{chunk-h2a48yhd.js.map → chunk-32khwcb6.js.map} +10 -10
- package/dist/cli/{chunk-5cg2rzgf.js → chunk-36bxs9c7.js} +20 -49
- package/dist/cli/{chunk-5cg2rzgf.js.map → chunk-36bxs9c7.js.map} +4 -5
- package/dist/cli/{chunk-py62fewh.js → chunk-53jqw8z0.js} +3 -3
- package/dist/cli/{chunk-5wj2qwn2.js → chunk-58bt3hag.js} +4 -4
- package/dist/cli/{chunk-e7vvk5ya.js → chunk-5cmts6dv.js} +3 -3
- package/dist/cli/{chunk-y5h4r2y0.js → chunk-60hz265r.js} +15 -5
- package/dist/cli/chunk-60hz265r.js.map +10 -0
- package/dist/cli/chunk-74wfhv79.js +65 -0
- package/dist/cli/chunk-74wfhv79.js.map +10 -0
- package/dist/cli/{chunk-g2z9x01v.js → chunk-9qzgg6mj.js} +3 -3
- package/dist/cli/{chunk-q3wxxq39.js → chunk-a57yh0h9.js} +5 -5
- package/dist/cli/{chunk-713mngdq.js → chunk-ave1wcbr.js} +76 -10
- package/dist/cli/chunk-ave1wcbr.js.map +14 -0
- package/dist/cli/{chunk-2n4ps1b3.js → chunk-bqxaqn5p.js} +40 -22
- package/dist/cli/chunk-bqxaqn5p.js.map +15 -0
- package/dist/cli/{chunk-jnwj5kjj.js → chunk-bxwhtvw8.js} +20 -7
- package/dist/cli/{chunk-jnwj5kjj.js.map → chunk-bxwhtvw8.js.map} +3 -3
- package/dist/cli/chunk-ckrcm08h.js +324 -0
- package/dist/cli/chunk-ckrcm08h.js.map +14 -0
- package/dist/cli/{chunk-2f3ndkpw.js → chunk-desvm72z.js} +3 -3
- package/dist/cli/{chunk-gp84za0h.js → chunk-dhwtqnnd.js} +2 -2
- package/dist/cli/{chunk-4h8z9vv5.js → chunk-dpy8qdjf.js} +93 -47
- package/dist/cli/chunk-dpy8qdjf.js.map +17 -0
- package/dist/cli/{chunk-2f7n4qzt.js → chunk-dqhg54mr.js} +1 -1
- package/dist/cli/{chunk-0gz36akr.js → chunk-dv2z0rzf.js} +21 -5
- package/dist/cli/chunk-dv2z0rzf.js.map +12 -0
- package/dist/cli/{chunk-cm89scdv.js → chunk-es8h0v3j.js} +9 -11
- package/dist/cli/{chunk-cm89scdv.js.map → chunk-es8h0v3j.js.map} +3 -3
- package/dist/cli/{chunk-zhvd6adm.js → chunk-gfc5fqvf.js} +14 -14
- package/dist/cli/{chunk-nd1821sk.js → chunk-gxtg6ed2.js} +33 -19
- package/dist/cli/chunk-gxtg6ed2.js.map +10 -0
- package/dist/cli/{chunk-p804f3pe.js → chunk-hvcxng5f.js} +6 -6
- package/dist/cli/{chunk-ta27feev.js → chunk-j1x92mx9.js} +21 -2
- package/dist/cli/chunk-j1x92mx9.js.map +10 -0
- package/dist/cli/{chunk-rekqz4qg.js → chunk-k3gr1nm9.js} +19 -16
- package/dist/cli/chunk-k3gr1nm9.js.map +10 -0
- package/dist/cli/{chunk-1n228xqb.js → chunk-kdpzw38a.js} +2 -2
- package/dist/cli/{chunk-cy5bm0j0.js → chunk-ms9z66nz.js} +2 -2
- package/dist/cli/{chunk-cy5bm0j0.js.map → chunk-ms9z66nz.js.map} +2 -2
- package/dist/cli/{chunk-zf748avv.js → chunk-nbyvgnnm.js} +193 -286
- package/dist/cli/chunk-nbyvgnnm.js.map +36 -0
- package/dist/cli/{chunk-6bm0xpgd.js → chunk-s0bdnc7v.js} +2 -2
- package/dist/cli/{chunk-yxmk4pec.js → chunk-sc93apfs.js} +17 -16
- package/dist/cli/{chunk-yxmk4pec.js.map → chunk-sc93apfs.js.map} +3 -3
- package/dist/cli/{chunk-cmtcnh9f.js → chunk-tfycddbt.js} +2 -2
- package/dist/cli/{chunk-9xr4dgee.js → chunk-twy7psdz.js} +29 -16
- package/dist/cli/chunk-twy7psdz.js.map +10 -0
- package/dist/cli/{chunk-ntv4qrt7.js → chunk-y4msrwm9.js} +15 -15
- package/dist/cli/{chunk-yj17vs39.js → chunk-ydp3065p.js} +5 -5
- package/dist/cli/index.js +24 -19
- package/dist/cli/index.js.map +3 -3
- package/dist/types/ai/ask-context.d.ts +6 -2
- package/dist/types/ai/ask.d.ts +24 -5
- package/dist/types/ai/component-markdown.d.ts +2 -0
- package/dist/types/ai/openapi-components.d.ts +4 -1
- package/dist/types/analytics/clics.d.ts +37 -0
- package/dist/types/analytics/index.d.ts +2 -0
- package/dist/types/analytics/schema.d.ts +18 -0
- package/dist/types/astro/integration.d.ts +11 -4
- package/dist/types/astro/markdown-negotiation.d.ts +3 -0
- package/dist/types/astro/pages.d.ts +10 -0
- package/dist/types/cli/init/scaffold.d.ts +1 -1
- package/dist/types/components/content/api-field.d.ts +4 -1
- package/dist/types/components/content/api-page.d.ts +6 -1
- package/dist/types/components/openapi/code-samples.d.ts +29 -0
- package/dist/types/components/openapi/helpers.d.ts +22 -1
- package/dist/types/components/openapi/security.d.ts +10 -0
- package/dist/types/components/openapi/snippets.d.ts +60 -0
- package/dist/types/core/changelog-index.d.ts +8 -0
- package/dist/types/core/config-input.d.ts +37 -6
- package/dist/types/core/data.d.ts +4 -0
- package/dist/types/core/i18n-ui.d.ts +2 -0
- package/dist/types/core/links.d.ts +8 -0
- package/dist/types/core/powered-by.d.ts +12 -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 +11 -3
- package/dist/types/core/schema.d.ts +228 -3
- 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/lower.d.ts +10 -2
- package/dist/types/core/sources/normalize.d.ts +20 -1
- package/dist/types/core/sources/notion.d.ts +8 -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 +17 -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/cloudflare-negotiation.d.ts +5 -2
- package/dist/types/deploy/node-headers.d.ts +12 -4
- package/dist/types/deploy/platforms/cloudflare.d.ts +10 -7
- 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 +21 -2
- package/dist/types/deploy/redirects.d.ts +17 -1
- package/dist/types/deploy/sitemap.d.ts +2 -1
- package/dist/types/deploy/vercel-negotiation.d.ts +44 -21
- package/dist/types/narration/build.d.ts +34 -12
- package/dist/types/narration/provider.d.ts +96 -8
- 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 +15 -4
- package/dist/types/openapi/parse.d.ts +3 -0
- package/dist/types/openapi/references.d.ts +16 -0
- package/dist/types/openapi/sentence.d.ts +11 -1
- package/dist/types/ratelimit/index.d.ts +1 -1
- package/dist/types/ratelimit/schema.d.ts +8 -0
- package/dist/types/ratelimit/upstash.d.ts +39 -14
- package/dist/types/reference/graphql.d.ts +76 -1
- package/dist/types/reference/index.d.ts +1 -1
- package/dist/types/reference/openapi.d.ts +2 -2
- package/dist/types/reference/options.d.ts +37 -1
- package/dist/types/reference/schema.d.ts +84 -0
- 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/orama-index.d.ts +9 -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/jsonld.d.ts +11 -6
- package/dist/types/sources/contentful.d.ts +16 -0
- package/dist/types/sources/github-releases.d.ts +8 -1
- package/dist/types/sources/notion.d.ts +8 -0
- package/dist/types/sources/payload.d.ts +2 -0
- package/dist/types/sources/registry.d.ts +63 -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 +59 -13
- package/docs/03-upgrading.mdx +2 -1
- package/docs/04-migrating.mdx +9 -9
- package/docs/08-faq.mdx +12 -12
- package/docs/advanced/changelog.mdx +30 -2
- package/docs/advanced/custom-pages.mdx +1 -1
- package/docs/advanced/skills.mdx +1 -1
- package/docs/cli/audit.mdx +30 -7
- package/docs/cli/doctor.mdx +6 -2
- package/docs/cli/evals.mdx +4 -4
- package/docs/cli/translate.mdx +1 -0
- package/docs/cli/validate.mdx +4 -3
- package/docs/configuration/analytics.mdx +19 -1
- package/docs/configuration/assistant.mdx +6 -2
- package/docs/configuration/customization.mdx +4 -2
- package/docs/configuration/export.mdx +5 -3
- package/docs/configuration/index.mdx +4 -2
- package/docs/configuration/narration.mdx +43 -6
- package/docs/configuration/rate-limiting.mdx +23 -2
- package/docs/configuration/search.mdx +37 -14
- package/docs/content/components.mdx +2 -2
- package/docs/content/frontmatter.mdx +5 -3
- package/docs/content/i18n.mdx +2 -2
- package/docs/content/includes.mdx +1 -1
- package/docs/content/navigation.mdx +8 -6
- package/docs/content/sources/contentful.mdx +9 -4
- package/docs/content/sources/custom.mdx +7 -3
- package/docs/content/sources/github-releases.mdx +12 -2
- package/docs/content/sources/index.mdx +3 -3
- package/docs/content/sources/notion.mdx +17 -2
- package/docs/content/sources/obsidian.mdx +3 -1
- package/docs/content/sources/payload.mdx +5 -2
- package/docs/content/sources/remote-mdx.mdx +6 -0
- package/docs/content/sources/sanity.mdx +4 -2
- package/docs/content/sources/strapi.mdx +5 -2
- package/docs/content/syntax.mdx +2 -2
- package/docs/discoverability/agent-discovery.mdx +1 -1
- package/docs/discoverability/index.mdx +1 -1
- package/docs/discoverability/json-api.mdx +2 -0
- package/docs/discoverability/llms-txt.mdx +1 -1
- package/docs/discoverability/markdown.mdx +3 -1
- package/docs/discoverability/mcp.mdx +6 -0
- package/docs/discoverability/sitemap-and-robots.mdx +1 -1
- package/docs/discoverability/structured-data.mdx +8 -6
- package/docs/references/api-pages.mdx +1 -1
- package/docs/references/asyncapi.mdx +5 -1
- package/docs/references/graphql.mdx +15 -1
- package/docs/references/openapi.mdx +64 -8
- package/package.json +9 -9
- package/skills/blume/SKILL.md +1 -1
- package/skills/blume-migrate/SKILL.md +2 -2
- package/skills/blume-migrate/assets/{oxfmt@0.67.0.patch → oxfmt@0.71.0.patch} +7 -7
- package/skills/blume-migrate/references/docusaurus.md +4 -4
- package/skills/blume-migrate/references/fumadocs.md +17 -13
- package/skills/blume-migrate/references/monorepo.md +5 -5
- package/skills/blume-migrate/references/nextra.md +8 -5
- package/skills/blume-migrate/references/starlight.md +9 -7
- package/src/ai/ask-context.ts +33 -3
- package/src/ai/ask-limits.ts +13 -0
- package/src/ai/ask.ts +24 -6
- package/src/ai/changelog-markdown.ts +11 -6
- package/src/ai/component-markdown.ts +1 -1
- package/src/ai/cors.ts +12 -3
- package/src/ai/mcp/query.ts +14 -6
- package/src/ai/openapi-components.ts +28 -4
- package/src/ai/relative-links.ts +4 -38
- package/src/analytics/clics.ts +58 -0
- package/src/analytics/head.ts +5 -0
- package/src/analytics/index.ts +2 -0
- package/src/analytics/schema.ts +2 -0
- package/src/astro/generate.ts +91 -56
- package/src/astro/integration.ts +72 -22
- package/src/astro/markdown-negotiation.ts +3 -0
- package/src/astro/module-types.ts +3 -1
- package/src/astro/pages.ts +23 -0
- package/src/astro/render-deps.ts +10 -5
- package/src/astro/runtime-deps.ts +23 -2
- package/src/astro/templates.ts +129 -81
- package/src/audit/catalog.ts +19 -3
- package/src/audit/checks/links.ts +14 -1
- 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/run.ts +3 -0
- package/src/audit/types.ts +2 -0
- package/src/audit/url.ts +14 -5
- package/src/blume-modules.d.ts +5 -1
- package/src/cli/args.ts +51 -0
- package/src/cli/build-failure.ts +23 -0
- package/src/cli/commands/audit.ts +10 -1
- package/src/cli/commands/dev.ts +18 -2
- package/src/cli/commands/doctor.ts +45 -12
- package/src/cli/commands/eval.ts +36 -4
- package/src/cli/commands/init.ts +6 -4
- package/src/cli/commands/validate.ts +10 -1
- package/src/cli/init/scaffold.ts +9 -6
- package/src/cli/prepare.ts +6 -3
- package/src/cli/required-secrets.ts +3 -2
- package/src/components/content/ApiPlayground.astro +6 -2
- package/src/components/content/api-field.ts +4 -1
- package/src/components/content/api-page.ts +31 -7
- package/src/components/content/mermaid-element.ts +15 -1
- package/src/components/content/view-switcher.ts +7 -4
- package/src/components/islands/hooks.ts +27 -1
- package/src/components/layout/NavTree.astro +49 -5
- package/src/components/layout/NavTreeScript.astro +18 -0
- package/src/components/layout/PageActions.astro +139 -24
- package/src/components/layout/PageLayout.astro +13 -3
- package/src/components/layout/RootLayout.astro +27 -14
- package/src/components/layout/Search.astro +17 -3
- package/src/components/layout/TableOfContents.astro +24 -17
- package/src/components/layout/analytics-client.ts +8 -8
- package/src/components/layout/head-scripts.ts +6 -1
- package/src/components/layout/search/algolia.ts +10 -1
- package/src/components/layout/search/analytics.ts +42 -14
- package/src/components/layout/search/endpoint.ts +48 -5
- package/src/components/layout/search/pagefind.ts +114 -5
- package/src/components/layout/search/types.ts +12 -0
- package/src/components/layout/search/typesense.ts +18 -6
- 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 +24 -1
- package/src/components/openapi/ParametersTable.astro +8 -4
- package/src/components/openapi/Playground.astro +7 -1
- package/src/components/openapi/RequestBody.astro +19 -2
- package/src/components/openapi/Responses.astro +1 -0
- package/src/components/openapi/SchemaTable.astro +15 -3
- package/src/components/openapi/async-snippets.ts +61 -5
- package/src/components/openapi/async.ts +123 -29
- 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 +77 -58
- package/src/components/openapi/playground-schema.ts +1 -1
- package/src/components/openapi/schema-tree.ts +44 -14
- package/src/components/openapi/security.ts +10 -0
- package/src/components/openapi/snippets.ts +5 -3
- package/src/components/openapi/validate-json.ts +4 -3
- package/src/components/powered-by-middleware.ts +33 -0
- package/src/core/changelog-index.ts +31 -1
- package/src/core/component-diagnostics.ts +53 -0
- package/src/core/component-overrides.ts +32 -0
- package/src/core/config-input.ts +42 -6
- package/src/core/data.ts +2 -0
- package/src/core/diagnostics.ts +5 -0
- package/src/core/i18n-ui.ts +2 -0
- package/src/core/includes.ts +1 -1
- package/src/core/links.ts +47 -17
- package/src/core/powered-by.ts +12 -0
- package/src/core/probe.ts +26 -6
- package/src/core/project-graph.ts +59 -18
- package/src/core/redirect-patterns.ts +36 -7
- package/src/core/schema.ts +26 -6
- 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/lower.ts +19 -3
- package/src/core/sources/mdx-remote.ts +62 -10
- package/src/core/sources/normalize.ts +227 -41
- package/src/core/sources/notion.ts +34 -10
- package/src/core/sources/obsidian.ts +16 -3
- package/src/core/sources/payload.ts +38 -15
- 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 +18 -0
- package/src/core/ui-packs/ar.ts +1 -0
- package/src/core/ui-packs/bg.ts +1 -0
- package/src/core/ui-packs/bn.ts +1 -0
- package/src/core/ui-packs/ca.ts +1 -0
- package/src/core/ui-packs/cs.ts +1 -0
- package/src/core/ui-packs/da.ts +1 -0
- package/src/core/ui-packs/de.ts +1 -0
- package/src/core/ui-packs/el.ts +1 -0
- package/src/core/ui-packs/es.ts +1 -0
- package/src/core/ui-packs/fa.ts +1 -0
- package/src/core/ui-packs/fi.ts +1 -0
- package/src/core/ui-packs/fr.ts +1 -0
- package/src/core/ui-packs/he.ts +1 -0
- package/src/core/ui-packs/hi.ts +1 -0
- package/src/core/ui-packs/hr.ts +1 -0
- package/src/core/ui-packs/hu.ts +1 -0
- package/src/core/ui-packs/id.ts +1 -0
- package/src/core/ui-packs/it.ts +1 -0
- package/src/core/ui-packs/ja.ts +1 -0
- package/src/core/ui-packs/ko.ts +1 -0
- package/src/core/ui-packs/nl.ts +1 -0
- package/src/core/ui-packs/no.ts +1 -0
- package/src/core/ui-packs/pl.ts +1 -0
- package/src/core/ui-packs/pt-br.ts +1 -0
- package/src/core/ui-packs/pt.ts +1 -0
- package/src/core/ui-packs/ro.ts +1 -0
- package/src/core/ui-packs/ru.ts +1 -0
- package/src/core/ui-packs/sk.ts +1 -0
- package/src/core/ui-packs/sr.ts +1 -0
- package/src/core/ui-packs/sv.ts +1 -0
- package/src/core/ui-packs/th.ts +1 -0
- package/src/core/ui-packs/tr.ts +1 -0
- package/src/core/ui-packs/uk.ts +1 -0
- package/src/core/ui-packs/vi.ts +1 -0
- package/src/core/ui-packs/zh-tw.ts +1 -0
- package/src/core/ui-packs/zh.ts +1 -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 +2 -1
- package/src/deploy/cloudflare-negotiation.ts +36 -7
- package/src/deploy/headers.ts +15 -1
- package/src/deploy/node-headers.ts +32 -20
- package/src/deploy/platforms/cloudflare.ts +14 -9
- package/src/deploy/platforms/netlify.ts +2 -1
- package/src/deploy/platforms/node.ts +12 -2
- package/src/deploy/platforms/types.ts +21 -7
- package/src/deploy/platforms/vercel.ts +115 -17
- package/src/deploy/redirects.ts +66 -6
- package/src/deploy/rss.ts +3 -1
- package/src/deploy/sitemap.ts +39 -5
- package/src/deploy/vercel-negotiation.ts +325 -103
- 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/base-links.ts +15 -14
- package/src/markdown/package-commands.ts +9 -8
- package/src/markdown/relative-links.ts +3 -2
- package/src/narration/build.ts +218 -40
- package/src/narration/provider.ts +89 -9
- 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 +15 -3
- package/src/openapi/parse.ts +127 -2
- package/src/openapi/references.ts +43 -3
- package/src/openapi/render-mdx.ts +68 -8
- package/src/openapi/sentence.ts +29 -2
- package/src/openapi/source.ts +39 -14
- package/src/ratelimit/index.ts +1 -1
- package/src/ratelimit/runtime.ts +37 -19
- package/src/ratelimit/upstash.ts +40 -10
- package/src/reference/graphql.ts +15 -1
- package/src/reference/index.ts +1 -0
- package/src/reference/openapi.ts +2 -2
- package/src/reference/options.ts +29 -1
- package/src/registry/eject.ts +8 -2
- 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/orama-index.ts +163 -31
- package/src/search/source-pages.ts +29 -0
- package/src/search/sync/algolia.ts +99 -9
- package/src/search/sync/index.ts +52 -13
- package/src/search/sync/typesense.ts +72 -27
- package/src/seo/jsonld.ts +38 -20
- package/src/sources/contentful.ts +12 -0
- package/src/sources/github-releases.ts +7 -1
- package/src/sources/notion.ts +7 -0
- package/src/sources/shared.ts +3 -0
- package/src/theme/color.ts +9 -10
- package/src/theme/entry.ts +43 -6
- package/src/translate/validate.ts +23 -1
- package/dist/cli/chunk-0gz36akr.js.map +0 -12
- package/dist/cli/chunk-2n4ps1b3.js.map +0 -15
- package/dist/cli/chunk-43zcf4gz.js.map +0 -36
- package/dist/cli/chunk-4ejxbzee.js +0 -39
- package/dist/cli/chunk-4ejxbzee.js.map +0 -10
- package/dist/cli/chunk-4h8z9vv5.js.map +0 -16
- package/dist/cli/chunk-713mngdq.js.map +0 -14
- package/dist/cli/chunk-9xr4dgee.js.map +0 -10
- package/dist/cli/chunk-amrb6hgh.js +0 -145
- package/dist/cli/chunk-amrb6hgh.js.map +0 -11
- package/dist/cli/chunk-nd1821sk.js.map +0 -10
- package/dist/cli/chunk-rekqz4qg.js.map +0 -10
- package/dist/cli/chunk-ta27feev.js.map +0 -10
- package/dist/cli/chunk-xkz5xbtv.js.map +0 -213
- package/dist/cli/chunk-y5h4r2y0.js.map +0 -10
- package/dist/cli/chunk-zf748avv.js.map +0 -37
- /package/dist/cli/{chunk-9geymqns.js.map → chunk-0w6hs479.js.map} +0 -0
- /package/dist/cli/{chunk-y4ykbark.js.map → chunk-1f882900.js.map} +0 -0
- /package/dist/cli/{chunk-py62fewh.js.map → chunk-53jqw8z0.js.map} +0 -0
- /package/dist/cli/{chunk-5wj2qwn2.js.map → chunk-58bt3hag.js.map} +0 -0
- /package/dist/cli/{chunk-e7vvk5ya.js.map → chunk-5cmts6dv.js.map} +0 -0
- /package/dist/cli/{chunk-g2z9x01v.js.map → chunk-9qzgg6mj.js.map} +0 -0
- /package/dist/cli/{chunk-q3wxxq39.js.map → chunk-a57yh0h9.js.map} +0 -0
- /package/dist/cli/{chunk-2f3ndkpw.js.map → chunk-desvm72z.js.map} +0 -0
- /package/dist/cli/{chunk-gp84za0h.js.map → chunk-dhwtqnnd.js.map} +0 -0
- /package/dist/cli/{chunk-2f7n4qzt.js.map → chunk-dqhg54mr.js.map} +0 -0
- /package/dist/cli/{chunk-zhvd6adm.js.map → chunk-gfc5fqvf.js.map} +0 -0
- /package/dist/cli/{chunk-p804f3pe.js.map → chunk-hvcxng5f.js.map} +0 -0
- /package/dist/cli/{chunk-1n228xqb.js.map → chunk-kdpzw38a.js.map} +0 -0
- /package/dist/cli/{chunk-6bm0xpgd.js.map → chunk-s0bdnc7v.js.map} +0 -0
- /package/dist/cli/{chunk-cmtcnh9f.js.map → chunk-tfycddbt.js.map} +0 -0
- /package/dist/cli/{chunk-ntv4qrt7.js.map → chunk-y4msrwm9.js.map} +0 -0
- /package/dist/cli/{chunk-yj17vs39.js.map → chunk-ydp3065p.js.map} +0 -0
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type { TypesenseOptions } from "../adapters/typesense.ts";
|
|
2
2
|
import type { SearchRecord } from "../documents.ts";
|
|
3
3
|
/** The adapter options the sync reads (the public `apiKey` is never used). */
|
|
4
|
-
export type TypesenseSyncConfig = Pick<TypesenseOptions, "collection" | "host" | "port" | "protocol">;
|
|
4
|
+
export type TypesenseSyncConfig = Pick<TypesenseOptions, "collection" | "host" | "locale" | "port" | "protocol">;
|
|
5
5
|
/**
|
|
6
|
-
* Import the search records into
|
|
7
|
-
*
|
|
8
|
-
* warn.
|
|
6
|
+
* Import the search records into Typesense. Uses the admin key from
|
|
7
|
+
* `TYPESENSE_ADMIN_API_KEY`. Throws on a missing key so the caller can warn.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* `collection` names an alias. Each sync imports every record into a new
|
|
10
|
+
* collection (`<collection>_<timestamp>`), points the alias at it, then drops
|
|
11
|
+
* the collection it replaced: searches keep reading the previous collection
|
|
12
|
+
* until the new one is complete, pages deleted or renamed since the last sync
|
|
13
|
+
* don't linger as stale hits that 404 when clicked, and a sync that fails
|
|
14
|
+
* leaves the previous collection serving. A collection named `collection`
|
|
15
|
+
* itself, from a sync before the alias existed, is dropped just before the
|
|
16
|
+
* alias takes its name, since Typesense won't let the two share one.
|
|
13
17
|
*/
|
|
14
18
|
export declare const syncTypesense: (records: SearchRecord[], config: TypesenseSyncConfig) => Promise<void>;
|
|
@@ -11,7 +11,7 @@ export interface PostalAddressIdentity {
|
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* `seo.organization`: the organization behind the site, emitted on every page
|
|
14
|
-
* as an `Organization` node the WebSite and
|
|
14
|
+
* as an `Organization` node the WebSite and page nodes cite as publisher.
|
|
15
15
|
*/
|
|
16
16
|
export interface OrganizationIdentity {
|
|
17
17
|
address?: PostalAddressIdentity;
|
|
@@ -62,6 +62,12 @@ export interface StructuredDataInput {
|
|
|
62
62
|
description?: string;
|
|
63
63
|
/** Page route, e.g. `/blog/post`. */
|
|
64
64
|
route: string;
|
|
65
|
+
/**
|
|
66
|
+
* The route of this page's homepage: the navigation tree root
|
|
67
|
+
* (`navigation.root` — `/fr` for a locale, `/docs` under a `basePath`,
|
|
68
|
+
* `/v1.0` in an archived version). Defaults to `/`.
|
|
69
|
+
*/
|
|
70
|
+
homeRoute?: string;
|
|
65
71
|
/** Deployment base (`import.meta.env.BASE_URL`); prefixed onto absolute URLs. */
|
|
66
72
|
base?: string;
|
|
67
73
|
/** Content type — `blog` and `changelog` map to richer article types. */
|
|
@@ -96,10 +102,9 @@ export declare const toIso: (value: DateInput | undefined) => string | undefined
|
|
|
96
102
|
/**
|
|
97
103
|
* Build a schema.org JSON-LD `@graph` for a page: site identity (the WebSite,
|
|
98
104
|
* plus the configured Organization everywhere and the SoftwareApplication on
|
|
99
|
-
* the homepage), the page
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* route-relative.
|
|
105
|
+
* the homepage), the page itself (a WebPage on the homepage, an article
|
|
106
|
+
* elsewhere), and an article's breadcrumb trail. URLs are absolute when
|
|
107
|
+
* `siteUrl` is set, otherwise route-relative.
|
|
103
108
|
*/
|
|
104
|
-
export declare const buildStructuredData: (input: StructuredDataInput) => JsonLdNode
|
|
109
|
+
export declare const buildStructuredData: (input: StructuredDataInput) => JsonLdNode;
|
|
105
110
|
export {};
|
|
@@ -13,10 +13,20 @@ export interface ContentfulOptions extends SharedSourceOptions {
|
|
|
13
13
|
* / `sys.updatedAt`.
|
|
14
14
|
*/
|
|
15
15
|
fields?: SourceFieldMap;
|
|
16
|
+
/**
|
|
17
|
+
* Delivery API host name. Defaults to `cdn.contentful.com`; a space with
|
|
18
|
+
* EU data residency reads from `cdn.eu.contentful.com`.
|
|
19
|
+
*/
|
|
20
|
+
host?: string;
|
|
16
21
|
/** Locale code to fetch; omit for the space's default locale. */
|
|
17
22
|
locale?: string;
|
|
18
23
|
/** Extra query parameters for the entries request (`"fields.section": "sdk"`). */
|
|
19
24
|
params?: Record<string, string>;
|
|
25
|
+
/**
|
|
26
|
+
* Preview API host name for `--preview`. Defaults to
|
|
27
|
+
* `preview.contentful.com` (`preview.eu.contentful.com` in the EU).
|
|
28
|
+
*/
|
|
29
|
+
previewHost?: string;
|
|
20
30
|
/** Space id. */
|
|
21
31
|
space: string;
|
|
22
32
|
}
|
|
@@ -29,11 +39,14 @@ export declare const contentfulOptionsSchema: z.ZodObject<{
|
|
|
29
39
|
body: z.ZodOptional<z.ZodString>;
|
|
30
40
|
description: z.ZodOptional<z.ZodString>;
|
|
31
41
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
42
|
+
order: z.ZodOptional<z.ZodString>;
|
|
32
43
|
slug: z.ZodOptional<z.ZodString>;
|
|
33
44
|
title: z.ZodOptional<z.ZodString>;
|
|
34
45
|
}, z.core.$strict>>;
|
|
46
|
+
host: z.ZodOptional<z.ZodString>;
|
|
35
47
|
locale: z.ZodOptional<z.ZodString>;
|
|
36
48
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
49
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
37
50
|
space: z.ZodString;
|
|
38
51
|
}, z.core.$strict>;
|
|
39
52
|
export type ContentfulAdapter = AdapterDescriptor<"contentful", ContentfulOptions>;
|
|
@@ -48,11 +61,14 @@ export declare const contentfulAdapterSchema: z.ZodObject<{
|
|
|
48
61
|
body: z.ZodOptional<z.ZodString>;
|
|
49
62
|
description: z.ZodOptional<z.ZodString>;
|
|
50
63
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
64
|
+
order: z.ZodOptional<z.ZodString>;
|
|
51
65
|
slug: z.ZodOptional<z.ZodString>;
|
|
52
66
|
title: z.ZodOptional<z.ZodString>;
|
|
53
67
|
}, z.core.$strict>>;
|
|
68
|
+
host: z.ZodOptional<z.ZodString>;
|
|
54
69
|
locale: z.ZodOptional<z.ZodString>;
|
|
55
70
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
71
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
56
72
|
space: z.ZodString;
|
|
57
73
|
}, z.core.$strict>;
|
|
58
74
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -3,7 +3,12 @@ import type { AdapterDescriptor } from "../core/adapter.ts";
|
|
|
3
3
|
import type { SharedSourceOptions } from "./shared.ts";
|
|
4
4
|
/** Options for {@link githubReleases}. */
|
|
5
5
|
export interface GithubReleasesOptions extends SharedSourceOptions {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The GitHub REST API base URL. Defaults to `https://api.github.com`; a
|
|
8
|
+
* GitHub Enterprise Server's is `https://<host>/api/v3`.
|
|
9
|
+
*/
|
|
10
|
+
baseUrl?: string;
|
|
11
|
+
/** Include draft releases, tagged `Draft` (needs a token with repo write access). */
|
|
7
12
|
drafts?: boolean;
|
|
8
13
|
/** Cap the number of releases materialized, newest-first. Defaults to 100. */
|
|
9
14
|
limit?: number;
|
|
@@ -17,6 +22,7 @@ export interface GithubReleasesOptions extends SharedSourceOptions {
|
|
|
17
22
|
export declare const githubReleasesOptionsSchema: z.ZodObject<{
|
|
18
23
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
19
24
|
prefix: z.ZodOptional<z.ZodString>;
|
|
25
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
20
26
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
21
27
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
22
28
|
owner: z.ZodString;
|
|
@@ -29,6 +35,7 @@ export declare const githubReleasesAdapterSchema: z.ZodObject<{
|
|
|
29
35
|
options: z.ZodObject<{
|
|
30
36
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
31
37
|
prefix: z.ZodOptional<z.ZodString>;
|
|
38
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
32
39
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
33
40
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
34
41
|
owner: z.ZodString;
|
|
@@ -7,6 +7,12 @@ export interface NotionOptions extends SharedSourceOptions {
|
|
|
7
7
|
concurrency?: number;
|
|
8
8
|
/** Notion database id. */
|
|
9
9
|
database: string;
|
|
10
|
+
/**
|
|
11
|
+
* Read text typed in Notion as MDX, so components and Markdown in it
|
|
12
|
+
* render. Anyone who can edit the database can then run code at build
|
|
13
|
+
* time. Default false: text renders as written.
|
|
14
|
+
*/
|
|
15
|
+
mdx?: boolean;
|
|
10
16
|
/** Notion property names mapped onto Blume meta. */
|
|
11
17
|
properties?: {
|
|
12
18
|
/** Property holding the page description. */
|
|
@@ -28,6 +34,7 @@ export declare const notionOptionsSchema: z.ZodObject<{
|
|
|
28
34
|
prefix: z.ZodOptional<z.ZodString>;
|
|
29
35
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
30
36
|
database: z.ZodString;
|
|
37
|
+
mdx: z.ZodOptional<z.ZodBoolean>;
|
|
31
38
|
properties: z.ZodOptional<z.ZodObject<{
|
|
32
39
|
description: z.ZodOptional<z.ZodString>;
|
|
33
40
|
order: z.ZodOptional<z.ZodString>;
|
|
@@ -45,6 +52,7 @@ export declare const notionAdapterSchema: z.ZodObject<{
|
|
|
45
52
|
prefix: z.ZodOptional<z.ZodString>;
|
|
46
53
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
47
54
|
database: z.ZodString;
|
|
55
|
+
mdx: z.ZodOptional<z.ZodBoolean>;
|
|
48
56
|
properties: z.ZodOptional<z.ZodObject<{
|
|
49
57
|
description: z.ZodOptional<z.ZodString>;
|
|
50
58
|
order: z.ZodOptional<z.ZodString>;
|
|
@@ -32,6 +32,7 @@ export declare const payloadOptionsSchema: z.ZodObject<{
|
|
|
32
32
|
body: z.ZodOptional<z.ZodString>;
|
|
33
33
|
description: z.ZodOptional<z.ZodString>;
|
|
34
34
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
35
|
+
order: z.ZodOptional<z.ZodString>;
|
|
35
36
|
slug: z.ZodOptional<z.ZodString>;
|
|
36
37
|
title: z.ZodOptional<z.ZodString>;
|
|
37
38
|
}, z.core.$strict>>;
|
|
@@ -51,6 +52,7 @@ export declare const payloadAdapterSchema: z.ZodObject<{
|
|
|
51
52
|
body: z.ZodOptional<z.ZodString>;
|
|
52
53
|
description: z.ZodOptional<z.ZodString>;
|
|
53
54
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
55
|
+
order: z.ZodOptional<z.ZodString>;
|
|
54
56
|
slug: z.ZodOptional<z.ZodString>;
|
|
55
57
|
title: z.ZodOptional<z.ZodString>;
|
|
56
58
|
}, z.core.$strict>>;
|
|
@@ -46,6 +46,7 @@ declare const sourceAdapterUnion: z.ZodDiscriminatedUnion<readonly [z.ZodObject<
|
|
|
46
46
|
options: z.ZodObject<{
|
|
47
47
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
48
48
|
prefix: z.ZodOptional<z.ZodString>;
|
|
49
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
49
50
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
50
51
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
51
52
|
owner: z.ZodString;
|
|
@@ -80,6 +81,7 @@ declare const sourceAdapterUnion: z.ZodDiscriminatedUnion<readonly [z.ZodObject<
|
|
|
80
81
|
prefix: z.ZodOptional<z.ZodString>;
|
|
81
82
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
82
83
|
database: z.ZodString;
|
|
84
|
+
mdx: z.ZodOptional<z.ZodBoolean>;
|
|
83
85
|
properties: z.ZodOptional<z.ZodObject<{
|
|
84
86
|
description: z.ZodOptional<z.ZodString>;
|
|
85
87
|
order: z.ZodOptional<z.ZodString>;
|
|
@@ -102,11 +104,14 @@ declare const sourceAdapterUnion: z.ZodDiscriminatedUnion<readonly [z.ZodObject<
|
|
|
102
104
|
body: z.ZodOptional<z.ZodString>;
|
|
103
105
|
description: z.ZodOptional<z.ZodString>;
|
|
104
106
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
107
|
+
order: z.ZodOptional<z.ZodString>;
|
|
105
108
|
slug: z.ZodOptional<z.ZodString>;
|
|
106
109
|
title: z.ZodOptional<z.ZodString>;
|
|
107
110
|
}, z.core.$strict>>;
|
|
111
|
+
host: z.ZodOptional<z.ZodString>;
|
|
108
112
|
locale: z.ZodOptional<z.ZodString>;
|
|
109
113
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
114
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
110
115
|
space: z.ZodString;
|
|
111
116
|
}, z.core.$strict>;
|
|
112
117
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -123,6 +128,7 @@ declare const sourceAdapterUnion: z.ZodDiscriminatedUnion<readonly [z.ZodObject<
|
|
|
123
128
|
body: z.ZodOptional<z.ZodString>;
|
|
124
129
|
description: z.ZodOptional<z.ZodString>;
|
|
125
130
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
131
|
+
order: z.ZodOptional<z.ZodString>;
|
|
126
132
|
slug: z.ZodOptional<z.ZodString>;
|
|
127
133
|
title: z.ZodOptional<z.ZodString>;
|
|
128
134
|
}, z.core.$strict>>;
|
|
@@ -141,6 +147,7 @@ declare const sourceAdapterUnion: z.ZodDiscriminatedUnion<readonly [z.ZodObject<
|
|
|
141
147
|
body: z.ZodOptional<z.ZodString>;
|
|
142
148
|
description: z.ZodOptional<z.ZodString>;
|
|
143
149
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
150
|
+
order: z.ZodOptional<z.ZodString>;
|
|
144
151
|
slug: z.ZodOptional<z.ZodString>;
|
|
145
152
|
title: z.ZodOptional<z.ZodString>;
|
|
146
153
|
}, z.core.$strict>>;
|
|
@@ -214,6 +221,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
214
221
|
options: z.ZodObject<{
|
|
215
222
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
216
223
|
prefix: z.ZodOptional<z.ZodString>;
|
|
224
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
217
225
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
218
226
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
219
227
|
owner: z.ZodString;
|
|
@@ -248,6 +256,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
248
256
|
prefix: z.ZodOptional<z.ZodString>;
|
|
249
257
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
250
258
|
database: z.ZodString;
|
|
259
|
+
mdx: z.ZodOptional<z.ZodBoolean>;
|
|
251
260
|
properties: z.ZodOptional<z.ZodObject<{
|
|
252
261
|
description: z.ZodOptional<z.ZodString>;
|
|
253
262
|
order: z.ZodOptional<z.ZodString>;
|
|
@@ -270,11 +279,14 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
270
279
|
body: z.ZodOptional<z.ZodString>;
|
|
271
280
|
description: z.ZodOptional<z.ZodString>;
|
|
272
281
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
282
|
+
order: z.ZodOptional<z.ZodString>;
|
|
273
283
|
slug: z.ZodOptional<z.ZodString>;
|
|
274
284
|
title: z.ZodOptional<z.ZodString>;
|
|
275
285
|
}, z.core.$strict>>;
|
|
286
|
+
host: z.ZodOptional<z.ZodString>;
|
|
276
287
|
locale: z.ZodOptional<z.ZodString>;
|
|
277
288
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
289
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
278
290
|
space: z.ZodString;
|
|
279
291
|
}, z.core.$strict>;
|
|
280
292
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -291,6 +303,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
291
303
|
body: z.ZodOptional<z.ZodString>;
|
|
292
304
|
description: z.ZodOptional<z.ZodString>;
|
|
293
305
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
306
|
+
order: z.ZodOptional<z.ZodString>;
|
|
294
307
|
slug: z.ZodOptional<z.ZodString>;
|
|
295
308
|
title: z.ZodOptional<z.ZodString>;
|
|
296
309
|
}, z.core.$strict>>;
|
|
@@ -309,6 +322,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
309
322
|
body: z.ZodOptional<z.ZodString>;
|
|
310
323
|
description: z.ZodOptional<z.ZodString>;
|
|
311
324
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
325
|
+
order: z.ZodOptional<z.ZodString>;
|
|
312
326
|
slug: z.ZodOptional<z.ZodString>;
|
|
313
327
|
title: z.ZodOptional<z.ZodString>;
|
|
314
328
|
}, z.core.$strict>>;
|
|
@@ -369,6 +383,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
369
383
|
repo: string;
|
|
370
384
|
pollInterval?: number | undefined;
|
|
371
385
|
prefix?: string | undefined;
|
|
386
|
+
baseUrl?: string | undefined;
|
|
372
387
|
drafts?: boolean | undefined;
|
|
373
388
|
limit?: number | undefined;
|
|
374
389
|
prereleases?: boolean | undefined;
|
|
@@ -401,6 +416,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
401
416
|
pollInterval?: number | undefined;
|
|
402
417
|
prefix?: string | undefined;
|
|
403
418
|
concurrency?: number | undefined;
|
|
419
|
+
mdx?: boolean | undefined;
|
|
404
420
|
properties?: {
|
|
405
421
|
description?: string | undefined;
|
|
406
422
|
order?: string | undefined;
|
|
@@ -424,11 +440,14 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
424
440
|
body?: string | undefined;
|
|
425
441
|
description?: string | undefined;
|
|
426
442
|
lastModified?: string | undefined;
|
|
443
|
+
order?: string | undefined;
|
|
427
444
|
slug?: string | undefined;
|
|
428
445
|
title?: string | undefined;
|
|
429
446
|
} | undefined;
|
|
447
|
+
host?: string | undefined;
|
|
430
448
|
locale?: string | undefined;
|
|
431
449
|
params?: Record<string, string> | undefined;
|
|
450
|
+
previewHost?: string | undefined;
|
|
432
451
|
};
|
|
433
452
|
requiredSecrets: string[];
|
|
434
453
|
runtimeDeps: string[];
|
|
@@ -445,6 +464,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
445
464
|
body?: string | undefined;
|
|
446
465
|
description?: string | undefined;
|
|
447
466
|
lastModified?: string | undefined;
|
|
467
|
+
order?: string | undefined;
|
|
448
468
|
slug?: string | undefined;
|
|
449
469
|
title?: string | undefined;
|
|
450
470
|
} | undefined;
|
|
@@ -463,6 +483,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
463
483
|
body?: string | undefined;
|
|
464
484
|
description?: string | undefined;
|
|
465
485
|
lastModified?: string | undefined;
|
|
486
|
+
order?: string | undefined;
|
|
466
487
|
slug?: string | undefined;
|
|
467
488
|
title?: string | undefined;
|
|
468
489
|
} | undefined;
|
|
@@ -522,6 +543,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
522
543
|
repo: string;
|
|
523
544
|
pollInterval?: number | undefined;
|
|
524
545
|
prefix?: string | undefined;
|
|
546
|
+
baseUrl?: string | undefined;
|
|
525
547
|
drafts?: boolean | undefined;
|
|
526
548
|
limit?: number | undefined;
|
|
527
549
|
prereleases?: boolean | undefined;
|
|
@@ -554,6 +576,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
554
576
|
pollInterval?: number | undefined;
|
|
555
577
|
prefix?: string | undefined;
|
|
556
578
|
concurrency?: number | undefined;
|
|
579
|
+
mdx?: boolean | undefined;
|
|
557
580
|
properties?: {
|
|
558
581
|
description?: string | undefined;
|
|
559
582
|
order?: string | undefined;
|
|
@@ -577,11 +600,14 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
577
600
|
body?: string | undefined;
|
|
578
601
|
description?: string | undefined;
|
|
579
602
|
lastModified?: string | undefined;
|
|
603
|
+
order?: string | undefined;
|
|
580
604
|
slug?: string | undefined;
|
|
581
605
|
title?: string | undefined;
|
|
582
606
|
} | undefined;
|
|
607
|
+
host?: string | undefined;
|
|
583
608
|
locale?: string | undefined;
|
|
584
609
|
params?: Record<string, string> | undefined;
|
|
610
|
+
previewHost?: string | undefined;
|
|
585
611
|
};
|
|
586
612
|
requiredSecrets: string[];
|
|
587
613
|
runtimeDeps: string[];
|
|
@@ -598,6 +624,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
598
624
|
body?: string | undefined;
|
|
599
625
|
description?: string | undefined;
|
|
600
626
|
lastModified?: string | undefined;
|
|
627
|
+
order?: string | undefined;
|
|
601
628
|
slug?: string | undefined;
|
|
602
629
|
title?: string | undefined;
|
|
603
630
|
} | undefined;
|
|
@@ -616,6 +643,7 @@ export declare const resolvedSourceAdapterSchema: z.ZodPipe<z.ZodDiscriminatedUn
|
|
|
616
643
|
body?: string | undefined;
|
|
617
644
|
description?: string | undefined;
|
|
618
645
|
lastModified?: string | undefined;
|
|
646
|
+
order?: string | undefined;
|
|
619
647
|
slug?: string | undefined;
|
|
620
648
|
title?: string | undefined;
|
|
621
649
|
} | undefined;
|
|
@@ -680,6 +708,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
680
708
|
repo: string;
|
|
681
709
|
pollInterval?: number | undefined;
|
|
682
710
|
prefix?: string | undefined;
|
|
711
|
+
baseUrl?: string | undefined;
|
|
683
712
|
drafts?: boolean | undefined;
|
|
684
713
|
limit?: number | undefined;
|
|
685
714
|
prereleases?: boolean | undefined;
|
|
@@ -712,6 +741,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
712
741
|
pollInterval?: number | undefined;
|
|
713
742
|
prefix?: string | undefined;
|
|
714
743
|
concurrency?: number | undefined;
|
|
744
|
+
mdx?: boolean | undefined;
|
|
715
745
|
properties?: {
|
|
716
746
|
description?: string | undefined;
|
|
717
747
|
order?: string | undefined;
|
|
@@ -735,11 +765,14 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
735
765
|
body?: string | undefined;
|
|
736
766
|
description?: string | undefined;
|
|
737
767
|
lastModified?: string | undefined;
|
|
768
|
+
order?: string | undefined;
|
|
738
769
|
slug?: string | undefined;
|
|
739
770
|
title?: string | undefined;
|
|
740
771
|
} | undefined;
|
|
772
|
+
host?: string | undefined;
|
|
741
773
|
locale?: string | undefined;
|
|
742
774
|
params?: Record<string, string> | undefined;
|
|
775
|
+
previewHost?: string | undefined;
|
|
743
776
|
};
|
|
744
777
|
requiredSecrets: string[];
|
|
745
778
|
runtimeDeps: string[];
|
|
@@ -756,6 +789,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
756
789
|
body?: string | undefined;
|
|
757
790
|
description?: string | undefined;
|
|
758
791
|
lastModified?: string | undefined;
|
|
792
|
+
order?: string | undefined;
|
|
759
793
|
slug?: string | undefined;
|
|
760
794
|
title?: string | undefined;
|
|
761
795
|
} | undefined;
|
|
@@ -774,6 +808,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
774
808
|
body?: string | undefined;
|
|
775
809
|
description?: string | undefined;
|
|
776
810
|
lastModified?: string | undefined;
|
|
811
|
+
order?: string | undefined;
|
|
777
812
|
slug?: string | undefined;
|
|
778
813
|
title?: string | undefined;
|
|
779
814
|
} | undefined;
|
|
@@ -833,6 +868,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
833
868
|
repo: string;
|
|
834
869
|
pollInterval?: number | undefined;
|
|
835
870
|
prefix?: string | undefined;
|
|
871
|
+
baseUrl?: string | undefined;
|
|
836
872
|
drafts?: boolean | undefined;
|
|
837
873
|
limit?: number | undefined;
|
|
838
874
|
prereleases?: boolean | undefined;
|
|
@@ -865,6 +901,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
865
901
|
pollInterval?: number | undefined;
|
|
866
902
|
prefix?: string | undefined;
|
|
867
903
|
concurrency?: number | undefined;
|
|
904
|
+
mdx?: boolean | undefined;
|
|
868
905
|
properties?: {
|
|
869
906
|
description?: string | undefined;
|
|
870
907
|
order?: string | undefined;
|
|
@@ -888,11 +925,14 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
888
925
|
body?: string | undefined;
|
|
889
926
|
description?: string | undefined;
|
|
890
927
|
lastModified?: string | undefined;
|
|
928
|
+
order?: string | undefined;
|
|
891
929
|
slug?: string | undefined;
|
|
892
930
|
title?: string | undefined;
|
|
893
931
|
} | undefined;
|
|
932
|
+
host?: string | undefined;
|
|
894
933
|
locale?: string | undefined;
|
|
895
934
|
params?: Record<string, string> | undefined;
|
|
935
|
+
previewHost?: string | undefined;
|
|
896
936
|
};
|
|
897
937
|
requiredSecrets: string[];
|
|
898
938
|
runtimeDeps: string[];
|
|
@@ -909,6 +949,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
909
949
|
body?: string | undefined;
|
|
910
950
|
description?: string | undefined;
|
|
911
951
|
lastModified?: string | undefined;
|
|
952
|
+
order?: string | undefined;
|
|
912
953
|
slug?: string | undefined;
|
|
913
954
|
title?: string | undefined;
|
|
914
955
|
} | undefined;
|
|
@@ -927,6 +968,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
927
968
|
body?: string | undefined;
|
|
928
969
|
description?: string | undefined;
|
|
929
970
|
lastModified?: string | undefined;
|
|
971
|
+
order?: string | undefined;
|
|
930
972
|
slug?: string | undefined;
|
|
931
973
|
title?: string | undefined;
|
|
932
974
|
} | undefined;
|
|
@@ -984,6 +1026,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
984
1026
|
options: z.ZodObject<{
|
|
985
1027
|
pollInterval: z.ZodOptional<z.ZodNumber>;
|
|
986
1028
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
987
1030
|
drafts: z.ZodOptional<z.ZodBoolean>;
|
|
988
1031
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
989
1032
|
owner: z.ZodString;
|
|
@@ -1018,6 +1061,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1018
1061
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1019
1062
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
1020
1063
|
database: z.ZodString;
|
|
1064
|
+
mdx: z.ZodOptional<z.ZodBoolean>;
|
|
1021
1065
|
properties: z.ZodOptional<z.ZodObject<{
|
|
1022
1066
|
description: z.ZodOptional<z.ZodString>;
|
|
1023
1067
|
order: z.ZodOptional<z.ZodString>;
|
|
@@ -1040,11 +1084,14 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1040
1084
|
body: z.ZodOptional<z.ZodString>;
|
|
1041
1085
|
description: z.ZodOptional<z.ZodString>;
|
|
1042
1086
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1043
1088
|
slug: z.ZodOptional<z.ZodString>;
|
|
1044
1089
|
title: z.ZodOptional<z.ZodString>;
|
|
1045
1090
|
}, z.core.$strict>>;
|
|
1091
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1046
1092
|
locale: z.ZodOptional<z.ZodString>;
|
|
1047
1093
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1094
|
+
previewHost: z.ZodOptional<z.ZodString>;
|
|
1048
1095
|
space: z.ZodString;
|
|
1049
1096
|
}, z.core.$strict>;
|
|
1050
1097
|
requiredSecrets: z.ZodArray<z.ZodString>;
|
|
@@ -1061,6 +1108,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1061
1108
|
body: z.ZodOptional<z.ZodString>;
|
|
1062
1109
|
description: z.ZodOptional<z.ZodString>;
|
|
1063
1110
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1064
1112
|
slug: z.ZodOptional<z.ZodString>;
|
|
1065
1113
|
title: z.ZodOptional<z.ZodString>;
|
|
1066
1114
|
}, z.core.$strict>>;
|
|
@@ -1079,6 +1127,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1079
1127
|
body: z.ZodOptional<z.ZodString>;
|
|
1080
1128
|
description: z.ZodOptional<z.ZodString>;
|
|
1081
1129
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
order: z.ZodOptional<z.ZodString>;
|
|
1082
1131
|
slug: z.ZodOptional<z.ZodString>;
|
|
1083
1132
|
title: z.ZodOptional<z.ZodString>;
|
|
1084
1133
|
}, z.core.$strict>>;
|
|
@@ -1139,6 +1188,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1139
1188
|
repo: string;
|
|
1140
1189
|
pollInterval?: number | undefined;
|
|
1141
1190
|
prefix?: string | undefined;
|
|
1191
|
+
baseUrl?: string | undefined;
|
|
1142
1192
|
drafts?: boolean | undefined;
|
|
1143
1193
|
limit?: number | undefined;
|
|
1144
1194
|
prereleases?: boolean | undefined;
|
|
@@ -1171,6 +1221,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1171
1221
|
pollInterval?: number | undefined;
|
|
1172
1222
|
prefix?: string | undefined;
|
|
1173
1223
|
concurrency?: number | undefined;
|
|
1224
|
+
mdx?: boolean | undefined;
|
|
1174
1225
|
properties?: {
|
|
1175
1226
|
description?: string | undefined;
|
|
1176
1227
|
order?: string | undefined;
|
|
@@ -1194,11 +1245,14 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1194
1245
|
body?: string | undefined;
|
|
1195
1246
|
description?: string | undefined;
|
|
1196
1247
|
lastModified?: string | undefined;
|
|
1248
|
+
order?: string | undefined;
|
|
1197
1249
|
slug?: string | undefined;
|
|
1198
1250
|
title?: string | undefined;
|
|
1199
1251
|
} | undefined;
|
|
1252
|
+
host?: string | undefined;
|
|
1200
1253
|
locale?: string | undefined;
|
|
1201
1254
|
params?: Record<string, string> | undefined;
|
|
1255
|
+
previewHost?: string | undefined;
|
|
1202
1256
|
};
|
|
1203
1257
|
requiredSecrets: string[];
|
|
1204
1258
|
runtimeDeps: string[];
|
|
@@ -1215,6 +1269,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1215
1269
|
body?: string | undefined;
|
|
1216
1270
|
description?: string | undefined;
|
|
1217
1271
|
lastModified?: string | undefined;
|
|
1272
|
+
order?: string | undefined;
|
|
1218
1273
|
slug?: string | undefined;
|
|
1219
1274
|
title?: string | undefined;
|
|
1220
1275
|
} | undefined;
|
|
@@ -1233,6 +1288,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1233
1288
|
body?: string | undefined;
|
|
1234
1289
|
description?: string | undefined;
|
|
1235
1290
|
lastModified?: string | undefined;
|
|
1291
|
+
order?: string | undefined;
|
|
1236
1292
|
slug?: string | undefined;
|
|
1237
1293
|
title?: string | undefined;
|
|
1238
1294
|
} | undefined;
|
|
@@ -1292,6 +1348,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1292
1348
|
repo: string;
|
|
1293
1349
|
pollInterval?: number | undefined;
|
|
1294
1350
|
prefix?: string | undefined;
|
|
1351
|
+
baseUrl?: string | undefined;
|
|
1295
1352
|
drafts?: boolean | undefined;
|
|
1296
1353
|
limit?: number | undefined;
|
|
1297
1354
|
prereleases?: boolean | undefined;
|
|
@@ -1324,6 +1381,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1324
1381
|
pollInterval?: number | undefined;
|
|
1325
1382
|
prefix?: string | undefined;
|
|
1326
1383
|
concurrency?: number | undefined;
|
|
1384
|
+
mdx?: boolean | undefined;
|
|
1327
1385
|
properties?: {
|
|
1328
1386
|
description?: string | undefined;
|
|
1329
1387
|
order?: string | undefined;
|
|
@@ -1347,11 +1405,14 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1347
1405
|
body?: string | undefined;
|
|
1348
1406
|
description?: string | undefined;
|
|
1349
1407
|
lastModified?: string | undefined;
|
|
1408
|
+
order?: string | undefined;
|
|
1350
1409
|
slug?: string | undefined;
|
|
1351
1410
|
title?: string | undefined;
|
|
1352
1411
|
} | undefined;
|
|
1412
|
+
host?: string | undefined;
|
|
1353
1413
|
locale?: string | undefined;
|
|
1354
1414
|
params?: Record<string, string> | undefined;
|
|
1415
|
+
previewHost?: string | undefined;
|
|
1355
1416
|
};
|
|
1356
1417
|
requiredSecrets: string[];
|
|
1357
1418
|
runtimeDeps: string[];
|
|
@@ -1368,6 +1429,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1368
1429
|
body?: string | undefined;
|
|
1369
1430
|
description?: string | undefined;
|
|
1370
1431
|
lastModified?: string | undefined;
|
|
1432
|
+
order?: string | undefined;
|
|
1371
1433
|
slug?: string | undefined;
|
|
1372
1434
|
title?: string | undefined;
|
|
1373
1435
|
} | undefined;
|
|
@@ -1386,6 +1448,7 @@ export declare const contentSourcesSchema: z.ZodArray<z.ZodPipe<z.ZodCustom<{
|
|
|
1386
1448
|
body?: string | undefined;
|
|
1387
1449
|
description?: string | undefined;
|
|
1388
1450
|
lastModified?: string | undefined;
|
|
1451
|
+
order?: string | undefined;
|
|
1389
1452
|
slug?: string | undefined;
|
|
1390
1453
|
title?: string | undefined;
|
|
1391
1454
|
} | undefined;
|
|
@@ -29,6 +29,8 @@ export interface SourceFieldMap {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
/** Field holding the last-modified date. */
|
|
31
31
|
lastModified?: string;
|
|
32
|
+
/** Field holding the sidebar order (a number). No default: unset, none is read. */
|
|
33
|
+
order?: string;
|
|
32
34
|
/** Field holding the page slug. */
|
|
33
35
|
slug?: string;
|
|
34
36
|
/** Field holding the page title. */
|
|
@@ -39,6 +41,7 @@ export declare const sourceFieldMapSchema: z.ZodObject<{
|
|
|
39
41
|
body: z.ZodOptional<z.ZodString>;
|
|
40
42
|
description: z.ZodOptional<z.ZodString>;
|
|
41
43
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
44
|
+
order: z.ZodOptional<z.ZodString>;
|
|
42
45
|
slug: z.ZodOptional<z.ZodString>;
|
|
43
46
|
title: z.ZodOptional<z.ZodString>;
|
|
44
47
|
}, z.core.$strict>;
|
|
@@ -27,6 +27,7 @@ export declare const strapiOptionsSchema: z.ZodObject<{
|
|
|
27
27
|
body: z.ZodOptional<z.ZodString>;
|
|
28
28
|
description: z.ZodOptional<z.ZodString>;
|
|
29
29
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
30
|
+
order: z.ZodOptional<z.ZodString>;
|
|
30
31
|
slug: z.ZodOptional<z.ZodString>;
|
|
31
32
|
title: z.ZodOptional<z.ZodString>;
|
|
32
33
|
}, z.core.$strict>>;
|
|
@@ -46,6 +47,7 @@ export declare const strapiAdapterSchema: z.ZodObject<{
|
|
|
46
47
|
body: z.ZodOptional<z.ZodString>;
|
|
47
48
|
description: z.ZodOptional<z.ZodString>;
|
|
48
49
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
50
|
+
order: z.ZodOptional<z.ZodString>;
|
|
49
51
|
slug: z.ZodOptional<z.ZodString>;
|
|
50
52
|
title: z.ZodOptional<z.ZodString>;
|
|
51
53
|
}, z.core.$strict>>;
|
package/docs/01-quickstart.mdx
CHANGED
|
@@ -15,8 +15,10 @@ Go from an empty folder to a running docs site in a few commands. Blume needs **
|
|
|
15
15
|
`blume init` asks a few questions — where to create the project, what your
|
|
16
16
|
docs site is called, which template, and where your content lives — then
|
|
17
17
|
scaffolds the minimum surface: a content folder, a config file, and a
|
|
18
|
-
`package.json` with `dev` and `
|
|
19
|
-
|
|
18
|
+
`package.json` with `dev`, `build`, and `doctor` scripts, plus a
|
|
19
|
+
`.gitignore` that keeps `node_modules/`, the generated `.blume/`, `dist/`,
|
|
20
|
+
and `.env.local` (where local secrets go) out of version control. It
|
|
21
|
+
installs the dependencies with the package manager that ran it. Pass `--yes` to skip the prompts and
|
|
20
22
|
take the defaults, or `--no-install` to only write the files.
|
|
21
23
|
|
|
22
24
|
```package-install
|