gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.API.Prelude

Description

 
Synopsis

Documentation

type GargM env err = ReaderT env (ExceptT err IO) #

type GargServer api = forall env err m. MonadLogger m => GargServerT env err m api #

type GargServerC env err m = (CmdRandom env err m, HasNodeStory env err m, EnvC env, ErrC err, ToJSON err) #

type GargNoServer t = forall env err m. GargNoServer' env err m => m t #

This Type is needed to prepare the function before the GargServer

type ErrC err = (HasNodeError err, HasValidationError err, HasTreeError err, HasServerError err, HasAuthenticationError err, Exception err) #

type GargServerT env err m api = GargServerC env err m => ServerT api m #

type GargServerM env err api = (EnvC env, ErrC err) => ServerT api (GargM env err) #

type GargNoServer' env err m = (CmdM env err m, HasNodeStory env err m, HasSettings env, HasNodeError err) #

simuLogs :: (MonadBase IO m, MonadJobStatus m) => JobHandle m -> Int -> m () #

Utils | Simulate logs