MCPcopy
hub / github.com/simstudioai/sim / getStackKey

Function getStackKey

apps/sim/stores/undo-redo/code-store.ts:33–35  ·  view source on GitHub ↗
(workflowId: string, blockId: string, subBlockId: string)

Source from the content-addressed store, hash-verified

31const MAX_STACKS = 50
32
33function getStackKey(workflowId: string, blockId: string, subBlockId: string): string {
34 return `${workflowId}:${blockId}:${subBlockId}`
35}
36
37const initialState = {
38 stacks: {} as Record<string, CodeUndoRedoStack>,

Callers 1

code-store.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected