@rendley/sdk 1.11.3 → 1.11.4

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.
@@ -49,12 +49,12 @@ export declare const LibrarySchema: z.ZodObject<{
49
49
  duration: z.ZodNumber;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  text: string;
52
- time: number;
53
52
  duration: number;
53
+ time: number;
54
54
  }, {
55
55
  text: string;
56
- time: number;
57
56
  duration: number;
57
+ time: number;
58
58
  }>, "many">;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  id: string;
@@ -62,8 +62,8 @@ export declare const LibrarySchema: z.ZodObject<{
62
62
  language: string;
63
63
  textBlocks: {
64
64
  text: string;
65
- time: number;
66
65
  duration: number;
66
+ time: number;
67
67
  }[];
68
68
  }, {
69
69
  id: string;
@@ -71,8 +71,8 @@ export declare const LibrarySchema: z.ZodObject<{
71
71
  language: string;
72
72
  textBlocks: {
73
73
  text: string;
74
- time: number;
75
74
  duration: number;
75
+ time: number;
76
76
  }[];
77
77
  }>, "many">;
78
78
  effects: z.ZodArray<z.ZodObject<{
@@ -122,7 +122,6 @@ export declare const LibrarySchema: z.ZodObject<{
122
122
  name: string;
123
123
  id: string;
124
124
  provider: string;
125
- fragmentSrc: string;
126
125
  properties: {
127
126
  type: import('../../index').PropertyDescriptionTypeEnum;
128
127
  name: string;
@@ -130,6 +129,7 @@ export declare const LibrarySchema: z.ZodObject<{
130
129
  label?: string | undefined;
131
130
  description?: string | undefined;
132
131
  }[];
132
+ fragmentSrc: string;
133
133
  inputTextures?: {
134
134
  name: string;
135
135
  url: string;
@@ -141,7 +141,6 @@ export declare const LibrarySchema: z.ZodObject<{
141
141
  name: string;
142
142
  id: string;
143
143
  provider: string;
144
- fragmentSrc: string;
145
144
  properties: {
146
145
  type: import('../../index').PropertyDescriptionTypeEnum;
147
146
  name: string;
@@ -149,6 +148,7 @@ export declare const LibrarySchema: z.ZodObject<{
149
148
  label?: string | undefined;
150
149
  description?: string | undefined;
151
150
  }[];
151
+ fragmentSrc: string;
152
152
  inputTextures?: {
153
153
  name: string;
154
154
  url: string;
@@ -220,6 +220,7 @@ export declare const LibrarySchema: z.ZodObject<{
220
220
  name: string;
221
221
  id: string;
222
222
  provider: string;
223
+ transitionSrc: string;
223
224
  properties: {
224
225
  type: import('../../index').PropertyDescriptionTypeEnum;
225
226
  name: string;
@@ -227,7 +228,6 @@ export declare const LibrarySchema: z.ZodObject<{
227
228
  label?: string | undefined;
228
229
  description?: string | undefined;
229
230
  }[];
230
- transitionSrc: string;
231
231
  inputTextures?: {
232
232
  name: string;
233
233
  url: string;
@@ -239,6 +239,7 @@ export declare const LibrarySchema: z.ZodObject<{
239
239
  name: string;
240
240
  id: string;
241
241
  provider: string;
242
+ transitionSrc: string;
242
243
  properties: {
243
244
  type: import('../../index').PropertyDescriptionTypeEnum;
244
245
  name: string;
@@ -246,7 +247,6 @@ export declare const LibrarySchema: z.ZodObject<{
246
247
  label?: string | undefined;
247
248
  description?: string | undefined;
248
249
  }[];
249
- transitionSrc: string;
250
250
  inputTextures?: {
251
251
  name: string;
252
252
  url: string;
@@ -262,21 +262,15 @@ export declare const LibrarySchema: z.ZodObject<{
262
262
  language: string;
263
263
  textBlocks: {
264
264
  text: string;
265
- time: number;
266
265
  duration: number;
266
+ time: number;
267
267
  }[];
268
268
  }[];
269
- filters: {
270
- name: string;
271
- id: string;
272
- provider: string;
273
- lutUrl: string;
274
- }[];
275
- effects: {
269
+ transitions: {
276
270
  name: string;
277
271
  id: string;
278
272
  provider: string;
279
- fragmentSrc: string;
273
+ transitionSrc: string;
280
274
  properties: {
281
275
  type: import('../../index').PropertyDescriptionTypeEnum;
282
276
  name: string;
@@ -292,7 +286,13 @@ export declare const LibrarySchema: z.ZodObject<{
292
286
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
293
287
  }[] | undefined;
294
288
  }[];
295
- transitions: {
289
+ filters: {
290
+ name: string;
291
+ id: string;
292
+ provider: string;
293
+ lutUrl: string;
294
+ }[];
295
+ effects: {
296
296
  name: string;
297
297
  id: string;
298
298
  provider: string;
@@ -303,7 +303,7 @@ export declare const LibrarySchema: z.ZodObject<{
303
303
  label?: string | undefined;
304
304
  description?: string | undefined;
305
305
  }[];
306
- transitionSrc: string;
306
+ fragmentSrc: string;
307
307
  inputTextures?: {
308
308
  name: string;
309
309
  url: string;
@@ -328,21 +328,15 @@ export declare const LibrarySchema: z.ZodObject<{
328
328
  language: string;
329
329
  textBlocks: {
330
330
  text: string;
331
- time: number;
332
331
  duration: number;
332
+ time: number;
333
333
  }[];
334
334
  }[];
335
- filters: {
336
- name: string;
337
- id: string;
338
- provider: string;
339
- lutUrl: string;
340
- }[];
341
- effects: {
335
+ transitions: {
342
336
  name: string;
343
337
  id: string;
344
338
  provider: string;
345
- fragmentSrc: string;
339
+ transitionSrc: string;
346
340
  properties: {
347
341
  type: import('../../index').PropertyDescriptionTypeEnum;
348
342
  name: string;
@@ -358,7 +352,13 @@ export declare const LibrarySchema: z.ZodObject<{
358
352
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
359
353
  }[] | undefined;
360
354
  }[];
361
- transitions: {
355
+ filters: {
356
+ name: string;
357
+ id: string;
358
+ provider: string;
359
+ lutUrl: string;
360
+ }[];
361
+ effects: {
362
362
  name: string;
363
363
  id: string;
364
364
  provider: string;
@@ -369,7 +369,7 @@ export declare const LibrarySchema: z.ZodObject<{
369
369
  label?: string | undefined;
370
370
  description?: string | undefined;
371
371
  }[];
372
- transitionSrc: string;
372
+ fragmentSrc: string;
373
373
  inputTextures?: {
374
374
  name: string;
375
375
  url: string;
@@ -437,21 +437,15 @@ export declare class Library {
437
437
  language: string;
438
438
  textBlocks: {
439
439
  text: string;
440
- time: number;
441
440
  duration: number;
441
+ time: number;
442
442
  }[];
443
443
  }[];
444
- filters: {
445
- name: string;
446
- id: string;
447
- provider: string;
448
- lutUrl: string;
449
- }[];
450
- effects: {
444
+ transitions: {
451
445
  name: string;
452
446
  id: string;
453
447
  provider: string;
454
- fragmentSrc: string;
448
+ transitionSrc: string;
455
449
  properties: {
456
450
  type: import('../../index').PropertyDescriptionTypeEnum;
457
451
  name: string;
@@ -467,7 +461,13 @@ export declare class Library {
467
461
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
468
462
  }[] | undefined;
469
463
  }[];
470
- transitions: {
464
+ filters: {
465
+ name: string;
466
+ id: string;
467
+ provider: string;
468
+ lutUrl: string;
469
+ }[];
470
+ effects: {
471
471
  name: string;
472
472
  id: string;
473
473
  provider: string;
@@ -478,7 +478,7 @@ export declare class Library {
478
478
  label?: string | undefined;
479
479
  description?: string | undefined;
480
480
  }[];
481
- transitionSrc: string;
481
+ fragmentSrc: string;
482
482
  inputTextures?: {
483
483
  name: string;
484
484
  url: string;
@@ -5,12 +5,12 @@ export declare const TextBlockSchema: z.ZodObject<{
5
5
  duration: z.ZodNumber;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  text: string;
8
- time: number;
9
8
  duration: number;
9
+ time: number;
10
10
  }, {
11
11
  text: string;
12
- time: number;
13
12
  duration: number;
13
+ time: number;
14
14
  }>;
15
15
  export declare const SubtitlesSchema: z.ZodObject<{
16
16
  id: z.ZodString;
@@ -22,12 +22,12 @@ export declare const SubtitlesSchema: z.ZodObject<{
22
22
  duration: z.ZodNumber;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  text: string;
25
- time: number;
26
25
  duration: number;
26
+ time: number;
27
27
  }, {
28
28
  text: string;
29
- time: number;
30
29
  duration: number;
30
+ time: number;
31
31
  }>, "many">;
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  id: string;
@@ -35,8 +35,8 @@ export declare const SubtitlesSchema: z.ZodObject<{
35
35
  language: string;
36
36
  textBlocks: {
37
37
  text: string;
38
- time: number;
39
38
  duration: number;
39
+ time: number;
40
40
  }[];
41
41
  }, {
42
42
  id: string;
@@ -44,8 +44,8 @@ export declare const SubtitlesSchema: z.ZodObject<{
44
44
  language: string;
45
45
  textBlocks: {
46
46
  text: string;
47
- time: number;
48
47
  duration: number;
48
+ time: number;
49
49
  }[];
50
50
  }>;
51
51
  export interface TextBlock {
@@ -82,8 +82,8 @@ export declare class Subtitles {
82
82
  language: string;
83
83
  textBlocks: {
84
84
  text: string;
85
- time: number;
86
85
  duration: number;
86
+ time: number;
87
87
  }[];
88
88
  };
89
89
  static deserialize(data: object): Subtitles;
@@ -58,6 +58,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
58
58
  name: string;
59
59
  id: string;
60
60
  provider: string;
61
+ transitionSrc: string;
61
62
  properties: {
62
63
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
63
64
  name: string;
@@ -65,7 +66,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
65
66
  label?: string | undefined;
66
67
  description?: string | undefined;
67
68
  }[];
68
- transitionSrc: string;
69
69
  inputTextures?: {
70
70
  name: string;
71
71
  url: string;
@@ -77,6 +77,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
77
77
  name: string;
78
78
  id: string;
79
79
  provider: string;
80
+ transitionSrc: string;
80
81
  properties: {
81
82
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
82
83
  name: string;
@@ -84,7 +85,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
84
85
  label?: string | undefined;
85
86
  description?: string | undefined;
86
87
  }[];
87
- transitionSrc: string;
88
88
  inputTextures?: {
89
89
  name: string;
90
90
  url: string;
@@ -121,6 +121,7 @@ export declare class TransitionData {
121
121
  name: string;
122
122
  id: string;
123
123
  provider: string;
124
+ transitionSrc: string;
124
125
  properties: {
125
126
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
126
127
  name: string;
@@ -128,7 +129,6 @@ export declare class TransitionData {
128
129
  label?: string | undefined;
129
130
  description?: string | undefined;
130
131
  }[];
131
- transitionSrc: string;
132
132
  inputTextures?: {
133
133
  name: string;
134
134
  url: string;
@@ -23,7 +23,7 @@ declare const CommonTextStyleSchema: z.ZodObject<{
23
23
  color: string;
24
24
  strokeColor: string;
25
25
  fontSize: number;
26
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
26
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
27
27
  fontFamily: string;
28
28
  fontStyle: "normal" | "italic" | "oblique";
29
29
  backgroundColor: string;
@@ -34,7 +34,7 @@ declare const CommonTextStyleSchema: z.ZodObject<{
34
34
  }, {
35
35
  color?: string | undefined;
36
36
  fontSize?: number | undefined;
37
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
37
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
38
38
  fontFamily?: string | undefined;
39
39
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
40
40
  backgroundColor?: string | undefined;
@@ -63,7 +63,7 @@ declare const MainTextStyleSchema: z.ZodObject<{
63
63
  color: string;
64
64
  strokeColor: string;
65
65
  fontSize: number;
66
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
66
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
67
67
  fontFamily: string;
68
68
  fontStyle: "normal" | "italic" | "oblique";
69
69
  backgroundColor: string;
@@ -78,7 +78,7 @@ declare const MainTextStyleSchema: z.ZodObject<{
78
78
  color?: string | undefined;
79
79
  strokeColor?: string | undefined;
80
80
  fontSize?: number | undefined;
81
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
81
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
82
82
  fontFamily?: string | undefined;
83
83
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
84
84
  backgroundColor?: string | undefined;
@@ -106,7 +106,7 @@ declare const HighlightTextStyleSchema: z.ZodObject<{
106
106
  color: string;
107
107
  strokeColor: string;
108
108
  fontSize: number;
109
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
109
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
110
110
  fontFamily: string;
111
111
  fontStyle: "normal" | "italic" | "oblique";
112
112
  backgroundColor: string;
@@ -118,7 +118,7 @@ declare const HighlightTextStyleSchema: z.ZodObject<{
118
118
  color?: string | undefined;
119
119
  strokeColor?: string | undefined;
120
120
  fontSize?: number | undefined;
121
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
121
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
122
122
  fontFamily?: string | undefined;
123
123
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
124
124
  backgroundColor?: string | undefined;
@@ -155,7 +155,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
155
155
  color: string;
156
156
  strokeColor: string;
157
157
  fontSize: number;
158
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
158
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
159
159
  fontFamily: string;
160
160
  fontStyle: "normal" | "italic" | "oblique";
161
161
  backgroundColor: string;
@@ -170,7 +170,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
170
170
  color?: string | undefined;
171
171
  strokeColor?: string | undefined;
172
172
  fontSize?: number | undefined;
173
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
173
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
174
174
  fontFamily?: string | undefined;
175
175
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
176
176
  backgroundColor?: string | undefined;
@@ -198,7 +198,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
198
198
  color: string;
199
199
  strokeColor: string;
200
200
  fontSize: number;
201
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
201
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
202
202
  fontFamily: string;
203
203
  fontStyle: "normal" | "italic" | "oblique";
204
204
  backgroundColor: string;
@@ -210,7 +210,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
210
210
  color?: string | undefined;
211
211
  strokeColor?: string | undefined;
212
212
  fontSize?: number | undefined;
213
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
213
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
214
214
  fontFamily?: string | undefined;
215
215
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
216
216
  backgroundColor?: string | undefined;
@@ -230,7 +230,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
230
230
  color: string;
231
231
  strokeColor: string;
232
232
  fontSize: number;
233
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
233
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
234
234
  fontFamily: string;
235
235
  fontStyle: "normal" | "italic" | "oblique";
236
236
  backgroundColor: string;
@@ -246,7 +246,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
246
246
  color: string;
247
247
  strokeColor: string;
248
248
  fontSize: number;
249
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
249
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
250
250
  fontFamily: string;
251
251
  fontStyle: "normal" | "italic" | "oblique";
252
252
  backgroundColor: string;
@@ -264,7 +264,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
264
264
  color?: string | undefined;
265
265
  strokeColor?: string | undefined;
266
266
  fontSize?: number | undefined;
267
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
267
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
268
268
  fontFamily?: string | undefined;
269
269
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
270
270
  backgroundColor?: string | undefined;
@@ -280,7 +280,7 @@ export declare const SubtitlesManagerSchema: z.ZodObject<{
280
280
  color?: string | undefined;
281
281
  strokeColor?: string | undefined;
282
282
  fontSize?: number | undefined;
283
- fontWeight?: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
283
+ fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
284
284
  fontFamily?: string | undefined;
285
285
  fontStyle?: "normal" | "italic" | "oblique" | undefined;
286
286
  backgroundColor?: string | undefined;
@@ -332,7 +332,7 @@ export declare class SubtitlesManager {
332
332
  color: string;
333
333
  strokeColor: string;
334
334
  fontSize: number;
335
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
335
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
336
336
  fontFamily: string;
337
337
  fontStyle: "normal" | "italic" | "oblique";
338
338
  backgroundColor: string;
@@ -348,7 +348,7 @@ export declare class SubtitlesManager {
348
348
  color: string;
349
349
  strokeColor: string;
350
350
  fontSize: number;
351
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
351
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
352
352
  fontFamily: string;
353
353
  fontStyle: "normal" | "italic" | "oblique";
354
354
  backgroundColor: string;
@@ -383,7 +383,7 @@ export declare class SubtitlesManager {
383
383
  color: string;
384
384
  strokeColor: string;
385
385
  fontSize: number;
386
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
386
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
387
387
  fontFamily: string;
388
388
  fontStyle: "normal" | "italic" | "oblique";
389
389
  backgroundColor: string;
@@ -399,7 +399,7 @@ export declare class SubtitlesManager {
399
399
  color: string;
400
400
  strokeColor: string;
401
401
  fontSize: number;
402
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
402
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
403
403
  fontFamily: string;
404
404
  fontStyle: "normal" | "italic" | "oblique";
405
405
  backgroundColor: string;
@@ -1,6 +1,8 @@
1
+ import { AnimationTypeEnum } from "../clip";
1
2
  import { ShapeTypeEnum } from "../clip/clips/shape/types/Shape.types";
2
3
  import { TextBlock } from "../library";
3
4
  import { HighlightAnimationEnum } from "../subtitles";
5
+ import { AnimationData } from '../../utils/animation/animation';
4
6
  export declare enum UndoActionEnum {
5
7
  MEDIA_ADD = "media-add",
6
8
  MEDIA_REMOVE = "media-remove",
@@ -14,6 +16,9 @@ export declare enum UndoActionEnum {
14
16
  CLIP_LEFT_TRIM = "clip-left-trim",
15
17
  CLIP_MOVE_TO_LAYER = "clip-move-to-layer",
16
18
  CLIP_SUBTITLES_SETTINGS = "clip-subtitles-settings",
19
+ CLIP_ANIMATION_SET = "clip-animation-set",
20
+ CLIP_ANIMATION_SET_DURATION = "clip-animation-set-duration",
21
+ CLIP_ANIMATION_SET_LOOP_SMOOTHING = "clip-animation-set-loop-smoothing",
17
22
  CLIP_STYLE_POSITION = "clip-style-position",
18
23
  CLIP_STYLE_SCALE = "clip-style-scale",
19
24
  CLIP_STYLE_ROTATION = "clip-style-rotation",
@@ -255,6 +260,21 @@ export type UndoActionMappings = {
255
260
  clipId: string;
256
261
  value: number;
257
262
  };
263
+ [UndoActionEnum.CLIP_ANIMATION_SET]: {
264
+ clipId: string;
265
+ animationData: AnimationData | undefined;
266
+ duration: number;
267
+ type: AnimationTypeEnum;
268
+ };
269
+ [UndoActionEnum.CLIP_ANIMATION_SET_DURATION]: {
270
+ clipId: string;
271
+ type: AnimationTypeEnum;
272
+ duration: number;
273
+ };
274
+ [UndoActionEnum.CLIP_ANIMATION_SET_LOOP_SMOOTHING]: {
275
+ clipId: string;
276
+ smoothing: number;
277
+ };
258
278
  [UndoActionEnum.TRANSITION_ADD]: {
259
279
  layerId: string;
260
280
  transition: any;
@@ -250,7 +250,7 @@ export declare class AnimationController {
250
250
  getAmplification(): number | undefined;
251
251
  getStart(): number | undefined;
252
252
  getEnd(): number | undefined;
253
- getDuration(): number | undefined;
253
+ getDuration(): number;
254
254
  private resolvePropertyValue;
255
255
  seek(time: number): this | undefined;
256
256
  }