Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { getDbClient } from "@toolctrl/db/client.server";
|
||||
import type { Prisma } from "@toolctrl/db/prisma-browser";
|
||||
import { getDbClient } from "@hivegrid/db/client.server";
|
||||
import type { Prisma } from "@hivegrid/db/prisma-browser";
|
||||
import type { LogActivityInput } from "./types.js";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import type { Prisma } from "@toolctrl/db/prisma-browser";
|
||||
import type { Prisma } from "@hivegrid/db/prisma-browser";
|
||||
import { logActivity, type ActivityWriteClient } from "./logActivity.server.js";
|
||||
import type { LogActivityInput } from "./types.js";
|
||||
|
||||
|
||||
@@ -24,21 +24,40 @@ export type ActivityType =
|
||||
| "assignee_changed"
|
||||
| "deal_stage_changed"
|
||||
| "project_stage_changed"
|
||||
| "project_member_added"
|
||||
| "project_appointment_created"
|
||||
| "project_invoice_created"
|
||||
| "project_invoice_status_changed"
|
||||
| "project_checklist_created"
|
||||
| "project_schedule_changed"
|
||||
| "project_acceptance_submitted"
|
||||
| "project_signature_changed"
|
||||
| "file_uploaded"
|
||||
| "form_submitted"
|
||||
| "task_created"
|
||||
| "task_completed"
|
||||
| "appointment_scheduled"
|
||||
| "appointment_held"
|
||||
| "contact_created" // P6 CRM core (R-P6)
|
||||
| "contact_updated" // P6 CRM core (R-P6)
|
||||
| "contact_archived" // P6 CRM core (R-P6)
|
||||
| "appointment_scheduled" // P16 Booking (AK-P16b)
|
||||
| "appointment_held" // P16 Booking (AK-P16b)
|
||||
| "appointment_cancelled" // P16 Booking (AK-P16b)
|
||||
| "appointment_rescheduled" // P16 Booking (AK-P16b)
|
||||
| "appointment_no_show" // P16 Booking (AK-P16b)
|
||||
| "lead_created" // P7 Lead-Inbox (R-P7)
|
||||
| "lead_updated" // P7 Lead-Inbox (R-P7)
|
||||
| "lead_qualified" // P7 Lead-Inbox (R-P7)
|
||||
| "status_changed" // P7 Lead-Inbox (R-P7)
|
||||
| "lead_promoted"
|
||||
| "deal_won"
|
||||
| "deal_lost"
|
||||
| "automation_triggered"
|
||||
| "ki_action"
|
||||
| "audit_event";
|
||||
| "audit_event"
|
||||
| "billing_state_changed";
|
||||
|
||||
/** Main object a stream hangs off (DoD #14: Kontakt/Firma/Lead/Verkaufsfall/Auftrag …). */
|
||||
export type ActivitySubjectType = "contact" | "company" | "lead" | "deal" | "project" | "task";
|
||||
export type ActivitySubjectType = "contact" | "company" | "lead" | "deal" | "project" | "task" | "tenant";
|
||||
|
||||
/** Additional entities referenced by an activity (denormalized for the timeline). */
|
||||
export type ActivityRelatedRef = { type: ActivitySubjectType; id: string };
|
||||
|
||||
Reference in new issue
Block a user