Files
dashback/src/db/stock.js
2026-10-16 22:09:15 +02:00

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);
}