mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 23:08:42 +01:00
rework notifications infrastructure
This commit is contained in:
@@ -140,19 +140,12 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <returns>Task.</returns>
|
||||
Task MarkNotificationsRead(string userId, IEnumerable<Guid> notificationIdList, bool isRead);
|
||||
|
||||
/// <summary>
|
||||
/// Updates the notification.
|
||||
/// </summary>
|
||||
/// <param name="notification">The notification.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task UpdateNotification(Notification notification);
|
||||
|
||||
/// <summary>
|
||||
/// Adds the notification.
|
||||
/// </summary>
|
||||
/// <param name="notification">The notification.</param>
|
||||
/// <returns>Task{Notification}.</returns>
|
||||
Task<Notification> AddNotification(Notification notification);
|
||||
Task SendNotification(NotificationRequest notification);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the notifications summary.
|
||||
|
||||
Reference in New Issue
Block a user