8e81572386
Add revision-safe service and template APIs, channel mapping, and validated admin controls. Ref: IT-1601
12 lines
476 B
C#
12 lines
476 B
C#
namespace HrynCo.NotificationService.DAL.Abstract.Templates;
|
|
|
|
public sealed class EmailTemplateDefinitionPatch
|
|
{
|
|
public Guid ServiceId { get; init; }
|
|
public required string Key { get; init; }
|
|
public Guid? Revision { get; init; }
|
|
public required IReadOnlyList<EmailTemplateVariable> Variables { get; init; }
|
|
public required IReadOnlyList<EmailTemplate> Translations { get; init; }
|
|
public IReadOnlyList<string> RemoveLanguageCodes { get; init; } = [];
|
|
}
|