namespace decePubClient.Models;
///
/// The personas already told that an act of theirs is public (owner decision, PrivaPub's ROADMAP: each persona is told
/// once, before its first one): reactions and poll votes, and joining an event; and whether this device was told, before
/// its first Web Push subscription, what the browser's push service learns. Kept in localStorage under its type name.
///
public class PublicActionNotices
{
/// Told about reactions and poll votes.
public List PersonaIds { get; set; } = [];
/// Told about joining events.
public List EventPersonaIds { get; set; } = [];
/// This device was told about Web Push (once for the device, whichever personas it subscribes).
public bool PushTold { get; set; }
}
public enum PublicAct
{
Reaction = 0,
Participation = 1,
/// Notifications on this device go through the browser's push service, which learns when they arrive.
Push = 2
}