@veltdev/sdk-staging 4.0.0-beta.105 → 4.0.0-beta.107
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.
|
@@ -193,21 +193,27 @@ export declare class Snippyly {
|
|
|
193
193
|
* @param features List of features
|
|
194
194
|
*/
|
|
195
195
|
disableFeatures: (features: Array<FeatureType>) => void;
|
|
196
|
+
/**
|
|
197
|
+
* Add location to show comments, tags, recorders etc. for provided location also.
|
|
198
|
+
* @param location Location object
|
|
199
|
+
* @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
|
|
200
|
+
*/
|
|
201
|
+
addLocation: (location: any) => any;
|
|
196
202
|
/**
|
|
197
203
|
* To set the dark mode of Velt components.
|
|
198
204
|
* @param value {boolean} true/false
|
|
199
205
|
*/
|
|
200
206
|
setDarkMode: (darkMode: boolean) => void;
|
|
201
207
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
/**
|
|
209
|
+
* To check if user allowed in provided document or not.
|
|
210
|
+
*/
|
|
211
|
+
isUserAllowed$: () => Observable<boolean>;
|
|
206
212
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
213
|
+
/**
|
|
214
|
+
* To get user.
|
|
215
|
+
*/
|
|
216
|
+
getUser: () => User | null;
|
|
211
217
|
|
|
212
218
|
/**
|
|
213
219
|
* To get user role in provided document.
|
|
@@ -277,10 +283,10 @@ export declare class Snippyly {
|
|
|
277
283
|
/**
|
|
278
284
|
* To set the ui state.
|
|
279
285
|
*/
|
|
280
|
-
setUiState: (uiState:
|
|
286
|
+
setUiState: <T extends object>(uiState: T) => void;
|
|
281
287
|
|
|
282
288
|
/**
|
|
283
289
|
* To get the ui state.
|
|
284
290
|
*/
|
|
285
|
-
getUiState: () => Observable<
|
|
291
|
+
getUiState: <T extends object>() => Observable<T>;
|
|
286
292
|
}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { RecorderEventTypes } from "../../utils/enums";
|
|
2
|
+
import { RecorderData } from "./recorder-annotation.data.model";
|
|
2
3
|
export interface TranscriptionDoneEvent {
|
|
3
|
-
|
|
4
|
-
id?: string;
|
|
5
|
-
tag?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
thumbnailUrl?: string;
|
|
8
|
-
thumbnailWithPlayIconUrl?: string;
|
|
9
|
-
videoUrl?: string;
|
|
10
|
-
audioUrl?: string;
|
|
11
|
-
videoPlayerUrl?: string;
|
|
12
|
-
getThumbnailTag?: (url?: string) => string;
|
|
4
|
+
data: Record<string, RecorderData> | null;
|
|
13
5
|
}
|
|
14
6
|
export type RecorderEventTypesMap = {
|
|
15
7
|
[RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
|
|
@@ -21,6 +21,7 @@ export declare class RecorderElement {
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* To get recording data by recorder id
|
|
24
|
+
* @deprecated Use getRecordingData() method instead
|
|
24
25
|
*/
|
|
25
26
|
getRecordingDataByRecorderId: (recorderId: string) => Observable<RecorderData | null>;
|
|
26
27
|
|
|
@@ -62,6 +63,7 @@ export declare class RecorderElement {
|
|
|
62
63
|
|
|
63
64
|
/**
|
|
64
65
|
* To get recording data by recorder id
|
|
66
|
+
* @deprecated Use getRecordingData() method instead
|
|
65
67
|
*/
|
|
66
68
|
private _getRecordingDataByRecorderId;
|
|
67
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.107",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|