ArchAstro. SDK. Types. ImageSource
(archastro v0.3.2)
Copy Markdown
Resolved metadata for an image, including its delivery URL, dimensions, and optional references to the underlying storage file or media record.
Summary
Types
@type t() :: %ArchAstro.SDK.Types.ImageSource{ file: String.t() | nil | ArchAstro.SDK.Unset.t(), height: integer() | nil | ArchAstro.SDK.Unset.t(), media: String.t() | nil | ArchAstro.SDK.Unset.t(), mime_type: String.t() | nil | ArchAstro.SDK.Unset.t(), refresh_url: String.t() | nil | ArchAstro.SDK.Unset.t(), url: String.t() | nil | ArchAstro.SDK.Unset.t(), width: integer() | nil | ArchAstro.SDK.Unset.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()