refactor(api): remove internal metadata from image upload responses

Omit entity details, original filename, MIME type, and file size from payloads
Update backend SQL queries and frontend interfaces to align with design specs
This commit is contained in:
2026-05-03 15:24:27 +08:00
parent 960898c858
commit 7aa80430d9
3 changed files with 5 additions and 32 deletions

View File

@@ -62,12 +62,6 @@ export interface EntityImage {
export interface EntityImageUpload extends EntityImage {
id: number;
entityType: ImageUploadEntityType;
entityId: number | null;
entityName: string;
originalFilename: string;
mimeType: string;
byteSize: number;
uploadedAt: string;
uploadedBy: UserSummary | null;
}