mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2025-12-30 09:28:22 -05:00
14 lines
491 B
C#
14 lines
491 B
C#
using Cleanuparr.Domain.Enums;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.Notifications;
|
|
|
|
public interface INotificationPublisher
|
|
{
|
|
Task NotifyStrike(StrikeType strikeType, int strikeCount);
|
|
|
|
Task NotifyQueueItemDeleted(bool removeFromClient, DeleteReason reason);
|
|
|
|
Task NotifyDownloadCleaned(double ratio, TimeSpan seedingTime, string categoryName, CleanReason reason);
|
|
|
|
Task NotifyCategoryChanged(string oldCategory, string newCategory, bool isTag = false);
|
|
} |