View Source Mobilizon.GraphQL.Resolvers.Todos (Mobilizon v5.0.0-beta.1)

Handles the todos related GraphQL calls

Summary

Functions

Link to this function

create_todo(parent, args, resolution)

View Source
@spec create_todo(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Todos.Todo.t()} | {:error, String.t()}
Link to this function

create_todo_list(parent, args, resolution)

View Source
@spec create_todo_list(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Todos.TodoList.t()} | {:error, String.t()}
Link to this function

find_todo_lists_for_group(group, arg2, resolution)

View Source

Find todo lists for group.

Returns only if actor requesting is a member of the group

Link to this function

find_todos_for_todo_list(todo_list, map, resolution)

View Source
@spec find_todos_for_todo_list(
  Mobilizon.Todos.TodoList.t(),
  map(),
  Absinthe.Resolution.t()
) ::
  {:ok, Mobilizon.Storage.Page.t(Mobilizon.Todos.Todo.t())}
  | {:error, String.t()}
Link to this function

get_todo(parent, map, resolution)

View Source
@spec get_todo(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Todos.Todo.t()} | {:error, String.t()}
Link to this function

get_todo_list(parent, map, resolution)

View Source
@spec get_todo_list(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Todos.TodoList.t()} | {:error, String.t()}
Link to this function

update_todo(parent, args, resolution)

View Source
@spec update_todo(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Todos.Todo.t()} | {:error, String.t()}