@cesdk/node 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.
|
Binary file
|
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 {
|
|
@@ -5114,7 +5101,6 @@ export declare type BlurTypeShorthand = 'uniform' | 'linear' | 'mirrored' | 'rad
|
|
|
5114
5101
|
/**
|
|
5115
5102
|
* Represents the names of boolean operations.
|
|
5116
5103
|
*
|
|
5117
|
-
* @categoryDescription Boolean Operation
|
|
5118
5104
|
* Defines the possible boolean operations.
|
|
5119
5105
|
* - 'Difference': The difference between two shapes.
|
|
5120
5106
|
* - 'Intersection': The intersection of two shapes.
|
|
@@ -5131,9 +5117,6 @@ export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' |
|
|
|
5131
5117
|
* The `Buffer` interface provides a set of properties that describe a buffer of data,
|
|
5132
5118
|
* including a handle and the buffer itself.
|
|
5133
5119
|
*
|
|
5134
|
-
* @categoryDescription Buffer
|
|
5135
|
-
* Methods for working with buffers of data.
|
|
5136
|
-
*
|
|
5137
5120
|
* @public
|
|
5138
5121
|
*/
|
|
5139
5122
|
declare interface Buffer_2 {
|
|
@@ -5158,7 +5141,6 @@ export declare type CMYK = [c: number, m: number, y: number, k: number];
|
|
|
5158
5141
|
/**
|
|
5159
5142
|
* Represents a CMYK color value.
|
|
5160
5143
|
*
|
|
5161
|
-
* @categoryDescription CMYK Color
|
|
5162
5144
|
* Defines a CMYK color value with components between 0 and 1.
|
|
5163
5145
|
* - 'c': The cyan component.
|
|
5164
5146
|
* - 'm': The magenta component.
|
|
@@ -5233,9 +5215,6 @@ export declare interface CompleteAssetResult extends AssetResult {
|
|
|
5233
5215
|
* user ID, core settings, logger, feature flags, presets, force WebGL1, audio output,
|
|
5234
5216
|
* and role.
|
|
5235
5217
|
*
|
|
5236
|
-
* @categoryDescription Configuration
|
|
5237
|
-
* Methods for configuring the settings of the Creative Editor SDK.
|
|
5238
|
-
*
|
|
5239
5218
|
* @public
|
|
5240
5219
|
*/
|
|
5241
5220
|
export declare interface Configuration {
|
|
@@ -5315,15 +5294,6 @@ export declare type CreateSceneOptions = {
|
|
|
5315
5294
|
* It provides APIs to directly interact with assets, blocks, scenes, and variables. These APIs can be used in a headless environment
|
|
5316
5295
|
* to build and manipulate designs programmatically, or in a browser to create interactive applications.
|
|
5317
5296
|
*
|
|
5318
|
-
* @categoryDescription Core APIs
|
|
5319
|
-
* Primary interfaces for working with assets, blocks, scenes, variables, editing, and events.
|
|
5320
|
-
*
|
|
5321
|
-
* @categoryDescription Engine Management
|
|
5322
|
-
* Methods for initializing, configuring, and managing the engine lifecycle.
|
|
5323
|
-
*
|
|
5324
|
-
* @categoryDescription Asset Sources
|
|
5325
|
-
* Methods for adding default and demo asset sources to the engine.
|
|
5326
|
-
*
|
|
5327
5297
|
* @public
|
|
5328
5298
|
*/
|
|
5329
5299
|
declare class CreativeEngine {
|
|
@@ -6343,7 +6313,6 @@ export declare type EffectTypeShorthand = 'adjustments' | 'cross_cut' | 'dot_pat
|
|
|
6343
6313
|
/**
|
|
6344
6314
|
* Represents an engine plugin.
|
|
6345
6315
|
*
|
|
6346
|
-
* @categoryDescription Engine Plugin
|
|
6347
6316
|
* Defines the structure of an engine plugin, including its name, version, and initialization function.
|
|
6348
6317
|
* - 'name': The name of the plugin.
|
|
6349
6318
|
* - 'version': The version of the plugin.
|
|
@@ -6360,7 +6329,6 @@ export declare interface EnginePlugin {
|
|
|
6360
6329
|
/**
|
|
6361
6330
|
* Represents the context for an engine plugin.
|
|
6362
6331
|
*
|
|
6363
|
-
* @categoryDescription Engine Plugin Context
|
|
6364
6332
|
* Defines the context provided to an engine plugin, including APIs for assets, blocks, scenes, editor, events, and variables.
|
|
6365
6333
|
* - 'engine': The engine instance containing APIs for asset, block, scene, editor, event, and variable management.
|
|
6366
6334
|
*
|
|
@@ -6422,7 +6390,6 @@ declare interface ExportAudioOptions {
|
|
|
6422
6390
|
/**
|
|
6423
6391
|
* Represents the options for exporting a design block.
|
|
6424
6392
|
*
|
|
6425
|
-
* @categoryDescription Export Options
|
|
6426
6393
|
* Defines the possible options for exporting a design block.
|
|
6427
6394
|
* - 'mimeType': The MIME type of the output file.
|
|
6428
6395
|
* - 'pngCompressionLevel': The PNG compression level to use, when exporting to PNG.
|
|
@@ -6516,9 +6483,6 @@ export declare type ExportOptions = {
|
|
|
6516
6483
|
* for JPEG, WebP, PNG, and PDF exports, as well as options for resizing and
|
|
6517
6484
|
* adding underlayers.
|
|
6518
6485
|
*
|
|
6519
|
-
* @categoryDescription Export Options
|
|
6520
|
-
* Methods for configuring export settings for design blocks.
|
|
6521
|
-
*
|
|
6522
6486
|
* @public
|
|
6523
6487
|
*/
|
|
6524
6488
|
declare interface ExportOptions_2 {
|
|
@@ -6627,9 +6591,6 @@ declare interface Flip {
|
|
|
6627
6591
|
* The Font interface defines the structure of a font within the Creative Editor SDK.
|
|
6628
6592
|
* It includes properties for the uri, subFamily, weight, and style.
|
|
6629
6593
|
*
|
|
6630
|
-
* @categoryDescription Fonts
|
|
6631
|
-
* Methods for managing fonts within the editor.
|
|
6632
|
-
*
|
|
6633
6594
|
* @public
|
|
6634
6595
|
*/
|
|
6635
6596
|
export declare interface Font {
|
|
@@ -6645,9 +6606,6 @@ export declare interface Font {
|
|
|
6645
6606
|
* The FontStyle type defines the possible styles of a font within the Creative Editor SDK.
|
|
6646
6607
|
* Each style corresponds to a different appearance, allowing for flexibility in how fonts are styled.
|
|
6647
6608
|
*
|
|
6648
|
-
* @categoryDescription Fonts
|
|
6649
|
-
* Methods for managing font styles within the editor.
|
|
6650
|
-
*
|
|
6651
6609
|
* @public
|
|
6652
6610
|
*/
|
|
6653
6611
|
export declare type FontStyle = 'normal' | 'italic';
|
|
@@ -6658,9 +6616,6 @@ export declare type FontStyle = 'normal' | 'italic';
|
|
|
6658
6616
|
* The FontWeight type defines the possible weights of a font within the Creative Editor SDK.
|
|
6659
6617
|
* Each weight corresponds to a different thickness, allowing for flexibility in how fonts are styled.
|
|
6660
6618
|
*
|
|
6661
|
-
* @categoryDescription Fonts
|
|
6662
|
-
* Methods for managing font weights within the editor.
|
|
6663
|
-
*
|
|
6664
6619
|
* @public
|
|
6665
6620
|
*/
|
|
6666
6621
|
export declare type FontWeight = 'thin' | 'extraLight' | 'light' | 'normal' | 'medium' | 'semiBold' | 'bold' | 'extraBold' | 'heavy';
|
|
@@ -6668,7 +6623,6 @@ export declare type FontWeight = 'thin' | 'extraLight' | 'light' | 'normal' | 'm
|
|
|
6668
6623
|
/**
|
|
6669
6624
|
* Represents a gradient color stop.
|
|
6670
6625
|
*
|
|
6671
|
-
* @categoryDescription Gradient Color Stop
|
|
6672
6626
|
* Defines a gradient color stop with a color and a stop position.
|
|
6673
6627
|
* - 'color': The color value.
|
|
6674
6628
|
* - 'stop': The relative position of the color within the gradient in the range [0, 1].
|
|
@@ -6989,7 +6943,6 @@ export declare type RGBA = [r: number, g: number, b: number, a: number];
|
|
|
6989
6943
|
/**
|
|
6990
6944
|
* Represents an RGBA color value.
|
|
6991
6945
|
*
|
|
6992
|
-
* @categoryDescription RGBA Color
|
|
6993
6946
|
* Defines an RGBA color value with components between 0 and 1.
|
|
6994
6947
|
* - 'r': The red component.
|
|
6995
6948
|
* - 'g': The green component.
|
|
@@ -7012,7 +6965,6 @@ export declare interface RGBAColor {
|
|
|
7012
6965
|
/**
|
|
7013
6966
|
* Represents an RGB color value.
|
|
7014
6967
|
*
|
|
7015
|
-
* @categoryDescription RGB Color
|
|
7016
6968
|
* Defines an RGB color value with components between 0 and 1.
|
|
7017
6969
|
* - 'r': The red component.
|
|
7018
6970
|
* - 'g': The green component.
|
|
@@ -7654,7 +7606,7 @@ export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fi
|
|
|
7654
7606
|
*
|
|
7655
7607
|
* @public
|
|
7656
7608
|
*/
|
|
7657
|
-
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';
|
|
7609
|
+
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';
|
|
7658
7610
|
|
|
7659
7611
|
/**
|
|
7660
7612
|
* Represents the color settings available in the editor.
|
|
@@ -7714,7 +7666,6 @@ export declare type SettingsColorRGBA = SettingsColor;
|
|
|
7714
7666
|
/**
|
|
7715
7667
|
* Represents the enum settings available in the editor.
|
|
7716
7668
|
*
|
|
7717
|
-
* @categoryDescription Enum Settings
|
|
7718
7669
|
* Defines the possible enum settings in the editor.
|
|
7719
7670
|
* - 'doubleClickSelectionMode': The mode for double-click selection.
|
|
7720
7671
|
* - 'touch/pinchAction': The action for pinch gestures.
|
|
@@ -7838,7 +7789,6 @@ export declare interface Source {
|
|
|
7838
7789
|
/**
|
|
7839
7790
|
* Represents a spot color value.
|
|
7840
7791
|
*
|
|
7841
|
-
* @categoryDescription Spot Color
|
|
7842
7792
|
* Defines a spot color value with a name, tint, and external reference.
|
|
7843
7793
|
* - 'name': The name of the spot color.
|
|
7844
7794
|
* - 'tint': The tint factor.
|
|
@@ -7926,9 +7876,6 @@ export declare type TextCase = 'Normal' | 'Uppercase' | 'Lowercase' | 'Titlecase
|
|
|
7926
7876
|
* The `TransientResource` interface provides a set of properties that describe a transient
|
|
7927
7877
|
* resource, including a URI and the size of the resource.
|
|
7928
7878
|
*
|
|
7929
|
-
* @categoryDescription TransientResource
|
|
7930
|
-
* Methods for working with transient resources.
|
|
7931
|
-
*
|
|
7932
7879
|
* @public
|
|
7933
7880
|
*/
|
|
7934
7881
|
export declare interface TransientResource {
|
|
@@ -7942,9 +7889,6 @@ export declare interface TransientResource {
|
|
|
7942
7889
|
* The Typeface interface defines the structure of a typeface within the Creative Editor SDK.
|
|
7943
7890
|
* It includes properties for the name and fonts.
|
|
7944
7891
|
*
|
|
7945
|
-
* @categoryDescription Fonts
|
|
7946
|
-
* Methods for managing typefaces within the editor.
|
|
7947
|
-
*
|
|
7948
7892
|
* @public
|
|
7949
7893
|
*/
|
|
7950
7894
|
export declare interface Typeface {
|
|
@@ -7959,7 +7903,6 @@ export declare interface Typeface {
|
|
|
7959
7903
|
*
|
|
7960
7904
|
* @deprecated This type definition is not used anymore and will be removed.
|
|
7961
7905
|
*
|
|
7962
|
-
* @categoryDescription Typeface Definition
|
|
7963
7906
|
* Defines the structure of a typeface definition, including metadata, family name, and font details.
|
|
7964
7907
|
* - 'meta': Optional metadata for the typeface, including default status, library, and categories.
|
|
7965
7908
|
* - 'family': The name of the typeface family.
|
|
@@ -8071,7 +8014,6 @@ export declare type VerticalTextAlignment = 'Top' | 'Bottom' | 'Center';
|
|
|
8071
8014
|
/**
|
|
8072
8015
|
* Represents the options for exporting a video.
|
|
8073
8016
|
*
|
|
8074
|
-
* @categoryDescription Video Export Options
|
|
8075
8017
|
* Defines the possible options for exporting a video.
|
|
8076
8018
|
* - 'mimeType': The MIME type of the output video file.
|
|
8077
8019
|
* - 'onProgress': A callback which reports on the progress of the export.
|