File uploading

This commit is contained in:
2026-10-29 17:59:34 -03:00
parent ec9bdb8e8e
commit b65d8efad8
18 changed files with 686 additions and 51 deletions
+8
View File
@@ -18,3 +18,11 @@ export function download_blob(blob: Blob, file_name: string) {
// Revoking right away can cancel the download in some browsers
setTimeout(() => URL.revokeObjectURL(url), 60_000);
}
// What the files API returns, size is of the encrypted file
export interface FileEntry {
id: string;
date_created: string;
size: number;
metadata: string;
}