mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 08:54:08 +00:00
f08b6334f0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
12 lines
244 B
Elixir
12 lines
244 B
Elixir
defmodule MobilizonWeb.Schema.SortType do
|
|
@moduledoc """
|
|
Allows sorting a collection of elements
|
|
"""
|
|
use Absinthe.Schema.Notation
|
|
|
|
@desc "Available sort directions"
|
|
enum :sort_direction do
|
|
value(:asc)
|
|
value(:desc)
|
|
end
|
|
end
|