playov2-js-utilities 0.2.2 → 0.2.3

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/index.js CHANGED
@@ -3,5 +3,5 @@ module.exports = {
3
3
  ratings : require('./ratings/index'),
4
4
  constants : require('./constants'),
5
5
  playoUtils : require('./util'),
6
- notificationTemplates = require('./notification-templates')
6
+ NotificationTemplates : require('./notification-templates')
7
7
  };
@@ -1,7 +1,14 @@
1
-
1
+ /**
2
+ * Template for sending notification whenever someone posts a questions on any activity.
3
+ * Notification is received by host and the co-host of the activity.
4
+ * @param {String} user_first_name - first name of the user who posted the question
5
+ * @param {String} sport_name -
6
+ * @param {String} date - Activity's date
7
+ */
2
8
  const query_from_joinee = {
3
9
  heading: 'You have a new query! 🧐',
4
- text: '{{user_first_name}} has a query for your {{sport_name}} game on {{date}}. Tap to respond.'
10
+ text: '{{user_first_name}} has a query for your {{sport_name}} game on {{date}}. Tap to respond.',
11
+ buttons: []
5
12
  };
6
13
 
7
14
  const host_response_to_query = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playov2-js-utilities",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Private package for JS utility functions",
5
5
  "main": "index.js",
6
6
  "scripts": {