cryptpad/www/common/common-constants.js

24 lines
736 B
JavaScript
Raw Normal View History

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