@veltdev/sdk-dev 1.0.61 → 1.0.63

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.
@@ -92,4 +92,5 @@ export declare class DocumentPaths {
92
92
  */
93
93
  flock?: string;
94
94
  syncVideoPlayer?: string;
95
+ liveState?: string;
95
96
  }
@@ -1,3 +1,4 @@
1
+ import { User } from "./user.data.model";
1
2
  export declare class LiveStateData {
2
3
  /**
3
4
  * Unique identifier to identify the state data you are syncing.
@@ -8,4 +9,15 @@ export declare class LiveStateData {
8
9
  *
9
10
  */
10
11
  data: string | number | boolean | JSON;
12
+ lastUpdated: any;
13
+ updatedBy: User;
14
+ }
15
+ export declare class DefaultLiveStateData {
16
+ editor?: User | null;
17
+ requestEditorAccess?: {
18
+ user: User;
19
+ requestedAt: any;
20
+ status: 'pending' | 'accepted' | 'rejected';
21
+ waitTime: number;
22
+ } | null;
11
23
  }
@@ -25,6 +25,7 @@ export declare class Constants {
25
25
  static FIREBASE_PARTIAL_PATH_RECORDER: string;
26
26
  static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
27
27
  static FIREBASE_PARTIAL_PATH_SYNC_VIDEO_PLAYER: string;
28
+ static FIREBASE_PARTIAL_PATH_LIVE_STATE: string;
28
29
  static FIREBASE_PARTIAL_PATH_IAM: string;
29
30
  static FIREBASE_PARTIAL_PATH_USERS: string;
30
31
  static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
@@ -291,6 +292,7 @@ export declare class Constants {
291
292
  static VELT_COLOR: string;
292
293
  static VELT_MIN_ARROW_LENGTH: number;
293
294
  static VELT_ARROW_VIEWPORT_PADDING: number;
295
+ static LIVE_STATE_REQUEST_EDITOR_ACCESS_WAIT_TIME: number;
294
296
  static CURSOR: {
295
297
  COMMENT_PIN: string;
296
298
  TAG_PIN: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {