@shotstack/shotstack-studio 2.28.2 → 2.29.1

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 CHANGED
@@ -252,6 +252,8 @@ export declare class Edit {
252
252
  */
253
253
  generateClip(clipId: string): Promise<void>;
254
254
  private applyGeneratedSrc;
255
+ /** Counts html5 clips only: failed ones, and an on-play edit's before it plays, are left out of `pending` and `total`. */
256
+ getPendingCaptures(): PendingCaptures;
255
257
  /**
256
258
  * Look up the (trackIndex, clipIndex) position of a clip by its stable ID.
257
259
  */
@@ -688,6 +690,12 @@ declare interface MergeField {
688
690
 
689
691
  declare type Output = components["schemas"]["Output"];
690
692
 
693
+ export declare interface PendingCaptures {
694
+ pending: number;
695
+ total: number;
696
+ progress: number;
697
+ }
698
+
691
699
  /**
692
700
  * Read-only view of an EventEmitter that only exposes subscription methods.
693
701
  * Used as the public `events` type on Edit to prevent consumers from emitting events.
@@ -739,6 +747,7 @@ export declare class Timeline {
739
747
  private readonly handleClipSelected;
740
748
  private readonly handleClipLoadFailed;
741
749
  private readonly handleClipGeneration;
750
+ private readonly handleClipCapture;
742
751
  private readonly handleClipUpdated;
743
752
  private readonly handleClipFocusChanged;
744
753
  private readonly handleRulerMouseMove;
@@ -141,6 +141,8 @@ export declare class Edit {
141
141
  */
142
142
  generateClip(clipId: string): Promise<void>;
143
143
  private applyGeneratedSrc;
144
+ /** Counts html5 clips only: failed ones, and an on-play edit's before it plays, are left out of `pending` and `total`. */
145
+ getPendingCaptures(): PendingCaptures;
144
146
  /**
145
147
  * Look up the (trackIndex, clipIndex) position of a clip by its stable ID.
146
148
  */
@@ -657,6 +659,12 @@ export declare class MergeFieldService {
657
659
 
658
660
  declare type Output = components["schemas"]["Output"];
659
661
 
662
+ declare interface PendingCaptures {
663
+ pending: number;
664
+ total: number;
665
+ progress: number;
666
+ }
667
+
660
668
  /**
661
669
  * Read-only view of an EventEmitter that only exposes subscription methods.
662
670
  * Used as the public `events` type on Edit to prevent consumers from emitting events.