@shotstack/shotstack-studio 1.0.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/LICENSE +164 -0
- package/dist/core/animations/curve-interpolator.d.ts +6 -0
- package/dist/core/animations/effect-preset-builder.d.ts +18 -0
- package/dist/core/animations/keyframe-builder.d.ts +12 -0
- package/dist/core/animations/transition-preset-builder.d.ts +20 -0
- package/dist/core/entities/audio-player.d.ts +17 -0
- package/dist/core/entities/edit.d.ts +46 -0
- package/dist/core/entities/entity.d.ts +5 -0
- package/dist/core/entities/html-player.d.ts +17 -0
- package/dist/core/entities/image-player.d.ts +15 -0
- package/dist/core/entities/inspector.d.ts +18 -0
- package/dist/core/entities/luma-player.d.ts +18 -0
- package/dist/core/entities/player.d.ts +73 -0
- package/dist/core/entities/shape-player.d.ts +15 -0
- package/dist/core/entities/text-player.d.ts +18 -0
- package/dist/core/entities/video-player.d.ts +22 -0
- package/dist/core/events/asset-load-tracker.d.ts +16 -0
- package/dist/core/events/event-emitter.d.ts +10 -0
- package/dist/core/export/video-exporter.d.ts +17 -0
- package/dist/core/inputs/controls.d.ts +11 -0
- package/dist/core/inputs/pointer.d.ts +4 -0
- package/dist/core/layouts/geometry.d.ts +8 -0
- package/dist/core/layouts/position-builder.d.ts +8 -0
- package/dist/core/loaders/asset-loader.d.ts +9 -0
- package/dist/core/loaders/audio-load-parser.d.ts +11 -0
- package/dist/core/loaders/font-load-parser.d.ts +13 -0
- package/dist/core/schemas/asset.d.ts +648 -0
- package/dist/core/schemas/audio-asset.d.ts +82 -0
- package/dist/core/schemas/clip.d.ts +1185 -0
- package/dist/core/schemas/edit.d.ts +4061 -0
- package/dist/core/schemas/html-asset.d.ts +27 -0
- package/dist/core/schemas/image-asset.d.ts +57 -0
- package/dist/core/schemas/keyframe.d.ts +26 -0
- package/dist/core/schemas/luma-asset.d.ts +13 -0
- package/dist/core/schemas/shape-asset.d.ts +199 -0
- package/dist/core/schemas/text-asset.d.ts +155 -0
- package/dist/core/schemas/track.d.ts +1491 -0
- package/dist/core/schemas/video-asset.d.ts +126 -0
- package/dist/core/shotstack-canvas.d.ts +24 -0
- package/dist/index.d.ts +4 -0
- package/dist/main.d.ts +1 -0
- package/dist/shotstack-studio.es.js +5546 -0
- package/dist/shotstack-studio.umd.js +183 -0
- package/package.json +56 -0
- package/readme.md +298 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as zod from "zod";
|
|
2
|
+
export declare const AudioAssetUrlSchema: zod.ZodString;
|
|
3
|
+
export declare const AudioAssetVolumeSchema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
4
|
+
from: zod.ZodNumber;
|
|
5
|
+
to: zod.ZodNumber;
|
|
6
|
+
start: zod.ZodNumber;
|
|
7
|
+
length: zod.ZodNumber;
|
|
8
|
+
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
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"]>>;
|
|
10
|
+
}, {
|
|
11
|
+
from: zod.ZodNumber;
|
|
12
|
+
to: zod.ZodNumber;
|
|
13
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
14
|
+
length: number;
|
|
15
|
+
from: number;
|
|
16
|
+
to: number;
|
|
17
|
+
start: number;
|
|
18
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
20
|
+
}, {
|
|
21
|
+
length: number;
|
|
22
|
+
from: number;
|
|
23
|
+
to: number;
|
|
24
|
+
start: number;
|
|
25
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
27
|
+
}>, "many">, zod.ZodNumber]>;
|
|
28
|
+
export declare const AudioAssetSchema: zod.ZodObject<{
|
|
29
|
+
type: zod.ZodLiteral<"audio">;
|
|
30
|
+
src: zod.ZodString;
|
|
31
|
+
trim: zod.ZodOptional<zod.ZodNumber>;
|
|
32
|
+
volume: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<zod.objectUtil.extendShape<{
|
|
33
|
+
from: zod.ZodNumber;
|
|
34
|
+
to: zod.ZodNumber;
|
|
35
|
+
start: zod.ZodNumber;
|
|
36
|
+
length: zod.ZodNumber;
|
|
37
|
+
interpolation: zod.ZodOptional<zod.ZodEnum<["linear", "bezier", "constant"]>>;
|
|
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"]>>;
|
|
39
|
+
}, {
|
|
40
|
+
from: zod.ZodNumber;
|
|
41
|
+
to: zod.ZodNumber;
|
|
42
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
43
|
+
length: number;
|
|
44
|
+
from: number;
|
|
45
|
+
to: number;
|
|
46
|
+
start: number;
|
|
47
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
49
|
+
}, {
|
|
50
|
+
length: number;
|
|
51
|
+
from: number;
|
|
52
|
+
to: number;
|
|
53
|
+
start: number;
|
|
54
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
56
|
+
}>, "many">, zod.ZodNumber]>>;
|
|
57
|
+
}, "strip", zod.ZodTypeAny, {
|
|
58
|
+
src: string;
|
|
59
|
+
type: "audio";
|
|
60
|
+
trim?: number | undefined;
|
|
61
|
+
volume?: number | {
|
|
62
|
+
length: number;
|
|
63
|
+
from: number;
|
|
64
|
+
to: number;
|
|
65
|
+
start: number;
|
|
66
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
src: string;
|
|
71
|
+
type: "audio";
|
|
72
|
+
trim?: number | undefined;
|
|
73
|
+
volume?: number | {
|
|
74
|
+
length: number;
|
|
75
|
+
from: number;
|
|
76
|
+
to: number;
|
|
77
|
+
start: number;
|
|
78
|
+
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
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;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
export type AudioAsset = zod.infer<typeof AudioAssetSchema>;
|