diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/index.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/playlist/index.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/playlist/video-playlist-create-result.model.ts | 5 | ||||
-rw-r--r-- | shared/models/videos/playlist/video-playlist.model.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video-create-result.model.ts | 5 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 2 |
6 files changed, 16 insertions, 0 deletions
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts index 64f2c9df6..faa9b9868 100644 --- a/shared/models/videos/index.ts +++ b/shared/models/videos/index.ts | |||
@@ -35,3 +35,4 @@ export * from './video-transcoding-fps.model' | |||
35 | 35 | ||
36 | export * from './video-update.model' | 36 | export * from './video-update.model' |
37 | export * from './video.model' | 37 | export * from './video.model' |
38 | export * from './video-create-result.model' | ||
diff --git a/shared/models/videos/playlist/index.ts b/shared/models/videos/playlist/index.ts index 99f7e9bab..f11a4bd28 100644 --- a/shared/models/videos/playlist/index.ts +++ b/shared/models/videos/playlist/index.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | export * from './video-exist-in-playlist.model' | 1 | export * from './video-exist-in-playlist.model' |
2 | export * from './video-playlist-create-result.model' | ||
2 | export * from './video-playlist-create.model' | 3 | export * from './video-playlist-create.model' |
3 | export * from './video-playlist-element-create.model' | 4 | export * from './video-playlist-element-create.model' |
4 | export * from './video-playlist-element-update.model' | 5 | export * from './video-playlist-element-update.model' |
diff --git a/shared/models/videos/playlist/video-playlist-create-result.model.ts b/shared/models/videos/playlist/video-playlist-create-result.model.ts new file mode 100644 index 000000000..cd9b170ae --- /dev/null +++ b/shared/models/videos/playlist/video-playlist-create-result.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface VideoPlaylistCreateResult { | ||
2 | id: number | ||
3 | uuid: string | ||
4 | shortUUID: string | ||
5 | } | ||
diff --git a/shared/models/videos/playlist/video-playlist.model.ts b/shared/models/videos/playlist/video-playlist.model.ts index ab4171ad1..b8a9955d9 100644 --- a/shared/models/videos/playlist/video-playlist.model.ts +++ b/shared/models/videos/playlist/video-playlist.model.ts | |||
@@ -6,6 +6,8 @@ import { VideoPlaylistType } from './video-playlist-type.model' | |||
6 | export interface VideoPlaylist { | 6 | export interface VideoPlaylist { |
7 | id: number | 7 | id: number |
8 | uuid: string | 8 | uuid: string |
9 | shortUUID: string | ||
10 | |||
9 | isLocal: boolean | 11 | isLocal: boolean |
10 | 12 | ||
11 | url: string | 13 | url: string |
diff --git a/shared/models/videos/video-create-result.model.ts b/shared/models/videos/video-create-result.model.ts new file mode 100644 index 000000000..a9f8e25a0 --- /dev/null +++ b/shared/models/videos/video-create-result.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface VideoCreateResult { | ||
2 | id: number | ||
3 | uuid: string | ||
4 | shortUUID: string | ||
5 | } | ||
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index caefeff82..0e3e89f43 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -10,6 +10,8 @@ import { VideoStreamingPlaylist } from './video-streaming-playlist.model' | |||
10 | export interface Video { | 10 | export interface Video { |
11 | id: number | 11 | id: number |
12 | uuid: string | 12 | uuid: string |
13 | shortUUID: string | ||
14 | |||
13 | createdAt: Date | string | 15 | createdAt: Date | string |
14 | updatedAt: Date | string | 16 | updatedAt: Date | string |
15 | publishedAt: Date | string | 17 | publishedAt: Date | string |