17 lines · 682 B · TypeScript
RawDownload
import { AtomHttpApi } from "@effect-atom/atom-react";import { FetchHttpClient } from "@effect/platform";import { addGroup } from "@executor/api";import { getBaseUrl } from "@executor/react/api/base-url";import { GraphqlGroup } from "../api/group"; // ---------------------------------------------------------------------------// GraphQL-aware client — core routes + graphql routes// --------------------------------------------------------------------------- const GraphqlApi = addGroup(GraphqlGroup); export const GraphqlClient = AtomHttpApi.Tag<"GraphqlClient">()("GraphqlClient", {  api: GraphqlApi,  httpClient: FetchHttpClient.layer,  baseUrl: getBaseUrl(),});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t