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

Update types.ts

fix: last_seen_date and first_seen_date on homework to be nullable
This commit is contained in:
Veloi 2023-09-23 19:06:19 +01:00 committed by GitHub
parent c304dca94d
commit 2543f22b5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,8 +192,8 @@ export interface Homework {
mark_relative: number;
ticked: "yes" | "no";
allow_attachments: boolean;
first_seen_date: string;
last_seen_date: string;
first_seen_date: string | null;
last_seen_date: string | null;
attachments: Array<unknown>;
has_feedback: boolean;
};