feat(api): add account workspaces and signed content events

This commit is contained in:
justme committed 2026-10-14 04:05:30 +08:00
1 parent 937b774a93
commit 7b8d61d1ba
63 files changed
+5407 -370

No files matched your search

@@ -0,0 +1,14 @@
using System.Text.Json;
using WebDrop.Api;
namespace WebDrop.Api.Tests;
public sealed class ChannelAccessContractTests
{
[Fact]
public void GeneratedJsonDefaultsDomainEnvelopesForUnencryptedInvitations()
{
var request = JsonSerializer.Deserialize("""{"username":"member","payload":"opaque-grant"}""", ApiJson.Default.InvitationRequest)!;
Assert.Null(request.DomainEnvelopes);
}
}