View Source Beacon.Content.LiveData (Beacon v0.2.1)

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

@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

Link to this function

changeset(live_data, attrs)

View Source
Link to this function

path_changeset(live_data, attrs)

View Source