- 무빙 포스터(p2v_video)·롱컷(p2v_playreel) 파이프라인과 워커, 갤러리·내 콘텐츠 노출 - 좋아요·댓글: comment/video_reaction에 p2v_playreel_id 추가, 종류별 CHECK 확장 - P2V 소프트 삭제(is_deleted), queued/running 삭제 차단 - 공개 상세·공유 OG 페이지 추가 - 삭제된 부모 댓글이 목록에서 사라지던 has_live_reply 서브쿼리 버그 수정 - 마이그레이션: migration_2026-10-15_p2v_reactions.sql
18 lines
469 B
Python
18 lines
469 B
Python
from pydantic import BaseModel
|
|
|
|
NARRATION_SLOTS = ("훅1", "훅2", "수상", "넘버", "캐스팅스케줄", "일시", "CTA")
|
|
|
|
|
|
class NarrationLine(BaseModel):
|
|
slot: str
|
|
text: str
|
|
|
|
|
|
class SlotNarration(BaseModel):
|
|
"""롱컷 나레이션 7문장. 게이트 ③에서 사람이 고치면 그것이 읽히는 문장이 된다."""
|
|
lines: list[NarrationLine]
|
|
|
|
@property
|
|
def texts(self) -> list[str]:
|
|
return [line.text for line in self.lines]
|