A named, sluggable CRM contact list (PhoenixKitCRM.Lists).
subscriber_count is a maintained cache — never cast from form params, it's
only ever written by the context alongside the membership mutation that
changes it. subscribable is pre-provisioned for the Stage-4 preference
center; it has no effect yet.
Summary
Functions
Public changeset for create/edit. subscriber_count is NOT castable here.
Types
@type t() :: %PhoenixKitCRM.Schemas.ContactList{ __meta__: term(), description: String.t() | nil, inserted_at: DateTime.t() | nil, locale: String.t() | nil, members: [PhoenixKitCRM.Schemas.ListMember.t()] | Ecto.Association.NotLoaded.t(), metadata: map(), name: String.t() | nil, slug: String.t() | nil, status: String.t() | nil, subscribable: boolean(), subscriber_count: integer(), updated_at: DateTime.t() | nil, uuid: UUIDv7.t() | nil }
Functions
@spec changeset(t() | Ecto.Changeset.t(t()), map()) :: Ecto.Changeset.t(t())
Public changeset for create/edit. subscriber_count is NOT castable here.
@spec statuses() :: [String.t()]