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