@veltdev/sdk 4.4.0-beta.14 → 4.4.0-beta.16
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.
|
@@ -30,6 +30,16 @@ export declare class CommentSidebarFilters {
|
|
|
30
30
|
email?: string;
|
|
31
31
|
name?: string;
|
|
32
32
|
}[];
|
|
33
|
+
assigned?: {
|
|
34
|
+
userId?: string;
|
|
35
|
+
email?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
}[];
|
|
38
|
+
tagged?: {
|
|
39
|
+
userId?: string;
|
|
40
|
+
email?: string;
|
|
41
|
+
name?: string;
|
|
42
|
+
}[];
|
|
33
43
|
priority?: string[];
|
|
34
44
|
status?: string[];
|
|
35
45
|
category?: string[];
|
|
@@ -9,6 +9,8 @@ import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebar
|
|
|
9
9
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
10
10
|
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest, FetchCommentAnnotationsRequest } from "../data/comment-actions.data.model";
|
|
11
11
|
import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
|
|
12
|
+
import { CommentSidebarSystemFiltersOperator } from "../../utils/enums";
|
|
13
|
+
|
|
12
14
|
export declare class CommentElement {
|
|
13
15
|
/**
|
|
14
16
|
* Subscribe to comments on the current document.
|
|
@@ -496,6 +498,12 @@ export declare class CommentElement {
|
|
|
496
498
|
*/
|
|
497
499
|
public setCommentSidebarFilters: (filters: any) => void;
|
|
498
500
|
|
|
501
|
+
/**
|
|
502
|
+
* To set system filters operator on comment sidebar.
|
|
503
|
+
* @param operator System filters operator
|
|
504
|
+
*/
|
|
505
|
+
public setSystemFiltersOperator: (operator: CommentSidebarSystemFiltersOperator) => void;
|
|
506
|
+
|
|
499
507
|
/**
|
|
500
508
|
* To enable comment pin highlighter.
|
|
501
509
|
*/
|
|
@@ -1610,6 +1618,12 @@ export declare class CommentElement {
|
|
|
1610
1618
|
*/
|
|
1611
1619
|
private _setCommentSidebarFilters;
|
|
1612
1620
|
|
|
1621
|
+
/**
|
|
1622
|
+
* To set system filters operator on comment sidebar.
|
|
1623
|
+
* @param operator System filters operator
|
|
1624
|
+
*/
|
|
1625
|
+
private _setSystemFiltersOperator;
|
|
1626
|
+
|
|
1613
1627
|
/**
|
|
1614
1628
|
* To enable comment pin highlighter.
|
|
1615
1629
|
*/
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -242,3 +242,7 @@ export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages'
|
|
|
242
242
|
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
243
243
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
244
244
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
245
|
+
export declare enum CommentSidebarSystemFiltersOperator {
|
|
246
|
+
AND = "and",
|
|
247
|
+
OR = "or"
|
|
248
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.4.0-beta.
|
|
3
|
+
"version": "4.4.0-beta.16",
|
|
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": [
|