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

File route.ts

apps/sim/app/api/users/me/usage-limits/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { getErrorMessage } from '@sim/utils/errors'
3import { type NextRequest, NextResponse } from 'next/server'
4import { usageLimitsRequestSchema } from '@/lib/api/contracts/usage-limits'

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
checkHybridAuthFunction · 0.90
createErrorResponseFunction · 0.90
getUserStorageUsageFunction · 0.90
getUserStorageLimitFunction · 0.90
getErrorMessageFunction · 0.90
parseMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected