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

CursorAdapter.ts

12 lines417 Bytes

1import { Context } from "effect";
2​
3import type { ProviderAdapterError } from "../Errors.ts";
4import type { ProviderAdapterShape } from "./ProviderAdapter.ts";
5​
6export interface CursorAdapterShape extends ProviderAdapterShape<ProviderAdapterError> {
7 readonly provider: "cursor";
8}
9​
10export class CursorAdapter extends Context.Service<CursorAdapter, CursorAdapterShape>()(
11 "t3/provider/Services/CursorAdapter",
12) {}