Files
dashback/src/db/propertyname.js
2026-09-29 16:16:03 +02:00

27 lines
765 B
JavaScript

import { getStore } from './store.js';
export async function list(googleAuthId) {
const store = await getStore();
return store.propertyname.list(googleAuthId);
}
export async function create(googleAuthId, data) {
const store = await getStore();
return store.propertyname.create(googleAuthId, data);
}
export async function update(googleAuthId, id, data) {
const store = await getStore();
return store.propertyname.update(googleAuthId, id, data);
}
export async function order(googleAuthId, data) {
const store = await getStore();
return store.propertyname.order(googleAuthId, data);
}
export async function remove(googleAuthId, id) {
const store = await getStore();
return store.propertyname.delete(googleAuthId, id);
}