@veltdev/sdk-dev 1.0.18 → 1.0.20

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.
@@ -24,6 +24,14 @@ export declare class Comment {
24
24
  *
25
25
  */
26
26
  commentHtml?: string;
27
+ /**
28
+ * Html content to replace the comment text when user accepts the comment.
29
+ */
30
+ replaceContentHtml?: string;
31
+ /**
32
+ * Text content to replace the comment text when user accepts the comment.
33
+ */
34
+ replaceContentText?: string;
27
35
  /**
28
36
  * Comment voice recording url.
29
37
  *
@@ -91,4 +91,5 @@ export declare class DocumentPaths {
91
91
  * User follow along path.
92
92
  */
93
93
  flock?: string;
94
+ syncVideoPlayer?: string;
94
95
  }
@@ -0,0 +1,45 @@
1
+ import { User } from "./user.data.model";
2
+ export declare class SyncVideoPlayer {
3
+ /**
4
+ * The id of the player
5
+ */
6
+ playerId?: string;
7
+ /**
8
+ * Last updated timestamp
9
+ */
10
+ lastUpdated?: number;
11
+ /**
12
+ * Last updated by user
13
+ */
14
+ lastUpdatedBy?: User;
15
+ /**
16
+ * Last updated event
17
+ */
18
+ lastUpdatedEvent?: string;
19
+ /**
20
+ * The state of the player
21
+ */
22
+ playerState: SyncVideoPlayerState;
23
+ }
24
+ export declare class SyncVideoPlayerState {
25
+ /**
26
+ * True if the video is playing
27
+ */
28
+ playing?: boolean;
29
+ /**
30
+ * Current time of the video
31
+ */
32
+ currentTime?: number;
33
+ /**
34
+ * True if the video is muted
35
+ */
36
+ muted?: boolean;
37
+ /**
38
+ * Volume of the video
39
+ */
40
+ volume?: number;
41
+ /**
42
+ * Playback rate of the video
43
+ */
44
+ speed?: number;
45
+ }
@@ -24,6 +24,7 @@ export declare class Constants {
24
24
  static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
25
25
  static FIREBASE_PARTIAL_PATH_RECORDER: string;
26
26
  static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
27
+ static FIREBASE_PARTIAL_PATH_SYNC_VIDEO_PLAYER: string;
27
28
  static FIREBASE_PARTIAL_PATH_IAM: string;
28
29
  static FIREBASE_PARTIAL_PATH_USERS: string;
29
30
  static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
@@ -224,6 +225,7 @@ export declare class Constants {
224
225
  VELT_AREA_PIN_HOST: string;
225
226
  VELT_AREA_PIN_HOST_STATIC: string;
226
227
  VELT_AREA_DISABLED: string;
228
+ SYNC_VIDEO_PLAYER_ID: string;
227
229
  };
228
230
  static INJECTION_STYLE_PROPS: {
229
231
  /**
package/models.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from './app/models/data/recorder-annotation.data.model';
28
28
  export * from './app/models/data/rewriter-annotation.data.model';
29
29
  export * from './app/models/data/screen-size.data.model';
30
30
  export * from './app/models/data/selection.model';
31
+ export * from './app/models/data/sync-video-player.data.model';
31
32
  export * from './app/models/data/tag-annotation.data.model';
32
33
  export * from './app/models/data/target-element.data.model';
33
34
  export * from './app/models/data/target-text-range.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {