A participant attached to a calendar event.
Loose kind + target_uuid reference (activity-feed pattern — no
cross-module FKs) with a display_name snapshot frozen at save, so the
row renders even if the source module is later disabled or the record
deleted.
| kind | target_uuid | grants visibility to |
|---|---|---|
user | a phoenix_kit_users uuid | that user |
staff_person | a phoenix_kit_staff_people uuid | the person's linked user (live) |
crm_contact | a phoenix_kit_crm_contacts uuid | the contact's linked user, when any (live) |
crm_company | a phoenix_kit_crm_companies uuid | every CURRENT member contact's linked user (live) |
free_text | NULL | nobody — display only |
Visibility resolution is LIVE: PhoenixKitCalendar.Events joins the
physical staff/CRM tables at query time (they exist in every install via
core migrations; module code is never needed and empty tables no-op).
Summary
Types
Functions
@spec kinds() :: [String.t()]
Allowed participant kinds.