summaryrefslogtreecommitdiffhomepage
path: root/packages/console/core/script
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2026-01-22 18:17:10 +0000
committerGitHub Action <[email protected]>2026-01-22 18:17:10 +0000
commit5a4eec5b08be6c36561fa06f056a330d3b402b34 (patch)
treeaa1e158844fd361b81157a9444bc2f6b1a49924a /packages/console/core/script
parente17b8756412f293b2383c29583339eb0a7d25ce3 (diff)
downloadopencode-5a4eec5b08be6c36561fa06f056a330d3b402b34.tar.gz
opencode-5a4eec5b08be6c36561fa06f056a330d3b402b34.zip
chore: generate
Diffstat (limited to 'packages/console/core/script')
-rw-r--r--packages/console/core/script/lookup-user.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/console/core/script/lookup-user.ts b/packages/console/core/script/lookup-user.ts
index 355716d1d..6c76d42c9 100644
--- a/packages/console/core/script/lookup-user.ts
+++ b/packages/console/core/script/lookup-user.ts
@@ -1,7 +1,13 @@
import { Database, and, eq, sql } from "../src/drizzle/index.js"
import { AuthTable } from "../src/schema/auth.sql.js"
import { UserTable } from "../src/schema/user.sql.js"
-import { BillingTable, PaymentTable, SubscriptionTable, SubscriptionPlan, UsageTable } from "../src/schema/billing.sql.js"
+import {
+ BillingTable,
+ PaymentTable,
+ SubscriptionTable,
+ SubscriptionPlan,
+ UsageTable,
+} from "../src/schema/billing.sql.js"
import { WorkspaceTable } from "../src/schema/workspace.sql.js"
import { BlackData } from "../src/black.js"
import { centsToMicroCents } from "../src/util/price.js"
@@ -226,7 +232,7 @@ function formatRetryTime(seconds: number) {
function getSubscriptionStatus(row: {
subscription: {
- plan: typeof SubscriptionPlan[number]
+ plan: (typeof SubscriptionPlan)[number]
} | null
timeSubscriptionCreated: Date | null
fixedUsage: number | null