diff --git a/frontend/src/app/shared/models/statistics/watchCount.model.ts b/frontend/src/app/shared/models/statistics/watchCount.model.ts new file mode 100644 index 0000000..1e4e751 --- /dev/null +++ b/frontend/src/app/shared/models/statistics/watchCount.model.ts @@ -0,0 +1,7 @@ +export interface WatchCount { + year: number; + movies: number[]; + series: number[]; + moviesTotal: number; + seriesTotal: number; +} \ No newline at end of file diff --git a/frontend/src/app/shared/models/statistics/watchTime.model.ts b/frontend/src/app/shared/models/statistics/watchTime.model.ts new file mode 100644 index 0000000..27b6981 --- /dev/null +++ b/frontend/src/app/shared/models/statistics/watchTime.model.ts @@ -0,0 +1,14 @@ +export interface WatchTime { + allTime: { + series: number; + movies: number; + total: number; + }; + yearly: { + year: number; + series: number[]; + movies: number[]; + seriesTotal: number; + moviesTotal: number; + }; +}