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.
This commit is contained in:
parent
e931822010
commit
d171c72dcf
@ -24,6 +24,7 @@ export class MachinesController {
|
|||||||
@Query("search", new DefaultValuePipe("")) search: string,
|
@Query("search", new DefaultValuePipe("")) search: string,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
//TODO DTO
|
||||||
@UseGuards(AdminGuard)
|
@UseGuards(AdminGuard)
|
||||||
@Post("new")
|
@Post("new")
|
||||||
async newMachine() {}
|
async newMachine() {}
|
||||||
@ -34,6 +35,8 @@ export class MachinesController {
|
|||||||
|
|
||||||
//TODO Patch
|
//TODO Patch
|
||||||
|
|
||||||
|
//TODO CRUD fileType associated to machine
|
||||||
|
|
||||||
@Get(":machineId/files")
|
@Get(":machineId/files")
|
||||||
async getFilesForMachine(
|
async getFilesForMachine(
|
||||||
@Query("limit", new DefaultValuePipe(20), ParseIntPipe) limit: number,
|
@Query("limit", new DefaultValuePipe(20), ParseIntPipe) limit: number,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user