diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-04-12 07:32:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 09:32:20 +0200 |
commit | 2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9 (patch) | |
tree | dfe4b6e1e06f617f8968285ca394e73fedefe6b2 /shared/models | |
parent | 0cda019c1d1f77e06e524362880c38e93b1f5c70 (diff) | |
download | PeerTube-2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9.tar.gz PeerTube-2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9.tar.zst PeerTube-2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9.zip |
Feature/filter already watched videos (#5739)
* filter already watched videos
* Updated code based on review comments
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/search/videos-common-query.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/search/videos-common-query.model.ts b/shared/models/search/videos-common-query.model.ts index 2cbf7b014..da479c928 100644 --- a/shared/models/search/videos-common-query.model.ts +++ b/shared/models/search/videos-common-query.model.ts | |||
@@ -35,6 +35,8 @@ export interface VideosCommonQuery { | |||
35 | skipCount?: boolean | 35 | skipCount?: boolean |
36 | 36 | ||
37 | search?: string | 37 | search?: string |
38 | |||
39 | excludeAlreadyWatched?: boolean | ||
38 | } | 40 | } |
39 | 41 | ||
40 | export interface VideosCommonQueryAfterSanitize extends VideosCommonQuery { | 42 | export interface VideosCommonQueryAfterSanitize extends VideosCommonQuery { |