Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/workspaces/[id]/fork/lineage/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ db } from
'@sim/db'
2
import
{ workspace } from
'@sim/db/schema'
3
import
{ eq } from
'drizzle-orm'
4
import
type
{ NextRequest } from
'next/server'
Callers
nothing calls this directly
Calls
6
withRouteHandler
Function · 0.90
parseRequest
Function · 0.90
assertWorkspaceAdminAccess
Function · 0.90
getForkParent
Function · 0.90
getUndoableRunForTarget
Function · 0.90
eq
Function · 0.50
Tested by
no test coverage detected