flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

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

24 lines770 bytesCodeBlame
1import type { 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 RUNNER: RunnerApi;
11 BILLING: ServiceBinding;
12 EVENTS: ServiceBinding;
13 INTEGRATIONS: ServiceBinding;
14 WEBHOOKS: ServiceBinding;
15 ACTIONS: ServiceBinding;
16 DEPLOYMENTS: ServiceBinding;
17 PROJECTS: ServiceBinding;
18 BLOBS: KVNamespace;
19 /** Uploaded avatars by SHA-256, with `{ contentType }`; written by identity. */
20 AVATARS: KVNamespace;
21 }
22 }
23 interface Env extends Cloudflare.Env {}
24}