2026-06-09 19:31:31 +00:00
|
|
|
import { NodeFileSystem, NodePath } from "@effect/platform-node"
|
2026-06-25 18:34:17 +00:00
|
|
|
import { FileSystem, Path } from "effect"
|
2026-07-20 00:39:55 +00:00
|
|
|
import { FetchHttpClient, HttpClient } from "effect/unstable/http"
|
2026-07-21 14:46:43 +00:00
|
|
|
import { makeGlobalNode } from "./app-node.js"
|
2026-06-09 19:31:31 +00:00
|
|
|
|
2026-06-28 15:30:38 +00:00
|
|
|
export const filesystem = makeGlobalNode({ service: FileSystem.FileSystem, layer: NodeFileSystem.layer, deps: [] })
|
|
|
|
|
export const path = makeGlobalNode({ service: Path.Path, layer: NodePath.layer, deps: [] })
|
|
|
|
|
export const httpClient = makeGlobalNode({ service: HttpClient.HttpClient, layer: FetchHttpClient.layer, deps: [] })
|
2026-06-09 19:31:31 +00:00
|
|
|
|
2026-07-21 14:46:43 +00:00
|
|
|
export * as LayerNodePlatform from "./app-node-platform.js"
|