View Source Beacon.MediaLibrary.Asset (Beacon v0.2.1)
Assets are the images, videos, and any other media type uploaded and served by the Media Library.
Do not create or edit assets manually
Use the public functions in
Beacon.MediaLibrary
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.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() }