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
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
Julien Moutinho
haskell-gargantext
Commits
f0674838
Commit
f0674838
authored
Jul 13, 2023
by
Alexandre Delanoë
Committed by
Alfredo Di Napoli
Jul 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TYPE] Node Corpus with its lang
parent
7f6f1933
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Corpus.hs
src/Gargantext/Database/Admin/Types/Hyperdata/Corpus.hs
+7
-2
No files found.
src/Gargantext/Database/Admin/Types/Hyperdata/Corpus.hs
View file @
f0674838
...
...
@@ -22,6 +22,7 @@ module Gargantext.Database.Admin.Types.Hyperdata.Corpus
where
import
Gargantext.Prelude
import
Gargantext.Core
(
Lang
)
import
Gargantext.Database.Admin.Types.Hyperdata.CorpusField
import
Gargantext.Database.Admin.Types.Hyperdata.Prelude
import
PUBMED.Types
(
APIKey
)
...
...
@@ -29,7 +30,9 @@ import PUBMED.Types (APIKey)
------------------------------------------------------------------------
data
HyperdataCorpus
=
HyperdataCorpus
{
_hc_fields
::
!
[
HyperdataField
CorpusField
]
,
_hc_pubmed_api_key
::
Maybe
APIKey
}
,
_hc_pubmed_api_key
::
Maybe
APIKey
,
_hc_lang
::
Maybe
Lang
}
deriving
(
Generic
)
defaultHyperdataCorpus
::
HyperdataCorpus
...
...
@@ -43,7 +46,9 @@ defaultHyperdataCorpus =
"Metadata (Experts only)"
(
JsonField
"Title"
"Descr"
"Bool query"
"Authors"
)
]
,
_hc_pubmed_api_key
=
Nothing
}
,
_hc_pubmed_api_key
=
Nothing
,
_hc_lang
=
Nothing
}
------------------------------------------------------------------------
------------------------------------------------------------------------
...
...
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