View Source Mobilizon.Users.Setting (Mobilizon v5.0.0-beta.1)

Module to manage users settings

Summary

Types

@type location() :: %{name: String.t(), range: integer(), geohash: String.t()}
@type t() :: %Mobilizon.Users.Setting{
  __meta__: term(),
  group_notifications: non_neg_integer(),
  inserted_at: term(),
  last_notification_sent: DateTime.t(),
  location: term(),
  notification_before_event: boolean(),
  notification_each_week: boolean(),
  notification_on_day: boolean(),
  notification_pending_membership: non_neg_integer(),
  notification_pending_participation: non_neg_integer(),
  timezone: String.t(),
  updated_at: term(),
  user: Mobilizon.Users.User.t(),
  user_id: term()
}