AfterEvent
type AfterEvent = | { actor: Actor | null; at: string; link: Link; type: "link.created";} | { actor: Actor | null; at: string; link: Link; previous: Link; type: "link.updated";} | { actor: Actor | null; at: string; link: Link; type: "link.deleted";} | { actor: Actor | null; at: string; domain: Domain; type: "domain.created" | "domain.updated" | "domain.deleted";} | { actor: Actor | null; at: string; tenant: Tenant; type: "tenant.upserted";} | { actor: Actor | null; at: string; tenant: string; type: "tenant.deleted";} | { at: string; customer: Customer; event: LeadEvent; link: Link | null; type: "lead.created";} | { at: string; customer: Customer; event: SaleEvent; link: Link | null; type: "sale.created";};Defined in: src/hooks/contract.ts:38
Event delivered to LinksHooks.after — the committed mutation.