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

Function buildOutputsByBlockId

apps/sim/lib/table/cell-write.ts:190–200  ·  view source on GitHub ↗
(
  group: WorkflowGroup
)

Source from the content-addressed store, hash-verified

188 * writes.
189 */
190export function buildOutputsByBlockId(
191 group: WorkflowGroup
192): Map<string, Array<{ path: string; columnName: string }>> {
193 const map = new Map<string, Array<{ path: string; columnName: string }>>()
194 for (const out of group.outputs) {
195 const list = map.get(out.blockId) ?? []
196 list.push({ path: out.path, columnName: out.columnName })
197 map.set(out.blockId, list)
198 }
199 return map
200}
201
202/** Type-narrowing helper used by readers that can't assume `executions` is set. */
203export function readExecutions(

Callers 2

buildResumeCellWritersFunction · 0.85

Calls 3

getMethod · 0.65
setMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected