Refactor
This commit is contained in:
@@ -6,6 +6,7 @@ export const pages = defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string().min(1).max(80),
|
||||
description: z.string().min(1).max(120),
|
||||
german: z.boolean().optional().default(false),
|
||||
image: z.string().optional()
|
||||
})
|
||||
})
|
||||
@@ -55,6 +56,7 @@ export const announcements = defineCollection({
|
||||
description: z.string(),
|
||||
image: image().optional(),
|
||||
tags: z.array(z.string()),
|
||||
german: z.boolean().optional().default(false),
|
||||
created: z.date()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user