(selectors: Set<string>, cmp: SurfacedComposition)
| 648 | } |
| 649 | |
| 650 | function addAnimeSelectors(selectors: Set<string>, cmp: SurfacedComposition): void { |
| 651 | for (const anime of cmp.anime) { |
| 652 | for (const selector of anime.targets) { |
| 653 | if (selector) selectors.add(selector); |
| 654 | } |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | export function collectShotSelectors(comps: SurfacedComposition[]): Array<{ selector: string }> { |
| 659 | const selectors = new Set<string>(); |
no test coverage detected