From d171c72dcfa74facf2904b68aafeca685c71b8bd Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 8 Oct 2024 13:38:07 +0200 Subject: [PATCH] Add TODO comments for future improvements Inserted TODO comments to signal necessary future additions like DTOs, patches, and CRUD operations associated with machine file types. These placeholders will help guide the development of these features. --- apps/backend/src/app/machines/machines.controller.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/backend/src/app/machines/machines.controller.ts b/apps/backend/src/app/machines/machines.controller.ts index 13fce74..c015db9 100644 --- a/apps/backend/src/app/machines/machines.controller.ts +++ b/apps/backend/src/app/machines/machines.controller.ts @@ -24,6 +24,7 @@ export class MachinesController { @Query("search", new DefaultValuePipe("")) search: string, ) {} + //TODO DTO @UseGuards(AdminGuard) @Post("new") async newMachine() {} @@ -34,6 +35,8 @@ export class MachinesController { //TODO Patch + //TODO CRUD fileType associated to machine + @Get(":machineId/files") async getFilesForMachine( @Query("limit", new DefaultValuePipe(20), ParseIntPipe) limit: number,