| 1 | import type { EventsApi, ServiceBinding, WorkApi } from "@g1t/contracts"; |
| 2 | |
| 3 | declare 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: WorkApi; |
| 10 | EVENTS: EventsApi; |
| 11 | } |
| 12 | } |
| 13 | interface Env extends Cloudflare.Env {} |
| 14 | } |