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);
|
return await this.machineService.findMany(limit, offset, search);
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO DTO
|
|
||||||
@UseGuards(AdminGuard)
|
@UseGuards(AdminGuard)
|
||||||
@Post("new")
|
@Post("new")
|
||||||
async newMachine(@Body() body: CreateMachineDto) {
|
async newMachine(@Body() body: CreateMachineDto) {
|
||||||
@ -41,9 +40,9 @@ export class MachinesController {
|
|||||||
@Delete(":machineId")
|
@Delete(":machineId")
|
||||||
async deleteMachine(@Param("machineId") machineId: string) {}
|
async deleteMachine(@Param("machineId") machineId: string) {}
|
||||||
|
|
||||||
//TODO Patch
|
//TODO Type add for machine
|
||||||
|
//TODO Type remove for machine
|
||||||
//TODO CRUD fileType associated to machine
|
//TODO Type list for machine
|
||||||
|
|
||||||
@HttpCode(HttpStatus.OK)
|
@HttpCode(HttpStatus.OK)
|
||||||
@Get("files/:machineId")
|
@Get("files/:machineId")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user