View Source Uploadex.Upload (Uploadex v3.1.0)

Ecto type that handles upload.

It stores the filename in the database.

Summary

Types

@type upload_binary() :: %{
  filename: String.t(),
  binary: String.t(),
  content_type: String.t()
}
@type upload_path() :: %{
  filename: String.t(),
  path: Path.t(),
  content_type: String.t()
}