add workflow to schema (#13349)
* add workflow to schema * add licenses to CMSDefinition - intentionally only adding to schema, not registered as options
This commit is contained in:
@@ -12,11 +12,12 @@ internal class AppSettings
|
||||
public CmsDefinition? CMS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Configurations for the Umbraco CMS
|
||||
/// Configurations for the Umbraco CMS
|
||||
/// </summary>
|
||||
public class CmsDefinition
|
||||
{
|
||||
public ContentSettings? Content { get; set; }
|
||||
|
||||
public CoreDebugSettings? Debug { get; set; }
|
||||
|
||||
public ExceptionFilterSettings? ExceptionFilter { get; set; }
|
||||
@@ -37,7 +38,7 @@ internal class AppSettings
|
||||
|
||||
public LoggingSettings? Logging { get; set; }
|
||||
|
||||
public NuCacheSettings? NuCache { get; set; }
|
||||
public NuCacheSettings? NuCache { get; set; }
|
||||
|
||||
public RequestHandlerSettings? RequestHandler { get; set; }
|
||||
|
||||
@@ -49,7 +50,7 @@ internal class AppSettings
|
||||
|
||||
public TypeFinderSettings? TypeFinder { get; set; }
|
||||
|
||||
public WebRoutingSettings? WebRouting { get; set; }
|
||||
public WebRoutingSettings? WebRouting { get; set; }
|
||||
|
||||
public UmbracoPluginSettings? Plugins { get; set; }
|
||||
|
||||
@@ -72,5 +73,7 @@ internal class AppSettings
|
||||
public InstallDefaultDataSettings? DefaultDataCreation { get; set; }
|
||||
|
||||
public DataTypesSettings? DataTypes { get; set; }
|
||||
|
||||
public LicensesSettings? Licenses { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,17 @@
|
||||
"$ref": "appsettings-schema.Umbraco.Deploy.json#/definitions/JsonSchemaDeployDefinition"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Workflow": {
|
||||
"description": "Configuration of Umbraco Workflow",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "appsettings-schema.Umbraco.Workflow.json#/definitions/JsonSchemaWorkflowDefinition"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
11
src/Umbraco.Core/Configuration/Models/LicensesSettings.cs
Normal file
11
src/Umbraco.Core/Configuration/Models/LicensesSettings.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
namespace Umbraco.Cms.Core.Configuration.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Typed configuration options for license settings.
|
||||
/// </summary>
|
||||
public class LicensesSettings : Dictionary<string, string>
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user