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