UNPKG

e-commercee

Version:

This package contains a backend of what would be the logic of a e-commercee software, the architecture used is made in 3 layers

17 lines (15 loc) 578 B
import { Article } from "../../shared/entity/Article"; import { Category } from "../../shared/entity/Category"; export interface ILArticle { getArticle(barcode: string) ; addArticle(dtart: Article); deleteArticle(dtart: Article); updateArticle(dtart: Article); registerStock(barcode: string,quantity:number) ; deStock(barcode: string,quantity:number); getArticlesByNameLetter(expression: string) ; orderArticlesbyPrice(); orderArticlesbyCategory(); getArticles() ; filterArticlesbyCategory(namecategory:string); }