From f3640e6308028efe884f36a6d84961e47c2d3238 Mon Sep 17 00:00:00 2001 From: lew Date: Thu, 29 Jan 2026 01:27:17 +0000 Subject: [PATCH] feat: add draft field to post schema --- apps/www/src/content.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/www/src/content.config.ts b/apps/www/src/content.config.ts index 2a8ac48..575fcc8 100644 --- a/apps/www/src/content.config.ts +++ b/apps/www/src/content.config.ts @@ -9,6 +9,7 @@ const posts = defineCollection({ date: z.coerce.date(), pinned: z.boolean().optional(), category: z.string().optional(), + draft: z.boolean().optional(), }) });