@effect-app/infra 0.52.0 → 0.53.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,5 +1,27 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 0.53.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @effect-app/prelude@0.43.0
9
+ - @effect-app/infra-adapters@0.39.1
10
+
11
+ ## 0.53.0
12
+
13
+ ### Minor Changes
14
+
15
+ - update dependencies
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+ - @effect-app/core@0.46.0
21
+ - @effect-app/infra-adapters@0.39.0
22
+ - @effect-app/prelude@0.42.0
23
+ - @effect-app/schema@0.38.0
24
+
3
25
  ## 0.52.0
4
26
 
5
27
  ### Minor Changes
@@ -1,17 +1,20 @@
1
1
  import { ParsedShapeOfCustom, useClassFeaturesForSchema, MNModel, prop, literal, ReasonableString, optProp, props, StringId, defaultProp, date, EncodedClass, ConstructorInputFromApi, GetProvidedProps } from "@effect-app/prelude/schema";
2
2
  export declare const RequestId: import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
3
- make(this: void): import("@effect-app/prelude/schema").StringId;
3
+ make: () => import("@effect-app/prelude/schema").StringId;
4
+ withDefault: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
4
5
  };
5
6
  export type RequestId = ParsedShapeOfCustom<typeof RequestId>;
6
7
  declare const RequestContextParent_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<{
7
8
  _tag: import("@effect-app/schema").Property<import("@effect-app/schema").DefaultSchema<unknown, "RequestContext", "RequestContext", "RequestContext", import("@effect-app/schema").LiteralApi<["RequestContext"]>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
8
9
  id: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
9
- make(this: void): import("@effect-app/prelude/schema").StringId;
10
+ make: () => import("@effect-app/prelude/schema").StringId;
11
+ withDefault: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
10
12
  }, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
11
13
  name: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>> & import("@effect-app/schema").Utils<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
12
14
  user: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaProperties<{
13
15
  id: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
14
- make(this: void): import("@effect-app/prelude/schema").StringId;
16
+ make: () => import("@effect-app/prelude/schema").StringId;
17
+ withDefault: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
15
18
  }, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
16
19
  }>, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
17
20
  locale: import("@effect-app/schema").Property<import("@effect-app/schema").DefaultSchema<unknown, "en" | "de", "en" | "de", "en" | "de", import("@effect-app/schema").LiteralApi<["en", "de"]>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
@@ -25,7 +28,8 @@ export declare function makeRequestId(): import("@effect-app/prelude/schema").St
25
28
  declare const RequestContext_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<{
26
29
  id: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
27
30
  rootId: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
28
- make(this: void): import("@effect-app/prelude/schema").StringId;
31
+ make: () => import("@effect-app/prelude/schema").StringId;
32
+ withDefault: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
29
33
  }, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
30
34
  parent: import("@effect-app/schema").Property<typeof RequestContextParent, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
31
35
  namespace: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>> & import("@effect-app/schema").Utils<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>>>, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
@@ -33,7 +37,8 @@ declare const RequestContext_base: import("@effect-app/schema").MNModel<import("
33
37
  name: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>> & import("@effect-app/schema").Utils<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/schema").ReasonableString, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/schema").ReasonableString>>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
34
38
  user: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaProperties<{
35
39
  id: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
36
- make(this: void): import("@effect-app/prelude/schema").StringId;
40
+ make: () => import("@effect-app/prelude/schema").StringId;
41
+ withDefault: import("@effect-app/schema").Property<import("@effect-app/schema").SchemaDefaultSchema<unknown, import("@effect-app/prelude/schema").StringId, string, string, import("@effect-app/schema").ApiSelfType<import("@effect-app/prelude/schema").StringId>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => import("@effect-app/prelude/schema").StringId]>>;
37
42
  }, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
38
43
  }>, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
