import { TrackModel } from '../models/track.model' ; import { ShoutoutModel } from '../models/shoutout.model' ; export class SOPUtils { public static getShoutOutPath ( track , shoutouts ) { if ( track . shoutoutId ) { for ( let shoutout of shoutouts ) { if ( shoutout . id === track . shoutoutId ) { return shoutout . filename ; } } } return null ; } }