Model mapping PoC (#15546)
* First take at new models for improved mapping between client and server * Add variants to Media * Re-introduced lost names * Start breaking apart "Id" reference properties in request models as well * Refactor to fix OpenAPI spec * Discard TODO (not relevant) * Split recycle bin response models * Delete unused marker interface * Use reference properties for content and media type handling * Rework document and media types to be explicit in relations (do not expose "content type", it is an implementation detail) * Mapping for document and media type copy + move * Ensure correct response model for Media * Regenerate OpenAPI JSON after forward merge * Fix forward merge issues * Fix forward merge + regenerate OpenApi.json * Added unit tests for content state helper * Move "allowed document types" endpoint to document type silo, refactored services and added "allowed media types" * Regenerate OpenApi.json after forward merge * Do not include content state for media items * Review fix
This commit is contained in:
@@ -306,7 +306,6 @@ namespace Umbraco.Cms.Core.DependencyInjection
|
||||
Services.AddUnique<IContentService, ContentService>();
|
||||
Services.AddUnique<IContentEditingService, ContentEditingService>();
|
||||
Services.AddUnique<IContentPublishingService, ContentPublishingService>();
|
||||
Services.AddUnique<IContentCreatingService, ContentCreatingService>();
|
||||
Services.AddUnique<IContentVersionCleanupPolicy, DefaultContentVersionCleanupPolicy>();
|
||||
Services.AddUnique<IMemberService, MemberService>();
|
||||
Services.AddUnique<IMediaPermissionService, MediaPermissionService>();
|
||||
|
||||
Reference in New Issue
Block a user