Skip to main content

FieldDefinitionInterface

No description

interface FieldDefinitionInterface {
id: ID!
type: FieldTypeEnum!
target: FieldDefinitionTargetEnum!
isDefault: Boolean!
isEditable: Boolean!
isFilterable: Boolean! @deprecated
isSearchable: Boolean!
isVisible: Boolean! @deprecated
name: String!
placeholder: String
translations: [FieldDefinitionTranslation!]!
nameTranslations: [TranslationString!]! @deprecated
placeholderTranslations: [TranslationString!]! @deprecated
section: FieldDefinitionSection
matchmakingFieldType: MatchmakingFieldTypeEnum
isVisibleOnEvent(
eventId: ID!
): Boolean!
}

Fields

FieldDefinitionInterface.id ● ID! non-null scalar

FieldDefinitionInterface.type ● FieldTypeEnum! non-null enum

FieldDefinitionInterface.target ● FieldDefinitionTargetEnum! non-null enum

FieldDefinitionInterface.isDefault ● Boolean! non-null scalar

FieldDefinitionInterface.isEditable ● Boolean! non-null scalar

FieldDefinitionInterface.isFilterable ● Boolean! deprecated non-null scalar

DEPRECATED

Do not use.

FieldDefinitionInterface.isSearchable ● Boolean! non-null scalar

FieldDefinitionInterface.isVisible ● Boolean! deprecated non-null scalar

DEPRECATED

Use isVisibleOnEvent/isVisibleOnCommunity field instead.

For legacy support: returns true if field definition is default in the event (if present), otherwise false

FieldDefinitionInterface.name ● String! non-null scalar

FieldDefinitionInterface.placeholder ● String scalar

FieldDefinitionInterface.translations ● [FieldDefinitionTranslation!]! non-null object

FieldDefinitionInterface.nameTranslations ● [TranslationString!]! deprecated non-null object

DEPRECATED

Use translations.name instead

FieldDefinitionInterface.placeholderTranslations ● [TranslationString!]! deprecated non-null object

DEPRECATED

Use translations.placeholder instead

FieldDefinitionInterface.section ● FieldDefinitionSection object

FieldDefinitionInterface.matchmakingFieldType ● MatchmakingFieldTypeEnum enum

FieldDefinitionInterface.isVisibleOnEvent ● Boolean! non-null scalar

FieldDefinitionInterface.isVisibleOnEvent.eventId ● ID! non-null scalar

Implemented By

DateFieldDefinition object ● LongTextFieldDefinition object ● MediaFieldDefinition object ● MultipleSelectFieldDefinition object ● MultipleTextFieldDefinition object ● NumberFieldDefinition object ● SelectFieldDefinition object ● TextFieldDefinition object ● TreeFieldDefinition object ● UrlFieldDefinition object