BE-PR-001: Rename Propose -> Proposal across backend

- Backend: new canonical Proposal model + /proposals router
- Backward-compat shims for old Propose imports and /proposes API
- Tests updated to use /proposals, legacy compat tests added
- Impact checklist: docs/BE-PR-001-rename-impact.md
- TASKLIST.md: BE-PR-001 marked complete

All 21 proposal tests pass.
This commit is contained in:
zhi
2026-03-29 15:35:59 +00:00
parent 339f9aa126
commit 55ac776462
6 changed files with 101 additions and 6 deletions

View File

@@ -30,10 +30,10 @@
## B. HarborForge.Backend - Proposal / Essential / Story restricted
- [ ] BE-PR-001:后端统一重命名 `Propose` 概念为 `Proposal`(backend only)
- [ ] 盘点 `models / schemas / routers / services / tests``propose` 命名
- [ ] 明确保留兼容别名还是直接切换
- [ ] 输出重命名影响清单
- [x] BE-PR-001:后端统一重命名 `Propose` 概念为 `Proposal`(backend only)
- [x] 盘点 `models / schemas / routers / services / tests``propose` 命名
- [x] 明确保留兼容别名还是直接切换 → 保留别名 + legacy API 路由
- [x] 输出重命名影响清单`docs/BE-PR-001-rename-impact.md`
- [ ] BE-PR-002:新增 Proposal 数据模型调整(backend only)
- [ ] 调整 Proposal 模型命名与字段注释