@cesdk/cesdk-js 1.5.0 → 1.5.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.
Binary file
Binary file
@@ -164,14 +164,14 @@ export declare class BlockAPI {
164
164
  * @param type - The type of the block that shall be created.
165
165
  * @returns The created blocks handle.
166
166
  */
167
- create(type: DesignElementType): DesignBlockId;
167
+ create(type: DesignBlockType): DesignBlockId;
168
168
  /**
169
169
 
170
170
  * Get the type of the given block, fails if the block is invalid.
171
171
  * @param id - The block to query.
172
172
  * @returns The blocks type.
173
173
  */
174
- getType(id: DesignBlockId): DesignElementType;
174
+ getType(id: DesignBlockId): DesignBlockType;
175
175
  /**
176
176
  * Update the selection state of a block.
177
177
  * Fails for invalid blocks.
@@ -241,7 +241,7 @@ export declare class BlockAPI {
241
241
  * @param type - The type to search for.
242
242
  * @returns A list of block ids.
243
243
  */
244
- findByType(type: DesignElementType): DesignBlockId[];
244
+ findByType(type: DesignBlockType): DesignBlockId[];
245
245
  /**
246
246
  * Return all blocks currently known to the engine.
247
247
  * @returns A list of block ids.
@@ -994,6 +994,11 @@ declare class CreativeEngine {
994
994
  static PositionMode: typeof PositionMode;
995
995
  static SizeMode: typeof SizeMode;
996
996
  static PropertyType: typeof PropertyType;
997
+ static DesignBlockType: typeof DesignBlockType;
998
+ static MimeType: typeof MimeType_2;
999
+ static StrokePosition: typeof StrokePosition;
1000
+ static StrokeCornerGeometry: typeof StrokeCornerGeometry;
1001
+ static StrokeStyle: typeof StrokeStyle;
997
1002
  block: BlockAPI;
998
1003
  scene: SceneAPI;
999
1004
  variable: VariableAPI;
@@ -1024,7 +1029,7 @@ export declare type DesignBlockId = number;
1024
1029
  /**
1025
1030
  * @public
1026
1031
  */
1027
- export declare enum DesignElementType {
1032
+ export declare enum DesignBlockType {
1028
1033
  Scene = "//ly.img.ubq/scene",
1029
1034
  Camera = "//ly.img.ubq/camera",
1030
1035
  Page = "//ly.img.ubq/page",