mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Insights report filtering.
This commit is contained in:
parent
45888fabe6
commit
9436efabc0
12 changed files with 134 additions and 62 deletions
|
|
@ -76,6 +76,23 @@ export const DATA_TYPE = {
|
|||
array: 5,
|
||||
} as const;
|
||||
|
||||
export const OPERATORS = {
|
||||
equals: 'eq',
|
||||
notEquals: 'neq',
|
||||
set: 's',
|
||||
notSet: 'ns',
|
||||
contains: 'c',
|
||||
doesNotContain: 'dnc',
|
||||
true: 't',
|
||||
false: 'f',
|
||||
greaterThan: 'gt',
|
||||
lessThan: 'lt',
|
||||
greaterThanEquals: 'gte',
|
||||
lessThanEquals: 'lte',
|
||||
before: 'bf',
|
||||
after: 'af',
|
||||
} as const;
|
||||
|
||||
export const DATA_TYPES = {
|
||||
[DATA_TYPE.string]: 'string',
|
||||
[DATA_TYPE.number]: 'number',
|
||||
|
|
@ -84,6 +101,12 @@ export const DATA_TYPES = {
|
|||
[DATA_TYPE.array]: 'array',
|
||||
};
|
||||
|
||||
export const REPORT_TYPES = {
|
||||
funnel: 'funnel',
|
||||
insights: 'insights',
|
||||
retention: 'retention',
|
||||
} as const;
|
||||
|
||||
export const REPORT_PARAMETERS = {
|
||||
fields: 'fields',
|
||||
filters: 'filters',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue