@cesdk/node 1.60.0-nightly.20250903 → 1.60.0-nightly.20250905
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.60.0-nightly.20250903-H27FGVTB.wasm → cesdk-v1.60.0-nightly.20250905-OKTSA2HM.wasm} +0 -0
- package/index.d.ts +22 -41
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.60.0-nightly.20250903-44YCFRT6.data → cesdk-v1.60.0-nightly.20250905-44YCFRT6.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -1154,7 +1154,7 @@ export declare type AudioMimeType = Extract<MimeType_2, 'audio/wav'>;
|
|
|
1154
1154
|
* including codec information, technical specifications, and track details.
|
|
1155
1155
|
* @public
|
|
1156
1156
|
*/
|
|
1157
|
-
declare interface AudioTrackInfo {
|
|
1157
|
+
export declare interface AudioTrackInfo {
|
|
1158
1158
|
/** The codec string */
|
|
1159
1159
|
audioCodec: string;
|
|
1160
1160
|
/** The number of audio channels */
|
|
@@ -6570,7 +6570,7 @@ export declare interface EnginePlugin {
|
|
|
6570
6570
|
*
|
|
6571
6571
|
* @public
|
|
6572
6572
|
*/
|
|
6573
|
-
declare type EnginePluginContext = {
|
|
6573
|
+
export declare type EnginePluginContext = {
|
|
6574
6574
|
engine: {
|
|
6575
6575
|
asset: AssetAPI;
|
|
6576
6576
|
block: BlockAPI;
|
|
@@ -7107,7 +7107,7 @@ export declare type ObjectTypeShorthand = DesignBlockTypeShorthand | `shape/${Sh
|
|
|
7107
7107
|
* Type helper for settings keypaths that can optionally include the 'ubq://' prefix.
|
|
7108
7108
|
* @public
|
|
7109
7109
|
*/
|
|
7110
|
-
declare type OptionalPrefix<T extends string> = `ubq://${T}` | T;
|
|
7110
|
+
export declare type OptionalPrefix<T extends string> = `ubq://${T}` | T;
|
|
7111
7111
|
|
|
7112
7112
|
/** @public */
|
|
7113
7113
|
export declare interface PageDuration {
|
|
@@ -7821,49 +7821,23 @@ export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fi
|
|
|
7821
7821
|
* Union type of all valid setting keys.
|
|
7822
7822
|
* @public
|
|
7823
7823
|
*/
|
|
7824
|
-
declare type SettingKey = keyof Settings;
|
|
7824
|
+
export declare type SettingKey = keyof Settings;
|
|
7825
7825
|
|
|
7826
7826
|
/**
|
|
7827
7827
|
* Map of all available settings with their types.
|
|
7828
7828
|
* This provides type-safe access to all editor settings.
|
|
7829
7829
|
*
|
|
7830
|
-
*
|
|
7831
|
-
*
|
|
7832
|
-
*
|
|
7833
|
-
*
|
|
7834
|
-
* -
|
|
7835
|
-
* -
|
|
7836
|
-
* -
|
|
7837
|
-
* - Display options (build version, placeholders, page titles)
|
|
7838
|
-
*
|
|
7839
|
-
* @categoryDescription String Settings
|
|
7840
|
-
* String settings configure paths and textual values:
|
|
7841
|
-
* - Resource paths (base path, font URIs)
|
|
7842
|
-
* - License configuration
|
|
7843
|
-
* - Title formatting (separator, font)
|
|
7844
|
-
*
|
|
7845
|
-
* @categoryDescription Float Settings
|
|
7846
|
-
* Float settings define numerical thresholds and limits:
|
|
7847
|
-
* - Snapping thresholds for position and rotation
|
|
7848
|
-
* - Scale limits for control gizmos
|
|
7830
|
+
* The settings are organized by type:
|
|
7831
|
+
* - Boolean settings control various on/off features in the editor
|
|
7832
|
+
* - String settings configure paths and textual values
|
|
7833
|
+
* - Float settings define numerical thresholds and limits
|
|
7834
|
+
* - Integer settings specify whole number limits
|
|
7835
|
+
* - Color settings control the visual appearance
|
|
7836
|
+
* - Enum settings provide predefined choice options
|
|
7849
7837
|
*
|
|
7850
|
-
* @
|
|
7851
|
-
* Integer settings specify whole number limits:
|
|
7852
|
-
* - Maximum image size constraints
|
|
7853
|
-
*
|
|
7854
|
-
* @categoryDescription Color Settings
|
|
7855
|
-
* Color settings control the visual appearance:
|
|
7856
|
-
* - UI element colors (borders, overlays, highlights)
|
|
7857
|
-
* - Guide colors (snapping, rotation, rule of thirds)
|
|
7858
|
-
* - State colors (error, progress, placeholder highlights)
|
|
7859
|
-
*
|
|
7860
|
-
* @categoryDescription Enum Settings
|
|
7861
|
-
* Enum settings provide predefined choice options:
|
|
7862
|
-
* - Selection modes
|
|
7863
|
-
* - Touch gesture actions
|
|
7864
|
-
* - Camera behavior modes
|
|
7838
|
+
* @public
|
|
7865
7839
|
*/
|
|
7866
|
-
declare interface Settings {
|
|
7840
|
+
export declare interface Settings {
|
|
7867
7841
|
/** Whether to show handles for adjusting the crop area during crop mode. */
|
|
7868
7842
|
'controlGizmo/showCropHandles': boolean;
|
|
7869
7843
|
/** Whether to display the outer handles that scale the full image during crop. */
|
|
@@ -8011,6 +7985,7 @@ declare interface Settings {
|
|
|
8011
7985
|
*
|
|
8012
7986
|
* @deprecated Use keyof Settings or extract the boolean keys from Settings instead.
|
|
8013
7987
|
* @public
|
|
7988
|
+
* @category Boolean Settings
|
|
8014
7989
|
*/
|
|
8015
7990
|
export declare type SettingsBool = {
|
|
8016
7991
|
[K in keyof Settings]: Settings[K] extends boolean ? K : never;
|
|
@@ -8021,6 +7996,7 @@ export declare type SettingsBool = {
|
|
|
8021
7996
|
*
|
|
8022
7997
|
* @deprecated Use keyof Settings or extract the color keys from Settings instead.
|
|
8023
7998
|
* @public
|
|
7999
|
+
* @category Color Settings
|
|
8024
8000
|
*/
|
|
8025
8001
|
export declare type SettingsColor = {
|
|
8026
8002
|
[K in keyof Settings]: Settings[K] extends Color ? K : never;
|
|
@@ -8031,6 +8007,7 @@ export declare type SettingsColor = {
|
|
|
8031
8007
|
*
|
|
8032
8008
|
* @public
|
|
8033
8009
|
* @deprecated Use SettingsColor instead.
|
|
8010
|
+
* @category Color Settings
|
|
8034
8011
|
*/
|
|
8035
8012
|
export declare type SettingsColorRGBA = SettingsColor;
|
|
8036
8013
|
|
|
@@ -8039,6 +8016,7 @@ export declare type SettingsColorRGBA = SettingsColor;
|
|
|
8039
8016
|
*
|
|
8040
8017
|
* @deprecated Use keyof Settings or extract the enum keys from Settings instead.
|
|
8041
8018
|
* @public
|
|
8019
|
+
* @category Enum Settings
|
|
8042
8020
|
*/
|
|
8043
8021
|
export declare type SettingsEnum = Pick<Settings, 'doubleClickSelectionMode' | 'touch/pinchAction' | 'touch/rotateAction' | 'camera/clamping/overshootMode'>;
|
|
8044
8022
|
|
|
@@ -8047,6 +8025,7 @@ export declare type SettingsEnum = Pick<Settings, 'doubleClickSelectionMode' | '
|
|
|
8047
8025
|
*
|
|
8048
8026
|
* @deprecated Use keyof Settings or extract the float keys from Settings instead.
|
|
8049
8027
|
* @public
|
|
8028
|
+
* @category Float Settings
|
|
8050
8029
|
*/
|
|
8051
8030
|
export declare type SettingsFloat = Exclude<{
|
|
8052
8031
|
[K in keyof Settings]: Settings[K] extends number ? K : never;
|
|
@@ -8056,14 +8035,16 @@ export declare type SettingsFloat = Exclude<{
|
|
|
8056
8035
|
* Represents the integer settings available in the editor.
|
|
8057
8036
|
*
|
|
8058
8037
|
* @public
|
|
8038
|
+
* @category Integer Settings
|
|
8059
8039
|
*/
|
|
8060
|
-
declare type SettingsInt = 'maxImageSize';
|
|
8040
|
+
export declare type SettingsInt = 'maxImageSize';
|
|
8061
8041
|
|
|
8062
8042
|
/**
|
|
8063
8043
|
* Represents the string settings available in the editor.
|
|
8064
8044
|
*
|
|
8065
8045
|
* @deprecated Use keyof Settings or extract the string keys from Settings instead.
|
|
8066
8046
|
* @public
|
|
8047
|
+
* @category String Settings
|
|
8067
8048
|
*/
|
|
8068
8049
|
export declare type SettingsString = Exclude<{
|
|
8069
8050
|
[K in keyof Settings]: Settings[K] extends string ? K : never;
|
|
@@ -8089,7 +8070,7 @@ export declare type SettingType = 'Bool' | 'Int' | 'Float' | 'String' | 'Color'
|
|
|
8089
8070
|
* Gets the value type for a specific setting key.
|
|
8090
8071
|
* @public
|
|
8091
8072
|
*/
|
|
8092
|
-
declare type SettingValueType<K extends SettingKey> = Settings[K];
|
|
8073
|
+
export declare type SettingValueType<K extends SettingKey> = Settings[K];
|
|
8093
8074
|
|
|
8094
8075
|
/**
|
|
8095
8076
|
* The block type IDs for the shape blocks. These are the IDs used to create new shapes
|