feat(templateMatcher): добавлен метод UpdateTemplatesForJob, MatchTemplates переименован в SyncTemplatesForJob+расширена логика работы.

This commit is contained in:
Mikhail Kuznetsov
2025-12-04 09:24:05 +10:00
parent 74419c0435
commit 219dadda1e
7 changed files with 289 additions and 55 deletions

View File

@@ -1,9 +1,10 @@
namespace PARR.TemplateMatcher
using PARR.Common.Domain;
namespace PARR.TemplateMatcher
{
internal interface ITemplateMatcher
{
Task MatchTemplatesForJob(Guid jobId);
Task MatchTemplatesForJobGroup(Guid jobGroupId);
Task MatchTemplatesForTemplate(Guid templateId);
Task SyncTemplatesForJob(Guid jobId, HistoryInitiator initiator);
Task UpdateTemplatesForJob(Guid jobId, HistoryInitiator initiator);
}
}