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

17 lines
572 B
JavaScript

import { getStore } from './store.js';
export async function listByArticleSku(googleAuthId, sku) {
const store = await getStore();
return store.articleproperty.listByArticleSku(googleAuthId, sku);
}
export async function setByArticleSku(googleAuthId, sku, properties) {
const store = await getStore();
return store.articleproperty.setByArticleSku(googleAuthId, sku, properties);
}
export async function remove(googleAuthId, sku, propertyId) {
const store = await getStore();
return store.articleproperty.delete(googleAuthId, sku, propertyId);
}