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:
parent
fb0b7c7036
commit
1618bee00d
@ -1,4 +1,6 @@
|
|||||||
import { Controller } from '@nestjs/common';
|
import { Controller } from '@nestjs/common';
|
||||||
|
|
||||||
@Controller('stocks')
|
@Controller('stocks')
|
||||||
export class StocksController {}
|
export class StocksController {
|
||||||
|
//TODO CRUD by admin
|
||||||
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import { Injectable } from '@nestjs/common';
|
import { Injectable } from '@nestjs/common';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class StocksService {}
|
export class StocksService {
|
||||||
|
//CRUD on products stocks
|
||||||
|
}
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
import { Controller } from '@nestjs/common';
|
import { Controller } from '@nestjs/common';
|
||||||
|
|
||||||
@Controller('transactions')
|
@Controller('transactions')
|
||||||
export class TransactionsController {}
|
export class TransactionsController {
|
||||||
|
|
||||||
|
//TODO GET All transactions (admin)
|
||||||
|
|
||||||
|
//TODO GET User transactions
|
||||||
|
|
||||||
|
//TODO GET Transactions stats ?
|
||||||
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import { Injectable } from '@nestjs/common';
|
import { Injectable } from '@nestjs/common';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class TransactionsService {}
|
export class TransactionsService {
|
||||||
|
//TODO CRUD of transactions
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user