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

Handles the participation-related GraphQL calls.

Summary

Functions

Link to this function

actor_join_event(parent, args, arg3)

View Source
@spec actor_join_event(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Events.Participant.t()} | {:error, String.t()}

Join an event for an regular or anonymous actor

Link to this function

actor_leave_event(parent, arg2, arg3)

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

Leave an event for an anonymous actor

Link to this function

confirm_participation_from_token(parent, map, context)

View Source
@spec confirm_participation_from_token(map(), map(), map()) ::
  {:ok, Mobilizon.Events.Participant.t()} | {:error, String.t()}
Link to this function

export_event_participants(arg1, arg2, arg3)

View Source
@spec export_event_participants(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, String.t()}
Link to this function

send_private_messages_to_participants(parent, args, arg3)

View Source
Link to this function

update_participation(parent, map1, map2)

View Source
@spec update_participation(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Participation.t()} | {:error, String.t() | Ecto.Changeset.t()}