View Source Plausible.Plugins.API.CustomProps (Plausible v0.0.1)
Plugins API context module for Custom Props. All high level Custom Props operations should be implemented here.
Summary
Functions
@spec disable(Plausible.Site.t(), String.t() | [String.t()]) :: :ok | {:error, Ecto.Changeset.t()}
@spec enable(Plausible.Site.t(), String.t() | [String.t()]) :: {:ok, [String.t()]} | {:error, :upgrade_required | Ecto.Changeset.t()}