add chnanges

This commit is contained in:
Swapnil Bendal
2024-12-10 20:57:52 +05:30
parent ca6d4551ca
commit ac7b46c661
16 changed files with 2064 additions and 3965 deletions

View File

@@ -1,7 +1,7 @@
import { Product } from "../entities/Product";
export interface IProductInteractor {
createProduct(input: any): Promise<Product>;
createProduct(input: never): Promise<Product>;
updateStock(id: number, stock: number): Promise<Product>;
getProducts(limit: number, offset: number): Promise<Product[]>;
}