Remove deprecated properties

This commit is contained in:
nicolas.dorier
2025-04-04 16:28:44 +09:00
parent a916ae81be
commit ead74a985f
4 changed files with 21 additions and 22 deletions

View File

@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BTCPayServer.Client.Models
{
@@ -62,5 +64,8 @@ namespace BTCPayServer.Client.Models
public DateTimeOffset? Created { get; set; }
public bool Disabled { get; set; }
[JsonExtensionData]
public IDictionary<string, JToken> AdditionalData { get; set; } = new Dictionary<string, JToken>();
}
}

View File

@@ -14,22 +14,10 @@ namespace BTCPayServer.Client.Models
public class StoreUserData : ApplicationUserData
{
/// <summary>
/// the id of the user
/// </summary>
[Obsolete("Use Id instead")]
public string UserId { get; set; }
/// <summary>
/// the store role of the user
/// </summary>
public string StoreRole { get; set; }
/// <summary>
/// the store role of the user
/// </summary>
[Obsolete("Use StoreRole instead")]
public string Role { get; set; }
}
public class RoleData