@veltdev/types-dev 4.5.8-beta.7 → 4.5.8-beta.9

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.
@@ -5,7 +5,7 @@ export interface Document {
5
5
  }
6
6
  export interface SetDocumentsContext {
7
7
  access: {
8
- [key: string]: Array<string | number> | null;
8
+ [key: string]: Array<string | number>;
9
9
  };
10
10
  accessFields?: Array<string>;
11
11
  }
@@ -0,0 +1,10 @@
1
+ import { AreaAnnotation } from "./area-annotation.data.model";
2
+ import { CommentAnnotation } from "./comment-annotation.data.model";
3
+ export interface ScreenshotData {
4
+ source?: string;
5
+ sourceData?: {
6
+ commentAnnotation?: CommentAnnotation;
7
+ areaAnnotation?: AreaAnnotation;
8
+ };
9
+ eventType: string;
10
+ }
@@ -1259,6 +1259,16 @@ export declare class CommentElement {
1259
1259
  */
1260
1260
  public markAsUnread: (annotationId: string) => Promise<void>;
1261
1261
 
1262
+ /**
1263
+ * To enable screenshot
1264
+ */
1265
+ public enableScreenshot: () => void;
1266
+
1267
+ /**
1268
+ * To disable screenshot
1269
+ */
1270
+ public disableScreenshot: () => void;
1271
+
1262
1272
  constructor();
1263
1273
  /**
1264
1274
  * Subscribe to comments on the current document.
@@ -2496,4 +2506,14 @@ export declare class CommentElement {
2496
2506
  * To mark comment annotation as unread
2497
2507
  */
2498
2508
  private _markAsUnread;
2509
+
2510
+ /**
2511
+ * To enable screenshot
2512
+ */
2513
+ private _enableScreenshot;
2514
+
2515
+ /**
2516
+ * To disable screenshot
2517
+ */
2518
+ private _disableScreenshot;
2499
2519
  }
package/models.d.ts CHANGED
@@ -48,6 +48,7 @@ export * from './app/models/data/recorder-annotation.data.model';
48
48
  export * from './app/models/data/recorder-events.data.model';
49
49
  export * from './app/models/data/rewriter-annotation.data.model';
50
50
  export * from './app/models/data/screen-size.data.model';
51
+ export * from './app/models/data/screenshot.data.model';
51
52
  export * from './app/models/data/selection.model';
52
53
  export * from './app/models/data/sync-video-player.data.model';
53
54
  export * from './app/models/data/tag-annotation.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.5.8-beta.7",
3
+ "version": "4.5.8-beta.9",
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": [