Beacon.Content.LiveData (Beacon v0.5.0)

View Source

Scopes Beacon.Content.LiveDataAssigns to Beacon.Content.Pages via site and path.

Do not create or edit live data manually

Use the public functions in Beacon.Content instead. The functions in that module guarantee that all dependencies are created correctly and all processes are updated. Manipulating data manually will most likely result in inconsistent behavior and crashes.

Summary

Types

t()

@type t() :: %Beacon.Content.LiveData{
  __meta__: term(),
  assigns: [Beacon.Content.LiveDataAssign],
  id: Ecto.UUID.t(),
  inserted_at: term(),
  path: String.t(),
  site: Beacon.Types.Site.t(),
  updated_at: term()
}

Functions

changeset(live_data, attrs)

path_changeset(live_data, attrs)