Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ Stripe } from
"stripe"
2
import
{ and, Database, eq, isNull, sql } from
"./drizzle"
3
import
{
4
BillingTable,
Callers
nothing calls this directly
Calls
15
fn
Function · 0.90
eq
Function · 0.85
calculateFeeInCents
Function · 0.85
workspace
Method · 0.80
transaction
Method · 0.80
insert
Method · 0.80
createSession
Function · 0.70
update
Method · 0.65
get
Method · 0.65
create
Method · 0.65
list
Method · 0.65
use
Method · 0.45
Tested by
no test coverage detected