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:
Nathan Woulfe
2022-11-08 01:01:11 +10:00
committed by GitHub
parent 2a5c70a28b
commit 8074c3fb62
3 changed files with 28 additions and 3 deletions

View File

@@ -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; }
}
}

View File

@@ -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"
}
]
}
}
}

View 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>
{
}