BeforeEvent
type BeforeEvent = | { actor: Actor | null; link: Link; previous?: Link; type: "link.create" | "link.update";} | { actor: Actor | null; link: Link; type: "link.delete";} | { actor: Actor | null; domain: Domain; type: "domain.create" | "domain.update";} | { actor: Actor | null; hostname: string; type: "domain.delete";} | { actor: Actor | null; tenant: Tenant; type: "tenant.upsert";} | { actor: Actor | null; tenant: string; type: "tenant.delete";};Defined in: src/hooks/contract.ts:29
Event delivered to LinksHooks.before — the proposed mutation.