mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 21:27:20 +01:00
Refactor filter handling for queries.
This commit is contained in:
parent
5b300f1ff5
commit
ee6c68d27c
107 changed files with 731 additions and 835 deletions
|
|
@ -2,7 +2,7 @@ import { DATA_TYPE, DATETIME_REGEX } from './constants';
|
|||
import { DynamicDataType } from './types';
|
||||
|
||||
export function flattenJSON(
|
||||
eventData: { [key: string]: any },
|
||||
eventData: Record<string, any>,
|
||||
keyValues: { key: string; value: any; dataType: DynamicDataType }[] = [],
|
||||
parentKey = '',
|
||||
): { key: string; value: any; dataType: DynamicDataType }[] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue