mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-01 23:59:50 +08:00
* Broadcast ordered edit batches and apply confirmed peer patches * Commit ordered Studio text edits with independent receipts * Queue independent Studio edits in ordered project batches * Document ordered edits and retry interrupted batch responses * Decouple canvas gestures from ordered save acknowledgements * Preserve edit order across guarded semantic writes and cold source reads * Recognize compiler-assigned element IDs when replaying canvas gestures * Validate replay against the source with stable element IDs * Apply declarative media inspector updates to the mounted preview * Project verified peer paint alongside local canvas placement * Schedule timeline edits in gesture order and project pending structure locally * Present compatible peer paint while a canvas edit is outstanding * Keep a drag active when capture drops over the pressed canvas * Keep the latest timeline projection across delayed edit receipts * Keep media speed changes in place and order guarded file writes * Cancel a gesture when its source element is deleted remotely * Retire deleted gestures once and discard late tap measurements * Handle confirmed deletion of the gesture source file * Keep independent timeline gestures editable after an invalid target * Restore confirmed timeline rows after a burst of rejected gestures * Exercise 100 real canvas drags against an isolated QA project * Clarify which preview updates preserve the mounted document * Verify speed and linked timing in the same preview update * Start ordered deliveries at their deadline with a fixed prefix * Narrow nullable file versions in both backend typecheck modes * Keep root HTML materialization out of patch commits --------- Co-authored-by: lefarcen <935902669@qq.com>
16 lines
403 B
TypeScript
16 lines
403 B
TypeScript
import type { TextPatch } from './text-patch.ts';
|
|
|
|
/** Only byte patches validated for the exact parent revision may travel inline. */
|
|
export interface CommittedFilePatch {
|
|
path: string;
|
|
from: string;
|
|
to: string;
|
|
patch: TextPatch;
|
|
}
|
|
|
|
export interface OrderedEditEvent {
|
|
fromRevision: string;
|
|
steps: { id: string; revision: string; patches?: CommittedFilePatch[] }[];
|
|
historySeq: number;
|
|
}
|