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

Extensions Resolver which sits between the GraphQL schema and Glific Extensions API.

Link to this section Summary

Functions

Create extension

Delete consulting hour

Get a specific extension by id

Update extension

Update organization extension

Link to this section Functions

Link to this function

create_extension(_, map, _)

View Source
@spec create_extension(Absinthe.Resolution.t(), %{input: map()}, %{context: map()}) ::
  {:ok, any()} | {:error, any()}

Create extension

Link to this function

delete_extension(_, map, _)

View Source
@spec delete_extension(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, any()} | {:error, any()}

Delete consulting hour

@spec extension(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, any()} | {:error, any()}

Get a specific extension by id

Link to this function

update_extension(_, map, _)

View Source
@spec update_extension(Absinthe.Resolution.t(), %{id: integer(), input: map()}, %{
  context: map()
}) ::
  {:ok, any()} | {:error, any()}

Update extension

Link to this function

update_organization_extension(_, map, _)

View Source
@spec update_organization_extension(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, any()} | {:error, any()}

Update organization extension