( from: QueryIR[`from`], )
| 1526 | } |
| 1527 | |
| 1528 | function getFromSources( |
| 1529 | from: QueryIR[`from`], |
| 1530 | ): Array<CollectionRef | QueryRef> { |
| 1531 | if (from.type === `unionFrom`) { |
| 1532 | return from.sources |
| 1533 | } |
| 1534 | if (from.type === `unionAll`) { |
| 1535 | return [] |
| 1536 | } |
| 1537 | return [from] |
| 1538 | } |
| 1539 | |
| 1540 | function getAllSources(query: QueryIR): Array<CollectionRef | QueryRef> { |
| 1541 | return [ |
no outgoing calls
no test coverage detected