2019-10-16 00:02:11 +08:00
|
|
|
define(['/customize/application_config.js'], function (AppConfig) {
|
2017-11-21 23:47:19 +08:00
|
|
|
return {
|
|
|
|
// localStorage
|
|
|
|
userHashKey: 'User_hash',
|
|
|
|
userNameKey: 'User_name',
|
2018-06-20 00:08:14 +08:00
|
|
|
blockHashKey: 'Block_hash',
|
2017-11-21 23:47:19 +08:00
|
|
|
fileHashKey: 'FS_hash',
|
|
|
|
// Store
|
|
|
|
displayNameKey: 'cryptpad.username',
|
|
|
|
oldStorageKey: 'CryptPad_RECENTPADS',
|
|
|
|
storageKey: 'filesData',
|
2017-11-30 17:33:09 +08:00
|
|
|
tokenKey: 'loginToken',
|
2018-06-22 16:37:54 +08:00
|
|
|
displayPadCreationScreen: 'displayPadCreationScreen',
|
2018-09-14 17:21:52 +08:00
|
|
|
deprecatedKey: 'deprecated',
|
2020-12-14 23:01:01 +08:00
|
|
|
MAX_TEAMS_SLOTS: AppConfig.maxTeamsSlots || 5,
|
|
|
|
MAX_TEAMS_OWNED: AppConfig.maxOwnedTeams || 5,
|
2018-12-12 21:52:58 +08:00
|
|
|
// Apps
|
2021-04-02 19:44:28 +08:00
|
|
|
criticalApps: ['profile', 'settings', 'debug', 'admin', 'support', 'notifications', 'calendar']
|
2017-11-21 23:47:19 +08:00
|
|
|
};
|
|
|
|
});
|