diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/index.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video-token.model.ts | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts index f8e6976d3..4c1790228 100644 --- a/shared/models/videos/index.ts +++ b/shared/models/videos/index.ts | |||
@@ -33,6 +33,8 @@ export * from './video-storage.enum' | |||
33 | export * from './video-streaming-playlist.model' | 33 | export * from './video-streaming-playlist.model' |
34 | export * from './video-streaming-playlist.type' | 34 | export * from './video-streaming-playlist.type' |
35 | 35 | ||
36 | export * from './video-token.model' | ||
37 | |||
36 | export * from './video-update.model' | 38 | export * from './video-update.model' |
37 | export * from './video-view.model' | 39 | export * from './video-view.model' |
38 | export * from './video.model' | 40 | export * from './video.model' |
diff --git a/shared/models/videos/video-token.model.ts b/shared/models/videos/video-token.model.ts new file mode 100644 index 000000000..aefea565f --- /dev/null +++ b/shared/models/videos/video-token.model.ts | |||
@@ -0,0 +1,6 @@ | |||
1 | export interface VideoToken { | ||
2 | files: { | ||
3 | token: string | ||
4 | expires: string | Date | ||
5 | } | ||
6 | } | ||