17 lines
572 B
JavaScript
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);
|
|
}
|