g1t/apps/web/app/lib/services.server.ts
| 1 | import { env } from "cloudflare:workers"; |
| 2 | |
| 3 | import { |
| 4 | actionsClient, |
| 5 | billingClient, |
| 6 | deploymentsClient, |
| 7 | projectsClient, |
| 8 | eventsClient, |
| 9 | identityClient, |
| 10 | integrationsClient, |
| 11 | reposClient, |
| 12 | webhooksClient, |
| 13 | workClient, |
| 14 | } from "@g1t/contracts"; |
| 15 | |
| 16 | export const identity = identityClient(env.IDENTITY); |
| 17 | export const repos = reposClient(env.REPOS); |
| 18 | export const work = workClient(env.WORK); |
| 19 | export const billing = billingClient(env.BILLING); |
| 20 | export const events = eventsClient(env.EVENTS); |
| 21 | export const integrations = integrationsClient(env.INTEGRATIONS); |
| 22 | export const webhooks = webhooksClient(env.WEBHOOKS); |
| 23 | export const actions = actionsClient(env.ACTIONS); |
| 24 | export const deployments = deploymentsClient(env.DEPLOYMENTS); |
| 25 | export const projects = projectsClient(env.PROJECTS); |