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:
Mathis H (Avnyr) 2024-07-12 14:24:02 +02:00
parent cb8de798c3
commit b03b178fe3
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
2 changed files with 19 additions and 2 deletions

View File

@ -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.
}

View File

@ -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.
}