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 { AssignmentDTO } from "@dwengo-1/interfaces/assignment";
|
||||
|
||||
export interface AssignmentsResponse {
|
||||
assignments: AssignmentDTO[];
|
||||
} // TODO ID
|
||||
|
||||
export class AssignmentController extends BaseController {
|
||||
constructor(classid: string) {
|
||||
|
@ -32,4 +37,4 @@ export class AssignmentController extends BaseController {
|
|||
getGroups(assignmentNumber: number, full = true) {
|
||||
return this.get<{ groups: any[] }>(`/${assignmentNumber}/groups`, { full });
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue