View Source Plausible.Users (Plausible v0.0.1)

User context

Summary

Functions

Link to this function

accept_traffic_until(user)

View Source
@spec accept_traffic_until(Plausible.Auth.User.t()) :: Date.t()
Link to this function

allow_next_upgrade_override(user)

View Source
@spec has_email_code?(Plausible.Auth.User.t()) :: boolean()
Link to this function

maybe_reset_next_upgrade_override(user)

View Source
@spec on_trial?(Plausible.Auth.User.t()) :: boolean()
@spec trial_days_left(Plausible.Auth.User.t()) :: integer()
Link to this function

update_accept_traffic_until(user)

View Source
@spec update_accept_traffic_until(Plausible.Auth.User.t()) :: Plausible.Auth.User.t()