@veltdev/types-dev 1.0.180 → 1.0.182
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AreaStatus, ArrowStatus, CommentStatus, TagStatus } from "../../utils/enums";
|
|
1
|
+
import { AreaStatus, ArrowStatus, CommentStatus, TagStatus, UserActionTypes } from "../../utils/enums";
|
|
2
2
|
import { DocumentMetadata } from "./document-metadata.model";
|
|
3
3
|
import { DocumentUser } from "./document-user.data.model";
|
|
4
4
|
import { UserContactUs } from "./user-contact-us.data.model";
|
|
@@ -11,11 +11,11 @@ export declare class Notification {
|
|
|
11
11
|
/**
|
|
12
12
|
* Source of a notification
|
|
13
13
|
*/
|
|
14
|
-
notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug';
|
|
14
|
+
notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'user' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug';
|
|
15
15
|
/**
|
|
16
16
|
* Type of notification like 'Added', 'Updated' etc.
|
|
17
17
|
*/
|
|
18
|
-
actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus;
|
|
18
|
+
actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus | UserActionTypes;
|
|
19
19
|
/**
|
|
20
20
|
* Annotation object
|
|
21
21
|
*/
|
|
@@ -35,7 +35,23 @@ export declare class Notification {
|
|
|
35
35
|
documentUser?: DocumentUser;
|
|
36
36
|
oldAccess?: string;
|
|
37
37
|
newAccess?: string;
|
|
38
|
+
platform?: 'sf' | 'sdk';
|
|
38
39
|
userFeedback?: UserFeedback;
|
|
39
40
|
userReportBug?: UserReportBug;
|
|
40
41
|
userContactUs?: UserContactUs;
|
|
42
|
+
userInvite?: {
|
|
43
|
+
inviteType: 'admins' | 'commenters' | 'helpers';
|
|
44
|
+
admin: {
|
|
45
|
+
emails: string[];
|
|
46
|
+
};
|
|
47
|
+
commenter: {
|
|
48
|
+
clientDocumentId: string;
|
|
49
|
+
documentId: string;
|
|
50
|
+
emails: string[];
|
|
51
|
+
};
|
|
52
|
+
emailProperties: {
|
|
53
|
+
url?: string;
|
|
54
|
+
message?: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
41
57
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ export declare enum TagStatus {
|
|
|
35
35
|
APPROVED = "approved",
|
|
36
36
|
RESOLVED = "resolved"
|
|
37
37
|
}
|
|
38
|
+
export declare enum UserActionTypes {
|
|
39
|
+
INVITE = "invite",
|
|
40
|
+
REMOVE = "remove"
|
|
41
|
+
}
|
|
38
42
|
export declare enum RecorderStatus {
|
|
39
43
|
ADDED = "added",
|
|
40
44
|
UPDATED = "updated",
|