mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Cohorts editing.
This commit is contained in:
parent
07665f4824
commit
8c8e36c63b
26 changed files with 1066 additions and 985 deletions
|
|
@ -19,6 +19,10 @@ export function isSearchOperator(operator: any) {
|
|||
}
|
||||
|
||||
export function filtersObjectToArray(filters: QueryFilters, options: QueryOptions = {}) {
|
||||
if (!filters) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return Object.keys(filters).reduce((arr, key) => {
|
||||
const filter = filters[key];
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ export const fieldsParam = z.enum([
|
|||
'tag',
|
||||
'hostname',
|
||||
'language',
|
||||
'event',
|
||||
]);
|
||||
|
||||
export const reportTypeParam = z.enum([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue