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/mapping/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ db } from
'@sim/db'
2
import
{
type
NextRequest, NextResponse } from
'next/server'
3
import
{
4
getForkMappingContract,
Callers
nothing calls this directly
Calls
8
withRouteHandler
Function · 0.90
parseRequest
Function · 0.90
assertCanPromote
Function · 0.90
getForkMappingView
Function · 0.90
validateForkMappingTargets
Function · 0.90
setForkLockTimeout
Function · 0.90
acquireForkEdgeLock
Function · 0.90
applyForkMappingEntries
Function · 0.90
Tested by
no test coverage detected