[fixed] - stable

This commit is contained in:
Swapnil Bendal
2024-12-17 21:29:26 +05:30
parent bf915d8e91
commit 7de26a3c1c
4 changed files with 5 additions and 5 deletions

View File

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