2021-12-11 04:32:23 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using BTCPayServer.Data;
|
|
|
|
using BTCPayServer.Models.StoreViewModels;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Components.MainNav
|
|
|
|
{
|
|
|
|
public class MainNavViewModel
|
|
|
|
{
|
|
|
|
public StoreData Store { get; set; }
|
|
|
|
public List<StoreDerivationScheme> DerivationSchemes { get; set; }
|
|
|
|
public List<StoreLightningNode> LightningNodes { get; set; }
|
|
|
|
public List<StoreApp> Apps { get; set; }
|
|
|
|
public bool AltcoinsBuild { get; set; }
|
|
|
|
}
|
2021-12-31 16:59:02 +09:00
|
|
|
|
2021-12-11 04:32:23 +01:00
|
|
|
public class StoreApp
|
|
|
|
{
|
|
|
|
public string Id { get; set; }
|
|
|
|
public string AppName { get; set; }
|
|
|
|
public string AppType { get; set; }
|
|
|
|
public string Action { get => $"Update{AppType}"; }
|
|
|
|
public bool IsOwner { get; set; }
|
|
|
|
}
|
|
|
|
}
|