feat: add notice model, rules and service
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user