@@ -42,16 +42,16 @@ export const env = createEnv({
4242 STRIPE_WEBHOOK_SECRET : z . string ( ) . min ( 1 ) . optional ( ) , // General Stripe webhook secret
4343 STRIPE_FREE_PRICE_ID : z . string ( ) . min ( 1 ) . optional ( ) , // Stripe price ID for free tier
4444 FREE_TIER_COST_LIMIT : z . number ( ) . optional ( ) , // Cost limit for free tier users
45- FREE_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) , // Storage limit in GB for free tier users (default: 5GB)
45+ FREE_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) . default ( 5 ) , // Storage limit in GB for free tier users
4646 STRIPE_PRO_PRICE_ID : z . string ( ) . min ( 1 ) . optional ( ) , // Stripe price ID for pro tier
4747 PRO_TIER_COST_LIMIT : z . number ( ) . optional ( ) , // Cost limit for pro tier users
48- PRO_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) , // Storage limit in GB for pro tier users (default: 50GB)
48+ PRO_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) . default ( 50 ) , // Storage limit in GB for pro tier users
4949 STRIPE_TEAM_PRICE_ID : z . string ( ) . min ( 1 ) . optional ( ) , // Stripe price ID for team tier
5050 TEAM_TIER_COST_LIMIT : z . number ( ) . optional ( ) , // Cost limit for team tier users
51- TEAM_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) , // Storage limit in GB for team tier organizations (default: 500GB, pooled)
51+ TEAM_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) . default ( 500 ) , // Storage limit in GB for team tier organizations (pooled)
5252 STRIPE_ENTERPRISE_PRICE_ID : z . string ( ) . min ( 1 ) . optional ( ) , // Stripe price ID for enterprise tier
5353 ENTERPRISE_TIER_COST_LIMIT : z . number ( ) . optional ( ) , // Cost limit for enterprise tier users
54- ENTERPRISE_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) , // Default storage limit in GB for enterprise tier (default: 500GB, can be overridden per org)
54+ ENTERPRISE_STORAGE_LIMIT_GB : z . number ( ) . optional ( ) . default ( 500 ) , // Default storage limit in GB for enterprise tier (can be overridden per org)
5555 BILLING_ENABLED : z . boolean ( ) . optional ( ) , // Enable billing enforcement and usage tracking
5656 OVERAGE_THRESHOLD_DOLLARS : z . number ( ) . optional ( ) . default ( 50 ) , // Dollar threshold for incremental overage billing (default: $50)
5757
0 commit comments