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
5c6dbea2
Verified
Commit
5c6dbea2
authored
Mar 14, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[refactor] uniqid removal
parent
8328fef2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
19 deletions
+3
-19
Types.purs
src/Gargantext/Components/Document/Types.purs
+0
-2
Context.purs
src/Gargantext/Components/GraphQL/Context.purs
+3
-5
Types.purs
...antext/Components/Nodes/Annuaire/User/Contacts/Types.purs
+0
-8
Search.purs
src/Gargantext/Components/Search.purs
+0
-4
No files found.
src/Gargantext/Components/Document/Types.purs
View file @
5c6dbea2
...
...
@@ -134,7 +134,6 @@ newtype Document =
, source :: Maybe String
, institutes :: Maybe String
, title :: Maybe String
, uniqId :: Maybe String
--, url :: Maybe String
--, text :: Maybe String
}
...
...
@@ -176,7 +175,6 @@ defaultDocument =
, source : Nothing
, institutes : Nothing
, title : Nothing
, uniqId : Nothing
--, url : Nothing
--, text : Nothing
}
src/Gargantext/Components/GraphQL/Context.purs
View file @
5c6dbea2
...
...
@@ -54,9 +54,8 @@ type Hyperdata_
, hrd_source :: String
, hrd_title :: String
, hrd_url :: String
, hrd_uniqId :: String
, hrd_uniqIdBdd :: String )
)
type Hyperdata = Record Hyperdata_
type NodeContext_
...
...
@@ -118,8 +117,7 @@ type ContextsForNgramsQuery
, hrd_source :: Unit
, hrd_title :: Unit
, hrd_url :: Unit
, hrd_uniqId :: Unit
, hrd_uniqIdBdd :: Unit }
}
}
}
contextsForNgramsQuery :: ContextsForNgramsQuery
...
...
src/Gargantext/Components/Nodes/Annuaire/User/Contacts/Types.purs
View file @
5c6dbea2
...
...
@@ -189,8 +189,6 @@ type HyperdataContactT =
, lastValidation :: Maybe String
, source :: Maybe String
, title :: Maybe String
, uniqId :: Maybe String
, uniqIdBdd :: Maybe String
, who :: Maybe ContactWho
)
newtype HyperdataContact =
...
...
@@ -209,8 +207,6 @@ instance JSON.ReadForeign HyperdataContact where
, ou: fromMaybe [] inst.where
, source: inst.source
, title: inst.title
, uniqId: inst.uniqId
, uniqIdBdd: inst.uniqIdBdd
, who: inst.who }
instance JSON.WriteForeign HyperdataContact
where
...
...
@@ -219,8 +215,6 @@ instance JSON.WriteForeign HyperdataContact
, where: hc.ou
, source: hc.source
, title: hc.title
, uniqId: hc.uniqId
, uniqIdBdd: hc.uniqIdBdd
, who: hc.who }
defaultHyperdataContact :: HyperdataContact
...
...
@@ -231,8 +225,6 @@ defaultHyperdataContact =
, title: Nothing
, source: Nothing
, lastValidation: Nothing
, uniqId: Nothing
, uniqIdBdd: Nothing
}
newtype HyperdataUser =
...
...
src/Gargantext/Components/Search.purs
View file @
5c6dbea2
...
...
@@ -95,8 +95,6 @@ newtype HyperdataRowDocument =
, source :: Maybe String
, title :: Maybe String
, url :: Maybe String
, uniqId :: Maybe String
, uniqIdBdd :: Maybe String
}
derive instance Generic HyperdataRowDocument _
...
...
@@ -141,8 +139,6 @@ newtype HyperdataContact =
, title :: Maybe String
, source :: Maybe String
, lastValidation :: Maybe String
, uniqIdBdd :: Maybe String
, uniqId :: Maybe String
}
derive instance Generic HyperdataContact _
instance Eq HyperdataContact where eq = genericEq
...
...
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