Commit cb9cfeca authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DEP] Adding PSCI dep for the repl

[FIX] Document view for corpus
parent 06a07736
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"set": "master", "set": "master",
"source": "https://github.com/np/package-sets.git", "source": "https://github.com/np/package-sets.git",
"depends": [ "depends": [
"psci-support",
"css", "css",
"generics-rep", "generics-rep",
"routing", "routing",
......
...@@ -31,7 +31,7 @@ endConfig' v = { front : frontCaddy ...@@ -31,7 +31,7 @@ endConfig' v = { front : frontCaddy
-- until authentication implementation -- until authentication implementation
-- (Default Root will be given after authentication) -- (Default Root will be given after authentication)
defaultRoot :: Int defaultRoot :: Int
defaultRoot = 347474 defaultRoot = 943779
------------------------------------------------------------------------ ------------------------------------------------------------------------
frontCaddy :: Config frontCaddy :: Config
frontCaddy = { proto : "http://" frontCaddy = { proto : "http://"
......
...@@ -110,6 +110,7 @@ data Document = ...@@ -110,6 +110,7 @@ data Document =
, publication_month :: Maybe Int , publication_month :: Maybe Int
, publication_year :: Maybe Int , publication_year :: Maybe Int
, source :: Maybe String , source :: Maybe String
, institutes :: Maybe String
, title :: Maybe String , title :: Maybe String
, uniqId :: Maybe String , uniqId :: Maybe String
--, url :: Maybe String --, url :: Maybe String
...@@ -144,6 +145,7 @@ defaultDocument = ...@@ -144,6 +145,7 @@ defaultDocument =
, publication_month : Nothing , publication_month : Nothing
, publication_year : Nothing , publication_year : Nothing
, source : Nothing , source : Nothing
, institutes : Nothing
, title : Nothing , title : Nothing
, uniqId : Nothing , uniqId : Nothing
--, url : Nothing --, url : Nothing
...@@ -230,7 +232,8 @@ instance decodeDocument :: DecodeJson Document ...@@ -230,7 +232,8 @@ instance decodeDocument :: DecodeJson Document
publication_day <- obj .?? "publication_day" publication_day <- obj .?? "publication_day"
publication_month <- obj .?? "publication_month" publication_month <- obj .?? "publication_month"
publication_year <- obj .?? "publication_year" publication_year <- obj .?? "publication_year"
source <- obj .?? "source" source <- obj .?? "sources"
institutes <- obj .?? "institutes"
title <- obj .?? "title" title <- obj .?? "title"
uniqId <- obj .?? "uniqId" uniqId <- obj .?? "uniqId"
--url <- obj .? "url" --url <- obj .? "url"
...@@ -249,6 +252,7 @@ instance decodeDocument :: DecodeJson Document ...@@ -249,6 +252,7 @@ instance decodeDocument :: DecodeJson Document
, publication_month , publication_month
, publication_year , publication_year
, source , source
, institutes
, title , title
, uniqId , uniqId
--, url --, url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment