mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Enhance CI workflow with environment variables for build and add artifact upload step. Update ProtectedRoute and AdminRoute to save return URL for authentication. Introduce cabinet notification settings in admin ticket management and update localization files for new notification strings.
This commit is contained in:
@@ -517,6 +517,7 @@ export interface ManualCheckResponse {
|
||||
new_status: string | null
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
// Ticket notification types
|
||||
export interface TicketNotification {
|
||||
id: number
|
||||
@@ -525,13 +526,42 @@ export interface TicketNotification {
|
||||
message: string
|
||||
is_read: boolean
|
||||
created_at: string
|
||||
=======
|
||||
// Ticket notifications types
|
||||
export interface TicketNotification {
|
||||
id: number
|
||||
ticket_id: number
|
||||
notification_type: 'new_ticket' | 'admin_reply' | 'user_reply'
|
||||
message: string | null
|
||||
is_read: boolean
|
||||
created_at: string
|
||||
read_at: string | null
|
||||
>>>>>>> af948391078db4bb97a333feb7e0ddfcf638b076
|
||||
}
|
||||
|
||||
export interface TicketNotificationList {
|
||||
items: TicketNotification[]
|
||||
<<<<<<< HEAD
|
||||
total: number
|
||||
=======
|
||||
unread_count: number
|
||||
>>>>>>> af948391078db4bb97a333feb7e0ddfcf638b076
|
||||
}
|
||||
|
||||
export interface UnreadCountResponse {
|
||||
unread_count: number
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
// Extended TicketSettings with cabinet notifications
|
||||
export interface TicketSettings {
|
||||
sla_enabled: boolean
|
||||
sla_minutes: number
|
||||
sla_check_interval_seconds: number
|
||||
sla_reminder_cooldown_minutes: number
|
||||
support_system_mode: string
|
||||
cabinet_user_notifications_enabled: boolean
|
||||
cabinet_admin_notifications_enabled: boolean
|
||||
}
|
||||
>>>>>>> af948391078db4bb97a333feb7e0ddfcf638b076
|
||||
|
||||
Reference in New Issue
Block a user