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

16
src/db/articleproperty.js Normal file
View File

@@ -0,0 +1,16 @@
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);
}