lib/plans.ts

intelligo · apps/app/lib/plans.ts · typescript · Apache-2.0
payments

TypeScript module exporting reference product plans and feature matrix for billing.

// Source: https://github.com/intelligo-dev/intelligo | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * The reference product's plan catalogue and feature matrix.
 *
 * Lives in the application because plan data is the product's, not the
 * framework's. The shape is all that @intelligo-dev/billing
 * knows; the names, prices, and limits are entirely ours — and
 * deliberately shared with no real product, which is the point of
 * this app existing.
 *
 * Prices are in the currency `lib/billing-config.ts` declares (USD
 * here). Pro carries monthly and yearly prices so the pricing page's
 * interval toggle has something real to switch between — a plan with
 * only `priceOneTime

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key