feat(notifications): support dismissing notifications in PostIt
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b90f15333d
commit
cb8cf9406d
12 changed files with 389 additions and 181 deletions
|
|
@ -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";
|
||||
|
|
|
|||
11
src/Yavsc.Abstract/Messaging/DismissedNotification.cs
Normal file
11
src/Yavsc.Abstract/Messaging/DismissedNotification.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue