Refactor filter handling for queries.
This commit is contained in:
@@ -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 }[] {
|
||||
|
||||
Reference in New Issue
Block a user