@effect/platform-bun 0.7.1 → 0.7.3
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/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts +2 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts.map +1 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts +2 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts.map +1 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.dev.js +14 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.js +7 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.mjs +3 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.prod.js +14 -0
- package/BunContext/dist/effect-platform-bun-BunContext.esm.js +22 -0
- package/BunContext/package.json +4 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.mts +2 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.mts.map +1 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.ts +2 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.ts.map +1 -0
- package/Command/dist/effect-platform-bun-Command.cjs.dev.js +72 -0
- package/Command/dist/effect-platform-bun-Command.cjs.js +7 -0
- package/Command/dist/effect-platform-bun-Command.cjs.mjs +18 -0
- package/Command/dist/effect-platform-bun-Command.cjs.prod.js +72 -0
- package/Command/dist/effect-platform-bun-Command.esm.js +5 -0
- package/Command/package.json +4 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts +2 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts.map +1 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts +2 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts.map +1 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.dev.js +16 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.js +7 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.mjs +4 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.prod.js +16 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.esm.js +5 -0
- package/CommandExecutor/package.json +4 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts +2 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts.map +1 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts +2 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts.map +1 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.dev.js +12 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.js +7 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.mjs +3 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.prod.js +12 -0
- package/Effectify/dist/effect-platform-bun-Effectify.esm.js +5 -0
- package/Effectify/package.json +4 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.mts +2 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.mts.map +1 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.ts +2 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.ts.map +1 -0
- package/Error/dist/effect-platform-bun-Error.cjs.dev.js +28 -0
- package/Error/dist/effect-platform-bun-Error.cjs.js +7 -0
- package/Error/dist/effect-platform-bun-Error.cjs.mjs +7 -0
- package/Error/dist/effect-platform-bun-Error.cjs.prod.js +28 -0
- package/Error/dist/effect-platform-bun-Error.esm.js +5 -0
- package/Error/package.json +4 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts +2 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts.map +1 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts +2 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts.map +1 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.dev.js +20 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.js +7 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.mjs +5 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.prod.js +20 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.esm.js +5 -0
- package/FileSystem/package.json +4 -0
- package/Http/Http/Platform/dist/effect-platform-bun-Http-Platform.esm.js +22 -0
- package/Http/Http/Server/dist/effect-platform-bun-Http-Server.esm.js +29 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts +2 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts.map +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts +2 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts.map +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.dev.js +85 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.js +7 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.mjs +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.prod.js +85 -0
- package/Http/Platform/package.json +4 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts +2 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts.map +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts +2 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts.map +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.dev.js +39 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.js +7 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.mjs +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.prod.js +39 -0
- package/Http/Server/package.json +4 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts +2 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts.map +1 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts +2 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts.map +1 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.dev.js +47 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.js +7 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.mjs +9 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.prod.js +47 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.esm.js +18 -0
- package/HttpClient/package.json +4 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts +2 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts.map +1 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts +2 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts.map +1 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.dev.js +75 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.js +7 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.mjs +14 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.prod.js +75 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.esm.js +28 -0
- package/HttpServer/package.json +4 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts +2 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts.map +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts +2 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts.map +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.dev.js +19 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.js +7 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.mjs +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.prod.js +19 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.esm.js +9 -0
- package/KeyValueStore/package.json +4 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.mts +2 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.mts.map +1 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.ts +2 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.ts.map +1 -0
- package/Path/dist/effect-platform-bun-Path.cjs.dev.js +24 -0
- package/Path/dist/effect-platform-bun-Path.cjs.js +7 -0
- package/Path/dist/effect-platform-bun-Path.cjs.mjs +6 -0
- package/Path/dist/effect-platform-bun-Path.cjs.prod.js +24 -0
- package/Path/dist/effect-platform-bun-Path.esm.js +5 -0
- package/Path/package.json +4 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts +2 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts.map +1 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts +2 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts.map +1 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.dev.js +16 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.js +7 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.mjs +4 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.prod.js +16 -0
- package/Runtime/dist/effect-platform-bun-Runtime.esm.js +5 -0
- package/Runtime/package.json +4 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts +2 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts.map +1 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts +2 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts.map +1 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.dev.js +12 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.js +7 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.mjs +3 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.prod.js +12 -0
- package/Sink/dist/effect-platform-bun-Sink.esm.js +5 -0
- package/Sink/package.json +4 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts +2 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts.map +1 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts +2 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts.map +1 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +20 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.js +7 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.mjs +5 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +20 -0
- package/Stream/dist/effect-platform-bun-Stream.esm.js +5 -0
- package/Stream/package.json +4 -0
- package/dist/BunContext-3aacfc41.cjs.dev.js +50 -0
- package/dist/BunContext-af359ac7.cjs.prod.js +50 -0
- package/dist/Command-073352c2.cjs.dev.js +29 -0
- package/dist/Command-86aff121.cjs.prod.js +29 -0
- package/dist/CommandExecutor-79029a6f.cjs.prod.js +15 -0
- package/dist/CommandExecutor-9fdee39f.cjs.dev.js +15 -0
- package/dist/Effectify-1e2cf960.cjs.dev.js +14 -0
- package/dist/Effectify-583bea25.cjs.prod.js +14 -0
- package/dist/Error-06928f75.cjs.dev.js +18 -0
- package/dist/Error-77b41701.cjs.prod.js +18 -0
- package/dist/FileSystem-0f2d7096.cjs.prod.js +16 -0
- package/dist/FileSystem-3eb9e057.cjs.dev.js +16 -0
- package/dist/HttpClient-91ed29d7.cjs.dev.js +52 -0
- package/dist/HttpClient-a34271de.cjs.prod.js +52 -0
- package/dist/HttpServer-93d1b5e2.cjs.prod.js +66 -0
- package/dist/HttpServer-ae717a37.cjs.dev.js +66 -0
- package/dist/KeyValueStore-9e969cb3.cjs.dev.js +52 -0
- package/dist/KeyValueStore-ddd3d960.cjs.prod.js +52 -0
- package/dist/Path-49561a01.cjs.dev.js +17 -0
- package/dist/Path-9c4bff86.cjs.prod.js +17 -0
- package/dist/Runtime-399be72e.cjs.prod.js +15 -0
- package/dist/Runtime-ad8dde5f.cjs.dev.js +15 -0
- package/dist/Server-3766cdb3.cjs.dev.js +314 -0
- package/dist/Server-4fe393ab.cjs.prod.js +314 -0
- package/dist/Sink-0100d655.cjs.prod.js +14 -0
- package/dist/Sink-59df5de5.cjs.dev.js +14 -0
- package/dist/Stream-a7a516a8.cjs.dev.js +16 -0
- package/dist/Stream-d0a08460.cjs.prod.js +16 -0
- package/{BunContext.d.ts → dist/declarations/src/BunContext.d.ts} +3 -6
- package/dist/declarations/src/BunContext.d.ts.map +1 -0
- package/dist/declarations/src/Command.d.ts.map +1 -0
- package/dist/declarations/src/CommandExecutor.d.ts.map +1 -0
- package/dist/declarations/src/Effectify.d.ts.map +1 -0
- package/dist/declarations/src/Error.d.ts.map +1 -0
- package/dist/declarations/src/FileSystem.d.ts.map +1 -0
- package/{Http → dist/declarations/src/Http}/Platform.d.ts +1 -1
- package/dist/declarations/src/Http/Platform.d.ts.map +1 -0
- package/{Http → dist/declarations/src/Http}/Server.d.ts +1 -1
- package/dist/declarations/src/Http/Server.d.ts.map +1 -0
- package/dist/declarations/src/HttpClient.d.ts.map +1 -0
- package/{HttpServer.d.ts → dist/declarations/src/HttpServer.d.ts} +1 -1
- package/dist/declarations/src/HttpServer.d.ts.map +1 -0
- package/dist/declarations/src/KeyValueStore.d.ts.map +1 -0
- package/dist/declarations/src/Path.d.ts.map +1 -0
- package/dist/declarations/src/Runtime.d.ts.map +1 -0
- package/dist/declarations/src/Sink.d.ts.map +1 -0
- package/dist/declarations/src/Stream.d.ts.map +1 -0
- package/dist/declarations/src/index.d.ts +55 -0
- package/dist/declarations/src/index.d.ts.map +1 -0
- package/dist/effect-platform-bun.cjs.d.mts +2 -0
- package/dist/effect-platform-bun.cjs.d.mts.map +1 -0
- package/dist/effect-platform-bun.cjs.d.ts +2 -0
- package/dist/effect-platform-bun.cjs.d.ts.map +1 -0
- package/dist/effect-platform-bun.cjs.dev.js +73 -0
- package/dist/effect-platform-bun.cjs.js +7 -0
- package/dist/effect-platform-bun.cjs.mjs +15 -0
- package/dist/effect-platform-bun.cjs.prod.js +73 -0
- package/dist/effect-platform-bun.esm.js +26 -0
- package/internal/http/platform.esm.js +33 -0
- package/{mjs/internal/http/server.mjs → internal/http/server.esm.js} +26 -25
- package/package.json +152 -31
- package/src/BunContext.ts +3 -3
- package/src/Http/Platform.ts +2 -2
- package/src/Http/Server.ts +2 -2
- package/src/HttpServer.ts +1 -1
- package/src/index.ts +13 -13
- package/src/internal/http/platform.ts +1 -1
- package/src/internal/http/server.ts +3 -3
- package/BunContext.d.ts.map +0 -1
- package/BunContext.js +0 -23
- package/BunContext.js.map +0 -1
- package/Command.d.ts.map +0 -1
- package/Command.js +0 -103
- package/Command.js.map +0 -1
- package/CommandExecutor.d.ts.map +0 -1
- package/CommandExecutor.js +0 -19
- package/CommandExecutor.js.map +0 -1
- package/Effectify.d.ts.map +0 -1
- package/Effectify.js +0 -13
- package/Effectify.js.map +0 -1
- package/Error.d.ts.map +0 -1
- package/Error.js +0 -25
- package/Error.js.map +0 -1
- package/FileSystem.d.ts.map +0 -1
- package/FileSystem.js +0 -25
- package/FileSystem.js.map +0 -1
- package/Http/Platform.d.ts.map +0 -1
- package/Http/Platform.js +0 -40
- package/Http/Platform.js.map +0 -1
- package/Http/Server.d.ts.map +0 -1
- package/Http/Server.js +0 -46
- package/Http/Server.js.map +0 -1
- package/HttpClient.d.ts.map +0 -1
- package/HttpClient.js +0 -23
- package/HttpClient.js.map +0 -1
- package/HttpServer.d.ts.map +0 -1
- package/HttpServer.js +0 -33
- package/HttpServer.js.map +0 -1
- package/KeyValueStore.d.ts.map +0 -1
- package/KeyValueStore.js +0 -28
- package/KeyValueStore.js.map +0 -1
- package/Path.d.ts.map +0 -1
- package/Path.js +0 -31
- package/Path.js.map +0 -1
- package/Runtime.d.ts.map +0 -1
- package/Runtime.js +0 -19
- package/Runtime.js.map +0 -1
- package/Sink.d.ts.map +0 -1
- package/Sink.js +0 -13
- package/Sink.js.map +0 -1
- package/Stream.d.ts.map +0 -1
- package/Stream.js +0 -25
- package/Stream.js.map +0 -1
- package/index.d.ts +0 -55
- package/index.d.ts.map +0 -1
- package/index.js +0 -35
- package/index.js.map +0 -1
- package/internal/http/platform.d.ts +0 -2
- package/internal/http/platform.d.ts.map +0 -1
- package/internal/http/platform.js +0 -38
- package/internal/http/platform.js.map +0 -1
- package/internal/http/server.d.ts +0 -2
- package/internal/http/server.d.ts.map +0 -1
- package/internal/http/server.js +0 -239
- package/internal/http/server.js.map +0 -1
- package/mjs/BunContext.mjs +0 -14
- package/mjs/BunContext.mjs.map +0 -1
- package/mjs/Command.mjs +0 -85
- package/mjs/Command.mjs.map +0 -1
- package/mjs/CommandExecutor.mjs +0 -15
- package/mjs/CommandExecutor.mjs.map +0 -1
- package/mjs/Effectify.mjs +0 -10
- package/mjs/Effectify.mjs.map +0 -1
- package/mjs/Error.mjs +0 -20
- package/mjs/Error.mjs.map +0 -1
- package/mjs/FileSystem.mjs +0 -20
- package/mjs/FileSystem.mjs.map +0 -1
- package/mjs/Http/Platform.mjs +0 -16
- package/mjs/Http/Platform.mjs.map +0 -1
- package/mjs/Http/Server.mjs +0 -21
- package/mjs/Http/Server.mjs.map +0 -1
- package/mjs/HttpClient.mjs +0 -61
- package/mjs/HttpClient.mjs.map +0 -1
- package/mjs/HttpServer.mjs +0 -101
- package/mjs/HttpServer.mjs.map +0 -1
- package/mjs/KeyValueStore.mjs +0 -13
- package/mjs/KeyValueStore.mjs.map +0 -1
- package/mjs/Path.mjs +0 -25
- package/mjs/Path.mjs.map +0 -1
- package/mjs/Runtime.mjs +0 -15
- package/mjs/Runtime.mjs.map +0 -1
- package/mjs/Sink.mjs +0 -10
- package/mjs/Sink.mjs.map +0 -1
- package/mjs/Stream.mjs +0 -20
- package/mjs/Stream.mjs.map +0 -1
- package/mjs/index.mjs +0 -27
- package/mjs/index.mjs.map +0 -1
- package/mjs/internal/http/platform.mjs +0 -30
- package/mjs/internal/http/platform.mjs.map +0 -1
- package/mjs/internal/http/server.mjs.map +0 -1
- package/tsconfig.build.json +0 -12
- package/tsconfig.examples.json +0 -12
- package/tsconfig.json +0 -11
- package/tsconfig.test.json +0 -17
- /package/{Command.d.ts → dist/declarations/src/Command.d.ts} +0 -0
- /package/{CommandExecutor.d.ts → dist/declarations/src/CommandExecutor.d.ts} +0 -0
- /package/{Effectify.d.ts → dist/declarations/src/Effectify.d.ts} +0 -0
- /package/{Error.d.ts → dist/declarations/src/Error.d.ts} +0 -0
- /package/{FileSystem.d.ts → dist/declarations/src/FileSystem.d.ts} +0 -0
- /package/{HttpClient.d.ts → dist/declarations/src/HttpClient.d.ts} +0 -0
- /package/{KeyValueStore.d.ts → dist/declarations/src/KeyValueStore.d.ts} +0 -0
- /package/{Path.d.ts → dist/declarations/src/Path.d.ts} +0 -0
- /package/{Runtime.d.ts → dist/declarations/src/Runtime.d.ts} +0 -0
- /package/{Sink.d.ts → dist/declarations/src/Sink.d.ts} +0 -0
- /package/{Stream.d.ts → dist/declarations/src/Stream.d.ts} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { make as make$1, layer as layer$1 } from '../../../../internal/http/platform.esm.js';
|
|
2
|
+
export * from '@effect/platform/Http/Platform';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @since 1.0.0
|
|
6
|
+
*
|
|
7
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/platform/platform/Http/Platform.ts.html).
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @since 1.0.0
|
|
12
|
+
* @category constructors
|
|
13
|
+
*/
|
|
14
|
+
const make = make$1;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @since 1.0.0
|
|
18
|
+
* @category layers
|
|
19
|
+
*/
|
|
20
|
+
const layer = layer$1;
|
|
21
|
+
|
|
22
|
+
export { layer, make };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { make as make$1, layer as layer$1, layerConfig as layerConfig$1 } from '../../../../internal/http/server.esm.js';
|
|
2
|
+
import * as Server$1 from '@effect/platform/Http/Server';
|
|
3
|
+
export * from '@effect/platform/Http/Server';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
*
|
|
8
|
+
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/platform/platform/Http/Server.ts.html).
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @since 1.0.0
|
|
13
|
+
* @category constructors
|
|
14
|
+
*/
|
|
15
|
+
const make = make$1;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
* @category layers
|
|
20
|
+
*/
|
|
21
|
+
const layer = layer$1;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @since 1.0.0
|
|
25
|
+
* @category layers
|
|
26
|
+
*/
|
|
27
|
+
const layerConfig = layerConfig$1;
|
|
28
|
+
|
|
29
|
+
export { layer, layerConfig, make };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-Http-Platform.cjs.d.mts","sourceRoot":"","sources":["../../../dist/declarations/src/Http/Platform.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-Http-Platform.cjs.d.ts","sourceRoot":"","sources":["../../../dist/declarations/src/Http/Platform.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Etag = require('@effect/platform-node/Http/Etag');
|
|
6
|
+
var Platform = require('@effect/platform/Http/Platform');
|
|
7
|
+
var ServerResponse = require('@effect/platform/Http/ServerResponse');
|
|
8
|
+
var Function = require('effect/Function');
|
|
9
|
+
var Layer = require('effect/Layer');
|
|
10
|
+
var FileSystem = require('@effect/platform-node/FileSystem');
|
|
11
|
+
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n["default"] = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var Etag__namespace = /*#__PURE__*/_interopNamespace(Etag);
|
|
31
|
+
var Platform__namespace = /*#__PURE__*/_interopNamespace(Platform);
|
|
32
|
+
var ServerResponse__namespace = /*#__PURE__*/_interopNamespace(ServerResponse);
|
|
33
|
+
var Layer__namespace = /*#__PURE__*/_interopNamespace(Layer);
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
const make$1 = /*#__PURE__*/Platform__namespace.make({
|
|
37
|
+
fileResponse(path, status, statusText, headers, start, end, _contentLength) {
|
|
38
|
+
let file = Bun.file(path);
|
|
39
|
+
if (start > 0 || end !== undefined) {
|
|
40
|
+
file = file.slice(start, end);
|
|
41
|
+
}
|
|
42
|
+
return ServerResponse__namespace.raw(file, {
|
|
43
|
+
headers,
|
|
44
|
+
status,
|
|
45
|
+
statusText
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
fileWebResponse(file, status, statusText, headers, _options) {
|
|
49
|
+
return ServerResponse__namespace.raw(file, {
|
|
50
|
+
headers,
|
|
51
|
+
status,
|
|
52
|
+
statusText
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
const layer$1 = /*#__PURE__*/Function.pipe( /*#__PURE__*/Layer__namespace.effect(Platform__namespace.Platform, make$1), /*#__PURE__*/Layer__namespace.use(FileSystem.layer), /*#__PURE__*/Layer__namespace.use(Etag__namespace.layer));
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @since 1.0.0
|
|
62
|
+
*
|
|
63
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/platform/platform/Http/Platform.ts.html).
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @since 1.0.0
|
|
68
|
+
* @category constructors
|
|
69
|
+
*/
|
|
70
|
+
const make = make$1;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @since 1.0.0
|
|
74
|
+
* @category layers
|
|
75
|
+
*/
|
|
76
|
+
const layer = layer$1;
|
|
77
|
+
|
|
78
|
+
exports.layer = layer;
|
|
79
|
+
exports.make = make;
|
|
80
|
+
Object.keys(Platform).forEach(function (k) {
|
|
81
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return Platform[k]; }
|
|
84
|
+
});
|
|
85
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./effect-platform-bun-Http-Platform.cjs.js";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Etag = require('@effect/platform-node/Http/Etag');
|
|
6
|
+
var Platform = require('@effect/platform/Http/Platform');
|
|
7
|
+
var ServerResponse = require('@effect/platform/Http/ServerResponse');
|
|
8
|
+
var Function = require('effect/Function');
|
|
9
|
+
var Layer = require('effect/Layer');
|
|
10
|
+
var FileSystem = require('@effect/platform-node/FileSystem');
|
|
11
|
+
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n["default"] = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var Etag__namespace = /*#__PURE__*/_interopNamespace(Etag);
|
|
31
|
+
var Platform__namespace = /*#__PURE__*/_interopNamespace(Platform);
|
|
32
|
+
var ServerResponse__namespace = /*#__PURE__*/_interopNamespace(ServerResponse);
|
|
33
|
+
var Layer__namespace = /*#__PURE__*/_interopNamespace(Layer);
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
const make$1 = /*#__PURE__*/Platform__namespace.make({
|
|
37
|
+
fileResponse(path, status, statusText, headers, start, end, _contentLength) {
|
|
38
|
+
let file = Bun.file(path);
|
|
39
|
+
if (start > 0 || end !== undefined) {
|
|
40
|
+
file = file.slice(start, end);
|
|
41
|
+
}
|
|
42
|
+
return ServerResponse__namespace.raw(file, {
|
|
43
|
+
headers,
|
|
44
|
+
status,
|
|
45
|
+
statusText
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
fileWebResponse(file, status, statusText, headers, _options) {
|
|
49
|
+
return ServerResponse__namespace.raw(file, {
|
|
50
|
+
headers,
|
|
51
|
+
status,
|
|
52
|
+
statusText
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
const layer$1 = /*#__PURE__*/Function.pipe( /*#__PURE__*/Layer__namespace.effect(Platform__namespace.Platform, make$1), /*#__PURE__*/Layer__namespace.use(FileSystem.layer), /*#__PURE__*/Layer__namespace.use(Etag__namespace.layer));
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @since 1.0.0
|
|
62
|
+
*
|
|
63
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/platform/platform/Http/Platform.ts.html).
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @since 1.0.0
|
|
68
|
+
* @category constructors
|
|
69
|
+
*/
|
|
70
|
+
const make = make$1;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @since 1.0.0
|
|
74
|
+
* @category layers
|
|
75
|
+
*/
|
|
76
|
+
const layer = layer$1;
|
|
77
|
+
|
|
78
|
+
exports.layer = layer;
|
|
79
|
+
exports.make = make;
|
|
80
|
+
Object.keys(Platform).forEach(function (k) {
|
|
81
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return Platform[k]; }
|
|
84
|
+
});
|
|
85
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-Http-Server.cjs.d.mts","sourceRoot":"","sources":["../../../dist/declarations/src/Http/Server.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-Http-Server.cjs.d.ts","sourceRoot":"","sources":["../../../dist/declarations/src/Http/Server.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Http_Server_dist_effectPlatformBunHttpServer = require('../../../dist/Server-3766cdb3.cjs.dev.js');
|
|
6
|
+
var Server = require('@effect/platform/Http/Server');
|
|
7
|
+
require('@effect/platform-node/Http/FormData');
|
|
8
|
+
require('@effect/platform/Http/Headers');
|
|
9
|
+
require('@effect/platform/Http/IncomingMessage');
|
|
10
|
+
require('@effect/platform/Http/Middleware');
|
|
11
|
+
require('@effect/platform/Http/ServerError');
|
|
12
|
+
require('@effect/platform/Http/ServerRequest');
|
|
13
|
+
require('@effect/platform/Http/UrlParams');
|
|
14
|
+
require('effect/Cause');
|
|
15
|
+
require('effect/Config');
|
|
16
|
+
require('effect/Effect');
|
|
17
|
+
require('effect/Function');
|
|
18
|
+
require('effect/Layer');
|
|
19
|
+
require('effect/Option');
|
|
20
|
+
require('effect/Runtime');
|
|
21
|
+
require('effect/Stream');
|
|
22
|
+
require('node:stream');
|
|
23
|
+
require('../../Platform/dist/effect-platform-bun-Http-Platform.cjs.dev.js');
|
|
24
|
+
require('@effect/platform-node/Http/Etag');
|
|
25
|
+
require('@effect/platform/Http/Platform');
|
|
26
|
+
require('@effect/platform/Http/ServerResponse');
|
|
27
|
+
require('@effect/platform-node/FileSystem');
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.layer = Http_Server_dist_effectPlatformBunHttpServer.layer;
|
|
32
|
+
exports.layerConfig = Http_Server_dist_effectPlatformBunHttpServer.layerConfig;
|
|
33
|
+
exports.make = Http_Server_dist_effectPlatformBunHttpServer.make;
|
|
34
|
+
Object.keys(Server).forEach(function (k) {
|
|
35
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return Server[k]; }
|
|
38
|
+
});
|
|
39
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./effect-platform-bun-Http-Server.cjs.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Http_Server_dist_effectPlatformBunHttpServer = require('../../../dist/Server-4fe393ab.cjs.prod.js');
|
|
6
|
+
var Server = require('@effect/platform/Http/Server');
|
|
7
|
+
require('@effect/platform-node/Http/FormData');
|
|
8
|
+
require('@effect/platform/Http/Headers');
|
|
9
|
+
require('@effect/platform/Http/IncomingMessage');
|
|
10
|
+
require('@effect/platform/Http/Middleware');
|
|
11
|
+
require('@effect/platform/Http/ServerError');
|
|
12
|
+
require('@effect/platform/Http/ServerRequest');
|
|
13
|
+
require('@effect/platform/Http/UrlParams');
|
|
14
|
+
require('effect/Cause');
|
|
15
|
+
require('effect/Config');
|
|
16
|
+
require('effect/Effect');
|
|
17
|
+
require('effect/Function');
|
|
18
|
+
require('effect/Layer');
|
|
19
|
+
require('effect/Option');
|
|
20
|
+
require('effect/Runtime');
|
|
21
|
+
require('effect/Stream');
|
|
22
|
+
require('node:stream');
|
|
23
|
+
require('../../Platform/dist/effect-platform-bun-Http-Platform.cjs.prod.js');
|
|
24
|
+
require('@effect/platform-node/Http/Etag');
|
|
25
|
+
require('@effect/platform/Http/Platform');
|
|
26
|
+
require('@effect/platform/Http/ServerResponse');
|
|
27
|
+
require('@effect/platform-node/FileSystem');
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.layer = Http_Server_dist_effectPlatformBunHttpServer.layer;
|
|
32
|
+
exports.layerConfig = Http_Server_dist_effectPlatformBunHttpServer.layerConfig;
|
|
33
|
+
exports.make = Http_Server_dist_effectPlatformBunHttpServer.make;
|
|
34
|
+
Object.keys(Server).forEach(function (k) {
|
|
35
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return Server[k]; }
|
|
38
|
+
});
|
|
39
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-HttpClient.cjs.d.mts","sourceRoot":"","sources":["../../dist/declarations/src/HttpClient.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-HttpClient.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/HttpClient.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Body = require('@effect/platform/Http/Body');
|
|
6
|
+
var Client = require('@effect/platform/Http/Client');
|
|
7
|
+
var ClientError = require('@effect/platform/Http/ClientError');
|
|
8
|
+
var ClientRequest = require('@effect/platform/Http/ClientRequest');
|
|
9
|
+
var ClientResponse = require('@effect/platform/Http/ClientResponse');
|
|
10
|
+
var Headers = require('@effect/platform/Http/Headers');
|
|
11
|
+
var UrlParams = require('@effect/platform/Http/UrlParams');
|
|
12
|
+
|
|
13
|
+
function _interopNamespace(e) {
|
|
14
|
+
if (e && e.__esModule) return e;
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
Object.keys(e).forEach(function (k) {
|
|
18
|
+
if (k !== 'default') {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
20
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return e[k]; }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
n["default"] = e;
|
|
28
|
+
return Object.freeze(n);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var Body__namespace = /*#__PURE__*/_interopNamespace(Body);
|
|
32
|
+
var Client__namespace = /*#__PURE__*/_interopNamespace(Client);
|
|
33
|
+
var ClientError__namespace = /*#__PURE__*/_interopNamespace(ClientError);
|
|
34
|
+
var ClientRequest__namespace = /*#__PURE__*/_interopNamespace(ClientRequest);
|
|
35
|
+
var ClientResponse__namespace = /*#__PURE__*/_interopNamespace(ClientResponse);
|
|
36
|
+
var Headers__namespace = /*#__PURE__*/_interopNamespace(Headers);
|
|
37
|
+
var UrlParams__namespace = /*#__PURE__*/_interopNamespace(UrlParams);
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.body = Body__namespace;
|
|
42
|
+
exports.client = Client__namespace;
|
|
43
|
+
exports.error = ClientError__namespace;
|
|
44
|
+
exports.request = ClientRequest__namespace;
|
|
45
|
+
exports.response = ClientResponse__namespace;
|
|
46
|
+
exports.headers = Headers__namespace;
|
|
47
|
+
exports.urlParams = UrlParams__namespace;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Body = require('@effect/platform/Http/Body');
|
|
6
|
+
var Client = require('@effect/platform/Http/Client');
|
|
7
|
+
var ClientError = require('@effect/platform/Http/ClientError');
|
|
8
|
+
var ClientRequest = require('@effect/platform/Http/ClientRequest');
|
|
9
|
+
var ClientResponse = require('@effect/platform/Http/ClientResponse');
|
|
10
|
+
var Headers = require('@effect/platform/Http/Headers');
|
|
11
|
+
var UrlParams = require('@effect/platform/Http/UrlParams');
|
|
12
|
+
|
|
13
|
+
function _interopNamespace(e) {
|
|
14
|
+
if (e && e.__esModule) return e;
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
Object.keys(e).forEach(function (k) {
|
|
18
|
+
if (k !== 'default') {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
20
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return e[k]; }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
n["default"] = e;
|
|
28
|
+
return Object.freeze(n);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var Body__namespace = /*#__PURE__*/_interopNamespace(Body);
|
|
32
|
+
var Client__namespace = /*#__PURE__*/_interopNamespace(Client);
|
|
33
|
+
var ClientError__namespace = /*#__PURE__*/_interopNamespace(ClientError);
|
|
34
|
+
var ClientRequest__namespace = /*#__PURE__*/_interopNamespace(ClientRequest);
|
|
35
|
+
var ClientResponse__namespace = /*#__PURE__*/_interopNamespace(ClientResponse);
|
|
36
|
+
var Headers__namespace = /*#__PURE__*/_interopNamespace(Headers);
|
|
37
|
+
var UrlParams__namespace = /*#__PURE__*/_interopNamespace(UrlParams);
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.body = Body__namespace;
|
|
42
|
+
exports.client = Client__namespace;
|
|
43
|
+
exports.error = ClientError__namespace;
|
|
44
|
+
exports.request = ClientRequest__namespace;
|
|
45
|
+
exports.response = ClientResponse__namespace;
|
|
46
|
+
exports.headers = Headers__namespace;
|
|
47
|
+
exports.urlParams = UrlParams__namespace;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Body from '@effect/platform/Http/Body';
|
|
2
|
+
export { Body as body };
|
|
3
|
+
import * as Client from '@effect/platform/Http/Client';
|
|
4
|
+
export { Client as client };
|
|
5
|
+
import * as ClientError from '@effect/platform/Http/ClientError';
|
|
6
|
+
export { ClientError as error };
|
|
7
|
+
import * as ClientRequest from '@effect/platform/Http/ClientRequest';
|
|
8
|
+
export { ClientRequest as request };
|
|
9
|
+
import * as ClientResponse from '@effect/platform/Http/ClientResponse';
|
|
10
|
+
export { ClientResponse as response };
|
|
11
|
+
import * as Headers from '@effect/platform/Http/Headers';
|
|
12
|
+
export { Headers as headers };
|
|
13
|
+
import * as UrlParams from '@effect/platform/Http/UrlParams';
|
|
14
|
+
export { UrlParams as urlParams };
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @since 1.0.0
|
|
18
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-HttpServer.cjs.d.mts","sourceRoot":"","sources":["../../dist/declarations/src/HttpServer.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-platform-bun-HttpServer.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/HttpServer.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Etag = require('@effect/platform-node/Http/Etag');
|
|
6
|
+
var FormData = require('@effect/platform-node/Http/FormData');
|
|
7
|
+
var App = require('@effect/platform/Http/App');
|
|
8
|
+
var Body = require('@effect/platform/Http/Body');
|
|
9
|
+
var Headers = require('@effect/platform/Http/Headers');
|
|
10
|
+
var Middleware = require('@effect/platform/Http/Middleware');
|
|
11
|
+
var Router = require('@effect/platform/Http/Router');
|
|
12
|
+
var Error = require('@effect/platform/Http/ServerError');
|
|
13
|
+
var ServerRequest = require('@effect/platform/Http/ServerRequest');
|
|
14
|
+
var ServerResponse = require('@effect/platform/Http/ServerResponse');
|
|
15
|
+
var UrlParams = require('@effect/platform/Http/UrlParams');
|
|
16
|
+
var Http_Server_dist_effectPlatformBunHttpServer = require('../../dist/Server-3766cdb3.cjs.dev.js');
|
|
17
|
+
require('@effect/platform/Http/IncomingMessage');
|
|
18
|
+
require('@effect/platform/Http/Server');
|
|
19
|
+
require('effect/Cause');
|
|
20
|
+
require('effect/Config');
|
|
21
|
+
require('effect/Effect');
|
|
22
|
+
require('effect/Function');
|
|
23
|
+
require('effect/Layer');
|
|
24
|
+
require('effect/Option');
|
|
25
|
+
require('effect/Runtime');
|
|
26
|
+
require('effect/Stream');
|
|
27
|
+
require('node:stream');
|
|
28
|
+
require('../../Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.dev.js');
|
|
29
|
+
require('@effect/platform/Http/Platform');
|
|
30
|
+
require('@effect/platform-node/FileSystem');
|
|
31
|
+
|
|
32
|
+
function _interopNamespace(e) {
|
|
33
|
+
if (e && e.__esModule) return e;
|
|
34
|
+
var n = Object.create(null);
|
|
35
|
+
if (e) {
|
|
36
|
+
Object.keys(e).forEach(function (k) {
|
|
37
|
+
if (k !== 'default') {
|
|
38
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
39
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return e[k]; }
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
n["default"] = e;
|
|
47
|
+
return Object.freeze(n);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
var Etag__namespace = /*#__PURE__*/_interopNamespace(Etag);
|
|
51
|
+
var FormData__namespace = /*#__PURE__*/_interopNamespace(FormData);
|
|
52
|
+
var App__namespace = /*#__PURE__*/_interopNamespace(App);
|
|
53
|
+
var Body__namespace = /*#__PURE__*/_interopNamespace(Body);
|
|
54
|
+
var Headers__namespace = /*#__PURE__*/_interopNamespace(Headers);
|
|
55
|
+
var Middleware__namespace = /*#__PURE__*/_interopNamespace(Middleware);
|
|
56
|
+
var Router__namespace = /*#__PURE__*/_interopNamespace(Router);
|
|
57
|
+
var Error__namespace = /*#__PURE__*/_interopNamespace(Error);
|
|
58
|
+
var ServerRequest__namespace = /*#__PURE__*/_interopNamespace(ServerRequest);
|
|
59
|
+
var ServerResponse__namespace = /*#__PURE__*/_interopNamespace(ServerResponse);
|
|
60
|
+
var UrlParams__namespace = /*#__PURE__*/_interopNamespace(UrlParams);
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
exports.etag = Etag__namespace;
|
|
65
|
+
exports.formData = FormData__namespace;
|
|
66
|
+
exports.app = App__namespace;
|
|
67
|
+
exports.body = Body__namespace;
|
|
68
|
+
exports.headers = Headers__namespace;
|
|
69
|
+
exports.middleware = Middleware__namespace;
|
|
70
|
+
exports.router = Router__namespace;
|
|
71
|
+
exports.error = Error__namespace;
|
|
72
|
+
exports.request = ServerRequest__namespace;
|
|
73
|
+
exports.response = ServerResponse__namespace;
|
|
74
|
+
exports.urlParams = UrlParams__namespace;
|
|
75
|
+
exports.server = Http_Server_dist_effectPlatformBunHttpServer.Server;
|