Bonfire.Classify.Tree (Bonfire v1.0.0-social-rc.2.18)
View SourceA mixin used to record parent/child relationships between categories (eg. a topic that belongs to a group) and between objects and categories (eg. a post was published in a topic)
Summary
Types
@type t() :: %Bonfire.Classify.Tree{ __meta__: Ecto.Schema.Metadata.t(), custodian: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil, custodian_id: Needle.UID.t() | nil, direct_children_count: integer() | nil, id: Needle.UID.t() | nil, nested_children_count: integer() | nil, parent: Ecto.Schema.belongs_to(Bonfire.Classify.Category.t()) | nil, parent_id: Needle.UID.t() | nil, path: EctoMaterializedPath.UIDs.t() | nil, pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil }