Files
sase.tr/packages/shared/src/constants/plans.ts
Fusion e97aab6fe4
Some checks failed
Sync dev → Gitea / Mirror dev to Gitea (push) Has been cancelled
feat(FN-214): extract brandLimit 999 magic number to FULL_PLAN_BRAND_LIMIT constant in @sase/shared (+1 more)
Commits merged:
- fix(FN-214): add missing import for FULL_PLAN_BRAND_LIMIT in subscription/index.tsx
- feat(FN-214): extract brandLimit 999 magic number to FULL_PLAN_BRAND_LIMIT constant in @sase/shared

Files changed:
apps/web/src/routes/dashboard/subscription/index.tsx | 16 +++++++++++-----
 apps/web/src/routes/pricing.tsx                      |  3 ++-
 packages/shared/src/constants/plans.ts               |  3 +++
 packages/shared/src/index.ts                         |  2 +-
 4 files changed, 17 insertions(+), 7 deletions(-)

Fusion-Task-Id: FN-214
2026-05-12 22:21:14 +00:00

37 lines
768 B
TypeScript

export const PLANS = {
SINGLE: {
name: "1 Marka",
brandCount: 1,
priceMonthly: 200_00,
priceYearly: 2000_00,
},
DOUBLE: {
name: "2 Marka",
brandCount: 2,
priceMonthly: 350_00,
priceYearly: 3500_00,
},
TRIPLE: {
name: "3 Marka",
brandCount: 3,
priceMonthly: 500_00,
priceYearly: 5000_00,
},
FULL: {
name: "Full Paket",
brandCount: 0,
priceMonthly: 999_00,
priceYearly: 9990_00,
},
} as const;
/** Sentinel value representing unlimited brand access for display purposes. */
export const FULL_PLAN_BRAND_LIMIT = 999;
export const REFERRAL_REWARDS = {
TIER_1: { count: 3, extensionDays: 7 },
TIER_2: { count: 5, extensionDays: 30 },
} as const;
export const CURRENCY = "TRY" as const;