Home > @uniformdev/mesh-sdk > MeshParentConnection

MeshParentConnection interface

Methods the parent frame exposes to the Mesh SDK over the iframe bridge (connectToParent().parent). The dashboard implements the same shape when wiring setupIframeListeners / mesh location hosts.

Signature:

Properties

Property

Modifiers

Type

Description

closeDialog

(message: CloseDialogMessage) => Promise<void>

editConnectedData

(message: EditConnectedDataMessage>

editorState

EditorStateApi

Provides imperative access to the composition/entry editor state. This API provides imperative access to the composition/entry editor state.

getDataResource

<TExpectedResult>(message: GetDataResourceMessage) => Promise<TExpectedResult>

getSessionToken

() => Promise<string | undefined>

Returns a short-lived session token for identity delegation, or undefined when delegation is not enabled for this integration.

navigate

(message: NavigateMessage) => Promise<void>

openDialog

(message: OpenDialogMessage, 'value' | 'dialogId'> | undefined>

reloadLocation

() => Promise<void>

resize

({ height }: { height: CSSHeight; }) => Promise<void>

setValue

(value: SetValueMessage) => Promise<void>