|
3 | 3 |
|
4 | 4 | internal class UmbracoCmsSchema
|
5 | 5 | {
|
6 |
| - public UmbracoDefinition Umbraco { get; set; } = null!; |
| 6 | + public required UmbracoDefinition Umbraco { get; set; } |
7 | 7 |
|
8 | 8 | /// <summary>
|
9 | 9 | /// Configuration container for all Umbraco products.
|
10 | 10 | /// </summary>
|
11 | 11 | public class UmbracoDefinition
|
12 | 12 | {
|
13 |
| - public UmbracoCmsDefinition CMS { get; set; } = null!; |
| 13 | + public required UmbracoCmsDefinition CMS { get; set; } |
14 | 14 | }
|
15 | 15 |
|
16 | 16 | /// <summary>
|
17 | 17 | /// Configuration of Umbraco CMS.
|
18 | 18 | /// </summary>
|
19 | 19 | public class UmbracoCmsDefinition
|
20 | 20 | {
|
21 |
| - public ContentSettings Content { get; set; } = null!; |
| 21 | + public required ContentSettings Content { get; set; } |
22 | 22 |
|
23 |
| - public DeliveryApiSettings DeliveryApi { get; set; } = null!; |
| 23 | + public required DeliveryApiSettings DeliveryApi { get; set; } |
24 | 24 |
|
25 |
| - public CoreDebugSettings Debug { get; set; } = null!; |
| 25 | + public required CoreDebugSettings Debug { get; set; } |
26 | 26 |
|
27 |
| - public ExceptionFilterSettings ExceptionFilter { get; set; } = null!; |
| 27 | + public required ExceptionFilterSettings ExceptionFilter { get; set; } |
28 | 28 |
|
29 |
| - public ModelsBuilderSettings ModelsBuilder { get; set; } = null!; |
| 29 | + public required ModelsBuilderSettings ModelsBuilder { get; set; } |
30 | 30 |
|
31 |
| - public GlobalSettings Global { get; set; } = null!; |
| 31 | + public required GlobalSettings Global { get; set; } |
32 | 32 |
|
33 |
| - public HealthChecksSettings HealthChecks { get; set; } = null!; |
| 33 | + public required HealthChecksSettings HealthChecks { get; set; } |
34 | 34 |
|
35 |
| - public HostingSettings Hosting { get; set; } = null!; |
| 35 | + public required HostingSettings Hosting { get; set; } |
36 | 36 |
|
37 |
| - public ImagingSettings Imaging { get; set; } = null!; |
| 37 | + public required ImagingSettings Imaging { get; set; } |
38 | 38 |
|
39 |
| - public IndexCreatorSettings Examine { get; set; } = null!; |
| 39 | + public required IndexCreatorSettings Examine { get; set; } |
40 | 40 |
|
41 |
| - public IndexingSettings Indexing { get; set; } = null!; |
| 41 | + public required IndexingSettings Indexing { get; set; } |
42 | 42 |
|
43 |
| - public LoggingSettings Logging { get; set; } = null!; |
| 43 | + public required LoggingSettings Logging { get; set; } |
44 | 44 |
|
45 |
| - public NuCacheSettings NuCache { get; set; } = null!; |
| 45 | + public required NuCacheSettings NuCache { get; set; } |
46 | 46 |
|
47 |
| - public RequestHandlerSettings RequestHandler { get; set; } = null!; |
| 47 | + public required RequestHandlerSettings RequestHandler { get; set; } |
48 | 48 |
|
49 |
| - public RuntimeSettings Runtime { get; set; } = null!; |
| 49 | + public required RuntimeSettings Runtime { get; set; } |
50 | 50 |
|
51 |
| - public SecuritySettings Security { get; set; } = null!; |
| 51 | + public required SecuritySettings Security { get; set; } |
52 | 52 |
|
53 |
| - public TypeFinderSettings TypeFinder { get; set; } = null!; |
| 53 | + public required TypeFinderSettings TypeFinder { get; set; } |
54 | 54 |
|
55 |
| - public WebRoutingSettings WebRouting { get; set; } = null!; |
| 55 | + public required WebRoutingSettings WebRouting { get; set; } |
56 | 56 |
|
57 |
| - public UmbracoPluginSettings Plugins { get; set; } = null!; |
| 57 | + public required UmbracoPluginSettings Plugins { get; set; } |
58 | 58 |
|
59 |
| - public UnattendedSettings Unattended { get; set; } = null!; |
| 59 | + public required UnattendedSettings Unattended { get; set; } |
60 | 60 |
|
61 |
| - public RichTextEditorSettings RichTextEditor { get; set; } = null!; |
| 61 | + public required RichTextEditorSettings RichTextEditor { get; set; } |
62 | 62 |
|
63 |
| - public RuntimeMinificationSettings RuntimeMinification { get; set; } = null!; |
| 63 | + public required RuntimeMinificationSettings RuntimeMinification { get; set; } |
64 | 64 |
|
65 |
| - public BasicAuthSettings BasicAuth { get; set; } = null!; |
| 65 | + public required BasicAuthSettings BasicAuth { get; set; } |
66 | 66 |
|
67 |
| - public PackageMigrationSettings PackageMigration { get; set; } = null!; |
| 67 | + public required PackageMigrationSettings PackageMigration { get; set; } |
68 | 68 |
|
69 |
| - public LegacyPasswordMigrationSettings LegacyPasswordMigration { get; set; } = null!; |
| 69 | + public required LegacyPasswordMigrationSettings LegacyPasswordMigration { get; set; } |
70 | 70 |
|
71 |
| - public ContentDashboardSettings ContentDashboard { get; set; } = null!; |
| 71 | + public required ContentDashboardSettings ContentDashboard { get; set; } |
72 | 72 |
|
73 |
| - public HelpPageSettings HelpPage { get; set; } = null!; |
| 73 | + public required HelpPageSettings HelpPage { get; set; } |
74 | 74 |
|
75 |
| - public InstallDefaultDataSettings DefaultDataCreation { get; set; } = null!; |
| 75 | + public required InstallDefaultDataSettings DefaultDataCreation { get; set; } |
76 | 76 |
|
77 |
| - public DataTypesSettings DataTypes { get; set; } = null!; |
| 77 | + public required DataTypesSettings DataTypes { get; set; } |
78 | 78 |
|
79 |
| - public MarketplaceSettings Marketplace { get; set; } = null!; |
| 79 | + public required MarketplaceSettings Marketplace { get; set; } |
80 | 80 |
|
81 |
| - public WebhookSettings Webhook { get; set; } = null!; |
| 81 | + public required WebhookSettings Webhook { get; set; } |
82 | 82 | }
|
83 | 83 | }
|
0 commit comments