@shotstack/shotstack-studio 2.0.0-beta.22 → 2.0.0-beta.24
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/index.d.ts +3 -23
- package/dist/internal.es.js +44230 -19593
- package/dist/internal.umd.js +1044 -36
- package/dist/schema/index.d.ts +3 -23
- package/dist/shotstack-studio.es.js +77927 -61808
- package/dist/shotstack-studio.umd.js +1698 -600
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -464,6 +464,7 @@ export declare class Edit {
|
|
|
464
464
|
private clipsToDispose;
|
|
465
465
|
private clipErrors;
|
|
466
466
|
private playerByClipId;
|
|
467
|
+
private lumaContentRelations;
|
|
467
468
|
private fontMetadata;
|
|
468
469
|
private isBatchingEvents;
|
|
469
470
|
private syncCorrectionCount;
|
|
@@ -582,31 +583,10 @@ export declare class Edit {
|
|
|
582
583
|
setTimelineBackground(color: string): Promise<void>;
|
|
583
584
|
private setTimelineBackgroundInternal;
|
|
584
585
|
getTimelineBackground(): string;
|
|
585
|
-
/** Map of asset src → original asset type (for reliable luma detachment during undo) */
|
|
586
|
-
private originalAssetTypes;
|
|
587
586
|
/**
|
|
588
|
-
*
|
|
587
|
+
* Get the content clip ID for a luma clip.
|
|
589
588
|
*/
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Attach a luma mask to a specific clip.
|
|
593
|
-
*/
|
|
594
|
-
attachLumaToClip(trackIndex: number, clipIndex: number, lumaSrc: string): Promise<void>;
|
|
595
|
-
/**
|
|
596
|
-
* Detach the luma mask from a clip.
|
|
597
|
-
*/
|
|
598
|
-
detachLumaFromClip(trackIndex: number, clipIndex: number): Promise<void>;
|
|
599
|
-
/**
|
|
600
|
-
* Get the luma mask attached to a clip, if any.
|
|
601
|
-
*/
|
|
602
|
-
getClipLuma(trackIndex: number, clipIndex: number): {
|
|
603
|
-
src: string;
|
|
604
|
-
clipIndex: number;
|
|
605
|
-
} | null;
|
|
606
|
-
/**
|
|
607
|
-
* Check if a clip has a luma mask attached.
|
|
608
|
-
*/
|
|
609
|
-
hasLumaMask(trackIndex: number, clipIndex: number): boolean;
|
|
589
|
+
getContentClipIdForLuma(lumaClipId: string): string | null;
|
|
610
590
|
/**
|
|
611
591
|
* Find the content clip that best matches a luma (by temporal overlap).
|
|
612
592
|
*/
|