notesnook: add support for user profile

This commit is contained in:
Abdullah Atta
2024-03-05 10:25:54 +05:00
parent 1dcf6557a7
commit 9a98c1afb8
4 changed files with 14 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ namespace Notesnook.API.Models.Responses
[JsonPropertyName("subscription")]
public ISubscription Subscription { get; set; }
[JsonPropertyName("profile")]
public EncryptedData Profile { get; set; }
[JsonIgnore]
public bool Success { get; set; }
public int StatusCode { get; set; }

View File

@@ -34,6 +34,7 @@ namespace Notesnook.API.Models
public string Salt { get; set; }
public EncryptedData VaultKey { get; set; }
public EncryptedData AttachmentsKey { get; set; }
public EncryptedData Profile { get; set; }
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]