Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -100,7 +100,7 @@ describe("publishOutboxEvent", () => {
retries: 0,
lastError: null,
scheduledAt: new Date("2026-05-17T07:00:00.000Z"),
dispatchKey: "stripe:evt_1ABC",
dispatchKey: "billing:evt_1ABC",
priority: 0,
lockedUntil: null,
};
@@ -117,12 +117,12 @@ describe("publishOutboxEvent", () => {
tenantId: "tenant_1",
type: "mail.send.queued",
payload: { to: "u@example.com" },
dispatchKey: "stripe:evt_1ABC",
dispatchKey: "billing:evt_1ABC",
});
expect(result.id).toBe("outbox_event_existing");
expect(tx.outboxEvent.findUnique).toHaveBeenCalledWith({
where: { dispatchKey: "stripe:evt_1ABC" },
where: { dispatchKey: "billing:evt_1ABC" },
});
});
@@ -205,7 +205,7 @@ describe("publishOutboxEvent", () => {
it("constants are aligned with regex expectations", () => {
expect(OUTBOX_EVENT_TYPE_PATTERN.test("billing.subscription.updated")).toBe(true);
expect(OUTBOX_EVENT_TYPE_PATTERN.test("billing.subscription")).toBe(false);
expect(OUTBOX_DISPATCH_KEY_PATTERN.test("stripe:evt_1.subscription")).toBe(true);
expect(OUTBOX_DISPATCH_KEY_PATTERN.test("billing:evt_1.subscription")).toBe(true);
expect(OUTBOX_DISPATCH_KEY_PATTERN.test("")).toBe(false);
});