@mengine/medeo-client 2.0.1-alpha.21 → 2.0.1-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{document-BXQcpnOg.js → document-BB8U25jt.js} +10 -60
- package/dist/{index-CzDNr1Tb.d.ts → index-C0uUWqkz.d.ts} +3 -21
- package/dist/index.d.ts +165 -411
- package/dist/index.js +55 -1598
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as index_d_exports } from "./index-CMa6ZCtX.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as SpeechHostMap, A as assertValidVideoDocument, At as VideoDocumentValidationIssueCode, B as EntityRow, Bt as SpeedShift, C as isImplementedSemanticOpKind, Ct as Timeline, D as PartIdFactory, Dt as VideoClipPart, E as ValidationError, Et as TrackItemTimePosition, F as ResolvedEntityTrack, Ft as speedOf, G as SequenceDuration, H as CaptionSegmentSelection, Ht as Track$1, I as resolveEntityTimelineLayout, It as Attachment, J as JsonObject, K as SequenceRange, L as projectEntityTimeline, Lt as CaptionPart$1, M as EntityTimelineTrackRole, Mt as VideoDraftContent, N as ResolvedEntityClipPlacement, Nt as VideoDraftPartUnion, O as generatePartId, Ot as VideoDocument, P as ResolvedEntityTimelineLayout, Pt as effectiveVideoClipDurationMs, Q as DerivedItemPosition, R as EntityTimelineProjectionError, Rt as CaptionStyle, S as SemanticOpKind, St as SpeechPart, T as SnapshotReadable, Tt as TrackItem, U as CaptionStyleFields, Ut as TrackItem$1, V as RelationRow, Vt as Timeline$1, W as ScriptTextSegment, X as EntityId, Y as JsonValue, Z as buildInitialVideoDocument, _ as SemanticOpName, _t as CaptionDisplayCue, a as PlainMemoryAdapter, at as LaneKind, b as ImplementedSemanticOpKind, bt as PartKind, c as MirrorVideoDocumentAdapter, ct as findLaneTrack, d as createMirrorVideoDocumentAdapter, dt as TrackDraft, et as buildSpeechHostMap, f as CommitOptions, ft as TrackItemDraft, g as SemanticOpInput, gt as BgmPart, h as SemanticEditor, ht as videoDocumentMirrorSchema, i as JournalEntry, it as LANE_KINDS_IN_STACK_ORDER, j as validateVideoDocument, jt as VideoDraft, k as VideoDocumentValidationError, kt as VideoDocumentValidationIssue, l as MirrorVideoDocumentOptions, lt as laneTrackId, m as SemanticDocumentAdapter, mt as VideoDocumentMirrorSchema, n as videoDocumentSchema, nt as fromVideoDocument, o as PlainMemoryAdapterOptions, ot as SolvedVideoDocument, p as OpActor, pt as VideoDocumentDraft, q as VoiceDescriptor, r as readVideoDocumentFromDraft, rt as toVideoDocument, s as createPlainMemoryAdapter, st as ensureLaneTrack, t as partUnionSchema, tt as derivePositionFromAbs, u as createMirrorVideoDocument, ut as solveVideoDocument, v as TransactAudit, vt as CaptionPart, w as SchemaValidator, wt as Track, x as PlannedSemanticOpKind, xt as PartUnion, y as IMPLEMENTED_SEMANTIC_OP_KINDS, yt as DEFAULT_UNIT_TIME_MS, z as EntityRelationRows, zt as PartAggregation } from "./index-C0uUWqkz.js";
|
|
3
3
|
import { LoroDoc, PeerID } from "loro-crdt";
|
|
4
4
|
import { DocState } from "@mengine/sync";
|
|
5
5
|
import { BaseDocStorage, Connection, DocDiff, DocPushReceipt, DocSnapshotRecord, DocStorage, DocStorageOptions, DocUpdate, DocUpdateRecord } from "@mengine/storage";
|
|
@@ -262,171 +262,6 @@ declare class EntityGraphHttpClient {
|
|
|
262
262
|
private request;
|
|
263
263
|
}
|
|
264
264
|
//#endregion
|
|
265
|
-
//#region src/entity-crdt/field-changes.d.ts
|
|
266
|
-
/** List members are addressed by identity, never a transient array offset. */
|
|
267
|
-
type FieldPath = readonly (string | {
|
|
268
|
-
elementId: string;
|
|
269
|
-
})[];
|
|
270
|
-
type FieldChange = {
|
|
271
|
-
op: 'set';
|
|
272
|
-
path: FieldPath;
|
|
273
|
-
value: JsonValue;
|
|
274
|
-
} | {
|
|
275
|
-
op: 'unset';
|
|
276
|
-
path: FieldPath;
|
|
277
|
-
} | {
|
|
278
|
-
op: 'text.splice';
|
|
279
|
-
path: FieldPath;
|
|
280
|
-
index: number;
|
|
281
|
-
deleteCount: number;
|
|
282
|
-
text: string;
|
|
283
|
-
} | {
|
|
284
|
-
op: 'list.insert';
|
|
285
|
-
path: FieldPath;
|
|
286
|
-
value: JsonValue;
|
|
287
|
-
beforeElementId: string | null;
|
|
288
|
-
} | {
|
|
289
|
-
op: 'list.move';
|
|
290
|
-
path: FieldPath;
|
|
291
|
-
elementId: string;
|
|
292
|
-
beforeElementId: string | null;
|
|
293
|
-
} | {
|
|
294
|
-
op: 'list.remove';
|
|
295
|
-
path: FieldPath;
|
|
296
|
-
elementId: string;
|
|
297
|
-
};
|
|
298
|
-
declare function assertFieldChanges(changes: readonly FieldChange[]): void;
|
|
299
|
-
/** Resolve against the sequential causal view; the numeric path never crosses the API boundary. */
|
|
300
|
-
declare function resolveFieldPath(payload: JsonObject, path: FieldPath): (string | number)[];
|
|
301
|
-
/** Detached plan evaluation. Native compilation replays the original operations, not this snapshot. */
|
|
302
|
-
declare function applyFieldChanges(payload: JsonObject, changes: readonly FieldChange[]): JsonObject;
|
|
303
|
-
//#endregion
|
|
304
|
-
//#region src/entity-crdt/entity-document.d.ts
|
|
305
|
-
declare const LORO_ENTITY_SCHEMA = "medeo.entities.loro.v1";
|
|
306
|
-
interface EntityDocumentState {
|
|
307
|
-
readonly rows: EntityRelationRows;
|
|
308
|
-
readonly project: Readonly<Record<string, string>>;
|
|
309
|
-
}
|
|
310
|
-
type Command = {
|
|
311
|
-
type: 'create';
|
|
312
|
-
row: EntityRow;
|
|
313
|
-
} | {
|
|
314
|
-
type: 'selection-baseline';
|
|
315
|
-
root: string;
|
|
316
|
-
fingerprint: string;
|
|
317
|
-
} | {
|
|
318
|
-
type: 'order';
|
|
319
|
-
group: string;
|
|
320
|
-
roots: string[];
|
|
321
|
-
token: string;
|
|
322
|
-
} | {
|
|
323
|
-
type: 'write';
|
|
324
|
-
root: string;
|
|
325
|
-
payload: JsonObject;
|
|
326
|
-
token: string;
|
|
327
|
-
} | {
|
|
328
|
-
type: 'text';
|
|
329
|
-
root: string;
|
|
330
|
-
path: readonly (string | number)[];
|
|
331
|
-
start: number;
|
|
332
|
-
deleteCount: number;
|
|
333
|
-
text: string;
|
|
334
|
-
token: string;
|
|
335
|
-
} | {
|
|
336
|
-
type: 'field';
|
|
337
|
-
root: string;
|
|
338
|
-
path: (string | number)[];
|
|
339
|
-
change: FieldChange;
|
|
340
|
-
token: string;
|
|
341
|
-
} | {
|
|
342
|
-
type: 'relation-field';
|
|
343
|
-
root: string;
|
|
344
|
-
path: (string | number)[];
|
|
345
|
-
change: FieldChange;
|
|
346
|
-
} | {
|
|
347
|
-
type: 'delete';
|
|
348
|
-
root: string;
|
|
349
|
-
} | {
|
|
350
|
-
type: 'relation';
|
|
351
|
-
row: RelationRow;
|
|
352
|
-
} | {
|
|
353
|
-
type: 'relation-fields';
|
|
354
|
-
root: string;
|
|
355
|
-
metadata: JsonObject;
|
|
356
|
-
trace: JsonObject;
|
|
357
|
-
} | {
|
|
358
|
-
type: 'unlink';
|
|
359
|
-
root: string;
|
|
360
|
-
} | {
|
|
361
|
-
type: 'attach';
|
|
362
|
-
slot: string;
|
|
363
|
-
entityId: string;
|
|
364
|
-
};
|
|
365
|
-
/** Plain domain objects assembled from native Loro state, never a second writable authority. */
|
|
366
|
-
declare function readEntityDocument(doc: LoroDoc, allowSelectionConflicts?: boolean): EntityDocumentState;
|
|
367
|
-
/** Native editing containers survive domain version changes and merge independently. */
|
|
368
|
-
declare class LoroEntityDocument {
|
|
369
|
-
readonly doc: LoroDoc;
|
|
370
|
-
private readonly validate?;
|
|
371
|
-
private readonly undoManager;
|
|
372
|
-
constructor(doc: LoroDoc, validate?: ((state: EntityDocumentState) => void) | undefined);
|
|
373
|
-
/** Open a causal snapshot using the same Loro runtime as the compiler. */
|
|
374
|
-
static fromSnapshot(snapshot: Uint8Array, validate?: (state: EntityDocumentState) => void): LoroEntityDocument;
|
|
375
|
-
static create(rows: EntityRelationRows, project?: Readonly<Record<string, string>>, peerId?: PeerID): LoroEntityDocument;
|
|
376
|
-
snapshot(): EntityDocumentState;
|
|
377
|
-
relationsOf(entityId: string): readonly RelationRow[];
|
|
378
|
-
/** Read unlinked Relation records for durable effect receipts; never part of the current semantic graph. */
|
|
379
|
-
tombstonedRelations(): readonly RelationRow[];
|
|
380
|
-
/** Resolve a queued edit target through its native identity without changing history. */
|
|
381
|
-
resolveCurrentEntityId(id: string): string;
|
|
382
|
-
getVersion(id: string): EntityRow | undefined;
|
|
383
|
-
/** The callback and every domain validation execute on a causally complete fork first. */
|
|
384
|
-
transact(edit: (draft: LoroEntityDraft) => void): Uint8Array;
|
|
385
|
-
/** Import preserves native operation identities; projection errors never discard remote operations. */
|
|
386
|
-
import(update: Uint8Array): void;
|
|
387
|
-
/**
|
|
388
|
-
* Bind a saved snapshot without rewriting text operations or resolving
|
|
389
|
-
* selection conflicts. The script names the bytes the same way everything
|
|
390
|
-
* else does — an Asset entity plus a Relation — and keeps only the
|
|
391
|
-
* fingerprint that tells a stale snapshot from a current one. The Relation is
|
|
392
|
-
* `to-asset`: these bytes are the script's own content written out, not a
|
|
393
|
-
* source it was made from.
|
|
394
|
-
*/
|
|
395
|
-
bindAudioScriptAsset(entityId: string, assetId: string, expectedContentHash: string): Uint8Array;
|
|
396
|
-
canUndo(): boolean;
|
|
397
|
-
canRedo(): boolean;
|
|
398
|
-
undo(): boolean;
|
|
399
|
-
redo(): boolean;
|
|
400
|
-
private historyEdit;
|
|
401
|
-
}
|
|
402
|
-
declare class LoroEntityDraft {
|
|
403
|
-
private readonly doc;
|
|
404
|
-
readonly commands: Command[];
|
|
405
|
-
private readonly selectedRoots;
|
|
406
|
-
private readonly relationAliases;
|
|
407
|
-
constructor(doc: LoroDoc);
|
|
408
|
-
snapshot(): EntityDocumentState;
|
|
409
|
-
order(groupId: string, entityIds: readonly string[]): void;
|
|
410
|
-
/** Project the final scalar placement intents onto the existing native ordering containers. */
|
|
411
|
-
reconcileOrder(rows: EntityRelationRows): void;
|
|
412
|
-
create(row: EntityRow): void;
|
|
413
|
-
delete(entityId: string): void;
|
|
414
|
-
attach(slot: string, entityId: string): void;
|
|
415
|
-
link(row: RelationRow): void;
|
|
416
|
-
patchRelation(relationId: string, metadata: JsonObject, trace: JsonObject): void;
|
|
417
|
-
unlink(relationId: string): void;
|
|
418
|
-
private relationRoot;
|
|
419
|
-
update(entityId: string, fields: JsonObject): void;
|
|
420
|
-
declare(entityId: string, fields: JsonObject): void;
|
|
421
|
-
replaceOwned(entityId: string, payload: JsonObject): void;
|
|
422
|
-
editText(entityId: string, path: readonly (string | number)[], start: number, deleteCount: number, text: string): void;
|
|
423
|
-
/** Generic assembled-field edit compiled at the author's causal position. */
|
|
424
|
-
change(entityId: string, changes: readonly FieldChange[]): void;
|
|
425
|
-
changeRelation(relationId: string, changes: readonly FieldChange[]): void;
|
|
426
|
-
captureSelectionBaselines(): void;
|
|
427
|
-
private record;
|
|
428
|
-
}
|
|
429
|
-
//#endregion
|
|
430
265
|
//#region src/entity-editor/types.d.ts
|
|
431
266
|
/** Injectable domain-id mint shared by Entity and Relation authoring surfaces. */
|
|
432
267
|
type EntityTimelineIdFactory = (prefix: 'entity' | 'relation') => string;
|
|
@@ -470,71 +305,6 @@ interface VoiceoverMediaAssetFact {
|
|
|
470
305
|
}
|
|
471
306
|
/** Facts resolved from media storage. A trim window never substitutes for intrinsic duration. */
|
|
472
307
|
type MediaAssetFact = ImageMediaAssetFact | VideoMediaAssetFact | AudioMediaAssetFact | VoiceoverMediaAssetFact;
|
|
473
|
-
/** Host-resolved ASR artifact. The SDK treats its storage fields as opaque facts. */
|
|
474
|
-
interface CaptionAssetFact {
|
|
475
|
-
readonly assetId: string;
|
|
476
|
-
readonly storageKey?: string;
|
|
477
|
-
}
|
|
478
|
-
interface AsrCaptionSegment extends ScriptTextSegment {
|
|
479
|
-
readonly startMs: number;
|
|
480
|
-
readonly endMs: number;
|
|
481
|
-
}
|
|
482
|
-
/** One closed host command for materializing an ASR result into the Entity graph. */
|
|
483
|
-
interface ApplyCaptionAssetsInput {
|
|
484
|
-
readonly effectId: string;
|
|
485
|
-
readonly timelineEntityId: string;
|
|
486
|
-
readonly trackEntityId: string;
|
|
487
|
-
readonly source: {
|
|
488
|
-
readonly entityId: string;
|
|
489
|
-
readonly entityKind: 'audio' | 'video';
|
|
490
|
-
};
|
|
491
|
-
/** The exact placed use whose source-relative ASR timing is being materialized. */
|
|
492
|
-
readonly sourceOccurrence: {
|
|
493
|
-
readonly clipEntityId: string;
|
|
494
|
-
readonly markerEntityId: string;
|
|
495
|
-
};
|
|
496
|
-
readonly captionAsset: CaptionAssetFact;
|
|
497
|
-
readonly segments: readonly AsrCaptionSegment[];
|
|
498
|
-
}
|
|
499
|
-
interface ApplyCaptionAssetsResult {
|
|
500
|
-
readonly audioScriptEntityId: string;
|
|
501
|
-
readonly audioScriptMarkerEntityId: string;
|
|
502
|
-
readonly captionAssetEntityId: string;
|
|
503
|
-
readonly captionEntityIds: readonly string[];
|
|
504
|
-
readonly captionClipEntityIds: readonly string[];
|
|
505
|
-
}
|
|
506
|
-
interface CaptionAssetsEffectEnvelope {
|
|
507
|
-
readonly version: 1;
|
|
508
|
-
readonly baselineFingerprint: string;
|
|
509
|
-
readonly effectId: string;
|
|
510
|
-
readonly signature: string;
|
|
511
|
-
readonly input: ApplyCaptionAssetsInput;
|
|
512
|
-
readonly decisions: {
|
|
513
|
-
readonly sourceOccurrence: {
|
|
514
|
-
readonly sourceStartMs: number;
|
|
515
|
-
readonly sourceEndMs: number;
|
|
516
|
-
readonly timelineStartMs: number;
|
|
517
|
-
readonly rate: number;
|
|
518
|
-
};
|
|
519
|
-
readonly targetRanges: readonly {
|
|
520
|
-
readonly segmentId: string;
|
|
521
|
-
readonly start: number;
|
|
522
|
-
readonly end: number;
|
|
523
|
-
}[];
|
|
524
|
-
readonly captionAsset: {
|
|
525
|
-
readonly mode: 'create' | 'reuse' | 'replace';
|
|
526
|
-
readonly priorAssetEntityId?: string;
|
|
527
|
-
readonly resultAssetEntityId: string;
|
|
528
|
-
readonly reboundRelationIds: readonly string[];
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
interface CompiledCaptionAssetsEffect {
|
|
533
|
-
readonly result: ApplyCaptionAssetsResult;
|
|
534
|
-
readonly replayed: boolean;
|
|
535
|
-
readonly update?: Uint8Array;
|
|
536
|
-
readonly rows: EntityRelationRows;
|
|
537
|
-
}
|
|
538
308
|
type ClipPlacement = {
|
|
539
309
|
readonly kind: 'sequential';
|
|
540
310
|
readonly order: number;
|
|
@@ -667,157 +437,6 @@ interface SetClipSpeedInput {
|
|
|
667
437
|
readonly clipEntityId: string;
|
|
668
438
|
readonly timeRemapping: LinearClipSpeed | null;
|
|
669
439
|
}
|
|
670
|
-
type VideoClipSpeedMode = '0.5x' | '0.75x' | '1.0x' | '1.5x' | '2.0x';
|
|
671
|
-
interface SetVideoClipSpeedEffectInput {
|
|
672
|
-
readonly clips: readonly {
|
|
673
|
-
readonly videoClipEntityId: string;
|
|
674
|
-
readonly mode: VideoClipSpeedMode;
|
|
675
|
-
}[];
|
|
676
|
-
}
|
|
677
|
-
interface GeneratedVisualClipFact {
|
|
678
|
-
readonly media: VisualMediaAssetFact;
|
|
679
|
-
/** Finite timeline use duration. Required for still images and bounded for video. */
|
|
680
|
-
readonly durationMs: number;
|
|
681
|
-
readonly generationJobId: string;
|
|
682
|
-
readonly sourceMediaEntityIds: readonly string[];
|
|
683
|
-
readonly volume?: number;
|
|
684
|
-
}
|
|
685
|
-
interface GeneratedVisualsInputBase {
|
|
686
|
-
readonly effectId: string;
|
|
687
|
-
readonly timelineEntityId: string;
|
|
688
|
-
readonly clips: readonly GeneratedVisualClipFact[];
|
|
689
|
-
}
|
|
690
|
-
/** An omitted occurrence anchor means the start of the main visual Track. */
|
|
691
|
-
type AddGeneratedVisualsInput = GeneratedVisualsInputBase & ({
|
|
692
|
-
readonly beforeClipEntityId: string;
|
|
693
|
-
readonly afterClipEntityId?: never;
|
|
694
|
-
} | {
|
|
695
|
-
readonly beforeClipEntityId?: never;
|
|
696
|
-
readonly afterClipEntityId: string;
|
|
697
|
-
} | {
|
|
698
|
-
readonly beforeClipEntityId?: never;
|
|
699
|
-
readonly afterClipEntityId?: never;
|
|
700
|
-
});
|
|
701
|
-
interface ContinueVideoInput {
|
|
702
|
-
readonly effectId: string;
|
|
703
|
-
readonly timelineEntityId: string;
|
|
704
|
-
readonly afterClipEntityId: string;
|
|
705
|
-
readonly tailFrameEntityId: string;
|
|
706
|
-
readonly sourceMediaEntityId: string;
|
|
707
|
-
readonly media: VideoMediaAssetFact;
|
|
708
|
-
}
|
|
709
|
-
interface GeneratedVisualEffectEnvelope {
|
|
710
|
-
readonly version: 1;
|
|
711
|
-
readonly baselineFingerprint: string;
|
|
712
|
-
readonly effectId: string;
|
|
713
|
-
readonly signature: string;
|
|
714
|
-
readonly input: AddGeneratedVisualsInput;
|
|
715
|
-
readonly decisions: {
|
|
716
|
-
readonly trackEntityId: string;
|
|
717
|
-
readonly anchorOrder: number | null;
|
|
718
|
-
readonly anchorPosition: 'before' | 'after' | 'track_start';
|
|
719
|
-
readonly insertionOrders: readonly number[];
|
|
720
|
-
};
|
|
721
|
-
}
|
|
722
|
-
interface GeneratedVisualEffectResult {
|
|
723
|
-
readonly clipEntityIds: readonly string[];
|
|
724
|
-
readonly mediaEntityIds: readonly string[];
|
|
725
|
-
}
|
|
726
|
-
interface CompiledGeneratedVisualEffect {
|
|
727
|
-
readonly result: GeneratedVisualEffectResult;
|
|
728
|
-
readonly replayed: boolean;
|
|
729
|
-
readonly update?: Uint8Array;
|
|
730
|
-
readonly rows: EntityRelationRows;
|
|
731
|
-
}
|
|
732
|
-
interface GeneratedSpeechCaptionFact {
|
|
733
|
-
readonly startMs: number;
|
|
734
|
-
readonly endMs: number;
|
|
735
|
-
readonly selection: CaptionSegmentSelection;
|
|
736
|
-
}
|
|
737
|
-
/** Host-resolved current Loro segment; arbitrary immutable JSON fields remain owned by the script. */
|
|
738
|
-
type ResolvedSpeechScriptSegment = ScriptTextSegment & JsonObject;
|
|
739
|
-
type ResolvedAsrSpeechSegment = AsrCaptionSegment & JsonObject;
|
|
740
|
-
type GeneratedSpeechSourceFact = {
|
|
741
|
-
readonly kind: 'phonetic-script';
|
|
742
|
-
readonly audioScriptEntityId: string;
|
|
743
|
-
readonly phoneticScriptEntityId: string;
|
|
744
|
-
readonly segments: readonly ResolvedSpeechScriptSegment[];
|
|
745
|
-
readonly phonemeScript?: string;
|
|
746
|
-
} | {
|
|
747
|
-
readonly kind: 'audio-script';
|
|
748
|
-
readonly audioScriptEntityId?: string;
|
|
749
|
-
readonly segments: readonly ResolvedAsrSpeechSegment[];
|
|
750
|
-
readonly sourceMediaEntityIds: readonly string[];
|
|
751
|
-
readonly sourceStartMs: number;
|
|
752
|
-
};
|
|
753
|
-
interface GeneratedSpeechFactBase {
|
|
754
|
-
readonly source: GeneratedSpeechSourceFact;
|
|
755
|
-
readonly captions: readonly GeneratedSpeechCaptionFact[];
|
|
756
|
-
readonly volume?: number;
|
|
757
|
-
}
|
|
758
|
-
type GeneratedSpeechFact = GeneratedSpeechFactBase & ({
|
|
759
|
-
readonly renderMode: 'recorded';
|
|
760
|
-
readonly media: AudioMediaAssetFact;
|
|
761
|
-
readonly source: Extract<GeneratedSpeechSourceFact, {
|
|
762
|
-
kind: 'audio-script';
|
|
763
|
-
}>;
|
|
764
|
-
} | {
|
|
765
|
-
readonly renderMode: 'synthesized';
|
|
766
|
-
readonly media: Omit<VoiceoverMediaAssetFact, 'voice'> & {
|
|
767
|
-
readonly voice: VoiceDescriptor;
|
|
768
|
-
};
|
|
769
|
-
});
|
|
770
|
-
interface AddSpeechAssetsInput {
|
|
771
|
-
readonly effectId: string;
|
|
772
|
-
readonly timelineEntityId: string;
|
|
773
|
-
readonly items: readonly (GeneratedSpeechFact & {
|
|
774
|
-
readonly placementStartMs: number;
|
|
775
|
-
})[];
|
|
776
|
-
}
|
|
777
|
-
interface ReplaceVoiceSpeechAssetsInput {
|
|
778
|
-
readonly effectId: string;
|
|
779
|
-
readonly timelineEntityId: string;
|
|
780
|
-
readonly items: readonly (Extract<GeneratedSpeechFact, {
|
|
781
|
-
renderMode: 'synthesized';
|
|
782
|
-
}> & {
|
|
783
|
-
readonly targetSpeechClipEntityId: string; /** Explicit current Caption uses replaced with this selected speech use. */
|
|
784
|
-
readonly targetCaptionClipEntityIds: readonly string[];
|
|
785
|
-
})[];
|
|
786
|
-
}
|
|
787
|
-
type SpeechAssetsEffectInput = {
|
|
788
|
-
readonly mode: 'add';
|
|
789
|
-
readonly value: AddSpeechAssetsInput;
|
|
790
|
-
} | {
|
|
791
|
-
readonly mode: 'replace-voice';
|
|
792
|
-
readonly value: ReplaceVoiceSpeechAssetsInput;
|
|
793
|
-
};
|
|
794
|
-
interface SpeechAssetsEffectEnvelope {
|
|
795
|
-
readonly version: 1;
|
|
796
|
-
readonly baselineFingerprint: string;
|
|
797
|
-
readonly effectId: string;
|
|
798
|
-
readonly signature: string;
|
|
799
|
-
readonly input: SpeechAssetsEffectInput;
|
|
800
|
-
readonly decisions: {
|
|
801
|
-
readonly speechTrackEntityId: string;
|
|
802
|
-
readonly captionTrackEntityId?: string;
|
|
803
|
-
readonly targetStartsMs: readonly number[]; /** Existing raw-Audio occurrences reused by recorded items; positional with input items. */
|
|
804
|
-
readonly recordedSpeechClipEntityIds: readonly (string | null)[];
|
|
805
|
-
};
|
|
806
|
-
}
|
|
807
|
-
interface SpeechAssetsEffectResult {
|
|
808
|
-
readonly speechClipEntityIds: readonly string[];
|
|
809
|
-
readonly speechAudioEntityIds: readonly string[];
|
|
810
|
-
readonly audioScriptEntityIds: readonly string[];
|
|
811
|
-
/** Positional per input item; recorded audio has no pronunciation variant. */
|
|
812
|
-
readonly phoneticScriptEntityIds: readonly (string | null)[];
|
|
813
|
-
readonly captionClipEntityIds: readonly (readonly string[])[];
|
|
814
|
-
}
|
|
815
|
-
interface CompiledSpeechAssetsEffect {
|
|
816
|
-
readonly result: SpeechAssetsEffectResult;
|
|
817
|
-
readonly replayed: boolean;
|
|
818
|
-
readonly update?: Uint8Array;
|
|
819
|
-
readonly rows: EntityRelationRows;
|
|
820
|
-
}
|
|
821
440
|
interface TrimClipInput {
|
|
822
441
|
readonly clipEntityId: string;
|
|
823
442
|
readonly sourceRange: SequenceRange<number>;
|
|
@@ -923,7 +542,6 @@ type ClipEntityId = EntityId;
|
|
|
923
542
|
* and committed only after validation succeeds.
|
|
924
543
|
*/
|
|
925
544
|
declare class EntityTimelineEditor {
|
|
926
|
-
#private;
|
|
927
545
|
private readonly idFactory;
|
|
928
546
|
private state;
|
|
929
547
|
constructor(initialRows: EntityRelationRows, idFactory?: EntityTimelineIdFactory);
|
|
@@ -941,9 +559,6 @@ declare class EntityTimelineEditor {
|
|
|
941
559
|
replaceMediaClip(input: ReplaceMediaClipInput): void;
|
|
942
560
|
setClipVolume(input: SetClipVolumeInput): void;
|
|
943
561
|
setClipSpeed(input: SetClipSpeedInput): void;
|
|
944
|
-
/** Apply one typed Director speed effect as a single graph transaction. */
|
|
945
|
-
setVideoClipSpeeds(input: SetVideoClipSpeedEffectInput): void;
|
|
946
|
-
private setClipSpeedIntoDraft;
|
|
947
562
|
trimClip(input: TrimClipInput): void;
|
|
948
563
|
replaceSequentialClips(input: ReplaceSequentialClipsInput): readonly ClipEntityId[];
|
|
949
564
|
deleteClip(input: DeleteClipInput): void;
|
|
@@ -964,9 +579,6 @@ declare class EntityTimelineEditor {
|
|
|
964
579
|
* never the Caption entity or the AudioScript.
|
|
965
580
|
*/
|
|
966
581
|
insertCaptionClip(input: InsertCaptionClipInput): ClipEntityId;
|
|
967
|
-
static compileCaptionAssetsEffect(base: LoroEntityDocument, envelope: CaptionAssetsEffectEnvelope): CompiledCaptionAssetsEffect;
|
|
968
|
-
static compileGeneratedVisualEffect(base: LoroEntityDocument, envelope: GeneratedVisualEffectEnvelope): CompiledGeneratedVisualEffect;
|
|
969
|
-
static compileSpeechAssetsEffect(base: LoroEntityDocument, envelope: SpeechAssetsEffectEnvelope): CompiledSpeechAssetsEffect;
|
|
970
582
|
private insertPlacedClipIntoDraft;
|
|
971
583
|
private ensureRoleTrack;
|
|
972
584
|
/** The existing pronunciation variant a voiceover consumes; composition is required. */
|
|
@@ -995,21 +607,6 @@ declare class EntityTimelineEditor {
|
|
|
995
607
|
private relinkRelation;
|
|
996
608
|
private mintRelationId;
|
|
997
609
|
}
|
|
998
|
-
/** Freeze every state-dependent choice once in the sole FE tool-effect handler. */
|
|
999
|
-
declare function prepareCaptionAssetsEffect(base: LoroEntityDocument, rawInput: ApplyCaptionAssetsInput): CaptionAssetsEffectEnvelope;
|
|
1000
|
-
/**
|
|
1001
|
-
* Compile only a frozen envelope on its exact causal baseline. Collaborators
|
|
1002
|
-
* receive the resulting Loro update, never the raw effect.
|
|
1003
|
-
*/
|
|
1004
|
-
declare function compileCaptionAssetsEffect(base: LoroEntityDocument, envelope: CaptionAssetsEffectEnvelope): CompiledCaptionAssetsEffect;
|
|
1005
|
-
/** Freeze the insertion position and lineage on one causal baseline. */
|
|
1006
|
-
declare function prepareGeneratedVisualEffect(base: LoroEntityDocument, rawInput: AddGeneratedVisualsInput): GeneratedVisualEffectEnvelope;
|
|
1007
|
-
declare function prepareContinueVideoEffect(base: LoroEntityDocument, input: ContinueVideoInput): GeneratedVisualEffectEnvelope;
|
|
1008
|
-
/** Compile once at the FE authority; retain the returned update bytes for retry and collaborators. */
|
|
1009
|
-
declare function compileGeneratedVisualEffect(base: LoroEntityDocument, envelope: GeneratedVisualEffectEnvelope): CompiledGeneratedVisualEffect;
|
|
1010
|
-
declare function prepareSpeechAssetsEffect(base: LoroEntityDocument, rawInput: SpeechAssetsEffectInput): SpeechAssetsEffectEnvelope;
|
|
1011
|
-
/** Compile once at the FE authority; retain the returned update bytes for retry and collaborators. */
|
|
1012
|
-
declare function compileSpeechAssetsEffect(base: LoroEntityDocument, envelope: SpeechAssetsEffectEnvelope): CompiledSpeechAssetsEffect;
|
|
1013
610
|
//#endregion
|
|
1014
611
|
//#region src/entity-editor/editor-resources.d.ts
|
|
1015
612
|
declare const roleOrder: {
|
|
@@ -1062,12 +659,6 @@ interface ImportedMediaAsset {
|
|
|
1062
659
|
/** The timbre identity of a synthesized voiceover; absent for recorded media. */
|
|
1063
660
|
readonly voiceEntityId?: string;
|
|
1064
661
|
}
|
|
1065
|
-
interface ImportedCaptionAsset {
|
|
1066
|
-
readonly rows: EntityRelationRows;
|
|
1067
|
-
readonly assetEntityId: string;
|
|
1068
|
-
}
|
|
1069
|
-
/** Import only the fixed ASR artifact; Caption entities are authored separately. */
|
|
1070
|
-
declare function importCaptionAsset(initial: EntityRelationRows, fact: CaptionAssetFact, idFactory?: EntityTimelineIdFactory): ImportedCaptionAsset;
|
|
1071
662
|
/**
|
|
1072
663
|
* Import at the editor boundary, not at asset generation time. Existing
|
|
1073
664
|
* provenance is retained.
|
|
@@ -1110,6 +701,169 @@ interface DocumentAudioScriptState {
|
|
|
1110
701
|
/** Read only the attached version and preserve every segment; never aggregate other scripts. */
|
|
1111
702
|
declare function readDocumentAudioScript(state: DocumentAudioScriptState): DocumentAudioScript;
|
|
1112
703
|
//#endregion
|
|
704
|
+
//#region src/entity-crdt/field-changes.d.ts
|
|
705
|
+
/** List members are addressed by identity, never a transient array offset. */
|
|
706
|
+
type FieldPath = readonly (string | {
|
|
707
|
+
elementId: string;
|
|
708
|
+
})[];
|
|
709
|
+
type FieldChange = {
|
|
710
|
+
op: 'set';
|
|
711
|
+
path: FieldPath;
|
|
712
|
+
value: JsonValue;
|
|
713
|
+
} | {
|
|
714
|
+
op: 'unset';
|
|
715
|
+
path: FieldPath;
|
|
716
|
+
} | {
|
|
717
|
+
op: 'text.splice';
|
|
718
|
+
path: FieldPath;
|
|
719
|
+
index: number;
|
|
720
|
+
deleteCount: number;
|
|
721
|
+
text: string;
|
|
722
|
+
} | {
|
|
723
|
+
op: 'list.insert';
|
|
724
|
+
path: FieldPath;
|
|
725
|
+
value: JsonValue;
|
|
726
|
+
beforeElementId: string | null;
|
|
727
|
+
} | {
|
|
728
|
+
op: 'list.move';
|
|
729
|
+
path: FieldPath;
|
|
730
|
+
elementId: string;
|
|
731
|
+
beforeElementId: string | null;
|
|
732
|
+
} | {
|
|
733
|
+
op: 'list.remove';
|
|
734
|
+
path: FieldPath;
|
|
735
|
+
elementId: string;
|
|
736
|
+
};
|
|
737
|
+
declare function assertFieldChanges(changes: readonly FieldChange[]): void;
|
|
738
|
+
/** Resolve against the sequential causal view; the numeric path never crosses the API boundary. */
|
|
739
|
+
declare function resolveFieldPath(payload: JsonObject, path: FieldPath): (string | number)[];
|
|
740
|
+
/** Detached plan evaluation. Native compilation replays the original operations, not this snapshot. */
|
|
741
|
+
declare function applyFieldChanges(payload: JsonObject, changes: readonly FieldChange[]): JsonObject;
|
|
742
|
+
//#endregion
|
|
743
|
+
//#region src/entity-crdt/entity-document.d.ts
|
|
744
|
+
declare const LORO_ENTITY_SCHEMA = "medeo.entities.loro.v1";
|
|
745
|
+
interface EntityDocumentState {
|
|
746
|
+
readonly rows: EntityRelationRows;
|
|
747
|
+
readonly project: Readonly<Record<string, string>>;
|
|
748
|
+
}
|
|
749
|
+
type Command = {
|
|
750
|
+
type: 'create';
|
|
751
|
+
row: EntityRow;
|
|
752
|
+
} | {
|
|
753
|
+
type: 'selection-baseline';
|
|
754
|
+
root: string;
|
|
755
|
+
fingerprint: string;
|
|
756
|
+
} | {
|
|
757
|
+
type: 'order';
|
|
758
|
+
group: string;
|
|
759
|
+
roots: string[];
|
|
760
|
+
token: string;
|
|
761
|
+
} | {
|
|
762
|
+
type: 'write';
|
|
763
|
+
root: string;
|
|
764
|
+
payload: JsonObject;
|
|
765
|
+
token: string;
|
|
766
|
+
} | {
|
|
767
|
+
type: 'text';
|
|
768
|
+
root: string;
|
|
769
|
+
path: readonly (string | number)[];
|
|
770
|
+
start: number;
|
|
771
|
+
deleteCount: number;
|
|
772
|
+
text: string;
|
|
773
|
+
token: string;
|
|
774
|
+
} | {
|
|
775
|
+
type: 'field';
|
|
776
|
+
root: string;
|
|
777
|
+
path: (string | number)[];
|
|
778
|
+
change: FieldChange;
|
|
779
|
+
token: string;
|
|
780
|
+
} | {
|
|
781
|
+
type: 'relation-field';
|
|
782
|
+
root: string;
|
|
783
|
+
path: (string | number)[];
|
|
784
|
+
change: FieldChange;
|
|
785
|
+
} | {
|
|
786
|
+
type: 'delete';
|
|
787
|
+
root: string;
|
|
788
|
+
} | {
|
|
789
|
+
type: 'relation';
|
|
790
|
+
row: RelationRow;
|
|
791
|
+
} | {
|
|
792
|
+
type: 'relation-fields';
|
|
793
|
+
root: string;
|
|
794
|
+
metadata: JsonObject;
|
|
795
|
+
trace: JsonObject;
|
|
796
|
+
} | {
|
|
797
|
+
type: 'unlink';
|
|
798
|
+
root: string;
|
|
799
|
+
} | {
|
|
800
|
+
type: 'attach';
|
|
801
|
+
slot: string;
|
|
802
|
+
entityId: string;
|
|
803
|
+
};
|
|
804
|
+
/** Plain domain objects assembled from native Loro state, never a second writable authority. */
|
|
805
|
+
declare function readEntityDocument(doc: LoroDoc, allowSelectionConflicts?: boolean): EntityDocumentState;
|
|
806
|
+
/** Native editing containers survive domain version changes and merge independently. */
|
|
807
|
+
declare class LoroEntityDocument {
|
|
808
|
+
readonly doc: LoroDoc;
|
|
809
|
+
private readonly validate?;
|
|
810
|
+
private readonly undoManager;
|
|
811
|
+
constructor(doc: LoroDoc, validate?: ((state: EntityDocumentState) => void) | undefined);
|
|
812
|
+
/** Open a causal snapshot using the same Loro runtime as the compiler. */
|
|
813
|
+
static fromSnapshot(snapshot: Uint8Array, validate?: (state: EntityDocumentState) => void): LoroEntityDocument;
|
|
814
|
+
static create(rows: EntityRelationRows, project?: Readonly<Record<string, string>>, peerId?: PeerID): LoroEntityDocument;
|
|
815
|
+
snapshot(): EntityDocumentState;
|
|
816
|
+
relationsOf(entityId: string): readonly RelationRow[];
|
|
817
|
+
/** Resolve a queued edit target through its native identity without changing history. */
|
|
818
|
+
resolveCurrentEntityId(id: string): string;
|
|
819
|
+
getVersion(id: string): EntityRow | undefined;
|
|
820
|
+
/** The callback and every domain validation execute on a causally complete fork first. */
|
|
821
|
+
transact(edit: (draft: LoroEntityDraft) => void): Uint8Array;
|
|
822
|
+
/** Import preserves native operation identities; projection errors never discard remote operations. */
|
|
823
|
+
import(update: Uint8Array): void;
|
|
824
|
+
/**
|
|
825
|
+
* Bind a saved snapshot without rewriting text operations or resolving
|
|
826
|
+
* selection conflicts. The script names the bytes the same way everything
|
|
827
|
+
* else does — an Asset entity plus a Relation — and keeps only the
|
|
828
|
+
* fingerprint that tells a stale snapshot from a current one. The Relation is
|
|
829
|
+
* `to-asset`: these bytes are the script's own content written out, not a
|
|
830
|
+
* source it was made from.
|
|
831
|
+
*/
|
|
832
|
+
bindAudioScriptAsset(entityId: string, assetId: string, expectedContentHash: string): Uint8Array;
|
|
833
|
+
canUndo(): boolean;
|
|
834
|
+
canRedo(): boolean;
|
|
835
|
+
undo(): boolean;
|
|
836
|
+
redo(): boolean;
|
|
837
|
+
private historyEdit;
|
|
838
|
+
}
|
|
839
|
+
declare class LoroEntityDraft {
|
|
840
|
+
private readonly doc;
|
|
841
|
+
readonly commands: Command[];
|
|
842
|
+
private readonly selectedRoots;
|
|
843
|
+
private readonly relationAliases;
|
|
844
|
+
constructor(doc: LoroDoc);
|
|
845
|
+
snapshot(): EntityDocumentState;
|
|
846
|
+
order(groupId: string, entityIds: readonly string[]): void;
|
|
847
|
+
/** Project the final scalar placement intents onto the existing native ordering containers. */
|
|
848
|
+
reconcileOrder(rows: EntityRelationRows): void;
|
|
849
|
+
create(row: EntityRow): void;
|
|
850
|
+
delete(entityId: string): void;
|
|
851
|
+
attach(slot: string, entityId: string): void;
|
|
852
|
+
link(row: RelationRow): void;
|
|
853
|
+
patchRelation(relationId: string, metadata: JsonObject, trace: JsonObject): void;
|
|
854
|
+
unlink(relationId: string): void;
|
|
855
|
+
private relationRoot;
|
|
856
|
+
update(entityId: string, fields: JsonObject): void;
|
|
857
|
+
declare(entityId: string, fields: JsonObject): void;
|
|
858
|
+
replaceOwned(entityId: string, payload: JsonObject): void;
|
|
859
|
+
editText(entityId: string, path: readonly (string | number)[], start: number, deleteCount: number, text: string): void;
|
|
860
|
+
/** Generic assembled-field edit compiled at the author's causal position. */
|
|
861
|
+
change(entityId: string, changes: readonly FieldChange[]): void;
|
|
862
|
+
changeRelation(relationId: string, changes: readonly FieldChange[]): void;
|
|
863
|
+
captureSelectionBaselines(): void;
|
|
864
|
+
private record;
|
|
865
|
+
}
|
|
866
|
+
//#endregion
|
|
1113
867
|
//#region src/entity-crdt/compile-rows.d.ts
|
|
1114
868
|
/** Lower a detached ordinary-object edit against its actual causal Loro baseline. */
|
|
1115
869
|
declare function compileEntityRows(snapshot: Uint8Array, rows: EntityRelationRows, validate?: (state: EntityDocumentState) => void): {
|
|
@@ -2018,4 +1772,4 @@ declare function phoneticScriptAssetHash(rows: EntityRelationRows, entityId: str
|
|
|
2018
1772
|
/** The Asset a PhoneticScript was written out to, read from the graph. */
|
|
2019
1773
|
declare function phoneticScriptAssetOf(rows: EntityRelationRows, entityId: string): EntityRow | undefined;
|
|
2020
1774
|
//#endregion
|
|
2021
|
-
export { type
|
|
1775
|
+
export { type Aggregation, type AssembledCaptionContent, type AssembledPhoneticScriptContent, type Attachment, type AudioMediaAssetFact, type BgmPart, type CaptionContentInput, type CaptionDisplayCue, type CaptionPart, type CaptionSegmentSelection, type CaptionStyle, type ClipEntityId, type ClipPlacement, type CommitOptions, DEFAULT_UNIT_TIME_MS, type DeleteBgmInput, type DeleteClipInput, type DeleteClipTreeInput, type DeleteVoiceoverInput, type DerivedItemPosition, type DocStorageLike, type DocVersionMark, type DocumentAudioScript, type DocumentAudioScriptState, type EditorFoundation, EntityDocumentState, type EntityGraphCommitOptions, EntityGraphHttpClient, type EntityGraphState, EntityTimelineEditor, type EntityTimelineIdFactory, EntityTimelineProjectionError, type EntityTimelineTrackRole, type FieldChange, type FieldPath, IMPLEMENTED_SEMANTIC_OP_KINDS, type ImageMediaAssetFact, type ImplementedSemanticOpKind, type ImportedMediaAsset, type InsertCaptionClipInput, type InsertClipInput, type InsertMediaClipInput, type InsertMediaClipsInput, type InsertPlacedClipInput, type JournalEntry, LANE_KINDS_IN_STACK_ORDER, LORO_ENTITY_SCHEMA, type LaneKind, type LinearClipSpeed, LoroEntityDocument, LoroEntityDraft, type MainClipRange, type MakeEmptyPart, ManualSyncDoc, type ManualSyncDocOptions, MedeoHttpDocStorage, type MedeoHttpDocStorageOptions, type MediaAssetFact, type MediaClipInsertion, MemoryDocStorage, MengineAckFailedError, type MengineAuditEntry, type MengineAuditResponse, MengineDocSession, type MengineDocSessionOptions, type MengineDocSessionUpdateEvent, type MengineDocSyncState, type MengineDocumentVersion, type MengineEventStreamOptions, MengineHttpClient, type MengineHttpClientOptions, MengineHttpRequestError, MenginePushRejectedError, type MenginePushResponse, type MenginePushUpdateResponse, type MengineRejectedResponse, type MengineSnapshotResponse, type MengineSseUpdateEvent, type MengineSyncResponse, type MengineUndoState, type MengineUpdateMeta, MirrorVideoDocumentAdapter, type MirrorVideoDocumentOptions, type MoveClipInput, type MoveClipsToStartsInput, type MoveSequentialClipsInput, type MoveVoiceoverInput, type OpActor, type PartAggregation, type PartIdFactory, type PartKind, type PartUnion, type PatchCaptionStyleInput, PlainMemoryAdapter, type PlainMemoryAdapterOptions, type PlannedSemanticOpKind, type PullFailureReason, type PullResult, type PushOutcome, type PushOutcomeKind, type PushResult, type PushResultKind, type ReplaceClipContentInput, type ReplaceMediaClipInput, type ReplaceSequentialClipsInput, type ReplacementMediaClipInput, type ResolvedEntityClipPlacement, type ResolvedEntityTimelineLayout, type ResolvedEntityTrack, SchemaValidator, ScriptCompositionError, type SemanticDocumentAdapter, SemanticEditor, type SemanticOpInput, type SemanticOpKind, type SemanticOpName, type SequentialClipAnchor, type SetBgmInput, type SetCaptionVisibilityInput, type SetClipPlacementInput, type SetClipSpeedInput, type SetClipVolumeInput, type SnapshotReadable, type SolvedVideoDocument, type SpeechHostMap, type SpeechPart, type SpeedShift, TIMELINE_SKELETON_DURATION_MS, type Timeline, type TimelineDoc, type TimelineItem, type Track, type TrackDraft, type TrackItem, type TrackItemDraft, type TrackItemTimePosition, type TransactAudit, type TrimClipInput, type UpdateClipInput, type UpdateClipMarkerInput, ValidationError, type VideoClipPart, type VideoDocument, type VideoDocumentDraft, type VideoDocumentMirrorSchema, VideoDocumentValidationError, type VideoDocumentValidationIssue, type VideoDocumentValidationIssueCode, type VideoDraft, type CaptionPart$1 as VideoDraftCaptionPart, type VideoDraftContent, type VideoDraftPartUnion, type Timeline$1 as VideoDraftTimeline, type Track$1 as VideoDraftTrack, type TrackItem$1 as VideoDraftTrackItem, type VideoMediaAssetFact, type VisualMediaAssetFact, type VoiceoverCaptionFact, type VoiceoverMediaAssetFact, type VoiceoverTakeInput, type VoiceoverTakeResult, type WaitForServerAckOptions, applyEntityRows, applyFieldChanges, arrangeMainTrackSeamlessly, assembleCaptionContent, assembleEntityContent, assemblePhoneticScriptContent, assembleScriptText, assertCanonicalEditorResources, assertEntityProjectionPreservesLegacy, assertFieldChanges, assertMediaAssetWritePolicy, assertValidVideoDocument, audioScriptAssetContent, audioScriptAssetFields, audioScriptAssetHash, audioScriptAssetOf, base64ToBytes, buildInitialVideoDocument, buildSpeechHostMap, bytesToBase64, cascadeAfterVideoClipChanges, compileEntityRows, createEditSandbox, createMirrorVideoDocument, createMirrorVideoDocumentAdapter, createPlainMemoryAdapter, decodeDocVersionMark, derivePositionFromAbs, effectiveVideoClipDurationMs, encodeDocVersionMark, ensureEditorFoundation, ensureLaneTrack, fillMainTrackTimeGaps, findComposedAudioScript, findLaneTrack, fromVideoDocument, generatePartId, getAt, hostForAbsMs, importMediaAsset, isEmptyVideoClip, isImplementedSemanticOpKind, isMap, laneTrackId, mainTrackRanges, migrateLegacyTimelineToEntities, partDurationMs, partUnionSchema, phoneticScriptAssetContent, phoneticScriptAssetHash, phoneticScriptAssetOf, prepareCaptionContent, projectEntityTimeline, readDocumentAudioScript, readEntityDocument, readMainTrackItems, readMengineEventStream, readPart, readPartDurationMs, readVideoDocumentFromDraft, reassignSpeechesToVideoClipsByTime, recalculateTimelineDuration, relativePositionForAbs, replayJournal, resolveAllSpeechOverlaps, resolveEntityTimelineLayout, resolveFieldPath, resolveSpeechOverlapByShiftingVideos, safeDurationMs, index_d_exports as schemas, scriptSourceAssetOf, selectAudioScriptSegment, snapshotToPlain, solveVideoDocument, speedOf, syncAggregatedClipsTimePosition, toVideoDocument, validateVideoDocument, videoDocumentMirrorSchema, videoDocumentSchema };
|