@shotstack/shotstack-studio 1.2.0 → 1.2.2
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/core/loaders/asset-loader.d.ts +10 -2
- package/dist/core/schemas/asset.d.ts +14 -10
- package/dist/core/schemas/audio-asset.d.ts +10 -6
- package/dist/core/schemas/clip.d.ts +43 -29
- package/dist/core/schemas/edit.d.ts +115 -87
- package/dist/core/schemas/html-asset.d.ts +2 -2
- package/dist/core/schemas/track.d.ts +47 -33
- package/dist/core/schemas/video-asset.d.ts +10 -6
- package/dist/shotstack-studio.es.js +612 -558
- package/dist/shotstack-studio.umd.js +3 -3
- package/package.json +1 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import * as pixi from "pixi.js";
|
|
2
2
|
import { AssetLoadTracker } from "../events/asset-load-tracker";
|
|
3
3
|
export declare class AssetLoader {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private static readonly VIDEO_EXTENSIONS;
|
|
5
|
+
private static readonly VIDEO_MIME;
|
|
6
|
+
readonly loadTracker: AssetLoadTracker;
|
|
6
7
|
load<TResolvedAsset>(identifier: string, loadOptions: pixi.UnresolvedAsset): Promise<TResolvedAsset | null>;
|
|
7
8
|
getProgress(): number;
|
|
9
|
+
private extractUrl;
|
|
10
|
+
private hasVideoExtension;
|
|
11
|
+
private getContentType;
|
|
12
|
+
private canPlayVideo;
|
|
13
|
+
private isPlayableVideo;
|
|
14
|
+
private shouldUseSafariVideoLoader;
|
|
15
|
+
private loadVideoForSafari;
|
|
8
16
|
private updateAssetLoadMetadata;
|
|
9
17
|
}
|
|
@@ -257,15 +257,15 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
257
257
|
height: zod.ZodOptional<zod.ZodNumber>;
|
|
258
258
|
position: zod.ZodOptional<zod.ZodEnum<["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]>>;
|
|
259
259
|
}, "strip", zod.ZodTypeAny, {
|
|
260
|
-
type: "html";
|
|
261
260
|
html: string;
|
|
261
|
+
type: "html";
|
|
262
262
|
css: string;
|
|
263
263
|
width?: number | undefined;
|
|
264
264
|
height?: number | undefined;
|
|
265
265
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center" | undefined;
|
|
266
266
|
}, {
|
|
267
|
-
type: "html";
|
|
268
267
|
html: string;
|
|
268
|
+
type: "html";
|
|
269
269
|
css: string;
|
|
270
270
|
width?: number | undefined;
|
|
271
271
|
height?: number | undefined;
|
|
@@ -327,15 +327,17 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
327
327
|
bottom?: number | undefined;
|
|
328
328
|
left?: number | undefined;
|
|
329
329
|
}>>;
|
|
330
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
330
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
331
|
+
from: zod.ZodNumber;
|
|
332
|
+
to: zod.ZodNumber;
|
|
331
333
|
start: zod.ZodNumber;
|
|
332
334
|
length: zod.ZodNumber;
|
|
333
335
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
334
336
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
335
|
-
}
|
|
337
|
+
}, {
|
|
336
338
|
from: zod.ZodNumber;
|
|
337
339
|
to: zod.ZodNumber;
|
|
338
|
-
}
|
|
340
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
339
341
|
length: number;
|
|
340
342
|
from: number;
|
|
341
343
|
to: number;
|
|
@@ -399,15 +401,17 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
399
401
|
type: zod.ZodLiteral<"audio">;
|
|
400
402
|
src: zod.ZodString;
|
|
401
403
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
402
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
404
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
405
|
+
from: zod.ZodNumber;
|
|
406
|
+
to: zod.ZodNumber;
|
|
403
407
|
start: zod.ZodNumber;
|
|
404
408
|
length: zod.ZodNumber;
|
|
405
409
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
406
410
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
407
|
-
}
|
|
411
|
+
}, {
|
|
408
412
|
from: zod.ZodNumber;
|
|
409
413
|
to: zod.ZodNumber;
|
|
410
|
-
}
|
|
414
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
411
415
|
length: number;
|
|
412
416
|
from: number;
|
|
413
417
|
to: number;
|
|
@@ -459,8 +463,8 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
459
463
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
460
464
|
}[] | undefined;
|
|
461
465
|
} | {
|
|
462
|
-
type: "html";
|
|
463
466
|
html: string;
|
|
467
|
+
type: "html";
|
|
464
468
|
css: string;
|
|
465
469
|
width?: number | undefined;
|
|
466
470
|
height?: number | undefined;
|
|
@@ -556,8 +560,8 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
556
560
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
557
561
|
}[] | undefined;
|
|
558
562
|
} | {
|
|
559
|
-
type: "html";
|
|
560
563
|
html: string;
|
|
564
|
+
type: "html";
|
|
561
565
|
css: string;
|
|
562
566
|
width?: number | undefined;
|
|
563
567
|
height?: number | undefined;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
export declare const AudioAssetUrlSchema: zod.ZodString;
|
|
3
|
-
export declare const AudioAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
3
|
+
export declare const AudioAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
4
|
+
from: zod.ZodNumber;
|
|
5
|
+
to: zod.ZodNumber;
|
|
4
6
|
start: zod.ZodNumber;
|
|
5
7
|
length: zod.ZodNumber;
|
|
6
8
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
7
9
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
8
|
-
}
|
|
10
|
+
}, {
|
|
9
11
|
from: zod.ZodNumber;
|
|
10
12
|
to: zod.ZodNumber;
|
|
11
|
-
}
|
|
13
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
12
14
|
length: number;
|
|
13
15
|
from: number;
|
|
14
16
|
to: number;
|
|
@@ -27,15 +29,17 @@ export declare const AudioAssetSchema: zod.ZodObject<{
|
|
|
27
29
|
type: zod.ZodLiteral<"audio">;
|
|
28
30
|
src: zod.ZodString;
|
|
29
31
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
30
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
32
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
33
|
+
from: zod.ZodNumber;
|
|
34
|
+
to: zod.ZodNumber;
|
|
31
35
|
start: zod.ZodNumber;
|
|
32
36
|
length: zod.ZodNumber;
|
|
33
37
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
34
38
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
35
|
-
}
|
|
39
|
+
}, {
|
|
36
40
|
from: zod.ZodNumber;
|
|
37
41
|
to: zod.ZodNumber;
|
|
38
|
-
}
|
|
42
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
39
43
|
length: number;
|
|
40
44
|
from: number;
|
|
41
45
|
to: number;
|
|
@@ -263,15 +263,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
263
263
|
height: zod.ZodOptional<zod.ZodNumber>;
|
|
264
264
|
position: zod.ZodOptional<zod.ZodEnum<["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]>>;
|
|
265
265
|
}, "strip", zod.ZodTypeAny, {
|
|
266
|
-
type: "html";
|
|
267
266
|
html: string;
|
|
267
|
+
type: "html";
|
|
268
268
|
css: string;
|
|
269
269
|
width?: number | undefined;
|
|
270
270
|
height?: number | undefined;
|
|
271
271
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center" | undefined;
|
|
272
272
|
}, {
|
|
273
|
-
type: "html";
|
|
274
273
|
html: string;
|
|
274
|
+
type: "html";
|
|
275
275
|
css: string;
|
|
276
276
|
width?: number | undefined;
|
|
277
277
|
height?: number | undefined;
|
|
@@ -333,15 +333,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
333
333
|
bottom?: number | undefined;
|
|
334
334
|
left?: number | undefined;
|
|
335
335
|
}>>;
|
|
336
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
336
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
337
|
+
from: zod.ZodNumber;
|
|
338
|
+
to: zod.ZodNumber;
|
|
337
339
|
start: zod.ZodNumber;
|
|
338
340
|
length: zod.ZodNumber;
|
|
339
341
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
340
342
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
341
|
-
}
|
|
343
|
+
}, {
|
|
342
344
|
from: zod.ZodNumber;
|
|
343
345
|
to: zod.ZodNumber;
|
|
344
|
-
}
|
|
346
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
345
347
|
length: number;
|
|
346
348
|
from: number;
|
|
347
349
|
to: number;
|
|
@@ -405,15 +407,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
405
407
|
type: zod.ZodLiteral<"audio">;
|
|
406
408
|
src: zod.ZodString;
|
|
407
409
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
408
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
410
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
411
|
+
from: zod.ZodNumber;
|
|
412
|
+
to: zod.ZodNumber;
|
|
409
413
|
start: zod.ZodNumber;
|
|
410
414
|
length: zod.ZodNumber;
|
|
411
415
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
412
416
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
413
|
-
}
|
|
417
|
+
}, {
|
|
414
418
|
from: zod.ZodNumber;
|
|
415
419
|
to: zod.ZodNumber;
|
|
416
|
-
}
|
|
420
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
417
421
|
length: number;
|
|
418
422
|
from: number;
|
|
419
423
|
to: number;
|
|
@@ -465,8 +469,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
465
469
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
466
470
|
}[] | undefined;
|
|
467
471
|
} | {
|
|
468
|
-
type: "html";
|
|
469
472
|
html: string;
|
|
473
|
+
type: "html";
|
|
470
474
|
css: string;
|
|
471
475
|
width?: number | undefined;
|
|
472
476
|
height?: number | undefined;
|
|
@@ -562,8 +566,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
562
566
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
563
567
|
}[] | undefined;
|
|
564
568
|
} | {
|
|
565
|
-
type: "html";
|
|
566
569
|
html: string;
|
|
570
|
+
type: "html";
|
|
567
571
|
css: string;
|
|
568
572
|
width?: number | undefined;
|
|
569
573
|
height?: number | undefined;
|
|
@@ -652,15 +656,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
652
656
|
position: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["topLeft", "top", "topRight", "left", "center", "right", "bottomLeft", "bottom", "bottomRight"]>>>;
|
|
653
657
|
fit: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["crop", "cover", "contain", "none"]>>>;
|
|
654
658
|
offset: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
655
|
-
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
659
|
+
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
660
|
+
from: zod.ZodNumber;
|
|
661
|
+
to: zod.ZodNumber;
|
|
656
662
|
start: zod.ZodNumber;
|
|
657
663
|
length: zod.ZodNumber;
|
|
658
664
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
659
665
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
660
|
-
}
|
|
666
|
+
}, {
|
|
661
667
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
662
668
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
663
|
-
}
|
|
669
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
664
670
|
length: number;
|
|
665
671
|
from: number;
|
|
666
672
|
to: number;
|
|
@@ -675,15 +681,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
675
681
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
676
682
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
677
683
|
}>, "many">, zod.ZodDefault<zod.ZodNumber>]>>;
|
|
678
|
-
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
684
|
+
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
685
|
+
from: zod.ZodNumber;
|
|
686
|
+
to: zod.ZodNumber;
|
|
679
687
|
start: zod.ZodNumber;
|
|
680
688
|
length: zod.ZodNumber;
|
|
681
689
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
682
690
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
683
|
-
}
|
|
691
|
+
}, {
|
|
684
692
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
685
693
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
686
|
-
}
|
|
694
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
687
695
|
length: number;
|
|
688
696
|
from: number;
|
|
689
697
|
to: number;
|
|
@@ -733,15 +741,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
733
741
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
734
742
|
}[] | undefined;
|
|
735
743
|
}>>>;
|
|
736
|
-
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
744
|
+
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
745
|
+
from: zod.ZodNumber;
|
|
746
|
+
to: zod.ZodNumber;
|
|
737
747
|
start: zod.ZodNumber;
|
|
738
748
|
length: zod.ZodNumber;
|
|
739
749
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
740
750
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
741
|
-
}
|
|
751
|
+
}, {
|
|
742
752
|
from: zod.ZodNumber;
|
|
743
753
|
to: zod.ZodNumber;
|
|
744
|
-
}
|
|
754
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
745
755
|
length: number;
|
|
746
756
|
from: number;
|
|
747
757
|
to: number;
|
|
@@ -756,15 +766,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
756
766
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
757
767
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
758
768
|
}>, "many">, zod.ZodNumber]>>>;
|
|
759
|
-
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
769
|
+
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
770
|
+
from: zod.ZodNumber;
|
|
771
|
+
to: zod.ZodNumber;
|
|
760
772
|
start: zod.ZodNumber;
|
|
761
773
|
length: zod.ZodNumber;
|
|
762
774
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
763
775
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
764
|
-
}
|
|
776
|
+
}, {
|
|
765
777
|
from: zod.ZodNumber;
|
|
766
778
|
to: zod.ZodNumber;
|
|
767
|
-
}
|
|
779
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
768
780
|
length: number;
|
|
769
781
|
from: number;
|
|
770
782
|
to: number;
|
|
@@ -781,15 +793,17 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
781
793
|
}>, "many">, zod.ZodNumber]>>>;
|
|
782
794
|
transform: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
783
795
|
rotate: zod.ZodDefault<zod.ZodObject<{
|
|
784
|
-
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
796
|
+
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
797
|
+
from: zod.ZodNumber;
|
|
798
|
+
to: zod.ZodNumber;
|
|
785
799
|
start: zod.ZodNumber;
|
|
786
800
|
length: zod.ZodNumber;
|
|
787
801
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
788
802
|
easing: zod.ZodOptional<zod.ZodEnum<["ease", "easeIn", "easeOut", "easeInOut", "easeInQuad", "easeInCubic", "easeInQuart", "easeInQuint", "easeInSine", "easeInExpo", "easeInCirc", "easeInBack", "easeOutQuad", "easeOutCubic", "easeOutQuart", "easeOutQuint", "easeOutSine", "easeOutExpo", "easeOutCirc", "easeOutBack", "easeInOutQuad", "easeInOutCubic", "easeInOutQuart", "easeInOutQuint", "easeInOutSine", "easeInOutExpo", "easeInOutCirc", "easeInOutBack"]>>;
|
|
789
|
-
}
|
|
803
|
+
}, {
|
|
790
804
|
from: zod.ZodNumber;
|
|
791
805
|
to: zod.ZodNumber;
|
|
792
|
-
}
|
|
806
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
793
807
|
length: number;
|
|
794
808
|
from: number;
|
|
795
809
|
to: number;
|
|
@@ -873,8 +887,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
873
887
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
874
888
|
}[] | undefined;
|
|
875
889
|
} | {
|
|
876
|
-
type: "html";
|
|
877
890
|
html: string;
|
|
891
|
+
type: "html";
|
|
878
892
|
css: string;
|
|
879
893
|
width?: number | undefined;
|
|
880
894
|
height?: number | undefined;
|
|
@@ -967,7 +981,7 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
967
981
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
968
982
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
969
983
|
}[] | undefined;
|
|
970
|
-
fit?: "
|
|
984
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
971
985
|
offset?: {
|
|
972
986
|
x: number | {
|
|
973
987
|
length: number;
|
|
@@ -1027,8 +1041,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
1027
1041
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1028
1042
|
}[] | undefined;
|
|
1029
1043
|
} | {
|
|
1030
|
-
type: "html";
|
|
1031
1044
|
html: string;
|
|
1045
|
+
type: "html";
|
|
1032
1046
|
css: string;
|
|
1033
1047
|
width?: number | undefined;
|
|
1034
1048
|
height?: number | undefined;
|
|
@@ -1121,7 +1135,7 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
1121
1135
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1122
1136
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1123
1137
|
}[] | undefined;
|
|
1124
|
-
fit?: "
|
|
1138
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1125
1139
|
offset?: {
|
|
1126
1140
|
x?: number | {
|
|
1127
1141
|
length: number;
|