MCPcopy Index your code
hub / github.com/anomalyco/opencode / black-stats.ts

File black-stats.ts

packages/console/core/script/black-stats.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Database, and, eq, inArray, isNotNull, sql } from "../src/drizzle/index.js"
2import { BillingTable, BlackPlans, SubscriptionTable, UsageTable } from "../src/schema/billing.sql.js"
3
4if (process.argv.length < 3) {

Callers

nothing calls this directly

Calls 15

toNumberFunction · 0.85
eqFunction · 0.85
startOfMonthFunction · 0.85
isoWeekStartFunction · 0.85
formatWeekFunction · 0.85
pushMethod · 0.80
fileMethod · 0.80
writeMethod · 0.80
formatMicroCentsFunction · 0.70
formatDateFunction · 0.70
getMethod · 0.65
useMethod · 0.45

Tested by

no test coverage detected