(filter: readonly FilterResult[])
| 288 | // ) |
| 289 | // .join(mode === "OR" ? " OR " : " AND ") + ")" |
| 290 | const getValues = (filter: readonly FilterResult[]): FilterR[] => |
| 291 | filter |
| 292 | .flatMap((_) => |
| 293 | _.t === "and-scope" || _.t === "or-scope" || _.t === "where-scope" |
| 294 | ? getValues(_.result) |
| 295 | : [_] |
| 296 | ) |
| 297 | const computedFilters = select |
| 298 | ? select.flatMap((_) => |
| 299 | typeof _ === "object" && "computed" in _ && "filter" in _.computed ? getValues(_.computed.filter) : [] |
no outgoing calls
no test coverage detected
searching dependent graphs…