feat(dal,templateMatcher): Shortcodes добавлены %МАКС:ИМЯ АТРИБУТА%, %ГР_ПОЛЕ-ПН%, %БУКВЫ:ИМЯ АТРИБУТА%, исправлена фильтрация в UnitFilter, TemplateMatcher отдельные классы для типов работ, Shortcodes теперь работает по своим моделям Dto
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace PARR.DAL.DomainServices.Interfaces
|
||||
{
|
||||
public interface IGroupedShortcodesCacheService
|
||||
{
|
||||
Task<string> GetAggregatedValueAsync(
|
||||
Guid unitId,
|
||||
string shortcodeKey,
|
||||
Func<Task<string>> computeIfMissing);
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using PARR.DAL.DomainModels;
|
||||
|
||||
namespace PARR.DAL.DomainServices.Interfaces
|
||||
{
|
||||
public interface IShortcodesService
|
||||
{
|
||||
Task<string> ApplyShortcodesAsync(string str, Guid unitId, Guid jobId, int? index = null);
|
||||
|
||||
bool IsAnyShortcodes(string str);
|
||||
|
||||
Task<List<ShortcodeInfoDto>> GetAvailableShortcodesAsync();
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
using PARR.DAL.Models.Job;
|
||||
using PARR.DAL.Models.Unit;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PARR.DAL.DomainServices.Interfaces
|
||||
{
|
||||
public interface ITemplateNameGeneratorService
|
||||
{
|
||||
Task<string> GetTemplateNameAsync(Guid jobId, Guid unitId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user