@cesdk/node 1.67.0-nightly.20260105 → 1.67.0-nightly.20260106

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/index.d.ts CHANGED
@@ -1598,6 +1598,25 @@ export declare class BlockAPI {
1598
1598
  * ```
1599
1599
  */
1600
1600
  loadFromArchiveURL(url: string): Promise<DesignBlockId[]>;
1601
+ /**
1602
+ * Loads blocks from a URL.
1603
+ *
1604
+ * The URL should point to a blocks file within an unzipped archive directory previously saved with `block.saveToArchive`.
1605
+ * The blocks are not attached by default and won't be visible until attached to a page or the scene.
1606
+ * The UUID of the loaded blocks is replaced with a new one.
1607
+ *
1608
+ * @category Block Lifecycle
1609
+ * @param url - The URL to the blocks file
1610
+ * @returns A promise that resolves with a list of block handles
1611
+ * @example
1612
+ * ```typescript
1613
+ * // Load blocks from a URL
1614
+ * const loadedBlocks = await engine.block.loadFromURL('https://example.com/blocks.blocks');
1615
+ * // Attach the first loaded block to the scene
1616
+ * engine.block.appendChild(sceneBlockId, loadedBlocks[0]);
1617
+ * ```
1618
+ */
1619
+ loadFromURL(url: string): Promise<DesignBlockId[]>;
1601
1620
  /**
1602
1621
  * Saves the given blocks to a serialized string.
1603
1622
  *
@@ -8282,6 +8301,8 @@ export declare interface Settings {
8282
8301
  doubleClickToCropEnabled: boolean;
8283
8302
  /** Enable single page mode where only one page is shown at a time. */
8284
8303
  'features/singlePageModeEnabled': boolean;
8304
+ /** Enable file system usage, that allows the engine to use the file system to store files for local uploads. */
8305
+ 'features/fileSystemUsageEnabled': boolean;
8285
8306
  /** Enable the page carousel for navigating between pages. */
8286
8307
  'features/pageCarouselEnabled': boolean;
8287
8308
  /** Whether transform edits should retain the cover mode of the content. */