Files
social-media/backend/Modules/Notifications/Contracts/INotificationEventWriter.cs
Jonathan Bourdon df3e602015
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled
feat: pivot to social media workflow app
2026-04-24 12:58:35 -04:00

18 lines
460 B
C#

namespace Socialize.Modules.Notifications.Contracts;
public record NotificationEventWriteModel(
Guid WorkspaceId,
Guid? ContentItemId,
string EventType,
string EntityType,
Guid EntityId,
string Message,
Guid? RecipientUserId,
string? RecipientEmail,
string? MetadataJson);
public interface INotificationEventWriter
{
Task WriteAsync(NotificationEventWriteModel model, CancellationToken cancellationToken = default);
}