UNPKG

@comparaonline/offers-models-factories

Version:
14 lines (13 loc) 522 B
import { EntityDataTypes } from '@comparaonline/offers-models-constants'; import { EntityTerm, Config } from '@comparaonline/offers-models'; import { EntityParams } from '../Entity'; export default interface EntityTermParams extends EntityParams { dataType: EntityDataTypes.term; config: Config; } export declare class EntityTermFactory { options: EntityTermParams; constructor(); build(options?: EntityTermParams): EntityTerm; } export declare const entityTermFactory: EntityTermFactory;