2021-11-29 18:25:50 +01:00
|
|
|
namespace zero.Backoffice.Configuration;
|
2021-11-22 16:03:02 +01:00
|
|
|
|
|
|
|
|
public class BackofficeOptions
|
|
|
|
|
{
|
2021-12-03 15:49:34 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Public path to zero assets
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AssetPath { get; set; }
|
|
|
|
|
|
2021-11-22 16:03:02 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Paths in the backoffice which are not handled by zero
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> ExcludedPaths { get; private set; } = new();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Define icon sets which can be used in icon pickers (and also in backoffice rendering)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BackofficeIconSet> IconSets { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Authentication configuration for external services
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ExternalServicesOptions ExternalServices { get; set; } = new();
|
|
|
|
|
|
2021-11-23 22:56:22 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Options for configuring the vite development server
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ZeroDevOptions DevServer { get; set; } = new();
|
2021-11-24 15:49:25 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default language ISO code
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DefaultLanguage { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Language ISO codes which are supported by the zero backoffice
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string[] SupportedLanguages { get; internal set; }
|
2021-11-22 16:03:02 +01:00
|
|
|
}
|