Skip to content

PropertyBuilder

@firecms/core


@firecms/core / PropertyBuilder

PropertyBuilder<T, M> = ({ values, previousValues, propertyValue, index, path, entityId, authController }) => Property<T> | null

Defined in: types/properties.ts:287

You can use this type to define a property dynamically, based on the current values of the entity, the previous values and the current value of the property, as well as the path and entity ID.

T extends CMSType = any

M extends Record<string, any> = any

{

values,
previousValues,
propertyValue,
index,
path,
entityId,
authController
\}

PropertyBuilderProps<M>

Property<T> | null