feat: preserve normalized accepted game facts

This commit is contained in:
dahyeon committed 2026-07-12 19:32:19 +00:00
1 parent e6e434d13f
commit f3286e7fd1
4 files changed
+92 -32

No files matched your search

+4 -1
View File
@@ -10,6 +10,7 @@ import type {
UserId,
} from "./ids.js";
import type { IsoDateTime } from "./series.js";
import type { GameParticipantView } from "./game.js";
export type CompetitionFactActor =
| { type: "system" }
@@ -35,6 +36,9 @@ export interface GameAcceptedFactView extends CompetitionFactViewBase {
seriesId: SeriesId;
gameSlotId: GameSlotId;
ordinal: number;
startedAt: IsoDateTime;
durationSeconds: number;
participants: GameParticipantView[];
evidence:
| { type: "riot"; riotMatchId: RiotMatchId; payloadHash: string }
| { type: "legacy"; legacyReference: string };
@@ -82,4 +86,3 @@ export interface CompetitionFactsResponse {
facts: CompetitionFactView[];
nextCursor: string | null;
}