@@ -3,17 +3,18 @@ import * as constants from './constants'
33
44export type ActivePlanID =
55 | 'free'
6- | '5dc89f56bae8d4ae5245423e '
7- | '5db0d5fb957ac4e5ed7bbb05 '
6+ | '5db0d37ce59ab2d3c0bbd611 '
7+ | '5dd44e11b2726bb02d540b5e '
88
99export type InactivePlanID =
1010 | '5d4b8e85d123d1d770d93825'
1111 | '5d4b8e44ab1ba20b9ef4a1ba'
1212 | '5d4b8e4de70bd8c61c13a6a9'
1313 | '5db0d55e138a98f7008a0e53'
14- | '5db0d37ce59ab2d3c0bbd611'
1514 | '5dba30bd0621102b5cd0bc44'
1615 | '5dba30bf7deee78cb184291d'
16+ | '5dc89f56bae8d4ae5245423e'
17+ | '5db0d5fb957ac4e5ed7bbb05'
1718
1819export type PlanID = ActivePlanID | InactivePlanID
1920
@@ -365,14 +366,40 @@ export const allPlansObj: Record<PlanID, Plan> = {
365366 enablePushNotifications : true ,
366367 } ,
367368 } ,
369+
370+ '5dd44e11b2726bb02d540b5e' : {
371+ id : '5dd44e11b2726bb02d540b5e' ,
372+
373+ stripeIds : [ 'plan_GD3I71EXD50V2t' , 'plan_GD3FmlLdmL4M9E' ] ,
374+
375+ banner : '25% OFF' ,
376+
377+ cannonicalId : 'yearly' ,
378+ label : 'Yearly' ,
379+ description : '' ,
380+ amount : 9000 ,
381+ currency : 'usd' ,
382+ interval : 'year' ,
383+ intervalCount : 1 ,
384+ trialPeriodDays : 0 ,
385+ featureLabels : [ ] ,
386+
387+ featureFlags : {
388+ columnsLimit : constants . COLUMNS_LIMIT ,
389+ enableFilters : true ,
390+ enableSync : true ,
391+ enablePrivateRepositories : true ,
392+ enablePushNotifications : true ,
393+ } ,
394+ } ,
368395}
369396
370397export const allPlans = Object . values ( allPlansObj )
371398
372399export const activePlans : Array < Plan & { id : ActivePlanID } > = [
373400 allPlansObj . free as Plan & { id : ActivePlanID } ,
374- allPlansObj [ '5dc89f56bae8d4ae5245423e ' ] as Plan & { id : ActivePlanID } ,
375- allPlansObj [ '5db0d5fb957ac4e5ed7bbb05 ' ] as Plan & { id : ActivePlanID } ,
401+ allPlansObj [ '5db0d37ce59ab2d3c0bbd611 ' ] as Plan & { id : ActivePlanID } ,
402+ allPlansObj [ '5dd44e11b2726bb02d540b5e ' ] as Plan & { id : ActivePlanID } ,
376403]
377404
378405export const activePaidPlans = activePlans . filter ( plan => plan . amount > 0 )
0 commit comments