feat(notifications): support dismissing notifications in PostIt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-10-18 12:49:52 +01:00
commit cb8cf9406d
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
12 changed files with 389 additions and 181 deletions

View file

@ -35,6 +35,8 @@ namespace Yavsc
public const string ResourceUsageAdminRoute = "admin";
public const string NotificationsPath = "notifications";
public const string NotificationsCurrentUserRoute = "me";
public const string NotificationsDismissPath = "dismiss";
public const string NotificationsDismissClickRoute = "click";
public const string ResourceUsageDefaultCurrency = "EUR";
public const string ResourceUsageCurrentUserDisplayName = "current-user";
public const string ResourceUsageAdminDisplayName = "administrator";

View file

@ -0,0 +1,11 @@
namespace Yavsc.Abstract.Models.Messaging
{
/// <summary>
/// Wire format of a notification dismissed by the current user.
/// The user is always implied by the authenticated caller.
/// </summary>
public sealed class DismissedNotification
{
public long NotificationId { get; set; }
}
}