Mise en ligne de la version 0.2.0
This commit is contained in:
15
web/src/app/services/image.model.ts
Normal file
15
web/src/app/services/image.model.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
// Interface TypeScript pour ImageDTO (Backend Java).
|
||||
// Miroir de com.loremind.infrastructure.web.dto.images.ImageDTO.
|
||||
|
||||
export interface Image {
|
||||
id: string;
|
||||
filename: string;
|
||||
contentType: string;
|
||||
sizeBytes: number;
|
||||
/**
|
||||
* URL relative du binaire, ex: "/api/images/42/content".
|
||||
* Le front prefixe avec ApiBase pour construire l'URL absolue.
|
||||
*/
|
||||
url: string;
|
||||
uploadedAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user