@veltdev/sdk-dev 1.0.19 → 1.0.21
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/app/models/data/document-paths.data.model.d.ts +1 -0
- package/app/models/data/sync-video-player.data.model.d.ts +45 -0
- package/app/models/element/comment-element.model.d.ts +20 -0
- package/app/utils/constants.d.ts +2 -0
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -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
|
+
}
|
|
@@ -189,6 +189,16 @@ export declare class CommentElement {
|
|
|
189
189
|
*/
|
|
190
190
|
public disableCommentMode: () => any;
|
|
191
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Enable persistent comment mode.
|
|
194
|
+
*/
|
|
195
|
+
public enablePersistentCommentMode: () => any;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Disable persistent comment mode.
|
|
199
|
+
*/
|
|
200
|
+
public disablePersistentCommentMode: () => any;
|
|
201
|
+
|
|
192
202
|
/**
|
|
193
203
|
* To show/hide comment number
|
|
194
204
|
* @param show pass `true` to show it, `false` to hide it.
|
|
@@ -618,6 +628,16 @@ export declare class CommentElement {
|
|
|
618
628
|
*/
|
|
619
629
|
private _disableCommentMode;
|
|
620
630
|
|
|
631
|
+
/**
|
|
632
|
+
* Enable persistent comment mode.
|
|
633
|
+
*/
|
|
634
|
+
private _enablePersistentCommentMode;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Disable persistent comment mode.
|
|
638
|
+
*/
|
|
639
|
+
private _disablePersistentCommentMode;
|
|
640
|
+
|
|
621
641
|
/**
|
|
622
642
|
* To show/hide comment number
|
|
623
643
|
* @param show pass `true` to show it, `false` to hide it.
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -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';
|