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

Method can

packages/sdk/src/types.ts:485–485  ·  view source on GitHub ↗

* Dry-run validation — would dispatch(op) succeed? * Returns {ok:true} when dispatch would mutate the document, {ok:false,code,message} otherwise. * Use as a feature-detection gate: `const r = comp.can(op); if (!r.ok) return;` * Phase 3b ops return {ok:false,code:'E_NO_GSAP_TIMELINE'} until

(op: EditOp)

Source from the content-addressed store, hash-verified

483 * Phase 3b ops return {ok:false,code:'E_NO_GSAP_TIMELINE'} until parser engine ships.
484 */
485 can(op: EditOp): CanResult;
486
487 // ── Events (one typed emitter — F10) ──────────────────────────────────────
488 on(event: "change", handler: () => void): () => void;

Callers 8

buildHistorySectionFunction · 0.65
session.test.tsFile · 0.65
addStaggeredEntranceFunction · 0.65
addBounceInFunction · 0.65
updateEaseFunction · 0.65
addFadeInFunction · 0.65
addBounceFunction · 0.65

Implementers 1

CompositionImplpackages/sdk/src/session.ts

Calls

no outgoing calls

Tested by

no test coverage detected