feat(infrastructure): add job interfaces for background processing

This commit is contained in:
2024-12-20 12:00:00 -05:00
parent 38aa3fb12e
commit 92f9ed001c
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
namespace IncidentOps.Infrastructure.Jobs;
public interface IEscalateIfUnackedJob
{
Task ExecuteAsync(Guid incidentId, int step);
}

View File

@@ -0,0 +1,6 @@
namespace IncidentOps.Infrastructure.Jobs;
public interface IIncidentTriggeredJob
{
Task ExecuteAsync(Guid incidentId);
}

View File

@@ -0,0 +1,6 @@
namespace IncidentOps.Infrastructure.Jobs;
public interface ISendWebhookNotificationJob
{
Task ExecuteAsync(Guid incidentId, Guid targetId);
}