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/workflows/reorder/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
{ createLogger } from
'@sim/logger'
4
import
{
Callers
nothing calls this directly
Calls
14
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
checkSessionOrInternalAuth
Function · 0.90
parseRequest
Function · 0.90
getUserEntityPermissions
Function · 0.90
assertWorkflowMutable
Function · 0.90
assertFolderInWorkspace
Function · 0.90
assertFolderMutable
Function · 0.90
info
Method · 0.80
error
Method · 0.80
warn
Method · 0.65
Tested by
no test coverage detected