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
da2abe0f
Commit
da2abe0f
authored
May 19, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] userId -> user_id && parentId -> parent_id
parent
15e4fe66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
Node.purs
src/Gargantext/Components/Node.purs
+2
-2
Annuaire.purs
src/Gargantext/Components/Nodes/Annuaire.purs
+2
-2
Types.purs
...antext/Components/Nodes/Annuaire/User/Contacts/Types.purs
+8
-8
No files found.
src/Gargantext/Components/Node.purs
View file @
da2abe0f
...
...
@@ -25,8 +25,8 @@ instance decodeNodePoly :: (DecodeJson a)
obj <- decodeJson json
id <- obj .: "id"
typename <- obj .: "typename"
userId <- obj .: "user
I
d"
parentId <- obj .: "parent
I
d"
userId <- obj .: "user
_i
d"
parentId <- obj .: "parent
_i
d"
name <- obj .: "name"
date <- obj .: "date"
...
...
src/Gargantext/Components/Nodes/Annuaire.purs
View file @
da2abe0f
...
...
@@ -268,8 +268,8 @@ instance decodeAnnuaireInfo :: DecodeJson AnnuaireInfo where
obj <- decodeJson json
id <- obj .: "id"
typename <- obj .: "typename"
userId <- obj .: "user
I
d"
parentId <- obj .: "parent
I
d"
userId <- obj .: "user
_i
d"
parentId <- obj .: "parent
_i
d"
name <- obj .: "name"
date <- obj .: "date"
hyperdata <- obj .: "hyperdata"
...
...
src/Gargantext/Components/Nodes/Annuaire/User/Contacts/Types.purs
View file @
da2abe0f
...
...
@@ -34,9 +34,9 @@ instance decodeNodeContact :: DecodeJson NodeContact where
hyperdata <- obj .: "hyperdata"
id <- obj .: "id"
name <- obj .:! "name"
parentId <- obj .?| "parent
I
d"
parentId <- obj .?| "parent
_i
d"
typename <- obj .?| "typename"
userId <- obj .:! "user
I
d"
userId <- obj .:! "user
_i
d"
pure $ NodeContact { id
, date
...
...
@@ -70,9 +70,9 @@ instance decodeContact' :: DecodeJson Contact' where
hyperdata <- obj .: "hyperdata"
id <- obj .: "id"
name <- obj .:! "name"
parentId <- obj .?| "parent
I
d"
parentId <- obj .?| "parent
_i
d"
typename <- obj .?| "typename"
userId <- obj .:! "user
I
d"
userId <- obj .:! "user
_i
d"
pure $ Contact' { id
, date
...
...
@@ -106,9 +106,9 @@ instance decodeContact :: DecodeJson Contact where
hyperdata <- obj .: "hyperdata"
id <- obj .: "id"
name <- obj .:! "name"
parentId <- obj .?| "parent
I
d"
parentId <- obj .?| "parent
_i
d"
typename <- obj .?| "typename"
userId <- obj .:! "user
I
d"
userId <- obj .:! "user
_i
d"
pure $ Contact { id
, date
...
...
@@ -139,9 +139,9 @@ instance decodeUser :: DecodeJson User where
hyperdata <- obj .: "hyperdata"
id <- obj .: "id"
name <- obj .:! "name"
parentId <- obj .?| "parent
I
d"
parentId <- obj .?| "parent
_i
d"
typename <- obj .?| "typename"
userId <- obj .:! "user
I
d"
userId <- obj .:! "user
_i
d"
pure $ User { id
, date
...
...
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