@effect-app/infra 4.0.0-beta.231 → 4.0.0-beta.233
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
|
+
## 4.0.0-beta.233
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 57a1862: Update to effect 4.0.0-beta.67. Switch deps from `pkg.pr.new` snapshot back to npm beta tag.
|
|
8
|
+
- Updated dependencies [57a1862]
|
|
9
|
+
- effect-app@4.0.0-beta.233
|
|
10
|
+
|
|
11
|
+
## 4.0.0-beta.232
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 0263827: Update to effect `pkg.pr.new` snapshot at `a42ef66` (4.0.0-beta.66). Remove `Yieldable` and `asEffect()` (service tags are now `Effect` directly).
|
|
16
|
+
- Updated dependencies [0263827]
|
|
17
|
+
- Updated dependencies [0263827]
|
|
18
|
+
- Updated dependencies [0263827]
|
|
19
|
+
- effect-app@4.0.0-beta.232
|
|
20
|
+
|
|
3
21
|
## 4.0.0-beta.231
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -41,7 +41,7 @@ declare const ValidationResult_base: S.Opaque<ValidationResult, typeof S.Extende
|
|
|
41
41
|
/** list of validation errors with full context */
|
|
42
42
|
readonly errors: S.$Array<typeof ValidationError> & {
|
|
43
43
|
withConstructorDefault: S.withConstructorDefault<S.$Array<typeof ValidationError>>;
|
|
44
|
-
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<typeof ValidationError
|
|
44
|
+
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<typeof ValidationError>, never>;
|
|
45
45
|
};
|
|
46
46
|
}>, {}> & Omit<S.Struct<{
|
|
47
47
|
/** total number of items in the repository */
|
|
@@ -59,7 +59,7 @@ declare const ValidationResult_base: S.Opaque<ValidationResult, typeof S.Extende
|
|
|
59
59
|
/** list of validation errors with full context */
|
|
60
60
|
readonly errors: S.$Array<typeof ValidationError> & {
|
|
61
61
|
withConstructorDefault: S.withConstructorDefault<S.$Array<typeof ValidationError>>;
|
|
62
|
-
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<typeof ValidationError
|
|
62
|
+
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<typeof ValidationError>, never>;
|
|
63
63
|
};
|
|
64
64
|
}>, keyof S.Top>;
|
|
65
65
|
/**
|
package/dist/RequestContext.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export declare const Locale: import("effect/Schema").Literals<readonly ["en", "d
|
|
|
6
6
|
changeDefault: <A extends "de" | "en">(a: A) => import("effect/Schema").Literals<readonly ["en", "de"]> & {
|
|
7
7
|
Default: A;
|
|
8
8
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
9
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
9
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
10
10
|
};
|
|
11
11
|
Default: "en";
|
|
12
12
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
13
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
13
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
14
14
|
};
|
|
15
15
|
export type Locale = typeof Locale.Type;
|
|
16
16
|
declare const LocaleRef_base: Context.Reference<"de" | "en">;
|
|
@@ -22,7 +22,7 @@ declare const RequestContext_base: S.Opaque<RequestContext, RequestContext.Encod
|
|
|
22
22
|
readonly spanId: S.String;
|
|
23
23
|
readonly sampled: import("effect/Schema").Boolean & {
|
|
24
24
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Boolean>;
|
|
25
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Boolean>;
|
|
25
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Boolean, never>;
|
|
26
26
|
};
|
|
27
27
|
}>;
|
|
28
28
|
readonly name: S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>;
|
|
@@ -30,11 +30,11 @@ declare const RequestContext_base: S.Opaque<RequestContext, RequestContext.Encod
|
|
|
30
30
|
changeDefault: <A extends "de" | "en">(a: A) => import("effect/Schema").Literals<readonly ["en", "de"]> & {
|
|
31
31
|
Default: A;
|
|
32
32
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
33
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
33
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
34
34
|
};
|
|
35
35
|
Default: "en";
|
|
36
36
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
37
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
37
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
38
38
|
};
|
|
39
39
|
readonly sourceId: S.optional<S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>>;
|
|
40
40
|
readonly namespace: S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>;
|
|
@@ -54,7 +54,7 @@ declare const RequestContext_base: S.Opaque<RequestContext, RequestContext.Encod
|
|
|
54
54
|
readonly spanId: S.String;
|
|
55
55
|
readonly sampled: import("effect/Schema").Boolean & {
|
|
56
56
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Boolean>;
|
|
57
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Boolean>;
|
|
57
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Boolean, never>;
|
|
58
58
|
};
|
|
59
59
|
}>;
|
|
60
60
|
readonly name: S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>;
|
|
@@ -62,11 +62,11 @@ declare const RequestContext_base: S.Opaque<RequestContext, RequestContext.Encod
|
|
|
62
62
|
changeDefault: <A extends "de" | "en">(a: A) => import("effect/Schema").Literals<readonly ["en", "de"]> & {
|
|
63
63
|
Default: A;
|
|
64
64
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
65
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
65
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
66
66
|
};
|
|
67
67
|
Default: "en";
|
|
68
68
|
withConstructorDefault: S.withConstructorDefault<import("effect/Schema").Literals<readonly ["en", "de"]>>;
|
|
69
|
-
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]
|
|
69
|
+
withDecodingDefaultType: S.withDecodingDefaultType<import("effect/Schema").Literals<readonly ["en", "de"]>, never>;
|
|
70
70
|
};
|
|
71
71
|
readonly sourceId: S.optional<S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>>;
|
|
72
72
|
readonly namespace: S.WithDefaults<import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>> & import("effect-app/Schema/brand").BrandedSchema<import("effect/Schema").NonEmptyString, NonEmptyString255>;
|
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.233",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"proper-lockfile": "^4.1.2",
|
|
14
14
|
"pure-rand": "8.4.0",
|
|
15
15
|
"query-string": "^9.3.1",
|
|
16
|
-
"effect-app": "4.0.0-beta.
|
|
16
|
+
"effect-app": "4.0.0-beta.233"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@azure/cosmos": "^4.9.3",
|
|
20
20
|
"@azure/service-bus": "^7.9.5",
|
|
21
|
-
"@effect/sql-sqlite-node": "4.0.0-beta.
|
|
21
|
+
"@effect/sql-sqlite-node": "4.0.0-beta.67",
|
|
22
22
|
"@sentry/node": "10.51.0",
|
|
23
23
|
"@sentry/opentelemetry": "10.51.0",
|
|
24
24
|
"@types/better-sqlite3": "^7.6.13",
|
package/test/dist/fixtures.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const UserProfile_base: S.EnhancedClass<UserProfile, import("effect/Sche
|
|
|
9
9
|
id: S.String;
|
|
10
10
|
roles: S.$Array<S.String> & {
|
|
11
11
|
withConstructorDefault: S.withConstructorDefault<S.$Array<S.String>>;
|
|
12
|
-
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<S.String
|
|
12
|
+
withDecodingDefaultType: S.withDecodingDefaultType<S.$Array<S.String>, never>;
|
|
13
13
|
};
|
|
14
14
|
}>, {}> & Context.Opaque<UserProfile, UserProfile>;
|
|
15
15
|
export declare class UserProfile extends UserProfile_base {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-query.test.d.ts","sourceRoot":"","sources":["../date-query.test.ts"],"names":[],"mappings":""}
|