@comparaonline/offers-models-factories
Version:
Models for comparaonline offers
16 lines (15 loc) • 580 B
TypeScript
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;