View Source Mobilizon.GraphQL.Resolvers.Search (Mobilizon v4.1.0-alpha.1)

Handles the event-related GraphQL calls

Summary

Functions

Link to this function

interact(parent, map, resolution)

View Source
@spec interact(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, struct()} | {:error, :not_found}
Link to this function

search_events(parent, args, resolution)

View Source
@spec search_events(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Storage.Page.t(Mobilizon.Events.Event.t())}
  | {:error, String.t()}

Search events

Link to this function

search_groups(parent, args, resolution)

View Source
@spec search_groups(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Storage.Page.t(Mobilizon.Actors.Actor.t())}
  | {:error, String.t()}

Search groups

Link to this function

search_persons(parent, args, resolution)

View Source
@spec search_persons(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Storage.Page.t(Mobilizon.Actors.Actor.t())}
  | {:error, String.t()}

Search persons