@effect/platform 0.18.4 → 0.18.6
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/Command/dist/effect-platform-Command.esm.js +12 -200
- package/CommandExecutor/dist/effect-platform-CommandExecutor.esm.js +9 -71
- package/Effectify/dist/effect-platform-Effectify.esm.js +2 -23
- package/Error/dist/effect-platform-Error.esm.js +2 -54
- package/FileSystem/dist/effect-platform-FileSystem.esm.js +10 -177
- package/Http/Body/dist/effect-platform-Http-Body.esm.js +13 -151
- package/Http/Client/dist/effect-platform-Http-Client.cjs.dev.js +2 -2
- package/Http/Client/dist/effect-platform-Http-Client.cjs.prod.js +2 -2
- package/Http/Client/dist/effect-platform-Http-Client.esm.js +28 -164
- package/Http/ClientError/dist/effect-platform-Http-ClientError.esm.js +3 -48
- package/Http/ClientRequest/dist/effect-platform-Http-ClientRequest.esm.js +20 -241
- package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.dev.js +3 -2
- package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.mjs +2 -1
- package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.prod.js +3 -2
- package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.esm.js +22 -35
- package/Http/Etag/dist/effect-platform-Http-Etag.esm.js +17 -1
- package/Http/FormData/dist/effect-platform-Http-FormData.esm.js +17 -155
- package/Http/Headers/dist/effect-platform-Http-Headers.esm.js +4 -74
- package/Http/IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js +6 -1
- package/Http/Middleware/dist/effect-platform-Http-Middleware.cjs.dev.js +3 -3
- package/Http/Middleware/dist/effect-platform-Http-Middleware.cjs.prod.js +3 -3
- package/Http/Middleware/dist/effect-platform-Http-Middleware.esm.js +30 -52
- package/Http/Platform/dist/effect-platform-Http-Platform.esm.js +56 -1
- package/Http/Router/dist/effect-platform-Http-Router.esm.js +25 -224
- package/Http/Server/dist/effect-platform-Http-Server.esm.js +18 -1
- package/Http/ServerError/dist/effect-platform-Http-ServerError.esm.js +2 -70
- package/Http/ServerRequest/dist/effect-platform-Http-ServerRequest.esm.js +20 -65
- package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.cjs.dev.js +2 -2
- package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.cjs.prod.js +2 -2
- package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.esm.js +21 -126
- package/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js +4 -101
- package/HttpClient/dist/effect-platform-HttpClient.cjs.dev.js +3 -3
- package/HttpClient/dist/effect-platform-HttpClient.cjs.prod.js +3 -3
- package/HttpClient/dist/effect-platform-HttpClient.esm.js +32 -18
- package/HttpServer/dist/effect-platform-HttpServer.cjs.dev.js +2 -3
- package/HttpServer/dist/effect-platform-HttpServer.cjs.prod.js +2 -3
- package/HttpServer/dist/effect-platform-HttpServer.esm.js +35 -24
- package/KeyValueStore/dist/effect-platform-KeyValueStore.esm.js +15 -78
- package/Path/dist/effect-platform-Path.esm.js +8 -33
- package/Runtime/dist/effect-platform-Runtime.esm.js +3 -26
- package/dist/App-687366d8.esm.js +5 -0
- package/dist/Body-ec1353f9.esm.js +170 -0
- package/dist/{Client-15671ed6.cjs.dev.js → Client-440a1019.cjs.dev.js} +1 -1
- package/dist/Client-4659bda7.esm.js +346 -0
- package/dist/{Client-6b3e3de8.cjs.prod.js → Client-7b851481.cjs.prod.js} +1 -1
- package/dist/ClientError-98b5da8c.esm.js +55 -0
- package/dist/ClientRequest-fc429335.esm.js +281 -0
- package/dist/{ClientResponse-a1d64ab8.cjs.dev.js → ClientResponse-1476704c.cjs.dev.js} +9 -1
- package/dist/ClientResponse-4524e99e.esm.js +53 -0
- package/dist/{ClientResponse-8f65511e.cjs.prod.js → ClientResponse-fe4e69c8.cjs.prod.js} +9 -1
- package/dist/Command-d8ab0c8d.esm.js +403 -0
- package/dist/CommandExecutor-5807b66b.esm.js +80 -0
- package/dist/Effectify-e5a9d266.esm.js +43 -0
- package/dist/Error-3099667c.esm.js +75 -0
- package/dist/FileSystem-7e31dccd.esm.js +271 -0
- package/dist/FormData-f54de878.esm.js +270 -0
- package/dist/Headers-58b56a08.esm.js +85 -0
- package/dist/{HttpClient-cefc7da9.cjs.dev.js → HttpClient-4d23b1f5.cjs.dev.js} +2 -2
- package/dist/{HttpClient-d3c69877.cjs.prod.js → HttpClient-88775b8e.cjs.prod.js} +2 -2
- package/dist/HttpClient-9ca6050c.esm.js +24 -0
- package/dist/{HttpServer-5b9d992e.cjs.dev.js → HttpServer-16159c3a.cjs.dev.js} +2 -2
- package/dist/HttpServer-50f8df76.esm.js +30 -0
- package/dist/{HttpServer-60325fb0.cjs.prod.js → HttpServer-93c0fbb3.cjs.prod.js} +2 -2
- package/{internal/keyValueStore.esm.js → dist/KeyValueStore-2f9a70bf.esm.js} +102 -15
- package/dist/Middleware-240f91f6.esm.js +105 -0
- package/dist/{Middleware-8e7cd600.cjs.dev.js → Middleware-e2edf820.cjs.dev.js} +1 -1
- package/dist/{Middleware-d4f1a1cd.cjs.prod.js → Middleware-f9a073d7.cjs.prod.js} +1 -1
- package/{internal/path.esm.js → dist/Path-46f84ba7.esm.js} +40 -4
- package/dist/Router-bf32317a.esm.js +454 -0
- package/dist/Runtime-7265fb98.esm.js +31 -0
- package/dist/ServerError-04ad5b57.esm.js +99 -0
- package/dist/ServerRequest-03161edc.esm.js +125 -0
- package/dist/ServerResponse-93038062.esm.js +259 -0
- package/dist/{ServerResponse-7d60c7d1.cjs.dev.js → ServerResponse-b63b7192.cjs.dev.js} +15 -4
- package/dist/{ServerResponse-830f1052.cjs.prod.js → ServerResponse-eae85b08.cjs.prod.js} +15 -4
- package/dist/UrlParams-1286c728.esm.js +114 -0
- package/{internal/http/body.esm.js → dist/body-20d78ec1.esm.js} +2 -2
- package/{internal/http/clientError.esm.js → dist/clientError-c4e1466c.esm.js} +1 -1
- package/{internal/http/clientRequest.esm.js → dist/clientRequest-1e9e0b0d.esm.js} +4 -4
- package/dist/{clientResponse-c58a116c.cjs.dev.js → clientResponse-79c84a64.cjs.dev.js} +10 -0
- package/{internal/http/clientResponse.esm.js → dist/clientResponse-8c2ec6a3.esm.js} +14 -5
- package/dist/{clientResponse-2c6a83f1.cjs.prod.js → clientResponse-f9c57e83.cjs.prod.js} +10 -0
- package/{internal/commandExecutor.esm.js → dist/commandExecutor-d6457489.esm.js} +1 -1
- package/dist/declarations/src/Http/ClientResponse.d.ts +8 -0
- package/dist/declarations/src/Http/ClientResponse.d.ts.map +1 -1
- package/dist/declarations/src/Http/ServerResponse.d.ts +1 -2
- package/dist/declarations/src/Http/ServerResponse.d.ts.map +1 -1
- package/dist/effect-platform.cjs.dev.js +8 -8
- package/dist/effect-platform.cjs.prod.js +8 -8
- package/dist/effect-platform.esm.js +58 -20
- package/package.json +1 -2
- package/src/Http/ClientResponse.ts +10 -0
- package/src/Http/ServerResponse.ts +1 -2
- package/src/internal/http/clientResponse.ts +16 -0
- package/src/internal/http/serverResponse.ts +18 -4
- package/internal/command.esm.js +0 -185
- package/internal/effectify.esm.js +0 -18
- package/internal/error.esm.js +0 -17
- package/internal/fileSystem.esm.js +0 -82
- package/internal/http/client.esm.js +0 -157
- package/internal/http/etag.esm.js +0 -19
- package/internal/http/formData.esm.js +0 -95
- package/internal/http/middleware.esm.js +0 -46
- package/internal/http/platform.esm.js +0 -52
- package/internal/http/router.esm.js +0 -199
- package/internal/http/server.esm.js +0 -20
- package/internal/http/serverError.esm.js +0 -23
- package/internal/http/serverRequest.esm.js +0 -50
- package/internal/http/serverResponse.esm.js +0 -105
|
@@ -1,151 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category type ids
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category models
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @since 1.0.0
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @category type ids
|
|
30
|
-
*/
|
|
31
|
-
const ErrorTypeId = ErrorTypeId$1;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @since 1.0.0
|
|
35
|
-
* @category type ids
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category errors
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
* @category errors
|
|
46
|
-
*/
|
|
47
|
-
const BodyError = BodyError$1;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @since 1.0.0
|
|
51
|
-
* @category errors
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @since 1.0.0
|
|
56
|
-
* @category models
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @since 1.0.0
|
|
61
|
-
* @category constructors
|
|
62
|
-
*/
|
|
63
|
-
const empty = empty$1;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @since 1.0.0
|
|
67
|
-
* @category models
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @since 1.0.0
|
|
72
|
-
* @category constructors
|
|
73
|
-
*/
|
|
74
|
-
const raw = raw$1;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @since 1.0.0
|
|
78
|
-
* @category models
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @since 1.0.0
|
|
83
|
-
* @category constructors
|
|
84
|
-
*/
|
|
85
|
-
const uint8Array = uint8Array$1;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @since 1.0.0
|
|
89
|
-
* @category constructors
|
|
90
|
-
*/
|
|
91
|
-
const text = text$1;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @since 1.0.0
|
|
95
|
-
* @category constructors
|
|
96
|
-
*/
|
|
97
|
-
const unsafeJson = unsafeJson$1;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @since 1.0.0
|
|
101
|
-
* @category constructors
|
|
102
|
-
*/
|
|
103
|
-
const json = json$1;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @since 1.0.0
|
|
107
|
-
* @category constructors
|
|
108
|
-
*/
|
|
109
|
-
const jsonSchema = jsonSchema$1;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @since 1.0.0
|
|
113
|
-
* @category models
|
|
114
|
-
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @since 1.0.0
|
|
118
|
-
* @category constructors
|
|
119
|
-
*/
|
|
120
|
-
const formData = formData$1;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @since 1.0.0
|
|
124
|
-
* @category models
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @since 1.0.0
|
|
129
|
-
* @category constructors
|
|
130
|
-
*/
|
|
131
|
-
const stream = stream$1;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @since 1.0.0
|
|
135
|
-
* @category constructors
|
|
136
|
-
*/
|
|
137
|
-
const file = file$1;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @since 1.0.0
|
|
141
|
-
* @category constructors
|
|
142
|
-
*/
|
|
143
|
-
const fileInfo = fileInfo$1;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @since 1.0.0
|
|
147
|
-
* @category constructors
|
|
148
|
-
*/
|
|
149
|
-
const fileWeb = fileWeb$1;
|
|
150
|
-
|
|
151
|
-
export { BodyError, ErrorTypeId, TypeId, empty, file, fileInfo, fileWeb, formData, json, jsonSchema, raw, stream, text, uint8Array, unsafeJson };
|
|
1
|
+
import '../../../dist/body-20d78ec1.esm.js';
|
|
2
|
+
export { a as BodyError, E as ErrorTypeId, T as TypeId, e as empty, d as file, g as fileInfo, h as fileWeb, f as formData, j as json, c as jsonSchema, r as raw, s as stream, t as text, u as uint8Array, b as unsafeJson } from '../../../dist/Body-ec1353f9.esm.js';
|
|
3
|
+
import '@effect/schema/Schema';
|
|
4
|
+
import 'effect/Data';
|
|
5
|
+
import 'effect/Effect';
|
|
6
|
+
import 'effect/Function';
|
|
7
|
+
import 'effect/Stream';
|
|
8
|
+
import '../../../dist/FileSystem-7e31dccd.esm.js';
|
|
9
|
+
import 'effect/Brand';
|
|
10
|
+
import 'effect/Context';
|
|
11
|
+
import 'effect/Option';
|
|
12
|
+
import 'effect/Sink';
|
|
13
|
+
import '../../../dist/Error-3099667c.esm.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Http_Client_dist_effectPlatformHttpClient = require('../../../dist/Client-
|
|
5
|
+
var Http_Client_dist_effectPlatformHttpClient = require('../../../dist/Client-440a1019.cjs.dev.js');
|
|
6
6
|
require('@effect/schema/Schema');
|
|
7
7
|
require('effect/Context');
|
|
8
8
|
require('effect/Effect');
|
|
@@ -29,7 +29,7 @@ require('../../../dist/clientRequest-423fd562.cjs.dev.js');
|
|
|
29
29
|
require('../../../dist/Headers-f56bc667.cjs.dev.js');
|
|
30
30
|
require('effect/ReadonlyArray');
|
|
31
31
|
require('effect/ReadonlyRecord');
|
|
32
|
-
require('../../../dist/clientResponse-
|
|
32
|
+
require('../../../dist/clientResponse-79c84a64.cjs.dev.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Http_Client_dist_effectPlatformHttpClient = require('../../../dist/Client-
|
|
5
|
+
var Http_Client_dist_effectPlatformHttpClient = require('../../../dist/Client-7b851481.cjs.prod.js');
|
|
6
6
|
require('@effect/schema/Schema');
|
|
7
7
|
require('effect/Context');
|
|
8
8
|
require('effect/Effect');
|
|
@@ -29,7 +29,7 @@ require('../../../dist/clientRequest-3e72ec54.cjs.prod.js');
|
|
|
29
29
|
require('../../../dist/Headers-122cb877.cjs.prod.js');
|
|
30
30
|
require('effect/ReadonlyArray');
|
|
31
31
|
require('effect/ReadonlyRecord');
|
|
32
|
-
require('../../../dist/clientResponse-
|
|
32
|
+
require('../../../dist/clientResponse-f9c57e83.cjs.prod.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -1,164 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*/
|
|
30
|
-
const Client = tag;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @category layers
|
|
35
|
-
*/
|
|
36
|
-
const layer = layer$1;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category constructors
|
|
41
|
-
*/
|
|
42
|
-
const fetch = fetch$1;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @since 1.0.0
|
|
46
|
-
* @category constructors
|
|
47
|
-
*/
|
|
48
|
-
const fetchOk = fetchOk$1;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @since 1.0.0
|
|
52
|
-
* @category error handling
|
|
53
|
-
*/
|
|
54
|
-
const catchAll = catchAll$1;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @since 1.0.0
|
|
58
|
-
* @category error handling
|
|
59
|
-
*/
|
|
60
|
-
const catchTag = catchTag$1;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @since 1.0.0
|
|
64
|
-
* @category error handling
|
|
65
|
-
*/
|
|
66
|
-
const catchTags = catchTags$1;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @since 1.0.0
|
|
70
|
-
* @category filters
|
|
71
|
-
*/
|
|
72
|
-
const filterOrElse = filterOrElse$1;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @since 1.0.0
|
|
76
|
-
* @category filters
|
|
77
|
-
*/
|
|
78
|
-
const filterOrFail = filterOrFail$1;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @since 1.0.0
|
|
82
|
-
* @category filters
|
|
83
|
-
*/
|
|
84
|
-
const filterStatus = filterStatus$1;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @since 1.0.0
|
|
88
|
-
* @category filters
|
|
89
|
-
*/
|
|
90
|
-
const filterStatusOk = filterStatusOk$1;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @since 1.0.0
|
|
94
|
-
* @category constructors
|
|
95
|
-
*/
|
|
96
|
-
const make = make$1;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @since 1.0.0
|
|
100
|
-
* @category mapping & sequencing
|
|
101
|
-
*/
|
|
102
|
-
const transform = transform$1;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @since 1.0.0
|
|
106
|
-
* @category mapping & sequencing
|
|
107
|
-
*/
|
|
108
|
-
const transformResponse = transformResponse$1;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @since 1.0.0
|
|
112
|
-
* @category mapping & sequencing
|
|
113
|
-
*/
|
|
114
|
-
const map = map$1;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @since 1.0.0
|
|
118
|
-
* @category mapping & sequencing
|
|
119
|
-
*/
|
|
120
|
-
const mapEffect = mapEffect$1;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @since 1.0.0
|
|
124
|
-
* @category mapping & sequencing
|
|
125
|
-
*/
|
|
126
|
-
const mapRequest = mapRequest$1;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @since 1.0.0
|
|
130
|
-
* @category mapping & sequencing
|
|
131
|
-
*/
|
|
132
|
-
const mapRequestEffect = mapRequestEffect$1;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @since 1.0.0
|
|
136
|
-
* @category error handling
|
|
137
|
-
*/
|
|
138
|
-
const retry = retry$1;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @since 1.0.0
|
|
142
|
-
* @category schema
|
|
143
|
-
*/
|
|
144
|
-
const schemaFunction = schemaFunction$1;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @since 1.0.0
|
|
148
|
-
* @category tracing
|
|
149
|
-
*/
|
|
150
|
-
const withB3Propagation = withB3Propagation$1;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @since 1.0.0
|
|
154
|
-
* @category mapping & sequencing
|
|
155
|
-
*/
|
|
156
|
-
const tap = tap$1;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @since 1.0.0
|
|
160
|
-
* @category mapping & sequencing
|
|
161
|
-
*/
|
|
162
|
-
const tapRequest = tapRequest$1;
|
|
163
|
-
|
|
164
|
-
export { Client, TypeId, catchAll, catchTag, catchTags, fetch, fetchOk, filterOrElse, filterOrFail, filterStatus, filterStatusOk, layer, make, map, mapEffect, mapRequest, mapRequestEffect, retry, schemaFunction, tap, tapRequest, transform, transformResponse, withB3Propagation };
|
|
1
|
+
export { a as Client, T as TypeId, c as catchAll, d as catchTag, e as catchTags, f as fetch, b as fetchOk, g as filterOrElse, h as filterOrFail, i as filterStatus, j as filterStatusOk, l as layer, m as make, n as map, o as mapEffect, p as mapRequest, q as mapRequestEffect, r as retry, s as schemaFunction, u as tap, v as tapRequest, t as transform, k as transformResponse, w as withB3Propagation } from '../../../dist/Client-4659bda7.esm.js';
|
|
2
|
+
import '@effect/schema/Schema';
|
|
3
|
+
import 'effect/Context';
|
|
4
|
+
import 'effect/Effect';
|
|
5
|
+
import 'effect/Function';
|
|
6
|
+
import 'effect/Layer';
|
|
7
|
+
import 'effect/Option';
|
|
8
|
+
import 'effect/Pipeable';
|
|
9
|
+
import 'effect/Stream';
|
|
10
|
+
import '../../IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js';
|
|
11
|
+
import '@effect/schema/ParseResult';
|
|
12
|
+
import 'effect/FiberRef';
|
|
13
|
+
import 'effect/GlobalValue';
|
|
14
|
+
import '../../../dist/FileSystem-7e31dccd.esm.js';
|
|
15
|
+
import 'effect/Brand';
|
|
16
|
+
import 'effect/Sink';
|
|
17
|
+
import '../../../dist/Error-3099667c.esm.js';
|
|
18
|
+
import 'effect/Data';
|
|
19
|
+
import '../../Method/dist/effect-platform-Http-Method.esm.js';
|
|
20
|
+
import '../../../dist/UrlParams-1286c728.esm.js';
|
|
21
|
+
import 'effect/Chunk';
|
|
22
|
+
import '../../../dist/body-20d78ec1.esm.js';
|
|
23
|
+
import '../../../dist/clientError-c4e1466c.esm.js';
|
|
24
|
+
import '../../../dist/clientRequest-1e9e0b0d.esm.js';
|
|
25
|
+
import '../../../dist/Headers-58b56a08.esm.js';
|
|
26
|
+
import 'effect/ReadonlyArray';
|
|
27
|
+
import 'effect/ReadonlyRecord';
|
|
28
|
+
import '../../../dist/clientResponse-8c2ec6a3.esm.js';
|
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @since 1.0.0
|
|
8
|
-
* @category type id
|
|
9
|
-
*/
|
|
10
|
-
const TypeId = TypeId$1;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
* @category type id
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
* @category error
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @since 1.0.0
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @since 1.0.0
|
|
28
|
-
* @category error
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @since 1.0.0
|
|
33
|
-
* @category error
|
|
34
|
-
*/
|
|
35
|
-
const RequestError = requestError;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @since 1.0.0
|
|
39
|
-
* @category error
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
* @category error
|
|
45
|
-
*/
|
|
46
|
-
const ResponseError = responseError;
|
|
47
|
-
|
|
48
|
-
export { RequestError, ResponseError, TypeId };
|
|
1
|
+
import '../../../dist/clientError-c4e1466c.esm.js';
|
|
2
|
+
export { R as RequestError, a as ResponseError, T as TypeId } from '../../../dist/ClientError-98b5da8c.esm.js';
|
|
3
|
+
import 'effect/Data';
|
|
@@ -1,241 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @since 1.0.0
|
|
24
|
-
* @category models
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @since 1.0.0
|
|
33
|
-
* @category constructors
|
|
34
|
-
*/
|
|
35
|
-
const make = make$1;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @since 1.0.0
|
|
39
|
-
* @category constructors
|
|
40
|
-
*/
|
|
41
|
-
const get = get$1;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
* @category constructors
|
|
46
|
-
*/
|
|
47
|
-
const post = post$1;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @since 1.0.0
|
|
51
|
-
* @category constructors
|
|
52
|
-
*/
|
|
53
|
-
const patch = patch$1;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @since 1.0.0
|
|
57
|
-
* @category constructors
|
|
58
|
-
*/
|
|
59
|
-
const put = put$1;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @since 1.0.0
|
|
63
|
-
* @category constructors
|
|
64
|
-
*/
|
|
65
|
-
const del = del$1;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @since 1.0.0
|
|
69
|
-
* @category constructors
|
|
70
|
-
*/
|
|
71
|
-
const head = head$1;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @since 1.0.0
|
|
75
|
-
* @category constructors
|
|
76
|
-
*/
|
|
77
|
-
const options = options$1;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @since 1.0.0
|
|
81
|
-
* @category combinators
|
|
82
|
-
*/
|
|
83
|
-
const modify = modify$1;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @since 1.0.0
|
|
87
|
-
* @category combinators
|
|
88
|
-
*/
|
|
89
|
-
const setMethod = setMethod$1;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @since 1.0.0
|
|
93
|
-
* @category combinators
|
|
94
|
-
*/
|
|
95
|
-
const setHeader = setHeader$1;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @since 1.0.0
|
|
99
|
-
* @category combinators
|
|
100
|
-
*/
|
|
101
|
-
const setHeaders = setHeaders$1;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @since 1.0.0
|
|
105
|
-
* @category combinators
|
|
106
|
-
*/
|
|
107
|
-
const basicAuth = basicAuth$1;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @since 1.0.0
|
|
111
|
-
* @category combinators
|
|
112
|
-
*/
|
|
113
|
-
const bearerToken = bearerToken$1;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @since 1.0.0
|
|
117
|
-
* @category combinators
|
|
118
|
-
*/
|
|
119
|
-
const accept = accept$1;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @since 1.0.0
|
|
123
|
-
* @category combinators
|
|
124
|
-
*/
|
|
125
|
-
const acceptJson = acceptJson$1;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @since 1.0.0
|
|
129
|
-
* @category combinators
|
|
130
|
-
*/
|
|
131
|
-
const setUrl = setUrl$1;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @since 1.0.0
|
|
135
|
-
* @category combinators
|
|
136
|
-
*/
|
|
137
|
-
const prependUrl = prependUrl$1;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @since 1.0.0
|
|
141
|
-
* @category combinators
|
|
142
|
-
*/
|
|
143
|
-
const appendUrl = appendUrl$1;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @since 1.0.0
|
|
147
|
-
* @category combinators
|
|
148
|
-
*/
|
|
149
|
-
const updateUrl = updateUrl$1;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @since 1.0.0
|
|
153
|
-
* @category combinators
|
|
154
|
-
*/
|
|
155
|
-
const setUrlParam = setUrlParam$1;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @since 1.0.0
|
|
159
|
-
* @category combinators
|
|
160
|
-
*/
|
|
161
|
-
const setUrlParams = setUrlParams$1;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* @since 1.0.0
|
|
165
|
-
* @category combinators
|
|
166
|
-
*/
|
|
167
|
-
const appendUrlParam = appendUrlParam$1;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @since 1.0.0
|
|
171
|
-
* @category combinators
|
|
172
|
-
*/
|
|
173
|
-
const appendUrlParams = appendUrlParams$1;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @since 1.0.0
|
|
177
|
-
* @category combinators
|
|
178
|
-
*/
|
|
179
|
-
const setBody = setBody$1;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @since 1.0.0
|
|
183
|
-
* @category combinators
|
|
184
|
-
*/
|
|
185
|
-
const uint8ArrayBody = uint8ArrayBody$1;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @since 1.0.0
|
|
189
|
-
* @category combinators
|
|
190
|
-
*/
|
|
191
|
-
const textBody = textBody$1;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @since 1.0.0
|
|
195
|
-
* @category combinators
|
|
196
|
-
*/
|
|
197
|
-
const jsonBody = jsonBody$1;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* @since 1.0.0
|
|
201
|
-
* @category combinators
|
|
202
|
-
*/
|
|
203
|
-
const unsafeJsonBody = unsafeJsonBody$1;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @since 1.0.0
|
|
207
|
-
* @category combinators
|
|
208
|
-
*/
|
|
209
|
-
const schemaBody = schemaBody$1;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* @since 1.0.0
|
|
213
|
-
* @category combinators
|
|
214
|
-
*/
|
|
215
|
-
const urlParamsBody = urlParamsBody$1;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* @since 1.0.0
|
|
219
|
-
* @category combinators
|
|
220
|
-
*/
|
|
221
|
-
const formDataBody = formDataBody$1;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @since 1.0.0
|
|
225
|
-
* @category combinators
|
|
226
|
-
*/
|
|
227
|
-
const streamBody = streamBody$1;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* @since 1.0.0
|
|
231
|
-
* @category combinators
|
|
232
|
-
*/
|
|
233
|
-
const fileBody = fileBody$1;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* @since 1.0.0
|
|
237
|
-
* @category combinators
|
|
238
|
-
*/
|
|
239
|
-
const fileWebBody = fileWebBody$1;
|
|
240
|
-
|
|
241
|
-
export { TypeId, accept, acceptJson, appendUrl, appendUrlParam, appendUrlParams, basicAuth, bearerToken, del, fileBody, fileWebBody, formDataBody, get, head, jsonBody, make, modify, options, patch, post, prependUrl, put, schemaBody, setBody, setHeader, setHeaders, setMethod, setUrl, setUrlParam, setUrlParams, streamBody, textBody, uint8ArrayBody, unsafeJsonBody, updateUrl, urlParamsBody };
|
|
1
|
+
import '../../../dist/clientRequest-1e9e0b0d.esm.js';
|
|
2
|
+
export { T as TypeId, k as accept, l as acceptJson, r as appendUrl, w as appendUrlParam, x as appendUrlParams, i as basicAuth, j as bearerToken, d as del, I as fileBody, J as fileWebBody, G as formDataBody, g as get, h as head, B as jsonBody, m as make, c as modify, o as options, a as patch, p as post, q as prependUrl, b as put, E as schemaBody, y as setBody, e as setHeader, f as setHeaders, s as setMethod, n as setUrl, t as setUrlParam, v as setUrlParams, H as streamBody, A as textBody, z as uint8ArrayBody, D as unsafeJsonBody, u as updateUrl, F as urlParamsBody } from '../../../dist/ClientRequest-fc429335.esm.js';
|
|
3
|
+
import 'effect/Effect';
|
|
4
|
+
import 'effect/Function';
|
|
5
|
+
import 'effect/Pipeable';
|
|
6
|
+
import '../../../dist/Headers-58b56a08.esm.js';
|
|
7
|
+
import 'effect/ReadonlyArray';
|
|
8
|
+
import 'effect/ReadonlyRecord';
|
|
9
|
+
import '../../../dist/UrlParams-1286c728.esm.js';
|
|
10
|
+
import 'effect/Chunk';
|
|
11
|
+
import '../../../dist/body-20d78ec1.esm.js';
|
|
12
|
+
import '@effect/schema/Schema';
|
|
13
|
+
import 'effect/Data';
|
|
14
|
+
import 'effect/Stream';
|
|
15
|
+
import '../../../dist/FileSystem-7e31dccd.esm.js';
|
|
16
|
+
import 'effect/Brand';
|
|
17
|
+
import 'effect/Context';
|
|
18
|
+
import 'effect/Option';
|
|
19
|
+
import 'effect/Sink';
|
|
20
|
+
import '../../../dist/Error-3099667c.esm.js';
|