diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-08-08 19:50:17 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-08-08 19:50:17 +0200 |
commit | 524d55f46e3834a84db17945eaa1c65891f06547 (patch) | |
tree | e7b1e5dcd77d1b094fd5bc911e75bf40c47862cc /src/config.js | |
parent | Fix service restriction on pro plan (diff) | |
download | ferdium-app-524d55f46e3834a84db17945eaa1c65891f06547.tar.gz ferdium-app-524d55f46e3834a84db17945eaa1c65891f06547.tar.zst ferdium-app-524d55f46e3834a84db17945eaa1c65891f06547.zip |
Add option to subscribe to trial via account dashboard
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 | }; | ||