effect-app 1.8.2 → 1.9.0

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,17 @@
1
1
  # @effect-app/prelude
2
2
 
3
+ ## 1.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 79f58af: update packages
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [79f58af]
12
+ - @effect-app/schema@1.6.0
13
+ - @effect-app/core@1.6.0
14
+
3
15
  ## 1.8.2
4
16
 
5
17
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { Cause, Effect, S } from "../lib.js";
2
2
  declare const NotFoundError_base: S.TaggedErrorClass<NotFoundError<ItemType>, "NotFoundError", {
3
- readonly _tag: S.PropertySignature<":", "NotFoundError", never, ":", "NotFoundError", true, never>;
3
+ readonly _tag: S.tag<"NotFoundError">;
4
4
  } & {
5
5
  type: typeof S.String;
6
6
  id: typeof S.Unknown;
@@ -9,7 +9,7 @@ export declare class NotFoundError<ItemType = string> extends NotFoundError_base
9
9
  get message(): string;
10
10
  }
11
11
  declare const InvalidStateError_base: S.TaggedErrorClass<InvalidStateError, "InvalidStateError", {
12
- readonly _tag: S.PropertySignature<":", "InvalidStateError", never, ":", "InvalidStateError", true, never>;
12
+ readonly _tag: S.tag<"InvalidStateError">;
13
13
  } & {
14
14
  message: typeof S.String;
15
15
  }>;
@@ -19,7 +19,7 @@ export declare class InvalidStateError extends InvalidStateError_base {
19
19
  }, disableValidation?: boolean);
20
20
  }
21
21
  declare const ServiceUnavailableError_base: S.TaggedErrorClass<ServiceUnavailableError, "ServiceUnavailableError", {
22
- readonly _tag: S.PropertySignature<":", "ServiceUnavailableError", never, ":", "ServiceUnavailableError", true, never>;
22
+ readonly _tag: S.tag<"ServiceUnavailableError">;
23
23
  } & {
24
24
  message: typeof S.String;
25
25
  }>;
@@ -29,7 +29,7 @@ export declare class ServiceUnavailableError extends ServiceUnavailableError_bas
29
29
  }, disableValidation?: boolean);
30
30
  }
31
31
  declare const ValidationError_base: S.TaggedErrorClass<ValidationError, "ValidationError", {
32
- readonly _tag: S.PropertySignature<":", "ValidationError", never, ":", "ValidationError", true, never>;
32
+ readonly _tag: S.tag<"ValidationError">;
33
33
  } & {
34
34
  errors: S.Array$<typeof S.Unknown> & {
35
35
  withDefault: S.PropertySignature<":", readonly unknown[], never, ":", readonly unknown[], true, never>;
@@ -39,7 +39,7 @@ export declare class ValidationError extends ValidationError_base {
39
39
  get message(): string;
40
40
  }
41
41
  declare const NotLoggedInError_base: S.TaggedErrorClass<NotLoggedInError, "NotLoggedInError", {
42
- readonly _tag: S.PropertySignature<":", "NotLoggedInError", never, ":", "NotLoggedInError", true, never>;
42
+ readonly _tag: S.tag<"NotLoggedInError">;
43
43
  } & {
44
44
  message: S.optional<typeof S.String>;
45
45
  }>;
@@ -49,7 +49,7 @@ export declare class NotLoggedInError extends NotLoggedInError_base {
49
49
  }, disableValidation?: boolean);
50
50
  }
51
51
  declare const LoginError_base: S.TaggedErrorClass<LoginError, "NotLoggedInError", {
52
- readonly _tag: S.PropertySignature<":", "NotLoggedInError", never, ":", "NotLoggedInError", true, never>;
52
+ readonly _tag: S.tag<"NotLoggedInError">;
53
53
  } & {
54
54
  message: S.optional<typeof S.String>;
55
55
  }>;
@@ -62,7 +62,7 @@ export declare class LoginError extends LoginError_base {
62
62
  }, disableValidation?: boolean);
63
63
  }
64
64
  declare const UnauthorizedError_base: S.TaggedErrorClass<UnauthorizedError, "UnauthorizedError", {
65
- readonly _tag: S.PropertySignature<":", "UnauthorizedError", never, ":", "UnauthorizedError", true, never>;
65
+ readonly _tag: S.tag<"UnauthorizedError">;
66
66
  } & {
67
67
  message: S.optional<typeof S.String>;
68
68
  }>;
@@ -78,7 +78,7 @@ type OptimisticConcurrencyDetails = {
78
78
  readonly found?: string | undefined;
79
79
  };
80
80
  declare const OptimisticConcurrencyException_base: S.TaggedErrorClass<OptimisticConcurrencyException, "OptimisticConcurrencyException", {
81
- readonly _tag: S.PropertySignature<":", "OptimisticConcurrencyException", never, ":", "OptimisticConcurrencyException", true, never>;
81
+ readonly _tag: S.tag<"OptimisticConcurrencyException">;
82
82
  } & {
83
83
  message: typeof S.String;
84
84
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect-app",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -12,13 +12,13 @@
12
12
  "ts-pattern": "^5.2.0",
13
13
  "uuid": "^10.0.0",
14
14
  "validator": "^13.12.0",
15
- "@effect-app/core": "1.5.2",
16
- "@effect-app/schema": "1.5.2"
15
+ "@effect-app/schema": "1.6.0",
16
+ "@effect-app/core": "1.6.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/cli": "^7.24.8",
20
20
  "@faker-js/faker": "^8.4.1",
21
- "@types/node": "~20.14.11",
21
+ "@types/node": "~22.0.0",
22
22
  "@types/uuid": "^10.0.0",
23
23
  "@types/validator": "^13.12.0",
24
24
  "fast-check": "~3.20.0",
@@ -27,9 +27,9 @@
27
27
  "vitest": "^2.0.4"
28
28
  },
29
29
  "peerDependencies": {
30
- "@effect/platform": "^0.59.3",
31
- "effect": "^3.5.7",
32
- "@effect/schema": "^0.68.27"
30
+ "@effect/platform": "^0.61.0",
31
+ "effect": "^3.6.0",
32
+ "@effect/schema": "^0.70.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "*": {