feat: add draft field to post schema
This commit is contained in:
parent
ff39ba2e1a
commit
f3640e6308
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ const posts = defineCollection({
|
|||
date: z.coerce.date(),
|
||||
pinned: z.boolean().optional(),
|
||||
category: z.string().optional(),
|
||||
draft: z.boolean().optional(),
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue