@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,200 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @since 1.0.0
|
|
18
|
-
* @category models
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @since 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Configures the pipe that is established between the parent and child
|
|
27
|
-
* processes' `stdin` stream.
|
|
28
|
-
*
|
|
29
|
-
* @since 1.0.0
|
|
30
|
-
* @category models
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Configures the pipes that are established between the parent and child
|
|
35
|
-
* processes `stderr` and `stdout` streams.
|
|
36
|
-
*
|
|
37
|
-
* @since 1.0.0
|
|
38
|
-
* @category models
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @since 1.0.0
|
|
43
|
-
* @category models
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
* @category models
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Returns `true` if the specified value is a `Command`, otherwise returns
|
|
53
|
-
* `false`.
|
|
54
|
-
*
|
|
55
|
-
* @since 1.0.0
|
|
56
|
-
* @category refinements
|
|
57
|
-
*/
|
|
58
|
-
const isCommand = isCommand$1;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Specify the environment variables that will be used when running this command.
|
|
62
|
-
*
|
|
63
|
-
* @since 1.0.0
|
|
64
|
-
* @category combinators
|
|
65
|
-
*/
|
|
66
|
-
const env = env$1;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Returns the exit code of the command after the process has completed
|
|
70
|
-
* execution.
|
|
71
|
-
*
|
|
72
|
-
* @since 1.0.0
|
|
73
|
-
* @category execution
|
|
74
|
-
*/
|
|
75
|
-
const exitCode = exitCode$1;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Feed a string to standard input (default encoding of UTF-8).
|
|
79
|
-
*
|
|
80
|
-
* @since 1.0.0
|
|
81
|
-
* @category combinators
|
|
82
|
-
*/
|
|
83
|
-
const feed = feed$1;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Flatten this command to a non-empty array of standard commands.
|
|
87
|
-
*
|
|
88
|
-
* * For a `StandardCommand`, this simply returns a `1` element array
|
|
89
|
-
* * For a `PipedCommand`, all commands in the pipe will be extracted out into
|
|
90
|
-
* a array from left to right
|
|
91
|
-
*
|
|
92
|
-
* @since 1.0.0
|
|
93
|
-
* @category combinators
|
|
94
|
-
*/
|
|
95
|
-
const flatten = flatten$1;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Runs the command returning the output as an array of lines with the specified
|
|
99
|
-
* encoding.
|
|
100
|
-
*
|
|
101
|
-
* @since 1.0.0
|
|
102
|
-
* @category execution
|
|
103
|
-
*/
|
|
104
|
-
const lines = lines$1;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Create a command with the specified process name and an optional list of
|
|
108
|
-
* arguments.
|
|
109
|
-
*
|
|
110
|
-
* @since 1.0.0
|
|
111
|
-
* @category constructors
|
|
112
|
-
*/
|
|
113
|
-
const make = make$1;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Pipe one command to another command from left to right.
|
|
117
|
-
*
|
|
118
|
-
* Conceptually, the equivalent of piping one shell command to another:
|
|
119
|
-
*
|
|
120
|
-
* ```sh
|
|
121
|
-
* command1 | command2
|
|
122
|
-
* ```
|
|
123
|
-
*
|
|
124
|
-
* @since 1.0.0
|
|
125
|
-
* @category combinators
|
|
126
|
-
*/
|
|
127
|
-
const pipeTo = pipeTo$1;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Start running the command and return a handle to the running process.
|
|
131
|
-
*
|
|
132
|
-
* @since 1.0.0
|
|
133
|
-
* @category execution
|
|
134
|
-
*/
|
|
135
|
-
const start = start$1;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Start running the command and return the output as a `Stream`.
|
|
139
|
-
*
|
|
140
|
-
* @since 1.0.0
|
|
141
|
-
* @category execution
|
|
142
|
-
*/
|
|
143
|
-
const stream = stream$1;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Runs the command returning the output as an stream of lines with the
|
|
147
|
-
* specified encoding.
|
|
148
|
-
*
|
|
149
|
-
* @since 1.0.0
|
|
150
|
-
* @category execution
|
|
151
|
-
*/
|
|
152
|
-
const streamLines = streamLines$1;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Runs the command returning the entire output as a string with the
|
|
156
|
-
* specified encoding.
|
|
157
|
-
*
|
|
158
|
-
* If an encoding is not specified, the encoding will default to `utf-8`.
|
|
159
|
-
*
|
|
160
|
-
* @since 1.0.0
|
|
161
|
-
* @category execution
|
|
162
|
-
*/
|
|
163
|
-
const string = string$1;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Specify the standard error stream for a command.
|
|
167
|
-
*
|
|
168
|
-
* @since 1.0.0
|
|
169
|
-
* @category combinators
|
|
170
|
-
*/
|
|
171
|
-
const stderr = stderr$1;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Specify the standard input stream for a command.
|
|
175
|
-
*
|
|
176
|
-
* @since 1.0.0
|
|
177
|
-
* @category combinators
|
|
178
|
-
*/
|
|
179
|
-
const stdin = stdin$1;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Specify the standard output stream for a command.
|
|
183
|
-
*
|
|
184
|
-
* @since 1.0.0
|
|
185
|
-
* @category combinators
|
|
186
|
-
*/
|
|
187
|
-
const stdout = stdout$1;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Set the working directory that will be used when this command will be run.
|
|
191
|
-
*
|
|
192
|
-
* For piped commands, the working directory of each command will be set to the
|
|
193
|
-
* specified working directory.
|
|
194
|
-
*
|
|
195
|
-
* @since 1.0.0
|
|
196
|
-
* @category combinators
|
|
197
|
-
*/
|
|
198
|
-
const workingDirectory = workingDirectory$1;
|
|
199
|
-
|
|
200
|
-
export { CommandTypeId, env, exitCode, feed, flatten, isCommand, lines, make, pipeTo, start, stderr, stdin, stdout, stream, streamLines, string, workingDirectory };
|
|
1
|
+
export { a as CommandTypeId, e as env, b as exitCode, f as feed, c as flatten, i as isCommand, l as lines, m as make, p as pipeTo, s as start, j as stderr, k as stdin, n as stdout, d as stream, g as streamLines, h as string, w as workingDirectory } from '../../dist/Command-d8ab0c8d.esm.js';
|
|
2
|
+
import 'effect/Chunk';
|
|
3
|
+
import 'effect/Effect';
|
|
4
|
+
import 'effect/Function';
|
|
5
|
+
import 'effect/HashMap';
|
|
6
|
+
import 'effect/Option';
|
|
7
|
+
import 'effect/Pipeable';
|
|
8
|
+
import 'effect/Stream';
|
|
9
|
+
import '../../dist/commandExecutor-d6457489.esm.js';
|
|
10
|
+
import 'effect/Brand';
|
|
11
|
+
import 'effect/Context';
|
|
12
|
+
import 'effect/Sink';
|
|
@@ -1,71 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
* @category tags
|
|
15
|
-
*/
|
|
16
|
-
const CommandExecutor = CommandExecutor$2;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category symbols
|
|
21
|
-
*/
|
|
22
|
-
const ProcessTypeId = ProcessTypeId$1;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category symbols
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @since 1.0.0
|
|
31
|
-
* @category models
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @since 1.0.0
|
|
36
|
-
* @category models
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @since 1.0.0
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
* @category models
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category models
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @since 1.0.0
|
|
55
|
-
* @category constructors
|
|
56
|
-
*/
|
|
57
|
-
const ExitCode = ExitCode$1;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @since 1.0.0
|
|
61
|
-
* @category constructors
|
|
62
|
-
*/
|
|
63
|
-
const ProcessId = ProcessId$1;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @since 1.0.0
|
|
67
|
-
* @category constructors
|
|
68
|
-
*/
|
|
69
|
-
const makeExecutor = makeExecutor$1;
|
|
70
|
-
|
|
71
|
-
export { CommandExecutor, ExitCode, ProcessId, ProcessTypeId, makeExecutor };
|
|
1
|
+
import '../../dist/commandExecutor-d6457489.esm.js';
|
|
2
|
+
export { a as CommandExecutor, E as ExitCode, b as ProcessId, P as ProcessTypeId, m as makeExecutor } from '../../dist/CommandExecutor-5807b66b.esm.js';
|
|
3
|
+
import 'effect/Brand';
|
|
4
|
+
import 'effect/Chunk';
|
|
5
|
+
import 'effect/Context';
|
|
6
|
+
import 'effect/Effect';
|
|
7
|
+
import 'effect/Function';
|
|
8
|
+
import 'effect/Sink';
|
|
9
|
+
import 'effect/Stream';
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Converts a callback-based function to a function that returns an `Effect`.
|
|
9
|
-
*
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @category util
|
|
15
|
-
* @since 1.0.0
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
*/
|
|
21
|
-
const effectify = effectify$1;
|
|
22
|
-
|
|
23
|
-
export { effectify };
|
|
1
|
+
export { e as effectify } from '../../dist/Effectify-e5a9d266.esm.js';
|
|
2
|
+
import 'effect/Effect';
|
|
@@ -1,54 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category type id
|
|
10
|
-
*/
|
|
11
|
-
const PlatformErrorTypeId = PlatformErrorTypeId$1;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category type id
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category error
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @since 1.0.0
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @category error
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @category error
|
|
35
|
-
*/
|
|
36
|
-
const BadArgument = badArgument;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category model
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
* @category models
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category error
|
|
51
|
-
*/
|
|
52
|
-
const SystemError = systemError;
|
|
53
|
-
|
|
54
|
-
export { BadArgument, PlatformErrorTypeId, SystemError };
|
|
1
|
+
export { B as BadArgument, P as PlatformErrorTypeId, S as SystemError } from '../../dist/Error-3099667c.esm.js';
|
|
2
|
+
import 'effect/Data';
|
|
@@ -1,177 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Represents a size in bytes.
|
|
15
|
-
*
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
* @category sizes
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Represents a size in bytes.
|
|
22
|
-
*
|
|
23
|
-
* @since 1.0.0
|
|
24
|
-
* @category sizes
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @category sizes
|
|
30
|
-
*/
|
|
31
|
-
const Size = Size$1;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @since 1.0.0
|
|
35
|
-
* @category sizes
|
|
36
|
-
*/
|
|
37
|
-
const KiB = KiB$1;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @since 1.0.0
|
|
41
|
-
* @category sizes
|
|
42
|
-
*/
|
|
43
|
-
const MiB = MiB$1;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @since 1.0.0
|
|
47
|
-
* @category sizes
|
|
48
|
-
*/
|
|
49
|
-
const GiB = GiB$1;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @since 1.0.0
|
|
53
|
-
* @category sizes
|
|
54
|
-
*/
|
|
55
|
-
const TiB = TiB$1;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @since 1.0.0
|
|
59
|
-
* @category sizes
|
|
60
|
-
*/
|
|
61
|
-
const PiB = PiB$1;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @since 1.0.0
|
|
65
|
-
* @category model
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @since 1.0.0
|
|
70
|
-
* @category options
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @since 1.0.0
|
|
75
|
-
* @category options
|
|
76
|
-
*/
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @since 1.0.0
|
|
80
|
-
* @category options
|
|
81
|
-
*/
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @since 1.0.0
|
|
85
|
-
* @category options
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @since 1.0.0
|
|
90
|
-
* @category options
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @since 1.0.0
|
|
95
|
-
* @category options
|
|
96
|
-
*/
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @since 1.0.0
|
|
100
|
-
* @category options
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @since 1.0.0
|
|
105
|
-
* @category options
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @since 1.0.0
|
|
110
|
-
* @category options
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @since 1.0.0
|
|
115
|
-
* @category options
|
|
116
|
-
*/
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @since 1.0.0
|
|
120
|
-
* @category options
|
|
121
|
-
*/
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* @since 1.0.0
|
|
125
|
-
* @category options
|
|
126
|
-
*/
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @since 1.0.0
|
|
130
|
-
* @category tag
|
|
131
|
-
*/
|
|
132
|
-
const FileSystem = tag;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @since 1.0.0
|
|
136
|
-
* @category constructor
|
|
137
|
-
*/
|
|
138
|
-
const make = make$1;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @since 1.0.0
|
|
142
|
-
* @category type id
|
|
143
|
-
*/
|
|
144
|
-
const FileTypeId = /*#__PURE__*/Symbol.for("@effect/platform/FileSystem/File");
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @since 1.0.0
|
|
148
|
-
* @category type id
|
|
149
|
-
*/
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @since 1.0.0
|
|
153
|
-
* @category guard
|
|
154
|
-
*/
|
|
155
|
-
const isFile = u => typeof u === "object" && u !== null && FileTypeId in u;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @since 1.0.0
|
|
159
|
-
* @category model
|
|
160
|
-
*/
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @since 1.0.0
|
|
164
|
-
*/
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @since 1.0.0
|
|
168
|
-
* @category constructor
|
|
169
|
-
*/
|
|
170
|
-
const FileDescriptor = /*#__PURE__*/Brand.nominal();
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* @since 1.0.0
|
|
174
|
-
* @category model
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
|
-
export { FileDescriptor, FileSystem, FileTypeId, GiB, KiB, MiB, PiB, Size, TiB, isFile, make };
|
|
1
|
+
import 'effect/Brand';
|
|
2
|
+
export { c as FileDescriptor, a as FileSystem, b as FileTypeId, G as GiB, K as KiB, M as MiB, P as PiB, S as Size, T as TiB, i as isFile, m as make } from '../../dist/FileSystem-7e31dccd.esm.js';
|
|
3
|
+
import 'effect/Context';
|
|
4
|
+
import 'effect/Effect';
|
|
5
|
+
import 'effect/Function';
|
|
6
|
+
import 'effect/Option';
|
|
7
|
+
import 'effect/Sink';
|
|
8
|
+
import 'effect/Stream';
|
|
9
|
+
import '../../dist/Error-3099667c.esm.js';
|
|
10
|
+
import 'effect/Data';
|