g1t/apps/sudo/app/lib/services.server.ts
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Billing accounts, terms and enterprises; g1t is no longer free | 1 | import { env } from "cloudflare:workers"; |
| 2 | ||
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 3 | import { billingAdminClient, billingClient, identityAdminClient } from "@g1t/contracts"; |
| Billing accounts, terms and enterprises; g1t is no longer free | 4 | |
| 5 | /** Staff-only billing, on the billing service. */ | |
| 6 | export const admin = billingAdminClient(env.BILLING); | |
| Billing on Stripe's pages, month-end charges, warnings; sudo by workspace | 7 | |
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 8 | /** The public price book, read-only, from the same service. */ |
| 9 | export const priceBook = () => billingClient(env.BILLING).prices(); | |
| 10 | ||
| Billing on Stripe's pages, month-end charges, warnings; sudo by workspace | 11 | /** Staff-only identity: every workspace, its owners and members. */ |
| 12 | export const identity = identityAdminClient(env.IDENTITY); |