Files
dashback/src/db/categoryproperty.js
2026-10-01 17:40:01 +02:00

17 lines
617 B
JavaScript

import { getStore } from './store.js';
export async function listByCategoryId(googleAuthId, categoryId) {
const store = await getStore();
return store.categoryproperty.listByCategoryId(googleAuthId, categoryId);
}
export async function setByCategoryId(googleAuthId, categoryId, properties) {
const store = await getStore();
return store.categoryproperty.setByCategoryId(googleAuthId, categoryId, properties);
}
export async function remove(googleAuthId, categoryId, propertyId) {
const store = await getStore();
return store.categoryproperty.delete(googleAuthId, categoryId, propertyId);
}