Skip to main content
Version: 2.0.0

Function: resolveProperty

resolveProperty<T, M>(«destructured»): ResolvedProperty<T> | null

Resolve property builders, enums and arrays.

Type parameters

NameType
Textends CMSType = CMSType
Mextends Record<string, any> = any

Parameters

NameType
«destructured»Object
› entityId?string
› fields?Record<string, FieldConfig<any>>
› fromBuilder?boolean
› index?number
› path?string
› previousValues?Partial<M>
› propertyKey?string
› propertyOrBuilderPropertyOrBuilder<T, M> | ResolvedProperty<T>
› propertyValue?unknown
› values?Partial<M>

Returns

ResolvedProperty<T> | null

Defined in

lib/src/core/util/resolutions.ts:93

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!