MCPcopy
hub / github.com/wavetermdev/waveterm / CreateBlock

Method CreateBlock

frontend/app/store/services.ts:81–83  ·  view source on GitHub ↗
(blockDef: BlockDef, rtOpts: RuntimeOpts)

Source from the content-addressed store, hash-verified

79
80 // @returns blockId (and object updates)
81 CreateBlock(blockDef: BlockDef, rtOpts: RuntimeOpts): Promise<string> {
82 return callBackendService(this?.waveEnv, "object", "CreateBlock", Array.from(arguments))
83 }
84
85 // @returns object updates
86 DeleteBlock(blockId: string): Promise<void> {

Callers 4

createBlockFunction · 0.45
replaceBlockFunction · 0.45

Calls 1

callBackendServiceFunction · 0.70

Tested by

no test coverage detected