@shotstack/shotstack-studio 2.9.1 → 2.10.0

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
@@ -283,6 +283,9 @@ declare const EditEvent: {
283
283
  readonly ClipRestored: "clip:restored";
284
284
  readonly ClipCopied: "clip:copied";
285
285
  readonly ClipLoadFailed: "clip:loadFailed";
286
+ readonly ClipCaptureStarted: "clip:captureStarted";
287
+ readonly ClipCaptureCompleted: "clip:captureCompleted";
288
+ readonly ClipCaptureFailed: "clip:captureFailed";
286
289
  readonly ClipUnresolved: "clip:unresolved";
287
290
  readonly SelectionCleared: "selection:cleared";
288
291
  readonly EditChanged: "edit:changed";
@@ -324,6 +327,21 @@ declare type EditEventMap = {
324
327
  error: string;
325
328
  assetType: string;
326
329
  };
330
+ [EditEvent.ClipCaptureStarted]: {
331
+ clipId: string | null;
332
+ assetType: string;
333
+ };
334
+ [EditEvent.ClipCaptureCompleted]: {
335
+ clipId: string | null;
336
+ assetType: string;
337
+ frameCount: number;
338
+ };
339
+ [EditEvent.ClipCaptureFailed]: {
340
+ clipId: string | null;
341
+ assetType: string;
342
+ error: string;
343
+ fallback: string;
344
+ };
327
345
  [EditEvent.ClipUnresolved]: ClipLocation & {
328
346
  assetType: string;
329
347
  clipId: string;
@@ -192,6 +192,9 @@ declare const EditEvent: {
192
192
  readonly ClipRestored: "clip:restored";
193
193
  readonly ClipCopied: "clip:copied";
194
194
  readonly ClipLoadFailed: "clip:loadFailed";
195
+ readonly ClipCaptureStarted: "clip:captureStarted";
196
+ readonly ClipCaptureCompleted: "clip:captureCompleted";
197
+ readonly ClipCaptureFailed: "clip:captureFailed";
195
198
  readonly ClipUnresolved: "clip:unresolved";
196
199
  readonly SelectionCleared: "selection:cleared";
197
200
  readonly EditChanged: "edit:changed";
@@ -233,6 +236,21 @@ declare type EditEventMap = {
233
236
  error: string;
234
237
  assetType: string;
235
238
  };
239
+ [EditEvent.ClipCaptureStarted]: {
240
+ clipId: string | null;
241
+ assetType: string;
242
+ };
243
+ [EditEvent.ClipCaptureCompleted]: {
244
+ clipId: string | null;
245
+ assetType: string;
246
+ frameCount: number;
247
+ };
248
+ [EditEvent.ClipCaptureFailed]: {
249
+ clipId: string | null;
250
+ assetType: string;
251
+ error: string;
252
+ fallback: string;
253
+ };
236
254
  [EditEvent.ClipUnresolved]: ClipLocation & {
237
255
  assetType: string;
238
256
  clipId: string;