feat: P2V 파이프라인 연동 및 좋아요·댓글·공유 지원
- 무빙 포스터(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
This commit is contained in:
1 parent
bb1ea12958
commit
b16d4a8f1b
126 files changed
+6921
-62
No files matched your search
@@ -29,8 +29,11 @@ from app.comment.api.routers.v1.comment import router as comment_router
|
||||
from app.video.api.routers.internal.reactions import router as video_internal_router
|
||||
from app.credit.api.routers.v1.credit import router as credit_router
|
||||
from app.ssulbox.api.routers.v1.content import router as ssulbox_router
|
||||
from app.p2v.api.routers.v1.f1 import router as p2v_f1_router
|
||||
from app.p2v.api.routers.v1.playreel import router as p2v_playreel_router
|
||||
from app.p2v.api.routers.v1.public import router as p2v_public_router
|
||||
from app.utils.cors import CustomCORSMiddleware
|
||||
from config import prj_settings, ssulbox_settings
|
||||
from config import p2v_settings, prj_settings, ssulbox_settings
|
||||
|
||||
tags_metadata = [
|
||||
{
|
||||
@@ -453,6 +456,12 @@ app.include_router(credit_router, prefix="/user") # Credit API 라우터 추가
|
||||
if ssulbox_settings.SSULBOX_ENABLED:
|
||||
app.include_router(ssulbox_router) # /ssul/* 라우터
|
||||
|
||||
if p2v_settings.P2V_ENABLED:
|
||||
app.include_router(p2v_f1_router) # /p2v/f1/* 라우터
|
||||
app.include_router(p2v_playreel_router) # /p2v/playreel/* 라우터
|
||||
# 공개 상세·공유. /p2v/f1/{id} 가 /jobs 와 겹치지 않도록 위 라우터들 뒤에 둔다
|
||||
app.include_router(p2v_public_router)
|
||||
|
||||
# DEBUG 모드에서만 테스트 라우터 등록
|
||||
if prj_settings.DEBUG:
|
||||
app.include_router(auth_test_router, prefix="/user") # Test Auth API 라우터
|
||||
Reference in new issue
Block a user