This commit is contained in:
seb
2026-10-14 23:26:09 +02:00
parent 0ea7da4f3a
commit 507dffa567
18 changed files with 552 additions and 9 deletions

View File

@@ -40,3 +40,9 @@ export async function listAttachments(googleAuthId, deliveryId) {
return store.manifestattachment.listByManifestId(googleAuthId, deliveryId);
}
export async function removeAttachment(googleAuthId, deliveryId, fileId) {
const store = await getStore();
return store.manifestattachment.remove(googleAuthId, deliveryId, fileId);
}

View File

@@ -173,4 +173,10 @@ export async function listAttachments(googleAuthId, orderId) {
return store.manifestattachment.listByManifestId(googleAuthId, orderId);
}
export async function removeAttachment(googleAuthId, orderId, fileId) {
const store = await getStore();
return store.manifestattachment.remove(googleAuthId, orderId, fileId);
}

View File

@@ -103,3 +103,9 @@ export async function listAttachments(googleAuthId, quoteId) {
return store.manifestattachment.listByManifestId(googleAuthId, quoteId);
}
export async function removeAttachment(googleAuthId, quoteId, fileId) {
const store = await getStore();
return store.manifestattachment.remove(googleAuthId, quoteId, fileId);
}

View File

@@ -43,3 +43,9 @@ export async function listAttachments(googleAuthId, shipmentId) {
return store.manifestattachment.listByManifestId(googleAuthId, shipmentId);
}
export async function removeAttachment(googleAuthId, shipmentId, fileId) {
const store = await getStore();
return store.manifestattachment.remove(googleAuthId, shipmentId, fileId);
}