Hiyve Components - v1.0.0
    Preparing search index...

    Type Alias ClipMutation

    ClipMutation:
        | { clipId: string; kind: "marker-add"; marker: TimelineMarkerData }
        | { clipId: string; kind: "marker-update"; marker: TimelineMarkerData }
        | { clipId: string; kind: "marker-remove"; markerId: string }
        | { clipId: string; kind: "region-set"; region: RegionData }
        | { clipId: string; kind: "region-remove"; regionId: string }

    A discrete, replayable edit to a single clip's annotations (comments/markers and regions). Emitted by ClipCompositionProps.onClipMutation on a local edit and re-applied by ClipCompositionRef.applyClipMutation on a remote one — the unit of teacher-authoritative clip sync: a follower proxies its mutation to the owner, who applies + persists it, fanning the canonical composition back out.