fix notif
This commit is contained in:
@@ -7,6 +7,7 @@ export interface AppNotification {
|
||||
created_by?: number | null
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
reads_count?: number
|
||||
}
|
||||
|
||||
export const APP_NOTIFICATION_SEVERITIES = [
|
||||
@@ -15,3 +16,15 @@ export const APP_NOTIFICATION_SEVERITIES = [
|
||||
{ value: 'warning', label: 'هشدار (warning)' },
|
||||
{ value: 'danger', label: 'مهم / خطر (danger)' },
|
||||
] as const
|
||||
|
||||
export interface AppNotificationReader {
|
||||
customer_id: number
|
||||
name: string
|
||||
mobile?: string | null
|
||||
read_at?: string | null
|
||||
}
|
||||
|
||||
export interface AppNotificationReadersResponse {
|
||||
reads_count: number
|
||||
readers: AppNotificationReader[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user