From 22a73cb879a5cc775d4bec3d72fa9c9cf52e5175 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Dec 2019 15:47:47 +0100 Subject: Add internal privacy mode --- shared/models/videos/video-privacy.enum.ts | 3 ++- shared/models/videos/video-schedule-update.model.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'shared/models/videos') diff --git a/shared/models/videos/video-privacy.enum.ts b/shared/models/videos/video-privacy.enum.ts index 29888c7b8..17ed0c9bb 100644 --- a/shared/models/videos/video-privacy.enum.ts +++ b/shared/models/videos/video-privacy.enum.ts @@ -1,5 +1,6 @@ export enum VideoPrivacy { PUBLIC = 1, UNLISTED = 2, - PRIVATE = 3 + PRIVATE = 3, + INTERNAL = 4 } diff --git a/shared/models/videos/video-schedule-update.model.ts b/shared/models/videos/video-schedule-update.model.ts index b865c1614..87d74f654 100644 --- a/shared/models/videos/video-schedule-update.model.ts +++ b/shared/models/videos/video-schedule-update.model.ts @@ -2,5 +2,5 @@ import { VideoPrivacy } from './video-privacy.enum' export interface VideoScheduleUpdate { updateAt: Date | string - privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED // Cannot schedule an update to PRIVATE + privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED | VideoPrivacy.INTERNAL // Cannot schedule an update to PRIVATE } -- cgit v1.2.3