Files
mixtape/zero.Backoffice/Configuration/BackofficeOptions.cs
T
2021-11-29 18:25:50 +01:00

34 lines
1017 B
C#

namespace zero.Backoffice.Configuration;
public class BackofficeOptions
{
/// <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();
/// <summary>
/// Options for configuring the vite development server
/// </summary>
public ZeroDevOptions DevServer { get; set; } = new();
/// <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; }
}