import { getStore } from './store.js'; export async function listByAttributeId(googleAuthId, attributeId) { const store = await getStore(); return store.attributevalue.listByAttributeId(googleAuthId, attributeId); } export async function create(googleAuthId, attributeId, data) { const store = await getStore(); return store.attributevalue.create(googleAuthId, attributeId, data); } export async function update(googleAuthId, id, data) { const store = await getStore(); return store.attributevalue.update(googleAuthId, id, data); } export async function order(googleAuthId, attributeId, data) { const store = await getStore(); return store.attributevalue.order(googleAuthId, attributeId, data); } export async function remove(googleAuthId, id) { const store = await getStore(); return store.attributevalue.delete(googleAuthId, id); } export async function addImage(googleAuthId, attributeValueId, image) { const store = await getStore(); return store.attributevalue.addImage(googleAuthId, attributeValueId, image); } export async function deleteImage(googleAuthId, attributeValueId) { const store = await getStore(); return store.attributevalue.deleteImage(googleAuthId, attributeValueId); }