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
143
Issues
143
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
purescript-gargantext
Commits
0f8308ea
Verified
Commit
0f8308ea
authored
Sep 18, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EPO] some work on getting patents on the frontend
parent
4991709f
Pipeline
#4614
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Types.purs
...text/Components/Forest/Tree/Node/Action/Search/Types.purs
+6
-0
Node.purs
src/Gargantext/Components/GraphQL/Node.purs
+2
-0
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Search/Types.purs
View file @
0f8308ea
...
...
@@ -110,6 +110,7 @@ data Database = All_Databases
| IsTex
| IsTex_Advanced
| Isidore
| EPO
-- | News
-- | SocialNetworks
derive instance Generic Database _
...
...
@@ -125,6 +126,7 @@ instance Show Database where
show IsTex = "IsTex"
show IsTex_Advanced = "IsTex_Advanced"
show Isidore = "Isidore"
show EPO = "EPO"
show Empty = "Empty"
-- show News = "News"
-- show SocialNetworks = "Social Networks"
...
...
@@ -138,6 +140,7 @@ instance Doc Database where
doc IsTex = "All Elsevier enriched by CNRS/INIST"
doc IsTex_Advanced = "IsTex advanced search"
doc Isidore = "All (French) Social Sciences"
doc EPO = "EPO (European Patent Office)"
doc Empty = "Empty"
-- doc News = "Web filtered by News"
-- doc SocialNetworks = "Web filtered by MicroBlogs"
...
...
@@ -166,6 +169,7 @@ allDatabases = [ Empty
, HAL Nothing
, Arxiv
, OpenAlex
, EPO
-- , IsTex
-- , IsTex_Advanced
-- , Isidore
...
...
@@ -183,6 +187,7 @@ dbToInputValue (HAL _) = "hal"
dbToInputValue IsTex = "istex"
dbToInputValue IsTex_Advanced = "istex_advanced"
dbToInputValue Isidore = "isidore"
dbToInputValue EPO = "epo"
dbToInputValue Empty = "empty"
dbFromInputValue :: String -> Maybe Database
...
...
@@ -194,6 +199,7 @@ dbFromInputValue "hal" = Just (HAL Nothing)
dbFromInputValue "istex" = Just IsTex
dbFromInputValue "istex_advanced" = Just IsTex_Advanced
dbFromInputValue "isidore" = Just Isidore
dbFromInputValue "epo" = Just EPO
dbFromInputValue "empty" = Just Empty
dbFromInputValue _ = Nothing
...
...
src/Gargantext/Components/GraphQL/Node.purs
View file @
0f8308ea
...
...
@@ -51,3 +51,5 @@ nodeParentQuery = { node_parent: { node_id: Var :: _ "id" Int
, parent_type: Var :: _ "parent_type" String } =>> -- TODO parent_type :: NodeType
GGQL.getFieldsStandard (Proxy :: _ Node)
}
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