From 6b406948b70fa4c56333c0afc628e9b6618aacdc Mon Sep 17 00:00:00 2001 From: aleidk Date: Sat, 16 Sep 2023 12:46:40 -0300 Subject: [PATCH] update content configuration for Astro --- config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(), }), });