Introduce path provider and resolver for the Content Delivery API (#15922)

This commit is contained in:
Kenn Jacobsen
2024-03-22 14:12:33 +01:00
committed by GitHub
parent b7533b57b4
commit b1c3473856
15 changed files with 188 additions and 33 deletions

View File

@@ -453,6 +453,8 @@ public static partial class UmbracoBuilderExtensions
builder.Services.AddSingleton<IApiMediaQueryService, NoopApiMediaQueryService>();
builder.Services.AddSingleton<IApiMediaUrlProvider, ApiMediaUrlProvider>();
builder.Services.AddSingleton<IApiContentRouteBuilder, ApiContentRouteBuilder>();
builder.Services.AddSingleton<IApiContentPathProvider, ApiContentPathProvider>();
builder.Services.AddSingleton<IApiContentPathResolver, ApiContentPathResolver>();
builder.Services.AddSingleton<IApiPublishedContentCache, ApiPublishedContentCache>();
builder.Services.AddSingleton<IApiRichTextElementParser, ApiRichTextElementParser>();
builder.Services.AddSingleton<IApiRichTextMarkupParser, ApiRichTextMarkupParser>();