Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ code-store.ts
File
code-store.ts
apps/sim/stores/undo-redo/code-store.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ create } from
'zustand'
2
import
{ createJSONStorage, devtools, persist } from
'zustand/middleware'
3
import
{ codeUndoRedoStorage } from
'@/stores/undo-redo/code-storage'
4
Callers
nothing calls this directly
Calls
5
persist
Function · 0.85
shift
Method · 0.80
getStackKey
Function · 0.70
get
Function · 0.50
set
Function · 0.50
Tested by
no test coverage detected