@effect-app/infra 0.152.0 → 0.153.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,28 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 0.153.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9780ef0]
8
+ - @effect-app/prelude@0.127.1
9
+ - @effect-app/infra-adapters@0.104.1
10
+
11
+ ## 0.153.0
12
+
13
+ ### Minor Changes
14
+
15
+ - a30db88: update packages
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [a30db88]
20
+ - Updated dependencies [b454cd7]
21
+ - @effect-app/infra-adapters@0.104.0
22
+ - @effect-app/prelude@0.127.0
23
+ - @effect-app/schema@0.166.0
24
+ - @effect-app/core@0.115.0
25
+
3
26
  ## 0.152.0
4
27
 
5
28
  ### Minor Changes
@@ -38,15 +38,15 @@ export declare const QueueMeta: import("@effect-app/schema").Schema<never, {
38
38
  readonly namespace?: string | undefined;
39
39
  };
40
40
  readonly span?: {
41
- readonly spanId: string;
42
41
  readonly traceId: string;
42
+ readonly spanId: string;
43
43
  readonly sampled?: boolean | undefined;
44
44
  } | undefined;
45
45
  }, {
46
46
  readonly requestContext: RequestContext;
47
47
  readonly span?: {
48
- readonly spanId: string;
49
48
  readonly traceId: string;
49
+ readonly spanId: string;
50
50
  readonly sampled?: boolean | undefined;
51
51
  } | undefined;
52
52
  }>;
@@ -100,7 +100,7 @@ export declare function makeRepo<PM extends {
100
100
  value: A_1;
101
101
  readonly S: PM;
102
102
  };
103
- }) => Where | readonly [Where, ...Where[]], mode?: "or" | "and" | undefined) => Filter<PM>;
103
+ }) => Where | readonly [Where, ...Where[]], mode?: "and" | "or" | undefined) => Filter<PM>;
104
104
  query: (fn: (f: import("./Store/filterApi/query.js").FilterTest<PM>, fields: import("./Store/filterApi/proxy.js").Filter<PM, never>) => QueryBuilder<PM>) => QueryBuilder<PM>;
105
105
  };
106
106
  /**
@@ -12,16 +12,16 @@ export declare function createContext<TKey extends string, EA, A extends DBRecor
12
12
  };
13
13
  declare const RedisSerializedDBRecord_base: S.Class<never, {
14
14
  readonly data: string;
15
- readonly version: string;
16
15
  readonly timestamp: string;
16
+ readonly version: string;
17
17
  }, {
18
18
  readonly data: string;
19
- readonly version: string;
20
19
  readonly timestamp: Date;
20
+ readonly version: string;
21
21
  }, {
22
22
  readonly data: string;
23
- readonly version: string;
24
23
  readonly timestamp: Date;
24
+ readonly version: string;
25
25
  }, RedisSerializedDBRecord, {
26
26
  version: S.Schema<never, string, string>;
27
27
  timestamp: S.Schema<never, string, Date>;
@@ -39,16 +39,16 @@ export interface DBRecord<TKey extends string> {
39
39
  }
40
40
  declare const SerializedDBRecord_base: S.Class<never, {
41
41
  readonly data: string;
42
- readonly version: string;
43
42
  readonly timestamp: string;
43
+ readonly version: string;
44
44
  }, {
45
45
  readonly data: string;
46
- readonly version: string;
47
46
  readonly timestamp: Date;
47
+ readonly version: string;
48
48
  }, {
49
49
  readonly data: string;
50
- readonly version: string;
51
50
  readonly timestamp: Date;
51
+ readonly version: string;
52
52
  }, SerializedDBRecord, {
53
53
  version: S.Schema<never, string, string>;
54
54
  timestamp: S.Schema<never, string, Date>;
@@ -58,12 +58,12 @@ export declare class SerializedDBRecord extends SerializedDBRecord_base {
58
58
  }
59
59
  export declare function makeSerialisedDBRecord(s: Schema<never, any>): S.Schema<never, {
60
60
  readonly data: any;
61
- readonly version: number;
62
61
  readonly timestamp: string;
62
+ readonly version: number;
63
63
  }, {
64
64
  readonly data: any;
65
- readonly version: number;
66
65
  readonly timestamp: Date;
66
+ readonly version: number;
67
67
  }>;
68
68
  export interface CachedRecord<T> {
69
69
  version: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@effect-app/infra",
3
- "version": "0.152.0",
3
+ "version": "0.153.1",
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.43.2",
9
+ "@effect/platform": "^0.43.3",
10
10
  "@effect/schema": "npm:@effect-app/schema-fork@0.0.0-20240126154023",
11
11
  "express-oauth2-jwt-bearer": "^1.6.0",
12
12
  "@faker-js/faker": "^8.4.0",
@@ -21,10 +21,10 @@
21
21
  "proper-lockfile": "^4.1.2",
22
22
  "pure-rand": "6.0.4",
23
23
  "redlock": "^4.2.0",
24
- "@effect-app/infra-adapters": "0.103.0",
25
- "@effect-app/core": "0.114.0",
26
- "@effect-app/prelude": "0.126.0",
27
- "@effect-app/schema": "0.165.0"
24
+ "@effect-app/infra-adapters": "0.104.1",
25
+ "@effect-app/core": "0.115.0",
26
+ "@effect-app/schema": "0.166.0",
27
+ "@effect-app/prelude": "0.127.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/cli": "^7.23.9",
@@ -41,8 +41,8 @@
41
41
  "redis": "^3.1.2",
42
42
  "ts-node": "^10.9.2",
43
43
  "typescript": "npm:@effect-app/typescript@5.4.0-tsplus.20240124",
44
- "vitest": "^1.2.1",
45
- "@effect-app/compiler": "0.54.0"
44
+ "vitest": "^1.2.2",
45
+ "@effect-app/compiler": "0.55.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "express": "^4.18.2"