fix notif

This commit is contained in:
2026-07-24 17:01:40 +03:30
parent ab83ba7e6a
commit 3c41a3d23f
11 changed files with 147 additions and 24 deletions
+13
View File
@@ -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[]
}