refactor: use TimeOptions for Listens report

This commit is contained in:
Julian Tölle 2020-07-12 17:17:50 +02:00
parent 5bc76f23d0
commit 67ea28aec7
7 changed files with 51 additions and 59 deletions

View file

@ -1,5 +1,6 @@
import { TimeOptions } from "./time-options";
export interface ListenReportOptions {
timeFrame: "day" | "week" | "month" | "year";
timeStart: Date;
timeEnd: Date;
time: TimeOptions;
}