跳到主要内容

Type Alias: TMessageData

TMessageData = object

Defined in: types/index.ts:324

The message data structure.

Properties

commandData?

optional commandData: object

Defined in: types/index.ts:326

The command data payload.


commandName

commandName: string

Defined in: types/index.ts:328

The name of the command to execute in the DocSpace frame.


eventReturnData?

optional eventReturnData: TEventReturnData

Defined in: types/index.ts:330

The event return data.


error?

optional error: object

Defined in: types/index.ts:332

The error information.

message

message: string

The error message.

code?

optional code: number

The error code.


frameId

frameId: string

Defined in: types/index.ts:339

The frame unique identifier.


methodReturnData?

optional methodReturnData: object

Defined in: types/index.ts:341

The method return data.


type

type: TMessageTypes

Defined in: types/index.ts:343

The message type.