UseEditorFieldsResult
Defined in: inspector-runtime-types.ts:123
Describe the derived field helpers returned from useEditorFields().
Properties
Section titled “Properties”fields
Section titled “fields”fields:
EditorFieldDescriptor[]
Defined in: inspector-runtime-types.ts:124
fieldMap
Section titled “fieldMap”fieldMap:
Map<string,EditorFieldDescriptor>
Defined in: inspector-runtime-types.ts:125
getBooleanValue
Section titled “getBooleanValue”getBooleanValue: (
source,path,fallback) =>boolean
Defined in: inspector-runtime-types.ts:126
Parameters
Section titled “Parameters”source
Section titled “source”object
string
fallback
Section titled “fallback”boolean
Returns
Section titled “Returns”boolean
getField
Section titled “getField”getField: (
path) =>EditorFieldDescriptor|undefined
Defined in: inspector-runtime-types.ts:131
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”EditorFieldDescriptor | undefined
getNumberValue
Section titled “getNumberValue”getNumberValue: (
source,path,fallback) =>number
Defined in: inspector-runtime-types.ts:132
Parameters
Section titled “Parameters”source
Section titled “source”object
string
fallback
Section titled “fallback”number
Returns
Section titled “Returns”number
getSelectOptions
Section titled “getSelectOptions”getSelectOptions: (
path,labelMap?) =>InspectorSelectOption[]
Defined in: inspector-runtime-types.ts:137
Parameters
Section titled “Parameters”string
labelMap?
Section titled “labelMap?”Record<string, string>
Returns
Section titled “Returns”getStringValue
Section titled “getStringValue”getStringValue: (
source,path,fallback) =>string
Defined in: inspector-runtime-types.ts:141
Parameters
Section titled “Parameters”source
Section titled “source”object
string
fallback
Section titled “fallback”string
Returns
Section titled “Returns”string
manualFields
Section titled “manualFields”manualFields:
EditorFieldDescriptor[]
Defined in: inspector-runtime-types.ts:146
supportedFields
Section titled “supportedFields”supportedFields:
EditorFieldDescriptor[]
Defined in: inspector-runtime-types.ts:147