MCPcopy Index your code
hub / github.com/simstudioai/sim / getFreeTierLimit

Function getFreeTierLimit

apps/sim/lib/billing/subscriptions/utils.ts:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 * Get the free tier limit from env or fallback to default
53 */
54export function getFreeTierLimit(): number {
55 return envNumber(env.FREE_TIER_COST_LIMIT, DEFAULT_FREE_CREDITS)
56}
57
58/**
59 * Get the pro tier limit from env or fallback to default

Callers 12

getPlansFunction · 0.90
getPlanLimitsFunction · 0.90
getDefaultBillingSummaryFunction · 0.90
handleNewUserFunction · 0.90
ensureUserStatsExistsFunction · 0.90
getUserUsageDataFunction · 0.90
getUserUsageLimitInfoFunction · 0.90
initializeUserUsageLimitFunction · 0.90
getUserUsageLimitFunction · 0.90
getPerUserMinimumLimitFunction · 0.85

Calls 1

envNumberFunction · 0.90

Tested by

no test coverage detected