@veltdev/sdk 1.0.96 → 1.0.97

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.
@@ -96,4 +96,5 @@ export declare class DocumentPaths {
96
96
  liveStateSingleEditorMode?: string;
97
97
  reaction?: string;
98
98
  customerMetadata?: string;
99
+ views?: string;
99
100
  }
@@ -0,0 +1,19 @@
1
+ export declare class Views {
2
+ comment?: {
3
+ [commentAnnotationId: string]: {
4
+ views: {
5
+ [userSnippylyId: string]: View;
6
+ };
7
+ comments: {
8
+ [commentId: string]: {
9
+ views: {
10
+ [userSnippylyId: string]: View;
11
+ };
12
+ };
13
+ };
14
+ };
15
+ };
16
+ }
17
+ export declare class View {
18
+ timestamp: any;
19
+ }
@@ -31,6 +31,18 @@ export declare class CommentElement {
31
31
  */
32
32
  allowedElementIds: (elementIds: string[]) => any;
33
33
 
34
+ /**
35
+ * To allow adding comments in specific elements only
36
+ * @param classNames Element class names to be allowed for adding comments
37
+ */
38
+ allowedElementClassNames: (classNames: string[]) => any;
39
+
40
+ /**
41
+ * To allow adding comments in specific elements only
42
+ * @param querySelectors Element query selectors to be allowed for adding comments
43
+ */
44
+ allowedElementQuerySelectors: (querySelectors: string[]) => any;
45
+
34
46
  /**
35
47
  * To enable floating comment dialog
36
48
  */
@@ -531,6 +543,18 @@ export declare class CommentElement {
531
543
  */
532
544
  private _allowedElementIds;
533
545
 
546
+ /**
547
+ * To allow adding comments in specific elements only
548
+ * @param classNames Element class names to be allowed for adding comments
549
+ */
550
+ private _allowedElementClassNames;
551
+
552
+ /**
553
+ * To allow adding comments in specific elements only
554
+ * @param querySelectors Element query selectors to be allowed for adding comments
555
+ */
556
+ private _allowedElementQuerySelectors;
557
+
534
558
  /**
535
559
  * To enable floating comment dialog
536
560
  */
@@ -28,6 +28,7 @@ export declare class Constants {
28
28
  static FIREBASE_PARTIAL_PATH_LIVE_STATE: string;
29
29
  static FIREBASE_PARTIAL_PATH_IAM: string;
30
30
  static FIREBASE_PARTIAL_PATH_REACTION: string;
31
+ static FIREBASE_PARTIAL_PATH_VIEWS: string;
31
32
  static FIREBASE_PARTIAL_PATH_USERS: string;
32
33
  static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
33
34
  static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
@@ -41,6 +42,7 @@ export declare class Constants {
41
42
  static IMG_CLASS_NOT_FOUND: string;
42
43
  static AVATAR_COLOR_LIST: string[];
43
44
  static TEXT_COLOR_MAP: any;
45
+ static UNREAD_COMMENTS_CHECK_FROM_DATE: string;
44
46
  static DEFAULT_ANNOTATION_COLOR: string;
45
47
  static REGEX_EMAIL: RegExp;
46
48
  static REGEX_URL: RegExp;
package/models.d.ts CHANGED
@@ -46,3 +46,4 @@ export * from './app/models/data/workspace-iam.data.model';
46
46
  export * from './app/models/data/flock-options.model';
47
47
  export * from './app/models/data/customer-metadata.data.model';
48
48
  export * from './app/models/data/comment-sidebar-config.model';
49
+ export * from './app/models/data/views.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {