Files
hrynco-notification-service/HrynCo.NotificationService.Web/Controllers/Api/Services/PushTemplateTranslationRequest.cs
T
agrynco 517b38791b feat(api): manage localized push template definitions
Add revision-protected reads, atomic upsert and deletion with structured actions. Preserve omitted translations and fix insertion of new push languages.

Ref: IT-1627
2026-10-31 10:03:47 +02:00

12 lines
394 B
C#

using HrynCo.NotificationService.DAL.Abstract.Templates;
namespace HrynCo.NotificationService.Web.Controllers.Api.Services;
public sealed class PushTemplateTranslationRequest
{
public required string LanguageCode { get; init; }
public required string Title { get; init; }
public required string Body { get; init; }
public PushTemplateActions Actions { get; init; } = new();
}