@effect-app/infra 0.153.1 → 0.153.3
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,22 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.153.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5786fb6]
|
|
8
|
+
- @effect-app/prelude@0.128.0
|
|
9
|
+
- @effect-app/infra-adapters@0.104.3
|
|
10
|
+
|
|
11
|
+
## 0.153.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [690624e]
|
|
16
|
+
- @effect-app/schema@0.167.0
|
|
17
|
+
- @effect-app/infra-adapters@0.104.2
|
|
18
|
+
- @effect-app/prelude@0.127.2
|
|
19
|
+
|
|
3
20
|
## 0.153.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/RequestContext.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ declare const RequestContextParent_base: S.Class<never, {
|
|
|
44
44
|
literals: ["en", "de"];
|
|
45
45
|
};
|
|
46
46
|
createdAt: S.Schema<never, string, Date> & S.ConstructorPropertyDescriptor<never, string, Date>;
|
|
47
|
-
},
|
|
47
|
+
}, {}>;
|
|
48
48
|
export declare class RequestContextParent extends RequestContextParent_base {
|
|
49
49
|
}
|
|
50
50
|
declare const RequestContext_base: S.Class<never, {
|
|
@@ -121,7 +121,7 @@ declare const RequestContext_base: S.Class<never, {
|
|
|
121
121
|
literals: ["en", "de"];
|
|
122
122
|
};
|
|
123
123
|
createdAt: S.Schema<never, string, Date> & S.ConstructorPropertyDescriptor<never, string, Date>;
|
|
124
|
-
},
|
|
124
|
+
}, {}>;
|
|
125
125
|
/**
|
|
126
126
|
* @tsplus type RequestContext
|
|
127
127
|
* @tsplus companion RequestContext.Ops
|
|
@@ -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 traceId: string;
|
|
42
41
|
readonly spanId: string;
|
|
42
|
+
readonly traceId: string;
|
|
43
43
|
readonly sampled?: boolean | undefined;
|
|
44
44
|
} | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
readonly requestContext: RequestContext;
|
|
47
47
|
readonly span?: {
|
|
48
|
-
readonly traceId: string;
|
|
49
48
|
readonly spanId: string;
|
|
49
|
+
readonly traceId: 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?: "
|
|
103
|
+
}) => Where | readonly [Where, ...Where[]], mode?: "or" | "and" | 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,21 +12,21 @@ 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 timestamp: string;
|
|
16
15
|
readonly version: string;
|
|
16
|
+
readonly timestamp: string;
|
|
17
17
|
}, {
|
|
18
18
|
readonly data: string;
|
|
19
|
-
readonly timestamp: Date;
|
|
20
19
|
readonly version: string;
|
|
20
|
+
readonly timestamp: Date;
|
|
21
21
|
}, {
|
|
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<never, string, string>;
|
|
27
27
|
timestamp: S.Schema<never, string, Date>;
|
|
28
28
|
data: S.Schema<never, string, string>;
|
|
29
|
-
},
|
|
29
|
+
}, {}>;
|
|
30
30
|
export declare class RedisSerializedDBRecord extends RedisSerializedDBRecord_base {
|
|
31
31
|
}
|
|
32
32
|
export {};
|
|
@@ -39,31 +39,31 @@ export interface DBRecord<TKey extends string> {
|
|
|
39
39
|
}
|
|
40
40
|
declare const SerializedDBRecord_base: S.Class<never, {
|
|
41
41
|
readonly data: string;
|
|
42
|
-
readonly timestamp: string;
|
|
43
42
|
readonly version: string;
|
|
43
|
+
readonly timestamp: string;
|
|
44
44
|
}, {
|
|
45
45
|
readonly data: string;
|
|
46
|
-
readonly timestamp: Date;
|
|
47
46
|
readonly version: string;
|
|
47
|
+
readonly timestamp: Date;
|
|
48
48
|
}, {
|
|
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<never, string, string>;
|
|
54
54
|
timestamp: S.Schema<never, string, Date>;
|
|
55
55
|
data: S.Schema<never, string, string>;
|
|
56
|
-
},
|
|
56
|
+
}, {}>;
|
|
57
57
|
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 timestamp: string;
|
|
62
61
|
readonly version: number;
|
|
62
|
+
readonly timestamp: string;
|
|
63
63
|
}, {
|
|
64
64
|
readonly data: any;
|
|
65
|
-
readonly timestamp: Date;
|
|
66
65
|
readonly version: number;
|
|
66
|
+
readonly timestamp: Date;
|
|
67
67
|
}>;
|
|
68
68
|
export interface CachedRecord<T> {
|
|
69
69
|
version: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.153.
|
|
3
|
+
"version": "0.153.3",
|
|
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
9
|
"@effect/platform": "^0.43.3",
|
|
10
|
-
"@effect/schema": "npm:@effect-app/schema-fork@0.0.0-
|
|
10
|
+
"@effect/schema": "npm:@effect-app/schema-fork@0.0.0-20240127162054",
|
|
11
11
|
"express-oauth2-jwt-bearer": "^1.6.0",
|
|
12
12
|
"@faker-js/faker": "^8.4.0",
|
|
13
13
|
"@sendgrid/helpers": "^8.0.0",
|
|
@@ -21,16 +21,16 @@
|
|
|
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.104.1",
|
|
25
24
|
"@effect-app/core": "0.115.0",
|
|
26
|
-
"@effect-app/
|
|
27
|
-
"@effect-app/prelude": "0.
|
|
25
|
+
"@effect-app/infra-adapters": "0.104.3",
|
|
26
|
+
"@effect-app/prelude": "0.128.0",
|
|
27
|
+
"@effect-app/schema": "0.167.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/cli": "^7.23.9",
|
|
31
31
|
"@sentry/node": "^7.98.0",
|
|
32
32
|
"@types/express": "^4.17.21",
|
|
33
|
-
"@types/node": "~20.11.
|
|
33
|
+
"@types/node": "~20.11.8",
|
|
34
34
|
"@types/proper-lockfile": "^4.1.4",
|
|
35
35
|
"@types/redis": "^2.8.32",
|
|
36
36
|
"@types/redlock": "^4.0.7",
|