Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ getFolderMap
Function
getFolderMap
apps/sim/hooks/queries/utils/folder-cache.ts:13–15 ·
view source on GitHub ↗
(workspaceId: string)
Source
from the content-addressed store, hash-verified
11
}
12
13
export
function
getFolderMap(workspaceId: string): Record<string, WorkflowFolder> {
14
return
Object.fromEntries(getFolders(workspaceId).map((folder) => [folder.id, folder]))
15
}
Callers
12
ensureWorkflowInRegistry
Function · 0.90
buildDragResources
Function · 0.90
WorkflowItem
Function · 0.90
FolderItem
Function · 0.90
useDragDrop
Function · 0.90
useDuplicateFolder
Function · 0.90
useDuplicateSelection
Function · 0.90
useExportSelection
Function · 0.90
useCreateWorkflow
Function · 0.90
useDuplicateWorkflowMutation
Function · 0.90
createFolderMutationHandlers
Function · 0.90
selectors.ts
File · 0.90
Calls
1
getFolders
Function · 0.85
Tested by
no test coverage detected