24 lines
507 B
TypeScript
24 lines
507 B
TypeScript
export interface PriceSyncLogItem {
|
|
id: number
|
|
log_id: number
|
|
product_id?: number | null
|
|
product_title?: string | null
|
|
reading_method?: string | null
|
|
source_name?: string | null
|
|
base_price: number
|
|
base_profit: number
|
|
offset_percent: number
|
|
stored_price: number
|
|
previous_price: number
|
|
}
|
|
|
|
export interface PriceSyncLog {
|
|
id: number
|
|
source: string
|
|
source_url?: string | null
|
|
liquid_gold_price: number
|
|
products_updated: number
|
|
created_at: string
|
|
items?: PriceSyncLogItem[]
|
|
}
|