diff options
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js index 3c8b0f0d0..edcae9df1 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -84,3 +84,27 @@ export const ALLOWED_PROTOCOLS = [ | |||
84 | 'http:', | 84 | 'http:', |
85 | 'ftp:', | 85 | 'ftp:', |
86 | ]; | 86 | ]; |
87 | |||
88 | export const PLANS = { | ||
89 | PERSONAL_MONTHLY: 'PERSONAL_MONTHLY', | ||
90 | PERSONAL_YEARLY: 'PERSONAL_YEARLY', | ||
91 | PRO_MONTHLY: 'PRO_MONTHLY', | ||
92 | PRO_YEARLY: 'PRO_YEARLY', | ||
93 | LEGACY: 'LEGACY', | ||
94 | FREE: 'FREE', | ||
95 | }; | ||
96 | |||
97 | export const PLANS_MAPPING = { | ||
98 | 'franz-personal-monthly': PLANS.PERSONAL_MONTHLY, | ||
99 | 'franz-personal-yearly': PLANS.PERSONAL_YEARLY, | ||
100 | 'franz-pro-monthly': PLANS.PRO_MONTHLY, | ||
101 | 'franz-pro-yearly': PLANS.PRO_YEARLY, | ||
102 | 'franz-supporter-license': PLANS.LEGACY, | ||
103 | 'franz-supporter-license-x1': PLANS.LEGACY, | ||
104 | 'franz-supporter-license-x2': PLANS.LEGACY, | ||
105 | 'franz-supporter-license-year': PLANS.LEGACY, | ||
106 | 'franz-supporter-license-year-x1': PLANS.LEGACY, | ||
107 | 'franz-supporter-license-year-x2': PLANS.LEGACY, | ||
108 | 'franz-supporter-license-year-2019': PLANS.LEGACY, | ||
109 | free: PLANS.FREE, | ||
110 | }; | ||