import { randomUtils } from '../utils/randomUtils' ; export function getNewFileShareName ( siteName ) { const randomLetters = 6 ; const maxFileShareNameLength = 63 ; return siteName . toLowerCase ( ) . substr ( 0 , maxFileShareNameLength - randomLetters ) + randomUtils . getRandomHexString ( randomLetters ) ; }