mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.4 KiB
35 lines
1.4 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschränkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
namespace Squidex.Domain.Apps.Core.Schemas
|
|
{
|
|
[Equals(DoNotAddEqualityOperators = true)]
|
|
public sealed class UIFieldProperties : FieldProperties
|
|
{
|
|
public UIFieldEditor Editor { get; set; }
|
|
|
|
public override T Accept<T, TArgs>(IFieldPropertiesVisitor<T, TArgs> visitor, TArgs args)
|
|
{
|
|
return visitor.Visit(this, args);
|
|
}
|
|
|
|
public override T Accept<T, TArgs>(IFieldVisitor<T, TArgs> visitor, IField field, TArgs args)
|
|
{
|
|
return visitor.Visit((IField<UIFieldProperties>)field, args);
|
|
}
|
|
|
|
public override NestedField CreateNestedField(long id, string name, IFieldSettings? settings = null)
|
|
{
|
|
return new NestedField<UIFieldProperties>(id, name, this, settings);
|
|
}
|
|
|
|
public override RootField CreateRootField(long id, string name, Partitioning partitioning, IFieldSettings? settings = null)
|
|
{
|
|
return new RootField<UIFieldProperties>(id, name, partitioning, this, settings);
|
|
}
|
|
}
|
|
}
|
|
|