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
Link to this function

bump_last_seen(user_id, now)

View Source
@spec bump_last_seen(Plausible.Auth.User.t() | pos_integer(), NaiveDateTime.t()) ::
  :ok
@spec has_email_code?(Plausible.Auth.User.t()) :: boolean()
Link to this function

last_subscription_join_query()

View Source
Link to this function

maybe_reset_next_upgrade_override(user)

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

remove_grace_period(user)

View Source
Link to this function

start_grace_period(user)

View Source
Link to this function

start_manual_lock_grace_period(user)

View Source
@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()