@shotstack/shotstack-studio 1.1.2 → 1.2.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/core/loaders/asset-loader.d.ts +9 -2
- package/dist/core/schemas/asset.d.ts +10 -14
- package/dist/core/schemas/audio-asset.d.ts +6 -10
- package/dist/core/schemas/clip.d.ts +29 -43
- package/dist/core/schemas/edit.d.ts +87 -115
- package/dist/core/schemas/html-asset.d.ts +2 -2
- package/dist/core/schemas/track.d.ts +33 -47
- package/dist/core/schemas/video-asset.d.ts +6 -10
- package/dist/core/shotstack-canvas.d.ts +1 -0
- package/dist/shotstack-studio.es.js +649 -547
- package/dist/shotstack-studio.umd.js +6 -6
- package/package.json +1 -1
- package/readme.md +2 -0
|
@@ -8,15 +8,15 @@ export declare const HtmlAssetSchema: zod.ZodObject<{
|
|
|
8
8
|
height: zod.ZodOptional<zod.ZodNumber>;
|
|
9
9
|
position: zod.ZodOptional<zod.ZodEnum<["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]>>;
|
|
10
10
|
}, "strip", zod.ZodTypeAny, {
|
|
11
|
-
type: "html";
|
|
12
11
|
html: string;
|
|
12
|
+
type: "html";
|
|
13
13
|
css: string;
|
|
14
14
|
width?: number | undefined;
|
|
15
15
|
height?: number | undefined;
|
|
16
16
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center" | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
type: "html";
|
|
19
18
|
html: string;
|
|
19
|
+
type: "html";
|
|
20
20
|
css: string;
|
|
21
21
|
width?: number | undefined;
|
|
22
22
|
height?: number | undefined;
|
|
@@ -259,15 +259,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
259
259
|
height: zod.ZodOptional<zod.ZodNumber>;
|
|
260
260
|
position: zod.ZodOptional<zod.ZodEnum<["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]>>;
|
|
261
261
|
}, "strip", zod.ZodTypeAny, {
|
|
262
|
-
type: "html";
|
|
263
262
|
html: string;
|
|
263
|
+
type: "html";
|
|
264
264
|
css: string;
|
|
265
265
|
width?: number | undefined;
|
|
266
266
|
height?: number | undefined;
|
|
267
267
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center" | undefined;
|
|
268
268
|
}, {
|
|
269
|
-
type: "html";
|
|
270
269
|
html: string;
|
|
270
|
+
type: "html";
|
|
271
271
|
css: string;
|
|
272
272
|
width?: number | undefined;
|
|
273
273
|
height?: number | undefined;
|
|
@@ -329,17 +329,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
329
329
|
bottom?: number | undefined;
|
|
330
330
|
left?: number | undefined;
|
|
331
331
|
}>>;
|
|
332
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
333
|
-
from: zod.ZodNumber;
|
|
334
|
-
to: zod.ZodNumber;
|
|
332
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
335
333
|
start: zod.ZodNumber;
|
|
336
334
|
length: zod.ZodNumber;
|
|
337
335
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
338
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"]>>;
|
|
339
|
-
}
|
|
337
|
+
} & {
|
|
340
338
|
from: zod.ZodNumber;
|
|
341
339
|
to: zod.ZodNumber;
|
|
342
|
-
}
|
|
340
|
+
}, "strip", zod.ZodTypeAny, {
|
|
343
341
|
length: number;
|
|
344
342
|
from: number;
|
|
345
343
|
to: number;
|
|
@@ -403,17 +401,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
403
401
|
type: zod.ZodLiteral<"audio">;
|
|
404
402
|
src: zod.ZodString;
|
|
405
403
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
406
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
407
|
-
from: zod.ZodNumber;
|
|
408
|
-
to: zod.ZodNumber;
|
|
404
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
409
405
|
start: zod.ZodNumber;
|
|
410
406
|
length: zod.ZodNumber;
|
|
411
407
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
412
408
|
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
|
-
}
|
|
409
|
+
} & {
|
|
414
410
|
from: zod.ZodNumber;
|
|
415
411
|
to: zod.ZodNumber;
|
|
416
|
-
}
|
|
412
|
+
}, "strip", zod.ZodTypeAny, {
|
|
417
413
|
length: number;
|
|
418
414
|
from: number;
|
|
419
415
|
to: number;
|
|
@@ -465,8 +461,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
465
461
|
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
462
|
}[] | undefined;
|
|
467
463
|
} | {
|
|
468
|
-
type: "html";
|
|
469
464
|
html: string;
|
|
465
|
+
type: "html";
|
|
470
466
|
css: string;
|
|
471
467
|
width?: number | undefined;
|
|
472
468
|
height?: number | undefined;
|
|
@@ -562,8 +558,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
562
558
|
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
559
|
}[] | undefined;
|
|
564
560
|
} | {
|
|
565
|
-
type: "html";
|
|
566
561
|
html: string;
|
|
562
|
+
type: "html";
|
|
567
563
|
css: string;
|
|
568
564
|
width?: number | undefined;
|
|
569
565
|
height?: number | undefined;
|
|
@@ -652,17 +648,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
652
648
|
position: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["topLeft", "top", "topRight", "left", "center", "right", "bottomLeft", "bottom", "bottomRight"]>>>;
|
|
653
649
|
fit: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["crop", "cover", "contain", "none"]>>>;
|
|
654
650
|
offset: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
655
|
-
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
656
|
-
from: zod.ZodNumber;
|
|
657
|
-
to: zod.ZodNumber;
|
|
651
|
+
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
658
652
|
start: zod.ZodNumber;
|
|
659
653
|
length: zod.ZodNumber;
|
|
660
654
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
661
655
|
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"]>>;
|
|
662
|
-
}
|
|
656
|
+
} & {
|
|
663
657
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
664
658
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
665
|
-
}
|
|
659
|
+
}, "strip", zod.ZodTypeAny, {
|
|
666
660
|
length: number;
|
|
667
661
|
from: number;
|
|
668
662
|
to: number;
|
|
@@ -677,17 +671,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
677
671
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
678
672
|
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;
|
|
679
673
|
}>, "many">, zod.ZodDefault<zod.ZodNumber>]>>;
|
|
680
|
-
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
681
|
-
from: zod.ZodNumber;
|
|
682
|
-
to: zod.ZodNumber;
|
|
674
|
+
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
683
675
|
start: zod.ZodNumber;
|
|
684
676
|
length: zod.ZodNumber;
|
|
685
677
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
686
678
|
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"]>>;
|
|
687
|
-
}
|
|
679
|
+
} & {
|
|
688
680
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
689
681
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
690
|
-
}
|
|
682
|
+
}, "strip", zod.ZodTypeAny, {
|
|
691
683
|
length: number;
|
|
692
684
|
from: number;
|
|
693
685
|
to: number;
|
|
@@ -737,17 +729,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
737
729
|
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;
|
|
738
730
|
}[] | undefined;
|
|
739
731
|
}>>>;
|
|
740
|
-
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
741
|
-
from: zod.ZodNumber;
|
|
742
|
-
to: zod.ZodNumber;
|
|
732
|
+
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
743
733
|
start: zod.ZodNumber;
|
|
744
734
|
length: zod.ZodNumber;
|
|
745
735
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
746
736
|
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"]>>;
|
|
747
|
-
}
|
|
737
|
+
} & {
|
|
748
738
|
from: zod.ZodNumber;
|
|
749
739
|
to: zod.ZodNumber;
|
|
750
|
-
}
|
|
740
|
+
}, "strip", zod.ZodTypeAny, {
|
|
751
741
|
length: number;
|
|
752
742
|
from: number;
|
|
753
743
|
to: number;
|
|
@@ -762,17 +752,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
762
752
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
763
753
|
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;
|
|
764
754
|
}>, "many">, zod.ZodNumber]>>>;
|
|
765
|
-
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
766
|
-
from: zod.ZodNumber;
|
|
767
|
-
to: zod.ZodNumber;
|
|
755
|
+
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
768
756
|
start: zod.ZodNumber;
|
|
769
757
|
length: zod.ZodNumber;
|
|
770
758
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
771
759
|
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"]>>;
|
|
772
|
-
}
|
|
760
|
+
} & {
|
|
773
761
|
from: zod.ZodNumber;
|
|
774
762
|
to: zod.ZodNumber;
|
|
775
|
-
}
|
|
763
|
+
}, "strip", zod.ZodTypeAny, {
|
|
776
764
|
length: number;
|
|
777
765
|
from: number;
|
|
778
766
|
to: number;
|
|
@@ -789,17 +777,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
789
777
|
}>, "many">, zod.ZodNumber]>>>;
|
|
790
778
|
transform: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
791
779
|
rotate: zod.ZodDefault<zod.ZodObject<{
|
|
792
|
-
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
793
|
-
from: zod.ZodNumber;
|
|
794
|
-
to: zod.ZodNumber;
|
|
780
|
+
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
795
781
|
start: zod.ZodNumber;
|
|
796
782
|
length: zod.ZodNumber;
|
|
797
783
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
798
784
|
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"]>>;
|
|
799
|
-
}
|
|
785
|
+
} & {
|
|
800
786
|
from: zod.ZodNumber;
|
|
801
787
|
to: zod.ZodNumber;
|
|
802
|
-
}
|
|
788
|
+
}, "strip", zod.ZodTypeAny, {
|
|
803
789
|
length: number;
|
|
804
790
|
from: number;
|
|
805
791
|
to: number;
|
|
@@ -883,8 +869,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
883
869
|
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;
|
|
884
870
|
}[] | undefined;
|
|
885
871
|
} | {
|
|
886
|
-
type: "html";
|
|
887
872
|
html: string;
|
|
873
|
+
type: "html";
|
|
888
874
|
css: string;
|
|
889
875
|
width?: number | undefined;
|
|
890
876
|
height?: number | undefined;
|
|
@@ -977,7 +963,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
977
963
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
978
964
|
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;
|
|
979
965
|
}[] | undefined;
|
|
980
|
-
fit?: "
|
|
966
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
981
967
|
offset?: {
|
|
982
968
|
x: number | {
|
|
983
969
|
length: number;
|
|
@@ -1037,8 +1023,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1037
1023
|
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;
|
|
1038
1024
|
}[] | undefined;
|
|
1039
1025
|
} | {
|
|
1040
|
-
type: "html";
|
|
1041
1026
|
html: string;
|
|
1027
|
+
type: "html";
|
|
1042
1028
|
css: string;
|
|
1043
1029
|
width?: number | undefined;
|
|
1044
1030
|
height?: number | undefined;
|
|
@@ -1131,7 +1117,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1131
1117
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1132
1118
|
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;
|
|
1133
1119
|
}[] | undefined;
|
|
1134
|
-
fit?: "
|
|
1120
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1135
1121
|
offset?: {
|
|
1136
1122
|
x?: number | {
|
|
1137
1123
|
length: number;
|
|
@@ -1193,8 +1179,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1193
1179
|
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;
|
|
1194
1180
|
}[] | undefined;
|
|
1195
1181
|
} | {
|
|
1196
|
-
type: "html";
|
|
1197
1182
|
html: string;
|
|
1183
|
+
type: "html";
|
|
1198
1184
|
css: string;
|
|
1199
1185
|
width?: number | undefined;
|
|
1200
1186
|
height?: number | undefined;
|
|
@@ -1287,7 +1273,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1287
1273
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1288
1274
|
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;
|
|
1289
1275
|
}[] | undefined;
|
|
1290
|
-
fit?: "
|
|
1276
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1291
1277
|
offset?: {
|
|
1292
1278
|
x: number | {
|
|
1293
1279
|
length: number;
|
|
@@ -1349,8 +1335,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1349
1335
|
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;
|
|
1350
1336
|
}[] | undefined;
|
|
1351
1337
|
} | {
|
|
1352
|
-
type: "html";
|
|
1353
1338
|
html: string;
|
|
1339
|
+
type: "html";
|
|
1354
1340
|
css: string;
|
|
1355
1341
|
width?: number | undefined;
|
|
1356
1342
|
height?: number | undefined;
|
|
@@ -1443,7 +1429,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1443
1429
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1444
1430
|
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;
|
|
1445
1431
|
}[] | undefined;
|
|
1446
|
-
fit?: "
|
|
1432
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1447
1433
|
offset?: {
|
|
1448
1434
|
x?: number | {
|
|
1449
1435
|
length: number;
|
|
@@ -16,17 +16,15 @@ export declare const VideoAssetCropSchema: zod.ZodObject<{
|
|
|
16
16
|
bottom?: number | undefined;
|
|
17
17
|
left?: number | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const VideoAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
20
|
-
from: zod.ZodNumber;
|
|
21
|
-
to: zod.ZodNumber;
|
|
19
|
+
export declare const VideoAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
22
20
|
start: zod.ZodNumber;
|
|
23
21
|
length: zod.ZodNumber;
|
|
24
22
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
25
23
|
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"]>>;
|
|
26
|
-
}
|
|
24
|
+
} & {
|
|
27
25
|
from: zod.ZodNumber;
|
|
28
26
|
to: zod.ZodNumber;
|
|
29
|
-
}
|
|
27
|
+
}, "strip", zod.ZodTypeAny, {
|
|
30
28
|
length: number;
|
|
31
29
|
from: number;
|
|
32
30
|
to: number;
|
|
@@ -61,17 +59,15 @@ export declare const VideoAssetSchema: zod.ZodObject<{
|
|
|
61
59
|
bottom?: number | undefined;
|
|
62
60
|
left?: number | undefined;
|
|
63
61
|
}>>;
|
|
64
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
65
|
-
from: zod.ZodNumber;
|
|
66
|
-
to: zod.ZodNumber;
|
|
62
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
67
63
|
start: zod.ZodNumber;
|
|
68
64
|
length: zod.ZodNumber;
|
|
69
65
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
70
66
|
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"]>>;
|
|
71
|
-
}
|
|
67
|
+
} & {
|
|
72
68
|
from: zod.ZodNumber;
|
|
73
69
|
to: zod.ZodNumber;
|
|
74
|
-
}
|
|
70
|
+
}, "strip", zod.ZodTypeAny, {
|
|
75
71
|
length: number;
|
|
76
72
|
from: number;
|
|
77
73
|
to: number;
|