Add /api/files/[token]

This commit is contained in:
2023-06-23 15:42:49 +08:00
parent fe7af51988
commit 02a0d975a4
3 changed files with 42 additions and 10 deletions

8
server/files.ts Normal file
View File

@@ -0,0 +1,8 @@
export type EhFileBasic = {
id: number;
width: number;
height: number;
is_original: boolean;
};
export type EhFiles = Record<string, EhFileBasic[]>;