feat(templateMatcher): refactoring
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using PARR.Common.Domain;
|
||||
using PARR.DAL.Models;
|
||||
|
||||
namespace PARR.TemplateMatcher.Services.Interfaces
|
||||
{
|
||||
public interface ITemplateDeactivator
|
||||
{
|
||||
Task<bool> DeactivateTemplateAsync(Template template, HistoryInitiator initiator);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using PARR.DAL.Models.Job;
|
||||
|
||||
namespace PARR.TemplateMatcher.Services.Interfaces
|
||||
{
|
||||
public interface ITemplateNameNormalizer
|
||||
{
|
||||
Task<string> GetNormalizedTemplateNameAsync(Job job, Guid unitId, int? index = null, List<Guid>? templateUnitIds = null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using PARR.BLL.Domain.Mq;
|
||||
|
||||
namespace PARR.TemplateMatcher.Services.Interfaces
|
||||
{
|
||||
public interface ITemplateUpdaterMqSender
|
||||
{
|
||||
Task SendTemplateUpdateMessageAsync(TemplateUpdaterMq updateRequest);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user