UNPKG

@comparaonline/offers-models-factories

Version:
20 lines (19 loc) 683 B
import { Entity, ProductAttribute } from '@comparaonline/offers-models'; export interface ProductAttributeParams { value?: any; extraDescription?: string; entity?: Entity; level?: number; featured?: boolean; enabled?: boolean; isAccurate?: boolean; strikedthrough?: boolean; landingGroup?: boolean; } export declare class ProductAttributeFactory { constructor(); build(options?: ProductAttributeParams): ProductAttribute; buildType(dataType: string, options?: ProductAttributeParams): ProductAttribute; buildEntity(dataType: any): Entity; } export declare const productAttributeFactory: ProductAttributeFactory;