From fc0e0b471691f0c7e2e6eb02a78e481de328fb04 Mon Sep 17 00:00:00 2001 From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com> Date: Sun, 14 Jun 2026 14:21:49 +0200 Subject: [PATCH] UPdated API routes --- app/api/ext/projects/[projectCode]/episodes/route.ts | 4 +++- app/api/ext/projects/[projectCode]/shots/route.ts | 4 +++- app/api/ext/shots/[shotId]/route.ts | 4 +++- app/api/ext/shots/lookup/route.ts | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app/api/ext/projects/[projectCode]/episodes/route.ts b/app/api/ext/projects/[projectCode]/episodes/route.ts index 9ae4afd..f7b7592 100644 --- a/app/api/ext/projects/[projectCode]/episodes/route.ts +++ b/app/api/ext/projects/[projectCode]/episodes/route.ts @@ -55,7 +55,9 @@ export async function GET( episode: true, sequence: true, status: true, - exrOutput: true, + exrOutput: true, + seqTimecodeStart: true, + seqTimecodeEnd: true, sourceClip: true, timecodeStart: true, timecodeEnd: true, diff --git a/app/api/ext/projects/[projectCode]/shots/route.ts b/app/api/ext/projects/[projectCode]/shots/route.ts index 68a6bec..d790dba 100644 --- a/app/api/ext/projects/[projectCode]/shots/route.ts +++ b/app/api/ext/projects/[projectCode]/shots/route.ts @@ -84,7 +84,9 @@ export async function GET( timecodeStart: true, timecodeEnd: true, clipDuration: true, - exrOutput: true, + exrOutput: true, + seqTimecodeStart: true, + seqTimecodeEnd: true, thumbnailUrl: true, artist: { select: { id: true, name: true, email: true }, diff --git a/app/api/ext/shots/[shotId]/route.ts b/app/api/ext/shots/[shotId]/route.ts index d40a455..bef3d2b 100644 --- a/app/api/ext/shots/[shotId]/route.ts +++ b/app/api/ext/shots/[shotId]/route.ts @@ -54,7 +54,9 @@ export async function GET( timecodeStart: true, timecodeEnd: true, clipDuration: true, - exrOutput: true, + exrOutput: true, + seqTimecodeStart: true, + seqTimecodeEnd: true, createdAt: true, updatedAt: true, project: { diff --git a/app/api/ext/shots/lookup/route.ts b/app/api/ext/shots/lookup/route.ts index 5e8ff0a..d994a45 100644 --- a/app/api/ext/shots/lookup/route.ts +++ b/app/api/ext/shots/lookup/route.ts @@ -62,7 +62,9 @@ export async function GET(req: NextRequest) { timecodeStart: true, timecodeEnd: true, clipDuration: true, - exrOutput: true, + exrOutput: true, + seqTimecodeStart: true, + seqTimecodeEnd: true, thumbnailUrl: true, createdAt: true, updatedAt: true,