1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

fix: update late minutes and "fix" spelling "mistake"

This commit is contained in:
Veloi 2023-09-23 22:05:25 +01:00 committed by GitHub
parent eb2bdfd557
commit 618167a98d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -424,7 +424,7 @@ export interface GetAttendanceOptions {
export interface AttendancePeriod { export interface AttendancePeriod {
code: string; code: string;
status: "present" | "ignore"; status: "present" | "ignore";
late_minutes: number; late_minutes: number | string;
lesson_name?: string; lesson_name?: string;
room_name?: string; room_name?: string;
} }
@ -435,7 +435,7 @@ export interface AttendanceMeta {
start_date: string; start_date: string;
end_date: string; end_date: string;
percentage: string; percentage: string;
percentage_since_august: string; percentage_singe_august: string;
} }
export type AttendanceData = Record<string, Record<string, AttendancePeriod>>; export type AttendanceData = Record<string, Record<string, AttendancePeriod>>;