Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ getSource
Function
getSource
apps/sim/lib/data-drains/sources/registry.ts:16–18 ·
view source on GitHub ↗
(type: SourceType)
Source
from the content-addressed store, hash-verified
14
} as
const
satisfies Record<SourceType, DrainSource>
15
16
export
function
getSource(
type
: SourceType): DrainSource {
17
return
SOURCE_REGISTRY[
type
]
18
}
Callers
1
runDrain
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected