Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
c38faea4
Commit
c38faea4
authored
Sep 15, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[READING] Cosmetics
parent
da6e6797
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
API.purs
src/Gargantext/Components/GraphExplorer/API.purs
+7
-14
No files found.
src/Gargantext/Components/GraphExplorer/API.purs
View file @
c38faea4
...
...
@@ -12,8 +12,7 @@ import Gargantext.Sessions (Session, get, post)
import Gargantext.Types as GT
type GraphAsyncUpdateParams =
(
graphId :: Int
( graphId :: Int
, listId :: Int
, nodes :: Array (Record SigmaxT.Node)
, session :: Session
...
...
@@ -34,8 +33,7 @@ graphAsyncUpdate { graphId, listId, nodes, session, termList, version } = do
}
type GraphAsyncRecomputeParams =
(
graphId :: Int
( graphId :: Int
, session :: Session
)
...
...
@@ -48,8 +46,7 @@ graphAsyncRecompute { graphId, session } = do
q = {}
type QueryProgressParams =
(
graphId :: Int
( graphId :: Int
, session :: Session
, taskId :: String
)
...
...
@@ -59,14 +56,12 @@ queryProgress { graphId, session, taskId } = do
get session $ GR.GraphAPI graphId $ "async/" <> taskId <> "/poll"
type GraphVersions =
(
gv_graph :: Maybe Int
( gv_graph :: Maybe Int
, gv_repo :: Int
)
type GraphVersionsParams =
(
graphId :: Int
( graphId :: Int
, session :: Session
)
...
...
@@ -74,8 +69,7 @@ graphVersions :: Record GraphVersionsParams -> Aff (Record GraphVersions)
graphVersions { graphId, session } = get session $ GR.GraphAPI graphId $ "versions"
type UpdateGraphVersionsParams =
(
graphId :: Int
( graphId :: Int
, session :: Session
)
...
...
@@ -83,8 +77,7 @@ updateGraphVersions :: Record UpdateGraphVersionsParams -> Aff GET.GraphData
updateGraphVersions { graphId, session } = post session (GR.GraphAPI graphId $ "versions") {}
type CloneGraphParams =
(
hyperdataGraph :: GET.HyperdataGraph
( hyperdataGraph :: GET.HyperdataGraph
, id :: Int
, session :: Session
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment