]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Database/Action/Flow/Annuaire.hs
[FIX] Requests with Contexts (WIP)
[gargantext.git] / src / Gargantext / Database / Action / Flow / Annuaire.hs
1 {-|
2 Module : Gargantext.Database.Flow.Annuaire
3 Description : Database Flow Annuaire
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9
10 -}
11
12 {-# LANGUAGE ConstraintKinds #-}
13
14 module Gargantext.Database.Action.Flow.Annuaire
15 where
16
17
18 {-
19 import Gargantext.Prelude
20 import Gargantext.Database.Flow
21
22 -- | Annuaire
23
24 flowAnnuaire :: FlowCmdM env ServantErr m => FilePath -> m ()
25 flowAnnuaire filePath = do
26 contacts <- liftBase $ deserialiseImtUsersFromFile filePath
27 ps <- flowInsertAnnuaire "Annuaire"
28 $ map (\h-> ToDbContact h)
29 $ map addUniqIdsContact contacts
30 printDebug "length annuaire" ps
31 -}
32