DB 마이그레이션 스크립트 재생성 및 간단한 이미지/비디오 뷰어 구현

This commit is contained in:
static
2025-01-06 22:55:11 +09:00
parent 3168c441b9
commit 1c06a604c5
15 changed files with 111 additions and 16 deletions

View File

@@ -64,6 +64,7 @@ const fetchFileInfo = async (fileId: number, masterKey: CryptoKey) => {
id: fileId,
dataKey,
dataKeyVersion: metadata.dekVersion,
contentType: metadata.contentType,
contentIv: metadata.contentIv,
name: await decryptString(metadata.name, metadata.nameIv, dataKey),
};