This commit is contained in:
seb
2026-10-09 17:55:45 +02:00
parent de7afbcbe9
commit 848ca0aff5
13 changed files with 331 additions and 48 deletions

View File

@@ -5,6 +5,16 @@ export async function list(googleAuthId) {
return store.brand.list(googleAuthId);
}
export async function create(googleAuthId, data) {
const store = await getStore();
return store.brand.create(googleAuthId, data);
}
export async function update(googleAuthId, id, data) {
const store = await getStore();
return store.brand.update(googleAuthId, id, data);
}
export async function upsert(googleAuthId, data) {
const store = await getStore();
return store.brand.upsert(googleAuthId, data);