mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 00:00:28 +09:00
파일 페이지에서의 네트워크 호출 최적화
This commit is contained in:
1 parent
b5522a4c6d
commit
e4413ddbf6
24 files changed
+521
-618
No files matched your search
@@ -31,7 +31,14 @@ const fileRouter = router({
|
||||
createdAtIv: file.encCreatedAt?.iv,
|
||||
lastModifiedAt: file.encLastModifiedAt.ciphertext,
|
||||
lastModifiedAtIv: file.encLastModifiedAt.iv,
|
||||
categories: categories.map(({ id }) => id),
|
||||
categories: categories.map((category) => ({
|
||||
id: category.id,
|
||||
mekVersion: category.mekVersion,
|
||||
dek: category.encDek,
|
||||
dekVersion: category.dekVersion,
|
||||
name: category.encName.ciphertext,
|
||||
nameIv: category.encName.iv,
|
||||
})),
|
||||
};
|
||||
}),
|
||||
|
||||
|
||||
Reference in new issue
Block a user