mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
홈, 갤러리, 캐시 설정, 썸네일 설정 페이지에서의 네트워크 호출 최적화
This commit is contained in:
1 parent
841c57e8fc
commit
d98be331ad
10 files changed
+267
-36
No files matched your search
@@ -74,6 +74,10 @@ export const getFileInfo = async (id: number) => {
|
||||
return await filesystem.file.get(id);
|
||||
};
|
||||
|
||||
export const bulkGetFileInfos = async (ids: number[]) => {
|
||||
return await filesystem.file.bulkGet(ids);
|
||||
};
|
||||
|
||||
export const storeFileInfo = async (fileInfo: FileInfo) => {
|
||||
await filesystem.file.put(fileInfo);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user