namespace ROLAC.API.DTOs.Push;

/// <summary>The PushSubscription a browser produces, posted when a member enables notifications.</summary>
public sealed record PushSubscriptionRequest(string Endpoint, PushSubscriptionKeys Keys, string? UserAgent);

public sealed record PushSubscriptionKeys(string P256dh, string Auth);

/// <summary>Identifies the subscription to remove when a member disables notifications.</summary>
public sealed record PushUnsubscribeRequest(string Endpoint);
