chore: update Angular cache files and TypeScript build info

This commit is contained in:
2025-09-17 21:27:20 -04:00
parent 3dbfb04b15
commit f3a78b7d7e
12 changed files with 60 additions and 19 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ export interface LikedVideoItem {
title?: string;
thumbnail?: string;
last_watched_at?: string | null;
created_at?: string;
}
@Injectable({ providedIn: 'root' })
@@ -29,10 +30,10 @@ export class LikesService {
return this.http.get<LikedVideoItem[]>(`${this.apiBase()}/user/likes`, { params, withCredentials: true });
}
like(provider: string, videoId: string): Observable<{ provider: string; video_id: string }> {
like(provider: string, videoId: string, title?: string, thumbnail?: string): Observable<{ provider: string; video_id: string }> {
return this.http.post<{ provider: string; video_id: string }>(
`${this.apiBase()}/user/likes`,
{ provider, videoId },
{ provider, videoId, title, thumbnail },
{ withCredentials: true }
);
}