(comps: SurfacedComposition[])
| 656 | } |
| 657 | |
| 658 | export function collectShotSelectors(comps: SurfacedComposition[]): Array<{ selector: string }> { |
| 659 | const selectors = new Set<string>(); |
| 660 | for (const cmp of comps) { |
| 661 | addTraceSelectors(selectors, cmp); |
| 662 | addTweenSelectors(selectors, cmp); |
| 663 | addCssKeyframeSelectors(selectors, cmp); |
| 664 | addAnimeSelectors(selectors, cmp); |
| 665 | } |
| 666 | return [...selectors].map((selector) => ({ selector })); |
| 667 | } |
| 668 | |
| 669 | // Guard checks that must pass before capturing the onion-skin shot. Returns the |
| 670 | // message to print when a guard fails, or null when clear to proceed. |
no test coverage detected