{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveGeneric #-}

module Gargantext.API.Routes.Named.Context where

import GHC.Generics
import Gargantext.Database.Admin.Types.Node
import Servant

data ContextAPI mode a = ContextAPI
  { getNodeEp :: mode :- Get '[JSON] (Node a)
  } deriving Generic
