MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/superuser/import-workflow/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { copilotChats, workflow, workspace } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { generateId } from '@sim/utils/id'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
verifyEffectiveSuperUserFunction · 0.90
parseRequestFunction · 0.90
sanitizeForExportFunction · 0.90
parseWorkflowJsonFunction · 0.90
generateIdFunction · 0.90
deduplicateWorkflowNameFunction · 0.90
loadCopilotChatMessagesFunction · 0.90

Tested by

no test coverage detected