@effect-app/infra 0.133.0-next.50 → 0.133.0-next.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/_cjs/api/http.cjs +42 -0
- package/_cjs/api/http.cjs.map +1 -0
- package/_cjs/api/routing/base.cjs +169 -0
- package/_cjs/api/routing/base.cjs.map +1 -0
- package/_cjs/api/routing/defaultErrorHandler.cjs +50 -0
- package/_cjs/api/routing/defaultErrorHandler.cjs.map +1 -0
- package/_cjs/api/routing/makeRequestHandler.cjs +134 -0
- package/_cjs/api/routing/makeRequestHandler.cjs.map +1 -0
- package/_cjs/api/routing/match.cjs +45 -0
- package/_cjs/api/routing/match.cjs.map +1 -0
- package/_cjs/api/routing.cjs +50 -0
- package/_cjs/api/routing.cjs.map +1 -0
- package/_src/api/http.ts +26 -0
- package/_src/api/routing/base.ts +476 -0
- package/_src/api/routing/defaultErrorHandler.ts +83 -0
- package/_src/api/routing/makeRequestHandler.ts +278 -0
- package/_src/api/routing/match.ts +119 -0
- package/_src/api/routing.ts +11 -0
- package/dist/api/http.d.ts +16 -0
- package/dist/api/http.d.ts.map +1 -0
- package/dist/api/http.js +12 -0
- package/dist/api/routing/base.d.ts +117 -0
- package/dist/api/routing/base.d.ts.map +1 -0
- package/dist/api/routing/base.js +137 -0
- package/dist/api/routing/defaultErrorHandler.d.ts +16 -0
- package/dist/api/routing/defaultErrorHandler.d.ts.map +1 -0
- package/dist/api/routing/defaultErrorHandler.js +42 -0
- package/dist/api/routing/makeRequestHandler.d.ts +20 -0
- package/dist/api/routing/makeRequestHandler.d.ts.map +1 -0
- package/dist/api/routing/makeRequestHandler.js +121 -0
- package/dist/api/routing/match.d.ts +12 -0
- package/dist/api/routing/match.d.ts.map +1 -0
- package/dist/api/routing/match.js +31 -0
- package/dist/api/routing.d.ts +5 -0
- package/dist/api/routing.d.ts.map +1 -0
- package/dist/api/routing.js +8 -0
- package/dist/services/Repository.d.ts +2 -2
- package/dist/services/Repository.d.ts.map +1 -1
- package/package.json +67 -5
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.133.0-next.
|
|
3
|
+
"version": "0.133.0-next.52",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@azure/cosmos": "^4.0.0",
|
|
8
8
|
"@azure/service-bus": "^7.9.3",
|
|
9
|
+
"@effect/platform": "^0.40.1",
|
|
9
10
|
"@effect/schema": "npm:@effect-app/schema-fork@0.0.0-20231228152439",
|
|
10
|
-
"
|
|
11
|
+
"express-oauth2-jwt-bearer": "^1.6.0",
|
|
11
12
|
"@faker-js/faker": "^8.3.1",
|
|
12
13
|
"@sendgrid/helpers": "^8.0.0",
|
|
13
14
|
"@sendgrid/mail": "^8.1.0",
|
|
14
15
|
"change-case": "^5.3.0",
|
|
15
16
|
"cross-fetch": "^4.0.0",
|
|
17
|
+
"effect": "^2.0.1",
|
|
16
18
|
"fast-check": "~3.15.0",
|
|
17
19
|
"object-hash": "^3.0.0",
|
|
18
20
|
"path-parser": "^6.1.0",
|
|
@@ -20,9 +22,9 @@
|
|
|
20
22
|
"pure-rand": "6.0.4",
|
|
21
23
|
"redlock": "^4.2.0",
|
|
22
24
|
"@effect-app/core": "0.97.0-next.7",
|
|
23
|
-
"@effect-app/infra-adapters": "0.85.0-next.
|
|
24
|
-
"@effect-app/
|
|
25
|
-
"@effect-app/
|
|
25
|
+
"@effect-app/infra-adapters": "0.85.0-next.43",
|
|
26
|
+
"@effect-app/schema": "0.150.0-next.28",
|
|
27
|
+
"@effect-app/prelude": "0.107.0-next.43"
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"@babel/cli": "^7.23.4",
|
|
@@ -153,6 +155,16 @@
|
|
|
153
155
|
"default": "./_cjs/api/express/schema/routing.cjs"
|
|
154
156
|
}
|
|
155
157
|
},
|
|
158
|
+
"./api/http": {
|
|
159
|
+
"import": {
|
|
160
|
+
"types": "./dist/api/http.d.ts",
|
|
161
|
+
"default": "./dist/api/http.js"
|
|
162
|
+
},
|
|
163
|
+
"require": {
|
|
164
|
+
"types": "./dist/api/http.d.ts",
|
|
165
|
+
"default": "./_cjs/api/http.cjs"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
156
168
|
"./api/reportError": {
|
|
157
169
|
"import": {
|
|
158
170
|
"types": "./dist/api/reportError.d.ts",
|
|
@@ -163,6 +175,56 @@
|
|
|
163
175
|
"default": "./_cjs/api/reportError.cjs"
|
|
164
176
|
}
|
|
165
177
|
},
|
|
178
|
+
"./api/routing": {
|
|
179
|
+
"import": {
|
|
180
|
+
"types": "./dist/api/routing.d.ts",
|
|
181
|
+
"default": "./dist/api/routing.js"
|
|
182
|
+
},
|
|
183
|
+
"require": {
|
|
184
|
+
"types": "./dist/api/routing.d.ts",
|
|
185
|
+
"default": "./_cjs/api/routing.cjs"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"./api/routing/base": {
|
|
189
|
+
"import": {
|
|
190
|
+
"types": "./dist/api/routing/base.d.ts",
|
|
191
|
+
"default": "./dist/api/routing/base.js"
|
|
192
|
+
},
|
|
193
|
+
"require": {
|
|
194
|
+
"types": "./dist/api/routing/base.d.ts",
|
|
195
|
+
"default": "./_cjs/api/routing/base.cjs"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"./api/routing/defaultErrorHandler": {
|
|
199
|
+
"import": {
|
|
200
|
+
"types": "./dist/api/routing/defaultErrorHandler.d.ts",
|
|
201
|
+
"default": "./dist/api/routing/defaultErrorHandler.js"
|
|
202
|
+
},
|
|
203
|
+
"require": {
|
|
204
|
+
"types": "./dist/api/routing/defaultErrorHandler.d.ts",
|
|
205
|
+
"default": "./_cjs/api/routing/defaultErrorHandler.cjs"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"./api/routing/makeRequestHandler": {
|
|
209
|
+
"import": {
|
|
210
|
+
"types": "./dist/api/routing/makeRequestHandler.d.ts",
|
|
211
|
+
"default": "./dist/api/routing/makeRequestHandler.js"
|
|
212
|
+
},
|
|
213
|
+
"require": {
|
|
214
|
+
"types": "./dist/api/routing/makeRequestHandler.d.ts",
|
|
215
|
+
"default": "./_cjs/api/routing/makeRequestHandler.cjs"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"./api/routing/match": {
|
|
219
|
+
"import": {
|
|
220
|
+
"types": "./dist/api/routing/match.d.ts",
|
|
221
|
+
"default": "./dist/api/routing/match.js"
|
|
222
|
+
},
|
|
223
|
+
"require": {
|
|
224
|
+
"types": "./dist/api/routing/match.d.ts",
|
|
225
|
+
"default": "./_cjs/api/routing/match.cjs"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
166
228
|
"./api/setupRequest": {
|
|
167
229
|
"import": {
|
|
168
230
|
"types": "./dist/api/setupRequest.d.ts",
|