added a lot of canvas data types

This commit is contained in:
2024-08-21 11:19:01 -06:00
parent 56789f6408
commit 9e6fdeb4c7
42 changed files with 8214 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
import { EnrollmentModel } from "../enrollments/enrollmentModel";
export interface UserModel {
id: number;
name: string;
sortable_name: string;
short_name: string;
sis_user_id: string;
integration_id: string;
login_id: string;
avatar_url: string;
enrollments: EnrollmentModel[];
email: string;
locale: string;
effective_locale: string;
time_zone: string;
bio: string;
permissions: { [key: string]: boolean };
sis_import_id?: number;
last_login?: string; // ISO 8601 date string
}