diff --git a/www/common/common-constants.js b/www/common/common-constants.js new file mode 100644 index 000000000..76c70d103 --- /dev/null +++ b/www/common/common-constants.js @@ -0,0 +1,14 @@ +define(function () { + return { + // localStorage + userHashKey: 'User_hash', + userNameKey: 'User_name', + fileHashKey: 'FS_hash', + // sessionStorage + newPadPathKey: "newPadPath", + // Store + displayNameKey: 'cryptpad.username', + oldStorageKey: 'CryptPad_RECENTPADS', + storageKey: 'filesData', + }; +});