plansFeatures.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. const individualPlans = [
  2. {
  3. divider: false,
  4. items: [
  5. {
  6. feature: 'number_of_users',
  7. info: 'number_of_users_info',
  8. value: 'str',
  9. plans: {
  10. free: 'one_user',
  11. collaborator: 'one_user',
  12. professional: 'one_user',
  13. },
  14. },
  15. {
  16. feature: 'max_collab_per_project',
  17. info: 'max_collab_per_project_info',
  18. value: 'str',
  19. plans: {
  20. free: 'you_plus_1',
  21. collaborator: 'you_plus_10',
  22. professional: 'unlimited_bold',
  23. },
  24. },
  25. ],
  26. },
  27. {
  28. divider: true,
  29. dividerLabel: 'you_and_collaborators_get_access_to',
  30. dividerInfo: 'you_and_collaborators_get_access_to_info',
  31. items: [
  32. {
  33. feature: 'compile_timeout_short',
  34. info: 'compile_timeout_short_info',
  35. value: 'str',
  36. plans: {
  37. free: 'one_minute',
  38. collaborator: 'four_minutes',
  39. professional: 'four_minutes',
  40. },
  41. },
  42. {
  43. feature: 'realtime_track_changes',
  44. info: 'realtime_track_changes_info_v2',
  45. value: 'bool',
  46. plans: {
  47. free: false,
  48. collaborator: true,
  49. professional: true,
  50. },
  51. },
  52. {
  53. feature: 'full_doc_history',
  54. info: 'full_doc_history_info_v2',
  55. value: 'bool',
  56. plans: {
  57. free: false,
  58. collaborator: true,
  59. professional: true,
  60. },
  61. },
  62. {
  63. feature: 'reference_search',
  64. info: 'reference_search_info_v2',
  65. value: 'bool',
  66. plans: {
  67. free: false,
  68. collaborator: true,
  69. professional: true,
  70. },
  71. },
  72. {
  73. feature: 'git_integration_lowercase',
  74. info: 'git_integration_lowercase_info',
  75. value: 'bool',
  76. plans: {
  77. free: false,
  78. collaborator: true,
  79. professional: true,
  80. },
  81. },
  82. ],
  83. },
  84. {
  85. divider: true,
  86. dividerLabel: 'you_get_access_to',
  87. dividerInfo: 'you_get_access_to_info',
  88. items: [
  89. {
  90. feature: 'powerful_latex_editor_and_realtime_collaboration',
  91. info: 'powerful_latex_editor_and_realtime_collaboration_info',
  92. value: 'bool',
  93. plans: {
  94. free: true,
  95. collaborator: true,
  96. professional: true,
  97. },
  98. },
  99. {
  100. feature: 'unlimited_projects',
  101. info: 'unlimited_projects_info',
  102. value: 'bool',
  103. plans: {
  104. free: true,
  105. collaborator: true,
  106. professional: true,
  107. },
  108. },
  109. {
  110. feature: 'thousands_templates',
  111. info: 'hundreds_templates_info',
  112. value: 'bool',
  113. plans: {
  114. free: true,
  115. collaborator: true,
  116. professional: true,
  117. },
  118. },
  119. {
  120. feature: 'symbol_palette',
  121. info: 'symbol_palette_info',
  122. value: 'bool',
  123. plans: {
  124. free: false,
  125. collaborator: true,
  126. professional: true,
  127. },
  128. },
  129. {
  130. feature: 'github_only_integration_lowercase',
  131. info: 'github_only_integration_lowercase_info',
  132. value: 'bool',
  133. plans: {
  134. free: false,
  135. collaborator: true,
  136. professional: true,
  137. },
  138. },
  139. {
  140. feature: 'dropbox_integration_lowercase',
  141. info: 'dropbox_integration_info',
  142. value: 'bool',
  143. plans: {
  144. free: false,
  145. collaborator: true,
  146. professional: true,
  147. },
  148. },
  149. {
  150. feature: 'mendeley_integration_lowercase',
  151. info: 'mendeley_integration_lowercase_info',
  152. value: 'bool',
  153. plans: {
  154. free: false,
  155. collaborator: true,
  156. professional: true,
  157. },
  158. },
  159. {
  160. feature: 'zotero_integration_lowercase',
  161. info: 'zotero_integration_lowercase_info',
  162. value: 'bool',
  163. plans: {
  164. free: false,
  165. collaborator: true,
  166. professional: true,
  167. },
  168. },
  169. {
  170. feature: 'priority_support',
  171. info: 'priority_support_info',
  172. value: 'bool',
  173. plans: {
  174. free: false,
  175. collaborator: true,
  176. professional: true,
  177. },
  178. },
  179. ],
  180. },
  181. ]
  182. const groupPlans = [
  183. {
  184. divider: false,
  185. items: [
  186. {
  187. feature: 'number_of_users',
  188. info: 'number_of_users_info',
  189. value: 'str',
  190. plans: {
  191. group_standard: 'two_users',
  192. group_professional: 'two_users',
  193. organization: 'contact_sales',
  194. },
  195. },
  196. {
  197. feature: 'max_collab_per_project',
  198. info: 'max_collab_per_project_info',
  199. value: 'str',
  200. plans: {
  201. group_standard: 'project_owner_plus_10',
  202. group_professional: 'unlimited_bold',
  203. organization: 'unlimited_bold',
  204. },
  205. },
  206. ],
  207. },
  208. {
  209. divider: true,
  210. dividerLabel: 'group_admins_get_access_to',
  211. dividerInfo: 'group_admins_get_access_to_info',
  212. items: [
  213. {
  214. feature: 'user_management',
  215. info: 'user_management_info',
  216. value: 'str',
  217. plans: {
  218. group_standard: 'subscription_admin_panel',
  219. group_professional: 'subscription_admin_panel',
  220. organization: 'automatic_user_registration',
  221. },
  222. },
  223. {
  224. feature: 'usage_metrics',
  225. info: 'usage_metrics_info',
  226. value: 'bool',
  227. plans: {
  228. group_standard: true,
  229. group_professional: true,
  230. organization: true,
  231. },
  232. },
  233. {
  234. feature: 'sso_integration',
  235. info: 'sso_integration_info',
  236. value: 'bool',
  237. plans: {
  238. group_standard: false,
  239. group_professional: false,
  240. organization: true,
  241. },
  242. },
  243. {
  244. feature: 'sitewide_option_available',
  245. info: 'sitewide_option_available_info',
  246. value: 'bool',
  247. plans: {
  248. group_standard: false,
  249. group_professional: false,
  250. organization: true,
  251. },
  252. },
  253. {
  254. feature: 'custom_resource_portal',
  255. info: 'custom_resource_portal_info',
  256. value: 'bool',
  257. plans: {
  258. group_standard: false,
  259. group_professional: false,
  260. organization: true,
  261. },
  262. },
  263. {
  264. feature: 'personalized_onboarding',
  265. info: 'personalized_onboarding_info',
  266. value: 'bool',
  267. plans: {
  268. group_standard: false,
  269. group_professional: false,
  270. organization: true,
  271. },
  272. },
  273. {
  274. feature: 'dedicated_account_manager',
  275. info: 'dedicated_account_manager_info',
  276. value: 'bool',
  277. plans: {
  278. group_standard: false,
  279. group_professional: false,
  280. organization: true,
  281. },
  282. },
  283. ],
  284. },
  285. {
  286. divider: true,
  287. dividerLabel: 'group_members_and_collaborators_get_access_to',
  288. dividerInfo: 'group_members_and_collaborators_get_access_to_info',
  289. items: [
  290. {
  291. feature: 'compile_timeout_short',
  292. info: 'compile_timeout_short_info',
  293. value: 'str',
  294. plans: {
  295. group_standard: 'four_minutes',
  296. group_professional: 'four_minutes',
  297. organization: 'four_minutes',
  298. },
  299. },
  300. {
  301. feature: 'realtime_track_changes',
  302. info: 'realtime_track_changes_info_v2',
  303. value: 'bool',
  304. plans: {
  305. group_standard: true,
  306. group_professional: true,
  307. organization: true,
  308. },
  309. },
  310. {
  311. feature: 'full_doc_history',
  312. info: 'full_doc_history_info_v2',
  313. value: 'bool',
  314. plans: {
  315. group_standard: true,
  316. group_professional: true,
  317. organization: true,
  318. },
  319. },
  320. {
  321. feature: 'reference_search',
  322. info: 'reference_search_info_v2',
  323. value: 'bool',
  324. plans: {
  325. group_standard: true,
  326. group_professional: true,
  327. organization: true,
  328. },
  329. },
  330. {
  331. feature: 'git_integration_lowercase',
  332. info: 'git_integration_lowercase_info',
  333. value: 'bool',
  334. plans: {
  335. group_standard: true,
  336. group_professional: true,
  337. organization: true,
  338. },
  339. },
  340. ],
  341. },
  342. {
  343. divider: true,
  344. dividerLabel: 'group_members_get_access_to',
  345. dividerInfo: 'group_members_get_access_to_info',
  346. items: [
  347. {
  348. feature: 'powerful_latex_editor_and_realtime_collaboration',
  349. info: 'powerful_latex_editor_and_realtime_collaboration_info',
  350. value: 'bool',
  351. plans: {
  352. group_standard: true,
  353. group_professional: true,
  354. organization: true,
  355. },
  356. },
  357. {
  358. feature: 'unlimited_projects',
  359. info: 'unlimited_projects_info',
  360. value: 'bool',
  361. plans: {
  362. group_standard: true,
  363. group_professional: true,
  364. organization: true,
  365. },
  366. },
  367. {
  368. feature: 'thousands_templates',
  369. info: 'hundreds_templates_info',
  370. value: 'bool',
  371. plans: {
  372. group_standard: true,
  373. group_professional: true,
  374. organization: true,
  375. },
  376. },
  377. {
  378. feature: 'symbol_palette',
  379. info: 'symbol_palette_info',
  380. value: 'bool',
  381. plans: {
  382. group_standard: true,
  383. group_professional: true,
  384. organization: true,
  385. },
  386. },
  387. {
  388. feature: 'github_only_integration_lowercase',
  389. info: 'github_only_integration_lowercase_info',
  390. value: 'bool',
  391. plans: {
  392. group_standard: true,
  393. group_professional: true,
  394. organization: true,
  395. },
  396. },
  397. {
  398. feature: 'dropbox_integration_lowercase',
  399. info: 'dropbox_integration_info',
  400. value: 'bool',
  401. plans: {
  402. group_standard: true,
  403. group_professional: true,
  404. organization: true,
  405. },
  406. },
  407. {
  408. feature: 'mendeley_integration_lowercase',
  409. info: 'mendeley_integration_lowercase_info',
  410. value: 'bool',
  411. plans: {
  412. group_standard: true,
  413. group_professional: true,
  414. organization: true,
  415. },
  416. },
  417. {
  418. feature: 'zotero_integration_lowercase',
  419. info: 'zotero_integration_lowercase_info',
  420. value: 'bool',
  421. plans: {
  422. group_standard: true,
  423. group_professional: true,
  424. organization: true,
  425. },
  426. },
  427. {
  428. feature: 'priority_support',
  429. info: 'priority_support_info',
  430. value: 'bool',
  431. plans: {
  432. group_standard: true,
  433. group_professional: true,
  434. organization: true,
  435. },
  436. },
  437. ],
  438. },
  439. ]
  440. const studentPlans = [
  441. {
  442. divider: false,
  443. items: [
  444. {
  445. feature: 'number_of_users',
  446. info: 'number_of_users_info',
  447. value: 'str',
  448. plans: {
  449. free: 'one_user',
  450. student: 'one_user',
  451. },
  452. },
  453. {
  454. feature: 'max_collab_per_project',
  455. info: 'max_collab_per_project_info',
  456. value: 'str',
  457. plans: {
  458. free: 'you_plus_1',
  459. student: 'you_plus_6',
  460. },
  461. },
  462. ],
  463. },
  464. {
  465. divider: true,
  466. dividerLabel: 'you_and_collaborators_get_access_to',
  467. dividerInfo: 'you_and_collaborators_get_access_to_info',
  468. items: [
  469. {
  470. feature: 'compile_timeout_short',
  471. info: 'compile_timeout_short_info',
  472. value: 'str',
  473. plans: {
  474. free: 'one_minute',
  475. student: 'four_minutes',
  476. },
  477. },
  478. {
  479. feature: 'realtime_track_changes',
  480. info: 'realtime_track_changes_info_v2',
  481. value: 'bool',
  482. plans: {
  483. free: false,
  484. student: true,
  485. },
  486. },
  487. {
  488. feature: 'full_doc_history',
  489. info: 'full_doc_history_info_v2',
  490. value: 'bool',
  491. plans: {
  492. free: false,
  493. student: true,
  494. },
  495. },
  496. {
  497. feature: 'reference_search',
  498. info: 'reference_search_info_v2',
  499. value: 'bool',
  500. plans: {
  501. free: false,
  502. student: true,
  503. },
  504. },
  505. {
  506. feature: 'git_integration_lowercase',
  507. info: 'git_integration_lowercase_info',
  508. value: 'bool',
  509. plans: {
  510. free: false,
  511. student: true,
  512. },
  513. },
  514. ],
  515. },
  516. {
  517. divider: true,
  518. dividerLabel: 'you_get_access_to',
  519. dividerInfo: 'you_get_access_to_info',
  520. items: [
  521. {
  522. feature: 'powerful_latex_editor_and_realtime_collaboration',
  523. info: 'powerful_latex_editor_and_realtime_collaboration_info',
  524. value: 'bool',
  525. plans: {
  526. free: true,
  527. student: true,
  528. },
  529. },
  530. {
  531. feature: 'unlimited_projects',
  532. info: 'unlimited_projects_info',
  533. value: 'bool',
  534. plans: {
  535. free: true,
  536. student: true,
  537. },
  538. },
  539. {
  540. feature: 'thousands_templates',
  541. info: 'thousands_templates_info',
  542. value: 'bool',
  543. plans: {
  544. free: true,
  545. student: true,
  546. },
  547. },
  548. {
  549. feature: 'symbol_palette',
  550. info: 'symbol_palette_info',
  551. value: 'bool',
  552. plans: {
  553. free: false,
  554. student: true,
  555. },
  556. },
  557. {
  558. feature: 'github_only_integration_lowercase',
  559. info: 'github_only_integration_lowercase_info',
  560. value: 'bool',
  561. plans: {
  562. free: false,
  563. student: true,
  564. },
  565. },
  566. {
  567. feature: 'dropbox_integration_lowercase',
  568. info: 'dropbox_integration_info',
  569. value: 'bool',
  570. plans: {
  571. free: false,
  572. student: true,
  573. },
  574. },
  575. {
  576. feature: 'mendeley_integration_lowercase',
  577. info: 'mendeley_integration_lowercase_info',
  578. value: 'bool',
  579. plans: {
  580. free: false,
  581. student: true,
  582. },
  583. },
  584. {
  585. feature: 'zotero_integration_lowercase',
  586. info: 'zotero_integration_lowercase_info',
  587. value: 'bool',
  588. plans: {
  589. free: false,
  590. student: true,
  591. },
  592. },
  593. {
  594. feature: 'priority_support',
  595. info: 'priority_support_info',
  596. value: 'bool',
  597. plans: {
  598. free: false,
  599. student: true,
  600. },
  601. },
  602. ],
  603. },
  604. ]
  605. module.exports = {
  606. individual: individualPlans,
  607. group: groupPlans,
  608. student: studentPlans,
  609. }