mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +00:00
fix: badge types
This commit is contained in:
parent
9066f77e0e
commit
2abfef3d40
1 changed files with 1 additions and 2 deletions
|
|
@ -283,7 +283,6 @@ export type LessonsResponse = ClassChartsResponse<
|
|||
LessonsResponseMeta
|
||||
>;
|
||||
|
||||
// Not sure what to call this
|
||||
export interface LessonPupilBehaviour {
|
||||
reason: string;
|
||||
score: number;
|
||||
|
|
@ -309,7 +308,7 @@ export interface Badge {
|
|||
icon: string;
|
||||
colour: string;
|
||||
created_date: string;
|
||||
pupil_badges: PupilEvent[];
|
||||
pupil_badges: { pupil_event: PupilEvent }[];
|
||||
icon_url: string;
|
||||
}
|
||||
export type BadgesResponseData = Badge[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue