Files
boursecu_admin/src/model/priceTriggers.ts
T
mohmdsdgandCursor c332e9df24 feat(admin): let price alerts pick a product
Show the product on the form and table so each alert is tied to one item.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 22:23:22 +03:30

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
}