* [WIP] Stop Udi leaking on ConterPicker * Refined Udi conversion for contentPicker Cleaned up base construcor usage to move away from the obsoleted one. * Fixed Udi lieaking in MNTP * Stopped Udi bleeding for MultiUrlPicker * Remove unused assignment * Resolved namespace issue * Use correct configuration value for MNTP udi parsing * Turn helper auto props into local helper function to avoid unnecesary serialization * Remove Newtonsoft.Json from Multi URL picker * Fixed MNTP configuration serialization * Changed MNTP editor data from csv guid to EditorEntityReference[] * Added remarks for the MNTP editor conversion logic * Reworked MNTPPropertyEditor Unittests changed intent of one fixed bug because of 1 rework * Update OpenApi.json --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Elitsa <elm@umbraco.dk> Co-authored-by: kjac <kja@umbraco.dk>
42 lines
1019 B
C#
42 lines
1019 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace Umbraco.Cms.Core.Models.ContentEditing;
|
|
|
|
[DataContract(Name = "link", Namespace = "")]
|
|
public class LinkDisplay
|
|
{
|
|
[DataMember(Name = "icon")]
|
|
public string? Icon { get; set; }
|
|
|
|
[DataMember(Name = "name")]
|
|
public string? Name { get; set; }
|
|
|
|
[DataMember(Name = "published")]
|
|
public bool Published { get; set; }
|
|
|
|
[DataMember(Name = "queryString")]
|
|
public string? QueryString { get; set; }
|
|
|
|
[DataMember(Name = "target")]
|
|
public string? Target { get; set; }
|
|
|
|
[DataMember(Name = "trashed")]
|
|
public bool Trashed { get; set; }
|
|
|
|
[DataMember(Name = "type")]
|
|
public string? Type { get; set; }
|
|
|
|
[DataMember(Name = "unique")]
|
|
public Guid? Unique { get; set; }
|
|
|
|
[DataMember(Name = "url")]
|
|
public string? Url { get; set; }
|
|
|
|
public static class Types
|
|
{
|
|
public const string Document = "document";
|
|
public const string Media = "media";
|
|
public const string External = "external";
|
|
}
|
|
}
|