@shotstack/shotstack-studio 1.3.0 → 1.4.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/shotstack-studio.es.js +4912 -4754
- package/dist/shotstack-studio.umd.js +7 -7
- package/dist/src/components/canvas/index.d.ts +14 -0
- package/dist/{core/entities → src/components/canvas}/players/audio-player.d.ts +4 -4
- package/dist/{core/entities → src/components/canvas}/players/html-player.d.ts +4 -4
- package/dist/{core/entities → src/components/canvas}/players/image-player.d.ts +4 -4
- package/dist/{core/entities → src/components/canvas}/players/luma-player.d.ts +4 -4
- package/dist/{core/entities/base → src/components/canvas/players}/player.d.ts +5 -4
- package/dist/{core/entities → src/components/canvas}/players/shape-player.d.ts +4 -4
- package/dist/{core/entities → src/components/canvas}/players/text-player.d.ts +1 -1
- package/dist/{core/entities → src/components/canvas}/players/video-player.d.ts +4 -4
- package/dist/{core → src/components/canvas}/shotstack-canvas.d.ts +2 -2
- package/dist/{core/entities → src/components/canvas}/system/inspector.d.ts +1 -1
- package/dist/{core/entities → src/components/canvas}/text/text-editor.d.ts +1 -1
- package/dist/src/core/commands/add-clip-command.d.ts +14 -0
- package/dist/src/core/commands/add-track-command.d.ts +8 -0
- package/dist/src/core/commands/delete-clip-command.d.ts +10 -0
- package/dist/src/core/commands/delete-track-command.d.ts +9 -0
- package/dist/src/core/commands/set-updated-clip-command.d.ts +17 -0
- package/dist/src/core/commands/types.d.ts +25 -0
- package/dist/src/core/commands/update-text-content-command.d.ts +16 -0
- package/dist/{core/entities/system → src/core}/edit.d.ts +13 -7
- package/dist/{core → src/core}/export/video-exporter.d.ts +2 -2
- package/dist/{core → src/core}/inputs/controls.d.ts +1 -1
- package/dist/{core → src/core}/schemas/asset.d.ts +42 -38
- package/dist/{core → src/core}/schemas/audio-asset.d.ts +18 -14
- package/dist/{core → src/core}/schemas/clip.d.ts +113 -99
- package/dist/{core → src/core}/schemas/edit.d.ts +372 -344
- package/dist/{core → src/core}/schemas/track.d.ts +141 -127
- package/dist/{core → src/core}/schemas/video-asset.d.ts +18 -14
- package/dist/src/index.d.ts +4 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +10 -0
- package/dist/core/entities/index.d.ts +0 -14
- package/dist/index.d.ts +0 -4
- package/dist/{core/entities → src/components/canvas}/text/text-cursor.d.ts +0 -0
- package/dist/{core/entities → src/components/canvas}/text/text-input-handler.d.ts +0 -0
- package/dist/{core → src/core}/animations/curve-interpolator.d.ts +0 -0
- package/dist/{core → src/core}/animations/effect-preset-builder.d.ts +0 -0
- package/dist/{core → src/core}/animations/keyframe-builder.d.ts +0 -0
- package/dist/{core → src/core}/animations/transition-preset-builder.d.ts +0 -0
- package/dist/{core → src/core}/events/asset-load-tracker.d.ts +0 -0
- package/dist/{core → src/core}/events/event-emitter.d.ts +0 -0
- package/dist/{core → src/core}/inputs/pointer.d.ts +0 -0
- package/dist/{core → src/core}/layouts/geometry.d.ts +0 -0
- package/dist/{core → src/core}/layouts/position-builder.d.ts +0 -0
- package/dist/{core → src/core}/loaders/asset-loader.d.ts +0 -0
- package/dist/{core → src/core}/loaders/audio-load-parser.d.ts +0 -0
- package/dist/{core → src/core}/loaders/font-load-parser.d.ts +0 -0
- package/dist/{core → src/core}/schemas/html-asset.d.ts +2 -2
- package/dist/{core → src/core}/schemas/image-asset.d.ts +2 -2
- package/dist/{core → src/core}/schemas/keyframe.d.ts +2 -2
- package/dist/{core → src/core}/schemas/luma-asset.d.ts +2 -2
- /package/dist/{core → src/core}/schemas/shape-asset.d.ts +0 -0
- /package/dist/{core → src/core}/schemas/text-asset.d.ts +0 -0
- /package/dist/{core/entities/base → src/core/shared}/entity.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -1,25 +1,27 @@
|
|
|
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
|
-
}
|
|
12
|
-
length: number;
|
|
13
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
13
14
|
from: number;
|
|
14
15
|
to: number;
|
|
15
16
|
start: number;
|
|
17
|
+
length: number;
|
|
16
18
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
17
19
|
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;
|
|
18
20
|
}, {
|
|
19
|
-
length: number;
|
|
20
21
|
from: number;
|
|
21
22
|
to: number;
|
|
22
23
|
start: number;
|
|
24
|
+
length: number;
|
|
23
25
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
24
26
|
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;
|
|
25
27
|
}>, "many">, zod.ZodNumber]>;
|
|
@@ -27,50 +29,52 @@ 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
|
-
}
|
|
39
|
-
length: number;
|
|
42
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
40
43
|
from: number;
|
|
41
44
|
to: number;
|
|
42
45
|
start: number;
|
|
46
|
+
length: number;
|
|
43
47
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
44
48
|
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;
|
|
45
49
|
}, {
|
|
46
|
-
length: number;
|
|
47
50
|
from: number;
|
|
48
51
|
to: number;
|
|
49
52
|
start: number;
|
|
53
|
+
length: number;
|
|
50
54
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
51
55
|
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;
|
|
52
56
|
}>, "many">, zod.ZodNumber]>>;
|
|
53
57
|
}, "strip", zod.ZodTypeAny, {
|
|
54
|
-
src: string;
|
|
55
58
|
type: "audio";
|
|
59
|
+
src: string;
|
|
56
60
|
trim?: number | undefined;
|
|
57
61
|
volume?: number | {
|
|
58
|
-
length: number;
|
|
59
62
|
from: number;
|
|
60
63
|
to: number;
|
|
61
64
|
start: number;
|
|
65
|
+
length: number;
|
|
62
66
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
63
67
|
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;
|
|
64
68
|
}[] | undefined;
|
|
65
69
|
}, {
|
|
66
|
-
src: string;
|
|
67
70
|
type: "audio";
|
|
71
|
+
src: string;
|
|
68
72
|
trim?: number | undefined;
|
|
69
73
|
volume?: number | {
|
|
70
|
-
length: number;
|
|
71
74
|
from: number;
|
|
72
75
|
to: number;
|
|
73
76
|
start: number;
|
|
77
|
+
length: number;
|
|
74
78
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
75
79
|
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;
|
|
76
80
|
}[] | undefined;
|