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

File route.ts

apps/sim/app/api/tools/image/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { getErrorMessage, toError } from '@sim/utils/errors'
3import { sleep } from '@sim/utils/helpers'
4import { isRecordLike } from '@sim/utils/object'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkInternalAuthFunction · 0.90
parseRequestFunction · 0.90
validationErrorResponseFunction · 0.90
getErrorMessageFunction · 0.90
isPayloadSizeLimitErrorFunction · 0.90
searchParamsToObjectFunction · 0.90
validateUrlWithDNSFunction · 0.90
secureFetchWithPinnedIPFunction · 0.90

Tested by

no test coverage detected