Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VulcanGraphqlFieldSchema

Hierarchy

Index

Properties

Optional afterComponent

afterComponent: any

Optional allowedValues

allowedValues: any[]

Optional arrayItem

arrayItem: any

Optional autoValue

autoValue: AutoValueFunction<any>

Optional autocompleteQuery

autocompleteQuery: string | (() => string)

Optional beforeComponent

beforeComponent: any

Optional blackbox

blackbox: boolean

Optional canCreate

canCreate: PermissionDefinition | PermissionDefinition[]

Optional canRead

canRead: PermissionDefinition | PermissionDefinition[]

Optional canUpdate

canUpdate: PermissionDefinition | PermissionDefinition[]

Optional control

control: any

Optional custom

custom: ValidationFunction

Optional decimal

decimal: boolean

Optional defaultValue

defaultValue: any

Optional description

description: string

Optional exclusiveMax

exclusiveMax: boolean

Optional exclusiveMin

exclusiveMin: boolean

Optional form

form: any

Optional group

group: FieldGroup

Optional hidden

hidden: boolean | ((args: { document: any; props: any }) => boolean)

Optional input

input: any

Optional inputProperties

inputProperties: any

Optional intl

intl: boolean

Optional intlId

intlId: string

Optional isIntlData

isIntlData: boolean

Optional itemProperties

itemProperties: any

Optional label

label: string

Optional max

max: number | boolean | Date

Optional maxCount

maxCount: number

Optional min

min: number | boolean | Date

Optional minCount

minCount: number

Optional optional

optional: boolean

Optional options

options: any

Optional order

order: any

Optional orderable

orderable: boolean

Optional placeholder

placeholder: any

Optional query

query: string | (() => string)

Optional regEx

regEx: RegExp | RegExp[]

Optional relation

Optional reversedRelation

reversedRelation: ReversedRelationDefinition

Adds a relation field on the foreign model => useful to extend a model based on another, eg add admin only field to a core model

see

Devographics survey form Responses and NormalizedResponses relation

Optional searchable

searchable: boolean

Optional selectable

selectable: boolean

Optional sortable

sortable: boolean

Optional trim

trim: boolean

type

type: VulcanFieldType

Optional typeName

typeName: string

Optional unique

unique: boolean

Generated using TypeDoc