mirror of
https://github.com/apricote/Listory.git
synced 2026-02-06 17:57:03 +00:00
refactor(server): introduce TimePresets for reports
This commit is contained in:
parent
6f8fc0265a
commit
b8918889a1
5 changed files with 89 additions and 11 deletions
9
src/reports/timePreset.enum.ts
Normal file
9
src/reports/timePreset.enum.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export enum TimePreset {
|
||||
LAST_7_DAYS = "last_7_days",
|
||||
LAST_30_DAYS = "last_30_days",
|
||||
LAST_90_DAYS = "last_90_days",
|
||||
LAST_180_DAYS = "last_180_days",
|
||||
LAST_365_DAYS = "last_365_days",
|
||||
ALL_TIME = "all_time",
|
||||
CUSTOM = "custom",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue