effect-app 0.161.0 → 0.162.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
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @effect-app/prelude
|
|
2
2
|
|
|
3
|
+
## 0.162.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix name
|
|
8
|
+
|
|
9
|
+
## 0.162.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- bs
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @effect-app/core@0.138.0
|
|
19
|
+
- @effect-app/fluent-extensions@0.132.0
|
|
20
|
+
- @effect-app/schema@0.190.0
|
|
21
|
+
|
|
3
22
|
## 0.161.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/_src/client/clientFor.ts
CHANGED
|
@@ -233,6 +233,7 @@ type RequestHandlers<R, E, M extends Requests> = {
|
|
|
233
233
|
Request: REST.GetRequest<M[K]>
|
|
234
234
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>
|
|
235
235
|
mapPath: (req: InstanceType<REST.GetRequest<M[K]>>) => string
|
|
236
|
+
name: string
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
|
|
@@ -246,6 +247,7 @@ type RequestHandlersE<R, E, M extends Requests> = {
|
|
|
246
247
|
Request: REST.GetRequest<M[K]>
|
|
247
248
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>
|
|
248
249
|
mapPath: string
|
|
250
|
+
name: string
|
|
249
251
|
}
|
|
250
252
|
: {
|
|
251
253
|
handler: (
|
|
@@ -258,5 +260,6 @@ type RequestHandlersE<R, E, M extends Requests> = {
|
|
|
258
260
|
Request: REST.GetRequest<M[K]>
|
|
259
261
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>
|
|
260
262
|
mapPath: (req: InstanceType<REST.GetRequest<M[K]>>) => string
|
|
263
|
+
name: string
|
|
261
264
|
}
|
|
262
265
|
}
|
package/dist/Request.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const responseWithJsonBody: (response: ClientResponse) => import(
|
|
|
14
14
|
* @tsplus fluent effect/platform/Http/Client schemaJsonBody
|
|
15
15
|
* @tsplus location "effect-app/Request"
|
|
16
16
|
*/
|
|
17
|
-
export declare const schemaJsonBody: <R, To, From, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError |
|
|
17
|
+
export declare const schemaJsonBody: <R, To, From, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError | import("@effect/schema/ParseResult").ParseError | B, To>;
|
|
18
18
|
/**
|
|
19
19
|
* @tsplus fluent effect/platform/Http/Client schemaJsonBodyUnsafe
|
|
20
20
|
* @tsplus location "effect-app/Request"
|
|
@@ -28,7 +28,7 @@ export declare const schemaJson: <R, From extends {
|
|
|
28
28
|
readonly status?: number;
|
|
29
29
|
readonly headers?: Headers;
|
|
30
30
|
readonly body?: unknown;
|
|
31
|
-
}, To, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError |
|
|
31
|
+
}, To, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError | import("@effect/schema/ParseResult").ParseError | B, To>;
|
|
32
32
|
/**
|
|
33
33
|
* @tsplus fluent effect/platform/Http/Client schemaJsonUnsafe
|
|
34
34
|
* @tsplus location "effect-app/Request"
|
|
@@ -37,7 +37,7 @@ export declare const schemaJsonUnsafe: <R, From extends {
|
|
|
37
37
|
readonly status?: number;
|
|
38
38
|
readonly headers?: Headers;
|
|
39
39
|
readonly body?: unknown;
|
|
40
|
-
}, To, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError |
|
|
40
|
+
}, To, A, B>(client: HttpClient.Client<A, B, ClientResponse>, schema: Schema<To, From, R>) => HttpClient.Client<R | A, HttpClientError.ResponseError | import("@effect/schema/ParseResult").ParseError | B, To>;
|
|
41
41
|
/**
|
|
42
42
|
* @tsplus getter effect/platform/Http/Client demandJson
|
|
43
43
|
* @tsplus location "effect-app/Request"
|
|
@@ -26,6 +26,7 @@ type RequestHandlers<R, E, M extends Requests> = {
|
|
|
26
26
|
Request: REST.GetRequest<M[K]>;
|
|
27
27
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>;
|
|
28
28
|
mapPath: (req: InstanceType<REST.GetRequest<M[K]>>) => string;
|
|
29
|
+
name: string;
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
type RequestHandlersE<R, E, M extends Requests> = {
|
|
@@ -34,11 +35,13 @@ type RequestHandlersE<R, E, M extends Requests> = {
|
|
|
34
35
|
Request: REST.GetRequest<M[K]>;
|
|
35
36
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>;
|
|
36
37
|
mapPath: string;
|
|
38
|
+
name: string;
|
|
37
39
|
} : {
|
|
38
40
|
handler: (req: InstanceType<REST.GetRequest<M[K]>>) => Effect<FetchResponse<ExtractEResponse<REST.GetResponse<M[K]>>>, E, R>;
|
|
39
41
|
Request: REST.GetRequest<M[K]>;
|
|
40
42
|
Reponse: ExtractResponse<REST.GetResponse<M[K]>>;
|
|
41
43
|
mapPath: (req: InstanceType<REST.GetRequest<M[K]>>) => string;
|
|
44
|
+
name: string;
|
|
42
45
|
};
|
|
43
46
|
};
|
|
44
47
|
//# sourceMappingURL=clientFor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientFor.d.ts","sourceRoot":"","sources":["../../_src/client/clientFor.ts"],"names":[],"mappings":";;AAGA,OAA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,CAAC,CAAC,EACvD,CAAC,EACD,CAAC,CACF,CAAA;QACD,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAC9B,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAChD,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;KACb,GACC;QACA,OAAO,EAAE,CACP,GAAG,EAAE,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KACrC,MAAM,CACT,aAAa,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACvD,CAAC,EACD,CAAC,CACF,CAAA;QACD,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAC9B,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAChD,OAAO,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,MAAM,CAAA;QAC7D,IAAI,EAAE,MAAM,CAAA;KACb;CACJ,CAAA"}
|
package/dist/client/fetch.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare function fetchApi2S<RequestR, RequestFrom, RequestTo, ResponseR,
|
|
|
21
21
|
body: ResponseTo;
|
|
22
22
|
headers: Headers;
|
|
23
23
|
status: number;
|
|
24
|
-
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | import("@effect/schema/ParseResult").ParseError |
|
|
24
|
+
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | ResponseError | import("@effect/schema/ParseResult").ParseError | HttpResponseError<unknown>, import("effect/Scope").Scope | ApiConfig | HttpClient.Client.Default | RequestR | ResponseR>;
|
|
25
25
|
export declare function fetchApi3S<RequestA, RequestE, ResponseE = unknown, ResponseA = void>({ Request, Response }: {
|
|
26
26
|
Request: REST.RequestSchemed<RequestA, RequestE>;
|
|
27
27
|
Response: REST.ReqRes<ResponseA, ResponseE, any>;
|
|
@@ -29,11 +29,11 @@ export declare function fetchApi3S<RequestA, RequestE, ResponseE = unknown, Resp
|
|
|
29
29
|
body: ResponseA;
|
|
30
30
|
headers: Headers;
|
|
31
31
|
status: number;
|
|
32
|
-
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | import("@effect/schema/ParseResult").ParseError |
|
|
32
|
+
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | ResponseError | import("@effect/schema/ParseResult").ParseError | HttpResponseError<unknown>, any>;
|
|
33
33
|
export declare function fetchApi3SE<RequestA, RequestE, ResponseE = unknown, ResponseA = void>({ Request, Response }: {
|
|
34
34
|
Request: REST.RequestSchemed<RequestA, RequestE>;
|
|
35
35
|
Response: REST.ReqRes<ResponseA, ResponseE, any>;
|
|
36
|
-
}): (req: RequestA) => import("effect/Effect").Effect<FetchResponse<ResponseE>, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | import("@effect/schema/ParseResult").ParseError |
|
|
36
|
+
}): (req: RequestA) => import("effect/Effect").Effect<FetchResponse<ResponseE>, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | ResponseError | import("@effect/schema/ParseResult").ParseError | HttpResponseError<unknown>, any>;
|
|
37
37
|
export declare function makePathWithQuery(path: Path, pars: Record<string, string | number | boolean | readonly string[] | readonly number[] | readonly boolean[] | null>): string;
|
|
38
38
|
export declare function makePathWithBody(path: Path, pars: Record<string, string | number | boolean | readonly string[] | readonly number[] | readonly boolean[] | null>): string;
|
|
39
39
|
export declare function mapResponse<T, A>(map: (t: T) => A): (r: FetchResponse<T>) => FetchResponse<A>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.162.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"ts-pattern": "^5.0.6",
|
|
17
17
|
"uuid": "^9.0.1",
|
|
18
18
|
"validator": "^13.11.0",
|
|
19
|
-
"@effect-app/
|
|
20
|
-
"@effect-app/
|
|
21
|
-
"@effect-app/
|
|
19
|
+
"@effect-app/core": "0.138.0",
|
|
20
|
+
"@effect-app/fluent-extensions": "0.132.0",
|
|
21
|
+
"@effect-app/schema": "0.190.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@babel/cli": "^7.23.9",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"ts-node": "^10.9.2",
|
|
31
31
|
"typescript": "npm:@effect-app/typescript@5.4.0-tsplus.20240124",
|
|
32
32
|
"vitest": "^1.2.2",
|
|
33
|
-
"@effect-app/compiler": "0.
|
|
33
|
+
"@effect-app/compiler": "0.63.0"
|
|
34
34
|
},
|
|
35
35
|
"typesVersions": {
|
|
36
36
|
"*": {
|