u
This commit is contained in:
16
src/db/articleproperty.js
Normal file
16
src/db/articleproperty.js
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user