add thumbnails for images and videos, fix delete route not seing query, fix not using reservation in user info route and add file and folder count

This commit is contained in:
creations 2025-03-11 21:23:10 -04:00
parent f917849f4e
commit 6a55f9f5a9
Signed by: creations
GPG key ID: 8F553AA4320FC711
11 changed files with 296 additions and 19 deletions

5
types/file.d.ts vendored
View file

@ -25,6 +25,11 @@ type FileUpload = Partial<FileEntry> & {
url?: string;
};
type GetFile = Partial<FileEntry> & {
url?: string;
raw_url?: string;
};
type Folder = {
id: UUID;
owner: UUID;

2
types/session.d.ts vendored
View file

@ -52,4 +52,6 @@ type GetUser = {
created_at?: Date;
last_seen?: Date;
invites?: Invite[];
files: number;
folders: number;
};