effect-app 0.185.8 → 0.186.1
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 +20 -0
- package/dist/Operations.d.ts +8 -8
- package/dist/client/errors.d.ts +3 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @effect-app/prelude
|
|
2
2
|
|
|
3
|
+
## 0.186.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [df2a290]
|
|
8
|
+
- @effect-app/schema@0.207.1
|
|
9
|
+
|
|
10
|
+
## 0.186.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- f2c3553: update packages
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [f2c3553]
|
|
19
|
+
- @effect-app/fluent-extensions@0.147.0
|
|
20
|
+
- @effect-app/schema@0.207.0
|
|
21
|
+
- @effect-app/core@0.153.0
|
|
22
|
+
|
|
3
23
|
## 0.185.8
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/Operations.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as S from "./schema.js";
|
|
|
2
2
|
export type OperationId = S.StringId;
|
|
3
3
|
export declare const OperationId: S.WithDefaults<S.Schema<string & S.StringIdBrand, string, never> & {
|
|
4
4
|
make: () => S.StringId;
|
|
5
|
-
withDefault: S.PropertySignature<":",
|
|
5
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
6
6
|
}> & S.Schema<string & S.StringIdBrand, string, never> & {
|
|
7
7
|
make: () => S.StringId;
|
|
8
|
-
withDefault: S.PropertySignature<":",
|
|
8
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
9
9
|
};
|
|
10
10
|
declare const OperationProgress_base: S.EnhancedClass<OperationProgress, {
|
|
11
11
|
completed: S.WithDefaults<S.Schema<number & S.NonNegativeIntBrand, number, never>> & S.Schema<number & S.NonNegativeIntBrand, number, never> & {
|
|
@@ -55,10 +55,10 @@ export type OperationResult = S.Schema.Type<typeof OperationResult>;
|
|
|
55
55
|
declare const Operation_base: S.EnhancedClass<Operation, {
|
|
56
56
|
id: S.WithDefaults<S.Schema<string & S.StringIdBrand, string, never> & {
|
|
57
57
|
make: () => S.StringId;
|
|
58
|
-
withDefault: S.PropertySignature<":",
|
|
58
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
59
59
|
}> & S.Schema<string & S.StringIdBrand, string, never> & {
|
|
60
60
|
make: () => S.StringId;
|
|
61
|
-
withDefault: S.PropertySignature<":",
|
|
61
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
62
62
|
};
|
|
63
63
|
progress: S.PropertySignature<"?:", OperationProgress | undefined, never, "?:", OperationProgress.From | undefined, false, never>;
|
|
64
64
|
result: S.PropertySignature<"?:", Success | Failure | undefined, never, "?:", Success.From | Failure.From | undefined, false, never>;
|
|
@@ -114,10 +114,10 @@ export declare namespace Operation {
|
|
|
114
114
|
const From_base_3: S.FromClass<S.Struct.Encoded<{
|
|
115
115
|
id: S.WithDefaults<S.Schema<string & S.StringIdBrand, string, never> & {
|
|
116
116
|
make: () => S.StringId;
|
|
117
|
-
withDefault: S.PropertySignature<":",
|
|
117
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
118
118
|
}> & S.Schema<string & S.StringIdBrand, string, never> & {
|
|
119
119
|
make: () => S.StringId;
|
|
120
|
-
withDefault: S.PropertySignature<":",
|
|
120
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
121
121
|
};
|
|
122
122
|
progress: S.PropertySignature<"?:", OperationProgress | undefined, never, "?:", OperationProgress.From | undefined, false, never>;
|
|
123
123
|
result: S.PropertySignature<"?:", Success | Failure | undefined, never, "?:", Success.From | Failure.From | undefined, false, never>;
|
|
@@ -126,10 +126,10 @@ export declare namespace Operation {
|
|
|
126
126
|
}, S.Struct.EncodedTokenKeys<{
|
|
127
127
|
id: S.WithDefaults<S.Schema<string & S.StringIdBrand, string, never> & {
|
|
128
128
|
make: () => S.StringId;
|
|
129
|
-
withDefault: S.PropertySignature<":",
|
|
129
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
130
130
|
}> & S.Schema<string & S.StringIdBrand, string, never> & {
|
|
131
131
|
make: () => S.StringId;
|
|
132
|
-
withDefault: S.PropertySignature<":",
|
|
132
|
+
withDefault: S.PropertySignature<":", S.StringId, never, ":", string, true, never>;
|
|
133
133
|
};
|
|
134
134
|
progress: S.PropertySignature<"?:", OperationProgress | undefined, never, "?:", OperationProgress.From | undefined, false, never>;
|
|
135
135
|
result: S.PropertySignature<"?:", Success | Failure | undefined, never, "?:", Success.From | Failure.From | undefined, false, never>;
|
package/dist/client/errors.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ declare const NotFoundError_base: import("@effect/schema/Schema").Class<NotFound
|
|
|
6
6
|
id: S.$unknown;
|
|
7
7
|
}, {
|
|
8
8
|
readonly _tag: "NotFoundError";
|
|
9
|
-
readonly id: unknown;
|
|
10
9
|
readonly type: string;
|
|
10
|
+
readonly id: unknown;
|
|
11
11
|
}, {
|
|
12
12
|
readonly _tag: "NotFoundError";
|
|
13
|
-
readonly id: unknown;
|
|
14
13
|
readonly type: string;
|
|
15
|
-
}, never, {
|
|
16
14
|
readonly id: unknown;
|
|
15
|
+
}, never, {
|
|
17
16
|
readonly type: string;
|
|
17
|
+
readonly id: unknown;
|
|
18
18
|
}, {}, import("effect/Cause").YieldableError>;
|
|
19
19
|
/** @tsplus type NotFoundError */
|
|
20
20
|
export declare class NotFoundError<ItemType = string> extends NotFoundError_base {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.186.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"ts-pattern": "^5.0.8",
|
|
14
14
|
"uuid": "^9.0.1",
|
|
15
15
|
"validator": "^13.11.0",
|
|
16
|
-
"@effect-app/
|
|
17
|
-
"@effect-app/
|
|
18
|
-
"@effect-app/schema": "0.
|
|
16
|
+
"@effect-app/fluent-extensions": "0.147.0",
|
|
17
|
+
"@effect-app/core": "0.153.0",
|
|
18
|
+
"@effect-app/schema": "0.207.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@babel/cli": "^7.23.9",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"vitest": "^1.3.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@effect/platform": "^0.
|
|
33
|
-
"effect": "^2.4.
|
|
34
|
-
"@effect/schema": "^0.
|
|
32
|
+
"@effect/platform": "^0.48.0",
|
|
33
|
+
"effect": "^2.4.4",
|
|
34
|
+
"@effect/schema": "^0.64.0",
|
|
35
35
|
"@fp-ts/optic": "0.22.0"
|
|
36
36
|
},
|
|
37
37
|
"typesVersions": {
|