import { defineCollection } from "astro:content"; import { docsSchema, i18nSchema } from "@astrojs/starlight/schema"; import { blogSchema } from "starlight-blog/schema"; export const collections = { i18n: defineCollection({ type: "data", schema: i18nSchema() }), docs: defineCollection({ schema: docsSchema({ extend: (context) => blogSchema(context) }), }), };