Working QueryClient refactoring
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2025-03-16 03:19:12 +01:00
parent 0e2c0db28f
commit e4bacd1ca7
4 changed files with 33 additions and 68 deletions

View File

@@ -2,7 +2,6 @@ import { HttpClient } from "@effect/platform"
import { Clipboard, Geolocation, Permissions } from "@effect/platform-browser"
import { LazyRefExtension } from "@reffuse/extension-lazyref"
import { QueryExtension } from "@reffuse/extension-query"
import { Context } from "effect"
import { Reffuse, ReffuseContext } from "reffuse"
import { AppQueryClient, AppQueryErrorHandler } from "./query"
@@ -12,7 +11,7 @@ export const GlobalContext = ReffuseContext.make<
| Geolocation.Geolocation
| Permissions.Permissions
| HttpClient.HttpClient
| Context.Tag.Service<typeof AppQueryClient>
| AppQueryClient
| AppQueryErrorHandler
>()