Commit graph

10 commits

Author SHA1 Message Date
Lukasz Ostrowski
a839314f08
Add central SaleorApp instance (#71)
* Add SaleorApp class

* Add middleware and tests

* Move APL validation to APL

* Fix test

* Add prepush hook

* Add better error for missing vercel envs

* Add test
2022-10-11 09:40:08 +02:00
Lukasz Ostrowski
0352356fd3
Add Handler factories (#61)
* Add createManifestHandler

* Add register handler factory

* Add docs to handlers factory

* Improve tsup configuration (select entry points)

* Reexport symbols from index

* Improve tests
2022-09-21 11:25:01 +02:00
Krzysztof Wolski
027b239114 Use APL debug util 2022-09-05 11:09:06 +02:00
Lukasz Ostrowski
47e7865dc5 Add debug messages to middlewares
Add debug messages to middlewares

Apply suggestions from code review

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

better debug messages

Add experimental debug middleware
2022-09-05 10:13:46 +02:00
Krzysztof Wolski
eb062c6b10 Update types on headers util 2022-09-02 16:52:44 +02:00
Krzysztof Wolski
ff0a03c215 Fix export from new modules 2022-08-30 09:17:11 +02:00
Krzysztof Wolski
e1dc4c0344 Test withAuthTokenRequired 2022-08-25 17:29:32 +02:00
Krzysztof Wolski
0882c7e408 Test withSaleorEventMatch 2022-08-25 17:22:53 +02:00
Krzysztof Wolski
d90abdceac Test withSaleorDomainPresent 2022-08-25 17:10:49 +02:00
Krzysztof Wolski
158a40203e Split middleware into separate files 2022-08-25 16:56:51 +02:00