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

Represents the template of a Beacon.Content.Page at a specific moment in time.

PageSnapshots don't exist on their own, but are created as part of a Beacon.Content.PageEvent whenever a Page is created, published, or unpublished.

Do not create or edit page 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.PageSnapshot{
  __meta__: term(),
  event: term(),
  event_id: term(),
  extra: term(),
  format: term(),
  id: term(),
  inserted_at: term(),
  page: term(),
  page_id: term(),
  path: term(),
  schema_version: term(),
  site: term(),
  title: term()
}