{-# LANGUAGE ConstraintKinds #-}

module Gargantext.API.GraphQL.Types where

import Data.Morpheus.Types
import Gargantext.API.Errors.Types
import Gargantext.API.Prelude
import Gargantext.System.Logging

type GqlLogger env = MonadLogger (GargM env BackendInternalError)
type GqlM e env = Resolver QUERY e (GargM env BackendInternalError)
type GqlM' e env a = ResolverM e (GargM env BackendInternalError) a
