Skip to main content

QEntityFieldProps

@quik/entity


@quik/entity / QEntityFieldProps

Type Alias: QEntityFieldProps<TEntity>

QEntityFieldProps<TEntity> = QFieldProps & object

Defined in: entity/src/decorators/Fields.ts:85

Properties for entity field decorators.

Type Declaration​

entity​

entity: Constructor<TEntity> | string

Entity constructor to use

noValidator?​

optional noValidator?: boolean

Disable the standard entity validator

setter?​

optional setter?: QEntityFieldSetter<TEntity>

Custom setter function for the entity

Type Parameters​

TEntity​

TEntity extends QEntity = QEntity