@effect-app/infra 4.0.0-beta.231 → 4.0.0-beta.232

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,15 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 4.0.0-beta.232
4
+
5
+ ### Patch Changes
6
+
7
+ - 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).
8
+ - Updated dependencies [0263827]
9
+ - Updated dependencies [0263827]
10
+ - Updated dependencies [0263827]
11
+ - effect-app@4.0.0-beta.232
12
+
3
13
  ## 4.0.0-beta.231
4
14
 
5
15
  ### 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
  /**
@@ -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>;
@@ -27,13 +27,13 @@ declare const Class: <Self = never>(identifier: string) => <const Fields extends
27
27
  readonly select: "select" extends infer T_4 ? T_4 extends "select" ? T_4 extends keyof Mapping ? Mapping[T_4] extends (arg: any) => any ? ReturnType<Mapping[T_4]> : Self : Self : never : never;
28
28
  readonly update: "update" extends infer T_5 ? T_5 extends "update" ? T_5 extends keyof Mapping ? Mapping[T_5] extends (arg: any) => any ? ReturnType<Mapping[T_5]> : Self : Self : never : never;
29
29
  }>;
30
- <Self extends VariantSchema.Field<any> | Schema.Top, const Mapping_1 extends (Self extends VariantSchema.Field<infer S> ? { readonly [K in keyof S]?: (variant: S[K]) => Schema.Top; } : { readonly [K in "insert" | "json" | "jsonCreate" | "jsonUpdate" | "select" | "update"]?: (variant: Self) => Schema.Top; })>(self: Self, f: Mapping_1): VariantSchema.Field<Self extends VariantSchema.Field<infer S extends VariantSchema.Field.Config> ? { readonly [K in keyof S]: K extends keyof Mapping_1 ? Mapping_1[K] extends (arg: any) => any ? ReturnType<Mapping_1[K]> : S[K] : S[K]; } : {
31
- readonly insert: "insert" extends infer T ? T extends "insert" ? T extends keyof Mapping_1 ? Mapping_1[T] extends (arg: any) => any ? ReturnType<Mapping_1[T]> : Self : Self : never : never;
32
- readonly json: "json" extends infer T_1 ? T_1 extends "json" ? T_1 extends keyof Mapping_1 ? Mapping_1[T_1] extends (arg: any) => any ? ReturnType<Mapping_1[T_1]> : Self : Self : never : never;
33
- readonly jsonCreate: "jsonCreate" extends infer T_2 ? T_2 extends "jsonCreate" ? T_2 extends keyof Mapping_1 ? Mapping_1[T_2] extends (arg: any) => any ? ReturnType<Mapping_1[T_2]> : Self : Self : never : never;
34
- readonly jsonUpdate: "jsonUpdate" extends infer T_3 ? T_3 extends "jsonUpdate" ? T_3 extends keyof Mapping_1 ? Mapping_1[T_3] extends (arg: any) => any ? ReturnType<Mapping_1[T_3]> : Self : Self : never : never;
35
- readonly select: "select" extends infer T_4 ? T_4 extends "select" ? T_4 extends keyof Mapping_1 ? Mapping_1[T_4] extends (arg: any) => any ? ReturnType<Mapping_1[T_4]> : Self : Self : never : never;
36
- readonly update: "update" extends infer T_5 ? T_5 extends "update" ? T_5 extends keyof Mapping_1 ? Mapping_1[T_5] extends (arg: any) => any ? ReturnType<Mapping_1[T_5]> : Self : Self : never : never;
30
+ <Self extends VariantSchema.Field<any> | Schema.Top, const Mapping extends (Self extends VariantSchema.Field<infer S> ? { readonly [K in keyof S]?: (variant: S[K]) => Schema.Top; } : { readonly [K in "insert" | "json" | "jsonCreate" | "jsonUpdate" | "select" | "update"]?: (variant: Self) => Schema.Top; })>(self: Self, f: Mapping): VariantSchema.Field<Self extends VariantSchema.Field<infer S extends VariantSchema.Field.Config> ? { readonly [K in keyof S]: K extends keyof Mapping ? Mapping[K] extends (arg: any) => any ? ReturnType<Mapping[K]> : S[K] : S[K]; } : {
31
+ readonly insert: "insert" extends infer T ? T extends "insert" ? T extends keyof Mapping ? Mapping[T] extends (arg: any) => any ? ReturnType<Mapping[T]> : Self : Self : never : never;
32
+ readonly json: "json" extends infer T_1 ? T_1 extends "json" ? T_1 extends keyof Mapping ? Mapping[T_1] extends (arg: any) => any ? ReturnType<Mapping[T_1]> : Self : Self : never : never;
33
+ readonly jsonCreate: "jsonCreate" extends infer T_2 ? T_2 extends "jsonCreate" ? T_2 extends keyof Mapping ? Mapping[T_2] extends (arg: any) => any ? ReturnType<Mapping[T_2]> : Self : Self : never : never;
34
+ readonly jsonUpdate: "jsonUpdate" extends infer T_3 ? T_3 extends "jsonUpdate" ? T_3 extends keyof Mapping ? Mapping[T_3] extends (arg: any) => any ? ReturnType<Mapping[T_3]> : Self : Self : never : never;
35
+ readonly select: "select" extends infer T_4 ? T_4 extends "select" ? T_4 extends keyof Mapping ? Mapping[T_4] extends (arg: any) => any ? ReturnType<Mapping[T_4]> : Self : Self : never : never;
36
+ readonly update: "update" extends infer T_5 ? T_5 extends "update" ? T_5 extends keyof Mapping ? Mapping[T_5] extends (arg: any) => any ? ReturnType<Mapping[T_5]> : Self : Self : never : never;
37
37
  }>;
38
38
  };
39
39
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/infra",
3
- "version": "4.0.0-beta.231",
3
+ "version": "4.0.0-beta.232",
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.231"
16
+ "effect-app": "4.0.0-beta.232"
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.66",
21
+ "@effect/sql-sqlite-node": "https://pkg.pr.new/Effect-TS/effect-smol/@effect/sql-sqlite-node@a42ef66",
22
22
  "@sentry/node": "10.51.0",
23
23
  "@sentry/opentelemetry": "10.51.0",
24
24
  "@types/better-sqlite3": "^7.6.13",
@@ -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":""}