Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/pages-editor/services/AutoMapApi

Cockpit client (features), next. Source: ui/client/features/pages-editor/services/AutoMapApi.tsx.

Functions#

applyAutoMap()#

applyAutoMap(body): Promise<SaveOutcome & PageTree>

Defined in: ui/client/features/pages-editor/services/AutoMapApi.tsx:9

Parameters#

body
contentHash

string

feature

string

file

string

nodeId

string

propNames

string[]

Returns#

Promise<SaveOutcome & PageTree>


getUnmappedProps()#

getUnmappedProps(feature, file, nodeId): Promise<{ candidates: string[]; childPropsResolved: boolean; }>

Defined in: ui/client/features/pages-editor/services/AutoMapApi.tsx:4

Parameters#

feature

string

file

string

nodeId

string

Returns#

Promise<{ candidates: string[]; childPropsResolved: boolean; }>