@cesdk/node 1.53.0-nightly.20250602 → 1.53.0-rc.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/index.d.ts CHANGED
@@ -285,6 +285,35 @@ export declare interface AssetEnumProperty {
285
285
  options: string[];
286
286
  }
287
287
 
288
+ /**
289
+ * Asset transform preset payload fixed aspect ratio
290
+ * @public
291
+ */
292
+ export declare interface AssetFixedAspectRatio {
293
+ type: 'FixedAspectRatio';
294
+ width: number;
295
+ height: number;
296
+ }
297
+
298
+ /**
299
+ * Asset transform preset payload fixed size
300
+ * @public
301
+ */
302
+ export declare interface AssetFixedSize {
303
+ type: 'FixedSize';
304
+ width: number;
305
+ height: number;
306
+ designUnit: DesignUnit;
307
+ }
308
+
309
+ /**
310
+ * Asset transform preset payload free aspect ratio
311
+ * @public
312
+ */
313
+ export declare interface AssetFreeAspectRatio {
314
+ type: 'FreeAspectRatio';
315
+ }
316
+
288
317
  /**
289
318
  * An asset can be member of multiple groups. Groups have a semantic meaning
290
319
  * used to build and group UIs exploring the assets, e.g.sections in the
@@ -344,6 +373,7 @@ export declare interface AssetPayload {
344
373
  color?: AssetColor;
345
374
  sourceSet?: Source[];
346
375
  typeface?: Typeface;
376
+ transformPreset?: AssetTransformPreset;
347
377
  properties?: AssetProperty[];
348
378
  }
349
379
 
@@ -549,6 +579,12 @@ export declare interface AssetStringProperty {
549
579
  defaultValue: string;
550
580
  }
551
581
 
582
+ /**
583
+ * Transform preset payload
584
+ * @public
585
+ */
586
+ export declare type AssetTransformPreset = AssetFixedAspectRatio | AssetFreeAspectRatio | AssetFixedSize;
587
+
552
588
  /**
553
589
  * @public
554
590
  */
@@ -3313,7 +3349,7 @@ export declare type CutoutType = 'Solid' | 'Dashed';
3313
3349
  /**
3314
3350
  * @public
3315
3351
  */
3316
- export declare type DefaultAssetSourceId = 'ly.img.sticker' | 'ly.img.vectorpath' | 'ly.img.colors.defaultPalette' | 'ly.img.filter.lut' | 'ly.img.filter.duotone' | 'ly.img.effect' | 'ly.img.blur' | 'ly.img.typeface';
3352
+ export declare type DefaultAssetSourceId = 'ly.img.sticker' | 'ly.img.vectorpath' | 'ly.img.colors.defaultPalette' | 'ly.img.filter.lut' | 'ly.img.filter.duotone' | 'ly.img.effect' | 'ly.img.blur' | 'ly.img.typeface' | 'ly.img.page.presets' | 'ly.img.page.presets.video' | 'ly.img.crop.presets' | 'ly.img.captionPresets';
3317
3353
 
3318
3354
  /**
3319
3355
  * @public
@@ -3345,7 +3381,7 @@ export declare type DesignBlockTypeLonghand = `//ly.img.ubq/${DesignBlockTypeSho
3345
3381
  * using `cesdk.engine.block.create(id)`.
3346
3382
  * @public
3347
3383
  */
3348
- export declare type DesignBlockTypeShorthand = 'scene' | 'stack' | 'camera' | 'page' | 'graphic' | 'audio' | 'text' | 'group' | 'cutout' | 'track';
3384
+ export declare type DesignBlockTypeShorthand = 'scene' | 'stack' | 'camera' | 'page' | 'graphic' | 'audio' | 'text' | 'group' | 'cutout' | 'track' | 'caption' | 'captionTrack';
3349
3385
 
3350
3386
  /**
3351
3387
  * The unit type in which the page values (size, distances, etc.) are defined.