Skip to content

UseEditorFieldsResult

Defined in: inspector-runtime-types.ts:123

Describe the derived field helpers returned from useEditorFields().

fields: EditorFieldDescriptor[]

Defined in: inspector-runtime-types.ts:124


fieldMap: Map<string, EditorFieldDescriptor>

Defined in: inspector-runtime-types.ts:125


getBooleanValue: (source, path, fallback) => boolean

Defined in: inspector-runtime-types.ts:126

object

string

boolean

boolean


getField: (path) => EditorFieldDescriptor | undefined

Defined in: inspector-runtime-types.ts:131

string

EditorFieldDescriptor | undefined


getNumberValue: (source, path, fallback) => number

Defined in: inspector-runtime-types.ts:132

object

string

number

number


getSelectOptions: (path, labelMap?) => InspectorSelectOption[]

Defined in: inspector-runtime-types.ts:137

string

Record<string, string>

InspectorSelectOption[]


getStringValue: (source, path, fallback) => string

Defined in: inspector-runtime-types.ts:141

object

string

string

string


manualFields: EditorFieldDescriptor[]

Defined in: inspector-runtime-types.ts:146


supportedFields: EditorFieldDescriptor[]

Defined in: inspector-runtime-types.ts:147