@cntrl-site/sdk 1.23.2 → 1.24.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/LICENSE +21 -21
- package/README.md +2 -2
- package/dist/Components/ControlSlider/ControlSlider.d.ts +1 -2
- package/dist/Components/ImageRevealSlider/ControlImageRevealSliderComponent.d.ts +210 -0
- package/dist/Components/ImageRevealSlider/ImageRevealSlider.d.ts +38 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +893 -131
- package/dist/index.mjs +894 -132
- package/dist/schemas/article/Article.schema.d.ts +4 -4
- package/dist/schemas/article/FillLayer.schema.d.ts +186 -0
- package/dist/schemas/article/FillLayer.schema.js +53 -0
- package/dist/schemas/article/Item.schema.d.ts +6 -6
- package/dist/schemas/article/Item.schema.js +5 -4
- package/dist/schemas/article/ItemArea.schema.d.ts +2 -2
- package/dist/schemas/article/ItemBase.schema.d.ts +4 -4
- package/dist/schemas/article/ItemState.schema.d.ts +2433 -231
- package/dist/schemas/article/ItemState.schema.js +4 -3
- package/dist/schemas/article/RichTextItem.schema.d.ts +16 -16
- package/dist/schemas/article/Section.schema.d.ts +2 -2
- package/dist/schemas/keyframe/Keyframes.schema.d.ts +1222 -186
- package/dist/schemas/keyframe/Keyframes.schema.js +11 -14
- package/dist/schemas/shared/FillLayer.schema.d.ts +186 -0
- package/dist/sdk.css +1 -1
- package/dist/types/article/Item.d.ts +51 -3
- package/dist/types/article/ItemState.d.ts +4 -3
- package/dist/types/component/Component.d.ts +0 -1
- package/dist/types/keyframe/Keyframe.d.ts +8 -11
- package/dist/types/keyframe/Keyframe.js +2 -2
- package/package.json +83 -79
- package/resources/template.scss.ejs +50 -50
|
@@ -18,22 +18,22 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
position: number;
|
|
21
|
-
|
|
21
|
+
id: string;
|
|
22
22
|
value: {
|
|
23
23
|
width: number;
|
|
24
24
|
height: number;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
type: KeyframeType.Dimensions;
|
|
27
27
|
itemId: string;
|
|
28
28
|
layoutId: string;
|
|
29
29
|
}, {
|
|
30
30
|
position: number;
|
|
31
|
-
|
|
31
|
+
id: string;
|
|
32
32
|
value: {
|
|
33
33
|
width: number;
|
|
34
34
|
height: number;
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
type: KeyframeType.Dimensions;
|
|
37
37
|
itemId: string;
|
|
38
38
|
layoutId: string;
|
|
39
39
|
}>, z.ZodObject<{
|
|
@@ -54,22 +54,22 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
54
54
|
}>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
position: number;
|
|
57
|
-
|
|
57
|
+
id: string;
|
|
58
58
|
value: {
|
|
59
59
|
left: number;
|
|
60
60
|
top: number;
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
type: KeyframeType.Position;
|
|
63
63
|
itemId: string;
|
|
64
64
|
layoutId: string;
|
|
65
65
|
}, {
|
|
66
66
|
position: number;
|
|
67
|
-
|
|
67
|
+
id: string;
|
|
68
68
|
value: {
|
|
69
69
|
left: number;
|
|
70
70
|
top: number;
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
type: KeyframeType.Position;
|
|
73
73
|
itemId: string;
|
|
74
74
|
layoutId: string;
|
|
75
75
|
}>, z.ZodObject<{
|
|
@@ -87,20 +87,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
87
87
|
}>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
position: number;
|
|
90
|
-
|
|
90
|
+
id: string;
|
|
91
91
|
value: {
|
|
92
92
|
angle: number;
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
type: KeyframeType.Rotation;
|
|
95
95
|
itemId: string;
|
|
96
96
|
layoutId: string;
|
|
97
97
|
}, {
|
|
98
98
|
position: number;
|
|
99
|
-
|
|
99
|
+
id: string;
|
|
100
100
|
value: {
|
|
101
101
|
angle: number;
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
type: KeyframeType.Rotation;
|
|
104
104
|
itemId: string;
|
|
105
105
|
layoutId: string;
|
|
106
106
|
}>, z.ZodObject<{
|
|
@@ -118,20 +118,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
118
118
|
}>;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
120
|
position: number;
|
|
121
|
-
|
|
121
|
+
id: string;
|
|
122
122
|
value: {
|
|
123
123
|
radius: number;
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
type: KeyframeType.BorderRadius;
|
|
126
126
|
itemId: string;
|
|
127
127
|
layoutId: string;
|
|
128
128
|
}, {
|
|
129
129
|
position: number;
|
|
130
|
-
|
|
130
|
+
id: string;
|
|
131
131
|
value: {
|
|
132
132
|
radius: number;
|
|
133
133
|
};
|
|
134
|
-
|
|
134
|
+
type: KeyframeType.BorderRadius;
|
|
135
135
|
itemId: string;
|
|
136
136
|
layoutId: string;
|
|
137
137
|
}>, z.ZodObject<{
|
|
@@ -149,20 +149,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
149
149
|
}>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
151
|
position: number;
|
|
152
|
-
|
|
152
|
+
id: string;
|
|
153
153
|
value: {
|
|
154
154
|
borderWidth: number;
|
|
155
155
|
};
|
|
156
|
-
|
|
156
|
+
type: KeyframeType.BorderWidth;
|
|
157
157
|
itemId: string;
|
|
158
158
|
layoutId: string;
|
|
159
159
|
}, {
|
|
160
160
|
position: number;
|
|
161
|
-
|
|
161
|
+
id: string;
|
|
162
162
|
value: {
|
|
163
163
|
borderWidth: number;
|
|
164
164
|
};
|
|
165
|
-
|
|
165
|
+
type: KeyframeType.BorderWidth;
|
|
166
166
|
itemId: string;
|
|
167
167
|
layoutId: string;
|
|
168
168
|
}>, z.ZodObject<{
|
|
@@ -170,61 +170,289 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
170
170
|
id: z.ZodString;
|
|
171
171
|
itemId: z.ZodString;
|
|
172
172
|
layoutId: z.ZodString;
|
|
173
|
-
type: z.ZodLiteral<KeyframeType.
|
|
174
|
-
value: z.ZodObject<{
|
|
175
|
-
|
|
173
|
+
type: z.ZodLiteral<KeyframeType.BorderFill>;
|
|
174
|
+
value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
type: z.ZodLiteral<"solid">;
|
|
177
|
+
value: z.ZodString;
|
|
178
|
+
blendMode: z.ZodString;
|
|
176
179
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
|
|
180
|
+
id: string;
|
|
181
|
+
value: string;
|
|
182
|
+
type: "solid";
|
|
183
|
+
blendMode: string;
|
|
178
184
|
}, {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}, {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
layoutId: z.ZodString;
|
|
204
|
-
type: z.ZodLiteral<KeyframeType.BorderColor>;
|
|
205
|
-
value: z.ZodObject<{
|
|
206
|
-
color: z.ZodString;
|
|
185
|
+
id: string;
|
|
186
|
+
value: string;
|
|
187
|
+
type: "solid";
|
|
188
|
+
blendMode: string;
|
|
189
|
+
}>, z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
type: z.ZodLiteral<"linear-gradient">;
|
|
192
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
value: z.ZodString;
|
|
195
|
+
position: z.ZodNumber;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
position: number;
|
|
198
|
+
id: string;
|
|
199
|
+
value: string;
|
|
200
|
+
}, {
|
|
201
|
+
position: number;
|
|
202
|
+
id: string;
|
|
203
|
+
value: string;
|
|
204
|
+
}>, "many">;
|
|
205
|
+
start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
206
|
+
end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
207
|
+
angle: z.ZodNumber;
|
|
208
|
+
blendMode: z.ZodString;
|
|
207
209
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
|
|
210
|
+
id: string;
|
|
211
|
+
type: "linear-gradient";
|
|
212
|
+
blendMode: string;
|
|
213
|
+
colors: {
|
|
214
|
+
position: number;
|
|
215
|
+
id: string;
|
|
216
|
+
value: string;
|
|
217
|
+
}[];
|
|
218
|
+
start: [number, number];
|
|
219
|
+
end: [number, number];
|
|
220
|
+
angle: number;
|
|
209
221
|
}, {
|
|
210
|
-
|
|
211
|
-
|
|
222
|
+
id: string;
|
|
223
|
+
type: "linear-gradient";
|
|
224
|
+
blendMode: string;
|
|
225
|
+
colors: {
|
|
226
|
+
position: number;
|
|
227
|
+
id: string;
|
|
228
|
+
value: string;
|
|
229
|
+
}[];
|
|
230
|
+
start: [number, number];
|
|
231
|
+
end: [number, number];
|
|
232
|
+
angle: number;
|
|
233
|
+
}>, z.ZodObject<{
|
|
234
|
+
id: z.ZodString;
|
|
235
|
+
type: z.ZodLiteral<"radial-gradient">;
|
|
236
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
237
|
+
id: z.ZodString;
|
|
238
|
+
value: z.ZodString;
|
|
239
|
+
position: z.ZodNumber;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
position: number;
|
|
242
|
+
id: string;
|
|
243
|
+
value: string;
|
|
244
|
+
}, {
|
|
245
|
+
position: number;
|
|
246
|
+
id: string;
|
|
247
|
+
value: string;
|
|
248
|
+
}>, "many">;
|
|
249
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
250
|
+
diameter: z.ZodNumber;
|
|
251
|
+
angle: z.ZodNumber;
|
|
252
|
+
blendMode: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
center: [number, number];
|
|
255
|
+
id: string;
|
|
256
|
+
type: "radial-gradient";
|
|
257
|
+
blendMode: string;
|
|
258
|
+
colors: {
|
|
259
|
+
position: number;
|
|
260
|
+
id: string;
|
|
261
|
+
value: string;
|
|
262
|
+
}[];
|
|
263
|
+
angle: number;
|
|
264
|
+
diameter: number;
|
|
265
|
+
}, {
|
|
266
|
+
center: [number, number];
|
|
267
|
+
id: string;
|
|
268
|
+
type: "radial-gradient";
|
|
269
|
+
blendMode: string;
|
|
270
|
+
colors: {
|
|
271
|
+
position: number;
|
|
272
|
+
id: string;
|
|
273
|
+
value: string;
|
|
274
|
+
}[];
|
|
275
|
+
angle: number;
|
|
276
|
+
diameter: number;
|
|
277
|
+
}>, z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
type: z.ZodLiteral<"conic-gradient">;
|
|
280
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
281
|
+
id: z.ZodString;
|
|
282
|
+
value: z.ZodString;
|
|
283
|
+
position: z.ZodNumber;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
position: number;
|
|
286
|
+
id: string;
|
|
287
|
+
value: string;
|
|
288
|
+
}, {
|
|
289
|
+
position: number;
|
|
290
|
+
id: string;
|
|
291
|
+
value: string;
|
|
292
|
+
}>, "many">;
|
|
293
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
294
|
+
angle: z.ZodNumber;
|
|
295
|
+
blendMode: z.ZodString;
|
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
center: [number, number];
|
|
298
|
+
id: string;
|
|
299
|
+
type: "conic-gradient";
|
|
300
|
+
blendMode: string;
|
|
301
|
+
colors: {
|
|
302
|
+
position: number;
|
|
303
|
+
id: string;
|
|
304
|
+
value: string;
|
|
305
|
+
}[];
|
|
306
|
+
angle: number;
|
|
307
|
+
}, {
|
|
308
|
+
center: [number, number];
|
|
309
|
+
id: string;
|
|
310
|
+
type: "conic-gradient";
|
|
311
|
+
blendMode: string;
|
|
312
|
+
colors: {
|
|
313
|
+
position: number;
|
|
314
|
+
id: string;
|
|
315
|
+
value: string;
|
|
316
|
+
}[];
|
|
317
|
+
angle: number;
|
|
318
|
+
}>, z.ZodObject<{
|
|
319
|
+
id: z.ZodString;
|
|
320
|
+
type: z.ZodLiteral<"image">;
|
|
321
|
+
src: z.ZodString;
|
|
322
|
+
behavior: z.ZodString;
|
|
323
|
+
backgroundSize: z.ZodNumber;
|
|
324
|
+
opacity: z.ZodNumber;
|
|
325
|
+
blendMode: z.ZodString;
|
|
326
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
opacity: number;
|
|
329
|
+
id: string;
|
|
330
|
+
type: "image";
|
|
331
|
+
blendMode: string;
|
|
332
|
+
src: string;
|
|
333
|
+
behavior: string;
|
|
334
|
+
backgroundSize: number;
|
|
335
|
+
rotation?: number | undefined;
|
|
336
|
+
}, {
|
|
337
|
+
opacity: number;
|
|
338
|
+
id: string;
|
|
339
|
+
type: "image";
|
|
340
|
+
blendMode: string;
|
|
341
|
+
src: string;
|
|
342
|
+
behavior: string;
|
|
343
|
+
backgroundSize: number;
|
|
344
|
+
rotation?: number | undefined;
|
|
345
|
+
}>]>, "many">;
|
|
212
346
|
}, "strip", z.ZodTypeAny, {
|
|
213
347
|
position: number;
|
|
214
|
-
type: KeyframeType.BorderColor;
|
|
215
|
-
value: {
|
|
216
|
-
color: string;
|
|
217
|
-
};
|
|
218
348
|
id: string;
|
|
349
|
+
value: ({
|
|
350
|
+
id: string;
|
|
351
|
+
value: string;
|
|
352
|
+
type: "solid";
|
|
353
|
+
blendMode: string;
|
|
354
|
+
} | {
|
|
355
|
+
id: string;
|
|
356
|
+
type: "linear-gradient";
|
|
357
|
+
blendMode: string;
|
|
358
|
+
colors: {
|
|
359
|
+
position: number;
|
|
360
|
+
id: string;
|
|
361
|
+
value: string;
|
|
362
|
+
}[];
|
|
363
|
+
start: [number, number];
|
|
364
|
+
end: [number, number];
|
|
365
|
+
angle: number;
|
|
366
|
+
} | {
|
|
367
|
+
center: [number, number];
|
|
368
|
+
id: string;
|
|
369
|
+
type: "radial-gradient";
|
|
370
|
+
blendMode: string;
|
|
371
|
+
colors: {
|
|
372
|
+
position: number;
|
|
373
|
+
id: string;
|
|
374
|
+
value: string;
|
|
375
|
+
}[];
|
|
376
|
+
angle: number;
|
|
377
|
+
diameter: number;
|
|
378
|
+
} | {
|
|
379
|
+
center: [number, number];
|
|
380
|
+
id: string;
|
|
381
|
+
type: "conic-gradient";
|
|
382
|
+
blendMode: string;
|
|
383
|
+
colors: {
|
|
384
|
+
position: number;
|
|
385
|
+
id: string;
|
|
386
|
+
value: string;
|
|
387
|
+
}[];
|
|
388
|
+
angle: number;
|
|
389
|
+
} | {
|
|
390
|
+
opacity: number;
|
|
391
|
+
id: string;
|
|
392
|
+
type: "image";
|
|
393
|
+
blendMode: string;
|
|
394
|
+
src: string;
|
|
395
|
+
behavior: string;
|
|
396
|
+
backgroundSize: number;
|
|
397
|
+
rotation?: number | undefined;
|
|
398
|
+
})[];
|
|
399
|
+
type: KeyframeType.BorderFill;
|
|
219
400
|
itemId: string;
|
|
220
401
|
layoutId: string;
|
|
221
402
|
}, {
|
|
222
403
|
position: number;
|
|
223
|
-
type: KeyframeType.BorderColor;
|
|
224
|
-
value: {
|
|
225
|
-
color: string;
|
|
226
|
-
};
|
|
227
404
|
id: string;
|
|
405
|
+
value: ({
|
|
406
|
+
id: string;
|
|
407
|
+
value: string;
|
|
408
|
+
type: "solid";
|
|
409
|
+
blendMode: string;
|
|
410
|
+
} | {
|
|
411
|
+
id: string;
|
|
412
|
+
type: "linear-gradient";
|
|
413
|
+
blendMode: string;
|
|
414
|
+
colors: {
|
|
415
|
+
position: number;
|
|
416
|
+
id: string;
|
|
417
|
+
value: string;
|
|
418
|
+
}[];
|
|
419
|
+
start: [number, number];
|
|
420
|
+
end: [number, number];
|
|
421
|
+
angle: number;
|
|
422
|
+
} | {
|
|
423
|
+
center: [number, number];
|
|
424
|
+
id: string;
|
|
425
|
+
type: "radial-gradient";
|
|
426
|
+
blendMode: string;
|
|
427
|
+
colors: {
|
|
428
|
+
position: number;
|
|
429
|
+
id: string;
|
|
430
|
+
value: string;
|
|
431
|
+
}[];
|
|
432
|
+
angle: number;
|
|
433
|
+
diameter: number;
|
|
434
|
+
} | {
|
|
435
|
+
center: [number, number];
|
|
436
|
+
id: string;
|
|
437
|
+
type: "conic-gradient";
|
|
438
|
+
blendMode: string;
|
|
439
|
+
colors: {
|
|
440
|
+
position: number;
|
|
441
|
+
id: string;
|
|
442
|
+
value: string;
|
|
443
|
+
}[];
|
|
444
|
+
angle: number;
|
|
445
|
+
} | {
|
|
446
|
+
opacity: number;
|
|
447
|
+
id: string;
|
|
448
|
+
type: "image";
|
|
449
|
+
blendMode: string;
|
|
450
|
+
src: string;
|
|
451
|
+
behavior: string;
|
|
452
|
+
backgroundSize: number;
|
|
453
|
+
rotation?: number | undefined;
|
|
454
|
+
})[];
|
|
455
|
+
type: KeyframeType.BorderFill;
|
|
228
456
|
itemId: string;
|
|
229
457
|
layoutId: string;
|
|
230
458
|
}>, z.ZodObject<{
|
|
@@ -242,20 +470,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
242
470
|
}>;
|
|
243
471
|
}, "strip", z.ZodTypeAny, {
|
|
244
472
|
position: number;
|
|
245
|
-
|
|
473
|
+
id: string;
|
|
246
474
|
value: {
|
|
247
475
|
opacity: number;
|
|
248
476
|
};
|
|
249
|
-
|
|
477
|
+
type: KeyframeType.Opacity;
|
|
250
478
|
itemId: string;
|
|
251
479
|
layoutId: string;
|
|
252
480
|
}, {
|
|
253
481
|
position: number;
|
|
254
|
-
|
|
482
|
+
id: string;
|
|
255
483
|
value: {
|
|
256
484
|
opacity: number;
|
|
257
485
|
};
|
|
258
|
-
|
|
486
|
+
type: KeyframeType.Opacity;
|
|
259
487
|
itemId: string;
|
|
260
488
|
layoutId: string;
|
|
261
489
|
}>, z.ZodObject<{
|
|
@@ -273,20 +501,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
273
501
|
}>;
|
|
274
502
|
}, "strip", z.ZodTypeAny, {
|
|
275
503
|
position: number;
|
|
276
|
-
|
|
504
|
+
id: string;
|
|
277
505
|
value: {
|
|
278
506
|
scale: number;
|
|
279
507
|
};
|
|
280
|
-
|
|
508
|
+
type: KeyframeType.Scale;
|
|
281
509
|
itemId: string;
|
|
282
510
|
layoutId: string;
|
|
283
511
|
}, {
|
|
284
512
|
position: number;
|
|
285
|
-
|
|
513
|
+
id: string;
|
|
286
514
|
value: {
|
|
287
515
|
scale: number;
|
|
288
516
|
};
|
|
289
|
-
|
|
517
|
+
type: KeyframeType.Scale;
|
|
290
518
|
itemId: string;
|
|
291
519
|
layoutId: string;
|
|
292
520
|
}>, z.ZodObject<{
|
|
@@ -304,20 +532,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
304
532
|
}>;
|
|
305
533
|
}, "strip", z.ZodTypeAny, {
|
|
306
534
|
position: number;
|
|
307
|
-
|
|
535
|
+
id: string;
|
|
308
536
|
value: {
|
|
309
537
|
blur: number;
|
|
310
538
|
};
|
|
311
|
-
|
|
539
|
+
type: KeyframeType.Blur;
|
|
312
540
|
itemId: string;
|
|
313
541
|
layoutId: string;
|
|
314
542
|
}, {
|
|
315
543
|
position: number;
|
|
316
|
-
|
|
544
|
+
id: string;
|
|
317
545
|
value: {
|
|
318
546
|
blur: number;
|
|
319
547
|
};
|
|
320
|
-
|
|
548
|
+
type: KeyframeType.Blur;
|
|
321
549
|
itemId: string;
|
|
322
550
|
layoutId: string;
|
|
323
551
|
}>, z.ZodObject<{
|
|
@@ -335,20 +563,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
335
563
|
}>;
|
|
336
564
|
}, "strip", z.ZodTypeAny, {
|
|
337
565
|
position: number;
|
|
338
|
-
|
|
566
|
+
id: string;
|
|
339
567
|
value: {
|
|
340
568
|
backdropBlur: number;
|
|
341
569
|
};
|
|
342
|
-
|
|
570
|
+
type: KeyframeType.BackdropBlur;
|
|
343
571
|
itemId: string;
|
|
344
572
|
layoutId: string;
|
|
345
573
|
}, {
|
|
346
574
|
position: number;
|
|
347
|
-
|
|
575
|
+
id: string;
|
|
348
576
|
value: {
|
|
349
577
|
backdropBlur: number;
|
|
350
578
|
};
|
|
351
|
-
|
|
579
|
+
type: KeyframeType.BackdropBlur;
|
|
352
580
|
itemId: string;
|
|
353
581
|
layoutId: string;
|
|
354
582
|
}>, z.ZodObject<{
|
|
@@ -366,20 +594,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
366
594
|
}>;
|
|
367
595
|
}, "strip", z.ZodTypeAny, {
|
|
368
596
|
position: number;
|
|
369
|
-
|
|
597
|
+
id: string;
|
|
370
598
|
value: {
|
|
371
599
|
color: string;
|
|
372
600
|
};
|
|
373
|
-
|
|
601
|
+
type: KeyframeType.TextColor;
|
|
374
602
|
itemId: string;
|
|
375
603
|
layoutId: string;
|
|
376
604
|
}, {
|
|
377
605
|
position: number;
|
|
378
|
-
|
|
606
|
+
id: string;
|
|
379
607
|
value: {
|
|
380
608
|
color: string;
|
|
381
609
|
};
|
|
382
|
-
|
|
610
|
+
type: KeyframeType.TextColor;
|
|
383
611
|
itemId: string;
|
|
384
612
|
layoutId: string;
|
|
385
613
|
}>, z.ZodObject<{
|
|
@@ -397,20 +625,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
397
625
|
}>;
|
|
398
626
|
}, "strip", z.ZodTypeAny, {
|
|
399
627
|
position: number;
|
|
400
|
-
|
|
628
|
+
id: string;
|
|
401
629
|
value: {
|
|
402
630
|
letterSpacing: number;
|
|
403
631
|
};
|
|
404
|
-
|
|
632
|
+
type: KeyframeType.LetterSpacing;
|
|
405
633
|
itemId: string;
|
|
406
634
|
layoutId: string;
|
|
407
635
|
}, {
|
|
408
636
|
position: number;
|
|
409
|
-
|
|
637
|
+
id: string;
|
|
410
638
|
value: {
|
|
411
639
|
letterSpacing: number;
|
|
412
640
|
};
|
|
413
|
-
|
|
641
|
+
type: KeyframeType.LetterSpacing;
|
|
414
642
|
itemId: string;
|
|
415
643
|
layoutId: string;
|
|
416
644
|
}>, z.ZodObject<{
|
|
@@ -428,20 +656,20 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
428
656
|
}>;
|
|
429
657
|
}, "strip", z.ZodTypeAny, {
|
|
430
658
|
position: number;
|
|
431
|
-
|
|
659
|
+
id: string;
|
|
432
660
|
value: {
|
|
433
661
|
wordSpacing: number;
|
|
434
662
|
};
|
|
435
|
-
|
|
663
|
+
type: KeyframeType.WordSpacing;
|
|
436
664
|
itemId: string;
|
|
437
665
|
layoutId: string;
|
|
438
666
|
}, {
|
|
439
667
|
position: number;
|
|
440
|
-
|
|
668
|
+
id: string;
|
|
441
669
|
value: {
|
|
442
670
|
wordSpacing: number;
|
|
443
671
|
};
|
|
444
|
-
|
|
672
|
+
type: KeyframeType.WordSpacing;
|
|
445
673
|
itemId: string;
|
|
446
674
|
layoutId: string;
|
|
447
675
|
}>, z.ZodObject<{
|
|
@@ -453,16 +681,306 @@ export declare const KeyframeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
453
681
|
value: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
454
682
|
}, "strip", z.ZodTypeAny, {
|
|
455
683
|
position: number;
|
|
684
|
+
id: string;
|
|
685
|
+
value: Record<string, number>;
|
|
456
686
|
type: KeyframeType.FXParams;
|
|
687
|
+
itemId: string;
|
|
688
|
+
layoutId: string;
|
|
689
|
+
}, {
|
|
690
|
+
position: number;
|
|
691
|
+
id: string;
|
|
457
692
|
value: Record<string, number>;
|
|
693
|
+
type: KeyframeType.FXParams;
|
|
694
|
+
itemId: string;
|
|
695
|
+
layoutId: string;
|
|
696
|
+
}>, z.ZodObject<{
|
|
697
|
+
position: z.ZodNumber;
|
|
698
|
+
id: z.ZodString;
|
|
699
|
+
itemId: z.ZodString;
|
|
700
|
+
layoutId: z.ZodString;
|
|
701
|
+
type: z.ZodLiteral<KeyframeType.Fill>;
|
|
702
|
+
value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
703
|
+
id: z.ZodString;
|
|
704
|
+
type: z.ZodLiteral<"solid">;
|
|
705
|
+
value: z.ZodString;
|
|
706
|
+
blendMode: z.ZodString;
|
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
|
708
|
+
id: string;
|
|
709
|
+
value: string;
|
|
710
|
+
type: "solid";
|
|
711
|
+
blendMode: string;
|
|
712
|
+
}, {
|
|
713
|
+
id: string;
|
|
714
|
+
value: string;
|
|
715
|
+
type: "solid";
|
|
716
|
+
blendMode: string;
|
|
717
|
+
}>, z.ZodObject<{
|
|
718
|
+
id: z.ZodString;
|
|
719
|
+
type: z.ZodLiteral<"linear-gradient">;
|
|
720
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
721
|
+
id: z.ZodString;
|
|
722
|
+
value: z.ZodString;
|
|
723
|
+
position: z.ZodNumber;
|
|
724
|
+
}, "strip", z.ZodTypeAny, {
|
|
725
|
+
position: number;
|
|
726
|
+
id: string;
|
|
727
|
+
value: string;
|
|
728
|
+
}, {
|
|
729
|
+
position: number;
|
|
730
|
+
id: string;
|
|
731
|
+
value: string;
|
|
732
|
+
}>, "many">;
|
|
733
|
+
start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
734
|
+
end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
735
|
+
angle: z.ZodNumber;
|
|
736
|
+
blendMode: z.ZodString;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
id: string;
|
|
739
|
+
type: "linear-gradient";
|
|
740
|
+
blendMode: string;
|
|
741
|
+
colors: {
|
|
742
|
+
position: number;
|
|
743
|
+
id: string;
|
|
744
|
+
value: string;
|
|
745
|
+
}[];
|
|
746
|
+
start: [number, number];
|
|
747
|
+
end: [number, number];
|
|
748
|
+
angle: number;
|
|
749
|
+
}, {
|
|
750
|
+
id: string;
|
|
751
|
+
type: "linear-gradient";
|
|
752
|
+
blendMode: string;
|
|
753
|
+
colors: {
|
|
754
|
+
position: number;
|
|
755
|
+
id: string;
|
|
756
|
+
value: string;
|
|
757
|
+
}[];
|
|
758
|
+
start: [number, number];
|
|
759
|
+
end: [number, number];
|
|
760
|
+
angle: number;
|
|
761
|
+
}>, z.ZodObject<{
|
|
762
|
+
id: z.ZodString;
|
|
763
|
+
type: z.ZodLiteral<"radial-gradient">;
|
|
764
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
765
|
+
id: z.ZodString;
|
|
766
|
+
value: z.ZodString;
|
|
767
|
+
position: z.ZodNumber;
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
position: number;
|
|
770
|
+
id: string;
|
|
771
|
+
value: string;
|
|
772
|
+
}, {
|
|
773
|
+
position: number;
|
|
774
|
+
id: string;
|
|
775
|
+
value: string;
|
|
776
|
+
}>, "many">;
|
|
777
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
778
|
+
diameter: z.ZodNumber;
|
|
779
|
+
angle: z.ZodNumber;
|
|
780
|
+
blendMode: z.ZodString;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
center: [number, number];
|
|
783
|
+
id: string;
|
|
784
|
+
type: "radial-gradient";
|
|
785
|
+
blendMode: string;
|
|
786
|
+
colors: {
|
|
787
|
+
position: number;
|
|
788
|
+
id: string;
|
|
789
|
+
value: string;
|
|
790
|
+
}[];
|
|
791
|
+
angle: number;
|
|
792
|
+
diameter: number;
|
|
793
|
+
}, {
|
|
794
|
+
center: [number, number];
|
|
795
|
+
id: string;
|
|
796
|
+
type: "radial-gradient";
|
|
797
|
+
blendMode: string;
|
|
798
|
+
colors: {
|
|
799
|
+
position: number;
|
|
800
|
+
id: string;
|
|
801
|
+
value: string;
|
|
802
|
+
}[];
|
|
803
|
+
angle: number;
|
|
804
|
+
diameter: number;
|
|
805
|
+
}>, z.ZodObject<{
|
|
806
|
+
id: z.ZodString;
|
|
807
|
+
type: z.ZodLiteral<"conic-gradient">;
|
|
808
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
809
|
+
id: z.ZodString;
|
|
810
|
+
value: z.ZodString;
|
|
811
|
+
position: z.ZodNumber;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
position: number;
|
|
814
|
+
id: string;
|
|
815
|
+
value: string;
|
|
816
|
+
}, {
|
|
817
|
+
position: number;
|
|
818
|
+
id: string;
|
|
819
|
+
value: string;
|
|
820
|
+
}>, "many">;
|
|
821
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
822
|
+
angle: z.ZodNumber;
|
|
823
|
+
blendMode: z.ZodString;
|
|
824
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
|
+
center: [number, number];
|
|
826
|
+
id: string;
|
|
827
|
+
type: "conic-gradient";
|
|
828
|
+
blendMode: string;
|
|
829
|
+
colors: {
|
|
830
|
+
position: number;
|
|
831
|
+
id: string;
|
|
832
|
+
value: string;
|
|
833
|
+
}[];
|
|
834
|
+
angle: number;
|
|
835
|
+
}, {
|
|
836
|
+
center: [number, number];
|
|
837
|
+
id: string;
|
|
838
|
+
type: "conic-gradient";
|
|
839
|
+
blendMode: string;
|
|
840
|
+
colors: {
|
|
841
|
+
position: number;
|
|
842
|
+
id: string;
|
|
843
|
+
value: string;
|
|
844
|
+
}[];
|
|
845
|
+
angle: number;
|
|
846
|
+
}>, z.ZodObject<{
|
|
847
|
+
id: z.ZodString;
|
|
848
|
+
type: z.ZodLiteral<"image">;
|
|
849
|
+
src: z.ZodString;
|
|
850
|
+
behavior: z.ZodString;
|
|
851
|
+
backgroundSize: z.ZodNumber;
|
|
852
|
+
opacity: z.ZodNumber;
|
|
853
|
+
blendMode: z.ZodString;
|
|
854
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
opacity: number;
|
|
857
|
+
id: string;
|
|
858
|
+
type: "image";
|
|
859
|
+
blendMode: string;
|
|
860
|
+
src: string;
|
|
861
|
+
behavior: string;
|
|
862
|
+
backgroundSize: number;
|
|
863
|
+
rotation?: number | undefined;
|
|
864
|
+
}, {
|
|
865
|
+
opacity: number;
|
|
866
|
+
id: string;
|
|
867
|
+
type: "image";
|
|
868
|
+
blendMode: string;
|
|
869
|
+
src: string;
|
|
870
|
+
behavior: string;
|
|
871
|
+
backgroundSize: number;
|
|
872
|
+
rotation?: number | undefined;
|
|
873
|
+
}>]>, "many">;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
875
|
+
position: number;
|
|
458
876
|
id: string;
|
|
877
|
+
value: ({
|
|
878
|
+
id: string;
|
|
879
|
+
value: string;
|
|
880
|
+
type: "solid";
|
|
881
|
+
blendMode: string;
|
|
882
|
+
} | {
|
|
883
|
+
id: string;
|
|
884
|
+
type: "linear-gradient";
|
|
885
|
+
blendMode: string;
|
|
886
|
+
colors: {
|
|
887
|
+
position: number;
|
|
888
|
+
id: string;
|
|
889
|
+
value: string;
|
|
890
|
+
}[];
|
|
891
|
+
start: [number, number];
|
|
892
|
+
end: [number, number];
|
|
893
|
+
angle: number;
|
|
894
|
+
} | {
|
|
895
|
+
center: [number, number];
|
|
896
|
+
id: string;
|
|
897
|
+
type: "radial-gradient";
|
|
898
|
+
blendMode: string;
|
|
899
|
+
colors: {
|
|
900
|
+
position: number;
|
|
901
|
+
id: string;
|
|
902
|
+
value: string;
|
|
903
|
+
}[];
|
|
904
|
+
angle: number;
|
|
905
|
+
diameter: number;
|
|
906
|
+
} | {
|
|
907
|
+
center: [number, number];
|
|
908
|
+
id: string;
|
|
909
|
+
type: "conic-gradient";
|
|
910
|
+
blendMode: string;
|
|
911
|
+
colors: {
|
|
912
|
+
position: number;
|
|
913
|
+
id: string;
|
|
914
|
+
value: string;
|
|
915
|
+
}[];
|
|
916
|
+
angle: number;
|
|
917
|
+
} | {
|
|
918
|
+
opacity: number;
|
|
919
|
+
id: string;
|
|
920
|
+
type: "image";
|
|
921
|
+
blendMode: string;
|
|
922
|
+
src: string;
|
|
923
|
+
behavior: string;
|
|
924
|
+
backgroundSize: number;
|
|
925
|
+
rotation?: number | undefined;
|
|
926
|
+
})[];
|
|
927
|
+
type: KeyframeType.Fill;
|
|
459
928
|
itemId: string;
|
|
460
929
|
layoutId: string;
|
|
461
930
|
}, {
|
|
462
931
|
position: number;
|
|
463
|
-
type: KeyframeType.FXParams;
|
|
464
|
-
value: Record<string, number>;
|
|
465
932
|
id: string;
|
|
933
|
+
value: ({
|
|
934
|
+
id: string;
|
|
935
|
+
value: string;
|
|
936
|
+
type: "solid";
|
|
937
|
+
blendMode: string;
|
|
938
|
+
} | {
|
|
939
|
+
id: string;
|
|
940
|
+
type: "linear-gradient";
|
|
941
|
+
blendMode: string;
|
|
942
|
+
colors: {
|
|
943
|
+
position: number;
|
|
944
|
+
id: string;
|
|
945
|
+
value: string;
|
|
946
|
+
}[];
|
|
947
|
+
start: [number, number];
|
|
948
|
+
end: [number, number];
|
|
949
|
+
angle: number;
|
|
950
|
+
} | {
|
|
951
|
+
center: [number, number];
|
|
952
|
+
id: string;
|
|
953
|
+
type: "radial-gradient";
|
|
954
|
+
blendMode: string;
|
|
955
|
+
colors: {
|
|
956
|
+
position: number;
|
|
957
|
+
id: string;
|
|
958
|
+
value: string;
|
|
959
|
+
}[];
|
|
960
|
+
angle: number;
|
|
961
|
+
diameter: number;
|
|
962
|
+
} | {
|
|
963
|
+
center: [number, number];
|
|
964
|
+
id: string;
|
|
965
|
+
type: "conic-gradient";
|
|
966
|
+
blendMode: string;
|
|
967
|
+
colors: {
|
|
968
|
+
position: number;
|
|
969
|
+
id: string;
|
|
970
|
+
value: string;
|
|
971
|
+
}[];
|
|
972
|
+
angle: number;
|
|
973
|
+
} | {
|
|
974
|
+
opacity: number;
|
|
975
|
+
id: string;
|
|
976
|
+
type: "image";
|
|
977
|
+
blendMode: string;
|
|
978
|
+
src: string;
|
|
979
|
+
behavior: string;
|
|
980
|
+
backgroundSize: number;
|
|
981
|
+
rotation?: number | undefined;
|
|
982
|
+
})[];
|
|
983
|
+
type: KeyframeType.Fill;
|
|
466
984
|
itemId: string;
|
|
467
985
|
layoutId: string;
|
|
468
986
|
}>]>;
|
|
@@ -484,22 +1002,22 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
484
1002
|
}>;
|
|
485
1003
|
}, "strip", z.ZodTypeAny, {
|
|
486
1004
|
position: number;
|
|
487
|
-
|
|
1005
|
+
id: string;
|
|
488
1006
|
value: {
|
|
489
1007
|
width: number;
|
|
490
1008
|
height: number;
|
|
491
1009
|
};
|
|
492
|
-
|
|
1010
|
+
type: KeyframeType.Dimensions;
|
|
493
1011
|
itemId: string;
|
|
494
1012
|
layoutId: string;
|
|
495
1013
|
}, {
|
|
496
1014
|
position: number;
|
|
497
|
-
|
|
1015
|
+
id: string;
|
|
498
1016
|
value: {
|
|
499
1017
|
width: number;
|
|
500
1018
|
height: number;
|
|
501
1019
|
};
|
|
502
|
-
|
|
1020
|
+
type: KeyframeType.Dimensions;
|
|
503
1021
|
itemId: string;
|
|
504
1022
|
layoutId: string;
|
|
505
1023
|
}>, z.ZodObject<{
|
|
@@ -520,22 +1038,22 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
520
1038
|
}>;
|
|
521
1039
|
}, "strip", z.ZodTypeAny, {
|
|
522
1040
|
position: number;
|
|
523
|
-
|
|
1041
|
+
id: string;
|
|
524
1042
|
value: {
|
|
525
1043
|
left: number;
|
|
526
1044
|
top: number;
|
|
527
1045
|
};
|
|
528
|
-
|
|
1046
|
+
type: KeyframeType.Position;
|
|
529
1047
|
itemId: string;
|
|
530
1048
|
layoutId: string;
|
|
531
1049
|
}, {
|
|
532
1050
|
position: number;
|
|
533
|
-
|
|
1051
|
+
id: string;
|
|
534
1052
|
value: {
|
|
535
1053
|
left: number;
|
|
536
1054
|
top: number;
|
|
537
1055
|
};
|
|
538
|
-
|
|
1056
|
+
type: KeyframeType.Position;
|
|
539
1057
|
itemId: string;
|
|
540
1058
|
layoutId: string;
|
|
541
1059
|
}>, z.ZodObject<{
|
|
@@ -553,20 +1071,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
553
1071
|
}>;
|
|
554
1072
|
}, "strip", z.ZodTypeAny, {
|
|
555
1073
|
position: number;
|
|
556
|
-
|
|
1074
|
+
id: string;
|
|
557
1075
|
value: {
|
|
558
1076
|
angle: number;
|
|
559
1077
|
};
|
|
560
|
-
|
|
1078
|
+
type: KeyframeType.Rotation;
|
|
561
1079
|
itemId: string;
|
|
562
1080
|
layoutId: string;
|
|
563
1081
|
}, {
|
|
564
1082
|
position: number;
|
|
565
|
-
|
|
1083
|
+
id: string;
|
|
566
1084
|
value: {
|
|
567
1085
|
angle: number;
|
|
568
1086
|
};
|
|
569
|
-
|
|
1087
|
+
type: KeyframeType.Rotation;
|
|
570
1088
|
itemId: string;
|
|
571
1089
|
layoutId: string;
|
|
572
1090
|
}>, z.ZodObject<{
|
|
@@ -584,20 +1102,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
584
1102
|
}>;
|
|
585
1103
|
}, "strip", z.ZodTypeAny, {
|
|
586
1104
|
position: number;
|
|
587
|
-
|
|
1105
|
+
id: string;
|
|
588
1106
|
value: {
|
|
589
1107
|
radius: number;
|
|
590
1108
|
};
|
|
591
|
-
|
|
1109
|
+
type: KeyframeType.BorderRadius;
|
|
592
1110
|
itemId: string;
|
|
593
1111
|
layoutId: string;
|
|
594
1112
|
}, {
|
|
595
1113
|
position: number;
|
|
596
|
-
|
|
1114
|
+
id: string;
|
|
597
1115
|
value: {
|
|
598
1116
|
radius: number;
|
|
599
1117
|
};
|
|
600
|
-
|
|
1118
|
+
type: KeyframeType.BorderRadius;
|
|
601
1119
|
itemId: string;
|
|
602
1120
|
layoutId: string;
|
|
603
1121
|
}>, z.ZodObject<{
|
|
@@ -615,20 +1133,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
615
1133
|
}>;
|
|
616
1134
|
}, "strip", z.ZodTypeAny, {
|
|
617
1135
|
position: number;
|
|
618
|
-
|
|
1136
|
+
id: string;
|
|
619
1137
|
value: {
|
|
620
1138
|
borderWidth: number;
|
|
621
1139
|
};
|
|
622
|
-
|
|
1140
|
+
type: KeyframeType.BorderWidth;
|
|
623
1141
|
itemId: string;
|
|
624
1142
|
layoutId: string;
|
|
625
1143
|
}, {
|
|
626
1144
|
position: number;
|
|
627
|
-
|
|
1145
|
+
id: string;
|
|
628
1146
|
value: {
|
|
629
1147
|
borderWidth: number;
|
|
630
1148
|
};
|
|
631
|
-
|
|
1149
|
+
type: KeyframeType.BorderWidth;
|
|
632
1150
|
itemId: string;
|
|
633
1151
|
layoutId: string;
|
|
634
1152
|
}>, z.ZodObject<{
|
|
@@ -636,61 +1154,289 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
636
1154
|
id: z.ZodString;
|
|
637
1155
|
itemId: z.ZodString;
|
|
638
1156
|
layoutId: z.ZodString;
|
|
639
|
-
type: z.ZodLiteral<KeyframeType.
|
|
640
|
-
value: z.ZodObject<{
|
|
641
|
-
|
|
1157
|
+
type: z.ZodLiteral<KeyframeType.BorderFill>;
|
|
1158
|
+
value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1159
|
+
id: z.ZodString;
|
|
1160
|
+
type: z.ZodLiteral<"solid">;
|
|
1161
|
+
value: z.ZodString;
|
|
1162
|
+
blendMode: z.ZodString;
|
|
642
1163
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
-
|
|
1164
|
+
id: string;
|
|
1165
|
+
value: string;
|
|
1166
|
+
type: "solid";
|
|
1167
|
+
blendMode: string;
|
|
644
1168
|
}, {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
}, {
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
layoutId: z.ZodString;
|
|
670
|
-
type: z.ZodLiteral<KeyframeType.BorderColor>;
|
|
671
|
-
value: z.ZodObject<{
|
|
672
|
-
color: z.ZodString;
|
|
1169
|
+
id: string;
|
|
1170
|
+
value: string;
|
|
1171
|
+
type: "solid";
|
|
1172
|
+
blendMode: string;
|
|
1173
|
+
}>, z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
type: z.ZodLiteral<"linear-gradient">;
|
|
1176
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1177
|
+
id: z.ZodString;
|
|
1178
|
+
value: z.ZodString;
|
|
1179
|
+
position: z.ZodNumber;
|
|
1180
|
+
}, "strip", z.ZodTypeAny, {
|
|
1181
|
+
position: number;
|
|
1182
|
+
id: string;
|
|
1183
|
+
value: string;
|
|
1184
|
+
}, {
|
|
1185
|
+
position: number;
|
|
1186
|
+
id: string;
|
|
1187
|
+
value: string;
|
|
1188
|
+
}>, "many">;
|
|
1189
|
+
start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1190
|
+
end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1191
|
+
angle: z.ZodNumber;
|
|
1192
|
+
blendMode: z.ZodString;
|
|
673
1193
|
}, "strip", z.ZodTypeAny, {
|
|
674
|
-
|
|
1194
|
+
id: string;
|
|
1195
|
+
type: "linear-gradient";
|
|
1196
|
+
blendMode: string;
|
|
1197
|
+
colors: {
|
|
1198
|
+
position: number;
|
|
1199
|
+
id: string;
|
|
1200
|
+
value: string;
|
|
1201
|
+
}[];
|
|
1202
|
+
start: [number, number];
|
|
1203
|
+
end: [number, number];
|
|
1204
|
+
angle: number;
|
|
675
1205
|
}, {
|
|
676
|
-
|
|
677
|
-
|
|
1206
|
+
id: string;
|
|
1207
|
+
type: "linear-gradient";
|
|
1208
|
+
blendMode: string;
|
|
1209
|
+
colors: {
|
|
1210
|
+
position: number;
|
|
1211
|
+
id: string;
|
|
1212
|
+
value: string;
|
|
1213
|
+
}[];
|
|
1214
|
+
start: [number, number];
|
|
1215
|
+
end: [number, number];
|
|
1216
|
+
angle: number;
|
|
1217
|
+
}>, z.ZodObject<{
|
|
1218
|
+
id: z.ZodString;
|
|
1219
|
+
type: z.ZodLiteral<"radial-gradient">;
|
|
1220
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1221
|
+
id: z.ZodString;
|
|
1222
|
+
value: z.ZodString;
|
|
1223
|
+
position: z.ZodNumber;
|
|
1224
|
+
}, "strip", z.ZodTypeAny, {
|
|
1225
|
+
position: number;
|
|
1226
|
+
id: string;
|
|
1227
|
+
value: string;
|
|
1228
|
+
}, {
|
|
1229
|
+
position: number;
|
|
1230
|
+
id: string;
|
|
1231
|
+
value: string;
|
|
1232
|
+
}>, "many">;
|
|
1233
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1234
|
+
diameter: z.ZodNumber;
|
|
1235
|
+
angle: z.ZodNumber;
|
|
1236
|
+
blendMode: z.ZodString;
|
|
1237
|
+
}, "strip", z.ZodTypeAny, {
|
|
1238
|
+
center: [number, number];
|
|
1239
|
+
id: string;
|
|
1240
|
+
type: "radial-gradient";
|
|
1241
|
+
blendMode: string;
|
|
1242
|
+
colors: {
|
|
1243
|
+
position: number;
|
|
1244
|
+
id: string;
|
|
1245
|
+
value: string;
|
|
1246
|
+
}[];
|
|
1247
|
+
angle: number;
|
|
1248
|
+
diameter: number;
|
|
1249
|
+
}, {
|
|
1250
|
+
center: [number, number];
|
|
1251
|
+
id: string;
|
|
1252
|
+
type: "radial-gradient";
|
|
1253
|
+
blendMode: string;
|
|
1254
|
+
colors: {
|
|
1255
|
+
position: number;
|
|
1256
|
+
id: string;
|
|
1257
|
+
value: string;
|
|
1258
|
+
}[];
|
|
1259
|
+
angle: number;
|
|
1260
|
+
diameter: number;
|
|
1261
|
+
}>, z.ZodObject<{
|
|
1262
|
+
id: z.ZodString;
|
|
1263
|
+
type: z.ZodLiteral<"conic-gradient">;
|
|
1264
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1265
|
+
id: z.ZodString;
|
|
1266
|
+
value: z.ZodString;
|
|
1267
|
+
position: z.ZodNumber;
|
|
1268
|
+
}, "strip", z.ZodTypeAny, {
|
|
1269
|
+
position: number;
|
|
1270
|
+
id: string;
|
|
1271
|
+
value: string;
|
|
1272
|
+
}, {
|
|
1273
|
+
position: number;
|
|
1274
|
+
id: string;
|
|
1275
|
+
value: string;
|
|
1276
|
+
}>, "many">;
|
|
1277
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1278
|
+
angle: z.ZodNumber;
|
|
1279
|
+
blendMode: z.ZodString;
|
|
1280
|
+
}, "strip", z.ZodTypeAny, {
|
|
1281
|
+
center: [number, number];
|
|
1282
|
+
id: string;
|
|
1283
|
+
type: "conic-gradient";
|
|
1284
|
+
blendMode: string;
|
|
1285
|
+
colors: {
|
|
1286
|
+
position: number;
|
|
1287
|
+
id: string;
|
|
1288
|
+
value: string;
|
|
1289
|
+
}[];
|
|
1290
|
+
angle: number;
|
|
1291
|
+
}, {
|
|
1292
|
+
center: [number, number];
|
|
1293
|
+
id: string;
|
|
1294
|
+
type: "conic-gradient";
|
|
1295
|
+
blendMode: string;
|
|
1296
|
+
colors: {
|
|
1297
|
+
position: number;
|
|
1298
|
+
id: string;
|
|
1299
|
+
value: string;
|
|
1300
|
+
}[];
|
|
1301
|
+
angle: number;
|
|
1302
|
+
}>, z.ZodObject<{
|
|
1303
|
+
id: z.ZodString;
|
|
1304
|
+
type: z.ZodLiteral<"image">;
|
|
1305
|
+
src: z.ZodString;
|
|
1306
|
+
behavior: z.ZodString;
|
|
1307
|
+
backgroundSize: z.ZodNumber;
|
|
1308
|
+
opacity: z.ZodNumber;
|
|
1309
|
+
blendMode: z.ZodString;
|
|
1310
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
opacity: number;
|
|
1313
|
+
id: string;
|
|
1314
|
+
type: "image";
|
|
1315
|
+
blendMode: string;
|
|
1316
|
+
src: string;
|
|
1317
|
+
behavior: string;
|
|
1318
|
+
backgroundSize: number;
|
|
1319
|
+
rotation?: number | undefined;
|
|
1320
|
+
}, {
|
|
1321
|
+
opacity: number;
|
|
1322
|
+
id: string;
|
|
1323
|
+
type: "image";
|
|
1324
|
+
blendMode: string;
|
|
1325
|
+
src: string;
|
|
1326
|
+
behavior: string;
|
|
1327
|
+
backgroundSize: number;
|
|
1328
|
+
rotation?: number | undefined;
|
|
1329
|
+
}>]>, "many">;
|
|
678
1330
|
}, "strip", z.ZodTypeAny, {
|
|
679
1331
|
position: number;
|
|
680
|
-
type: KeyframeType.BorderColor;
|
|
681
|
-
value: {
|
|
682
|
-
color: string;
|
|
683
|
-
};
|
|
684
1332
|
id: string;
|
|
1333
|
+
value: ({
|
|
1334
|
+
id: string;
|
|
1335
|
+
value: string;
|
|
1336
|
+
type: "solid";
|
|
1337
|
+
blendMode: string;
|
|
1338
|
+
} | {
|
|
1339
|
+
id: string;
|
|
1340
|
+
type: "linear-gradient";
|
|
1341
|
+
blendMode: string;
|
|
1342
|
+
colors: {
|
|
1343
|
+
position: number;
|
|
1344
|
+
id: string;
|
|
1345
|
+
value: string;
|
|
1346
|
+
}[];
|
|
1347
|
+
start: [number, number];
|
|
1348
|
+
end: [number, number];
|
|
1349
|
+
angle: number;
|
|
1350
|
+
} | {
|
|
1351
|
+
center: [number, number];
|
|
1352
|
+
id: string;
|
|
1353
|
+
type: "radial-gradient";
|
|
1354
|
+
blendMode: string;
|
|
1355
|
+
colors: {
|
|
1356
|
+
position: number;
|
|
1357
|
+
id: string;
|
|
1358
|
+
value: string;
|
|
1359
|
+
}[];
|
|
1360
|
+
angle: number;
|
|
1361
|
+
diameter: number;
|
|
1362
|
+
} | {
|
|
1363
|
+
center: [number, number];
|
|
1364
|
+
id: string;
|
|
1365
|
+
type: "conic-gradient";
|
|
1366
|
+
blendMode: string;
|
|
1367
|
+
colors: {
|
|
1368
|
+
position: number;
|
|
1369
|
+
id: string;
|
|
1370
|
+
value: string;
|
|
1371
|
+
}[];
|
|
1372
|
+
angle: number;
|
|
1373
|
+
} | {
|
|
1374
|
+
opacity: number;
|
|
1375
|
+
id: string;
|
|
1376
|
+
type: "image";
|
|
1377
|
+
blendMode: string;
|
|
1378
|
+
src: string;
|
|
1379
|
+
behavior: string;
|
|
1380
|
+
backgroundSize: number;
|
|
1381
|
+
rotation?: number | undefined;
|
|
1382
|
+
})[];
|
|
1383
|
+
type: KeyframeType.BorderFill;
|
|
685
1384
|
itemId: string;
|
|
686
1385
|
layoutId: string;
|
|
687
1386
|
}, {
|
|
688
1387
|
position: number;
|
|
689
|
-
type: KeyframeType.BorderColor;
|
|
690
|
-
value: {
|
|
691
|
-
color: string;
|
|
692
|
-
};
|
|
693
1388
|
id: string;
|
|
1389
|
+
value: ({
|
|
1390
|
+
id: string;
|
|
1391
|
+
value: string;
|
|
1392
|
+
type: "solid";
|
|
1393
|
+
blendMode: string;
|
|
1394
|
+
} | {
|
|
1395
|
+
id: string;
|
|
1396
|
+
type: "linear-gradient";
|
|
1397
|
+
blendMode: string;
|
|
1398
|
+
colors: {
|
|
1399
|
+
position: number;
|
|
1400
|
+
id: string;
|
|
1401
|
+
value: string;
|
|
1402
|
+
}[];
|
|
1403
|
+
start: [number, number];
|
|
1404
|
+
end: [number, number];
|
|
1405
|
+
angle: number;
|
|
1406
|
+
} | {
|
|
1407
|
+
center: [number, number];
|
|
1408
|
+
id: string;
|
|
1409
|
+
type: "radial-gradient";
|
|
1410
|
+
blendMode: string;
|
|
1411
|
+
colors: {
|
|
1412
|
+
position: number;
|
|
1413
|
+
id: string;
|
|
1414
|
+
value: string;
|
|
1415
|
+
}[];
|
|
1416
|
+
angle: number;
|
|
1417
|
+
diameter: number;
|
|
1418
|
+
} | {
|
|
1419
|
+
center: [number, number];
|
|
1420
|
+
id: string;
|
|
1421
|
+
type: "conic-gradient";
|
|
1422
|
+
blendMode: string;
|
|
1423
|
+
colors: {
|
|
1424
|
+
position: number;
|
|
1425
|
+
id: string;
|
|
1426
|
+
value: string;
|
|
1427
|
+
}[];
|
|
1428
|
+
angle: number;
|
|
1429
|
+
} | {
|
|
1430
|
+
opacity: number;
|
|
1431
|
+
id: string;
|
|
1432
|
+
type: "image";
|
|
1433
|
+
blendMode: string;
|
|
1434
|
+
src: string;
|
|
1435
|
+
behavior: string;
|
|
1436
|
+
backgroundSize: number;
|
|
1437
|
+
rotation?: number | undefined;
|
|
1438
|
+
})[];
|
|
1439
|
+
type: KeyframeType.BorderFill;
|
|
694
1440
|
itemId: string;
|
|
695
1441
|
layoutId: string;
|
|
696
1442
|
}>, z.ZodObject<{
|
|
@@ -708,20 +1454,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
708
1454
|
}>;
|
|
709
1455
|
}, "strip", z.ZodTypeAny, {
|
|
710
1456
|
position: number;
|
|
711
|
-
|
|
1457
|
+
id: string;
|
|
712
1458
|
value: {
|
|
713
1459
|
opacity: number;
|
|
714
1460
|
};
|
|
715
|
-
|
|
1461
|
+
type: KeyframeType.Opacity;
|
|
716
1462
|
itemId: string;
|
|
717
1463
|
layoutId: string;
|
|
718
1464
|
}, {
|
|
719
1465
|
position: number;
|
|
720
|
-
|
|
1466
|
+
id: string;
|
|
721
1467
|
value: {
|
|
722
1468
|
opacity: number;
|
|
723
1469
|
};
|
|
724
|
-
|
|
1470
|
+
type: KeyframeType.Opacity;
|
|
725
1471
|
itemId: string;
|
|
726
1472
|
layoutId: string;
|
|
727
1473
|
}>, z.ZodObject<{
|
|
@@ -739,20 +1485,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
739
1485
|
}>;
|
|
740
1486
|
}, "strip", z.ZodTypeAny, {
|
|
741
1487
|
position: number;
|
|
742
|
-
|
|
1488
|
+
id: string;
|
|
743
1489
|
value: {
|
|
744
1490
|
scale: number;
|
|
745
1491
|
};
|
|
746
|
-
|
|
1492
|
+
type: KeyframeType.Scale;
|
|
747
1493
|
itemId: string;
|
|
748
1494
|
layoutId: string;
|
|
749
1495
|
}, {
|
|
750
1496
|
position: number;
|
|
751
|
-
|
|
1497
|
+
id: string;
|
|
752
1498
|
value: {
|
|
753
1499
|
scale: number;
|
|
754
1500
|
};
|
|
755
|
-
|
|
1501
|
+
type: KeyframeType.Scale;
|
|
756
1502
|
itemId: string;
|
|
757
1503
|
layoutId: string;
|
|
758
1504
|
}>, z.ZodObject<{
|
|
@@ -770,20 +1516,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
770
1516
|
}>;
|
|
771
1517
|
}, "strip", z.ZodTypeAny, {
|
|
772
1518
|
position: number;
|
|
773
|
-
|
|
1519
|
+
id: string;
|
|
774
1520
|
value: {
|
|
775
1521
|
blur: number;
|
|
776
1522
|
};
|
|
777
|
-
|
|
1523
|
+
type: KeyframeType.Blur;
|
|
778
1524
|
itemId: string;
|
|
779
1525
|
layoutId: string;
|
|
780
1526
|
}, {
|
|
781
1527
|
position: number;
|
|
782
|
-
|
|
1528
|
+
id: string;
|
|
783
1529
|
value: {
|
|
784
1530
|
blur: number;
|
|
785
1531
|
};
|
|
786
|
-
|
|
1532
|
+
type: KeyframeType.Blur;
|
|
787
1533
|
itemId: string;
|
|
788
1534
|
layoutId: string;
|
|
789
1535
|
}>, z.ZodObject<{
|
|
@@ -801,20 +1547,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
801
1547
|
}>;
|
|
802
1548
|
}, "strip", z.ZodTypeAny, {
|
|
803
1549
|
position: number;
|
|
804
|
-
|
|
1550
|
+
id: string;
|
|
805
1551
|
value: {
|
|
806
1552
|
backdropBlur: number;
|
|
807
1553
|
};
|
|
808
|
-
|
|
1554
|
+
type: KeyframeType.BackdropBlur;
|
|
809
1555
|
itemId: string;
|
|
810
1556
|
layoutId: string;
|
|
811
1557
|
}, {
|
|
812
1558
|
position: number;
|
|
813
|
-
|
|
1559
|
+
id: string;
|
|
814
1560
|
value: {
|
|
815
1561
|
backdropBlur: number;
|
|
816
1562
|
};
|
|
817
|
-
|
|
1563
|
+
type: KeyframeType.BackdropBlur;
|
|
818
1564
|
itemId: string;
|
|
819
1565
|
layoutId: string;
|
|
820
1566
|
}>, z.ZodObject<{
|
|
@@ -832,20 +1578,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
832
1578
|
}>;
|
|
833
1579
|
}, "strip", z.ZodTypeAny, {
|
|
834
1580
|
position: number;
|
|
835
|
-
|
|
1581
|
+
id: string;
|
|
836
1582
|
value: {
|
|
837
1583
|
color: string;
|
|
838
1584
|
};
|
|
839
|
-
|
|
1585
|
+
type: KeyframeType.TextColor;
|
|
840
1586
|
itemId: string;
|
|
841
1587
|
layoutId: string;
|
|
842
1588
|
}, {
|
|
843
1589
|
position: number;
|
|
844
|
-
|
|
1590
|
+
id: string;
|
|
845
1591
|
value: {
|
|
846
1592
|
color: string;
|
|
847
1593
|
};
|
|
848
|
-
|
|
1594
|
+
type: KeyframeType.TextColor;
|
|
849
1595
|
itemId: string;
|
|
850
1596
|
layoutId: string;
|
|
851
1597
|
}>, z.ZodObject<{
|
|
@@ -863,20 +1609,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
863
1609
|
}>;
|
|
864
1610
|
}, "strip", z.ZodTypeAny, {
|
|
865
1611
|
position: number;
|
|
866
|
-
|
|
1612
|
+
id: string;
|
|
867
1613
|
value: {
|
|
868
1614
|
letterSpacing: number;
|
|
869
1615
|
};
|
|
870
|
-
|
|
1616
|
+
type: KeyframeType.LetterSpacing;
|
|
871
1617
|
itemId: string;
|
|
872
1618
|
layoutId: string;
|
|
873
1619
|
}, {
|
|
874
1620
|
position: number;
|
|
875
|
-
|
|
1621
|
+
id: string;
|
|
876
1622
|
value: {
|
|
877
1623
|
letterSpacing: number;
|
|
878
1624
|
};
|
|
879
|
-
|
|
1625
|
+
type: KeyframeType.LetterSpacing;
|
|
880
1626
|
itemId: string;
|
|
881
1627
|
layoutId: string;
|
|
882
1628
|
}>, z.ZodObject<{
|
|
@@ -894,20 +1640,20 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
894
1640
|
}>;
|
|
895
1641
|
}, "strip", z.ZodTypeAny, {
|
|
896
1642
|
position: number;
|
|
897
|
-
|
|
1643
|
+
id: string;
|
|
898
1644
|
value: {
|
|
899
1645
|
wordSpacing: number;
|
|
900
1646
|
};
|
|
901
|
-
|
|
1647
|
+
type: KeyframeType.WordSpacing;
|
|
902
1648
|
itemId: string;
|
|
903
1649
|
layoutId: string;
|
|
904
1650
|
}, {
|
|
905
1651
|
position: number;
|
|
906
|
-
|
|
1652
|
+
id: string;
|
|
907
1653
|
value: {
|
|
908
1654
|
wordSpacing: number;
|
|
909
1655
|
};
|
|
910
|
-
|
|
1656
|
+
type: KeyframeType.WordSpacing;
|
|
911
1657
|
itemId: string;
|
|
912
1658
|
layoutId: string;
|
|
913
1659
|
}>, z.ZodObject<{
|
|
@@ -919,16 +1665,306 @@ export declare const KeyframesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type",
|
|
|
919
1665
|
value: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
920
1666
|
}, "strip", z.ZodTypeAny, {
|
|
921
1667
|
position: number;
|
|
1668
|
+
id: string;
|
|
1669
|
+
value: Record<string, number>;
|
|
922
1670
|
type: KeyframeType.FXParams;
|
|
1671
|
+
itemId: string;
|
|
1672
|
+
layoutId: string;
|
|
1673
|
+
}, {
|
|
1674
|
+
position: number;
|
|
1675
|
+
id: string;
|
|
923
1676
|
value: Record<string, number>;
|
|
1677
|
+
type: KeyframeType.FXParams;
|
|
1678
|
+
itemId: string;
|
|
1679
|
+
layoutId: string;
|
|
1680
|
+
}>, z.ZodObject<{
|
|
1681
|
+
position: z.ZodNumber;
|
|
1682
|
+
id: z.ZodString;
|
|
1683
|
+
itemId: z.ZodString;
|
|
1684
|
+
layoutId: z.ZodString;
|
|
1685
|
+
type: z.ZodLiteral<KeyframeType.Fill>;
|
|
1686
|
+
value: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1687
|
+
id: z.ZodString;
|
|
1688
|
+
type: z.ZodLiteral<"solid">;
|
|
1689
|
+
value: z.ZodString;
|
|
1690
|
+
blendMode: z.ZodString;
|
|
1691
|
+
}, "strip", z.ZodTypeAny, {
|
|
1692
|
+
id: string;
|
|
1693
|
+
value: string;
|
|
1694
|
+
type: "solid";
|
|
1695
|
+
blendMode: string;
|
|
1696
|
+
}, {
|
|
1697
|
+
id: string;
|
|
1698
|
+
value: string;
|
|
1699
|
+
type: "solid";
|
|
1700
|
+
blendMode: string;
|
|
1701
|
+
}>, z.ZodObject<{
|
|
1702
|
+
id: z.ZodString;
|
|
1703
|
+
type: z.ZodLiteral<"linear-gradient">;
|
|
1704
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
value: z.ZodString;
|
|
1707
|
+
position: z.ZodNumber;
|
|
1708
|
+
}, "strip", z.ZodTypeAny, {
|
|
1709
|
+
position: number;
|
|
1710
|
+
id: string;
|
|
1711
|
+
value: string;
|
|
1712
|
+
}, {
|
|
1713
|
+
position: number;
|
|
1714
|
+
id: string;
|
|
1715
|
+
value: string;
|
|
1716
|
+
}>, "many">;
|
|
1717
|
+
start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1718
|
+
end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1719
|
+
angle: z.ZodNumber;
|
|
1720
|
+
blendMode: z.ZodString;
|
|
1721
|
+
}, "strip", z.ZodTypeAny, {
|
|
1722
|
+
id: string;
|
|
1723
|
+
type: "linear-gradient";
|
|
1724
|
+
blendMode: string;
|
|
1725
|
+
colors: {
|
|
1726
|
+
position: number;
|
|
1727
|
+
id: string;
|
|
1728
|
+
value: string;
|
|
1729
|
+
}[];
|
|
1730
|
+
start: [number, number];
|
|
1731
|
+
end: [number, number];
|
|
1732
|
+
angle: number;
|
|
1733
|
+
}, {
|
|
1734
|
+
id: string;
|
|
1735
|
+
type: "linear-gradient";
|
|
1736
|
+
blendMode: string;
|
|
1737
|
+
colors: {
|
|
1738
|
+
position: number;
|
|
1739
|
+
id: string;
|
|
1740
|
+
value: string;
|
|
1741
|
+
}[];
|
|
1742
|
+
start: [number, number];
|
|
1743
|
+
end: [number, number];
|
|
1744
|
+
angle: number;
|
|
1745
|
+
}>, z.ZodObject<{
|
|
1746
|
+
id: z.ZodString;
|
|
1747
|
+
type: z.ZodLiteral<"radial-gradient">;
|
|
1748
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1749
|
+
id: z.ZodString;
|
|
1750
|
+
value: z.ZodString;
|
|
1751
|
+
position: z.ZodNumber;
|
|
1752
|
+
}, "strip", z.ZodTypeAny, {
|
|
1753
|
+
position: number;
|
|
1754
|
+
id: string;
|
|
1755
|
+
value: string;
|
|
1756
|
+
}, {
|
|
1757
|
+
position: number;
|
|
1758
|
+
id: string;
|
|
1759
|
+
value: string;
|
|
1760
|
+
}>, "many">;
|
|
1761
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1762
|
+
diameter: z.ZodNumber;
|
|
1763
|
+
angle: z.ZodNumber;
|
|
1764
|
+
blendMode: z.ZodString;
|
|
1765
|
+
}, "strip", z.ZodTypeAny, {
|
|
1766
|
+
center: [number, number];
|
|
1767
|
+
id: string;
|
|
1768
|
+
type: "radial-gradient";
|
|
1769
|
+
blendMode: string;
|
|
1770
|
+
colors: {
|
|
1771
|
+
position: number;
|
|
1772
|
+
id: string;
|
|
1773
|
+
value: string;
|
|
1774
|
+
}[];
|
|
1775
|
+
angle: number;
|
|
1776
|
+
diameter: number;
|
|
1777
|
+
}, {
|
|
1778
|
+
center: [number, number];
|
|
1779
|
+
id: string;
|
|
1780
|
+
type: "radial-gradient";
|
|
1781
|
+
blendMode: string;
|
|
1782
|
+
colors: {
|
|
1783
|
+
position: number;
|
|
1784
|
+
id: string;
|
|
1785
|
+
value: string;
|
|
1786
|
+
}[];
|
|
1787
|
+
angle: number;
|
|
1788
|
+
diameter: number;
|
|
1789
|
+
}>, z.ZodObject<{
|
|
1790
|
+
id: z.ZodString;
|
|
1791
|
+
type: z.ZodLiteral<"conic-gradient">;
|
|
1792
|
+
colors: z.ZodArray<z.ZodObject<{
|
|
1793
|
+
id: z.ZodString;
|
|
1794
|
+
value: z.ZodString;
|
|
1795
|
+
position: z.ZodNumber;
|
|
1796
|
+
}, "strip", z.ZodTypeAny, {
|
|
1797
|
+
position: number;
|
|
1798
|
+
id: string;
|
|
1799
|
+
value: string;
|
|
1800
|
+
}, {
|
|
1801
|
+
position: number;
|
|
1802
|
+
id: string;
|
|
1803
|
+
value: string;
|
|
1804
|
+
}>, "many">;
|
|
1805
|
+
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
1806
|
+
angle: z.ZodNumber;
|
|
1807
|
+
blendMode: z.ZodString;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
center: [number, number];
|
|
1810
|
+
id: string;
|
|
1811
|
+
type: "conic-gradient";
|
|
1812
|
+
blendMode: string;
|
|
1813
|
+
colors: {
|
|
1814
|
+
position: number;
|
|
1815
|
+
id: string;
|
|
1816
|
+
value: string;
|
|
1817
|
+
}[];
|
|
1818
|
+
angle: number;
|
|
1819
|
+
}, {
|
|
1820
|
+
center: [number, number];
|
|
1821
|
+
id: string;
|
|
1822
|
+
type: "conic-gradient";
|
|
1823
|
+
blendMode: string;
|
|
1824
|
+
colors: {
|
|
1825
|
+
position: number;
|
|
1826
|
+
id: string;
|
|
1827
|
+
value: string;
|
|
1828
|
+
}[];
|
|
1829
|
+
angle: number;
|
|
1830
|
+
}>, z.ZodObject<{
|
|
1831
|
+
id: z.ZodString;
|
|
1832
|
+
type: z.ZodLiteral<"image">;
|
|
1833
|
+
src: z.ZodString;
|
|
1834
|
+
behavior: z.ZodString;
|
|
1835
|
+
backgroundSize: z.ZodNumber;
|
|
1836
|
+
opacity: z.ZodNumber;
|
|
1837
|
+
blendMode: z.ZodString;
|
|
1838
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
1839
|
+
}, "strip", z.ZodTypeAny, {
|
|
1840
|
+
opacity: number;
|
|
1841
|
+
id: string;
|
|
1842
|
+
type: "image";
|
|
1843
|
+
blendMode: string;
|
|
1844
|
+
src: string;
|
|
1845
|
+
behavior: string;
|
|
1846
|
+
backgroundSize: number;
|
|
1847
|
+
rotation?: number | undefined;
|
|
1848
|
+
}, {
|
|
1849
|
+
opacity: number;
|
|
1850
|
+
id: string;
|
|
1851
|
+
type: "image";
|
|
1852
|
+
blendMode: string;
|
|
1853
|
+
src: string;
|
|
1854
|
+
behavior: string;
|
|
1855
|
+
backgroundSize: number;
|
|
1856
|
+
rotation?: number | undefined;
|
|
1857
|
+
}>]>, "many">;
|
|
1858
|
+
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
position: number;
|
|
924
1860
|
id: string;
|
|
1861
|
+
value: ({
|
|
1862
|
+
id: string;
|
|
1863
|
+
value: string;
|
|
1864
|
+
type: "solid";
|
|
1865
|
+
blendMode: string;
|
|
1866
|
+
} | {
|
|
1867
|
+
id: string;
|
|
1868
|
+
type: "linear-gradient";
|
|
1869
|
+
blendMode: string;
|
|
1870
|
+
colors: {
|
|
1871
|
+
position: number;
|
|
1872
|
+
id: string;
|
|
1873
|
+
value: string;
|
|
1874
|
+
}[];
|
|
1875
|
+
start: [number, number];
|
|
1876
|
+
end: [number, number];
|
|
1877
|
+
angle: number;
|
|
1878
|
+
} | {
|
|
1879
|
+
center: [number, number];
|
|
1880
|
+
id: string;
|
|
1881
|
+
type: "radial-gradient";
|
|
1882
|
+
blendMode: string;
|
|
1883
|
+
colors: {
|
|
1884
|
+
position: number;
|
|
1885
|
+
id: string;
|
|
1886
|
+
value: string;
|
|
1887
|
+
}[];
|
|
1888
|
+
angle: number;
|
|
1889
|
+
diameter: number;
|
|
1890
|
+
} | {
|
|
1891
|
+
center: [number, number];
|
|
1892
|
+
id: string;
|
|
1893
|
+
type: "conic-gradient";
|
|
1894
|
+
blendMode: string;
|
|
1895
|
+
colors: {
|
|
1896
|
+
position: number;
|
|
1897
|
+
id: string;
|
|
1898
|
+
value: string;
|
|
1899
|
+
}[];
|
|
1900
|
+
angle: number;
|
|
1901
|
+
} | {
|
|
1902
|
+
opacity: number;
|
|
1903
|
+
id: string;
|
|
1904
|
+
type: "image";
|
|
1905
|
+
blendMode: string;
|
|
1906
|
+
src: string;
|
|
1907
|
+
behavior: string;
|
|
1908
|
+
backgroundSize: number;
|
|
1909
|
+
rotation?: number | undefined;
|
|
1910
|
+
})[];
|
|
1911
|
+
type: KeyframeType.Fill;
|
|
925
1912
|
itemId: string;
|
|
926
1913
|
layoutId: string;
|
|
927
1914
|
}, {
|
|
928
1915
|
position: number;
|
|
929
|
-
type: KeyframeType.FXParams;
|
|
930
|
-
value: Record<string, number>;
|
|
931
1916
|
id: string;
|
|
1917
|
+
value: ({
|
|
1918
|
+
id: string;
|
|
1919
|
+
value: string;
|
|
1920
|
+
type: "solid";
|
|
1921
|
+
blendMode: string;
|
|
1922
|
+
} | {
|
|
1923
|
+
id: string;
|
|
1924
|
+
type: "linear-gradient";
|
|
1925
|
+
blendMode: string;
|
|
1926
|
+
colors: {
|
|
1927
|
+
position: number;
|
|
1928
|
+
id: string;
|
|
1929
|
+
value: string;
|
|
1930
|
+
}[];
|
|
1931
|
+
start: [number, number];
|
|
1932
|
+
end: [number, number];
|
|
1933
|
+
angle: number;
|
|
1934
|
+
} | {
|
|
1935
|
+
center: [number, number];
|
|
1936
|
+
id: string;
|
|
1937
|
+
type: "radial-gradient";
|
|
1938
|
+
blendMode: string;
|
|
1939
|
+
colors: {
|
|
1940
|
+
position: number;
|
|
1941
|
+
id: string;
|
|
1942
|
+
value: string;
|
|
1943
|
+
}[];
|
|
1944
|
+
angle: number;
|
|
1945
|
+
diameter: number;
|
|
1946
|
+
} | {
|
|
1947
|
+
center: [number, number];
|
|
1948
|
+
id: string;
|
|
1949
|
+
type: "conic-gradient";
|
|
1950
|
+
blendMode: string;
|
|
1951
|
+
colors: {
|
|
1952
|
+
position: number;
|
|
1953
|
+
id: string;
|
|
1954
|
+
value: string;
|
|
1955
|
+
}[];
|
|
1956
|
+
angle: number;
|
|
1957
|
+
} | {
|
|
1958
|
+
opacity: number;
|
|
1959
|
+
id: string;
|
|
1960
|
+
type: "image";
|
|
1961
|
+
blendMode: string;
|
|
1962
|
+
src: string;
|
|
1963
|
+
behavior: string;
|
|
1964
|
+
backgroundSize: number;
|
|
1965
|
+
rotation?: number | undefined;
|
|
1966
|
+
})[];
|
|
1967
|
+
type: KeyframeType.Fill;
|
|
932
1968
|
itemId: string;
|
|
933
1969
|
layoutId: string;
|
|
934
1970
|
}>]>, "many">;
|