@veltdev/sdk 5.0.1-beta.4 → 5.0.2-beta.1
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.
|
@@ -232,6 +232,10 @@ export declare class CommentSelectionChangeData {
|
|
|
232
232
|
selected: boolean;
|
|
233
233
|
annotation: CommentAnnotation;
|
|
234
234
|
}
|
|
235
|
+
export declare class VisibilityOptionClickedData {
|
|
236
|
+
annotationId: string;
|
|
237
|
+
visibility: 'public' | 'private';
|
|
238
|
+
}
|
|
235
239
|
export declare class InlineCommentSectionConfig {
|
|
236
240
|
id: string;
|
|
237
241
|
name?: string;
|
|
@@ -88,6 +88,7 @@ export type CommentEventTypesMap = {
|
|
|
88
88
|
[CommentEventTypes.SIDEBAR_BUTTON_CLICK]: SidebarButtonClickEvent;
|
|
89
89
|
[CommentEventTypes.ATTACHMENT_DOWNLOAD_CLICKED]: AttachmentDownloadClickedEvent;
|
|
90
90
|
[CommentEventTypes.COMMENT_SAVED]: CommentSavedEvent;
|
|
91
|
+
[CommentEventTypes.VISIBILITY_OPTION_CLICKED]: VisibilityOptionClickedEvent;
|
|
91
92
|
};
|
|
92
93
|
export interface AddAttachmentEvent {
|
|
93
94
|
annotationId: string;
|
|
@@ -317,3 +318,9 @@ export interface AttachmentDownloadClickedEvent {
|
|
|
317
318
|
attachment: Attachment;
|
|
318
319
|
metadata?: VeltEventMetadata;
|
|
319
320
|
}
|
|
321
|
+
export interface VisibilityOptionClickedEvent {
|
|
322
|
+
annotationId: string;
|
|
323
|
+
commentAnnotation: CommentAnnotation;
|
|
324
|
+
visibility: 'public' | 'private';
|
|
325
|
+
metadata?: VeltEventMetadata;
|
|
326
|
+
}
|
|
@@ -290,6 +290,16 @@ export declare class CommentElement {
|
|
|
290
290
|
*/
|
|
291
291
|
public disableStatus: () => any;
|
|
292
292
|
|
|
293
|
+
/**
|
|
294
|
+
* To enable visibility option dropdown on comments
|
|
295
|
+
*/
|
|
296
|
+
public enableVisibilityOptionDropdown: () => any;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* To disable visibility option dropdown on comments
|
|
300
|
+
*/
|
|
301
|
+
public disableVisibilityOptionDropdown: () => any;
|
|
302
|
+
|
|
293
303
|
/**
|
|
294
304
|
* To enable feature to show resolve button
|
|
295
305
|
*/
|
|
@@ -1615,6 +1625,16 @@ export declare class CommentElement {
|
|
|
1615
1625
|
*/
|
|
1616
1626
|
private _disableStatus;
|
|
1617
1627
|
|
|
1628
|
+
/**
|
|
1629
|
+
* To enable visibility option dropdown on comments
|
|
1630
|
+
*/
|
|
1631
|
+
private _enableVisibilityOptionDropdown;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* To disable visibility option dropdown on comments
|
|
1635
|
+
*/
|
|
1636
|
+
private _disableVisibilityOptionDropdown;
|
|
1637
|
+
|
|
1618
1638
|
/**
|
|
1619
1639
|
* To enable feature to show resolve button
|
|
1620
1640
|
*/
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export declare const CommentEventTypes: {
|
|
|
63
63
|
readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
|
|
64
64
|
readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
|
|
65
65
|
readonly COMMENT_SAVED: "commentSaved";
|
|
66
|
+
readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
|
|
66
67
|
};
|
|
67
68
|
export declare const RecorderEventTypes: {
|
|
68
69
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2-beta.1",
|
|
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": [
|