yiling 5835c36cb5 refactor(trash): optimize cascade delete CTE queries and add rigorous edge-case tests
- Extracted recursive CTE cascade update to cascadeStatusToPendingPurge private helper

- Updated emptyTrash and expireTrashedAssets background job to use batch helper

- Added expireTrashedAssets GC test to verify date boundaries and recursive child marking

- Resolved typecast any warning in test
2026-06-11 16:40:21 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-06-09 20:00:46 +08:00
Languages
TypeScript 82.2%
JavaScript 17%
CSS 0.5%
PLpgSQL 0.2%