- Revamped some of the UserSolutions; - Transformed the homepage chart to use actual dynamic values; - Created an endpoint for the stats;
10 lines
175 B
TypeScript
10 lines
175 B
TypeScript
import {Module} from "@/interfaces";
|
|
|
|
export type UserResults = {[key in Module]: ModuleResult};
|
|
|
|
interface ModuleResult {
|
|
exams: string[];
|
|
score: number;
|
|
total: number;
|
|
}
|