MCPcopy
hub / github.com/anomalyco/opencode / billing.ts

File billing.ts

packages/console/core/src/billing.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Stripe } from "stripe"
2import { and, Database, eq, isNull, sql } from "./drizzle"
3import {
4 BillingTable,

Callers

nothing calls this directly

Calls 15

fnFunction · 0.90
eqFunction · 0.85
calculateFeeInCentsFunction · 0.85
workspaceMethod · 0.80
transactionMethod · 0.80
insertMethod · 0.80
createSessionFunction · 0.70
updateMethod · 0.65
getMethod · 0.65
createMethod · 0.65
listMethod · 0.65
useMethod · 0.45

Tested by

no test coverage detected