chore: generate
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user