View Source Plausible.Plugins.API.SharedLinks (Plausible v0.0.1)
Plugins API context module for Shared Links. All high level Shared Links operations should be implemented here.
Summary
Functions
@spec get(Plausible.Site.t(), pos_integer() | String.t()) :: nil | Plausible.Site.SharedLink.t()
@spec get_or_create(Plausible.Site.t(), String.t(), String.t() | nil) :: {:ok, Plausible.Site.SharedLink.t()}