MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / getIsTrialExpired

Function getIsTrialExpired

console/src/platform/billing/utils.ts:316–320  ·  view source on GitHub ↗
(organization: Organization)

Source from the content-addressed store, hash-verified

314}
315
316export function getIsTrialExpired(organization: Organization): boolean {
317 return (
318 organization.subscription?.type === "evaluation" && organization.blocked
319 );
320}
321
322export function getIsUpgrading(organization: Organization): boolean {
323 // We assume that Trial/evaluation accounts should never have a payment method, otherwise

Callers 2

PlanTextFunction · 0.90
CTABannerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected