diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/app/shared/shared-main/video/video.service.ts | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/app/shared/shared-main/video/video.service.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.service.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index 4a97719fa..60cc9d160 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts | |||
@@ -30,10 +30,10 @@ import { Video } from './video.model' | |||
30 | 30 | ||
31 | export interface VideosProvider { | 31 | export interface VideosProvider { |
32 | getVideos (parameters: { | 32 | getVideos (parameters: { |
33 | videoPagination: ComponentPaginationLight, | 33 | videoPagination: ComponentPaginationLight |
34 | sort: VideoSortField, | 34 | sort: VideoSortField |
35 | filter?: VideoFilter, | 35 | filter?: VideoFilter |
36 | categoryOneOf?: number[], | 36 | categoryOneOf?: number[] |
37 | languageOneOf?: string[] | 37 | languageOneOf?: string[] |
38 | nsfwPolicy: NSFWPolicyType | 38 | nsfwPolicy: NSFWPolicyType |
39 | }): Observable<ResultList<Video>> | 39 | }): Observable<ResultList<Video>> |
@@ -145,8 +145,8 @@ export class VideoService implements VideosProvider { | |||
145 | } | 145 | } |
146 | 146 | ||
147 | getAccountVideos (parameters: { | 147 | getAccountVideos (parameters: { |
148 | account: Pick<Account, 'nameWithHost'>, | 148 | account: Pick<Account, 'nameWithHost'> |
149 | videoPagination: ComponentPaginationLight, | 149 | videoPagination: ComponentPaginationLight |
150 | sort: VideoSortField | 150 | sort: VideoSortField |
151 | nsfwPolicy?: NSFWPolicyType | 151 | nsfwPolicy?: NSFWPolicyType |
152 | videoFilter?: VideoFilter | 152 | videoFilter?: VideoFilter |
@@ -180,9 +180,9 @@ export class VideoService implements VideosProvider { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | getVideoChannelVideos (parameters: { | 182 | getVideoChannelVideos (parameters: { |
183 | videoChannel: Pick<VideoChannel, 'nameWithHost'>, | 183 | videoChannel: Pick<VideoChannel, 'nameWithHost'> |
184 | videoPagination: ComponentPaginationLight, | 184 | videoPagination: ComponentPaginationLight |
185 | sort: VideoSortField, | 185 | sort: VideoSortField |
186 | nsfwPolicy?: NSFWPolicyType | 186 | nsfwPolicy?: NSFWPolicyType |
187 | videoFilter?: VideoFilter | 187 | videoFilter?: VideoFilter |
188 | }): Observable<ResultList<Video>> { | 188 | }): Observable<ResultList<Video>> { |