//#region src/plans.d.ts /** * Plan configuration for Stack Auth pricing tiers. * * This file defines the limits for each plan and the item IDs used to track them. * Import these constants in seed.ts and backend code for limit enforcement. */ declare const UNLIMITED = 1000000000; /** * Item IDs used across the codebase for tracking plan limits. */ declare const ITEM_IDS: { readonly seats: "dashboard_admins"; readonly authUsers: "auth_users"; readonly emailsPerMonth: "emails_per_month"; readonly analyticsTimeoutSeconds: "analytics_timeout_seconds"; readonly analyticsEvents: "analytics_events"; }; type ItemId = typeof ITEM_IDS[keyof typeof ITEM_IDS]; /** * The offerings/limits included in a plan. */ type PlanProductOfferings = { seats: number; authUsers: number; emailsPerMonth: number; analyticsTimeoutSeconds: number; analyticsEvents: number; }; /** * Plan limits by plan ID. */ declare const PLAN_LIMITS: { free: PlanProductOfferings; team: PlanProductOfferings; growth: PlanProductOfferings; }; type PlanId = keyof typeof PLAN_LIMITS; //#endregion export { ITEM_IDS, ItemId, PLAN_LIMITS, PlanId, PlanProductOfferings, UNLIMITED }; //# sourceMappingURL=plans.d.ts.map