mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 01:59:39 +02:00
mana-core-auth: - Replace manual key generation (Date.now) with generateUserFileKey() - Replace manual validateFileSize with maxSizeBytes in upload() - Remove OnModuleInit — init storage directly in constructor - Add upload hooks for structured logging - Remove redundant getPublicUrl() fallback chain (presigned URL for 1 year) - Add deleteAllUserAvatars() for account deletion - Simplify getAvatarUploadUrl() using storage.getPublicUrl() planta: - Replace createStorageClient() with manual config by createPlantaStorage() - Replace manual uuid + path construction with generateUserFileKey() - Remove uuid dependency for key generation - Add maxSizeBytes validation (20MB) - Add cacheControl header (immutable, 1 year) - Add upload hooks for structured logging - Add error handling in deletePhoto() - Add deleteAllUserPhotos() for account deletion - Make getPhotoUrl() synchronous (was async unnecessarily) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__/utils | ||
| admin | ||
| ai | ||
| analytics | ||
| api-keys | ||
| auth | ||
| common | ||
| config | ||
| credits | ||
| db | ||
| feedback | ||
| gifts | ||
| health | ||
| me | ||
| metrics | ||
| security | ||
| settings | ||
| storage | ||
| stripe | ||
| subscriptions | ||
| tags | ||
| app.module.ts | ||
| main.ts | ||