Sync live quote handling, SSE product images, store hours, file URL normalization, PWA icon cache, TV monitor, about software, SuperAdmin menu gates, price alerts, and related UX from modular while preserving boursecu branding and config constraints. Co-authored-by: Cursor <cursoragent@cursor.com>
38 lines
702 B
TypeScript
38 lines
702 B
TypeScript
/*export interface Series {
|
|
x: string
|
|
y: Array<number>
|
|
}*/
|
|
export interface Series {
|
|
|
|
}
|
|
|
|
/*
|
|
export interface Chart {
|
|
Array<Series>
|
|
}
|
|
*/
|
|
|
|
export interface PriceUp {
|
|
buy: number
|
|
sell: number
|
|
}
|
|
|
|
export type PriceStatus = 'open' | 'closed' | 'no_quote'
|
|
|
|
export interface Price {
|
|
sell: number
|
|
buy: number
|
|
price: number
|
|
price_last: number
|
|
goldir?: number
|
|
up?: PriceUp
|
|
closed?: boolean
|
|
status?: PriceStatus
|
|
time?: string
|
|
main_product?: number
|
|
montzar?: number
|
|
zaarbox?: number
|
|
/** montzar | zaarbox | main_product | store = مظنه زنده، database_last = آخرین قیمت ذخیرهشده */
|
|
price_source?: string | null
|
|
last_historical?: number
|
|
} |