MCPcopy Create free account
hub / github.com/simstudioai/sim / fileSubBlock

Function fileSubBlock

apps/sim/lib/workspaces/fork/remap/remap-references.test.ts:322–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 })
321
322 const fileSubBlock = (): SubBlockRecord => ({
323 file: {
324 id: 'file',
325 type: 'file-upload',
326 value: { key: 'workspace/SRC/a.png', name: 'a.png' },
327 },
328 })
329
330 it('promote mode: records an unmapped file-upload key as a file reference and clears it', () => {
331 const result = remapForkSubBlocks(fileSubBlock(), () => null, 'promote')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected