mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +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
|
LessonsResponseMeta
|
||||||
>;
|
>;
|
||||||
|
|
||||||
// Not sure what to call this
|
|
||||||
export interface LessonPupilBehaviour {
|
export interface LessonPupilBehaviour {
|
||||||
reason: string;
|
reason: string;
|
||||||
score: number;
|
score: number;
|
||||||
|
|
@ -309,7 +308,7 @@ export interface Badge {
|
||||||
icon: string;
|
icon: string;
|
||||||
colour: string;
|
colour: string;
|
||||||
created_date: string;
|
created_date: string;
|
||||||
pupil_badges: PupilEvent[];
|
pupil_badges: { pupil_event: PupilEvent }[];
|
||||||
icon_url: string;
|
icon_url: string;
|
||||||
}
|
}
|
||||||
export type BadgesResponseData = Badge[];
|
export type BadgesResponseData = Badge[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue