MCPcopy 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
13export function getFolderMap(workspaceId: string): Record<string, WorkflowFolder> {
14 return Object.fromEntries(getFolders(workspaceId).map((folder) => [folder.id, folder]))
15}

Callers 12

ensureWorkflowInRegistryFunction · 0.90
buildDragResourcesFunction · 0.90
WorkflowItemFunction · 0.90
FolderItemFunction · 0.90
useDragDropFunction · 0.90
useDuplicateFolderFunction · 0.90
useDuplicateSelectionFunction · 0.90
useExportSelectionFunction · 0.90
useCreateWorkflowFunction · 0.90
selectors.tsFile · 0.90

Calls 1

getFoldersFunction · 0.85

Tested by

no test coverage detected