@effect/platform 0.18.3 → 0.18.5
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 -0
- package/Http/Client/dist/effect-platform-Http-Client.esm.js +28 -0
- package/Http/ClientError/dist/effect-platform-Http-ClientError.esm.js +3 -0
- package/Http/ClientRequest/dist/effect-platform-Http-ClientRequest.esm.js +20 -0
- package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.esm.js +23 -0
- package/Http/{Http/Etag → Etag}/dist/effect-platform-Http-Etag.esm.js +17 -1
- package/Http/FormData/dist/effect-platform-Http-FormData.esm.js +17 -0
- package/Http/Headers/dist/effect-platform-Http-Headers.esm.js +4 -0
- package/Http/{Http/IncomingMessage → IncomingMessage}/dist/effect-platform-Http-IncomingMessage.esm.js +6 -1
- package/Http/Middleware/dist/effect-platform-Http-Middleware.esm.js +30 -0
- package/{internal/http/platform.esm.js → Http/Platform/dist/effect-platform-Http-Platform.esm.js} +44 -7
- package/Http/Router/dist/effect-platform-Http-Router.esm.js +25 -0
- package/Http/{Http/Server → Server}/dist/effect-platform-Http-Server.esm.js +18 -1
- package/Http/ServerError/dist/effect-platform-Http-ServerError.esm.js +2 -0
- package/Http/ServerRequest/dist/effect-platform-Http-ServerRequest.esm.js +21 -0
- package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.esm.js +21 -0
- package/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js +4 -0
- package/HttpClient/dist/effect-platform-HttpClient.esm.js +32 -18
- package/HttpServer/dist/effect-platform-HttpServer.esm.js +36 -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/{Http/Http/Body/dist/effect-platform-Http-Body.esm.js → dist/Body-ec1353f9.esm.js} +21 -2
- package/dist/Client-52ebd74a.esm.js +346 -0
- package/{Http/Http/ClientError/dist/effect-platform-Http-ClientError.esm.js → dist/ClientError-98b5da8c.esm.js} +9 -2
- package/{Http/Http/ClientRequest/dist/effect-platform-Http-ClientRequest.esm.js → dist/ClientRequest-fc429335.esm.js} +42 -2
- package/dist/ClientResponse-9f276554.esm.js +46 -0
- 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/{Http/Http/Headers/dist/effect-platform-Http-Headers.esm.js → dist/Headers-58b56a08.esm.js} +12 -1
- package/dist/HttpClient-27710864.esm.js +24 -0
- package/dist/HttpServer-e1d88a1c.esm.js +30 -0
- package/{internal/keyValueStore.esm.js → dist/KeyValueStore-2f9a70bf.esm.js} +102 -15
- package/dist/Middleware-27760041.esm.js +105 -0
- 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-675e9456.esm.js +249 -0
- package/{Http/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js → dist/UrlParams-1286c728.esm.js} +14 -1
- 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/{internal/http/clientResponse.esm.js → dist/clientResponse-ce25dbf3.esm.js} +5 -5
- package/{internal/commandExecutor.esm.js → dist/commandExecutor-d6457489.esm.js} +1 -1
- package/dist/effect-platform.esm.js +58 -20
- package/package.json +1 -2
- package/Http/Http/Client/dist/effect-platform-Http-Client.esm.js +0 -164
- package/Http/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.esm.js +0 -36
- package/Http/Http/FormData/dist/effect-platform-Http-FormData.esm.js +0 -155
- package/Http/Http/Middleware/dist/effect-platform-Http-Middleware.esm.js +0 -52
- package/Http/Http/Platform/dist/effect-platform-Http-Platform.esm.js +0 -34
- package/Http/Http/Router/dist/effect-platform-Http-Router.esm.js +0 -224
- package/Http/Http/ServerError/dist/effect-platform-Http-ServerError.esm.js +0 -70
- package/Http/Http/ServerRequest/dist/effect-platform-Http-ServerRequest.esm.js +0 -66
- package/Http/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.esm.js +0 -126
- 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/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
- /package/Http/{Http/App → App}/dist/effect-platform-Http-App.esm.js +0 -0
- /package/Http/{Http/Method → Method}/dist/effect-platform-Http-Method.esm.js +0 -0
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { TypeId as TypeId$1, ErrorTypeId as ErrorTypeId$1, FormDataError as FormDataError$1, maxParts as maxParts$1, withMaxParts as withMaxParts$1, maxFields as maxFields$1, withMaxFields as withMaxFields$1, maxFieldSize as maxFieldSize$1, withMaxFieldSize as withMaxFieldSize$1, maxFiles as maxFiles$1, withMaxFiles as withMaxFiles$1, maxFileSize as maxFileSize$1, withMaxFileSize as withMaxFileSize$1, fieldMimeTypes as fieldMimeTypes$1, withFieldMimeTypes as withFieldMimeTypes$1, toRecord as toRecord$1, filesSchema as filesSchema$1, schemaJson as schemaJson$1, schemaRecord as schemaRecord$1 } from '../../../../internal/http/formData.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category type ids
|
|
10
|
-
*/
|
|
11
|
-
const TypeId = TypeId$1;
|
|
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 models
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @category models
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @since 1.0.0
|
|
39
|
-
* @category type ids
|
|
40
|
-
*/
|
|
41
|
-
const ErrorTypeId = ErrorTypeId$1;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
* @category type ids
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category errors
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @since 1.0.0
|
|
55
|
-
* @category errors
|
|
56
|
-
*/
|
|
57
|
-
const FormDataError = FormDataError$1;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @since 1.0.0
|
|
61
|
-
* @category fiber refs
|
|
62
|
-
*/
|
|
63
|
-
const maxParts = maxParts$1;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @since 1.0.0
|
|
67
|
-
* @category fiber refs
|
|
68
|
-
*/
|
|
69
|
-
const withMaxParts = withMaxParts$1;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @since 1.0.0
|
|
73
|
-
* @category fiber refs
|
|
74
|
-
*/
|
|
75
|
-
const maxFields = maxFields$1;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @since 1.0.0
|
|
79
|
-
* @category fiber refs
|
|
80
|
-
*/
|
|
81
|
-
const withMaxFields = withMaxFields$1;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @since 1.0.0
|
|
85
|
-
* @category fiber refs
|
|
86
|
-
*/
|
|
87
|
-
const maxFieldSize = maxFieldSize$1;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @since 1.0.0
|
|
91
|
-
* @category fiber refs
|
|
92
|
-
*/
|
|
93
|
-
const withMaxFieldSize = withMaxFieldSize$1;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @since 1.0.0
|
|
97
|
-
* @category fiber refs
|
|
98
|
-
*/
|
|
99
|
-
const maxFiles = maxFiles$1;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @since 1.0.0
|
|
103
|
-
* @category fiber refs
|
|
104
|
-
*/
|
|
105
|
-
const withMaxFiles = withMaxFiles$1;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @since 1.0.0
|
|
109
|
-
* @category fiber refs
|
|
110
|
-
*/
|
|
111
|
-
const maxFileSize = maxFileSize$1;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @since 1.0.0
|
|
115
|
-
* @category fiber refs
|
|
116
|
-
*/
|
|
117
|
-
const withMaxFileSize = withMaxFileSize$1;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @since 1.0.0
|
|
121
|
-
* @category fiber refs
|
|
122
|
-
*/
|
|
123
|
-
const fieldMimeTypes = fieldMimeTypes$1;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @since 1.0.0
|
|
127
|
-
* @category fiber refs
|
|
128
|
-
*/
|
|
129
|
-
const withFieldMimeTypes = withFieldMimeTypes$1;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @since 1.0.0
|
|
133
|
-
* @category conversions
|
|
134
|
-
*/
|
|
135
|
-
const toRecord = toRecord$1;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @since 1.0.0
|
|
139
|
-
* @category schema
|
|
140
|
-
*/
|
|
141
|
-
const filesSchema = filesSchema$1;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @since 1.0.0
|
|
145
|
-
* @category schema
|
|
146
|
-
*/
|
|
147
|
-
const schemaJson = schemaJson$1;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @since 1.0.0
|
|
151
|
-
* @category schema
|
|
152
|
-
*/
|
|
153
|
-
const schemaRecord = schemaRecord$1;
|
|
154
|
-
|
|
155
|
-
export { ErrorTypeId, FormDataError, TypeId, fieldMimeTypes, filesSchema, maxFieldSize, maxFields, maxFileSize, maxFiles, maxParts, schemaJson, schemaRecord, toRecord, withFieldMimeTypes, withMaxFieldSize, withMaxFields, withMaxFileSize, withMaxFiles, withMaxParts };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { make as make$1, b3Response as b3Response$1, logger as logger$1, tracer as tracer$1, loggerTracer as loggerTracer$1, xForwardedHeaders as xForwardedHeaders$1 } from '../../../../internal/http/middleware.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category models
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @since 1.0.0
|
|
18
|
-
* @category constructors
|
|
19
|
-
*/
|
|
20
|
-
const make = make$1;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @since 1.0.0
|
|
24
|
-
* @category constructors
|
|
25
|
-
*/
|
|
26
|
-
const b3Response = b3Response$1;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @since 1.0.0
|
|
30
|
-
* @category constructors
|
|
31
|
-
*/
|
|
32
|
-
const logger = logger$1;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @since 1.0.0
|
|
36
|
-
* @category constructors
|
|
37
|
-
*/
|
|
38
|
-
const tracer = tracer$1;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @since 1.0.0
|
|
42
|
-
* @category constructors
|
|
43
|
-
*/
|
|
44
|
-
const loggerTracer = loggerTracer$1;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
* @category constructors
|
|
49
|
-
*/
|
|
50
|
-
const xForwardedHeaders = xForwardedHeaders$1;
|
|
51
|
-
|
|
52
|
-
export { b3Response, logger, loggerTracer, make, tracer, xForwardedHeaders };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { TypeId as TypeId$1, tag, make as make$1 } from '../../../../internal/http/platform.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @since 1.0.0
|
|
8
|
-
* @category type ids
|
|
9
|
-
*/
|
|
10
|
-
const TypeId = TypeId$1;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
* @category type ids
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
* @category tags
|
|
20
|
-
*/
|
|
21
|
-
const Platform = tag;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @since 1.0.0
|
|
25
|
-
* @category models
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @since 1.0.0
|
|
30
|
-
* @category constructors
|
|
31
|
-
*/
|
|
32
|
-
const make = make$1;
|
|
33
|
-
|
|
34
|
-
export { Platform, TypeId, make };
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import { TypeId as TypeId$1, RouteTypeId as RouteTypeId$1, RouteContextTypeId as RouteContextTypeId$1, RouteContext as RouteContext$1, params as params$1, searchParams as searchParams$1, schemaParams as schemaParams$1, empty as empty$1, fromIterable as fromIterable$1, makeRoute as makeRoute$1, prefixAll as prefixAll$1, concat as concat$1, mount as mount$1, mountApp as mountApp$1, route as route$1, all as all$1, get as get$1, post as post$1, patch as patch$1, put as put$1, del as del$1, head as head$1, options as options$1, use as use$1, catchAll as catchAll$1, catchAllCause as catchAllCause$1, catchTag as catchTag$1, catchTags as catchTags$1, provideService as provideService$1, provideServiceEffect as provideServiceEffect$1 } from '../../../../internal/http/router.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @since 1.0.0
|
|
8
|
-
* @category type ids
|
|
9
|
-
*/
|
|
10
|
-
const TypeId = TypeId$1;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
* @category type ids
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
* @category models
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @since 1.0.0
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @since 1.0.0
|
|
28
|
-
* @category type ids
|
|
29
|
-
*/
|
|
30
|
-
const RouteTypeId = RouteTypeId$1;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @category type ids
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @since 1.0.0
|
|
39
|
-
* @category models
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
* @category type ids
|
|
49
|
-
*/
|
|
50
|
-
const RouteContextTypeId = RouteContextTypeId$1;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @since 1.0.0
|
|
54
|
-
* @category type ids
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @since 1.0.0
|
|
59
|
-
* @category models
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @since 1.0.0
|
|
64
|
-
* @category route context
|
|
65
|
-
*/
|
|
66
|
-
const RouteContext = RouteContext$1;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @since 1.0.0
|
|
70
|
-
* @category route context
|
|
71
|
-
*/
|
|
72
|
-
const params = params$1;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @since 1.0.0
|
|
76
|
-
* @category route context
|
|
77
|
-
*/
|
|
78
|
-
const searchParams = searchParams$1;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @since 1.0.0
|
|
82
|
-
* @category route context
|
|
83
|
-
*/
|
|
84
|
-
const schemaParams = schemaParams$1;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @since 1.0.0
|
|
88
|
-
* @category constructors
|
|
89
|
-
*/
|
|
90
|
-
const empty = empty$1;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @since 1.0.0
|
|
94
|
-
* @category constructors
|
|
95
|
-
*/
|
|
96
|
-
const fromIterable = fromIterable$1;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @since 1.0.0
|
|
100
|
-
* @category constructors
|
|
101
|
-
*/
|
|
102
|
-
const makeRoute = makeRoute$1;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @since 1.0.0
|
|
106
|
-
* @category combinators
|
|
107
|
-
*/
|
|
108
|
-
const prefixAll = prefixAll$1;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @since 1.0.0
|
|
112
|
-
* @category combinators
|
|
113
|
-
*/
|
|
114
|
-
const concat = concat$1;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @since 1.0.0
|
|
118
|
-
* @category routing
|
|
119
|
-
*/
|
|
120
|
-
const mount = mount$1;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @since 1.0.0
|
|
124
|
-
* @category routing
|
|
125
|
-
*/
|
|
126
|
-
const mountApp = mountApp$1;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @since 1.0.0
|
|
130
|
-
* @category routing
|
|
131
|
-
*/
|
|
132
|
-
const route = route$1;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @since 1.0.0
|
|
136
|
-
* @category routing
|
|
137
|
-
*/
|
|
138
|
-
const all = all$1;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @since 1.0.0
|
|
142
|
-
* @category routing
|
|
143
|
-
*/
|
|
144
|
-
const get = get$1;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @since 1.0.0
|
|
148
|
-
* @category routing
|
|
149
|
-
*/
|
|
150
|
-
const post = post$1;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @since 1.0.0
|
|
154
|
-
* @category routing
|
|
155
|
-
*/
|
|
156
|
-
const patch = patch$1;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @since 1.0.0
|
|
160
|
-
* @category routing
|
|
161
|
-
*/
|
|
162
|
-
const put = put$1;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* @since 1.0.0
|
|
166
|
-
* @category routing
|
|
167
|
-
*/
|
|
168
|
-
const del = del$1;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* @since 1.0.0
|
|
172
|
-
* @category routing
|
|
173
|
-
*/
|
|
174
|
-
const head = head$1;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @since 1.0.0
|
|
178
|
-
* @category routing
|
|
179
|
-
*/
|
|
180
|
-
const options = options$1;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @since 1.0.0
|
|
184
|
-
* @category combinators
|
|
185
|
-
*/
|
|
186
|
-
const use = use$1;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @since 1.0.0
|
|
190
|
-
* @category combinators
|
|
191
|
-
*/
|
|
192
|
-
const catchAll = catchAll$1;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* @since 1.0.0
|
|
196
|
-
* @category combinators
|
|
197
|
-
*/
|
|
198
|
-
const catchAllCause = catchAllCause$1;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @since 1.0.0
|
|
202
|
-
* @category combinators
|
|
203
|
-
*/
|
|
204
|
-
const catchTag = catchTag$1;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* @since 1.0.0
|
|
208
|
-
* @category combinators
|
|
209
|
-
*/
|
|
210
|
-
const catchTags = catchTags$1;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* @since 1.0.0
|
|
214
|
-
* @category combinators
|
|
215
|
-
*/
|
|
216
|
-
const provideService = provideService$1;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @since 1.0.0
|
|
220
|
-
* @category combinators
|
|
221
|
-
*/
|
|
222
|
-
const provideServiceEffect = provideServiceEffect$1;
|
|
223
|
-
|
|
224
|
-
export { RouteContext, RouteContextTypeId, RouteTypeId, TypeId, all, catchAll, catchAllCause, catchTag, catchTags, concat, del, empty, fromIterable, get, head, makeRoute, mount, mountApp, options, params, patch, post, prefixAll, provideService, provideServiceEffect, put, route, schemaParams, searchParams, use };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { TypeId as TypeId$1, requestError, routeNotFound, responseError, serveError } from '../../../../internal/http/serverError.esm.js';
|
|
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 RouteNotFound = routeNotFound;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category error
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @since 1.0.0
|
|
55
|
-
* @category error
|
|
56
|
-
*/
|
|
57
|
-
const ResponseError = responseError;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @since 1.0.0
|
|
61
|
-
* @category error
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @since 1.0.0
|
|
66
|
-
* @category error
|
|
67
|
-
*/
|
|
68
|
-
const ServeError = serveError;
|
|
69
|
-
|
|
70
|
-
export { RequestError, ResponseError, RouteNotFound, ServeError, TypeId };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { TypeId as TypeId$1, serverRequestTag, formDataRecord as formDataRecord$1, schemaHeaders as schemaHeaders$1, schemaBodyJson as schemaBodyJson$1, schemaBodyUrlParams as schemaBodyUrlParams$1, schemaFormData as schemaFormData$1, schemaFormDataJson as schemaFormDataJson$1 } from '../../../../internal/http/serverRequest.esm.js';
|
|
2
|
-
export { maxBodySize } from '../../IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @since 1.0.0
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @since 1.0.0
|
|
10
|
-
* @category type ids
|
|
11
|
-
*/
|
|
12
|
-
const TypeId = TypeId$1;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @since 1.0.0
|
|
16
|
-
* @category type ids
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @since 1.0.0
|
|
21
|
-
* @category models
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category context
|
|
27
|
-
*/
|
|
28
|
-
const ServerRequest = serverRequestTag;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @since 1.0.0
|
|
32
|
-
* @category accessors
|
|
33
|
-
*/
|
|
34
|
-
const formDataRecord = formDataRecord$1;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @since 1.0.0
|
|
38
|
-
* @category schema
|
|
39
|
-
*/
|
|
40
|
-
const schemaHeaders = schemaHeaders$1;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
* @category schema
|
|
45
|
-
*/
|
|
46
|
-
const schemaBodyJson = schemaBodyJson$1;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category schema
|
|
51
|
-
*/
|
|
52
|
-
const schemaBodyUrlParams = schemaBodyUrlParams$1;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @since 1.0.0
|
|
56
|
-
* @category schema
|
|
57
|
-
*/
|
|
58
|
-
const schemaFormData = schemaFormData$1;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @since 1.0.0
|
|
62
|
-
* @category schema
|
|
63
|
-
*/
|
|
64
|
-
const schemaFormDataJson = schemaFormDataJson$1;
|
|
65
|
-
|
|
66
|
-
export { ServerRequest, TypeId, formDataRecord, schemaBodyJson, schemaBodyUrlParams, schemaFormData, schemaFormDataJson, schemaHeaders };
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { isServerResponse as isServerResponse$1, empty as empty$1, uint8Array as uint8Array$1, text as text$1, json as json$1, schemaJson as schemaJson$1, unsafeJson as unsafeJson$1, urlParams as urlParams$1, raw as raw$1, formData as formData$1, stream as stream$1, file as file$1, fileWeb as fileWeb$1, setHeader as setHeader$1, setHeaders as setHeaders$1, setBody as setBody$1 } from '../../../../internal/http/serverResponse.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @since 1.0.0
|
|
8
|
-
* @category type ids
|
|
9
|
-
*/
|
|
10
|
-
const TypeId = /*#__PURE__*/Symbol.for("@effect/platform/Http/ServerResponse");
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @since 1.0.0
|
|
14
|
-
* @category type ids
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
* @category models
|
|
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
|
-
*/
|
|
34
|
-
const isServerResponse = isServerResponse$1;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @since 1.0.0
|
|
38
|
-
* @category constructors
|
|
39
|
-
*/
|
|
40
|
-
const empty = empty$1;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
* @category constructors
|
|
45
|
-
*/
|
|
46
|
-
const uint8Array = uint8Array$1;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @since 1.0.0
|
|
50
|
-
* @category constructors
|
|
51
|
-
*/
|
|
52
|
-
const text = text$1;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @since 1.0.0
|
|
56
|
-
* @category constructors
|
|
57
|
-
*/
|
|
58
|
-
const json = json$1;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @since 1.0.0
|
|
62
|
-
* @category constructors
|
|
63
|
-
*/
|
|
64
|
-
const schemaJson = schemaJson$1;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @since 1.0.0
|
|
68
|
-
* @category constructors
|
|
69
|
-
*/
|
|
70
|
-
const unsafeJson = unsafeJson$1;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @since 1.0.0
|
|
74
|
-
* @category constructors
|
|
75
|
-
*/
|
|
76
|
-
const urlParams = urlParams$1;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @since 1.0.0
|
|
80
|
-
* @category constructors
|
|
81
|
-
*/
|
|
82
|
-
const raw = raw$1;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @since 1.0.0
|
|
86
|
-
* @category constructors
|
|
87
|
-
*/
|
|
88
|
-
const formData = formData$1;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @since 1.0.0
|
|
92
|
-
* @category constructors
|
|
93
|
-
*/
|
|
94
|
-
const stream = stream$1;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @since 1.0.0
|
|
98
|
-
* @category constructors
|
|
99
|
-
*/
|
|
100
|
-
const file = file$1;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @since 1.0.0
|
|
104
|
-
* @category constructors
|
|
105
|
-
*/
|
|
106
|
-
const fileWeb = fileWeb$1;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @since 1.0.0
|
|
110
|
-
* @category combinators
|
|
111
|
-
*/
|
|
112
|
-
const setHeader = setHeader$1;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @since 1.0.0
|
|
116
|
-
* @category combinators
|
|
117
|
-
*/
|
|
118
|
-
const setHeaders = setHeaders$1;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @since 1.0.0
|
|
122
|
-
* @category combinators
|
|
123
|
-
*/
|
|
124
|
-
const setBody = setBody$1;
|
|
125
|
-
|
|
126
|
-
export { TypeId, empty, file, fileWeb, formData, isServerResponse, json, raw, schemaJson, setBody, setHeader, setHeaders, stream, text, uint8Array, unsafeJson, urlParams };
|