g1t/apps/web/workers/env.d.ts

14 lines402 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Initial g1t: services, event bus, intents and attempts1import type { EventsApi, IdentityApi, ReposApi, WorkApi } from "@g1t/contracts";
2
3declare global {
4 namespace Cloudflare {
5 interface Env {
6 IDENTITY: IdentityApi;
7 /** Also serves git over HTTPS through `fetch`. */
8 REPOS: ReposApi & { fetch(request: Request): Promise<Response> };
9 WORK: WorkApi;
10 EVENTS: EventsApi;
11 }
12 }
13 interface Env extends Cloudflare.Env {}
14}