@effect-app/infra 4.0.0-beta.146 → 4.0.0-beta.148
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,19 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.148
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [199e9a5]
|
|
8
|
+
- effect-app@4.0.0-beta.148
|
|
9
|
+
|
|
10
|
+
## 4.0.0-beta.147
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [47e3742]
|
|
15
|
+
- effect-app@4.0.0-beta.147
|
|
16
|
+
|
|
3
17
|
## 4.0.0-beta.146
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S } from "effect-app";
|
|
2
2
|
import { NonNegativeInt } from "effect-app/Schema";
|
|
3
|
-
declare const ValidationError_base: import("effect/Schema").Opaque<ValidationError,
|
|
3
|
+
declare const ValidationError_base: import("effect/Schema").Opaque<ValidationError, S.Struct<{
|
|
4
4
|
/** the id of the item that failed validation */
|
|
5
5
|
readonly id: S.Unknown;
|
|
6
6
|
/** the raw data from the database before jitM */
|
|
@@ -9,7 +9,7 @@ declare const ValidationError_base: import("effect/Schema").Opaque<ValidationErr
|
|
|
9
9
|
readonly jitMResult: S.Unknown;
|
|
10
10
|
/** the S.SchemaError from schema decode */
|
|
11
11
|
readonly error: S.Unknown;
|
|
12
|
-
}>, {}> & Omit<
|
|
12
|
+
}>, {}> & Omit<S.Struct<{
|
|
13
13
|
/** the id of the item that failed validation */
|
|
14
14
|
readonly id: S.Unknown;
|
|
15
15
|
/** the raw data from the database before jitM */
|
|
@@ -25,7 +25,7 @@ declare const ValidationError_base: import("effect/Schema").Opaque<ValidationErr
|
|
|
25
25
|
*/
|
|
26
26
|
export declare class ValidationError extends ValidationError_base {
|
|
27
27
|
}
|
|
28
|
-
declare const ValidationResult_base: import("effect/Schema").Opaque<ValidationResult,
|
|
28
|
+
declare const ValidationResult_base: import("effect/Schema").Opaque<ValidationResult, S.Struct<{
|
|
29
29
|
/** total number of items in the repository */
|
|
30
30
|
readonly total: S.WithDefaults<Omit<S.brand<import("effect/Schema").Int, "Int" | "NonNegativeInt" | "NonNegativeNumber">, "Iso" | "Type" | "~type.make"> & {
|
|
31
31
|
readonly Type: NonNegativeInt;
|
|
@@ -91,7 +91,7 @@ declare const ValidationResult_base: import("effect/Schema").Opaque<ValidationRe
|
|
|
91
91
|
withDefault: S.withConstructorDefault<S.$Array<typeof ValidationError>>;
|
|
92
92
|
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<typeof ValidationError>>;
|
|
93
93
|
};
|
|
94
|
-
}>, {}> & Omit<
|
|
94
|
+
}>, {}> & Omit<S.Struct<{
|
|
95
95
|
/** total number of items in the repository */
|
|
96
96
|
readonly total: S.WithDefaults<Omit<S.brand<import("effect/Schema").Int, "Int" | "NonNegativeInt" | "NonNegativeNumber">, "Iso" | "Type" | "~type.make"> & {
|
|
97
97
|
readonly Type: NonNegativeInt;
|
package/dist/RequestContext.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export type Locale = typeof Locale.Type;
|
|
|
14
14
|
declare const LocaleRef_base: Context.Reference<"de" | "en">;
|
|
15
15
|
export declare class LocaleRef extends LocaleRef_base {
|
|
16
16
|
}
|
|
17
|
-
declare const RequestContext_base: import("effect/Schema").Opaque<RequestContext, Omit<
|
|
18
|
-
readonly span:
|
|
17
|
+
declare const RequestContext_base: import("effect/Schema").Opaque<RequestContext, Omit<S.Struct<{
|
|
18
|
+
readonly span: S.Struct<{
|
|
19
19
|
readonly traceId: S.String;
|
|
20
20
|
readonly spanId: S.String;
|
|
21
21
|
readonly sampled: import("effect/Schema").Boolean & {
|
|
@@ -61,7 +61,7 @@ declare const RequestContext_base: import("effect/Schema").Opaque<RequestContext
|
|
|
61
61
|
readonly "~type.make": NonEmptyString255;
|
|
62
62
|
};
|
|
63
63
|
/** @deprecated */
|
|
64
|
-
readonly userProfile: S.optional<
|
|
64
|
+
readonly userProfile: S.optional<S.Struct<{
|
|
65
65
|
readonly sub: S.WithDefaults<S.Codec<string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand, string, never, never> & {
|
|
66
66
|
make: () => string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand;
|
|
67
67
|
withDefault: S.withConstructorDefault<S.Codec<string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand, string, never, never> & S.WithoutConstructorDefault>;
|
|
@@ -72,8 +72,8 @@ declare const RequestContext_base: import("effect/Schema").Opaque<RequestContext
|
|
|
72
72
|
}>>;
|
|
73
73
|
}>, "Encoded"> & {
|
|
74
74
|
readonly Encoded: RequestContext.Encoded;
|
|
75
|
-
}, {}> & Omit<
|
|
76
|
-
readonly span:
|
|
75
|
+
}, {}> & Omit<S.Struct<{
|
|
76
|
+
readonly span: S.Struct<{
|
|
77
77
|
readonly traceId: S.String;
|
|
78
78
|
readonly spanId: S.String;
|
|
79
79
|
readonly sampled: import("effect/Schema").Boolean & {
|
|
@@ -119,7 +119,7 @@ declare const RequestContext_base: import("effect/Schema").Opaque<RequestContext
|
|
|
119
119
|
readonly "~type.make": NonEmptyString255;
|
|
120
120
|
};
|
|
121
121
|
/** @deprecated */
|
|
122
|
-
readonly userProfile: S.optional<
|
|
122
|
+
readonly userProfile: S.optional<S.Struct<{
|
|
123
123
|
readonly sub: S.WithDefaults<S.Codec<string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand, string, never, never> & {
|
|
124
124
|
make: () => string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand;
|
|
125
125
|
withDefault: S.withConstructorDefault<S.Codec<string & S.StringIdBrand & import("effect-app/ids").UserProfileIdBrand, string, never, never> & S.WithoutConstructorDefault>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.148",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"proper-lockfile": "^4.1.2",
|
|
14
14
|
"pure-rand": "7.0.1",
|
|
15
15
|
"query-string": "^9.3.1",
|
|
16
|
-
"effect-app": "4.0.0-beta.
|
|
16
|
+
"effect-app": "4.0.0-beta.148"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@azure/cosmos": "^4.9.3",
|