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

Method updateOutputProperty

src/services/workbench/panelService.ts:122–130  ·  view source on GitHub ↗
(
        data: Partial<IPanelItem<string>>
    )

Source from the content-addressed store, hash-verified

120 }
121
122 private updateOutputProperty(
123 data: Partial<IPanelItem<string>>
124 ): IPanelItem | undefined {
125 const { PANEL_OUTPUT } = this.builtinService.getConstants();
126 const truthData = pickBy(data, (item) => item !== undefined);
127 return this.update(
128 Object.assign(this.getPanel(PANEL_OUTPUT!), truthData)
129 );
130 }
131
132 public get outputEditorInstance() {
133 const { PANEL_OUTPUT } = this.builtinService.getConstants();

Callers 2

updateOutputMethod · 0.95
appendOutputMethod · 0.95

Calls 3

updateMethod · 0.95
getPanelMethod · 0.95
getConstantsMethod · 0.65

Tested by

no test coverage detected