This commit is contained in:
2024-03-01 11:43:31 +03:00
parent ff1f8e0452
commit 9e1c2c9504
12 changed files with 400 additions and 226 deletions

View File

@@ -52,7 +52,27 @@ export type BaseResponse<Data> = {
export interface Lesson {
_id: string;
name: string;
students: any[];
students: Student[];
date: string;
created: string;
}
export interface AccessCode {
expires: string;
lesson: Lesson;
_id: string;
created: string;
__v: number;
}
export interface Student {
sub: string;
email_verified: boolean;
gravatar: string;
name: string;
groups: string[];
preferred_username: string;
given_name: string;
family_name: string;
email: string;
}