UNPKG

@comparaonline/offers-models-factories

Version:
16 lines (15 loc) 580 B
import { EntityDataTypes } from '@comparaonline/offers-models-constants'; import { EntityNumber, FormatNumber } from '@comparaonline/offers-models'; import { EntityParams } from '../Entity'; export default interface EntityNumberParams extends EntityParams { dataType: EntityDataTypes.integer; config: { format: FormatNumber; }; } export declare class EntityNumberFactory { options: EntityNumberParams; constructor(); build(options?: EntityNumberParams): EntityNumber; } export declare const entityNumberFactory: EntityNumberFactory;