This commit is contained in:
seb
2026-10-30 16:48:39 +01:00
parent 02301ff172
commit 2df7c59feb
11 changed files with 844 additions and 213 deletions

21
src/db/printeragent.js Normal file
View File

@@ -0,0 +1,21 @@
import { getStore } from './store.js';
export async function list(googleAuthId) {
const store = await getStore();
return store.printeragent.list(googleAuthId);
}
export async function create(googleAuthId, data) {
const store = await getStore();
return store.printeragent.create(googleAuthId, data);
}
export async function update(googleAuthId, data) {
const store = await getStore();
return store.printeragent.update(googleAuthId, data);
}
export async function remove(googleAuthId, id) {
const store = await getStore();
return store.printeragent.delete(googleAuthId, id);
}