forked from potsda.mn/mobilizon
289ba03960
An event can indeed have several address types Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
461 B
Elixir
15 lines
461 B
Elixir
defmodule MobilizonWeb.Schema.Events.CategoryType do
|
|
@moduledoc """
|
|
Schema representation for Category
|
|
"""
|
|
use Absinthe.Schema.Notation
|
|
|
|
@desc "A category"
|
|
object :category do
|
|
field(:id, :id, description: "The category's ID")
|
|
field(:description, :string, description: "The category's description")
|
|
field(:picture, :picture, description: "The category's picture")
|
|
field(:title, :string, description: "The category's title")
|
|
end
|
|
end
|