Add profile image system with MinIO storage
Some checks failed
Build And Push Image / docker (push) Failing after 1m5s
Some checks failed
Build And Push Image / docker (push) Failing after 1m5s
- Implement ProfileAvatar component for user avatars - Integrate MinIO for profile image storage and management - Add profile image fields to Member type definition - Create server utilities and API endpoints for image handling - Replace basic avatar icon with new ProfileAvatar in dashboard - Update sharp dependency to v0.34.3
This commit is contained in:
@@ -135,6 +135,11 @@ export interface Member {
|
||||
registration_date?: string; // New field for tracking registration date
|
||||
portal_group?: 'user' | 'board' | 'admin'; // Portal access level group
|
||||
|
||||
// Profile Image Fields
|
||||
profile_image_url?: string; // MinIO path: profile-images/{member_id}/profile.jpg
|
||||
profile_image_updated_at?: string; // ISO timestamp for cache invalidation
|
||||
profile_image_original_name?: string; // Original filename for audit trail
|
||||
|
||||
// Computed fields (added by processing)
|
||||
FullName?: string;
|
||||
FormattedPhone?: string;
|
||||
|
||||
Reference in New Issue
Block a user