passbolt-styleguide
Version:
Passbolt styleguide contains common styling assets used by the different sites, plugin, etc.
35 lines (33 loc) • 1.42 kB
JavaScript
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) 2020 Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) 2020 Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 3.9.0
*/
/** user inputs max length */
export const USER_INPUT_MAX_LENGTH = 128;
/** Resource group name max length */
export const RESOURCE_GROUP_NAME_MAX_LENGTH = 50;
/** Resource name max length */
export const RESOURCE_NAME_MAX_LENGTH = 255;
/** Resource username max length */
export const RESOURCE_USERNAME_MAX_LENGTH = 255;
/** Resource folder name max length */
export const RESOURCE_FOLDER_NAME_MAX_LENGTH = 256;
/** Resource name max length */
export const RESOURCE_TAG_MAX_LENGTH = 128;
/** Resource password max length */
export const RESOURCE_PASSWORD_MAX_LENGTH = 4096;
/** Resource description max length */
export const RESOURCE_DESCRIPTION_MAX_LENGTH = 10000;
/** Resource uri max length */
export const RESOURCE_URI_MAX_LENGTH = 1024;
/** Resource totp key max length */
export const RESOURCE_TOTP_KEY_MAX_LENGTH = 1024;