g1t/apps/web/app/lib/services.server.ts

23 lines710 bytesCodeBlame
1import { env } from "cloudflare:workers";
2
3import {
4 actionsClient,
5 automationsClient,
6 billingClient,
7 eventsClient,
8 identityClient,
9 integrationsClient,
10 reposClient,
11 webhooksClient,
12 workClient,
13} from "@g1t/contracts";
14
15export const identity = identityClient(env.IDENTITY);
16export const repos = reposClient(env.REPOS);
17export const work = workClient(env.WORK);
18export const billing = billingClient(env.BILLING);
19export const events = eventsClient(env.EVENTS);
20export const integrations = integrationsClient(env.INTEGRATIONS);
21export const webhooks = webhooksClient(env.WEBHOOKS);
22export const automations = automationsClient(env.AUTOMATIONS);
23export const actions = actionsClient(env.ACTIONS);