MCPcopy Index your code
hub / github.com/simstudioai/sim / remapRef

Function remapRef

apps/sim/lib/table/workflow-groups/service.ts:304–304  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

302 [...schema.columns, ...newColDefs].map((c) => [c.name, getColumnId(c)])
303 )
304 const remapRef = (ref: string) => idByName.get(ref) ?? ref
305 const outputsInput = data.outputs?.map((o) => ({ ...o, columnName: remapRef(o.columnName) }))
306 const dependenciesInput = data.dependencies
307 ? { columns: data.dependencies.columns?.map(remapRef) }

Callers 1

updateWorkflowGroupFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected