@veltdev/sdk-staging 2.0.52 → 2.0.54
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/notification.model.d.ts +26 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -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
|
/**
|