39
44
  locale: import("@effect-app/schema").Property<import("@effect-app/schema").DefaultSchema<unknown, "en" | "de", "en" | "de", "en" | "de", import("@effect-app/schema").LiteralApi<["en", "de"]>>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestContext.d.ts","sourceRoot":"","sources":["../_src/RequestContext.ts"],"names":[],"mappings":";AAAA,eAAO,MAAM,SAAS;;CAAW,CAAA;AACjC,MAAM,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,SAAS,CAAC,CAAA;;;;;;;;;;;;;;;AAE7D,qBACa,oBAAqB,SAAQ,yBAYxC;CAAG;AACL,oCAAoC;AACpC,MAAM,MAAM,+BAA+B,GAAG,OAAO,oBAAoB,CAAA;AAEzE,wBAAgB,aAAa,kDAE5B;;;;;;;;;;;;;;;;;;AAED;;;GAGG;AACH,qBACa,cAAe,SAAQ,mBAWlC;IACA,MAAM,CAAC,OAAO,CACZ,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,oBAAoB,CAAC,gBAAgB;IAUhD,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc;;;;;;CASrD;AAED,oCAAoC;AACpC,MAAM,MAAM,yBAAyB,GAAG,OAAO,cAAc,CAAA;AAK7D,yBAAiB,oBAAoB,CAAC;;;;;;;;;;;IACpC;;;OAGG;IACH,MAAM,OAAO,OAAQ,SAAQ,YAA2C;KAAG;IAC3E,MAAM,WAAW,gBACf,SAAQ,uBAAuB,CAAC,OAAO,oBAAoB,CAAC;KAAG;IACjE,MAAM,WAAW,KAAM,SAAQ,gBAAgB,CAAC,OAAO,oBAAoB,CAAC;KAAG;;CAChF;AACD,yBAAiB,cAAc,CAAC;;;;;;;;;;;;;;IAC9B;;;OAGG;IACH,MAAM,OAAO,OAAQ,SAAQ,cAAqC;KAAG;IACrE,MAAM,WAAW,gBACf,SAAQ,uBAAuB,CAAC,OAAO,cAAc,CAAC;KAAG;IAC3D,MAAM,WAAW,KAAM,SAAQ,gBAAgB,CAAC,OAAO,cAAc,CAAC;KAAG;;C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"name": "@effect-app/infra",
3
- "version": "0.52.0",
3
+ "version": "0.53.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@azure/cosmos": "^3.17.3",
8
8
  "@azure/service-bus": "^7.9.0",
9
9
  "@effect/data": "^0.12.2",
10
- "@effect/io": "^0.24.2",
10
+ "@effect/io": "^0.24.4",
11
11
  "@sendgrid/helpers": "^7.7.0",
12
12
  "@sendgrid/mail": "^7.7.0",
13
13
  "change-case": "^4.1.2",
@@ -19,16 +19,16 @@
19
19
  "proper-lockfile": "^4.1.2",
20
20
  "pure-rand": "^6.0.1",
21
21
  "redlock": "^4.2.0",
22
- "@effect-app/prelude": "0.41.0",
23
- "@effect-app/core": "0.45.0",
24
- "@effect-app/infra-adapters": "0.38.0",
25
- "@effect-app/schema": "0.37.0"
22
+ "@effect-app/prelude": "0.43.0",
23
+ "@effect-app/core": "0.46.0",
24
+ "@effect-app/infra-adapters": "0.39.1",
25
+ "@effect-app/schema": "0.38.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/cli": "^7.21.0",
29
- "@sentry/node": "^7.48.0",
29
+ "@sentry/node": "^7.49.0",
30
30
  "@types/express": "^4.17.17",
31
- "@types/node": "~18.15.12",
31
+ "@types/node": "~18.15.13",
32
32
  "@types/proper-lockfile": "^4.1.2",
33
33
  "@types/redis": "^2.8.32",
34
34
  "@types/redlock": "^4.0.4",
@@ -40,9 +40,9 @@
40
40
  "mongodb": "5.3.0",
41
41
  "redis": "^3.1.2",
42
42
  "ts-node": "^10.9.1",
43
- "typescript": "https://cdn.jsdelivr.net/npm/@tsplus/installer@0.0.171/compiler/typescript.tgz",
43
+ "typescript": "https://cdn.jsdelivr.net/npm/@tsplus/installer@0.0.173/compiler/typescript.tgz",
44
44
  "vitest": "^0.30.1",
45
- "@effect-app/compiler": "0.23.0"
45
+ "@effect-app/compiler": "0.24.0"
46
46
  },
47
47
  "typesVersions": {
48
48
  "*": {