diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-27 09:58:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-27 09:58:27 +0200 |
commit | 0fecf427d349a416dad149ee5d0b5210b6a43005 (patch) | |
tree | 8698f4c86a908f5f7465db0d36ba610a70773a0a /shared/models/videos | |
parent | 5520f6658e330391f6439d65ffdaf07b46cefa64 (diff) | |
download | PeerTube-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.ts | 5 | ||||
-rw-r--r-- | shared/models/videos/video-streaming-playlist.model.ts | 2 |
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 | 1 | import { VideoConstant } from './video-constant.model' | |
2 | import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models' | 2 | import { VideoFileMetadata } from './video-file-metadata' |
3 | import { VideoResolution } from './video-resolution.enum' | ||
3 | 4 | ||
4 | export interface VideoFile { | 5 | export 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 @@ | |||
1 | import { VideoStreamingPlaylistType } from './video-streaming-playlist.type' | 1 | import { VideoStreamingPlaylistType } from './video-streaming-playlist.type' |
2 | import { VideoFile } from '@shared/models/videos/video-file.model' | 2 | import { VideoFile } from './video-file.model' |
3 | 3 | ||
4 | export class VideoStreamingPlaylist { | 4 | export class VideoStreamingPlaylist { |
5 | id: number | 5 | id: number |