mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Remove deprecated CSS options Closes #5945. * Greenfield: Add brandColor to store APIs Closes #5946. * Migrate file IDs to URLs Closes #5953. * Greenfield: Add CSS and logo URL to store settings API Closes #5945. * Add migration test * Store and Server branding can reference file's via fileid:ID * Add PaymentSoundUrl to Store API --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
22 lines
657 B
C#
22 lines
657 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
|
|
namespace BTCPayServer.Components.StoreSelector
|
|
{
|
|
public class StoreSelectorViewModel
|
|
{
|
|
public List<StoreSelectorOption> Options { get; set; }
|
|
public string CurrentStoreId { get; set; }
|
|
public string CurrentStoreLogoUrl { get; set; }
|
|
public string CurrentDisplayName { get; set; }
|
|
public int ArchivedCount { get; set; }
|
|
}
|
|
|
|
public class StoreSelectorOption
|
|
{
|
|
public bool Selected { get; set; }
|
|
public string Text { get; set; }
|
|
public string Value { get; set; }
|
|
public StoreData Store { get; set; }
|
|
}
|
|
}
|