@cesdk/engine 1.57.0-rc.0 → 1.58.0-nightly.20250801
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.57.0-rc.0-QLZZJUAO.wasm → cesdk-v1.58.0-nightly.20250801-J35TECJZ.wasm} +0 -0
- package/assets/core/{worker-host-v1.57.0-rc.0.js → worker-host-v1.58.0-nightly.20250801.js} +1 -1
- package/index.d.ts +1 -53
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.57.0-rc.0-44YCFRT6.data → cesdk-v1.58.0-nightly.20250801-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -1018,7 +1018,6 @@ export declare type AssetTransformPreset = AssetFixedAspectRatio | AssetFreeAspe
|
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Represents the options for exporting audio.
|
|
1020
1020
|
*
|
|
1021
|
-
* @categoryDescription Audio Export Options
|
|
1022
1021
|
* Defines the possible options for exporting audio.
|
|
1023
1022
|
* - 'mimeType': The MIME type of the output audio file.
|
|
1024
1023
|
* - 'onProgress': A callback which reports on the progress of the export.
|
|
@@ -5018,9 +5017,6 @@ export declare class BlockAPI {
|
|
|
5018
5017
|
* The `BlockEvent` interface provides a set of properties that describe an event related to
|
|
5019
5018
|
* a design block, including the block ID and the type of event.
|
|
5020
5019
|
*
|
|
5021
|
-
* @categoryDescription BlockEvent
|
|
5022
|
-
* Methods for working with events related to design blocks.
|
|
5023
|
-
*
|
|
5024
5020
|
* @public
|
|
5025
5021
|
*/
|
|
5026
5022
|
export declare interface BlockEvent {
|
|
@@ -5047,9 +5043,6 @@ export declare type BlockState = BlockStateError | BlockStatePending | BlockStat
|
|
|
5047
5043
|
* The `BlockStateError` interface provides a set of properties that describe an error state
|
|
5048
5044
|
* for a design block, including the type of error and a description of the error.
|
|
5049
5045
|
*
|
|
5050
|
-
* @categoryDescription BlockStateError
|
|
5051
|
-
* Methods for working with error states for design blocks.
|
|
5052
|
-
*
|
|
5053
5046
|
* @public
|
|
5054
5047
|
*/
|
|
5055
5048
|
export declare interface BlockStateError {
|
|
@@ -5063,9 +5056,6 @@ export declare interface BlockStateError {
|
|
|
5063
5056
|
* The `BlockStatePending` interface provides a set of properties that describe a pending
|
|
5064
5057
|
* state for a design block, including the type of state and the progress of the operation.
|
|
5065
5058
|
*
|
|
5066
|
-
* @categoryDescription BlockStatePending
|
|
5067
|
-
* Methods for working with pending states for design blocks.
|
|
5068
|
-
*
|
|
5069
5059
|
* @public
|
|
5070
5060
|
*/
|
|
5071
5061
|
export declare interface BlockStatePending {
|
|
@@ -5080,9 +5070,6 @@ export declare interface BlockStatePending {
|
|
|
5080
5070
|
* The `BlockStateReady` interface provides a set of properties that describe a ready state
|
|
5081
5071
|
* for a design block, including the type of state.
|
|
5082
5072
|
*
|
|
5083
|
-
* @categoryDescription BlockStateReady
|
|
5084
|
-
* Methods for working with ready states for design blocks.
|
|
5085
|
-
*
|
|
5086
5073
|
* @public
|
|
5087
5074
|
*/
|
|
5088
5075
|
export declare interface BlockStateReady {
|
|
@@ -5127,7 +5114,6 @@ export declare type BlurTypeShorthand = 'uniform' | 'linear' | 'mirrored' | 'rad
|
|
|
5127
5114
|
/**
|
|
5128
5115
|
* Represents the names of boolean operations.
|
|
5129
5116
|
*
|
|
5130
|
-
* @categoryDescription Boolean Operation
|
|
5131
5117
|
* Defines the possible boolean operations.
|
|
5132
5118
|
* - 'Difference': The difference between two shapes.
|
|
5133
5119
|
* - 'Intersection': The intersection of two shapes.
|
|
@@ -5144,9 +5130,6 @@ export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' |
|
|
|
5144
5130
|
* The `Buffer` interface provides a set of properties that describe a buffer of data,
|
|
5145
5131
|
* including a handle and the buffer itself.
|
|
5146
5132
|
*
|
|
5147
|
-
* @categoryDescription Buffer
|
|
5148
|
-
* Methods for working with buffers of data.
|
|
5149
|
-
*
|
|
5150
5133
|
* @public
|
|
5151
5134
|
*/
|
|
5152
5135
|
export declare interface Buffer {
|
|
@@ -5188,7 +5171,6 @@ export declare type CMYK = [c: number, m: number, y: number, k: number];
|
|
|
5188
5171
|
/**
|
|
5189
5172
|
* Represents a CMYK color value.
|
|
5190
5173
|
*
|
|
5191
|
-
* @categoryDescription CMYK Color
|
|
5192
5174
|
* Defines a CMYK color value with components between 0 and 1.
|
|
5193
5175
|
* - 'c': The cyan component.
|
|
5194
5176
|
* - 'm': The magenta component.
|
|
@@ -5263,9 +5245,6 @@ export declare interface CompleteAssetResult extends AssetResult {
|
|
|
5263
5245
|
* user ID, core settings, logger, feature flags, presets, force WebGL1, audio output,
|
|
5264
5246
|
* and role.
|
|
5265
5247
|
*
|
|
5266
|
-
* @categoryDescription Configuration
|
|
5267
|
-
* Methods for configuring the settings of the Creative Editor SDK.
|
|
5268
|
-
*
|
|
5269
5248
|
* @public
|
|
5270
5249
|
*/
|
|
5271
5250
|
export declare interface Configuration {
|
|
@@ -5345,9 +5324,6 @@ export declare type CreateSceneOptions = {
|
|
|
5345
5324
|
* It provides APIs to directly interact with assets, blocks, scenes, and variables. These APIs can be used in a headless environment
|
|
5346
5325
|
* to build and manipulate designs programmatically, or in a browser to create interactive applications.
|
|
5347
5326
|
*
|
|
5348
|
-
* @categoryDescription Core APIs
|
|
5349
|
-
* Primary interfaces for working with assets, blocks, scenes, variables, editing, and events.
|
|
5350
|
-
*
|
|
5351
5327
|
* @categoryDescription Engine Management
|
|
5352
5328
|
* Methods for initializing, configuring, and managing the engine lifecycle.
|
|
5353
5329
|
*
|
|
@@ -6477,7 +6453,6 @@ export declare type EffectTypeShorthand = 'adjustments' | 'cross_cut' | 'dot_pat
|
|
|
6477
6453
|
/**
|
|
6478
6454
|
* Represents an engine plugin.
|
|
6479
6455
|
*
|
|
6480
|
-
* @categoryDescription Engine Plugin
|
|
6481
6456
|
* Defines the structure of an engine plugin, including its name, version, and initialization function.
|
|
6482
6457
|
* - 'name': The name of the plugin.
|
|
6483
6458
|
* - 'version': The version of the plugin.
|
|
@@ -6494,7 +6469,6 @@ export declare interface EnginePlugin {
|
|
|
6494
6469
|
/**
|
|
6495
6470
|
* Represents the context for an engine plugin.
|
|
6496
6471
|
*
|
|
6497
|
-
* @categoryDescription Engine Plugin Context
|
|
6498
6472
|
* Defines the context provided to an engine plugin, including APIs for assets, blocks, scenes, editor, events, and variables.
|
|
6499
6473
|
* - 'engine': The engine instance containing APIs for asset, block, scene, editor, event, and variable management.
|
|
6500
6474
|
*
|
|
@@ -6556,7 +6530,6 @@ declare interface ExportAudioOptions {
|
|
|
6556
6530
|
/**
|
|
6557
6531
|
* Represents the options for exporting a design block.
|
|
6558
6532
|
*
|
|
6559
|
-
* @categoryDescription Export Options
|
|
6560
6533
|
* Defines the possible options for exporting a design block.
|
|
6561
6534
|
* - 'mimeType': The MIME type of the output file.
|
|
6562
6535
|
* - 'pngCompressionLevel': The PNG compression level to use, when exporting to PNG.
|
|
@@ -6650,9 +6623,6 @@ export declare type ExportOptions = {
|
|
|
6650
6623
|
* for JPEG, WebP, PNG, and PDF exports, as well as options for resizing and
|
|
6651
6624
|
* adding underlayers.
|
|
6652
6625
|
*
|
|
6653
|
-
* @categoryDescription Export Options
|
|
6654
|
-
* Methods for configuring export settings for design blocks.
|
|
6655
|
-
*
|
|
6656
6626
|
* @public
|
|
6657
6627
|
*/
|
|
6658
6628
|
declare interface ExportOptions_2 {
|
|
@@ -6761,9 +6731,6 @@ declare interface Flip {
|
|
|
6761
6731
|
* The Font interface defines the structure of a font within the Creative Editor SDK.
|
|
6762
6732
|
* It includes properties for the uri, subFamily, weight, and style.
|
|
6763
6733
|
*
|
|
6764
|
-
* @categoryDescription Fonts
|
|
6765
|
-
* Methods for managing fonts within the editor.
|
|
6766
|
-
*
|
|
6767
6734
|
* @public
|
|
6768
6735
|
*/
|
|
6769
6736
|
export declare interface Font {
|
|
@@ -6779,9 +6746,6 @@ export declare interface Font {
|
|
|
6779
6746
|
* The FontStyle type defines the possible styles of a font within the Creative Editor SDK.
|
|
6780
6747
|
* Each style corresponds to a different appearance, allowing for flexibility in how fonts are styled.
|
|
6781
6748
|
*
|
|
6782
|
-
* @categoryDescription Fonts
|
|
6783
|
-
* Methods for managing font styles within the editor.
|
|
6784
|
-
*
|
|
6785
6749
|
* @public
|
|
6786
6750
|
*/
|
|
6787
6751
|
export declare type FontStyle = 'normal' | 'italic';
|
|
@@ -6792,9 +6756,6 @@ export declare type FontStyle = 'normal' | 'italic';
|
|
|
6792
6756
|
* The FontWeight type defines the possible weights of a font within the Creative Editor SDK.
|
|
6793
6757
|
* Each weight corresponds to a different thickness, allowing for flexibility in how fonts are styled.
|
|
6794
6758
|
*
|
|
6795
|
-
* @categoryDescription Fonts
|
|
6796
|
-
* Methods for managing font weights within the editor.
|
|
6797
|
-
*
|
|
6798
6759
|
* @public
|
|
6799
6760
|
*/
|
|
6800
6761
|
export declare type FontWeight = 'thin' | 'extraLight' | 'light' | 'normal' | 'medium' | 'semiBold' | 'bold' | 'extraBold' | 'heavy';
|
|
@@ -6802,7 +6763,6 @@ export declare type FontWeight = 'thin' | 'extraLight' | 'light' | 'normal' | 'm
|
|
|
6802
6763
|
/**
|
|
6803
6764
|
* Represents a gradient color stop.
|
|
6804
6765
|
*
|
|
6805
|
-
* @categoryDescription Gradient Color Stop
|
|
6806
6766
|
* Defines a gradient color stop with a color and a stop position.
|
|
6807
6767
|
* - 'color': The color value.
|
|
6808
6768
|
* - 'stop': The relative position of the color within the gradient in the range [0, 1].
|
|
@@ -7243,7 +7203,6 @@ export declare type RGBA = [r: number, g: number, b: number, a: number];
|
|
|
7243
7203
|
/**
|
|
7244
7204
|
* Represents an RGBA color value.
|
|
7245
7205
|
*
|
|
7246
|
-
* @categoryDescription RGBA Color
|
|
7247
7206
|
* Defines an RGBA color value with components between 0 and 1.
|
|
7248
7207
|
* - 'r': The red component.
|
|
7249
7208
|
* - 'g': The green component.
|
|
@@ -7266,7 +7225,6 @@ export declare interface RGBAColor {
|
|
|
7266
7225
|
/**
|
|
7267
7226
|
* Represents an RGB color value.
|
|
7268
7227
|
*
|
|
7269
|
-
* @categoryDescription RGB Color
|
|
7270
7228
|
* Defines an RGB color value with components between 0 and 1.
|
|
7271
7229
|
* - 'r': The red component.
|
|
7272
7230
|
* - 'g': The green component.
|
|
@@ -7908,7 +7866,7 @@ export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fi
|
|
|
7908
7866
|
*
|
|
7909
7867
|
* @public
|
|
7910
7868
|
*/
|
|
7911
|
-
export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'features/transformEditsRetainCoverMode' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'page/allowCropInteraction' | 'page/allowMoveInteraction' | 'page/allowResizeInteraction' | 'page/allowRotateInteraction' | 'page/dimOutOfPageAreas' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/moveChildrenWhenCroppingFill' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'useSystemFontFallback' | 'forceSystemEmojis';
|
|
7869
|
+
export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'features/transformEditsRetainCoverMode' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'page/allowCropInteraction' | 'page/allowMoveInteraction' | 'page/allowResizeInteraction' | 'page/allowRotateInteraction' | 'page/dimOutOfPageAreas' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/moveChildrenWhenCroppingFill' | 'page/selectWhenNoBlocksSelected' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'useSystemFontFallback' | 'forceSystemEmojis';
|
|
7912
7870
|
|
|
7913
7871
|
/**
|
|
7914
7872
|
* Represents the color settings available in the editor.
|
|
@@ -7968,7 +7926,6 @@ export declare type SettingsColorRGBA = SettingsColor;
|
|
|
7968
7926
|
/**
|
|
7969
7927
|
* Represents the enum settings available in the editor.
|
|
7970
7928
|
*
|
|
7971
|
-
* @categoryDescription Enum Settings
|
|
7972
7929
|
* Defines the possible enum settings in the editor.
|
|
7973
7930
|
* - 'doubleClickSelectionMode': The mode for double-click selection.
|
|
7974
7931
|
* - 'touch/pinchAction': The action for pinch gestures.
|
|
@@ -8092,7 +8049,6 @@ export declare interface Source {
|
|
|
8092
8049
|
/**
|
|
8093
8050
|
* Represents a spot color value.
|
|
8094
8051
|
*
|
|
8095
|
-
* @categoryDescription Spot Color
|
|
8096
8052
|
* Defines a spot color value with a name, tint, and external reference.
|
|
8097
8053
|
* - 'name': The name of the spot color.
|
|
8098
8054
|
* - 'tint': The tint factor.
|
|
@@ -8207,9 +8163,6 @@ export declare type TextCase = 'Normal' | 'Uppercase' | 'Lowercase' | 'Titlecase
|
|
|
8207
8163
|
* The `TransientResource` interface provides a set of properties that describe a transient
|
|
8208
8164
|
* resource, including a URI and the size of the resource.
|
|
8209
8165
|
*
|
|
8210
|
-
* @categoryDescription TransientResource
|
|
8211
|
-
* Methods for working with transient resources.
|
|
8212
|
-
*
|
|
8213
8166
|
* @public
|
|
8214
8167
|
*/
|
|
8215
8168
|
export declare interface TransientResource {
|
|
@@ -8223,9 +8176,6 @@ export declare interface TransientResource {
|
|
|
8223
8176
|
* The Typeface interface defines the structure of a typeface within the Creative Editor SDK.
|
|
8224
8177
|
* It includes properties for the name and fonts.
|
|
8225
8178
|
*
|
|
8226
|
-
* @categoryDescription Fonts
|
|
8227
|
-
* Methods for managing typefaces within the editor.
|
|
8228
|
-
*
|
|
8229
8179
|
* @public
|
|
8230
8180
|
*/
|
|
8231
8181
|
export declare interface Typeface {
|
|
@@ -8240,7 +8190,6 @@ export declare interface Typeface {
|
|
|
8240
8190
|
*
|
|
8241
8191
|
* @deprecated This type definition is not used anymore and will be removed.
|
|
8242
8192
|
*
|
|
8243
|
-
* @categoryDescription Typeface Definition
|
|
8244
8193
|
* Defines the structure of a typeface definition, including metadata, family name, and font details.
|
|
8245
8194
|
* - 'meta': Optional metadata for the typeface, including default status, library, and categories.
|
|
8246
8195
|
* - 'family': The name of the typeface family.
|
|
@@ -8352,7 +8301,6 @@ export declare type VerticalTextAlignment = 'Top' | 'Bottom' | 'Center';
|
|
|
8352
8301
|
/**
|
|
8353
8302
|
* Represents the options for exporting a video.
|
|
8354
8303
|
*
|
|
8355
|
-
* @categoryDescription Video Export Options
|
|
8356
8304
|
* Defines the possible options for exporting a video.
|
|
8357
8305
|
* - 'mimeType': The MIME type of the output video file.
|
|
8358
8306
|
* - 'onProgress': A callback which reports on the progress of the export.
|