diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 10 | ||||
-rw-r--r-- | shared/models/videos/channel/video-channel.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-sort-field.type.ts | 1 |
3 files changed, 7 insertions, 5 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index bb55e92d5..04d42d591 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -108,16 +108,16 @@ export const clientActionHookObject = { | |||
108 | // Fired when the admin plugin settings page is being initialized | 108 | // Fired when the admin plugin settings page is being initialized |
109 | 'action:admin-plugin-settings.init': true, | 109 | 'action:admin-plugin-settings.init': true, |
110 | 110 | ||
111 | // Fired when the video upload page is being initalized | 111 | // Fired when the video upload page is being initialized |
112 | 'action:video-upload.init': true, | 112 | 'action:video-upload.init': true, |
113 | // Fired when the video import by URL page is being initalized | 113 | // Fired when the video import by URL page is being initialized |
114 | 'action:video-url-import.init': true, | 114 | 'action:video-url-import.init': true, |
115 | // Fired when the video import by torrent/magnet URI page is being initalized | 115 | // Fired when the video import by torrent/magnet URI page is being initialized |
116 | 'action:video-torrent-import.init': true, | 116 | 'action:video-torrent-import.init': true, |
117 | // Fired when the "Go Live" page is being initalized | 117 | // Fired when the "Go Live" page is being initialized |
118 | 'action:go-live.init': true, | 118 | 'action:go-live.init': true, |
119 | 119 | ||
120 | // Fired when the user explicitely logged in/logged out | 120 | // Fired when the user explicitly logged in/logged out |
121 | 'action:auth-user.logged-in': true, | 121 | 'action:auth-user.logged-in': true, |
122 | 'action:auth-user.logged-out': true, | 122 | 'action:auth-user.logged-out': true, |
123 | // Fired when the application loaded user information (using tokens from the local storage or after a successful login) | 123 | // Fired when the application loaded user information (using tokens from the local storage or after a successful login) |
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts index 58b60c177..68e2f9c4c 100644 --- a/shared/models/videos/channel/video-channel.model.ts +++ b/shared/models/videos/channel/video-channel.model.ts | |||
@@ -18,6 +18,7 @@ export interface VideoChannel extends Actor { | |||
18 | 18 | ||
19 | videosCount?: number | 19 | videosCount?: number |
20 | viewsPerDay?: ViewsPerDate[] // chronologically ordered | 20 | viewsPerDay?: ViewsPerDate[] // chronologically ordered |
21 | totalViews?: number | ||
21 | 22 | ||
22 | banners: ActorImage[] | 23 | banners: ActorImage[] |
23 | 24 | ||
diff --git a/shared/models/videos/video-sort-field.type.ts b/shared/models/videos/video-sort-field.type.ts index 5073848b8..7fa07fa73 100644 --- a/shared/models/videos/video-sort-field.type.ts +++ b/shared/models/videos/video-sort-field.type.ts | |||
@@ -2,6 +2,7 @@ export type VideoSortField = | |||
2 | 'name' | '-name' | | 2 | 'name' | '-name' | |
3 | 'duration' | '-duration' | | 3 | 'duration' | '-duration' | |
4 | 'publishedAt' | '-publishedAt' | | 4 | 'publishedAt' | '-publishedAt' | |
5 | 'originallyPublishedAt' | '-originallyPublishedAt' | | ||
5 | 'createdAt' | '-createdAt' | | 6 | 'createdAt' | '-createdAt' | |
6 | 'views' | '-views' | | 7 | 'views' | '-views' | |
7 | 'likes' | '-likes' | | 8 | 'likes' | '-likes' | |