playov2-js-utilities 0.3.48 → 0.3.49
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/lib/notification.config.js +10 -1
- package/package.json +1 -1
|
@@ -85,7 +85,8 @@ const notificationIds = {
|
|
|
85
85
|
KARMA_CASHBACK: 'karma-cashback',
|
|
86
86
|
ACTIVITY_QUERY_ANSWERED: 'activity-query-answered',
|
|
87
87
|
ACTIVITY_REMINDER: 'activity-reminder',
|
|
88
|
-
MESSAGE_REQUEST: 'message-request'
|
|
88
|
+
MESSAGE_REQUEST: 'message-request',
|
|
89
|
+
USER_GOALS: 'user_goals'
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
// TODO - Check targets against current value
|
|
@@ -456,6 +457,14 @@ const config = {
|
|
|
456
457
|
type: ["push", "drawer"],
|
|
457
458
|
buttons: [],
|
|
458
459
|
android_channel_id: ''
|
|
460
|
+
},
|
|
461
|
+
[notificationIds.USER_GOALS]: {
|
|
462
|
+
category: notificationCategories.ACTIVITY,
|
|
463
|
+
target: "goalDetail",
|
|
464
|
+
title: "your goals", // get content
|
|
465
|
+
type: ["push", "drawer"],
|
|
466
|
+
buttons: [],
|
|
467
|
+
android_channel_id: ''
|
|
459
468
|
}
|
|
460
469
|
};
|
|
461
470
|
|