Files
xiaoxia-saas/packages/adapters/sqlalchemy_impl/__init__.py
T
灵应 b5add6e402
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 191h48m18s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 191h48m20s
Deploy / Deploy Staging (push) Failing after 191h50m54s
CI/CD Pipeline / Frontend Lint (push) Failing after 191h51m34s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 191h51m40s
feat(phase8-task201): EditTemplate + EditPlan 数据模型、仓储、迁移与测试
- 新增 EditTemplate 领域实体(六边形架构,@dataclass)
- 新增 EditPlan 领域实体(含状态机:draft→editing→rendering→completed/failed)
- 更新 EditTemplateModel ORM 模型(Phase 8 新 schema)
- 新增 EditPlanModel ORM 模型
- 新增 SQLAlchemyEditTemplateRepository(CRUD + list_active)
- 新增 SQLAlchemyEditPlanRepository(CRUD + list_by_template)
- 新增 Alembic 迁移 016:ALTER edit_templates + CREATE edit_plans
- 新增 14 个单元测试(全部通过)
- 更新 domain/__init__.py 和 adapters/__init__.py 导出
2026-07-01 13:02:51 +08:00

36 lines
1.3 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_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,
)
__all__ = [
"Base",
"SQLAlchemyAssetLibraryRepository",
"SQLAlchemyAssetRepository",
"SQLAlchemyClassificationJobRepository",
"SQLAlchemyEditPlanRepository",
"SQLAlchemyEditTemplateRepository",
"SQLAlchemyGeneratedVideoRepository",
"SQLAlchemyGenerationTaskRepository",
"SQLAlchemyIngestJobRepository",
"SQLAlchemyProjectRepository",
"build_engine",
"build_session_factory",
"ensure_database_exists",
"initialize_database",
]