@veltdev/sdk 4.5.0-beta.52 → 4.5.0-beta.54
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.
|
@@ -2,11 +2,13 @@ export declare class MediaPreviewConfig {
|
|
|
2
2
|
audio?: {
|
|
3
3
|
enabled?: boolean;
|
|
4
4
|
deviceId?: string;
|
|
5
|
+
stream?: MediaStream;
|
|
5
6
|
};
|
|
6
7
|
video?: {
|
|
7
8
|
enabled?: boolean;
|
|
8
9
|
deviceId?: string;
|
|
9
10
|
track?: MediaStreamTrack;
|
|
11
|
+
stream?: MediaStream;
|
|
10
12
|
};
|
|
11
13
|
screen?: {
|
|
12
14
|
enabled?: boolean;
|
|
@@ -9,7 +9,7 @@ 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";
|
|
12
|
+
import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
13
13
|
|
|
14
14
|
export declare class CommentElement {
|
|
15
15
|
/**
|
|
@@ -1188,6 +1188,11 @@ export declare class CommentElement {
|
|
|
1188
1188
|
*/
|
|
1189
1189
|
public setMaxReplyAvatars: (maxReplyAvatars: number) => void;
|
|
1190
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
* To set sidebar button count type
|
|
1193
|
+
*/
|
|
1194
|
+
public setSidebarButtonCountType: (type: SidebarButtonCountType) => void;
|
|
1195
|
+
|
|
1191
1196
|
constructor();
|
|
1192
1197
|
/**
|
|
1193
1198
|
* Subscribe to comments on the current document.
|
|
@@ -2355,4 +2360,9 @@ export declare class CommentElement {
|
|
|
2355
2360
|
* To set max reply avatars
|
|
2356
2361
|
*/
|
|
2357
2362
|
private _setMaxReplyAvatars;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* To set sidebar button count type
|
|
2366
|
+
*/
|
|
2367
|
+
private _setSidebarButtonCountType;
|
|
2358
2368
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'involv
|
|
|
265
265
|
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
266
266
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
267
267
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
268
|
+
export type SidebarButtonCountType = 'default' | 'filter';
|
|
268
269
|
export declare enum CommentSidebarSystemFiltersOperator {
|
|
269
270
|
AND = "and",
|
|
270
271
|
OR = "or"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.54",
|
|
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": [
|