@veltdev/types-dev 5.0.0-beta.33 → 5.0.0-beta.35

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.
@@ -218,6 +218,32 @@ export interface ToggleReactionRequest {
218
218
  };
219
219
  options?: RequestOptions;
220
220
  }
221
+ export interface SubmitCommentRequest {
222
+ targetComposerElementId: string;
223
+ }
224
+ export interface ClearComposerRequest {
225
+ targetComposerElementId: string;
226
+ }
227
+ export interface GetComposerDataRequest {
228
+ targetComposerElementId: string;
229
+ }
230
+ /**
231
+ * FormatConfig - Configuration for format options
232
+ */
233
+ export interface FormatConfig {
234
+ bold?: {
235
+ enable: boolean;
236
+ };
237
+ italic?: {
238
+ enable: boolean;
239
+ };
240
+ underline?: {
241
+ enable: boolean;
242
+ };
243
+ strikethrough?: {
244
+ enable: boolean;
245
+ };
246
+ }
221
247
  export interface FetchCommentAnnotationsRequest {
222
248
  createdAfter?: number;
223
249
  createdBefore?: number;
@@ -285,6 +285,8 @@ export interface CommentBubbleClickedEvent {
285
285
  }
286
286
  export interface ComposerTextChangeEvent {
287
287
  text: string;
288
+ annotation: CommentAnnotation;
289
+ targetComposerElementId: string;
288
290
  metadata?: VeltEventMetadata;
289
291
  }
290
292
  export interface AssignToConfig {
@@ -7,7 +7,7 @@ import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResp
7
7
  import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
8
8
  import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, PageModeComposerConfig, PublishCommentAnnotationEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
9
9
  import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
10
- import { CommentContextProvider, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
10
+ import { CommentContextProvider, FormatConfig, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
11
11
  import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
12
12
  import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
13
13
  export { ReactionMap, ReactionMap } from '../data/reaction-annotation.data.model';
@@ -1319,6 +1319,22 @@ export declare class CommentElement {
1319
1319
  */
1320
1320
  public disablePaginatedContactList: () => void;
1321
1321
 
1322
+ /**
1323
+ * To enable format options (bold, italic, underline, strikethrough)
1324
+ */
1325
+ public enableFormatOptions: () => void;
1326
+
1327
+ /**
1328
+ * To disable format options
1329
+ */
1330
+ public disableFormatOptions: () => void;
1331
+
1332
+ /**
1333
+ * Set format config to control which format options are enabled
1334
+ * @param config FormatConfig with enable flags for each format type
1335
+ */
1336
+ public setFormatConfig: (config: FormatConfig) => void;
1337
+
1322
1338
  /**
1323
1339
  * Programmatically trigger comment submission for a composer with the given targetComposerElementId
1324
1340
  * @param request SubmitCommentRequest containing targetComposerElementId
@@ -2604,6 +2620,19 @@ export declare class CommentElement {
2604
2620
  * To disable paginated contact list
2605
2621
  */
2606
2622
  private _disablePaginatedContactList;
2623
+ /**
2624
+ * To enable format options (bold, italic, underline, strikethrough)
2625
+ */
2626
+ private _enableFormatOptions;
2627
+ /**
2628
+ * To disable format options
2629
+ */
2630
+ private _disableFormatOptions;
2631
+ /**
2632
+ * To set format config to control which format options are enabled
2633
+ * @param config FormatConfig with enable flags for each format type
2634
+ */
2635
+ private _setFormatConfig;
2607
2636
 
2608
2637
  /**
2609
2638
  * Programmatically trigger comment submission for a composer with the given targetComposerElementId
@@ -71,12 +71,12 @@ export declare class NotificationElement {
71
71
  /**
72
72
  * To enable settings config by organization
73
73
  */
74
- enableSettingsConfigByOrganization: () => void;
74
+ enableSettingsAtOrganizationLevel: () => void;
75
75
 
76
76
  /**
77
77
  * To disable settings config by organization
78
78
  */
79
- disableSettingsConfigByOrganization: () => void;
79
+ disableSettingsAtOrganizationLevel: () => void;
80
80
 
81
81
  /**
82
82
  * To mute all notifications
@@ -213,12 +213,12 @@ export declare class NotificationElement {
213
213
  /**
214
214
  * To enable settings config by organization
215
215
  */
216
- private _enableSettingsConfigByOrganization;
216
+ private _enableSettingsAtOrganizationLevel;
217
217
 
218
218
  /**
219
219
  * To disable settings config by organization
220
220
  */
221
- private _disableSettingsConfigByOrganization;
221
+ private _disableSettingsAtOrganizationLevel;
222
222
 
223
223
  /**
224
224
  * To enable self notifications
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "5.0.0-beta.33",
3
+ "version": "5.0.0-beta.35",
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": [