2020-11-26 11:41:13 +01:00
|
|
|
export interface IMedia {
|
2019-10-14 11:41:57 +02:00
|
|
|
id: string;
|
2019-09-02 14:35:50 +02:00
|
|
|
url: string;
|
|
|
|
name: string;
|
|
|
|
alt: string;
|
2021-06-10 09:41:07 +02:00
|
|
|
metadata: IMediaMetadata;
|
2019-05-22 14:12:11 +02:00
|
|
|
}
|
|
|
|
|
2020-11-26 11:41:13 +01:00
|
|
|
export interface IMediaUpload {
|
2019-05-22 14:12:11 +02:00
|
|
|
file: File;
|
2019-09-02 14:35:50 +02:00
|
|
|
name: string;
|
|
|
|
alt: string | null;
|
2019-05-22 14:12:11 +02:00
|
|
|
}
|
2021-06-10 09:41:07 +02:00
|
|
|
|
|
|
|
export interface IMediaMetadata {
|
|
|
|
width?: number;
|
|
|
|
height?: number;
|
|
|
|
blurhash?: string;
|
|
|
|
}
|