g1t/apps/sudo/app/lib/services.server.ts
| 1 | import { env } from "cloudflare:workers"; |
| 2 | |
| 3 | import { billingAdminClient, identityAdminClient } from "@g1t/contracts"; |
| 4 | |
| 5 | /** Staff-only billing, on the billing service. */ |
| 6 | export const admin = billingAdminClient(env.BILLING); |
| 7 | |
| 8 | /** Staff-only identity: every workspace, its owners and members. */ |
| 9 | export const identity = identityAdminClient(env.IDENTITY); |