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

File route.ts

apps/sim/app/api/v1/workflows/[id]/rollback/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { assertWorkflowMutable, WorkflowLockedError } from '@sim/platform-authz/workflow'
3import { getErrorMessage } from '@sim/utils/errors'
4import { type NextRequest, NextResponse } from 'next/server'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkRateLimitFunction · 0.90
createRateLimitResponseFunction · 0.90
parseRequestFunction · 0.90
parseOptionalJsonBodyFunction · 0.90
validationErrorResponseFunction · 0.90
assertWorkflowMutableFunction · 0.90
performActivateVersionFunction · 0.90

Tested by

no test coverage detected