dashboard version 1

This commit is contained in:
X4Lo committed 2024-05-10 09:45:54 +01:00
1 parent 1361fc7b18
commit a05fdd44ec
7 files changed
+731 -98

No files matched your search

@@ -21,7 +21,6 @@ export class EntrySeenService {
}
);
}
// get entry seen by entry id
getEntrySeenById(id: string) {
@@ -35,4 +34,10 @@ export class EntrySeenService {
`${this.backend_apiUrl}/${this.apiAction}/${id}`
);
}
getYearlyStats(year: number) {
return this.http.get<any>(
`${this.backend_apiUrl}/${this.apiAction}/stats-year/${year}`
);
}
}
@@ -58,4 +58,10 @@ export class EpisodeSeenService {
`${this.backend_apiUrl}/${this.apiAction}/${id}`
);
}
getYearlyStats(year: number) {
return this.http.get<any>(
`${this.backend_apiUrl}/${this.apiAction}/stats-year/${year}`
);
}
}