From 6adaf72114e74496391f74245f10896f6aabd710 Mon Sep 17 00:00:00 2001 From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com> Date: Sat, 1 Aug 2026 16:47:26 +0200 Subject: [PATCH] RenderPipeline2 --- app/(dashboard)/render-queue/page.tsx | 2 +- app/api/ext/exports/route.ts | 2 +- lib/render-pipeline/exports.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) 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, }, }); }