RE 5
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
namespace zero.Configuration;
|
||||
|
||||
public class IconOptions : OptionsEnumerable<IconSet>, IOptionsEnumerable
|
||||
{
|
||||
/// <summary>
|
||||
/// Add a new backoffice icon set
|
||||
/// </summary>
|
||||
/// <param name="alias">Alias for reference</param>
|
||||
/// <param name="name">Name of the icon set</param>
|
||||
/// <param name="spritePath">Path to the SVG sprite containing addressable symbols</param>
|
||||
/// <param name="prefix">Optional symbol identifier prefix (by default the alias is used)</param>
|
||||
public void AddSet(string alias, string name, string spritePath, string prefix = null)
|
||||
{
|
||||
Items.Add(new IconSet()
|
||||
{
|
||||
Alias = alias,
|
||||
Name = name,
|
||||
SpritePath = spritePath,
|
||||
Prefix = prefix ?? alias
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
namespace zero.Configuration;
|
||||
|
||||
public class ServiceOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Define a YouTube API Key so the zero videopicker can display previews
|
||||
/// </summary>
|
||||
public string YouTubeApiKey { get; set; }
|
||||
}
|
||||
@@ -66,14 +66,6 @@ public class ZeroOptions : IZeroOptions
|
||||
///// <inheritdoc />
|
||||
//public ApplicationOptions Applications { get; set; }
|
||||
|
||||
///// <inheritdoc />
|
||||
//public string BackofficePath { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// Paths in the backoffice which are not handled by zero
|
||||
///// </summary>
|
||||
//public List<string> ExcludedPaths { get; private set; }
|
||||
|
||||
///// <inheritdoc />
|
||||
//public SectionOptions Sections { get; private set; }
|
||||
|
||||
@@ -98,12 +90,6 @@ public class ZeroOptions : IZeroOptions
|
||||
///// <inheritdoc />
|
||||
//public IntegrationOptions Integrations { get; private set; }
|
||||
|
||||
///// <inheritdoc />
|
||||
//public IconOptions Icons { get; private set; }
|
||||
|
||||
///// <inheritdoc />
|
||||
//public ServiceOptions Services { get; private set; }
|
||||
|
||||
///// <inheritdoc />
|
||||
//public BlueprintOptions Blueprints { get; private set; }
|
||||
}
|
||||
@@ -151,14 +137,4 @@ public interface IZeroOptions
|
||||
///// Application options
|
||||
///// </summary>
|
||||
//ApplicationOptions Applications { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// URL path to the backoffice (defaults to /zero)
|
||||
///// </summary>
|
||||
//string BackofficePath { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// Paths in the backoffice which are not handled by zero
|
||||
///// </summary>
|
||||
//List<string> ExcludedPaths { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user