Skip to content

Commit 0005271

Browse files
committed
New pricing
1 parent 814b11c commit 0005271

1 file changed

Lines changed: 34 additions & 8 deletions

File tree

packages/core/src/utils/plans.ts

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ import * as constants from './constants'
33

44
export type ActivePlanID =
55
| 'free'
6-
| '5db0d37ce59ab2d3c0bbd611'
7-
| '5dba30bd0621102b5cd0bc44'
8-
| '5dba30bf7deee78cb184291d'
6+
| '5dc89f56bae8d4ae5245423e'
7+
| '5db0d5fb957ac4e5ed7bbb05'
98

109
export type InactivePlanID =
1110
| '5d4b8e85d123d1d770d93825'
1211
| '5d4b8e44ab1ba20b9ef4a1ba'
1312
| '5d4b8e4de70bd8c61c13a6a9'
1413
| '5db0d55e138a98f7008a0e53'
15-
| '5db0d5fb957ac4e5ed7bbb05'
14+
| '5db0d37ce59ab2d3c0bbd611'
15+
| '5dba30bd0621102b5cd0bc44'
16+
| '5dba30bf7deee78cb184291d'
1617

1718
export type PlanID = ActivePlanID | InactivePlanID
1819

@@ -266,7 +267,7 @@ export const allPlansObj: Record<PlanID, Plan> = {
266267

267268
stripeIds: ['plan_G2y7gq9I7sd8Gc', 'plan_G3Liuh6wnA8Git'],
268269

269-
banner: '42% OFF',
270+
banner: '18% OFF',
270271

271272
cannonicalId: 'yearly',
272273
label: 'Yearly',
@@ -338,15 +339,40 @@ export const allPlansObj: Record<PlanID, Plan> = {
338339
enablePushNotifications: true,
339340
},
340341
},
342+
343+
'5dc89f56bae8d4ae5245423e': {
344+
id: '5dc89f56bae8d4ae5245423e',
345+
346+
stripeIds: ['plan_G9jW5bWfdl4T0T', 'plan_G9jQYMzS9KkKrk'],
347+
348+
banner: true,
349+
350+
cannonicalId: 'monthly',
351+
label: 'Monthly',
352+
description: '',
353+
amount: 699,
354+
currency: 'usd',
355+
interval: 'month',
356+
intervalCount: 1,
357+
trialPeriodDays: 0,
358+
featureLabels: [],
359+
360+
featureFlags: {
361+
columnsLimit: constants.COLUMNS_LIMIT,
362+
enableFilters: true,
363+
enableSync: true,
364+
enablePrivateRepositories: true,
365+
enablePushNotifications: true,
366+
},
367+
},
341368
}
342369

343370
export const allPlans = Object.values(allPlansObj)
344371

345372
export const activePlans: Array<Plan & { id: ActivePlanID }> = [
346373
allPlansObj.free as Plan & { id: ActivePlanID },
347-
allPlansObj['5db0d37ce59ab2d3c0bbd611'] as Plan & { id: ActivePlanID },
348-
allPlansObj['5dba30bd0621102b5cd0bc44'] as Plan & { id: ActivePlanID },
349-
allPlansObj['5dba30bf7deee78cb184291d'] as Plan & { id: ActivePlanID },
374+
allPlansObj['5dc89f56bae8d4ae5245423e'] as Plan & { id: ActivePlanID },
375+
allPlansObj['5db0d5fb957ac4e5ed7bbb05'] as Plan & { id: ActivePlanID },
350376
]
351377

352378
export const activePaidPlans = activePlans.filter(plan => plan.amount > 0)

0 commit comments

Comments
 (0)