mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): render simple listen report
This commit is contained in:
parent
3828b841c2
commit
ebc079435d
8 changed files with 562 additions and 1 deletions
4
frontend/src/api/entities/listen-report-item.ts
Normal file
4
frontend/src/api/entities/listen-report-item.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export interface ListenReportItem {
|
||||
date: Date;
|
||||
count: number;
|
||||
}
|
||||
5
frontend/src/api/entities/listen-report-options.ts
Normal file
5
frontend/src/api/entities/listen-report-options.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export interface ListenReportOptions {
|
||||
timeFrame: "day" | "week" | "month" | "year";
|
||||
timeStart: Date;
|
||||
timeEnd: Date;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue