Bonfire.Tag.Tagged (Bonfire v1.0.0-social-rc.2.13)
View SourceA mixin used for associating tags with an object
Summary
Functions
Get the latest tag added to a thing
List the things tagged with a certain tag
List the tags of a thing
List by type of tagged thing
Types
@type t() :: %Bonfire.Tag.Tagged{ __meta__: Ecto.Schema.Metadata.t(), activity: Ecto.Schema.has_one(Bonfire.Data.Social.Activity.t()) | nil, count: integer() | nil, id: Needle.UID.t() | nil, inserted_at: DateTime.t() | nil, named: Ecto.Schema.has_one(Bonfire.Data.Identity.Named.t()) | nil, pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil, tag: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil, tag_id: Needle.UID.t() | nil, updated_at: DateTime.t() | nil }
Functions
Get the latest tag added to a thing
List the things tagged with a certain tag
List the tags of a thing
List by type of tagged thing