@effect-app/infra 0.85.0-next.0 → 0.85.0-next.1

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 CHANGED
@@ -1,29 +1,29 @@
1
1
  # @effect-app/infra
2
2
 
3
- ## 0.84.0-next.1
3
+ ## 0.85.0-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 956746e5:
8
- - Updated dependencies [956746e5]
9
- - @effect-app/infra-adapters@0.59.0-next.1
10
- - @effect-app/prelude@0.70.0-next.1
11
- - @effect-app/schema@0.62.0-next.1
12
- - @effect-app/core@0.68.0-next.1
7
+ - 6b9fccac:
8
+ - Updated dependencies [6b9fccac]
9
+ - @effect-app/infra-adapters@0.60.0-next.1
10
+ - @effect-app/prelude@0.71.0-next.1
11
+ - @effect-app/schema@0.63.0-next.1
12
+ - @effect-app/core@0.69.0-next.1
13
13
 
14
- ## 0.84.0-next.0
14
+ ## 0.84.0
15
15
 
16
16
  ### Minor Changes
17
17
 
18
- - fd301c7c: update new test effect
18
+ - update packages
19
19
 
20
20
  ### Patch Changes
21
21
 
22
- - Updated dependencies [fd301c7c]
23
- - @effect-app/infra-adapters@0.59.0-next.0
24
- - @effect-app/prelude@0.70.0-next.0
25
- - @effect-app/schema@0.62.0-next.0
26
- - @effect-app/core@0.68.0-next.0
22
+ - Updated dependencies
23
+ - @effect-app/core@0.68.0
24
+ - @effect-app/infra-adapters@0.59.0
25
+ - @effect-app/prelude@0.70.0
26
+ - @effect-app/schema@0.62.0
27
27
 
28
28
  ## 0.83.12
29
29
 
@@ -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<any, import("@effect-app/prelude/client/errors").ValidationError | import("@effect-app/prelude/client/errors").NotFoundError | import("@effect-app/prelude/client/errors").InvalidStateError | 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;
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<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.85.0-next.0",
3
+ "version": "0.85.0-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -18,15 +18,15 @@
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.60.0-next.0",
22
- "@effect-app/schema": "0.63.0-next.0",
23
- "@effect-app/prelude": "0.71.0-next.0",
24
- "@effect-app/core": "0.69.0-next.0"
21
+ "@effect-app/core": "0.69.0-next.1",
22
+ "@effect-app/infra-adapters": "0.60.0-next.1",
23
+ "@effect-app/schema": "0.63.0-next.1",
24
+ "@effect-app/prelude": "0.71.0-next.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@babel/cli": "^7.23.0",
28
28
  "@sentry/node": "^7.77.0",
29
- "@types/express": "^4.17.20",
29
+ "@types/express": "^4.17.21",
30
30
  "@types/node": "~20.8.10",
31
31
  "@types/proper-lockfile": "^4.1.3",
32
32
  "@types/redis": "^2.8.32",
@@ -39,9 +39,9 @@
39
39
  "mongodb": "6.2.0",
40
40
  "redis": "^3.1.2",
41
41
  "ts-node": "^10.9.1",
42
- "typescript": "npm:@effect-app/typescript@5.3.0-tsplus.20231020",
42
+ "typescript": "npm:@effect-app/typescript@5.4.0-tsplus.202311072",
43
43
  "vitest": "^0.34.6",
44
- "@effect-app/compiler": "0.33.1"
44
+ "@effect-app/compiler": "0.34.0"
45
45
  },
46
46
  "typesVersions": {
47
47
  "*": {