feat(dal, templateMatcher): изменена логика работы Shortcodes сервиса в сторону самостоятельной дозагрузки данных из БД, в Template сервис добавлен метод атомарного резервирования шаблона для TemplateMatcher
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
using PARR.DAL.DomainModels;
|
||||
using PARR.DAL.DomainServices.Shortcodes.Models;
|
||||
using PARR.DAL.Models;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace PARR.DAL.DomainServices.Shortcodes
|
||||
{
|
||||
public interface IShortcodesService
|
||||
{
|
||||
Task<string> ApplyShortcodesAsync(string str, TemplateForShortcodes template);
|
||||
|
||||
Task<string> ApplyShortcodesAsync(string str, Template template);
|
||||
|
||||
// bool IsAnyShortcodes(string str);
|
||||
Task<string> ApplyShortcodesAsync(string str, Template template, [CallerMemberName] string? caller = null);
|
||||
|
||||
Task<List<ShortcodeInfoDto>> GetAvailableShortcodesAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user