Files de-nocheck'd with proper minimal types: - src/db/database.ts: cast (db as any)._cleanupInterval — intentional runtime augmentation of the exported db handle. - src/routes/audioBackups.ts: type the new Promise<Buffer>(...) wrappers around zlib.gzip / zlib.gunzip so .length is recognized. - src/routes/documents.ts: var config: any for the S3 client config built piecemeal across env-var branches. Still @ts-nocheck (deferred — need real interface design): - src/utils/ai.ts, embeddings.ts (multi-provider AI request shapes) - src/routes/transcribe.ts, adminConfig.ts (Node 20 File global path) - src/routes/auth.ts (response.json() unknown in TS6) npm run typecheck → 0 errors. |
||
|---|---|---|
| .. | ||
| db | ||
| middleware | ||
| routes | ||
| utils | ||