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

Function missingIssue

packages/cli/src/utils/motionAudit.ts:68–78  ·  view source on GitHub ↗
(selector: string, time: number)

Source from the content-addressed store, hash-verified

66}
67
68function missingIssue(selector: string, time: number): LayoutIssue {
69 return {
70 code: "motion_selector_missing",
71 severity: "error",
72 time,
73 selector,
74 message: `${selector} matched no element in any sampled frame — check the selector`,
75 rect: ZERO_RECT,
76 fixHint: "Verify the selector exists in the composition and is spelled correctly.",
77 };
78}
79
80function appearsBy(frames: MotionFrame[], selector: string, bySec: number): LayoutIssue[] {
81 if (!everMatched(frames, selector)) return [missingIssue(selector, 0)];

Callers 4

appearsByFunction · 0.85
beforeFunction · 0.85
staysInFrameFunction · 0.85
keepsMovingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected