MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / addAnimeSelectors

Function addAnimeSelectors

packages/cli/src/commands/keyframes.ts:650–656  ·  view source on GitHub ↗
(selectors: Set<string>, cmp: SurfacedComposition)

Source from the content-addressed store, hash-verified

648}
649
650function 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
658export function collectShotSelectors(comps: SurfacedComposition[]): Array<{ selector: string }> {
659 const selectors = new Set<string>();

Callers 1

collectShotSelectorsFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected