// Notification commands — desktop notification via notify-rust

use crate::error::AppError;
use crate::notifications;

#[tauri::command]
pub fn notify_desktop(title: String, body: String, urgency: String) -> Result<(), AppError> {
    notifications::send_desktop_notification(&title, &body, &urgency)
        .map_err(AppError::internal)
}
