From d4a8e7a65f97bb3257facc13e1ae8ffdbad61ddb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Jun 2021 17:30:59 +0200 Subject: Support short uuid for GET video/playlist --- shared/models/videos/playlist/index.ts | 1 + shared/models/videos/playlist/video-playlist-create-result.model.ts | 5 +++++ shared/models/videos/playlist/video-playlist.model.ts | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 shared/models/videos/playlist/video-playlist-create-result.model.ts (limited to 'shared/models/videos/playlist') 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 @@ export * from './video-exist-in-playlist.model' +export * from './video-playlist-create-result.model' export * from './video-playlist-create.model' export * from './video-playlist-element-create.model' 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 @@ +export interface VideoPlaylistCreateResult { + id: number + uuid: string + shortUUID: string +} 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' export interface VideoPlaylist { id: number uuid: string + shortUUID: string + isLocal: boolean url: string -- cgit v1.2.3