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.
26 lines
841 B
26 lines
841 B
// ==========================================================================
|
|
// JsonFieldProperties.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Infrastructure;
|
|
|
|
namespace Squidex.Domain.Apps.Core.Schemas
|
|
{
|
|
[TypeName(nameof(JsonField))]
|
|
public sealed class JsonFieldProperties : FieldProperties
|
|
{
|
|
public override T Accept<T>(IFieldPropertiesVisitor<T> visitor)
|
|
{
|
|
return visitor.Visit(this);
|
|
}
|
|
|
|
public override Field CreateField(long id, string name, Partitioning partitioning)
|
|
{
|
|
return new JsonField(id, name, partitioning, this);
|
|
}
|
|
}
|
|
}
|
|
|