mvp
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user