feat(#1899,#1900): clip_count 参数 + 模板管理 API 冗余清理 #1918
Reference in New Issue
Block a user
Delete Branch "feat/1899-1900-clip-count-template-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
改动
1. #1899 clip_count 参数
ClipsFromAssetsRequest新增clip_count: int (1-10, 默认3)字段required_clips_count兼容(model_validator自动归一化,超10截断)2. #1900 模板管理 API 清理
前端 PR#1911 已删除 my-templates/editing-planner/templates 管理页,后端清理 11 个无用 HTTP 端点:
保留:GET /templates(生成页自动选模板)+ 内部 CreateTemplateUseCase(给
_get_or_create_default_template_id默认模板兜底使用)+ templates_editor/ 全部路由。3. 冗余清理
4. E2E 测试数据清理脚本
新增
scripts/cleanup_e2e_test_data.sql,清理 e2e-gen-/asset-create_/e2e_ 前缀测试账号的模板数据(staging DB 执行)。测试
Closes #1899, Closes #1900
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1918 已关闭或合并,对应的预览环境已被清理。