RenderPipeline2
Deploy / deploy (push) Successful in 3m11s

This commit is contained in:
twotalesanimation
2026-08-01 16:47:26 +02:00
parent 9a49cdc6a3
commit 6adaf72114
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export default async function RenderQueuePage() {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{exports.map((item) => ( {exports.map((item: any) => (
<tr key={item.id} className="border-t border-border/60"> <tr key={item.id} className="border-t border-border/60">
<td className="px-4 py-3 font-mono">{item.shot?.shotCode ?? item.shotId}</td> <td className="px-4 py-3 font-mono">{item.shot?.shotCode ?? item.shotId}</td>
<td className="px-4 py-3">{item.versionString}</td> <td className="px-4 py-3">{item.versionString}</td>
+1 -1
View File
@@ -35,7 +35,7 @@ export async function POST(req: NextRequest) {
try { try {
const body = await req.json(); const body = await req.json();
const parsed = createExportSchema.parse(body); const parsed = createExportSchema.parse(body) as Parameters<typeof createRenderExport>[0];
const result = await createRenderExport(parsed); const result = await createRenderExport(parsed);
return NextResponse.json(result, { status: 201 }); return NextResponse.json(result, { status: 201 });
} catch (error) { } catch (error) {
-1
View File
@@ -169,7 +169,6 @@ export async function getLatestExportForShot(shotId: string) {
include: { include: {
shot: { select: { shotCode: true, project: { select: { code: true } } } }, shot: { select: { shotCode: true, project: { select: { code: true } } } },
renderJobs: { orderBy: [{ createdAt: "desc" }], take: 1 }, renderJobs: { orderBy: [{ createdAt: "desc" }], take: 1 },
validations: true,
}, },
}); });
} }