Show the product on the form and table so each alert is tied to one item. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
350 B
TypeScript
15 lines
350 B
TypeScript
export interface PriceTriggers{
|
|
id?: number
|
|
customer_id: number
|
|
product_id?: number
|
|
product?: { id: number; title?: string }
|
|
target_price: number
|
|
price_condition: string
|
|
action: string
|
|
direction: null
|
|
is_active: boolean
|
|
triggered_at?: string
|
|
created_at: string
|
|
updated_at: string
|
|
deleted_at: null
|
|
} |