tpmkms_4wp 9.3.0-beta.22 → 9.3.0-beta.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.
@@ -16,9 +16,6 @@ const helpers = require('./helpers')
16
16
  remind greg to go to regina
17
17
  remind every truck driver to whatever tomorrow at 8 am
18
18
  remind greg and bob to go to bolivia and see the xyz corporation
19
-
20
- remind me to go\nmonday at 10 am
21
- remind me to go\non monday at 10 am
22
19
  */
23
20
 
24
21
  class API {
@@ -115,7 +112,7 @@ const template = {
115
112
  id: 'addRemindable',
116
113
  isA: ['verb'],
117
114
  development: true,
118
- bridge: "{ ...next(operator), arg: after[0], operator: operator, interpolate: '${operator} ${arg}' }",
115
+ bridge: "{ ...next(operator), flatten: true, arg: after[0], operator: operator, interpolate: '${operator} ${arg}' }",
119
116
  semantic: ({api, context}) => {
120
117
  const name = context.arg.map( (word) => word.text ).join(' ')
121
118
  api.addRemindable(name)
@@ -225,13 +222,13 @@ knowledgeModule( {
225
222
  filter: [
226
223
  'text',
227
224
  'dateTimeSelectorText',
228
- 'who',
229
225
  'nextISODate',
226
+ 'who',
230
227
  'stm',
231
228
  {
232
229
  property: 'dateTimeSelector',
233
230
  filter: ['marker', 'text', 'value'],
234
- }
231
+ },
235
232
  ],
236
233
  }
237
234
  ],