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
150
Issues
150
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
b6e13788
Commit
b6e13788
authored
6 months ago
by
Alexandre Delanoë
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/adinapoli/issue-407' into dev
parents
1bd9f15d
0771f383
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Types.hs
src/Gargantext/Core/Viz/Graph/Types.hs
+4
-3
No files found.
src/Gargantext/Core/Viz/Graph/Types.hs
View file @
b6e13788
...
...
@@ -14,9 +14,10 @@ Portability : POSIX
module
Gargantext.Core.Viz.Graph.Types
where
import
Data.Aeson
(
defaultOptions
)
import
Data.HashSet
(
HashSet
)
import
Data.HashSet
qualified
as
HashSet
import
Data.Swagger
(
ToSchema
(
..
),
genericDeclareNamedSchema
)
import
Data.Swagger
(
ToSchema
(
..
),
genericDeclareNamedSchema
,
defaultSchemaOptions
)
import
Data.Text
(
pack
)
import
Database.PostgreSQL.Simple.FromField
(
FromField
(
..
))
import
Gargantext.API.Ngrams.Types
(
NgramsTerm
)
...
...
@@ -245,9 +246,9 @@ instance FromField HyperdataGraphAPI
data
GraphLegendAPI
=
GraphLegendAPI
[
LegendField
]
deriving
(
Show
,
Generic
)
$
(
deriveJSON
(
unPrefix
"_graphAPI"
)
''
G
raphLegendAPI
)
$
(
deriveJSON
defaultOptions
''
G
raphLegendAPI
)
instance
ToSchema
GraphLegendAPI
where
declareNamedSchema
=
genericDeclareNamedSchema
(
unPrefixSwagger
"_graphAPI"
)
declareNamedSchema
=
genericDeclareNamedSchema
defaultSchemaOptions
makeLenses
''
G
raphLegendAPI
...
...
This diff is collapsed.
Click to expand it.
Przemyslaw Kaminski
@cgenie
mentioned in commit
5660aec0
·
6 months ago
mentioned in commit
5660aec0
mentioned in commit 5660aec07ec5a0a0a5468f440092c1a8f57a864e
Toggle commit list
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