17 lines
458 B
JavaScript
17 lines
458 B
JavaScript
import { getStore } from './store.js';
|
|
|
|
export async function adjust(googleAuthId, data) {
|
|
const store = await getStore();
|
|
return store.stock.adjust(googleAuthId, data);
|
|
}
|
|
|
|
export async function accept(googleAuthId, data) {
|
|
const store = await getStore();
|
|
return store.stock.accept(googleAuthId, data);
|
|
}
|
|
|
|
export async function ship(googleAuthId, data) {
|
|
const store = await getStore();
|
|
return store.stock.ship(googleAuthId, data);
|
|
}
|