pedant
This commit is contained in:
parent
3c4f732f2c
commit
fcf5709823
78
spago.lock
78
spago.lock
@ -5,22 +5,67 @@
|
|||||||
"path": "./",
|
"path": "./",
|
||||||
"core": {
|
"core": {
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"aff",
|
{
|
||||||
"argonaut-codecs",
|
"aff": ">=8.0.0 <9.0.0"
|
||||||
"argonaut-core",
|
},
|
||||||
"console",
|
{
|
||||||
"effect",
|
"argonaut-codecs": ">=9.1.0 <10.0.0"
|
||||||
"ezfetch",
|
},
|
||||||
"maybe",
|
{
|
||||||
"node-net",
|
"argonaut-core": ">=7.0.0 <8.0.0"
|
||||||
"node-streams",
|
},
|
||||||
"nullable",
|
"arraybuffer-types",
|
||||||
"prelude",
|
"arrays",
|
||||||
"strings",
|
"bifunctors",
|
||||||
"transformers",
|
{
|
||||||
"tuples",
|
"console": ">=6.1.0 <7.0.0"
|
||||||
"url-immutable",
|
},
|
||||||
"web-streams"
|
"control",
|
||||||
|
{
|
||||||
|
"effect": ">=4.0.0 <5.0.0"
|
||||||
|
},
|
||||||
|
"either",
|
||||||
|
"exceptions",
|
||||||
|
{
|
||||||
|
"ezfetch": ">=1.1.0 <2.0.0"
|
||||||
|
},
|
||||||
|
"foldable-traversable",
|
||||||
|
"integers",
|
||||||
|
{
|
||||||
|
"maybe": ">=6.0.0 <7.0.0"
|
||||||
|
},
|
||||||
|
"newtype",
|
||||||
|
"node-buffer",
|
||||||
|
{
|
||||||
|
"node-net": ">=5.1.0 <6.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"node-streams": ">=9.0.0 <10.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nullable": ">=6.0.0 <7.0.0"
|
||||||
|
},
|
||||||
|
"ordered-collections",
|
||||||
|
{
|
||||||
|
"prelude": ">=6.0.1 <7.0.0"
|
||||||
|
},
|
||||||
|
"refs",
|
||||||
|
{
|
||||||
|
"strings": ">=6.0.1 <7.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"transformers": ">=6.1.0 <7.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tuples": ">=7.0.0 <8.0.0"
|
||||||
|
},
|
||||||
|
"typelevel-prelude",
|
||||||
|
{
|
||||||
|
"url-immutable": ">=1.0.0 <2.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"web-streams": ">=4.0.0 <5.0.0"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"build_plan": [
|
"build_plan": [
|
||||||
"aff",
|
"aff",
|
||||||
@ -102,6 +147,7 @@
|
|||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
"partial",
|
||||||
"spec",
|
"spec",
|
||||||
"spec-node"
|
"spec-node"
|
||||||
],
|
],
|
||||||
|
46
spago.yaml
46
spago.yaml
@ -1,25 +1,39 @@
|
|||||||
package:
|
package:
|
||||||
name: axon
|
name: axon
|
||||||
dependencies:
|
dependencies:
|
||||||
- aff
|
- arraybuffer-types
|
||||||
- argonaut-codecs
|
- arrays
|
||||||
- argonaut-core
|
- bifunctors
|
||||||
- console
|
- control
|
||||||
- effect
|
- either
|
||||||
- ezfetch
|
- exceptions
|
||||||
- maybe
|
- foldable-traversable
|
||||||
- node-net
|
- integers
|
||||||
- node-streams
|
- newtype
|
||||||
- nullable
|
- node-buffer
|
||||||
- prelude
|
- ordered-collections
|
||||||
- strings
|
- refs
|
||||||
- transformers
|
- typelevel-prelude
|
||||||
- tuples
|
- aff: ">=8.0.0 <9.0.0"
|
||||||
- url-immutable
|
- argonaut-codecs: ">=9.1.0 <10.0.0"
|
||||||
- web-streams
|
- argonaut-core: ">=7.0.0 <8.0.0"
|
||||||
|
- console: ">=6.1.0 <7.0.0"
|
||||||
|
- effect: ">=4.0.0 <5.0.0"
|
||||||
|
- ezfetch: ">=1.1.0 <2.0.0"
|
||||||
|
- maybe: ">=6.0.0 <7.0.0"
|
||||||
|
- node-net: ">=5.1.0 <6.0.0"
|
||||||
|
- node-streams: ">=9.0.0 <10.0.0"
|
||||||
|
- nullable: ">=6.0.0 <7.0.0"
|
||||||
|
- prelude: ">=6.0.1 <7.0.0"
|
||||||
|
- strings: ">=6.0.1 <7.0.0"
|
||||||
|
- transformers: ">=6.1.0 <7.0.0"
|
||||||
|
- tuples: ">=7.0.0 <8.0.0"
|
||||||
|
- url-immutable: ">=1.0.0 <2.0.0"
|
||||||
|
- web-streams: ">=4.0.0 <5.0.0"
|
||||||
test:
|
test:
|
||||||
main: Test.Main
|
main: Test.Main
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- partial
|
||||||
- spec
|
- spec
|
||||||
- spec-node
|
- spec-node
|
||||||
workspace:
|
workspace:
|
||||||
|
@ -6,7 +6,7 @@ import Axon.Request (Request)
|
|||||||
import Axon.Request as Request
|
import Axon.Request as Request
|
||||||
import Axon.Request.Method (Method(..))
|
import Axon.Request.Method (Method(..))
|
||||||
import Axon.Request.Parts.Class (Json(..), Patch(..), Path(..), Post(..), extractRequestParts)
|
import Axon.Request.Parts.Class (Json(..), Patch(..), Path(..), Post(..), extractRequestParts)
|
||||||
import Axon.Request.Parts.Path (type (...), type (/), IgnoreRest)
|
import Axon.Request.Parts.Path (type (/), IgnoreRest)
|
||||||
import Control.Monad.Error.Class (liftEither, liftMaybe)
|
import Control.Monad.Error.Class (liftEither, liftMaybe)
|
||||||
import Data.Bifunctor (lmap)
|
import Data.Bifunctor (lmap)
|
||||||
import Data.Either (Either(..))
|
import Data.Either (Either(..))
|
||||||
|
Loading…
Reference in New Issue
Block a user