View Source Bonfire.Data.Social.Replied (Bonfire v0.9.11-social-beta.6)

Summary

Types

t()

@type t() :: %Bonfire.Data.Social.Replied{
  __meta__: Ecto.Schema.Metadata.t(),
  activities: term(),
  activity: term(),
  boost_count: term(),
  controlled: term(),
  direct_replies: term(),
  direct_replies_count: term(),
  id: Needle.UID.t() | nil,
  like_count: term(),
  nested_replies_count: term(),
  path: term(),
  path_sorter: term(),
  pinned: term(),
  pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil,
  post: term(),
  post_content: term(),
  reply_to: term(),
  reply_to_created: term(),
  reply_to_id: term(),
  reply_to_post: term(),
  reply_to_post_content: term(),
  replying_to: term(),
  thread: term(),
  thread_id: term(),
  thread_post: term(),
  thread_post_content: term(),
  thread_replies: term(),
  total_replies_count: term()
}

Functions

ancestor_ids(schema)

ancestors(schema)

arrange(structs_list, opts \\ [])

build_child(schema)

changeset(replied \\ %Replied{}, attrs)

children(schema)

delete(struct, key)

depth(schema)

descendants(schema)

get(struct, key, default \\ nil)

make_child_of(changeset, parent)

parent(schema)

parent_id(schema)

path(schema)

path_ids(schema)

put(struct, key, val)

root(schema)

root?(schema)

root_id(schema)

siblings(schema)

subtree(schema)

where_depth(query \\ __MODULE__, depth_params)