Represents an item within a collection.
Items can be models, datasets, spaces, or papers.
Summary
Functions
Creates a CollectionItem from API response.
Types
@type item_type() :: :model | :dataset | :space | :paper
@type t() :: %HfHub.Collections.CollectionItem{ added_at: DateTime.t() | nil, id: String.t(), item_id: String.t(), item_type: item_type(), note: String.t() | nil, position: non_neg_integer() }