Skip to main content
Version: 2.0.0

Function: resolveProperties

resolveProperties<M>(«destructured»): ResolvedProperties<M>

Resolve enums and arrays for properties

Type parameters

NameType
Mextends Record<string, any>

Parameters

NameType
«destructured»Object
› entityId?string
› fields?Record<string, FieldConfig>
› fromBuilder?boolean
› index?number
› path?string
› previousValues?Partial<M>
› propertiesPropertiesOrBuilders<M>
› propertyValueunknown
› values?Partial<M>

Returns

ResolvedProperties<M>

Defined in

packages/firecms/src/core/util/resolutions.ts:317

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!