@effect-app/infra 0.83.6 → 0.83.8
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 +19 -0
- package/dist/api/routing.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.83.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 780a6718: update packages
|
|
8
|
+
- Updated dependencies [780a6718]
|
|
9
|
+
- @effect-app/prelude@0.69.7
|
|
10
|
+
- @effect-app/core@0.67.4
|
|
11
|
+
- @effect-app/infra-adapters@0.58.7
|
|
12
|
+
- @effect-app/schema@0.60.4
|
|
13
|
+
|
|
14
|
+
## 0.83.7
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [57f506e7]
|
|
19
|
+
- @effect-app/prelude@0.69.6
|
|
20
|
+
- @effect-app/infra-adapters@0.58.6
|
|
21
|
+
|
|
3
22
|
## 0.83.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/api/routing.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export interface ReqHandler<Req, R, E, Res, ReqSchema extends MO.SchemaAny, ResS
|
|
|
94
94
|
* })
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
|
-
export declare function matchResource<TModules extends Record<string, Record<string, any>>>(mod: TModules): <THandlers extends keyof TModules extends infer T extends keyof TModules ? { [K in T]: (req: InstanceType<GetRequest<TModules[K]> extends infer T_1 ? T_1 extends GetRequest<TModules[K]> ? T_1 extends new (...args: any[]) => any ? T_1 : never : never : never>) => import("effect/Effect").Effect<any, import("@effect-app/prelude/client/errors").
|
|
97
|
+
export declare function matchResource<TModules extends Record<string, Record<string, any>>>(mod: TModules): <THandlers extends keyof TModules extends infer T extends keyof TModules ? { [K in T]: (req: InstanceType<GetRequest<TModules[K]> extends infer T_1 ? T_1 extends GetRequest<TModules[K]> ? T_1 extends new (...args: any[]) => any ? T_1 : never : never : never>) => import("effect/Effect").Effect<any, import("@effect-app/prelude/client/errors").NotFoundError | import("@effect-app/prelude/client/errors").InvalidStateError | import("@effect-app/prelude/client/errors").ValidationError | import("@effect-app/prelude/client/errors").NotLoggedInError | import("@effect-app/prelude/client/errors").UnauthorizedError | import("@effect-app/prelude/client/errors").OptimisticConcurrencyException, MO.ParsedShapeOf<Extr<GetResponse<TModules[K]>>>>; } : never>(handlers: THandlers) => keyof TModules extends infer T_2 extends keyof TModules ? { [K_1 in T_2]: ReqHandler<InstanceType<GetRequest<TModules[K_1]> extends infer T_3 ? T_3 extends GetRequest<TModules[K_1]> ? T_3 extends new (...args: any[]) => any ? T_3 : never : never : never>, _R<ReturnType<THandlers[K_1]>>, _E<ReturnType<THandlers[K_1]>>, MO.ParsedShapeOf<Extr<GetResponse<TModules[K_1]>>>, GetRequest<TModules[K_1]>, GetResponse<TModules[K_1]>, any>; } : never;
|
|
98
98
|
export type ReqFromSchema<ReqSchema> = InstanceType<ReqSchema extends {
|
|
99
99
|
new (...args: any[]): any;
|
|
100
100
|
} ? ReqSchema : never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"proper-lockfile": "^4.1.2",
|
|
19
19
|
"pure-rand": "6.0.4",
|
|
20
20
|
"redlock": "^4.2.0",
|
|
21
|
-
"@effect-app/infra-adapters": "0.58.
|
|
22
|
-
"@effect-app/
|
|
23
|
-
"@effect-app/
|
|
24
|
-
"@effect-app/
|
|
21
|
+
"@effect-app/infra-adapters": "0.58.7",
|
|
22
|
+
"@effect-app/core": "0.67.4",
|
|
23
|
+
"@effect-app/prelude": "0.69.7",
|
|
24
|
+
"@effect-app/schema": "0.60.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/cli": "^7.23.0",
|
|
28
28
|
"@sentry/node": "^7.76.0",
|
|
29
29
|
"@types/express": "^4.17.20",
|
|
30
|
-
"@types/node": "~20.8.
|
|
30
|
+
"@types/node": "~20.8.10",
|
|
31
31
|
"@types/proper-lockfile": "^4.1.3",
|
|
32
32
|
"@types/redis": "^2.8.32",
|
|
33
33
|
"@types/redlock": "^4.0.6",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"ts-node": "^10.9.1",
|
|
42
42
|
"typescript": "npm:@effect-app/typescript@5.3.0-tsplus.20231020",
|
|
43
43
|
"vitest": "^0.34.6",
|
|
44
|
-
"@effect-app/compiler": "0.33.
|
|
44
|
+
"@effect-app/compiler": "0.33.1"
|
|
45
45
|
},
|
|
46
46
|
"typesVersions": {
|
|
47
47
|
"*": {
|