mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
fix: use Array<T> instead of [] to stay consistent
This commit is contained in:
parent
a05b3ada93
commit
c0e869e2fe
1 changed files with 4 additions and 4 deletions
|
|
@ -421,8 +421,8 @@ export interface AttendancePeriod {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AttendanceMeta {
|
export interface AttendanceMeta {
|
||||||
dates: string[];
|
dates: Array<string>;
|
||||||
sessions: string[];
|
sessions: Array<string>;
|
||||||
start_date: string;
|
start_date: string;
|
||||||
end_date: string;
|
end_date: string;
|
||||||
percentage: string;
|
percentage: string;
|
||||||
|
|
@ -468,12 +468,12 @@ export type RewardPurchaseResponse = ClassChartsResponse<RewardPurchaseData, []>
|
||||||
|
|
||||||
export interface PupilFieldsData {
|
export interface PupilFieldsData {
|
||||||
note: string;
|
note: string;
|
||||||
fields: {
|
fields: Array<{
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
graphic: string;
|
graphic: string;
|
||||||
value: string;
|
value: string;
|
||||||
}[]
|
}>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PupilFieldsResponse = ClassChartsResponse<PupilFieldsData, []>;
|
export type PupilFieldsResponse = ClassChartsResponse<PupilFieldsData, []>;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue