@veltdev/types-dev 4.5.4-beta.2 → 4.5.4-beta.4

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.
@@ -50,3 +50,8 @@ export interface UploadFileOptions {
50
50
  useAttachmentResolver?: boolean;
51
51
  metadata?: any;
52
52
  }
53
+ export interface UploadFileData {
54
+ files: File[];
55
+ annotationId?: string;
56
+ targetElementId?: string;
57
+ }
@@ -8,6 +8,7 @@ export interface VeltButtonClickEvent extends VeltButtonData {
8
8
  buttonContext?: VeltButtonContext;
9
9
  metadata?: VeltEventMetadata;
10
10
  customFilters?: CustomFilters;
11
+ data?: any;
11
12
  }
12
13
  export interface VeltButtonContext {
13
14
  type?: string;
@@ -10,6 +10,7 @@ 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, PublishCommentAnnotationRequest } from "../data/comment-actions.data.model";
11
11
  import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
12
12
  import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
13
+ import { UploadFileData } from "../data/attachment.model";
13
14
 
14
15
  export declare class CommentElement {
15
16
  /**
@@ -1228,6 +1229,16 @@ export declare class CommentElement {
1228
1229
  */
1229
1230
  public disableFullScreenInSidebar: () => void;
1230
1231
 
1232
+ /**
1233
+ * To set composer file attachments
1234
+ */
1235
+ public setComposerFileAttachments: (data: UploadFileData) => void;
1236
+
1237
+ /**
1238
+ * To set allowed file types
1239
+ */
1240
+ public setAllowedFileTypes: (allowedFileTypes: string[]) => void;
1241
+
1231
1242
  constructor();
1232
1243
  /**
1233
1244
  * Subscribe to comments on the current document.
@@ -2435,4 +2446,14 @@ export declare class CommentElement {
2435
2446
  * To disable full screen in sidebar
2436
2447
  */
2437
2448
  private _disableFullScreenInSidebar;
2449
+
2450
+ /**
2451
+ * To set composer file attachments
2452
+ */
2453
+ private _setComposerFileAttachments;
2454
+
2455
+ /**
2456
+ * To set allowed file types
2457
+ */
2458
+ private _setAllowedFileTypes;
2438
2459
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.5.4-beta.2",
3
+ "version": "4.5.4-beta.4",
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": [