Refactor machines controller todo comments

Removed obsolete todos for DTO and Patch operations. Added todos for types handling related to machine operations as placeholders for future implementation.
This commit is contained in:
Mathis H (Avnyr) 2024-10-10 14:15:17 +02:00
parent 0874ffb835
commit 16ed8d3420
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -30,7 +30,6 @@ export class MachinesController {
return await this.machineService.findMany(limit, offset, search);
}
//TODO DTO
@UseGuards(AdminGuard)
@Post("new")
async newMachine(@Body() body: CreateMachineDto) {
@ -41,9 +40,9 @@ export class MachinesController {
@Delete(":machineId")
async deleteMachine(@Param("machineId") machineId: string) {}
//TODO Patch
//TODO CRUD fileType associated to machine
//TODO Type add for machine
//TODO Type remove for machine
//TODO Type list for machine
@HttpCode(HttpStatus.OK)
@Get("files/:machineId")