/api/file/[id]/thumbnail, /api/file/[id]/thumbnail/download, /api/file/[id]/thumbnail/upload Endpoint 구현

This commit is contained in:
static
2025-07-05 05:44:00 +09:00
parent 2105b66cc3
commit 36d082e0f8
11 changed files with 279 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import type { ColumnType, Generated } from "kysely";
import type { Generated } from "kysely";
interface ThumbnailTable {
id: Generated<number>;
@@ -6,7 +6,7 @@ interface ThumbnailTable {
file_id: number | null;
category_id: number | null;
path: string;
created_at: ColumnType<Date, Date, never>;
created_at: Date;
encrypted_content_iv: string; // Base64
}