diff --git a/src/content.config.ts b/src/content.config.ts index 41dcb49..5a3e627 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -8,8 +8,10 @@ const docs = defineCollection({ schema: z.object({ title: z.string().optional(), description: z.string().optional(), + tags: z.array(z.string()).optional(), // pubDate: z.coerce.date(), - // updatedDate: z.coerce.date().optional(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), }), });