feat: add notice model, rules and service

This commit is contained in:
2026-11-13 18:10:41 +01:00
parent f15253b976
commit 41d1978d34
11 changed files with 658 additions and 0 deletions
@@ -0,0 +1,27 @@
namespace Jellyfin.Plugin.Herald.Notices;
/// <summary>
/// Outcome of an acknowledgement attempt.
/// </summary>
public enum AckResult
{
/// <summary>
/// The acknowledgement was stored (or already existed).
/// </summary>
Ok,
/// <summary>
/// The notice does not exist, is disabled or is not addressed to the user.
/// </summary>
NotFound,
/// <summary>
/// The acknowledged revision is not the current one.
/// </summary>
RevisionMismatch,
/// <summary>
/// The notice must be accepted and cannot be dismissed.
/// </summary>
AcceptRequired
}