@veltdev/sdk 2.0.22 → 2.0.23
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.
- package/app/models/data/comment-annotation.data.model.d.ts +20 -0
- package/app/models/data/cursor-user.data.model.d.ts +1 -0
- package/app/models/data/notification.model.d.ts +26 -0
- package/app/models/data/presence-user.data.model.d.ts +1 -0
- package/app/models/data/user-contact.data.model.d.ts +1 -0
- package/app/models/data/user-iam.data.model.d.ts +3 -0
- package/app/models/data/user.data.model.d.ts +1 -0
- package/app/utils/enums.d.ts +3 -1
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -162,6 +162,9 @@ export declare class CommentAnnotation {
|
|
|
162
162
|
targetInlineCommentElementId?: string;
|
|
163
163
|
inlineCommentSectionConfig?: InlineCommentSectionConfig;
|
|
164
164
|
customList?: CustomAnnotationDropdownItem[];
|
|
165
|
+
subscribedUsers?: CommentAnnotationSubscribedUsers;
|
|
166
|
+
unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
|
|
167
|
+
subscribedGroups?: CommentAnnotationSubscribedGroups;
|
|
165
168
|
}
|
|
166
169
|
export declare class GhostComment {
|
|
167
170
|
targetElement?: TargetElement | null;
|
|
@@ -206,3 +209,20 @@ export declare class InlineCommentSectionConfig {
|
|
|
206
209
|
export declare class ManualCommentAnnotationConfig {
|
|
207
210
|
context?: any;
|
|
208
211
|
}
|
|
212
|
+
export declare class CommentAnnotationSubscribedUsers {
|
|
213
|
+
[userIdHash: string]: {
|
|
214
|
+
user: User;
|
|
215
|
+
type: 'manual' | 'auto';
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
export declare class CommentAnnotationUnsubscribedUsers {
|
|
219
|
+
[userIdHash: string]: {
|
|
220
|
+
user: User;
|
|
221
|
+
type: 'manual' | 'auto';
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
export declare class CommentAnnotationSubscribedGroups {
|
|
225
|
+
[groupId: string]: {
|
|
226
|
+
type: 'manual' | 'auto';
|
|
227
|
+
};
|
|
228
|
+
}
|
|
@@ -127,6 +127,20 @@ export declare class Notification {
|
|
|
127
127
|
* Notification body message
|
|
128
128
|
*/
|
|
129
129
|
displayBodyMessage?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Display message template
|
|
132
|
+
*/
|
|
133
|
+
displayHeadlineMessageTemplate?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Display message template data
|
|
136
|
+
*/
|
|
137
|
+
displayHeadlineMessageTemplateData?: {
|
|
138
|
+
actionUser: User;
|
|
139
|
+
recipientUser: User;
|
|
140
|
+
actionMessage: string;
|
|
141
|
+
project: string;
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
};
|
|
130
144
|
/**
|
|
131
145
|
* Is notification for you
|
|
132
146
|
*/
|
|
@@ -143,6 +157,18 @@ export declare class Notification {
|
|
|
143
157
|
* Notification metadata
|
|
144
158
|
*/
|
|
145
159
|
metadata?: NotificationMetadata;
|
|
160
|
+
/**
|
|
161
|
+
* Notification notify users map by email hash
|
|
162
|
+
*/
|
|
163
|
+
notifyUsers?: {
|
|
164
|
+
[email: string]: boolean;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Notification notify users map by user id hash
|
|
168
|
+
*/
|
|
169
|
+
notifyUsersByUserId?: {
|
|
170
|
+
[userId: string]: boolean;
|
|
171
|
+
};
|
|
146
172
|
}
|
|
147
173
|
export declare class NotificationMetadata {
|
|
148
174
|
/**
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -12,7 +12,9 @@ export declare enum CommentStatus {
|
|
|
12
12
|
ACCEPTED = "accepted",
|
|
13
13
|
REJECTED = "rejected",
|
|
14
14
|
REACTION_ADDED = "reactionAdded",
|
|
15
|
-
REACTION_DELETED = "reactionDeleted"
|
|
15
|
+
REACTION_DELETED = "reactionDeleted",
|
|
16
|
+
SUBSCRIBED = "subscribed",
|
|
17
|
+
UNSUBSCRIBED = "unsubscribed"
|
|
16
18
|
}
|
|
17
19
|
export declare enum TagStatus {
|
|
18
20
|
ADDED = "added",
|