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

File route.ts

apps/sim/app/api/auth/oauth/microsoft/file/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { type NextRequest, NextResponse } from 'next/server'
3import { microsoftFileQuerySchema } from '@/lib/api/contracts/selectors/microsoft'
4import { getValidationErrorMessage } from '@/lib/api/server'

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
validateMicrosoftGraphIdFunction · 0.90
authorizeCredentialUseFunction · 0.90
getCredentialFunction · 0.90
errorMethod · 0.80
getMethod · 0.65
warnMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected