| 3 | import type { DynamicDataType } from './types'; |
| 4 | |
| 5 | export interface KeyValueData { |
| 6 | key: string; |
| 7 | value: any; |
| 8 | dataType: DynamicDataType; |
| 9 | } |
| 10 | |
| 11 | export function flattenJSON(eventData: Record<string, any>): KeyValueData[] { |
| 12 | function flatten(obj: Record<string, any>, parentKey: string): KeyValueData[] { |
nothing calls this directly
no outgoing calls
no test coverage detected