Glific v0.3.1 GlificWeb.Resolvers.Flows View Source
Flow Resolver which sits between the GraphQL schema and Glific Flow Context API. This layer basically stiches together one or more calls to resolve the incoming queries.
Link to this section Summary
Link to this section Functions
Specs
count_flows(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, integer()}
Get the count of flows filtered by args
Specs
flow(Absinthe.Resolution.t(), %{id: integer()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
Get a specific flow by id
Specs
flows(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, [Glific.Flows.Flow]}
Get the list of flows