export type NotificationType =
    | 'nudge'
    | 'declaration_overdue'
    | 'document_uploaded'
    | 'bulk_notification'
    | 'status_changed';

export type NotificationData = {
    workspace_id: number;
    notification_type: NotificationType;
    declaration_id?: number;
    sender_id?: number;
    client_id?: number;
    declaration_title?: string;
    sender_name?: string;
    url?: string;
};

export type AppNotification = {
    id: string;
    type: string;
    data: NotificationData;
    read_at: string | null;
    created_at: string;
    updated_at: string;
};
