mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 18:49:42 +02:00
inbox: store user's inbox keys (#47)
This commit is contained in:
1 parent
201a235357
commit
34a09ad15d
5 files changed
+24
-1
No files matched your search
@@ -15,6 +15,9 @@ namespace Notesnook.API.Models.Responses
|
||||
[JsonPropertyName("monographPasswordsKey")]
|
||||
public EncryptedData MonographPasswordsKey { get; set; }
|
||||
|
||||
[JsonPropertyName("inboxKeys")]
|
||||
public InboxKeys InboxKeys { get; set; }
|
||||
|
||||
[JsonPropertyName("subscription")]
|
||||
public ISubscription Subscription { get; set; }
|
||||
|
||||
|
||||
@@ -23,5 +23,12 @@ namespace Notesnook.API.Models
|
||||
{
|
||||
public EncryptedData AttachmentsKey { get; set; }
|
||||
public EncryptedData MonographPasswordsKey { get; set; }
|
||||
public InboxKeys InboxKeys { get; set; }
|
||||
}
|
||||
|
||||
public class InboxKeys
|
||||
{
|
||||
public string Public { get; set; }
|
||||
public EncryptedData Private { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -41,6 +41,7 @@ namespace Notesnook.API.Models
|
||||
public EncryptedData VaultKey { get; set; }
|
||||
public EncryptedData AttachmentsKey { get; set; }
|
||||
public EncryptedData MonographPasswordsKey { get; set; }
|
||||
public InboxKeys InboxKeys { get; set; }
|
||||
public Limit StorageLimit { get; set; }
|
||||
|
||||
[BsonId]
|
||||
|
||||
Reference in new issue
Block a user