2023-11-29 21:58:09 -05:00

14 lines
362 B
TypeScript

import { defineCollection, z } from "astro:content";
import { docsSchema } from "@astrojs/starlight/schema";
export const collections = {
docs: defineCollection({
schema: docsSchema({
extend: z.object({
schemaFile: z.string().optional(),
defName: z.string().optional()
})
})
})
};