Merge branch 'dev' into feat/frontend-controllers-adriaan

This commit is contained in:
Adriaan J. 2025-04-03 11:38:31 +02:00 committed by GitHub
commit 9f975977e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
257 changed files with 6698 additions and 3672 deletions

View file

@ -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 });
}
}
}