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/diff/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ db } from
'@sim/db'
2
import
{ workflow } from
'@sim/db/schema'
3
import
{ eq } from
'drizzle-orm'
4
import
{
type
NextRequest, NextResponse } from
'next/server'
Callers
nothing calls this directly
Calls
15
withRouteHandler
Function · 0.90
parseRequest
Function · 0.90
assertCanPromote
Function · 0.90
loadSourceDeployedStates
Function · 0.90
computeForkPromotePlan
Function · 0.90
loadForkBlockMap
Function · 0.90
buildForkBlockIdResolver
Function · 0.90
loadForkDependentValues
Function · 0.90
loadTargetDraftSubBlocks
Function · 0.90
listForkResourceCandidates
Function · 0.90
forkDependentValueKey
Function · 0.90
collectForkDependentReconfigs
Function · 0.90
Tested by
no test coverage detected