Skip to content

Commit

Permalink
add class filters
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Sep 24, 2024
1 parent 3972609 commit 1879a14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/endpoints/klass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ export type ListClassesResult = _ListResult<
}
}
>
export type ListClassesArg = _ListArg<{ teacher: Teacher["id"] }>
export type ListClassesArg = _ListArg<{
teacher: Teacher["id"]
_id: Class["id"] | Class["id"][]
id_or_name: string
}>

export default function getReadClassEndpoints<
RetrieveResult extends _RetrieveResult<Class> = RetrieveClassResult,
Expand Down

0 comments on commit 1879a14

Please sign in to comment.