diff --git a/app/(dashboard)/render-queue/page.tsx b/app/(dashboard)/render-queue/page.tsx index 3845e94..3bb870d 100644 --- a/app/(dashboard)/render-queue/page.tsx +++ b/app/(dashboard)/render-queue/page.tsx @@ -30,7 +30,7 @@ export default async function RenderQueuePage() { - {exports.map((item) => ( + {exports.map((item: any) => ( {item.shot?.shotCode ?? item.shotId} {item.versionString} diff --git a/app/api/ext/exports/route.ts b/app/api/ext/exports/route.ts index 5626f61..8b0e07b 100644 --- a/app/api/ext/exports/route.ts +++ b/app/api/ext/exports/route.ts @@ -35,7 +35,7 @@ export async function POST(req: NextRequest) { try { const body = await req.json(); - const parsed = createExportSchema.parse(body); + const parsed = createExportSchema.parse(body) as Parameters[0]; const result = await createRenderExport(parsed); return NextResponse.json(result, { status: 201 }); } catch (error) { diff --git a/lib/render-pipeline/exports.ts b/lib/render-pipeline/exports.ts index 752c270..3b272e5 100644 --- a/lib/render-pipeline/exports.ts +++ b/lib/render-pipeline/exports.ts @@ -169,7 +169,6 @@ export async function getLatestExportForShot(shotId: string) { include: { shot: { select: { shotCode: true, project: { select: { code: true } } } }, renderJobs: { orderBy: [{ createdAt: "desc" }], take: 1 }, - validations: true, }, }); }