chore: generate
This commit is contained in:
parent
c0dc8ea39e
commit
213b823c69
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import { BillingTable, SubscriptionPlan } from "../src/schema/billing.sql.js"
|
||||||
import { UserTable } from "../src/schema/user.sql.js"
|
import { UserTable } from "../src/schema/user.sql.js"
|
||||||
import { AuthTable } from "../src/schema/auth.sql.js"
|
import { AuthTable } from "../src/schema/auth.sql.js"
|
||||||
|
|
||||||
const plan = process.argv[2] as typeof SubscriptionPlan[number]
|
const plan = process.argv[2] as (typeof SubscriptionPlan)[number]
|
||||||
if (!SubscriptionPlan.includes(plan)) {
|
if (!SubscriptionPlan.includes(plan)) {
|
||||||
console.error("Usage: bun foo.ts <count>")
|
console.error("Usage: bun foo.ts <count>")
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue