View Source GlificWeb.Resolvers.Sheets (Glific v5.1.6)

Trigger Resolver which sits between the GraphQL schema and Glific Sheets Context API. This layer basically stitches together one or more calls to resolve the incoming queries.

Link to this section Summary

Functions

Get the count of sheets filtered by args

Get the list of sheets filtered by args

Link to this section Functions

Link to this function

count_sheets(_, args, _)

View Source
@spec count_sheets(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, integer()}

Get the count of sheets filtered by args

@spec sheets(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, [any()]}

Get the list of sheets filtered by args