// Product Tag export type ProductTags = 'nike' | 'puma' | 'lifestyle' | 'caprese'; // Product Colors export type ProductColor = 'white' | 'black' | 'red' | 'green' | 'purple' | 'yellow' | 'blue' | 'gray' | 'orange' | 'pink'; export class Product { id?: number; name?: string; price?: number; salePrice?: number; discount?: number; pictures?: Array<any>; small?: Array<string>; shortDetails?: string; description?: string; stock?: number; newPro?: boolean; brand?: string; state?: string; sale?: boolean; category?: string; tags?: ProductTags[]; colors?: ProductColor[]; constructor( id?: number, name?: string, price?: number, salePrice?: number, discount?: number, pictures?: Array<any>, small?: Array<string>, shortDetails?: string, description?: string, stock?: number, newPro?: boolean, brand?: string, state?: string, sale?: boolean, category?: string, tags?: ProductTags[], colors?: ProductColor[] ) { this.id = id; this.name = name; this.price = price; this.salePrice = salePrice; this.discount = discount; this.pictures = pictures; this.shortDetails = shortDetails; this.description = description; this.stock = stock; this.newPro = newPro; this.brand = brand; this.state = state; this.sale = sale; this.category = category; this.tags = tags; this.colors = colors; this.small = small; } } // Color Filter export interface ColorFilter { color?: ProductColor; }