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

View Source

Summary

Types

t()

@type t() :: %Bonfire.Data.Social.Profile{
  __meta__: Ecto.Schema.Metadata.t(),
  controlled: Ecto.Schema.has_many(Bonfire.Data.AccessControl.Controlled.t()),
  icon: Ecto.Schema.belongs_to(Bonfire.Files.Media.t()) | nil,
  icon_id: Needle.UID.t() | nil,
  id: Needle.UID.t() | nil,
  image: Ecto.Schema.belongs_to(Bonfire.Files.Media.t()) | nil,
  image_id: Needle.UID.t() | nil,
  location: String.t() | nil,
  name: String.t() | nil,
  pointer: Ecto.Schema.belongs_to(Needle.Pointer.t()) | nil,
  summary: String.t() | nil,
  user: Ecto.Schema.belongs_to(Bonfire.Data.Identity.User.t()) | nil,
  website: String.t() | nil
}

Functions

changeset(profile \\ %Profile{}, params)

delete(struct, key)

get(struct, key, default \\ nil)

put(struct, key, val)