feat(dal, templateMatcher): изменена логика работы Shortcodes сервиса в сторону самостоятельной дозагрузки данных из БД, в Template сервис добавлен метод атомарного резервирования шаблона для TemplateMatcher

This commit is contained in:
Mikhail Kuznetsov
2026-01-16 18:26:06 +10:00
parent 99a491ede8
commit d91877453a
25 changed files with 822 additions and 509 deletions

View File

@@ -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();
}