update content configuration for Astro

This commit is contained in:
Alexander Navarro 2023-09-16 12:46:40 -03:00
parent 65edd2d355
commit 6b406948b7

View file

@ -9,6 +9,8 @@ const games = defineCollection({
release: z.coerce.date(), release: z.coerce.date(),
developers: z.array(z.string()), developers: z.array(z.string()),
genres: z.array(z.string()), genres: z.array(z.string()),
times_played: z.number(),
registered_hours: z.number().optional(),
status: z.enum([ status: z.enum([
'Backlog', 'Backlog',
'On Line', 'On Line',
@ -18,7 +20,6 @@ const games = defineCollection({
'Want to Replay', 'Want to Replay',
'Always Playable', 'Always Playable',
]), ]),
times_played: z.number(),
}), }),
}); });