chore: generate
This commit is contained in:
@@ -34,12 +34,9 @@ const json = (req: Parameters<typeof HttpClientResponse.fromWeb>[0], body: unkno
|
|||||||
const none = HttpClient.make(() => Effect.die("unexpected http call"))
|
const none = HttpClient.make(() => Effect.die("unexpected http call"))
|
||||||
|
|
||||||
function requestLayer(client: HttpClient.HttpClient) {
|
function requestLayer(client: HttpClient.HttpClient) {
|
||||||
return LayerNode.buildLayer(
|
return LayerNode.buildLayer(LayerNode.group([ShareNext.node, AccountRepo.node]), {
|
||||||
LayerNode.group([ShareNext.node, AccountRepo.node]),
|
replacements: [LayerNode.replace(httpClient, Layer.succeed(HttpClient.HttpClient, client))],
|
||||||
{
|
})
|
||||||
replacements: [LayerNode.replace(httpClient, Layer.succeed(HttpClient.HttpClient, client))],
|
|
||||||
},
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function integrationLayer(client: HttpClient.HttpClient) {
|
function integrationLayer(client: HttpClient.HttpClient) {
|
||||||
|
|||||||
Reference in New Issue
Block a user