MCPcopy 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

1import { db } from '@sim/db'
2import { workflow } from '@sim/db/schema'
3import { eq } from 'drizzle-orm'
4import { type NextRequest, NextResponse } from 'next/server'

Callers

nothing calls this directly

Calls 15

withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
assertCanPromoteFunction · 0.90
loadSourceDeployedStatesFunction · 0.90
computeForkPromotePlanFunction · 0.90
loadForkBlockMapFunction · 0.90
buildForkBlockIdResolverFunction · 0.90
loadForkDependentValuesFunction · 0.90
loadTargetDraftSubBlocksFunction · 0.90
forkDependentValueKeyFunction · 0.90

Tested by

no test coverage detected