Cohorts editing.
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user