export type NotificationPriority = "low" | "medium" | "high" | "critical";

export interface Notification {
  id: number;
  /** "ticket_assigned" | "ticket_mention" (unknown types fall back to a default icon). */
  type: string;
  title: string;
  summary: string;
  priority: NotificationPriority;
  is_read: boolean;
  /** Deep-link to the related resource (e.g. the ticket). */
  action_url: string;
  created_at: string;
}

export interface NotificationUnreadCount {
  unread: number;
}
