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

File route.ts

apps/sim/app/api/tools/gmail/labels/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 { gmailLabelsSelectorContract } from '@/lib/api/contracts/selectors/google'
4import { parseRequest } from '@/lib/api/server'

Callers

nothing calls this directly

Calls 14

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseRequestFunction · 0.90
validateAlphanumericIdFunction · 0.90
authorizeCredentialUseFunction · 0.90
getServiceAccountTokenFunction · 0.90
getScopesForServiceFunction · 0.90
infoMethod · 0.80
textMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected