-import { VideoPlaylistElement as ServerVideoPlaylistElement, VideoPlaylistElementType } from '../../../../../shared/models/videos'
import { Video } from '@app/shared/shared-main'
+import { VideoPlaylistElement as ServerVideoPlaylistElement, VideoPlaylistElementType } from '@shared/models'
export class VideoPlaylistElement implements ServerVideoPlaylistElement {
id: number
video?: Video
- constructor (hash: ServerVideoPlaylistElement, translations: {}) {
+ constructor (hash: ServerVideoPlaylistElement, translations: { [ id: string ]: string } = {}) {
this.id = hash.id
this.position = hash.position
this.startTimestamp = hash.startTimestamp