View Source Plausible.Site (Plausible v0.0.1)

Site schema

Summary

Types

@type t() :: %Plausible.Site{
  __meta__: term(),
  allowed_event_props: term(),
  complete_import_ids: term(),
  conversions_enabled: term(),
  domain: term(),
  domain_changed_at: term(),
  domain_changed_from: term(),
  earliest_import_start_date: term(),
  entry_type: term(),
  from_cache?: term(),
  funnels_enabled: term(),
  goals: term(),
  google_auth: term(),
  guest_invitations: term(),
  guest_memberships: term(),
  id: term(),
  import_data_loaded: term(),
  imported_data: term(),
  ingest_rate_limit_scale_seconds: term(),
  ingest_rate_limit_threshold: term(),
  inserted_at: term(),
  installation_meta: term(),
  invitations: term(),
  latest_import_end_date: term(),
  locked: term(),
  members: term(),
  memberships: term(),
  monthly_report: term(),
  native_stats_start_at: term(),
  owner: term(),
  ownership: term(),
  pinned_at: term(),
  props_enabled: term(),
  public: term(),
  revenue_goals: term(),
  stats_start_date: term(),
  team: term(),
  team_id: term(),
  timezone: term(),
  updated_at: term(),
  weekly_report: term()
}

Functions

Link to this function

changeset(site, attrs \\ %{})

View Source
Link to this function

crm_changeset(site, attrs)

View Source
Link to this function

new_for_team(team, params)

View Source
Link to this function

set_native_stats_start_at(site, val)

View Source
Link to this function

set_stats_start_date(site, val)

View Source
Link to this function

tz_offset(site, utc_now \\ DateTime.utc_now())

View Source
Link to this function

update_changeset(site, attrs \\ %{}, opts \\ [])

View Source