(query: Record<string, any>)
| 67 | } |
| 68 | |
| 69 | export function extractReadableIndex(query: Record<string, any>): string { |
| 70 | if (query.orderBy) { |
| 71 | return query.orderBy; |
| 72 | } |
| 73 | const indexPath: string[] = _.get(query, "index.path"); |
| 74 | if (indexPath) { |
| 75 | return pathString(indexPath); |
| 76 | } |
| 77 | return ".value"; |
| 78 | } |
| 79 | |
| 80 | export interface ProfileReportOptions { |
| 81 | format?: "JSON" | "RAW" | "TXT"; |
no test coverage detected
searching dependent graphs…