@linker-design-plus/timeline-track 2.0.6 → 2.0.7
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.
|
@@ -6,6 +6,8 @@ export interface TimelinePendingPreviewState {
|
|
|
6
6
|
resumePlayOnReady: boolean;
|
|
7
7
|
errorMessage: string | null;
|
|
8
8
|
timeoutId: ReturnType<typeof setTimeout> | null;
|
|
9
|
+
failedTimeoutId?: ReturnType<typeof setTimeout> | null;
|
|
10
|
+
pendingFailedMessage?: string | null;
|
|
9
11
|
awaitingSync: boolean;
|
|
10
12
|
syncRequestId: number;
|
|
11
13
|
}
|
|
@@ -19,10 +21,12 @@ interface TimelinePreviewStateControllerCallbacks {
|
|
|
19
21
|
interface TimelinePreviewStateControllerOptions {
|
|
20
22
|
callbacks: TimelinePreviewStateControllerCallbacks;
|
|
21
23
|
pendingTimeoutMs?: number;
|
|
24
|
+
failedOverlayDelayMs?: number;
|
|
22
25
|
}
|
|
23
26
|
export declare class TimelinePreviewStateController {
|
|
24
27
|
private readonly callbacks;
|
|
25
28
|
private readonly pendingTimeoutMs;
|
|
29
|
+
private readonly failedOverlayDelayMs;
|
|
26
30
|
private _previewSourceLoadingCount;
|
|
27
31
|
private _previewBuffering;
|
|
28
32
|
private _previewAwaitingMedia;
|
|
@@ -49,5 +53,7 @@ export declare class TimelinePreviewStateController {
|
|
|
49
53
|
resetPreviewRuntimeState(): void;
|
|
50
54
|
private ensurePendingPreviewTimeout;
|
|
51
55
|
private clearPendingPreviewTimeout;
|
|
56
|
+
private scheduleFailedOverlay;
|
|
57
|
+
private clearFailedOverlayTimeout;
|
|
52
58
|
}
|
|
53
59
|
export {};
|
|
@@ -385,7 +385,7 @@ export interface TimelineManagerConfig {
|
|
|
385
385
|
export interface TimelineExportData {
|
|
386
386
|
version: string;
|
|
387
387
|
exportTime: number;
|
|
388
|
-
coverUrl
|
|
388
|
+
coverUrl?: string;
|
|
389
389
|
composition: TimelineCompositionExportData;
|
|
390
390
|
tracks: TrackExportData[];
|
|
391
391
|
}
|