mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
wip: cloud
This commit is contained in:
parent
b40c02e258
commit
c3a25eff78
18 changed files with 83 additions and 51 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { Resource } from "sst"
|
||||
import { Stripe } from "stripe"
|
||||
import { Database, eq, sql } from "./drizzle"
|
||||
import { BillingTable, PaymentTable, UsageTable } from "./schema/billing.sql"
|
||||
|
|
@ -8,6 +7,7 @@ import { z } from "zod"
|
|||
import { Identifier } from "./identifier"
|
||||
import { centsToMicroCents } from "./util/price"
|
||||
import { User } from "./user"
|
||||
import { Resource } from "./util/resource"
|
||||
|
||||
export namespace Billing {
|
||||
export const stripe = () =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue