refactor(*): 稳定期治理 - 收敛核心架构、错误语义并修复跨项目数据竞态

This commit is contained in:
ddCat committed 2026-09-09 22:02:10 +08:00
1 parent 83d9622fd0
commit bf41ef3172
298 files changed
+12681 -26428

No files matched your search

+1 -1
View File
@@ -15,5 +15,5 @@ test("镜头编辑器在保存按钮左侧提供带确认的删除操作", async
test("镜头删除 API 使用项目和镜头双重路径作用域", async () => {
const source = await Bun.file(new URL("../src/services/api/projects.ts", import.meta.url)).text();
expect(source).toContain("api.delete(`/projects/${encodeURIComponent(projectId)}/shots/${encodeURIComponent(shotId)}`)");
expect(source).toContain("http.delete<{ deleted: boolean }>(`/projects/${encodeURIComponent(projectId)}/shots/${encodeURIComponent(shotId)}`)");
});