@veltdev/types-dev 3.0.256 → 3.0.257

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.
@@ -54,9 +54,6 @@ export declare class AreaAnnotation {
54
54
  targetAnnotations: AreaTargetAnnotation[];
55
55
  metadata?: AreaMetadata;
56
56
  }
57
- export declare class AreaMetadata extends BaseMetadata {
58
- [key: string]: any;
59
- }
60
57
  export declare class AreaTargetAnnotation {
61
58
  /**
62
59
  * Type of the annotation (ex. comment, tag etc.)
@@ -77,3 +74,6 @@ export declare class AreaProperty {
77
74
  handle2?: any;
78
75
  coordinates?: any;
79
76
  }
77
+ export declare class AreaMetadata extends BaseMetadata {
78
+ [key: string]: any;
79
+ }
@@ -1,4 +1,5 @@
1
1
  export declare class BaseMetadata {
2
+ apiKey?: string;
2
3
  documentId?: string;
3
4
  clientDocumentId?: string;
4
5
  organizationId?: string;
@@ -10,6 +10,7 @@ export interface RequestOptions {
10
10
  organizationId?: string;
11
11
  documentId?: string;
12
12
  filters?: any;
13
+ documentIds?: string[];
13
14
  }
14
15
  export interface UpdatePriorityRequest {
15
16
  annotationId: string;
@@ -13,6 +13,10 @@ export declare class RecorderAnnotation {
13
13
  * Auto generated.
14
14
  */
15
15
  annotationId: string;
16
+ /**
17
+ * Connected comment annotation id of reaction annotation
18
+ */
19
+ commentAnnotationId?: string;
16
20
  /**
17
21
  * The user who created this recorder pin annotation.
18
22
  *
@@ -1,19 +1,6 @@
1
1
  import { Location } from "./location.model";
2
2
  export declare class Views {
3
- comment?: {
4
- [commentAnnotationId: string]: {
5
- views: {
6
- [userSnippylyId: string]: View;
7
- };
8
- comments: {
9
- [commentId: string]: {
10
- views: {
11
- [userSnippylyId: string]: View;
12
- };
13
- };
14
- };
15
- };
16
- };
3
+ comment?: CommentViews;
17
4
  notification?: {
18
5
  [notificationId: string]: {
19
6
  views: {
@@ -22,10 +9,7 @@ export declare class Views {
22
9
  };
23
10
  };
24
11
  documentViews?: {
25
- [documentId: string]: {
26
- users: ViewsByUser;
27
- day: ViewsByDate;
28
- };
12
+ [documentId: string]: DocumentViews;
29
13
  };
30
14
  locationViews?: {
31
15
  [locationId: string]: {
@@ -48,3 +32,21 @@ export declare class ViewsByUser {
48
32
  [date: string]: View;
49
33
  };
50
34
  }
35
+ export declare class CommentViews {
36
+ [commentAnnotationId: string]: {
37
+ views: {
38
+ [userSnippylyId: string]: View;
39
+ };
40
+ comments: {
41
+ [commentId: string]: {
42
+ views: {
43
+ [userSnippylyId: string]: View;
44
+ };
45
+ };
46
+ };
47
+ };
48
+ }
49
+ export declare class DocumentViews {
50
+ users: ViewsByUser;
51
+ day: ViewsByDate;
52
+ }
@@ -271,6 +271,7 @@ export declare class Constants {
271
271
  VELT_RECORDER_DISABLED: string;
272
272
  VELT_ANNOTATION_DRAFT: string;
273
273
  VELT_ANNOTATION_EDIT_COMMENT: string;
274
+ VELT_DOCUMENT_ID: string;
274
275
  VELT_LOCATION: string;
275
276
  VELT_LOCATION_ID: string;
276
277
  VELT_THEME: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "3.0.256",
3
+ "version": "3.0.257",
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": [