@veltdev/sdk-staging 4.0.0-beta.104 → 4.0.0-beta.106
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.
|
|
@@ -78,6 +78,7 @@ export type CommentEventTypesMap = {
|
|
|
78
78
|
[CommentEventTypes.COMMENT_SIDEBAR_DATA_INIT]: CommentSidebarDataInitEvent;
|
|
79
79
|
[CommentEventTypes.COMMENT_SIDEBAR_DATA_UPDATE]: CommentSidebarDataUpdateEvent;
|
|
80
80
|
[CommentEventTypes.AUTOCOMPLETE_SEARCH]: AutocompleteSearchEvent;
|
|
81
|
+
[CommentEventTypes.COMPOSER_CLICKED]: ComposerClickedEvent;
|
|
81
82
|
};
|
|
82
83
|
export interface AddAttachmentEvent {
|
|
83
84
|
annotationId: string;
|
|
@@ -245,3 +246,7 @@ export interface AutocompleteSearchEvent {
|
|
|
245
246
|
type?: 'contact' | 'custom' | 'group';
|
|
246
247
|
metadata?: VeltEventMetadata;
|
|
247
248
|
}
|
|
249
|
+
export interface ComposerClickedEvent {
|
|
250
|
+
commentAnnotation?: CommentAnnotation;
|
|
251
|
+
metadata?: VeltEventMetadata;
|
|
252
|
+
}
|
|
@@ -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/app/utils/enums.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare const CommentEventTypes: {
|
|
|
42
42
|
readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
|
|
43
43
|
readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
|
|
44
44
|
readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
|
|
45
|
+
readonly COMPOSER_CLICKED: "composerClicked";
|
|
45
46
|
};
|
|
46
47
|
export declare const RecorderEventTypes: {
|
|
47
48
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
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.106",
|
|
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": [
|