MCPcopy Create free account
hub / github.com/Noumena-Network/code / isConsumerSubscriber

Function isConsumerSubscriber

src/utils/auth.ts:2124–2131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2122}
2123
2124export function isConsumerSubscriber(): boolean {
2125 const subscriptionType = getSubscriptionType()
2126 return (
2127 isClaudeAISubscriber() &&
2128 subscriptionType !== null &&
2129 isConsumerPlan(subscriptionType)
2130 )
2131}
2132
2133export type UserAccountInfo = {
2134 subscription?: string

Callers

nothing calls this directly

Calls 3

getSubscriptionTypeFunction · 0.85
isClaudeAISubscriberFunction · 0.85
isConsumerPlanFunction · 0.85

Tested by

no test coverage detected