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

27 lines895 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 SECURITY: ServiceBinding;
19 /** The context hub: catalog, search and scorecards. */
20 CONTEXT: ServiceBinding;
21 BLOBS: KVNamespace;
22 /** Uploaded avatars by SHA-256, with `{ contentType }`; written by identity. */
23 AVATARS: KVNamespace;
24 }
25 }
26 interface Env extends Cloudflare.Env {}
27}