22bef9688f
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 191h33m32s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 191h33m35s
Deploy / Deploy Staging (push) Failing after 191h35m54s
CI/CD Pipeline / Frontend Lint (push) Failing after 191h36m27s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 191h36m32s
新增领域实体: - TemplateClipConfig: 模板片段配置(片段类型、时长范围、文案模板、素材要求、转场效果) - EditPlanClip: 剪辑计划片段(关联 EditPlan、实际素材、实际文案、排序、状态流转) 新增枚举: - ClipType: intro/main/transition/outro/title/subtitle - TransitionEffect: cut/fade/slide_left/slide_right/dissolve/wipe - EditPlanClipStatus: pending/ready/rendered/failed 新增 ORM 模型: - TemplateClipConfigModel (template_clip_configs 表) - EditPlanClipModel (edit_plan_clips 表) 新增仓储: - SQLAlchemyTemplateClipConfigRepository (list_by_template/create/update/delete/delete_by_template) - SQLAlchemyEditPlanClipRepository (list_by_plan/create/update/delete/delete_by_plan/count) 新增 Alembic 迁移 017: CREATE TABLE template_clip_configs + edit_plan_clips 单元测试 44 个全部通过
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
"""SQLAlchemy-based repository implementations."""
|
|
|
|
from .asset_library_repository import SQLAlchemyAssetLibraryRepository
|
|
from .asset_repository import SQLAlchemyAssetRepository
|
|
from .classification_job_repository import SQLAlchemyClassificationJobRepository
|
|
from .edit_plan_clip_repository import SQLAlchemyEditPlanClipRepository
|
|
from .edit_plan_repository import SQLAlchemyEditPlanRepository
|
|
from .edit_template_repository import SQLAlchemyEditTemplateRepository
|
|
from .generated_video_repository import SQLAlchemyGeneratedVideoRepository
|
|
from .generation_task_repository import SQLAlchemyGenerationTaskRepository
|
|
from .ingest_job_repository import SQLAlchemyIngestJobRepository
|
|
from .project_repository import SQLAlchemyProjectRepository
|
|
from .session import (
|
|
Base,
|
|
build_engine,
|
|
build_session_factory,
|
|
ensure_database_exists,
|
|
initialize_database,
|
|
)
|
|
from .template_clip_config_repository import SQLAlchemyTemplateClipConfigRepository
|
|
|
|
__all__ = [
|
|
"Base",
|
|
"SQLAlchemyAssetLibraryRepository",
|
|
"SQLAlchemyAssetRepository",
|
|
"SQLAlchemyClassificationJobRepository",
|
|
"SQLAlchemyEditPlanClipRepository",
|
|
"SQLAlchemyEditPlanRepository",
|
|
"SQLAlchemyEditTemplateRepository",
|
|
"SQLAlchemyGeneratedVideoRepository",
|
|
"SQLAlchemyGenerationTaskRepository",
|
|
"SQLAlchemyIngestJobRepository",
|
|
"SQLAlchemyProjectRepository",
|
|
"SQLAlchemyTemplateClipConfigRepository",
|
|
"build_engine",
|
|
"build_session_factory",
|
|
"ensure_database_exists",
|
|
"initialize_database",
|
|
]
|