17 lines
538 B
JavaScript
17 lines
538 B
JavaScript
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);
|
|
}
|
|
|
|
export async function getSmallThumbByHash(googleAuthId, fullHash) {
|
|
const store = await getStore();
|
|
return store.pic.getSmallThumbByHash(googleAuthId, fullHash);
|
|
}
|