Add ToastProvider to main app component, integrate TicketNotificationBell in Layout, and define ticket notification types in types index. Enhance globals.css with toast progress bar animation.

This commit is contained in:
PEDZEO
2026-01-19 00:41:55 +03:00
parent 8667945501
commit af96eecac7
8 changed files with 701 additions and 1 deletions

View File

@@ -516,3 +516,22 @@ export interface ManualCheckResponse {
old_status: string | null
new_status: string | null
}
// Ticket notification types
export interface TicketNotification {
id: number
ticket_id: number
notification_type: string
message: string
is_read: boolean
created_at: string
}
export interface TicketNotificationList {
items: TicketNotification[]
total: number
}
export interface UnreadCountResponse {
unread_count: number
}