Convert level into group type and ensure names are unique again

This commit is contained in:
Ronald Barendse
2021-06-22 11:45:23 +02:00
parent 0e63edb375
commit 17d2c4cab9
24 changed files with 172 additions and 80 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Umbraco.Core.Models;
namespace Umbraco.Web.Models.ContentEditing
{
@@ -39,8 +40,8 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "parentKey")]
public Guid? ParentKey { get; set; }
[DataMember(Name = "level")]
public short Level { get; set; }
[DataMember(Name = "type")]
public PropertyGroupType Type { get; set; }
[DataMember(Name = "icon")]
public string Icon { get; set; }