From 8e284cb625a19a938e97ecaa17fedcf7367337a0 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 5 Aug 2024 23:36:46 -0700 Subject: [PATCH] Add platform to SerializableGameInfo type --- src/lib/types/steam.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/types/steam.ts b/src/lib/types/steam.ts index eb32ee7..a385fc1 100644 --- a/src/lib/types/steam.ts +++ b/src/lib/types/steam.ts @@ -1,7 +1,8 @@ type SerializableGameInfo = { id: number | string | null name: string - playtime: number | undefined + playtime: string | number | undefined lastPlayed: Date | undefined coverURL: string + platform: 'steam' | 'psn' }