diff --git a/config.ts b/config.ts index 3ffabf9..816ff4a 100644 --- a/config.ts +++ b/config.ts @@ -9,6 +9,8 @@ const games = defineCollection({ release: z.coerce.date(), developers: z.array(z.string()), genres: z.array(z.string()), + times_played: z.number(), + registered_hours: z.number().optional(), status: z.enum([ 'Backlog', 'On Line', @@ -18,7 +20,6 @@ const games = defineCollection({ 'Want to Replay', 'Always Playable', ]), - times_played: z.number(), }), });