import {Module} from "."; import {UserSolution} from "./exam"; export interface User { email: string; name: string; profilePicture: string; id: string; experience: number; type: Type; } export interface Stat { user: string; exam: string; exercise: string; module: Module; solutions: any[]; type: string; score: { correct: number; total: number; }; } export type Type = "student" | "teacher" | "admin" | "owner" | "developer";