Split force for publish descendants into separate options for publish unpublish and re-publish unedited (15) (#18270)

* Port server-side updates from 13 implementation.

* Update openapi.json

* Update typed client.

* Ported over front-end amend from 13.

* Handled edge case of publishing invariant root with variant descendants.

* Refactor to enum.

* Resolved CodeScene warning.

* Resolved CodeScene warning.

* Resolved CodeScene warning.

* Applied suggestions from code review.

* Reverted breaking change in integration tests.

* Refactored method name.
This commit is contained in:
Andy Butland
2025-02-12 12:04:58 +01:00
committed by GitHub
parent ac522aba35
commit 59c2205e60
27 changed files with 389 additions and 117 deletions

View File

@@ -86,7 +86,7 @@ public class UmbracoTestDataController : SurfaceController
var imageIds = CreateMediaTree(company, faker, count, depth).ToList();
var contentIds = CreateContentTree(company, faker, count, depth, imageIds, out var root).ToList();
Services.ContentService.PublishBranch(root, true, new[] { "*" });
Services.ContentService.PublishBranch(root, PublishBranchFilter.IncludeUnpublished, ["*"]);
scope.Complete();
}