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

Function remap

apps/sim/lib/table/column-keys.ts:73–73  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

71 })
72
73 const remap = (ref: string) => idByName.get(ref) ?? ref
74 const workflowGroups = schema.workflowGroups?.map((group) => ({
75 ...group,
76 outputs: group.outputs.map((o) => ({ ...o, columnName: remap(o.columnName) })),

Callers 2

withGeneratedColumnIdsFunction · 0.85
remapGroupColumnRefsFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected