feat(push): add service-owned firebase channels and delivery

Add push contracts, provider delivery and channel diagnostics. Link email channels to services and document migration and validation.

Ref: IT-1074
This commit is contained in:
2026-10-24 12:31:35 +03:00
parent b30dba93e8
commit 1631786ce2
105 changed files with 3838 additions and 147 deletions
@@ -0,0 +1,7 @@
namespace HrynCo.NotificationService.DAL.Abstract.Push;
public interface IPushDeliveryRepository
{
Task<PushDeliveryOutcome> DeliverOnceAsync(Guid messageId, string serviceName,
Func<CancellationToken, Task<PushDeliveryOutcome>> deliver, CancellationToken cancellationToken);
}
@@ -0,0 +1,3 @@
namespace HrynCo.NotificationService.DAL.Abstract.Push;
public sealed record PushDeliveryOutcome(string? Error, bool InvalidRegistration = false);