feat: file preview

This commit is contained in:
Elias Schneider
2023-01-31 09:03:03 +01:00
parent 0a2b7b1243
commit 91a6b3f716
10 changed files with 188 additions and 28 deletions

View File

@@ -1,3 +1,9 @@
export type FileUpload = File & { uploadingProgress: number };
export type FileUploadResponse = { id: string; name: string };
export type FileMetaData = {
id: string;
name: string;
size: string;
};