cryptpad/www/common/common-constants.js

26 lines
801 B
JavaScript
Raw Normal View History

2017-11-21 23:47:19 +08:00
define(function () {
return {
// localStorage
userHashKey: 'User_hash',
userNameKey: 'User_name',
blockHashKey: 'Block_hash',
2017-11-21 23:47:19 +08:00
fileHashKey: 'FS_hash',
// sessionStorage
newPadPathKey: "newPadPath",
2019-09-12 23:54:50 +08:00
newPadTeamKey: "newPadTeam",
newPadFileData: "newPadFileData",
2017-11-21 23:47:19 +08:00
// 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',
deprecatedKey: 'deprecated',
2019-09-24 22:55:05 +08:00
MAX_TEAMS_SLOTS: 3,
// Sub
plan: 'CryptPad_plan',
// Apps
criticalApps: ['profile', 'settings', 'debug', 'admin', 'support', 'notifications']
2017-11-21 23:47:19 +08:00
};
});