Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
gargantext
haskell-gargantext
Commits
fda51d07
Commit
fda51d07
authored
Oct 07, 2024
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: add FreezeNodeAPI
parent
1d6e00f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Node.hs
src/Gargantext/API/Routes/Named/Node.hs
+4
-0
No files found.
src/Gargantext/API/Routes/Named/Node.hs
View file @
fda51d07
...
...
@@ -17,6 +17,7 @@ module Gargantext.API.Routes.Named.Node (
,
Roots
(
..
)
,
NodesAPI
(
..
)
,
ScoreAPI
(
..
)
,
FreezeNodeAPI
(
..
)
-- * API types (might appear in the routes)
,
Charts
(
..
)
...
...
@@ -188,6 +189,9 @@ data ScoreAPI mode = ScoreAPI
:>
Put
'[
J
SON
]
[
Int
]
}
deriving
Generic
data
FreezeNodeAPI
mode
=
FreezeAPI
{
frezeNodeEp
::
mode
:>
Post
'[
J
SON
]
NodeId
}
deriving
Generic
data
Roots
mode
=
Roots
{
getRootsEp
::
mode
:-
Get
'[
J
SON
]
[
Node
HyperdataUser
]
...
...
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