Merge branch 'dev' into feat/frontend-controllers-adriaan
This commit is contained in:
commit
9f975977e0
257 changed files with 6698 additions and 3672 deletions
|
@ -1,4 +1,9 @@
|
|||
import { BaseController } from "./base-controller";
|
||||
import type { ClassDTO } from "@dwengo-1/interfaces/class";
|
||||
|
||||
export interface ClassesResponse {
|
||||
classes: ClassDTO[] | string[];
|
||||
}
|
||||
|
||||
export class ClassController extends BaseController {
|
||||
constructor() {
|
||||
|
@ -32,4 +37,4 @@ export class ClassController extends BaseController {
|
|||
getAssignments(id: string, full = true) {
|
||||
return this.get<{ assignments: any[] }>(`/${id}/assignments`, { full });
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue