cryptpad/www/common/common-constants.js

23 lines
666 B
JavaScript
Raw Normal View History

2017-11-21 15:47:19 +00:00
define(function () {
return {
// localStorage
userHashKey: 'User_hash',
userNameKey: 'User_name',
blockHashKey: 'Block_hash',
2017-11-21 15:47:19 +00:00
fileHashKey: 'FS_hash',
// sessionStorage
newPadPathKey: "newPadPath",
// Store
displayNameKey: 'cryptpad.username',
oldStorageKey: 'CryptPad_RECENTPADS',
storageKey: 'filesData',
2017-11-30 09:33:09 +00:00
tokenKey: 'loginToken',
2018-06-22 08:37:54 +00:00
displayPadCreationScreen: 'displayPadCreationScreen',
deprecatedKey: 'deprecated',
// Sub
plan: 'CryptPad_plan',
// Apps
2019-03-27 16:00:28 +00:00
criticalApps: ['profile', 'settings', 'debug', 'admin']
2017-11-21 15:47:19 +00:00
};
});