View Source Beacon.Content.LayoutSnapshot (Beacon v0.3.3)
Represents the template of a Beacon.Content.Layout
at a specific moment in time.
LayoutSnapshots don't exist on their own, but are created as part of a Beacon.Content.LayoutEvent
whenever a Layout is created or published.
Do not create or edit layout snapshots 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.LayoutSnapshot{ __meta__: term(), event: Beacon.Content.LayoutEvent.t() | nil, event_id: Ecto.UUID.t(), id: Ecto.UUID.t(), inserted_at: DateTime.t(), layout: Beacon.Content.Layout.t(), layout_id: Ecto.UUID.t(), schema_version: pos_integer(), site: Beacon.Types.Site.t() }