UNPKG

opencart-manager

Version:

Node.js package helping to manage your opencart store data easily.

13 lines (12 loc) 560 B
import AttributeGroup from "../entities/attribute-group"; import IFactory from "../interfaces/factory"; import type Model from "../model"; import { TAttributeGroup } from "../types"; export default class AttributeGroupFactory implements IFactory<AttributeGroup> { private model; constructor(model: Model); create(): AttributeGroup; extract(criteria: Partial<TAttributeGroup>): Promise<AttributeGroup | undefined>; extractAll(criteria: Partial<TAttributeGroup>): Promise<AttributeGroup[]>; private createEntityFromRowData; }