mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
* Plugins can now build apps * fix tests * fixup * pluginize existing apps * Test fixes part 1 * Test fixes part 2 * Fix Crowdfund namespace * Syntax * More namespace fixes * Markup * Test fix * upstream fixes * Add plugin icon * Fix nullable build warnings * allow pre popualting app creation * Fixes after merge * Make link methods async * Use AppData as parameter for ConfigureLink * GetApps by AppType * Use ConfigureLink on dashboard * Rename method * Add properties to indicate stats support * Property updates * Test fixes * Clean up imports * Fixes after merge --------- Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
25 lines
793 B
C#
25 lines
793 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Models.StoreViewModels;
|
|
using BTCPayServer.Services.Apps;
|
|
|
|
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 CustodianAccountData[] CustodianAccounts { get; set; }
|
|
public bool AltcoinsBuild { get; set; }
|
|
}
|
|
|
|
public class StoreApp
|
|
{
|
|
public string Id { get; set; }
|
|
public string AppName { get; set; }
|
|
public string AppType { get; set; }
|
|
public bool IsOwner { get; set; }
|
|
}
|
|
}
|