@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
|
@@ -1,9 +1,16 @@
|
|
|
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 loadVideoTexture;
|
|
8
15
|
private updateAssetLoadMetadata;
|
|
9
16
|
}
|
|
@@ -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,17 +327,15 @@ 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<
|
|
331
|
-
from: zod.ZodNumber;
|
|
332
|
-
to: zod.ZodNumber;
|
|
330
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
333
331
|
start: zod.ZodNumber;
|
|
334
332
|
length: zod.ZodNumber;
|
|
335
333
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
336
334
|
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"]>>;
|
|
337
|
-
}
|
|
335
|
+
} & {
|
|
338
336
|
from: zod.ZodNumber;
|
|
339
337
|
to: zod.ZodNumber;
|
|
340
|
-
}
|
|
338
|
+
}, "strip", zod.ZodTypeAny, {
|
|
341
339
|
length: number;
|
|
342
340
|
from: number;
|
|
343
341
|
to: number;
|
|
@@ -401,17 +399,15 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
401
399
|
type: zod.ZodLiteral<"audio">;
|
|
402
400
|
src: zod.ZodString;
|
|
403
401
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
404
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
405
|
-
from: zod.ZodNumber;
|
|
406
|
-
to: zod.ZodNumber;
|
|
402
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
407
403
|
start: zod.ZodNumber;
|
|
408
404
|
length: zod.ZodNumber;
|
|
409
405
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
410
406
|
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"]>>;
|
|
411
|
-
}
|
|
407
|
+
} & {
|
|
412
408
|
from: zod.ZodNumber;
|
|
413
409
|
to: zod.ZodNumber;
|
|
414
|
-
}
|
|
410
|
+
}, "strip", zod.ZodTypeAny, {
|
|
415
411
|
length: number;
|
|
416
412
|
from: number;
|
|
417
413
|
to: number;
|
|
@@ -463,8 +459,8 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
463
459
|
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;
|
|
464
460
|
}[] | undefined;
|
|
465
461
|
} | {
|
|
466
|
-
type: "html";
|
|
467
462
|
html: string;
|
|
463
|
+
type: "html";
|
|
468
464
|
css: string;
|
|
469
465
|
width?: number | undefined;
|
|
470
466
|
height?: number | undefined;
|
|
@@ -560,8 +556,8 @@ export declare const AssetSchema: zod.ZodEffects<zod.ZodUnion<[zod.ZodObject<{
|
|
|
560
556
|
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;
|
|
561
557
|
}[] | undefined;
|
|
562
558
|
} | {
|
|
563
|
-
type: "html";
|
|
564
559
|
html: string;
|
|
560
|
+
type: "html";
|
|
565
561
|
css: string;
|
|
566
562
|
width?: number | undefined;
|
|
567
563
|
height?: number | undefined;
|
|
@@ -1,16 +1,14 @@
|
|
|
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<
|
|
4
|
-
from: zod.ZodNumber;
|
|
5
|
-
to: zod.ZodNumber;
|
|
3
|
+
export declare const AudioAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
6
4
|
start: zod.ZodNumber;
|
|
7
5
|
length: zod.ZodNumber;
|
|
8
6
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
9
7
|
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"]>>;
|
|
10
|
-
}
|
|
8
|
+
} & {
|
|
11
9
|
from: zod.ZodNumber;
|
|
12
10
|
to: zod.ZodNumber;
|
|
13
|
-
}
|
|
11
|
+
}, "strip", zod.ZodTypeAny, {
|
|
14
12
|
length: number;
|
|
15
13
|
from: number;
|
|
16
14
|
to: number;
|
|
@@ -29,17 +27,15 @@ export declare const AudioAssetSchema: zod.ZodObject<{
|
|
|
29
27
|
type: zod.ZodLiteral<"audio">;
|
|
30
28
|
src: zod.ZodString;
|
|
31
29
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
32
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
33
|
-
from: zod.ZodNumber;
|
|
34
|
-
to: zod.ZodNumber;
|
|
30
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
35
31
|
start: zod.ZodNumber;
|
|
36
32
|
length: zod.ZodNumber;
|
|
37
33
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
38
34
|
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"]>>;
|
|
39
|
-
}
|
|
35
|
+
} & {
|
|
40
36
|
from: zod.ZodNumber;
|
|
41
37
|
to: zod.ZodNumber;
|
|
42
|
-
}
|
|
38
|
+
}, "strip", zod.ZodTypeAny, {
|
|
43
39
|
length: number;
|
|
44
40
|
from: number;
|
|
45
41
|
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,17 +333,15 @@ 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<
|
|
337
|
-
from: zod.ZodNumber;
|
|
338
|
-
to: zod.ZodNumber;
|
|
336
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
339
337
|
start: zod.ZodNumber;
|
|
340
338
|
length: zod.ZodNumber;
|
|
341
339
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
342
340
|
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"]>>;
|
|
343
|
-
}
|
|
341
|
+
} & {
|
|
344
342
|
from: zod.ZodNumber;
|
|
345
343
|
to: zod.ZodNumber;
|
|
346
|
-
}
|
|
344
|
+
}, "strip", zod.ZodTypeAny, {
|
|
347
345
|
length: number;
|
|
348
346
|
from: number;
|
|
349
347
|
to: number;
|
|
@@ -407,17 +405,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
407
405
|
type: zod.ZodLiteral<"audio">;
|
|
408
406
|
src: zod.ZodString;
|
|
409
407
|
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
410
|
-
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
411
|
-
from: zod.ZodNumber;
|
|
412
|
-
to: zod.ZodNumber;
|
|
408
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
413
409
|
start: zod.ZodNumber;
|
|
414
410
|
length: zod.ZodNumber;
|
|
415
411
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
416
412
|
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"]>>;
|
|
417
|
-
}
|
|
413
|
+
} & {
|
|
418
414
|
from: zod.ZodNumber;
|
|
419
415
|
to: zod.ZodNumber;
|
|
420
|
-
}
|
|
416
|
+
}, "strip", zod.ZodTypeAny, {
|
|
421
417
|
length: number;
|
|
422
418
|
from: number;
|
|
423
419
|
to: number;
|
|
@@ -469,8 +465,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
469
465
|
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;
|
|
470
466
|
}[] | undefined;
|
|
471
467
|
} | {
|
|
472
|
-
type: "html";
|
|
473
468
|
html: string;
|
|
469
|
+
type: "html";
|
|
474
470
|
css: string;
|
|
475
471
|
width?: number | undefined;
|
|
476
472
|
height?: number | undefined;
|
|
@@ -566,8 +562,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
566
562
|
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;
|
|
567
563
|
}[] | undefined;
|
|
568
564
|
} | {
|
|
569
|
-
type: "html";
|
|
570
565
|
html: string;
|
|
566
|
+
type: "html";
|
|
571
567
|
css: string;
|
|
572
568
|
width?: number | undefined;
|
|
573
569
|
height?: number | undefined;
|
|
@@ -656,17 +652,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
656
652
|
position: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["topLeft", "top", "topRight", "left", "center", "right", "bottomLeft", "bottom", "bottomRight"]>>>;
|
|
657
653
|
fit: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["crop", "cover", "contain", "none"]>>>;
|
|
658
654
|
offset: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
659
|
-
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
660
|
-
from: zod.ZodNumber;
|
|
661
|
-
to: zod.ZodNumber;
|
|
655
|
+
x: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
662
656
|
start: zod.ZodNumber;
|
|
663
657
|
length: zod.ZodNumber;
|
|
664
658
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
665
659
|
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"]>>;
|
|
666
|
-
}
|
|
660
|
+
} & {
|
|
667
661
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
668
662
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
669
|
-
}
|
|
663
|
+
}, "strip", zod.ZodTypeAny, {
|
|
670
664
|
length: number;
|
|
671
665
|
from: number;
|
|
672
666
|
to: number;
|
|
@@ -681,17 +675,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
681
675
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
682
676
|
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;
|
|
683
677
|
}>, "many">, zod.ZodDefault<zod.ZodNumber>]>>;
|
|
684
|
-
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
685
|
-
from: zod.ZodNumber;
|
|
686
|
-
to: zod.ZodNumber;
|
|
678
|
+
y: zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
687
679
|
start: zod.ZodNumber;
|
|
688
680
|
length: zod.ZodNumber;
|
|
689
681
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
690
682
|
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"]>>;
|
|
691
|
-
}
|
|
683
|
+
} & {
|
|
692
684
|
from: zod.ZodDefault<zod.ZodNumber>;
|
|
693
685
|
to: zod.ZodDefault<zod.ZodNumber>;
|
|
694
|
-
}
|
|
686
|
+
}, "strip", zod.ZodTypeAny, {
|
|
695
687
|
length: number;
|
|
696
688
|
from: number;
|
|
697
689
|
to: number;
|
|
@@ -741,17 +733,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
741
733
|
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;
|
|
742
734
|
}[] | undefined;
|
|
743
735
|
}>>>;
|
|
744
|
-
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
745
|
-
from: zod.ZodNumber;
|
|
746
|
-
to: zod.ZodNumber;
|
|
736
|
+
opacity: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
747
737
|
start: zod.ZodNumber;
|
|
748
738
|
length: zod.ZodNumber;
|
|
749
739
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
750
740
|
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"]>>;
|
|
751
|
-
}
|
|
741
|
+
} & {
|
|
752
742
|
from: zod.ZodNumber;
|
|
753
743
|
to: zod.ZodNumber;
|
|
754
|
-
}
|
|
744
|
+
}, "strip", zod.ZodTypeAny, {
|
|
755
745
|
length: number;
|
|
756
746
|
from: number;
|
|
757
747
|
to: number;
|
|
@@ -766,17 +756,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
766
756
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
767
757
|
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;
|
|
768
758
|
}>, "many">, zod.ZodNumber]>>>;
|
|
769
|
-
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
770
|
-
from: zod.ZodNumber;
|
|
771
|
-
to: zod.ZodNumber;
|
|
759
|
+
scale: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
772
760
|
start: zod.ZodNumber;
|
|
773
761
|
length: zod.ZodNumber;
|
|
774
762
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
775
763
|
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"]>>;
|
|
776
|
-
}
|
|
764
|
+
} & {
|
|
777
765
|
from: zod.ZodNumber;
|
|
778
766
|
to: zod.ZodNumber;
|
|
779
|
-
}
|
|
767
|
+
}, "strip", zod.ZodTypeAny, {
|
|
780
768
|
length: number;
|
|
781
769
|
from: number;
|
|
782
770
|
to: number;
|
|
@@ -793,17 +781,15 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
793
781
|
}>, "many">, zod.ZodNumber]>>>;
|
|
794
782
|
transform: zod.ZodOptional<zod.ZodDefault<zod.ZodObject<{
|
|
795
783
|
rotate: zod.ZodDefault<zod.ZodObject<{
|
|
796
|
-
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<
|
|
797
|
-
from: zod.ZodNumber;
|
|
798
|
-
to: zod.ZodNumber;
|
|
784
|
+
angle: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
799
785
|
start: zod.ZodNumber;
|
|
800
786
|
length: zod.ZodNumber;
|
|
801
787
|
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
802
788
|
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"]>>;
|
|
803
|
-
}
|
|
789
|
+
} & {
|
|
804
790
|
from: zod.ZodNumber;
|
|
805
791
|
to: zod.ZodNumber;
|
|
806
|
-
}
|
|
792
|
+
}, "strip", zod.ZodTypeAny, {
|
|
807
793
|
length: number;
|
|
808
794
|
from: number;
|
|
809
795
|
to: number;
|
|
@@ -887,8 +873,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
887
873
|
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;
|
|
888
874
|
}[] | undefined;
|
|
889
875
|
} | {
|
|
890
|
-
type: "html";
|
|
891
876
|
html: string;
|
|
877
|
+
type: "html";
|
|
892
878
|
css: string;
|
|
893
879
|
width?: number | undefined;
|
|
894
880
|
height?: number | undefined;
|
|
@@ -981,7 +967,7 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
981
967
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
982
968
|
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;
|
|
983
969
|
}[] | undefined;
|
|
984
|
-
fit?: "
|
|
970
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
985
971
|
offset?: {
|
|
986
972
|
x: number | {
|
|
987
973
|
length: number;
|
|
@@ -1041,8 +1027,8 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
1041
1027
|
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;
|
|
1042
1028
|
}[] | undefined;
|
|
1043
1029
|
} | {
|
|
1044
|
-
type: "html";
|
|
1045
1030
|
html: string;
|
|
1031
|
+
type: "html";
|
|
1046
1032
|
css: string;
|
|
1047
1033
|
width?: number | undefined;
|
|
1048
1034
|
height?: number | undefined;
|
|
@@ -1135,7 +1121,7 @@ export declare const ClipSchema: zod.ZodObject<{
|
|
|
1135
1121
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1136
1122
|
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;
|
|
1137
1123
|
}[] | undefined;
|
|
1138
|
-
fit?: "
|
|
1124
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1139
1125
|
offset?: {
|
|
1140
1126
|
x?: number | {
|
|
1141
1127
|
length: number;
|