]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Viz/Phylo/API.hs
[PHYLO.API] REST GET.
[gargantext.git] / src / Gargantext / Viz / Phylo / API.hs
1 {-|
2 Module : Gargantext.Viz.Phylo.Tools
3 Description : Phylomemy Tools to build/manage it
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 NoImplicitPrelude #-}
13
14
15 module Gargantext.Viz.Phylo.API
16 where
17
18 --{-
19 import Gargantext.Database.Types.Node (PhyloId, ListId, CorpusId)
20 import Gargantext.Prelude
21 import Gargantext.Viz.Phylo
22 import Gargantext.Viz.Phylo.Example
23
24 getPhylo :: PhyloId -> Maybe PhyloQueryView -> PhyloView
25 getPhylo _phyloId _phyloQueryView = phyloView
26
27 postPhylo :: CorpusId -> Maybe ListId -> PhyloQueryBuild -> Phylo
28 postPhylo = undefined
29
30 putPhylo :: PhyloId -> Maybe ListId -> PhyloQueryBuild -> Phylo
31 putPhylo = undefined
32
33 deletePhylo :: PhyloId -> IO ()
34 deletePhylo = undefined
35
36 --}