@megaads/wm
Version:
To install the library, use npm:
27 lines (23 loc) • 502 B
text/typescript
export interface PriceOptions {
currencyUnit: string;
}
export interface PriceChangeFilter {
pIdCol: string;
columns: string[];
flashSaleData?: FlashSale;
decorMoney?: Money;
}
export interface Money {
type: "add" | "percent" | "replace";
value: number;
}
export interface FlashSaleData {
is_flash_sale: boolean;
high_price?: number;
end_at?: string;
sale_percent?: number;
}
export interface FlashSale {
sale_percent?: number;
end_at?: string;
}