mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 14:50:50 +01:00
* User: Add name and image URL More personalization options, prerequisite for btcpayserver/app#3. Additionally: - Remove ambigious and read-only username from manage view. - Improve email verification conditions and display. - Greenfield: Update current user. Prerequisite for btcpayserver/app#13. * Refactor UpdateCurrentUser * Replace new columns by UserBlob * Update email check and add test case for mailbox addresses --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
26 lines
839 B
C#
26 lines
839 B
C#
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; }
|
|
public int ArchivedAppsCount { get; set; }
|
|
public string ContactUrl { get; set; }
|
|
public string UserName { get; set; }
|
|
public string UserImageUrl { get; set; }
|
|
}
|
|
|
|
public class StoreApp
|
|
{
|
|
public string Id { get; set; }
|
|
public string AppName { get; set; }
|
|
public string AppType { get; set; }
|
|
}
|
|
}
|