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:
parent
0874ffb835
commit
16ed8d3420
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user