@veltdev/sdk-dev 1.0.240 → 1.0.242

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.
@@ -27,3 +27,10 @@ export declare class SingleEditorLiveStateData {
27
27
  editorAccessTimeout: number;
28
28
  } | null;
29
29
  }
30
+ export declare class SingleEditorConfig {
31
+ /**
32
+ * To enable/disable custom mode.
33
+ * When custom mode is enabled, the input elements will not be disabled for viewer.
34
+ */
35
+ customMode?: boolean;
36
+ }
@@ -1,4 +1,5 @@
1
1
  // @ts-nocheck
2
+ import { SingleEditorConfig } from '../data/live-state-data.data.model';
2
3
 
3
4
  /**
4
5
  * Represents the synchronization element for live state.
@@ -24,7 +25,7 @@ export declare class LiveStateSyncElement {
24
25
  /**
25
26
  * Enables the single editor mode.
26
27
  */
27
- enableSingleEditorMode: () => void;
28
+ enableSingleEditorMode: (config?: SingleEditorConfig) => void;
28
29
 
29
30
  /**
30
31
  * Disables the single editor mode.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "1.0.240",
3
+ "version": "1.0.242",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {