@cesdk/engine 1.53.0-nightly.20250602 → 1.53.0-rc.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/assets/core/{cesdk-v1.53.0-nightly.20250602-IY374OBG.wasm → cesdk-v1.53.0-rc.1-Z4KNT2ET.wasm} +0 -0
- package/assets/core/{worker-host-v1.53.0-nightly.20250602.js → worker-host-v1.53.0-rc.1.js} +1 -1
- package/index.d.ts +38 -2
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.53.0-nightly.20250602-44YCFRT6.data → cesdk-v1.53.0-rc.1-44YCFRT6.data} +0 -0
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
|
*/
|
|
@@ -3392,7 +3428,7 @@ export declare type CutoutType = 'Solid' | 'Dashed';
|
|
|
3392
3428
|
/**
|
|
3393
3429
|
* @public
|
|
3394
3430
|
*/
|
|
3395
|
-
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';
|
|
3431
|
+
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';
|
|
3396
3432
|
|
|
3397
3433
|
/** @public */
|
|
3398
3434
|
export declare function defaultLogger(message: string, level?: LogLevel): void;
|
|
@@ -3427,7 +3463,7 @@ export declare type DesignBlockTypeLonghand = `//ly.img.ubq/${DesignBlockTypeSho
|
|
|
3427
3463
|
* using `cesdk.engine.block.create(id)`.
|
|
3428
3464
|
* @public
|
|
3429
3465
|
*/
|
|
3430
|
-
export declare type DesignBlockTypeShorthand = 'scene' | 'stack' | 'camera' | 'page' | 'graphic' | 'audio' | 'text' | 'group' | 'cutout' | 'track';
|
|
3466
|
+
export declare type DesignBlockTypeShorthand = 'scene' | 'stack' | 'camera' | 'page' | 'graphic' | 'audio' | 'text' | 'group' | 'cutout' | 'track' | 'caption' | 'captionTrack';
|
|
3431
3467
|
|
|
3432
3468
|
/**
|
|
3433
3469
|
* The unit type in which the page values (size, distances, etc.) are defined.
|