forked from sheepzh/time-tracker-4-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroute.ts
More file actions
44 lines (42 loc) · 817 Bytes
/
Copy pathroute.ts
File metadata and controls
44 lines (42 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export const APP_LIMIT_ROUTE = '/behavior/limit'
export type AppLimitQuery = {
action?: 'create' | 'modify'
url?: string
id?: string
}
export const APP_ANALYSIS_ROUTE = '/data/analysis'
export type AppAnalysisQuery = Partial<tt4b.site.SiteKey> & {
cateId?: string
url?: string
}
export const APP_OPTION_ROUTE = '/additional/option'
export const APP_REPORT_ROUTE = '/data/report'
/**
* The query param of report page
*/
export type AppReportQuery = {
/**
* Query
*/
q?: string
/**
* Merge method
*/
mm?: Exclude<tt4b.stat.MergeMethod, 'date'>
/**
* Merge date
*/
md?: string
/**
* Date start
*/
ds?: string
/**
* Date end
*/
de?: string
/**
* Sorted column
*/
sc?: tt4b.core.Dimension
}