Merge remote-tracking branch 'origin/main'

This commit is contained in:
Alexander Navarro 2023-11-11 19:17:16 -03:00
commit 2b8d9cd691

View file

@ -22,6 +22,18 @@ const games = defineCollection({
}), }),
}); });
const blog = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
draft: z.boolean().optional(),
tags: z.array(z.string()).optional(),
published_at: z.coerce.date().optional(),
updated_at: z.coerce.date().optional(),
}),
});
export const collections = { export const collections = {
games, games,
blog,
}; };