MCPcopy Create free account
hub / github.com/apitable/apitable / wrapEmitData

Method wrapEmitData

packages/widget-sdk/src/message/main_message.ts:41–46  ·  view source on GitHub ↗

* Wraps the emit parameter with the current form identifier. * @param data

(data: IResponse)

Source from the content-addressed store, hash-verified

39 * @param data
40 */
41 private wrapEmitData(data: IResponse) {
42 return {
43 ...data,
44 origin: this.origin
45 };
46 }
47
48 /**
49 * Change connect status.

Callers 2

emitMethod · 0.95
emitBroadcastMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected