MCPcopy Create free account
hub / github.com/DTStack/molecule / updateOutput

Method updateOutput

src/services/workbench/panelService.ts:214–224  ·  view source on GitHub ↗

* Onyl support to update several properties

(data: Partial<IPanelItem>)

Source from the content-addressed store, hash-verified

212 * Onyl support to update several properties
213 */
214 public updateOutput(data: Partial<IPanelItem>): IPanelItem | undefined {
215 const { title, name, sortIndex, active, closable, editable } = data;
216 return this.updateOutputProperty({
217 title,
218 name,
219 sortIndex,
220 active,
221 closable,
222 editable,
223 });
224 }
225
226 public appendOutput(content: string): void {
227 const outputValue = this.getOutputValue();

Callers

nothing calls this directly

Calls 1

updateOutputPropertyMethod · 0.95

Tested by

no test coverage detected