From b3e7aa417084a3a31be48da77fdff8fd89ddb3ed Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 7 May 2021 19:56:29 +0100 Subject: [PATCH] add checksum and timestats to pb documents --- common/js/types.d.ts | 3 +++ common/src/types.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 6b450f61d..98c92d933 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -969,9 +969,12 @@ export interface PBScoreDocument extends MongoD songID: integer; ranking: integer; outOf: integer; + checksum: string; comments: string[]; highlight: boolean; isPrimary: boolean; + timeAchieved: number; + timeUpdated: number; scoreData: { score: number; lamp: Lamps[I]; diff --git a/common/src/types.ts b/common/src/types.ts index a79dcca36..0fc3bdbc4 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1235,9 +1235,12 @@ export interface PBScoreDocument extends MongoD songID: integer; ranking: integer; outOf: integer; + checksum: string; comments: string[]; highlight: boolean; isPrimary: boolean; + timeAchieved: number; + timeUpdated: number; scoreData: { score: number; lamp: Lamps[I];