ee20e03cc2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
24 lines
363 B
TypeScript
24 lines
363 B
TypeScript
export interface IMedia {
|
|
id: string;
|
|
url: string;
|
|
name: string;
|
|
alt: string;
|
|
metadata: IMediaMetadata;
|
|
}
|
|
|
|
export interface IMediaUpload {
|
|
file: File;
|
|
name: string;
|
|
alt: string | null;
|
|
}
|
|
|
|
export interface IMediaUploadWrapper {
|
|
media: IMediaUpload;
|
|
}
|
|
|
|
export interface IMediaMetadata {
|
|
width?: number;
|
|
height?: number;
|
|
blurhash?: string;
|
|
}
|