feat(catalog): persist idempotent bulk operations and retryable deliveries
This commit is contained in:
1 parent
76e46d295c
commit
13665e0c3c
53 files changed
+1316
-76
No files matched your search
@@ -115,6 +115,17 @@ vi.mock("@/lib/db", () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
vi.mock("@/features/operations/server", async () => {
|
||||
const { db } = await import("@/lib/db");
|
||||
return {
|
||||
runOperation: (
|
||||
_input: unknown,
|
||||
work: (tx: unknown, id: string) => Promise<unknown>,
|
||||
) => db.transaction((tx) => work(tx, "operation-fixture")),
|
||||
enqueueEffect: vi.fn(),
|
||||
};
|
||||
});
|
||||
|
||||
import {
|
||||
applyBulkOffersCommand,
|
||||
listBulkOfferDestinationsCommand,
|
||||
|
||||
Reference in new issue
Block a user