Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ subscription.ts
File
subscription.ts
packages/console/core/src/subscription.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ z } from
"zod"
2
import
{ fn } from
"./util/fn"
3
import
{ centsToMicroCents } from
"./util/price"
4
import
{ getWeekBounds, getMonthlyBounds } from
"./util/date"
Callers
nothing calls this directly
Calls
4
fn
Function · 0.90
centsToMicroCents
Function · 0.90
getWeekBounds
Function · 0.90
getMonthlyBounds
Function · 0.90
Tested by
no test coverage detected