docs: Add TODO comments to transactions and stocks services

This commit adds structured TODO comments to the transactions and stocks services and their associated controllers. Each TODO comment provides guidelines on what needs to be done next such as implementing CRUD operations and features specific to admin and users.
This commit is contained in:
Mathis H (Avnyr) 2024-07-12 14:28:15 +02:00
parent fb0b7c7036
commit 1618bee00d
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
4 changed files with 17 additions and 4 deletions

View File

@ -1,4 +1,6 @@
import { Controller } from '@nestjs/common';
@Controller('stocks')
export class StocksController {}
export class StocksController {
//TODO CRUD by admin
}

View File

@ -1,4 +1,6 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class StocksService {}
export class StocksService {
//CRUD on products stocks
}

View File

@ -1,4 +1,11 @@
import { Controller } from '@nestjs/common';
@Controller('transactions')
export class TransactionsController {}
export class TransactionsController {
//TODO GET All transactions (admin)
//TODO GET User transactions
//TODO GET Transactions stats ?
}

View File

@ -1,4 +1,6 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class TransactionsService {}
export class TransactionsService {
//TODO CRUD of transactions
}