aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/search/videos-common-query.model.ts6
-rw-r--r--shared/models/search/videos-search-query.model.ts3
-rw-r--r--shared/models/videos/index.ts1
-rw-r--r--shared/models/videos/video-filter.type.ts1
4 files changed, 0 insertions, 11 deletions
diff --git a/shared/models/search/videos-common-query.model.ts b/shared/models/search/videos-common-query.model.ts
index 2c52ca8cf..f783d7534 100644
--- a/shared/models/search/videos-common-query.model.ts
+++ b/shared/models/search/videos-common-query.model.ts
@@ -12,9 +12,6 @@ export interface VideosCommonQuery {
12 12
13 isLive?: boolean 13 isLive?: boolean
14 14
15 // FIXME: deprecated in 4.0 in favour of isLocal and include, to remove
16 filter?: never
17
18 isLocal?: boolean 15 isLocal?: boolean
19 include?: VideoInclude 16 include?: VideoInclude
20 17
@@ -45,7 +42,4 @@ export interface VideosCommonQueryAfterSanitize extends VideosCommonQuery {
45 start: number 42 start: number
46 count: number 43 count: number
47 sort: string 44 sort: string
48
49 // FIXME: deprecated in 4.0, to remove
50 filter?: never
51} 45}
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts
index 447c72806..a5436879d 100644
--- a/shared/models/search/videos-search-query.model.ts
+++ b/shared/models/search/videos-search-query.model.ts
@@ -23,7 +23,4 @@ export interface VideosSearchQueryAfterSanitize extends VideosSearchQuery {
23 start: number 23 start: number
24 count: number 24 count: number
25 sort: string 25 sort: string
26
27 // FIXME: deprecated in 4.0, to remove
28 filter?: never
29} 26}
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts
index b3ce6ad3f..f8f1ce081 100644
--- a/shared/models/videos/index.ts
+++ b/shared/models/videos/index.ts
@@ -22,7 +22,6 @@ export * from './video-constant.model'
22export * from './video-create.model' 22export * from './video-create.model'
23 23
24export * from './video-privacy.enum' 24export * from './video-privacy.enum'
25export * from './video-filter.type'
26export * from './video-include.enum' 25export * from './video-include.enum'
27export * from './video-rate.type' 26export * from './video-rate.type'
28 27
diff --git a/shared/models/videos/video-filter.type.ts b/shared/models/videos/video-filter.type.ts
deleted file mode 100644
index e641a401c..000000000
--- a/shared/models/videos/video-filter.type.ts
+++ /dev/null
@@ -1 +0,0 @@
1export type VideoFilter = 'local' | 'all-local' | 'all'