查看源代码 Phoenix.LiveView.UploadEntry (Phoenix LiveView v0.20.17)

表示上传项的结构。

摘要

类型

@type t() :: %Phoenix.LiveView.UploadEntry{
  cancelled?: boolean(),
  client_last_modified: integer() | nil,
  client_meta: map() | nil,
  client_name: String.t() | nil,
  client_relative_path: String.t() | nil,
  client_size: integer() | nil,
  client_type: String.t() | nil,
  done?: boolean(),
  preflighted?: term(),
  progress: integer(),
  ref: String.t() | nil,
  upload_config: String.t() | :atom,
  upload_ref: String.t(),
  uuid: String.t() | nil,
  valid?: boolean()
}