import Data.Swagger
import Data.Text (Text)
import GHC.Generics (Generic)
+import Gargantext.API.Prelude
import Gargantext.Core.Types.Individu (User(..))
import Gargantext.Database.Action.Share (ShareNodeWith(..))
import Gargantext.Database.Action.Share as DB (shareNodeWith, unPublish)
import Gargantext.Database.Admin.Types.Node
import Gargantext.Database.Prelude
import Gargantext.Database.Query.Table.Node.Error (HasNodeError(..))
-import Gargantext.API.Prelude
import Gargantext.Prelude
import Servant
import Test.QuickCheck (elements)