mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
feat: i know how to use optional arguments
This commit is contained in:
parent
d0ed8b1cd7
commit
0f8f0a5027
23 changed files with 110 additions and 82 deletions
10
src/types.d.ts
vendored
10
src/types.d.ts
vendored
|
|
@ -37,8 +37,8 @@ export interface Student {
|
|||
detention_alias_plural_uc: string
|
||||
}
|
||||
export interface GetActivityOptions {
|
||||
from: string | undefined
|
||||
to: string | undefined
|
||||
from?: string
|
||||
to?: string
|
||||
}
|
||||
export interface ActivityTimelinePoint {
|
||||
positive: number
|
||||
|
|
@ -57,9 +57,9 @@ export interface ActivityResponse {
|
|||
other_negative_count: Array<any>
|
||||
}
|
||||
export interface GetBehaviourOptions {
|
||||
from: string | undefined
|
||||
to: string | undefined
|
||||
last_id: string | undefined
|
||||
from?: string
|
||||
to?: string
|
||||
last_id?: string
|
||||
}
|
||||
export interface BehaviourPoint {
|
||||
id: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue