Implement paging for the three entity types that media can be related to
This commit is contained in:
@@ -1,24 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Umbraco.Web.Models.ContentEditing
|
||||
{
|
||||
[DataContract(Name = "mediaReferences", Namespace = "")]
|
||||
public class MediaReferences
|
||||
[DataContract(Name = "entityType", Namespace = "")]
|
||||
public class EntityTypeReferences : EntityBasic
|
||||
{
|
||||
[DataMember(Name = "content")]
|
||||
public IEnumerable<EntityTypeReferences> Content { get; set; } = Enumerable.Empty<EntityTypeReferences>();
|
||||
|
||||
[DataMember(Name = "members")]
|
||||
public IEnumerable<EntityTypeReferences> Members { get; set; } = Enumerable.Empty<EntityTypeReferences>();
|
||||
|
||||
[DataMember(Name = "media")]
|
||||
public IEnumerable<EntityTypeReferences> Media { get; set; } = Enumerable.Empty<EntityTypeReferences>();
|
||||
|
||||
[DataContract(Name = "entityType", Namespace = "")]
|
||||
public class EntityTypeReferences : EntityBasic
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user