Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

driver.ts

12 lines432 Bytes

1import * as Effect from "effect/Effect";
2​
3import * as LinearApi from "./LinearApi.ts";
4import * as LinearIssueTracker from "./LinearIssueTracker.ts";
5​
6/**
7 * The Linear tracker over its own API client. Needs the platform HttpClient, and the server's
8 * `IssueTrackerHost` for the API key saved in Settings.
9 */
10export const make = LinearIssueTracker.make.pipe(
11 Effect.provideServiceEffect(LinearApi.LinearApi, LinearApi.make),
12);