mobilizon.chapril.org-mobil.../js/src/types/picture.model.ts
Thomas Citharel cbe1dd2868
Prevent picture resend on event update, handle duplicate pictures
properly in backend and add a proper default picture

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 11:41:57 +02:00

13 lines
179 B
TypeScript

export interface IPicture {
id: string;
url: string;
name: string;
alt: string;
}
export interface IPictureUpload {
file: File;
name: string;
alt: string | null;
}