mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
Follow-up to the previous commit in this PR — found while auditing whether any SDK-surface documentation gaps existed beyond this stack: - types.mdx: EditOp's own union listing was missing declareVariable/ removeVariable (present in edit-operations.mdx's table but not mirrored here). Adds a full CompositionVariable reference section (base fields + all 7 variants) since composition.mdx's new declareVariable/listVariables docs reference it without it being defined anywhere in the type reference. - utilities.mdx: documents 6 exported functions with zero prior docs — resolveScoped, findById, bareId, escapeHfId, isNewHostBoundary (Id & Scope Utilities) and readVariableDefault (Variable Utilities). Pre-existing gaps, unrelated to this stack. - canvas-integration.mdx: adds a "Keeping the preview in sync" section covering attachSync right where the guide already sets up preview + comp — previously the guide never mentioned it despite being exactly the answer to "how do I keep the iframe in sync with edits."