aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/users/user-right.enum.ts56
-rw-r--r--shared/models/videos/live/live-video.model.ts8
2 files changed, 32 insertions, 32 deletions
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts
index d3f793d8b..9c6828aa5 100644
--- a/shared/models/users/user-right.enum.ts
+++ b/shared/models/users/user-right.enum.ts
@@ -1,47 +1,47 @@
1export const enum UserRight { 1export const enum UserRight {
2 ALL, 2 ALL = 0,
3 3
4 MANAGE_USERS, 4 MANAGE_USERS = 1,
5 5
6 MANAGE_SERVER_FOLLOW, 6 MANAGE_SERVER_FOLLOW = 2,
7 7
8 MANAGE_LOGS, 8 MANAGE_LOGS = 3,
9 9
10 MANAGE_DEBUG, 10 MANAGE_DEBUG = 4,
11 11
12 MANAGE_SERVER_REDUNDANCY, 12 MANAGE_SERVER_REDUNDANCY = 5,
13 13
14 MANAGE_ABUSES, 14 MANAGE_ABUSES = 6,
15 15
16 MANAGE_JOBS, 16 MANAGE_JOBS = 7,
17 17
18 MANAGE_CONFIGURATION, 18 MANAGE_CONFIGURATION = 8,
19 MANAGE_INSTANCE_CUSTOM_PAGE, 19 MANAGE_INSTANCE_CUSTOM_PAGE = 9,
20 20
21 MANAGE_ACCOUNTS_BLOCKLIST, 21 MANAGE_ACCOUNTS_BLOCKLIST = 10,
22 MANAGE_SERVERS_BLOCKLIST, 22 MANAGE_SERVERS_BLOCKLIST = 11,
23 23
24 MANAGE_VIDEO_BLACKLIST, 24 MANAGE_VIDEO_BLACKLIST = 12,
25 MANAGE_ANY_VIDEO_CHANNEL, 25 MANAGE_ANY_VIDEO_CHANNEL = 13,
26 26
27 REMOVE_ANY_VIDEO, 27 REMOVE_ANY_VIDEO = 14,
28 REMOVE_ANY_VIDEO_PLAYLIST, 28 REMOVE_ANY_VIDEO_PLAYLIST = 15,
29 REMOVE_ANY_VIDEO_COMMENT, 29 REMOVE_ANY_VIDEO_COMMENT = 16,
30 30
31 UPDATE_ANY_VIDEO, 31 UPDATE_ANY_VIDEO = 17,
32 UPDATE_ANY_VIDEO_PLAYLIST, 32 UPDATE_ANY_VIDEO_PLAYLIST = 18,
33 33
34 GET_ANY_LIVE, 34 GET_ANY_LIVE = 19,
35 SEE_ALL_VIDEOS, 35 SEE_ALL_VIDEOS = 20,
36 SEE_ALL_COMMENTS, 36 SEE_ALL_COMMENTS = 21,
37 CHANGE_VIDEO_OWNERSHIP, 37 CHANGE_VIDEO_OWNERSHIP = 22,
38 38
39 MANAGE_PLUGINS, 39 MANAGE_PLUGINS = 23,
40 40
41 MANAGE_VIDEOS_REDUNDANCIES, 41 MANAGE_VIDEOS_REDUNDANCIES = 24,
42 42
43 MANAGE_VIDEO_FILES, 43 MANAGE_VIDEO_FILES = 25,
44 RUN_VIDEO_TRANSCODING, 44 RUN_VIDEO_TRANSCODING = 26,
45 45
46 MANAGE_VIDEO_IMPORTS 46 MANAGE_VIDEO_IMPORTS = 27
47} 47}
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts
index 2d3169941..d0f57f883 100644
--- a/shared/models/videos/live/live-video.model.ts
+++ b/shared/models/videos/live/live-video.model.ts
@@ -1,10 +1,10 @@
1import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' 1import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
2 2
3export interface LiveVideo { 3export interface LiveVideo {
4 rtmpUrl: string 4 // If owner
5 rtmpsUrl: string 5 rtmpUrl?: string
6 6 rtmpsUrl?: string
7 streamKey: string 7 streamKey?: string
8 8
9 saveReplay: boolean 9 saveReplay: boolean
10 permanentLive: boolean 10 permanentLive: boolean