types.ex 472 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
defmodule Pleroma.Schema.Types do
  use Absinthe.Schema.Notation

  object :instance do
    field :uri, :string
    field :title, :string
    field :description, :string
    field :email, :string
  end

  object :agent do
    field :id, :id
    field :avatar, :string
    field :name, :string
    field :email, :string
    field :bio, :string
    field :nickname, :string
    field :ap_id, :string
    field :local, :boolean
    field :follower_address, :string
  end
end