This commit is contained in:
seb
2026-08-01 02:15:29 +02:00
parent 152879bf9f
commit 067503f4ed
9 changed files with 494 additions and 0 deletions

11
src/db/pic.js Normal file
View File

@@ -0,0 +1,11 @@
import { getStore } from './store.js';
export async function getImageByHash(googleAuthId, fullHash) {
const store = await getStore();
return store.pic.getImageByHash(googleAuthId, fullHash);
}
export async function getThumbByHash(googleAuthId, fullHash) {
const store = await getStore();
return store.pic.getThumbByHash(googleAuthId, fullHash);
}