From 16ed8d342032fdee02971a028ac74db23e46c259 Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 10 Oct 2024 14:15:17 +0200 Subject: [PATCH] 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. --- apps/backend/src/app/machines/machines.controller.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/backend/src/app/machines/machines.controller.ts b/apps/backend/src/app/machines/machines.controller.ts index 5348725..a2d158d 100644 --- a/apps/backend/src/app/machines/machines.controller.ts +++ b/apps/backend/src/app/machines/machines.controller.ts @@ -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")