Skip to main content
Version: 3.0.0-beta

Function: resolveProperty()

resolveProperty<T, M>(__namedParameters): ResolvedProperty<T> | null

Resolve property builders, enums and arrays.

Type Parameters​

• T extends CMSType = CMSType

• M extends Record<string, any> = any

Parameters​

• __namedParameters

• __namedParameters.entityId?: string

• __namedParameters.fields?: Record<string, PropertyConfig<any>>

• __namedParameters.fromBuilder?: boolean = false

• __namedParameters.ignoreMissingFields?: boolean = false

• __namedParameters.index?: number

• __namedParameters.path?: string

• __namedParameters.previousValues?: Partial<M>

• __namedParameters.propertyKey?: string

• __namedParameters.propertyOrBuilder: PropertyOrBuilder<T, M> | ResolvedProperty<T>

• __namedParameters.values?: Partial<M>

Returns​

ResolvedProperty<T> | null

Defined in​

packages/firecms_core/src/util/resolutions.ts:100

Sign up to our newsletter to get the latest news and updates. No spam!