Skip to content

Commit

Permalink
fix clear code
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhsaikhan committed Sep 5, 2022
1 parent 983fa2d commit 3911240
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/plugin-posclient-api/src/models/Products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const checkSKU = (doc: IProduct) => {
};

export interface IProductModel extends Model<IProductDocument> {
updateProductCategory(productIds: any, productFields: any);
getProduct(selector: any): Promise<IProductDocument>;
createProduct(doc: IProduct): Promise<IProductDocument>;
updateProduct(_id: string, doc: IProduct): Promise<IProductDocument>;
Expand Down
5 changes: 0 additions & 5 deletions packages/plugin-products-api/src/models/Products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ import {
} from './definitions/products';

export interface IProductModel extends Model<IProductDocument> {
updateProductCategory(
productIds: any,
productFields: any,
user: IUserDocument
);
getProduct(selector: any): Promise<IProductDocument>;
createProduct(doc: IProduct): Promise<IProductDocument>;
updateProduct(_id: string, doc: IProduct): Promise<IProductDocument>;
Expand Down

0 comments on commit 3911240

Please sign in to comment.