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 (14 loc) 510 B
import { Article } from "../../shared/entity/Article"; import { Category } from "../../shared/entity/Category"; export interface IDArticle { addArticle(dtcat: Article); getArticle(barcode:string); updateArticle(dtart: Article); deleteArticle(dtart: Article); updateStock(dtart: Article); getArticlesByNameLetter(expression: string); getArticles(); orderArticlesbyPrice(); orderArticlesbyCategory(); filterArticlesbyCategory(namecategory:string); }