View Source Mobilizon.GraphQL.Resolvers.Search (Mobilizon v4.1.0-alpha.1)
Handles the event-related GraphQL calls
Summary
Functions
@spec interact(any(), map(), Absinthe.Resolution.t()) :: {:ok, struct()} | {:error, :not_found}
@spec search_events(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Storage.Page.t(Mobilizon.Events.Event.t())} | {:error, String.t()}
Search events
@spec search_groups(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Storage.Page.t(Mobilizon.Actors.Actor.t())} | {:error, String.t()}
Search groups
@spec search_persons(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Storage.Page.t(Mobilizon.Actors.Actor.t())} | {:error, String.t()}
Search persons