View Source Beacon.MediaLibrary.UploadMetadata (Beacon v0.2.1)

Metadata passed to page rendering lifecycle.

Summary

Types

@type t() :: %Beacon.MediaLibrary.UploadMetadata{
  allowed_media_accept_types: list(),
  config: Beacon.Config.media_type_config() | nil,
  extra: map() | nil,
  media_type: String.t() | nil,
  name: String.t() | nil,
  output: any(),
  path: String.t() | nil,
  resource:
    Ecto.Changeset.t(%Beacon.MediaLibrary.Asset{
      __meta__: term(),
      assets: term(),
      deleted_at: term(),
      extra: term(),
      file_body: term(),
      file_name: term(),
      id: term(),
      inserted_at: term(),
      keys: term(),
      media_type: term(),
      site: term(),
      source: term(),
      source_id: term(),
      thumbnail: term(),
      updated_at: term(),
      usage_tag: term()
    }),
  site: Beacon.Types.Site.t(),
  size: integer() | nil
}