@veltdev/sdk-staging 1.0.119 → 1.0.121

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.
@@ -1,7 +1,18 @@
1
- import { LiveStateData } from "./live-state-data.data.model";
1
+ import { LiveStateData, SingleEditorLiveStateData } from "./live-state-data.data.model";
2
2
  export declare class LiveStateDataMap {
3
3
  /**
4
4
  * Map of all unique LiveStateData set by you on the given document.
5
5
  */
6
- [liveStateDataId: string]: LiveStateData;
6
+ custom?: {
7
+ [liveStateDataId: string]: LiveStateData;
8
+ };
9
+ /**
10
+ * Map of all unique LiveStateData set by the default editor on the given document.
11
+ */
12
+ default?: {
13
+ singleEditor?: SingleEditorLiveStateData;
14
+ input?: {
15
+ [liveStateDataId: string]: LiveStateData;
16
+ };
17
+ };
7
18
  }
@@ -17,7 +17,7 @@ export declare class LiveStateData {
17
17
  lastUpdated: any;
18
18
  updatedBy: User;
19
19
  }
20
- export declare class DefaultLiveStateData {
20
+ export declare class SingleEditorLiveStateData {
21
21
  editor?: User | null;
22
22
  requestEditorAccess?: {
23
23
  user: User;
@@ -234,6 +234,8 @@ export declare class Constants {
234
234
  SYNC_VIDEO_PLAYER: string;
235
235
  VELT_INLINE_COMMENT_ID: string;
236
236
  VELT_PDF_VIEWER: string;
237
+ VELT_SYNC_STATE: string;
238
+ VELT_SYNC_ACCESS: string;
237
239
  };
238
240
  static INJECTION_STYLE_PROPS: {
239
241
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "1.0.119",
3
+ "version": "1.0.121",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {