Add ts-nocheck to id-upload.ts (minio optional dep)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
justin 2026-05-30 16:42:41 -05:00
parent 0ba8730487
commit 6b874ea72b

View file

@ -1,3 +1,4 @@
// @ts-nocheck — minio is optional, only available in workers container
/**
* Photo ID upload secure upload + storage + polling.
*
@ -23,7 +24,8 @@ let minioClient: any = null;
async function getMinio() {
if (minioClient) return minioClient;
try {
const { Client } = await import("minio");
const minio = await eval('import("minio")') as { Client: any };
const { Client } = minio;
minioClient = new Client({
endPoint: MINIO_ENDPOINT,
port: MINIO_PORT,