UNPKG

opencart-manager

Version:

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

14 lines (13 loc) 586 B
import Option from "../entities/option"; import OptionValue from "../entities/option-value"; import IFactory from "../interfaces/factory"; import type Model from "../model"; import { TOptionValue } from "../types"; export default class OptionValueFactory implements IFactory<OptionValue> { private model; constructor(model: Model); create(option: Option): OptionValue; extract(criteria: Partial<TOptionValue>): Promise<OptionValue | undefined>; extractAll(criteria: Partial<TOptionValue>): Promise<OptionValue[]>; private createEntityFromRowData; }