You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): update dependencies and improve soft delete implementation
- Update backend dependencies: @aws-sdk/client-s3, bullmq, ioredis, mongoose, ts-jest, and tsx to latest versions
- Update frontend and shared package dependencies to latest versions
- Reduce Jest coverage threshold for branches from 55% to 50%
- Refactor soft delete query middleware to use typed options interface and const key
- Remove unnecessary void operators and simplify middleware function signature
- Add SoftDeleteQueryOptions interface for better type safety
- Introduce INCLUDE_DELETED_OPTION constant to avoid magic strings
- Update base schema documentation with clearer soft delete behavior explanation
- Add explicit .notDeleted() calls in unit tests for clarity and consistency
- Fix quote style in frontend next-env.d.ts for consistency
**Important:** Soft-deleted documents are automatically excluded from all query operations (`find`, `findOne`, `findOneAndUpdate`, `countDocuments`) via Mongoose pre-hooks. You must explicitly use `.withDeleted()` or `.onlyDeleted()` query helpers if you need to access soft-deleted documents.
0 commit comments