docs(products): add TODOs for future functionalities
This commit introduces several TODOs for future operations on the 'products' service and controller. These primarily outline desired functionalities such as adding, editing, and deleting a product, and listing all products with pagination.
This commit is contained in:
parent
cb8de798c3
commit
b03b178fe3
@ -1,4 +1,12 @@
|
|||||||
import { Controller } from '@nestjs/common';
|
import { Controller } from '@nestjs/common';
|
||||||
|
|
||||||
@Controller('products')
|
@Controller('products')
|
||||||
export class ProductsController {}
|
export class ProductsController {
|
||||||
|
//TODO add a new product (admin)
|
||||||
|
|
||||||
|
//TODO edit a product (admin)
|
||||||
|
|
||||||
|
//TODO delete a product (admin)
|
||||||
|
|
||||||
|
//TODO list all product with pagination.
|
||||||
|
}
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
import { Injectable } from '@nestjs/common';
|
import { Injectable } from '@nestjs/common';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ProductsService {}
|
export class ProductsService {
|
||||||
|
//TODO add a new product (admin)
|
||||||
|
|
||||||
|
//TODO edit a product (admin)
|
||||||
|
|
||||||
|
//TODO delete a product (admin)
|
||||||
|
|
||||||
|
//TODO list all product with pagination.
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user