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

15 lines438 bytesCodeBlame
1import type { EventsApi, RunnerApi, ServiceBinding } from "@g1t/contracts";
2
3declare global {
4 namespace Cloudflare {
5 interface Env {
6 IDENTITY: ServiceBinding;
7 /** Also serves git over HTTPS through `fetch`. */
8 REPOS: ServiceBinding & { fetch(request: Request): Promise<Response> };
9 WORK: ServiceBinding;
10 EVENTS: EventsApi;
11 RUNNER: RunnerApi;
12 }
13 }
14 interface Env extends Cloudflare.Env {}
15}