mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
feat: attendance
This commit is contained in:
parent
f45d857e9a
commit
04b72babcf
4 changed files with 29 additions and 2 deletions
15
src/types.ts
15
src/types.ts
|
|
@ -310,3 +310,18 @@ export interface GetFullActivityOptions {
|
|||
*/
|
||||
to: string;
|
||||
}
|
||||
|
||||
export interface AttendanceDate {
|
||||
AM: {
|
||||
code: string;
|
||||
status: "present" | "ignore";
|
||||
late_minutes: number;
|
||||
};
|
||||
PM: {
|
||||
code: string;
|
||||
status: "present" | "ignore";
|
||||
late_minutes: number;
|
||||
};
|
||||
}
|
||||
|
||||
export type AttendanceResponse = Array<Record<string, AttendanceDate>>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue