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

Function rowDataIdToName

apps/sim/lib/table/column-keys.ts:180–187  ·  view source on GitHub ↗
(data: RowData, nameById: Map<string, string>)

Source from the content-addressed store, hash-verified

178 * are dropped, so orphaned keys never surface.
179 */
180export function rowDataIdToName(data: RowData, nameById: Map<string, string>): RowData {
181 const out: RowData = {}
182 for (const [id, value] of Object.entries(data)) {
183 const name = nameById.get(id)
184 if (name !== undefined) out[name] = value
185 }
186 return out
187}

Callers 10

executeFunction · 0.90
fireTableTriggerFunction · 0.90
runTableExportFunction · 0.90
rowWireTranslatorsFunction · 0.90
startFunction · 0.90
handleBatchInsertFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected