V14: Add reserved fields to config endpoints (#15919)

* Add reserved fields to documents

* Add member configuration endpoint

* Add reserved field to media configuration

* Refactor to use service instead on hardcoded methods

* Clean up, aligning

* Update OpenApi

---------

Co-authored-by: Elitsa <elm@umbraco.dk>
This commit is contained in:
Nikolaj Geisle
2024-03-22 12:11:38 +01:00
committed by GitHub
parent 0ed65671bb
commit dd68a6da7f
17 changed files with 317 additions and 37 deletions

View File

@@ -35,6 +35,7 @@ public static class UmbracoBuilderExtensions
builder.Services.TryAddTransient(factory => new PublishedSnapshotServiceOptions());
builder.SetPublishedSnapshotService<PublishedSnapshotService>();
builder.Services.TryAddSingleton<IPublishedSnapshotStatus, PublishedSnapshotStatus>();
builder.Services.TryAddTransient<IReservedFieldNamesService, ReservedFieldNamesService>();
// replace this service since we want to improve the content/media
// mapping lookups if we are using nucache.