/**
* Constants for URL/link service (subLink generation, uniqueness, etc.)
* @category Types
*/
/** Max length of an autogenerated subLink slug (from title). */
export const SUBLINK_MAX_LENGTH = 80;
/** Number of random bytes used to generate a unique subLink suffix. */
export const AUTOGEN_RANDOM_BYTES = 4;
/** Max attempts to find a unique subLink before falling back to timestamp-based slug. */
export const MAX_UNIQUE_RETRIES = 10;
Source