From 0c31048a0d5b869c4ab45d622226cbfae8a9c18b Mon Sep 17 00:00:00 2001 From: David Higueros <111460331+TheDavSmasher@users.noreply.github.com> Date: Sun, 18 Jan 2026 00:08:50 +0000 Subject: [PATCH] Added type exports for commitsByDay information --- src/main/resources/frontend/src/types/types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/resources/frontend/src/types/types.ts b/src/main/resources/frontend/src/types/types.ts index e14eea546..da29943ef 100644 --- a/src/main/resources/frontend/src/types/types.ts +++ b/src/main/resources/frontend/src/types/types.ts @@ -81,6 +81,16 @@ export type Rubric = { notes: string; }; +export type CommitsByDay = { + linearizedCommits: string[]; + linearizedLineChanges: number[]; + erroringCommits: Record; +}; + +export type CommitVerificationContext = { + commitsByDay: CommitsByDay; +}; + export type Submission = { netId: string; repoUrl: string; @@ -94,6 +104,7 @@ export type Submission = { passed: boolean; admin: boolean; verifiedStatus: VerifiedStatus; + commitContext: CommitVerificationContext; }; export enum VerifiedStatus {