mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +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 {
|
||||
id: number;
|
||||
type: string;
|
||||
polarity: string;
|
||||
polarity: "positive" | "blank" | "negative" | string & {};
|
||||
reason: string;
|
||||
score: number;
|
||||
timestamp: string;
|
||||
|
|
@ -124,11 +124,11 @@ export interface ActivityPoint {
|
|||
};
|
||||
pupil_name: string;
|
||||
lesson_name: string | null;
|
||||
teacher_name: string;
|
||||
teacher_name: string | null;
|
||||
room_name: string | null;
|
||||
note: string | null;
|
||||
_can_delete: boolean;
|
||||
badges: string | undefined;
|
||||
badges: string;
|
||||
detention_date: string | null;
|
||||
detention_time: string | null;
|
||||
detention_location: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue