Bonfire.Data.Social.Created (Bonfire v1.0.0-social-rc.2.13)

View Source

Summary

Types

t()

@type t() :: %Bonfire.Data.Social.Created{
  __meta__: Ecto.Schema.Metadata.t(),
  creator: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil,
  creator_character:
    Ecto.Schema.belongs_to(Bonfire.Data.Identity.Character.t()) | nil,
  creator_id: Needle.UID.t() | nil,
  creator_profile:
    Ecto.Schema.belongs_to(Bonfire.Data.Social.Profile.t()) | nil,
  creator_user: Ecto.Schema.belongs_to(Bonfire.Data.Identity.User.t()) | nil,
  id: Needle.UID.t() | nil,
  peered: Ecto.Schema.has_one(Bonfire.Data.ActivityPub.Peered.t()) | nil,
  pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil,
  post: Ecto.Schema.has_one(Bonfire.Data.Social.Post.t()) | nil
}

Functions

changeset(created \\ %Created{}, attrs)

delete(struct, key)

get(struct, key, default \\ nil)

put(struct, key, val)