@effect-app/infra 0.133.0-next.22 → 0.133.0-next.24
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 +18 -0
- package/dist/RequestContext.d.ts +46 -2
- package/dist/RequestContext.d.ts.map +1 -1
- package/dist/services/simpledb/redisdb.d.ts +5 -1
- package/dist/services/simpledb/redisdb.d.ts.map +1 -1
- package/dist/services/simpledb/shared.d.ts +5 -1
- package/dist/services/simpledb/shared.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.133.0-next.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5f62f5a]
|
|
8
|
+
- @effect-app/prelude@0.107.0-next.22
|
|
9
|
+
- @effect-app/schema@0.150.0-next.18
|
|
10
|
+
- @effect-app/infra-adapters@0.85.0-next.22
|
|
11
|
+
|
|
12
|
+
## 0.133.0-next.23
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [53d4b3e]
|
|
17
|
+
- @effect-app/schema@0.150.0-next.17
|
|
18
|
+
- @effect-app/infra-adapters@0.85.0-next.21
|
|
19
|
+
- @effect-app/prelude@0.107.0-next.21
|
|
20
|
+
|
|
3
21
|
## 0.133.0-next.22
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/RequestContext.d.ts
CHANGED
|
@@ -26,7 +26,23 @@ declare const RequestContextParent_base: S.Class<{
|
|
|
26
26
|
} | undefined;
|
|
27
27
|
readonly id?: string & S.StringIdBrand;
|
|
28
28
|
readonly createdAt?: Date;
|
|
29
|
-
}, RequestContextParent,
|
|
29
|
+
}, RequestContextParent, {
|
|
30
|
+
name: S.WithDefaults<S.Schema<string, string & S.NonEmptyString255Brand>> & S.Schema<string, string & S.NonEmptyString255Brand>;
|
|
31
|
+
userProfile: S.PropertySignature<{
|
|
32
|
+
readonly sub: string;
|
|
33
|
+
} | undefined, true, {
|
|
34
|
+
readonly sub: string & import("@effect-app/prelude/ids").UserProfileIdBrand;
|
|
35
|
+
} | undefined, true>;
|
|
36
|
+
locale: S.Schema<"en" | "de", "en" | "de">;
|
|
37
|
+
createdAt: S.Schema<string, Date> & S.ConstructorPropertyDescriptor<string, Date>;
|
|
38
|
+
id: S.WithDefaults<S.Schema<string, string & S.StringIdBrand> & {
|
|
39
|
+
make: () => S.StringId;
|
|
40
|
+
withDefault: () => S.Schema<string, string & S.StringIdBrand> & S.ConstructorPropertyDescriptor<string, string & S.StringIdBrand>;
|
|
41
|
+
}> & S.Schema<string, string & S.StringIdBrand> & {
|
|
42
|
+
make: () => S.StringId;
|
|
43
|
+
withDefault: () => S.Schema<string, string & S.StringIdBrand> & S.ConstructorPropertyDescriptor<string, string & S.StringIdBrand>;
|
|
44
|
+
};
|
|
45
|
+
}, import("effect/Data").Case>;
|
|
30
46
|
export declare class RequestContextParent extends RequestContextParent_base {
|
|
31
47
|
}
|
|
32
48
|
declare const RequestContext_base: S.Class<{
|
|
@@ -73,7 +89,35 @@ declare const RequestContext_base: S.Class<{
|
|
|
73
89
|
readonly id?: string & S.StringIdBrand;
|
|
74
90
|
readonly rootId?: string & S.StringIdBrand;
|
|
75
91
|
readonly createdAt?: Date;
|
|
76
|
-
}, RequestContext,
|
|
92
|
+
}, RequestContext, {
|
|
93
|
+
name: S.WithDefaults<S.Schema<string, string & S.NonEmptyString255Brand>> & S.Schema<string, string & S.NonEmptyString255Brand>;
|
|
94
|
+
userProfile: S.PropertySignature<{
|
|
95
|
+
readonly sub: string;
|
|
96
|
+
} | undefined, true, {
|
|
97
|
+
readonly sub: string & import("@effect-app/prelude/ids").UserProfileIdBrand;
|
|
98
|
+
} | undefined, true>;
|
|
99
|
+
locale: S.Schema<"en" | "de", "en" | "de">;
|
|
100
|
+
createdAt: S.Schema<string, Date> & S.ConstructorPropertyDescriptor<string, Date>;
|
|
101
|
+
id: S.Schema<string, string & S.StringIdBrand> & S.ConstructorPropertyDescriptor<string, string & S.StringIdBrand>;
|
|
102
|
+
rootId: S.WithDefaults<S.Schema<string, string & S.StringIdBrand> & {
|
|
103
|
+
make: () => S.StringId;
|
|
104
|
+
withDefault: () => S.Schema<string, string & S.StringIdBrand> & S.ConstructorPropertyDescriptor<string, string & S.StringIdBrand>;
|
|
105
|
+
}> & S.Schema<string, string & S.StringIdBrand> & {
|
|
106
|
+
make: () => S.StringId;
|
|
107
|
+
withDefault: () => S.Schema<string, string & S.StringIdBrand> & S.ConstructorPropertyDescriptor<string, string & S.StringIdBrand>;
|
|
108
|
+
};
|
|
109
|
+
parent: S.PropertySignature<{
|
|
110
|
+
readonly _tag: "RequestContext";
|
|
111
|
+
readonly id: string;
|
|
112
|
+
readonly name: string;
|
|
113
|
+
readonly locale: "en" | "de";
|
|
114
|
+
readonly createdAt: string;
|
|
115
|
+
readonly userProfile?: {
|
|
116
|
+
readonly sub: string;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined, true, RequestContextParent | undefined, true>;
|
|
119
|
+
namespace: S.PropertySignature<string | undefined, true, (string & S.NonEmptyString255Brand) | undefined, true>;
|
|
120
|
+
}, import("effect/Data").Case>;
|
|
77
121
|
/**
|
|
78
122
|
* @tsplus type RequestContext
|
|
79
123
|
* @tsplus companion RequestContext.Ops
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestContext.d.ts","sourceRoot":"","sources":["../_src/RequestContext.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA
|
|
1
|
+
{"version":3,"file":"RequestContext.d.ts","sourceRoot":"","sources":["../_src/RequestContext.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUvC,qBACa,oBAAqB,SAAQ,yBAKxC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL;;;GAGG;AACH,qBACa,cAAe,SAAQ,mBAclC;IACA,MAAM,CAAC,OAAO,CACZ,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,qBAAqB,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAUhE,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc;;;;;;CASrD;AAKD,yBAAiB,oBAAoB,CAAC;;;;;;;;;;;IACpC;;;OAGG;IACH,MAAM,OAAO,IAAK,SAAQ,SAAwC;KAAG;;CACtE;AACD,yBAAiB,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;IAC9B;;;OAGG;IACH,MAAM,OAAO,IAAK,SAAQ,WAAkC;KAAG;;CAChE"}
|
|
@@ -22,7 +22,11 @@ declare const RedisSerializedDBRecord_base: S.Class<{
|
|
|
22
22
|
readonly data: string;
|
|
23
23
|
readonly version: string;
|
|
24
24
|
readonly timestamp: Date;
|
|
25
|
-
}, RedisSerializedDBRecord,
|
|
25
|
+
}, RedisSerializedDBRecord, {
|
|
26
|
+
version: S.Schema<string, string>;
|
|
27
|
+
timestamp: S.Schema<string, Date>;
|
|
28
|
+
data: S.Schema<string, string>;
|
|
29
|
+
}, import("effect/Data").Case>;
|
|
26
30
|
export declare class RedisSerializedDBRecord extends RedisSerializedDBRecord_base {
|
|
27
31
|
}
|
|
28
32
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisdb.d.ts","sourceRoot":"","sources":["../../../_src/services/simpledb/redisdb.ts"],"names":[],"mappings":";;AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AACrE,OAAO,KAAK,CAAC,MAAM,oBAAoB,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S.Class<{
|
|
|
49
49
|
readonly data: string;
|
|
50
50
|
readonly version: string;
|
|
51
51
|
readonly timestamp: Date;
|
|
52
|
-
}, SerializedDBRecord,
|
|
52
|
+
}, SerializedDBRecord, {
|
|
53
|
+
version: S.Schema<string, string>;
|
|
54
|
+
timestamp: S.Schema<string, Date>;
|
|
55
|
+
data: S.Schema<string, string>;
|
|
56
|
+
}, import("effect/Data").Case>;
|
|
53
57
|
export declare class SerializedDBRecord extends SerializedDBRecord_base {
|
|
54
58
|
}
|
|
55
59
|
export declare function makeSerialisedDBRecord(s: Schema<any, any>): S.Schema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../_src/services/simpledb/shared.ts"],"names":[],"mappings":";;;;AAAA,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAA;;;;AAEvC,qBAAa,6BACX,SAAQ,mCAAkD;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;gBAE1G,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAGnD;;;;AAED,qBAAa,uBACX,SAAQ,6BAA4C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;gBAEtF,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;CAGrC;;;;AAED,qBAAa,mBAAoB,SAAQ,yBAAwC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;IACjH,QAAQ,CAAC,SAAS,yBAAwB;gBAC9B,KAAK,EAAE,KAAK;CAGzB;AAED,MAAM,WAAW,QAAQ,CAAC,IAAI,SAAS,MAAM;IAC3C,EAAE,EAAE,IAA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AI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,UAEpD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,UAErD;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,CAAC,wBAU9B;AAED,MAAM,WAAW,SAAS,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;IAChD,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,CAAA;CACnD"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.133.0-next.
|
|
3
|
+
"version": "0.133.0-next.24",
|
|
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/schema": "npm:@effect-app/schema-fork@0.0.0-
|
|
9
|
+
"@effect/schema": "npm:@effect-app/schema-fork@0.0.0-20231227181939",
|
|
10
10
|
"effect": "^2.0.0-next.62",
|
|
11
11
|
"@faker-js/faker": "^8.3.1",
|
|
12
12
|
"@sendgrid/helpers": "^8.0.0",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"pure-rand": "6.0.4",
|
|
21
21
|
"redlock": "^4.2.0",
|
|
22
22
|
"@effect-app/core": "0.97.0-next.4",
|
|
23
|
-
"@effect-app/
|
|
24
|
-
"@effect-app/
|
|
25
|
-
"@effect-app/
|
|
23
|
+
"@effect-app/prelude": "0.107.0-next.22",
|
|
24
|
+
"@effect-app/infra-adapters": "0.85.0-next.22",
|
|
25
|
+
"@effect-app/schema": "0.150.0-next.18"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/cli": "^7.23.4",
|