@effect-app/infra 0.54.9 → 0.54.11
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,23 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.54.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @effect-app/schema@0.39.11
|
|
9
|
+
- @effect-app/infra-adapters@0.40.11
|
|
10
|
+
- @effect-app/prelude@0.44.11
|
|
11
|
+
|
|
12
|
+
## 0.54.10
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @effect-app/schema@0.39.10
|
|
18
|
+
- @effect-app/infra-adapters@0.40.10
|
|
19
|
+
- @effect-app/prelude@0.44.10
|
|
20
|
+
|
|
3
21
|
## 0.54.9
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/RequestContext.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const RequestId: import("@effect-app/prelude/schema").StringIdSch
|
|
|
4
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]>>;
|
|
5
5
|
};
|
|
6
6
|
export type RequestId = ParsedShapeOfCustom<typeof RequestId>;
|
|
7
|
-
declare const RequestContextParent_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<import("@effect-app/schema").ToProps<{
|
|
7
|
+
declare const RequestContextParent_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<import("@effect-app/schema").ToProps<import("@effect-app/schema").ToProps<{
|
|
8
8
|
_tag: import("@effect-app/schema").DefaultSchema<unknown, "RequestContext", "RequestContext", "RequestContext", import("@effect-app/schema").LiteralApi<["RequestContext"]>>;
|
|
9
9
|
id: import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
|
|
10
10
|
make: () => import("@effect-app/prelude/schema").StringId;
|
|
@@ -18,21 +18,21 @@ declare const RequestContextParent_base: import("@effect-app/schema").MNModel<im
|
|
|
18
18
|
}, {
|
|
19
19
|
readonly id: string;
|
|
20
20
|
}, {
|
|
21
|
-
props: {
|
|
21
|
+
props: import("@effect-app/schema").ToProps<{
|
|
22
22
|
id: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
|
|
23
23
|
make: () => import("@effect-app/prelude/schema").StringId;
|
|
24
24
|
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]>>;
|
|
25
25
|
}, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
26
|
-
}
|
|
26
|
+
}>;
|
|
27
27
|
}>, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
28
28
|
locale: import("@effect-app/schema").DefaultSchema<unknown, "en" | "de", "en" | "de", "en" | "de", import("@effect-app/schema").LiteralApi<["en", "de"]>>;
|
|
29
29
|
createdAt: import("@effect-app/schema").FromProperty<import("@effect-app/schema").Schema<unknown, Date, Date, string, {}>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => Date]>>;
|
|
30
|
-
}
|
|
30
|
+
}>>>, RequestContextParent, RequestContextParent.ConstructorInput, RequestContextParent.Encoded, RequestContextParent.Props> & import("@effect-app/schema").PropsExtensions<RequestContextParent.Props>;
|
|
31
31
|
export declare class RequestContextParent extends RequestContextParent_base {
|
|
32
32
|
}
|
|
33
33
|
/** @ignore @internal @deprecated */
|
|
34
34
|
export type RequestContextParentConstructor = typeof RequestContextParent;
|
|
35
|
-
declare const RequestContext_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<import("@effect-app/schema").ToProps<{
|
|
35
|
+
declare const RequestContext_base: import("@effect-app/schema").MNModel<import("@effect-app/schema").SchemaProperties<import("@effect-app/schema").ToProps<import("@effect-app/schema").ToProps<{
|
|
36
36
|
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]>>;
|
|
37
37
|
rootId: import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
|
|
38
38
|
make: () => import("@effect-app/prelude/schema").StringId;
|
|
@@ -51,16 +51,16 @@ declare const RequestContext_base: import("@effect-app/schema").MNModel<import("
|
|
|
51
51
|
}, {
|
|
52
52
|
readonly id: string;
|
|
53
53
|
}, {
|
|
54
|
-
props: {
|
|
54
|
+
props: import("@effect-app/schema").ToProps<{
|
|
55
55
|
id: import("@effect-app/schema").Property<import("@effect-app/prelude/schema").StringIdSchema & import("@effect-app/schema").Utils<import("@effect-app/prelude/schema").StringIdSchema> & {
|
|
56
56
|
make: () => import("@effect-app/prelude/schema").StringId;
|
|
57
57
|
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]>>;
|
|
58
58
|
}, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
59
|
-
}
|
|
59
|
+
}>;
|
|
60
60
|
}>, "optional", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
61
61
|
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>>;
|
|
62
62
|
createdAt: import("@effect-app/schema").FromProperty<import("@effect-app/schema").Schema<unknown, Date, Date, string, {}>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").Some<["constructor", () => Date]>>;
|
|
63
|
-
}
|
|
63
|
+
}>>>, RequestContext, RequestContext.ConstructorInput, RequestContext.Encoded, RequestContext.Props> & import("@effect-app/schema").PropsExtensions<RequestContext.Props>;
|
|
64
64
|
/**
|
|
65
65
|
* @tsplus type RequestContext
|
|
66
66
|
* @tsplus companion RequestContext.Ops
|
|
@@ -38,11 +38,11 @@ declare const SerializedDBRecord_base: MO.Model<SerializedDBRecord, MO.SchemaPro
|
|
|
38
38
|
}>>;
|
|
39
39
|
export declare class SerializedDBRecord extends SerializedDBRecord_base {
|
|
40
40
|
}
|
|
41
|
-
export declare function makeSerialisedDBRecord(s: SchemaAny): MO.SchemaProperties<{
|
|
41
|
+
export declare function makeSerialisedDBRecord(s: SchemaAny): MO.SchemaProperties<MO.ToProps<{
|
|
42
42
|
version: MO.Property<MO.SchemaDefaultSchema<unknown, number, number, number, {}>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
43
43
|
timestamp: MO.Property<MO.SchemaDefaultSchema<unknown, Date, Date, string, {}>, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
44
44
|
data: MO.Property<MO.SchemaAny, "required", import("@effect/data/Option").None<any>, import("@effect/data/Option").None<any>>;
|
|
45
|
-
}
|
|
45
|
+
}>>;
|
|
46
46
|
export interface CachedRecord<T> {
|
|
47
47
|
version: string;
|
|
48
48
|
data: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../_src/services/simpledb/shared.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,cAAM,SAAS;IACM,OAAO,EAAE,MAAM;gBAAf,OAAO,EAAE,MAAM;CACnC;AACD,qBAAa,6BAA8B,SAAQ,SAAS;IAE9C,QAAQ,CAAC,IAAI,EAAE,MAAM;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM;IAAE,QAAQ,CAAC,KAAK,EAAE,KAAK;IAD7E,QAAQ,CAAC,SAAS,mCAAkC;gBAC/B,IAAI,EAAE,MAAM,EAAW,EAAE,EAAE,MAAM,EAAW,KAAK,EAAE,KAAK;CAG9E;AAED,qBAAa,uBAAwB,SAAQ,KAAK;IAEpC,QAAQ,CAAC,IAAI,EAAE,MAAM;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM;IADtD,QAAQ,CAAC,SAAS,6BAA4B;gBACzB,IAAI,EAAE,MAAM,EAAW,EAAE,EAAE,MAAM;CAGvD;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAEhC,QAAQ,CAAC,KAAK,EAAE,KAAK;IADjC,QAAQ,CAAC,SAAS,yBAAwB;gBACrB,KAAK,EAAE,KAAK;CAGlC;AAED,MAAM,WAAW,QAAQ,CAAC,IAAI,SAAS,MAAM;IAC3C,EAAE,EAAE,IAAI,CAAA;CACT;;;;;;;;;;AAED,qBAAa,kBAAmB,SAAQ,uBAItC;CAAG;AAGL,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,SAAS;;;;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot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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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -19,10 +19,10 @@
|
|
|
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.44.
|
|
22
|
+
"@effect-app/prelude": "0.44.11",
|
|
23
23
|
"@effect-app/core": "0.47.1",
|
|
24
|
-
"@effect-app/
|
|
25
|
-
"@effect-app/
|
|
24
|
+
"@effect-app/schema": "0.39.11",
|
|
25
|
+
"@effect-app/infra-adapters": "0.40.11"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/cli": "^7.21.0",
|