mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
types: improve activity point
This commit is contained in:
parent
2abfef3d40
commit
e03e0e2ab5
1 changed files with 3 additions and 3 deletions
|
|
@ -113,7 +113,7 @@ export interface GetActivityOptions {
|
||||||
export interface ActivityPoint {
|
export interface ActivityPoint {
|
||||||
id: number;
|
id: number;
|
||||||
type: string;
|
type: string;
|
||||||
polarity: string;
|
polarity: "positive" | "blank" | "negative" | string & {};
|
||||||
reason: string;
|
reason: string;
|
||||||
score: number;
|
score: number;
|
||||||
timestamp: string;
|
timestamp: string;
|
||||||
|
|
@ -124,11 +124,11 @@ export interface ActivityPoint {
|
||||||
};
|
};
|
||||||
pupil_name: string;
|
pupil_name: string;
|
||||||
lesson_name: string | null;
|
lesson_name: string | null;
|
||||||
teacher_name: string;
|
teacher_name: string | null;
|
||||||
room_name: string | null;
|
room_name: string | null;
|
||||||
note: string | null;
|
note: string | null;
|
||||||
_can_delete: boolean;
|
_can_delete: boolean;
|
||||||
badges: string | undefined;
|
badges: string;
|
||||||
detention_date: string | null;
|
detention_date: string | null;
|
||||||
detention_time: string | null;
|
detention_time: string | null;
|
||||||
detention_location: string | null;
|
detention_location: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue