@effect-app/infra 0.193.0 → 0.193.2
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,25 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.193.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0fd4175]
|
|
8
|
+
- effect-app@0.171.2
|
|
9
|
+
- @effect-app/infra-adapters@0.131.2
|
|
10
|
+
|
|
11
|
+
## 0.193.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 73c3e1b: update packages
|
|
16
|
+
- Updated dependencies [73c3e1b]
|
|
17
|
+
- @effect-app/fluent-extensions@0.137.1
|
|
18
|
+
- @effect-app/infra-adapters@0.131.1
|
|
19
|
+
- effect-app@0.171.1
|
|
20
|
+
- @effect-app/core@0.144.1
|
|
21
|
+
- @effect-app/schema@0.195.1
|
|
22
|
+
|
|
3
23
|
## 0.193.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -277,7 +277,7 @@ export declare function makeRepo<PM extends {
|
|
|
277
277
|
value: A_1;
|
|
278
278
|
readonly S: PM;
|
|
279
279
|
};
|
|
280
|
-
}) => Where | readonly [Where, ...Where[]], mode?: "
|
|
280
|
+
}) => Where | readonly [Where, ...Where[]], mode?: "or" | "and" | undefined) => Filter<PM>;
|
|
281
281
|
Query: (fn: (f: Q.FilterTest<PM>, fields: Q.Filter<PM, never>) => Q.QueryBuilder<PM>) => Q.QueryBuilder<PM>;
|
|
282
282
|
};
|
|
283
283
|
/**
|
|
@@ -12,16 +12,16 @@ export declare function createContext<TKey extends string, EA, A extends DBRecor
|
|
|
12
12
|
};
|
|
13
13
|
declare const RedisSerializedDBRecord_base: S.EnhancedClass<{
|
|
14
14
|
readonly data: string;
|
|
15
|
-
readonly timestamp: Date;
|
|
16
15
|
readonly version: string;
|
|
16
|
+
readonly timestamp: Date;
|
|
17
17
|
}, {
|
|
18
18
|
readonly data: string;
|
|
19
|
-
readonly timestamp: string;
|
|
20
19
|
readonly version: string;
|
|
20
|
+
readonly timestamp: string;
|
|
21
21
|
}, never, {
|
|
22
22
|
readonly data: string;
|
|
23
|
-
readonly timestamp: Date;
|
|
24
23
|
readonly version: string;
|
|
24
|
+
readonly timestamp: Date;
|
|
25
25
|
}, RedisSerializedDBRecord, {
|
|
26
26
|
version: S.Schema<string, string, never>;
|
|
27
27
|
timestamp: S.Schema<Date, string, never> & {
|
|
@@ -39,16 +39,16 @@ export interface DBRecord<TKey extends string> {
|
|
|
39
39
|
}
|
|
40
40
|
declare const SerializedDBRecord_base: S.EnhancedClass<{
|
|
41
41
|
readonly data: string;
|
|
42
|
-
readonly timestamp: Date;
|
|
43
42
|
readonly version: string;
|
|
43
|
+
readonly timestamp: Date;
|
|
44
44
|
}, {
|
|
45
45
|
readonly data: string;
|
|
46
|
-
readonly timestamp: string;
|
|
47
46
|
readonly version: string;
|
|
47
|
+
readonly timestamp: string;
|
|
48
48
|
}, never, {
|
|
49
49
|
readonly data: string;
|
|
50
|
-
readonly timestamp: Date;
|
|
51
50
|
readonly version: string;
|
|
51
|
+
readonly timestamp: Date;
|
|
52
52
|
}, SerializedDBRecord, {
|
|
53
53
|
version: S.Schema<string, string, never>;
|
|
54
54
|
timestamp: S.Schema<Date, string, never> & {
|
|
@@ -60,12 +60,12 @@ export declare class SerializedDBRecord extends SerializedDBRecord_base {
|
|
|
60
60
|
}
|
|
61
61
|
export declare function makeSerialisedDBRecord(s: Schema<any>): S.Schema<{
|
|
62
62
|
readonly data: any;
|
|
63
|
-
readonly timestamp: Date;
|
|
64
63
|
readonly version: number;
|
|
64
|
+
readonly timestamp: Date;
|
|
65
65
|
}, {
|
|
66
66
|
readonly data: any;
|
|
67
|
-
readonly timestamp: string;
|
|
68
67
|
readonly version: number;
|
|
68
|
+
readonly timestamp: string;
|
|
69
69
|
}, never>;
|
|
70
70
|
export interface CachedRecord<T> {
|
|
71
71
|
version: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.193.
|
|
3
|
+
"version": "0.193.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"proper-lockfile": "^4.1.2",
|
|
19
19
|
"pure-rand": "6.0.4",
|
|
20
20
|
"redlock": "^4.2.0",
|
|
21
|
-
"@effect-app/core": "0.144.
|
|
22
|
-
"@effect-app/fluent-extensions": "0.137.
|
|
23
|
-
"@effect-app/
|
|
24
|
-
"effect-app": "0.
|
|
25
|
-
"
|
|
21
|
+
"@effect-app/core": "0.144.1",
|
|
22
|
+
"@effect-app/fluent-extensions": "0.137.1",
|
|
23
|
+
"@effect-app/schema": "0.195.1",
|
|
24
|
+
"@effect-app/infra-adapters": "0.131.2",
|
|
25
|
+
"effect-app": "0.171.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/cli": "^7.23.9",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"express": "^4.18.2",
|
|
47
|
-
"@effect/platform": "^0.45.
|
|
47
|
+
"@effect/platform": "^0.45.5",
|
|
48
48
|
"@effect/schema": "^0.62.8",
|
|
49
49
|
"effect": "^2.3.7"
|
|
50
50
|
},
|