Refactor filter handling for queries.

This commit is contained in:
Mike Cao committed 2025-07-02 01:44:12 -07:00
1 parent 5b300f1ff5
commit ee6c68d27c
107 files changed
+731 -835

No files matched your search

+1 -1
View File
@@ -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 }[] {