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
141
Issues
141
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
5bbdf223
Commit
5bbdf223
authored
Jun 23, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] strict type
parent
7db57862
Pipeline
#901
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Hyperdata.hs
src/Gargantext/Database/Admin/Types/Hyperdata.hs
+9
-9
No files found.
src/Gargantext/Database/Admin/Types/Hyperdata.hs
View file @
5bbdf223
...
...
@@ -48,9 +48,9 @@ $(deriveJSON (unPrefix "statusV3_") ''StatusV3)
------------------------------------------------------------------------
data
CorpusField
=
MarkdownField
{
_cf_text
::
!
Text
}
|
JsonField
{
_cf_title
::
!
Text
,
_cf_desc
::
!
Text
,
_cf_query
::
!
Text
|
JsonField
{
_cf_title
::
!
Text
,
_cf_desc
::
!
Text
,
_cf_query
::
!
Text
,
_cf_authors
::
!
Text
-- , _cf_resources :: ![Resource]
}
...
...
@@ -218,11 +218,11 @@ instance Arbitrary HyperdataCorpus where
------------------------------------------------------------------------
data
HyperdataList
=
HyperdataList
{
hd_chart
::
!
(
Maybe
(
ChartMetrics
Histo
))
,
hd_list
::
!
(
Maybe
Text
)
,
hd_pie
::
!
(
Maybe
(
ChartMetrics
Histo
))
HyperdataList
{
hd_chart
::
!
(
Maybe
(
ChartMetrics
Histo
))
,
hd_list
::
!
(
Maybe
Text
)
,
hd_pie
::
!
(
Maybe
(
ChartMetrics
Histo
))
,
hd_scatter
::
!
(
Maybe
Metrics
)
,
hd_tree
::
!
(
Maybe
(
ChartMetrics
[
MyTree
]))
,
hd_tree
::
!
(
Maybe
(
ChartMetrics
[
MyTree
]))
}
deriving
(
Show
,
Generic
)
$
(
deriveJSON
(
unPrefix
"hd_"
)
''
H
yperdataList
)
...
...
@@ -312,8 +312,8 @@ instance Hyperdata HyperdataNotebook
-- | TODO CLEAN
data
HyperData
=
HyperdataTexts
{
hd_preferences
::
Maybe
Text
}
|
HyperdataList'
{
hd_preferences
::
Maybe
Text
}
data
HyperData
=
HyperdataTexts
{
hd_preferences
::
!
(
Maybe
Text
)
}
|
HyperdataList'
{
hd_preferences
::
!
(
Maybe
Text
)
}
deriving
(
Show
,
Generic
)
$
(
deriveJSON
(
unPrefix
"hd_"
)
''
H
yperData
)
...
...
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