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
131
Issues
131
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
ec9f8e1c
Verified
Commit
ec9f8e1c
authored
Apr 26, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-spago-next' into dev-add-edge-weight-control
parents
e1056935
753dabd2
Pipeline
#6013
failed with stages
in 5 minutes and 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
10 deletions
+26
-10
spago.lock
spago.lock
+1
-1
spago.yaml
spago.yaml
+23
-7
Endpoints.purs
src/Gargantext/Components/GraphQL/Endpoints.purs
+2
-2
No files found.
spago.lock
View file @
ec9f8e1c
...
...
@@ -3,6 +3,7 @@ workspace:
gargantext:
path: ./
dependencies:
- aff
- aff-promise: ">=4.0.0 <5.0.0"
- affjax: ">=13.0.0 <14.0.0"
- affjax-web: ">=1.0.0 <2.0.0"
...
...
@@ -56,7 +57,6 @@ workspace:
- partial: ">=4.0.0 <5.0.0"
- prelude: ">=6.0.1 <7.0.0"
- profunctor-lenses: ">=8.0.0 <9.0.0"
- psci-support: ">=6.0.0 <7.0.0"
- random: ">=6.0.0 <7.0.0"
- react: ">=11.0.0 <12.0.0"
- reactix: ">=0.6.0 <0.7.0"
...
...
spago.yaml
View file @
ec9f8e1c
...
...
@@ -35,14 +35,14 @@ workspace:
git
:
https://github.com/garganscript/purescript-spec-discovery.git
ref
:
v8.2.0-spago-next
build
:
# Be strict about missing packages
# https://github.com/purescript/spago/issues/1211#issuecomment-2066083651
pedanticPackages
:
true
package
:
name
:
gargantext
dependencies
:
# debugging
-
debug
:
"
>=6.0.2
<7.0.0"
# - psci-support: ">=6.0.0 <7.0.0"
-
aff
-
aff-promise
:
"
>=4.0.0
<5.0.0"
-
affjax
:
"
>=13.0.0
<14.0.0"
-
affjax-web
:
"
>=1.0.0
<2.0.0"
...
...
@@ -61,7 +61,6 @@ package:
-
data-default
:
"
*"
-
datetime
:
"
>=6.1.0
<7.0.0"
-
debounce
-
debug
:
"
>=6.0.2
<7.0.0"
-
dom-filereader
:
"
>=7.0.0
<8.0.0"
-
dom-simple
:
"
>=0.4.0
<0.5.0"
-
effect
:
"
>=4.0.0
<5.0.0"
...
...
@@ -96,7 +95,6 @@ package:
-
partial
:
"
>=4.0.0
<5.0.0"
-
prelude
:
"
>=6.0.1
<7.0.0"
-
profunctor-lenses
:
"
>=8.0.0
<9.0.0"
-
psci-support
:
"
>=6.0.0
<7.0.0"
-
random
:
"
>=6.0.0
<7.0.0"
-
react
:
"
>=11.0.0
<12.0.0"
-
reactix
:
"
>=0.6.0
<0.7.0"
...
...
@@ -128,6 +126,24 @@ package:
-
web-storage
:
"
>=5.0.0
<6.0.0"
-
web-url
:
"
>=2.0.0
<3.0.0"
-
web-xhr
:
"
>=5.0.1
<6.0.0"
build
:
# Be strict about missing packages
# https://github.com/purescript/spago/issues/1211#issuecomment-2066083651
pedanticPackages
:
true
# convert compiler warnings to errors:
# strict:
# true
censorProjectWarnings
:
-
UnusedDctorExplicitImport
-
UnusedDctorImport
-
UnusedDeclaration
-
UnusedExplicitImport
-
UnusedImport
-
UnusedName
-
UnusedTypeVar
test
:
main
:
Test.Main
dependencies
:
...
...
src/Gargantext/Components/GraphQL/Endpoints.purs
View file @
ec9f8e1c
...
...
@@ -44,7 +44,7 @@ getNode session nodeId = do
case eRes of
Left err -> pure $ Left err
Right { nodes } -> do
liftEffect $ here.log2 "[getNode] node" nodes
--
liftEffect $ here.log2 "[getNode] node" nodes
pure $ case A.head nodes of
Nothing -> Left (CustomError $ "node with id" <> show nodeId <>" not found")
Just node -> Right node
...
...
@@ -145,7 +145,7 @@ getTreeFirstLevel session id = do
case eRes of
Left err -> pure $ Left err
Right { tree } -> do
liftEffect $ here.log2 "[getTreeFirstLevel] tree first level" tree
--
liftEffect $ here.log2 "[getTreeFirstLevel] tree first level" tree
pure $ Right tree -- TODO: error handling
getTeam :: Session -> Int -> AffRESTError Team
...
...
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