mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
feat: getFullActivity
Co-Authored-By: Tim <65774333+timthedev07@users.noreply.github.com>
This commit is contained in:
parent
0f21e7d744
commit
eea157566c
2 changed files with 43 additions and 3 deletions
13
src/types.ts
13
src/types.ts
|
|
@ -299,4 +299,15 @@ export interface Pupil extends Student {
|
|||
announcements_count: number;
|
||||
messages_count: number;
|
||||
}
|
||||
export type GetPupilsResponse = Array<Pupil>;
|
||||
export type GetPupilsResponse = Array<Pupil>;
|
||||
|
||||
export interface GetFullActivityOptions {
|
||||
/**
|
||||
* From date, in format YYYY-MM-DD
|
||||
*/
|
||||
from: string;
|
||||
/**
|
||||
* To date, in format YYYY-MM-DD
|
||||
*/
|
||||
to: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue