UNPKG

@tomei/product

Version:

NestJS package for product module

12 lines (11 loc) 544 B
import { RepositoryBase, IRepositoryBase } from '@tomei/general'; import { ProductBrandModel } from '../../entities/product-brand.entity'; export declare class ProductBrandRepository extends RepositoryBase<ProductBrandModel> implements IRepositoryBase<ProductBrandModel> { constructor(); findByPk(brand: string, transaction: any): Promise<ProductBrandModel>; delete(brand: string, dbTransaction?: any): Promise<void>; findAndCountAll(options?: any): Promise<{ rows: ProductBrandModel[]; count: number; }>; }