• Alfredo Di Napoli's avatar
    Database.Query.Tree refactoring · 8c908150
    Alfredo Di Napoli authored
    This commit refactors a bit the internal of the
    `Gargantext.Database.Query.Tree` module so that it removes a lot of
    repetitive boilerplate and paves the way to more interesting features.
    
    It also:
    
    * Adds the `isUserNode` boolean query
    * Adjust source and target in publishNode and unpublishNode
    * Pass the currently-logged-in user to tree API functions
    8c908150
Setup.hs 10.7 KB