@rendley/sdk 1.0.6 → 1.1.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.
@@ -8,86 +8,7 @@ export declare const TimelineSchema: z.ZodObject<{
8
8
  id: z.ZodString;
9
9
  isEnabled: z.ZodBoolean;
10
10
  isMuted: z.ZodBoolean;
11
- clips: z.ZodArray<z.ZodObject<{
12
- id: z.ZodString;
13
- type: z.ZodString;
14
- mediaDataId: z.ZodOptional<z.ZodString>;
15
- subtitlesId: z.ZodOptional<z.ZodString>;
16
- subtitlesOffset: z.ZodNumber;
17
- startTime: z.ZodNumber;
18
- duration: z.ZodNumber;
19
- leftTrim: z.ZodNumber;
20
- rightTrim: z.ZodNumber;
21
- filters: z.ZodArray<z.ZodObject<{
22
- id: z.ZodString;
23
- sourceId: z.ZodString;
24
- options: z.ZodObject<{
25
- lutUrl: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
27
- lutUrl: string;
28
- }, {
29
- lutUrl: string;
30
- }>;
31
- }, "strip", z.ZodTypeAny, {
32
- options: {
33
- lutUrl: string;
34
- };
35
- id: string;
36
- sourceId: string;
37
- }, {
38
- options: {
39
- lutUrl: string;
40
- };
41
- id: string;
42
- sourceId: string;
43
- }>, "many">;
44
- effects: z.ZodArray<z.ZodUnknown, "many">;
45
- warpMode: z.ZodNativeEnum<typeof import('../../types').WarpModeEnum>;
46
- style: z.ZodUnknown;
47
- text: z.ZodOptional<z.ZodString>;
48
- }, "strip", z.ZodTypeAny, {
49
- type: string;
50
- id: string;
51
- duration: number;
52
- filters: {
53
- options: {
54
- lutUrl: string;
55
- };
56
- id: string;
57
- sourceId: string;
58
- }[];
59
- effects: unknown[];
60
- subtitlesOffset: number;
61
- startTime: number;
62
- leftTrim: number;
63
- rightTrim: number;
64
- warpMode: import('../../types').WarpModeEnum;
65
- mediaDataId?: string | undefined;
66
- subtitlesId?: string | undefined;
67
- style?: unknown;
68
- text?: string | undefined;
69
- }, {
70
- type: string;
71
- id: string;
72
- duration: number;
73
- filters: {
74
- options: {
75
- lutUrl: string;
76
- };
77
- id: string;
78
- sourceId: string;
79
- }[];
80
- effects: unknown[];
81
- subtitlesOffset: number;
82
- startTime: number;
83
- leftTrim: number;
84
- rightTrim: number;
85
- warpMode: import('../../types').WarpModeEnum;
86
- mediaDataId?: string | undefined;
87
- subtitlesId?: string | undefined;
88
- style?: unknown;
89
- text?: string | undefined;
90
- }>, "many">;
11
+ clips: z.ZodArray<z.ZodAny, "many">;
91
12
  transitions: z.ZodArray<z.ZodObject<{
92
13
  id: z.ZodString;
93
14
  name: z.ZodString;
@@ -120,28 +41,7 @@ export declare const TimelineSchema: z.ZodObject<{
120
41
  id: string;
121
42
  isEnabled: boolean;
122
43
  isMuted: boolean;
123
- clips: {
124
- type: string;
125
- id: string;
126
- duration: number;
127
- filters: {
128
- options: {
129
- lutUrl: string;
130
- };
131
- id: string;
132
- sourceId: string;
133
- }[];
134
- effects: unknown[];
135
- subtitlesOffset: number;
136
- startTime: number;
137
- leftTrim: number;
138
- rightTrim: number;
139
- warpMode: import('../../types').WarpModeEnum;
140
- mediaDataId?: string | undefined;
141
- subtitlesId?: string | undefined;
142
- style?: unknown;
143
- text?: string | undefined;
144
- }[];
44
+ clips: any[];
145
45
  transitions: {
146
46
  name: string;
147
47
  type: "transition";
@@ -156,28 +56,7 @@ export declare const TimelineSchema: z.ZodObject<{
156
56
  id: string;
157
57
  isEnabled: boolean;
158
58
  isMuted: boolean;
159
- clips: {
160
- type: string;
161
- id: string;
162
- duration: number;
163
- filters: {
164
- options: {
165
- lutUrl: string;
166
- };
167
- id: string;
168
- sourceId: string;
169
- }[];
170
- effects: unknown[];
171
- subtitlesOffset: number;
172
- startTime: number;
173
- leftTrim: number;
174
- rightTrim: number;
175
- warpMode: import('../../types').WarpModeEnum;
176
- mediaDataId?: string | undefined;
177
- subtitlesId?: string | undefined;
178
- style?: unknown;
179
- text?: string | undefined;
180
- }[];
59
+ clips: any[];
181
60
  transitions: {
182
61
  name: string;
183
62
  type: "transition";
@@ -196,28 +75,7 @@ export declare const TimelineSchema: z.ZodObject<{
196
75
  id: string;
197
76
  isEnabled: boolean;
198
77
  isMuted: boolean;
199
- clips: {
200
- type: string;
201
- id: string;
202
- duration: number;
203
- filters: {
204
- options: {
205
- lutUrl: string;
206
- };
207
- id: string;
208
- sourceId: string;
209
- }[];
210
- effects: unknown[];
211
- subtitlesOffset: number;
212
- startTime: number;
213
- leftTrim: number;
214
- rightTrim: number;
215
- warpMode: import('../../types').WarpModeEnum;
216
- mediaDataId?: string | undefined;
217
- subtitlesId?: string | undefined;
218
- style?: unknown;
219
- text?: string | undefined;
220
- }[];
78
+ clips: any[];
221
79
  transitions: {
222
80
  name: string;
223
81
  type: "transition";
@@ -236,28 +94,7 @@ export declare const TimelineSchema: z.ZodObject<{
236
94
  id: string;
237
95
  isEnabled: boolean;
238
96
  isMuted: boolean;
239
- clips: {
240
- type: string;
241
- id: string;
242
- duration: number;
243
- filters: {
244
- options: {
245
- lutUrl: string;
246
- };
247
- id: string;
248
- sourceId: string;
249
- }[];
250
- effects: unknown[];
251
- subtitlesOffset: number;
252
- startTime: number;
253
- leftTrim: number;
254
- rightTrim: number;
255
- warpMode: import('../../types').WarpModeEnum;
256
- mediaDataId?: string | undefined;
257
- subtitlesId?: string | undefined;
258
- style?: unknown;
259
- text?: string | undefined;
260
- }[];
97
+ clips: any[];
261
98
  transitions: {
262
99
  name: string;
263
100
  type: "transition";
@@ -278,6 +115,7 @@ export declare class Timeline {
278
115
  currentTime: number;
279
116
  isPlaying: boolean;
280
117
  private justStartedPlaying;
118
+ private isDestroyed;
281
119
  constructor();
282
120
  init(): void;
283
121
  destroy(): void;
@@ -313,28 +151,7 @@ export declare class Timeline {
313
151
  id: string;
314
152
  isEnabled: boolean;
315
153
  isMuted: boolean;
316
- clips: {
317
- type: string;
318
- id: string;
319
- duration: number;
320
- filters: {
321
- options: {
322
- lutUrl: string;
323
- };
324
- id: string;
325
- sourceId: string;
326
- }[];
327
- effects: unknown[];
328
- subtitlesOffset: number;
329
- startTime: number;
330
- leftTrim: number;
331
- rightTrim: number;
332
- warpMode: import('../../types').WarpModeEnum;
333
- mediaDataId?: string | undefined;
334
- subtitlesId?: string | undefined;
335
- style?: unknown;
336
- text?: string | undefined;
337
- }[];
154
+ clips: any[];
338
155
  transitions: {
339
156
  name: string;
340
157
  type: "transition";
@@ -8,6 +8,7 @@ export declare enum ClipTypeEnum {
8
8
  SHAPE = "shape",
9
9
  LOTTIE = "lottie",
10
10
  SUBTITLES = "subtitles",
11
+ CUSTOM = "custom",
11
12
  AV = "av",
12
13
  COLOR = "color",
13
14
  GRADIENT = "gradient"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendley.com",