mirror of
https://git.aria.coffee/BuyMyAria/aria.coffee.git
synced 2025-06-16 01:09:57 +00:00
feat(blog): make draft bool optional
This commit is contained in:
parent
d3cb6e5574
commit
1a23cddd83
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ const blog = defineCollection({
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
author: z.string(),
|
author: z.string(),
|
||||||
tags: z.array(z.string()),
|
tags: z.array(z.string()),
|
||||||
draft: z.boolean(),
|
draft: z.boolean().optional().default(false),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue