(id: string, index: number)
| 159 | } |
| 160 | |
| 161 | export function removeOutput(id: string, index: number): void { |
| 162 | mutate(id, (fn) => ({ ...fn, outputs: fn.outputs.filter((_, i) => i !== index) }), true); |
| 163 | } |
| 164 | |
| 165 | /** Set one output's return-value expression. Not a signature change → no version bump. */ |
| 166 | export function setOutputExpression(id: string, index: number, expression: Expression): void { |
no test coverage detected