feat(p2v): 무빙 포스터·롱컷 통합 및 상세·소셜 기능 연결

This commit is contained in:
skkim committed 2026-10-15 10:57:04 +09:00
1 parent cd71f6d9d3
commit c06018d88c
42 files changed
+3020 -1610

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { PlayreelJob, getPlayreelJob } from '../utils/playreelApi';
import { UsePolledJobResult, usePolledJob } from './usePolledJob';
const isActive = (job: PlayreelJob): boolean => job.status === 'queued' || job.status === 'running';
/** 롱컷 잡 폴링. 검수 게이트(awaiting_review)에서는 멈춘다 */
export function usePlayreelJob(id: string | null): UsePolledJobResult<PlayreelJob> {
return usePolledJob(id, getPlayreelJob, isActive);
}