Merge remote-tracking branch 'origin/v12/dev' into v12/dev
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiBlockGridArea
|
||||
public sealed class ApiBlockGridArea
|
||||
{
|
||||
public ApiBlockGridArea(string alias, int rowSpan, int columnSpan, IEnumerable<ApiBlockGridItem> items)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiBlockGridItem : ApiBlockItem
|
||||
public sealed class ApiBlockGridItem : ApiBlockItem
|
||||
{
|
||||
public ApiBlockGridItem(IApiElement content, IApiElement? settings, int rowSpan, int columnSpan, int areaGridColumns, IEnumerable<ApiBlockGridArea> areas)
|
||||
: base(content, settings)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiBlockGridModel
|
||||
public sealed class ApiBlockGridModel
|
||||
{
|
||||
public ApiBlockGridModel(int gridColumns, IEnumerable<ApiBlockGridItem> items)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiBlockListModel
|
||||
public sealed class ApiBlockListModel
|
||||
{
|
||||
public ApiBlockListModel(IEnumerable<ApiBlockItem> items) => Items = items;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiContentRoute : IApiContentRoute
|
||||
public sealed class ApiContentRoute : IApiContentRoute
|
||||
{
|
||||
public ApiContentRoute(string path, ApiContentStartItem startItem)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiContentStartItem : IApiContentStartItem
|
||||
public sealed class ApiContentStartItem : IApiContentStartItem
|
||||
{
|
||||
public ApiContentStartItem(Guid id, string path)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiLink
|
||||
public sealed class ApiLink
|
||||
{
|
||||
public static ApiLink Content(string title, string? target, Guid destinationId, string destinationType, IApiContentRoute route)
|
||||
=> new(LinkType.Content, null, title, target, destinationId, destinationType, route);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class ApiMedia : IApiMedia
|
||||
public sealed class ApiMedia : IApiMedia
|
||||
{
|
||||
public ApiMedia(Guid id, string name, string mediaType, string url, IDictionary<string, object?> properties)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Umbraco.Cms.Core.Models.DeliveryApi;
|
||||
|
||||
public class RichTextElement
|
||||
public sealed class RichTextElement
|
||||
{
|
||||
public RichTextElement(string tag, string text, Dictionary<string, object> attributes, IEnumerable<RichTextElement> elements)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user