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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { AuditAction, AuditResourceType, recordAudit } from '@sim/audit'
2import { createLogger } from '@sim/logger'
3import { type NextRequest, NextResponse } from 'next/server'
4import { v1CreateTableContract, v1ListTablesContract } from '@/lib/api/contracts/v1/tables'

Callers

nothing calls this directly

Calls 13

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkRateLimitFunction · 0.90
createRateLimitResponseFunction · 0.90
parseRequestFunction · 0.90
validateWorkspaceAccessFunction · 0.90
listTablesFunction · 0.90
getWorkspaceTableLimitsFunction · 0.90
createTableFunction · 0.90
recordAuditFunction · 0.90

Tested by

no test coverage detected