aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-27 09:58:27 +0200
committerChocobozzz <me@florianbigard.com>2020-08-27 09:58:27 +0200
commit0fecf427d349a416dad149ee5d0b5210b6a43005 (patch)
tree8698f4c86a908f5f7465db0d36ba610a70773a0a /shared/models/videos
parent5520f6658e330391f6439d65ffdaf07b46cefa64 (diff)
downloadPeerTube-0fecf427d349a416dad149ee5d0b5210b6a43005.tar.gz
PeerTube-0fecf427d349a416dad149ee5d0b5210b6a43005.tar.zst
PeerTube-0fecf427d349a416dad149ee5d0b5210b6a43005.zip
Don't use @shared in models
So other projects can use them
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video-file.model.ts5
-rw-r--r--shared/models/videos/video-streaming-playlist.model.ts2
2 files changed, 4 insertions, 3 deletions
diff --git a/shared/models/videos/video-file.model.ts b/shared/models/videos/video-file.model.ts
index cbef05ac0..e9839229d 100644
--- a/shared/models/videos/video-file.model.ts
+++ b/shared/models/videos/video-file.model.ts
@@ -1,5 +1,6 @@
1 1import { VideoConstant } from './video-constant.model'
2import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models' 2import { VideoFileMetadata } from './video-file-metadata'
3import { VideoResolution } from './video-resolution.enum'
3 4
4export interface VideoFile { 5export interface VideoFile {
5 magnetUri: string 6 magnetUri: string
diff --git a/shared/models/videos/video-streaming-playlist.model.ts b/shared/models/videos/video-streaming-playlist.model.ts
index 42fce4bdc..a07d911dc 100644
--- a/shared/models/videos/video-streaming-playlist.model.ts
+++ b/shared/models/videos/video-streaming-playlist.model.ts
@@ -1,5 +1,5 @@
1import { VideoStreamingPlaylistType } from './video-streaming-playlist.type' 1import { VideoStreamingPlaylistType } from './video-streaming-playlist.type'
2import { VideoFile } from '@shared/models/videos/video-file.model' 2import { VideoFile } from './video-file.model'
3 3
4export class VideoStreamingPlaylist { 4export class VideoStreamingPlaylist {
5 id: number 5 id: number