aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/recommendations/recommendations.service.ts
diff options
context:
space:
mode:
authorJorropo <jorropo.pgm@gmail.com>2018-09-04 11:01:54 +0200
committerChocobozzz <me@florianbigard.com>2018-09-04 11:01:54 +0200
commitb0c36821d1dcf362f14c99ca3741e7d03aea0a04 (patch)
treeba2e84ae6f1559f9e3027feab0422e2bf5ad04a8 /client/src/app/videos/recommendations/recommendations.service.ts
parent5cf84858d49f4231cc4efec5e3132f17f65f6cf6 (diff)
downloadPeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.tar.gz
PeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.tar.zst
PeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.zip
Add video recomandation by tags (#1001)
* Recommendation by tags (thx bradsk88) Thx bradsk88 for the help. * Prefer jest-preset-angular to skip need for babel config * Fix jest
Diffstat (limited to 'client/src/app/videos/recommendations/recommendations.service.ts')
-rw-r--r--client/src/app/videos/recommendations/recommendations.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/videos/recommendations/recommendations.service.ts b/client/src/app/videos/recommendations/recommendations.service.ts
index 44cbda9b7..114a808b5 100644
--- a/client/src/app/videos/recommendations/recommendations.service.ts
+++ b/client/src/app/videos/recommendations/recommendations.service.ts
@@ -1,8 +1,9 @@
1import { Video } from '@app/shared/video/video.model' 1import { Video } from '@app/shared/video/video.model'
2import { RecommendationInfo } from '@app/shared/video/recommendation-info.model'
2import { Observable } from 'rxjs' 3import { Observable } from 'rxjs'
3 4
4export type UUID = string 5export type UUID = string
5 6
6export interface RecommendationService { 7export interface RecommendationService {
7 getRecommendations (uuid: UUID): Observable<Video[]> 8 getRecommendations (recommendation: RecommendationInfo): Observable<Video[]>
8} 9}