playov2-js-utilities 0.3.3 → 0.3.4
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.
|
@@ -204,6 +204,13 @@ const host_cancelled_activity = {
|
|
|
204
204
|
notificationId: notificationIds.ACTIVITY_CANCEL
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
+
const activity_reminder = {
|
|
208
|
+
heading: '⏰, Activity reminder!',
|
|
209
|
+
text: 'You have a {sport_name}} game coming up on {{date}}. Best of luck!',
|
|
210
|
+
buttons: [],
|
|
211
|
+
notificationId: ''
|
|
212
|
+
}
|
|
213
|
+
|
|
207
214
|
const host_updated_activity_details = {
|
|
208
215
|
// ??
|
|
209
216
|
};
|
|
@@ -228,5 +235,6 @@ module.exports = {
|
|
|
228
235
|
host_revoked_invite,
|
|
229
236
|
host_retired_user,
|
|
230
237
|
user_left_game,
|
|
231
|
-
host_cancelled_activity
|
|
238
|
+
host_cancelled_activity,
|
|
239
|
+
activity_reminder
|
|
232
240
|
}
|
|
@@ -78,7 +78,8 @@ const notificationIds = {
|
|
|
78
78
|
SPLIT_EXPENSE_DELETED: 'split-expense-deleted',
|
|
79
79
|
HOST_ACTIVITY_PAYOUT: 'host-activity-payout',
|
|
80
80
|
KARMA_CASHBACK: 'karma-cashback',
|
|
81
|
-
ACTIVITY_QUERY_ANSWERED: 'activity-query-answered'
|
|
81
|
+
ACTIVITY_QUERY_ANSWERED: 'activity-query-answered',
|
|
82
|
+
ACTIVITY_REMINDER: 'activity-reminder'
|
|
82
83
|
};
|
|
83
84
|
|
|
84
85
|
// TODO - Check targets against current value
|
|
@@ -432,6 +433,14 @@ const config = {
|
|
|
432
433
|
type: ["push", "drawer"],
|
|
433
434
|
buttons: [],
|
|
434
435
|
android_channel_id: notificationChannels.activity_query
|
|
436
|
+
},
|
|
437
|
+
[notificationIds.ACTIVITY_REMINDER] : {
|
|
438
|
+
category: notificationCategories.ACTIVITY,
|
|
439
|
+
target: "match",
|
|
440
|
+
title: "Activity Reminder",
|
|
441
|
+
type: ["push", "drawer"],
|
|
442
|
+
buttons: [],
|
|
443
|
+
android_channel_id: ''
|
|
435
444
|
}
|
|
436
445
|
};
|
|
437
446
|
|