This commit is contained in:
seb
2026-09-29 16:16:03 +02:00
parent b92e2deb41
commit 7f3558b4cb
34 changed files with 3112 additions and 0 deletions

26
src/db/attributename.js Normal file
View File

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