Push notifications

This commit is contained in:
2023-12-18 12:19:09 +00:00
parent d087850f69
commit 053d34cde7
19 changed files with 1175 additions and 4 deletions

View File

@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace NostrStreamer.Database;
public class PushSubscriptionTarget
{
public Guid Id { get; init; } = Guid.NewGuid();
[MaxLength(64)]
public string SubscriberPubkey { get; init; } = null!;
[MaxLength(64)]
public string TargetPubkey { get; init; } = null!;
}