MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/workspaces/[id]/fork/promote/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { AuditAction, AuditResourceType, recordAudit } from '@sim/audit'
2import { db } from '@sim/db'
3import { createLogger } from '@sim/logger'
4import { getErrorMessage } from '@sim/utils/errors'

Callers

nothing calls this directly

Calls 11

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseRequestFunction · 0.90
assertCanPromoteFunction · 0.90
promoteForkFunction · 0.90
recordAuditFunction · 0.90
recordBackgroundWorkFunction · 0.90
getErrorMessageFunction · 0.90
infoMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected