(ets: string[])
| 9 | import { normalizeData, normalizeItem } from 'botasaurus/output' |
| 10 | |
| 11 | export function createProjection(ets: string[]) { |
| 12 | return ets.reduce((acc: any, field) => { |
| 13 | acc[field] = 1; |
| 14 | return acc; |
| 15 | }, {}); |
| 16 | } |
| 17 | |
| 18 | |
| 19 | function populateMissingKeys(newKeys: string[], allKeysMapping: any) { |
no outgoing calls
no test coverage detected