Server Settings: Consolidate Storage and Files (#3863)

* Server Settings: Consolidate Storage and Files

* Improve storage options name display

* Remove file services from services page

* Remove more code
This commit is contained in:
d11n
2022-06-15 14:06:16 +02:00
committed by GitHub
parent 346821f0d6
commit c56821300a
11 changed files with 63 additions and 86 deletions

View File

@@ -5,17 +5,15 @@ namespace BTCPayServer.Models.ServerViewModels
{
public class ServicesViewModel
{
public class OtherExternalService
{
public string Name { get; set; }
public string Link { get; set; }
}
public List<ExternalService> ExternalServices { get; set; } = new List<ExternalService>();
public List<OtherExternalService> OtherExternalServices { get; set; } = new List<OtherExternalService>();
public List<OtherExternalService> TorHttpServices { get; set; } = new List<OtherExternalService>();
public List<OtherExternalService> TorOtherServices { get; set; } = new List<OtherExternalService>();
public List<OtherExternalService> ExternalStorageServices { get; set; } = new List<OtherExternalService>();
public List<ExternalService> ExternalServices { get; set; } = new ();
public List<OtherExternalService> OtherExternalServices { get; set; } = new ();
public List<OtherExternalService> TorHttpServices { get; set; } = new ();
public List<OtherExternalService> TorOtherServices { get; set; } = new ();
}
}