fix: add `content` property to docs schema

This commit is contained in:
pheralb
2025-11-11 00:30:41 +00:00
parent 3cea9e3c27
commit a072d137f4
+1
View File
@@ -24,6 +24,7 @@ const docs = defineCollection({
schema: z.object({ schema: z.object({
title: z.string(), title: z.string(),
description: z.string(), description: z.string(),
content: z.string(),
}), }),
transform: async (document, context) => { transform: async (document, context) => {
const highlighter = await shikiHighlighter(); const highlighter = await shikiHighlighter();