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

@@ -16,7 +16,7 @@
*/
import { createHash } from "node:crypto";
import type { Prisma } from "@toolctrl/db/prisma-browser";
import type { Prisma } from "@hivegrid/db/prisma-browser";
import { db } from "~/utils/db.server";
export interface CaptureLeadInput {
@@ -28,8 +28,8 @@
* into no-ops, returning the already-created Tenant + Lead.
*/
import { Prisma } from "@toolctrl/db/prisma-browser";
import { publishOutboxEvent, type OutboxPublisherTransaction } from "@toolctrl/db/outbox";
import { Prisma } from "@hivegrid/db/prisma-browser";
import { publishOutboxEvent, type OutboxPublisherTransaction } from "@hivegrid/db/outbox";
import { db } from "~/utils/db.server";
export type ConvertedStatus = "trial" | "customer";
@@ -5,7 +5,7 @@ vi.mock("~/utils/db.server", () => {
return { db: { $transaction: vi.fn() } };
});
vi.mock("@toolctrl/db/outbox", () => {
vi.mock("@hivegrid/db/outbox", () => {
return {
publishOutboxEvent: vi.fn(),
};
@@ -28,7 +28,7 @@ describe("convertLeadToTenant", () => {
beforeEach(async () => {
vi.resetModules();
dbMock = (await import("~/utils/db.server")).db as any;
publishMock = (await import("@toolctrl/db/outbox")).publishOutboxEvent as any;
publishMock = (await import("@hivegrid/db/outbox")).publishOutboxEvent as any;
convertLeadToTenant = (await import("./convertLead.server")).convertLeadToTenant;
});
@@ -208,7 +208,7 @@ describe("recordExistingTenantLeadConversion", () => {
beforeEach(async () => {
vi.resetModules();
dbMock = (await import("~/utils/db.server")).db as any;
publishMock = (await import("@toolctrl/db/outbox")).publishOutboxEvent as any;
publishMock = (await import("@hivegrid/db/outbox")).publishOutboxEvent as any;
recordExistingTenantLeadConversion = (await import("./convertLead.server")).recordExistingTenantLeadConversion;
});
@@ -2,7 +2,7 @@
* Server-side Prisma helpers for the admin lead inbox (Phase 05 #78).
* Keeps loader/action handlers free of raw query plumbing.
*/
import type { LeadStatus } from "@toolctrl/db/prisma-browser";
import type { LeadStatus } from "@hivegrid/db/prisma-browser";
import { db } from "~/utils/db.server";
export type LeadFilter = {
@@ -3,7 +3,7 @@
* (Phase 05 #78, admin-UI CSV download).
*
* Column ordering and CSV-escaping rules mirror `packages/cli/src/commands/
* leads/export.ts` so the admin-UI download and the `toolctrl-cli leads
* leads/export.ts` so the admin-UI download and the `hivegrid-cli leads
* export` operator-side dump are byte-compatible.
*/
@@ -12,7 +12,7 @@
import CryptoApi from "~/utils/api/.server/CryptoApi";
import { db } from "~/utils/db.server";
import { Prisma } from "@toolctrl/db/prisma-browser";
import { Prisma } from "@hivegrid/db/prisma-browser";
export type MarketingIntegrationType = "slack" | "discord" | "mailchimp" | "hubspot" | "brevo" | "webhook";
@@ -4,7 +4,7 @@
* The endpoint is intentionally public so external landing-pages can ingest
* leads, but the Origin header is matched against `MARKETING_ALLOWED_ORIGINS`
* (comma-separated env list). Wildcards are supported via a single leading `*`
* in the host (e.g. `https://*.toolctrl.de`).
* in the host (e.g. `https://*.hivegrid.de`).
*
* Server-to-server bots can spoof Origin — this layer is one of three (origin
* allowlist, rate-limit, optional Turnstile). It does NOT replace rate-limiting.