This commit is contained in:
seb
2026-10-09 10:41:21 +02:00
parent 969c064f3a
commit 011d84c3c1
31 changed files with 1845 additions and 4 deletions

16
src/db/package.js Normal file
View File

@@ -0,0 +1,16 @@
import { getStore } from './store.js';
export async function listByShippingId(googleAuthId, shippingId) {
const store = await getStore();
return store.package.listByShippingId(googleAuthId, shippingId);
}
export async function create(googleAuthId, data) {
const store = await getStore();
return store.package.create(googleAuthId, data);
}
export async function remove(googleAuthId, id) {
const store = await getStore();
return store.package.delete(googleAuthId, id);
}