feat: remove deprecated exam fields (#62852)

This commit is contained in:
Shaun Hamilton
2025-10-16 09:54:58 -07:00
committed by GitHub
parent 5add4262bd
commit 59cab66cf2
11 changed files with 43 additions and 128 deletions
@@ -59,8 +59,8 @@ export function Attempts({ id }: AttemptsProps) {
</thead>
<tbody>
{attempts.map(attempt => (
<tr key={attempt.startTimeInMS}>
<td>{new Date(attempt.startTimeInMS).toTimeString()}</td>
<tr key={attempt.startTime}>
<td>{new Date(attempt.startTime).toTimeString()}</td>
<td>
{attempt.result
? `${attempt.result.percent}%`
+2 -1
View File
@@ -223,7 +223,8 @@ export interface Exam {
export interface Attempt {
id: string;
examId: string;
startTimeInMS: number;
// ISO 8601 string
startTime: string;
questionSets: unknown[];
result?: {
passed: boolean;