category select; publish article form part

This commit is contained in:
2025-03-08 20:12:22 +01:00
parent 96b989799a
commit 47a79cd171
14 changed files with 1154 additions and 111 deletions
+2
View File
@@ -4,4 +4,6 @@ export const articleSchema = z.object({
title: z.string().min(1),
content: z.string().optional(),
authorId: z.string().optional(),
categoryId: z.string().optional(),
published: z.boolean(),
});