namespace Paths { function base ( coachId , accountId ) { return `entries/${ coachId }/${ accountId }` ; } export function getJournalEntryPath ( coachUid , accountId , filename ) { return `${ base ( coachUid , accountId ) }/journal/${ filename }` ; } export function getSessionEntryPath ( coachUid , accountId , filename ) { return `${ base ( coachUid , accountId ) }/sessions/${ filename }` ; } export function getDocumentEntryPath ( coachUid , accountId , filename ) { return `${ base ( coachUid , accountId ) }/documents/${ filename }` ; } export function getAvatarPath ( uid ) { return `users/${ uid }/avatar` ; } } export default Paths ;