Add Blurhash to front-end

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-10 09:41:07 +02:00
parent a24e08a6de
commit 1ac9b43a61
8 changed files with 261 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ export interface IMedia {
url: string;
name: string;
alt: string;
metadata: IMediaMetadata;
}
export interface IMediaUpload {
@@ -10,3 +11,9 @@ export interface IMediaUpload {
name: string;
alt: string | null;
}
export interface IMediaMetadata {
width?: number;
height?: number;
blurhash?: string;
}