case-editor-tools 1.7.0 → 1.7.1
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.
|
@@ -105,6 +105,7 @@ export declare const StudyEngineActions: {
|
|
|
105
105
|
add: (messageType: string, scheduledFor: number | Expression) => Expression;
|
|
106
106
|
removeAll: () => Expression;
|
|
107
107
|
remove: (messageType: string) => Expression;
|
|
108
|
+
sendNow: (messageType: string, languageOverride?: string) => Expression;
|
|
108
109
|
};
|
|
109
110
|
confidentialResponses: {
|
|
110
111
|
removeByKey: (key: string) => Expression;
|
|
@@ -177,6 +178,7 @@ export declare const StudyEngine: {
|
|
|
177
178
|
add: (messageType: string, scheduledFor: number | Expression) => Expression;
|
|
178
179
|
removeAll: () => Expression;
|
|
179
180
|
remove: (messageType: string) => Expression;
|
|
181
|
+
sendNow: (messageType: string, languageOverride?: string) => Expression;
|
|
180
182
|
};
|
|
181
183
|
confidentialResponses: {
|
|
182
184
|
removeByKey: (key: string) => Expression;
|
|
@@ -304,6 +304,13 @@ const REMOVE_ALL_MESSAGES = () => expressionUtils_expressionGen.generateExpressi
|
|
|
304
304
|
* @returns
|
|
305
305
|
*/
|
|
306
306
|
const REMOVE_MESSAGES_BY_TYPE = (messageType) => expressionUtils_expressionGen.generateExpression('REMOVE_MESSAGES_BY_TYPE', undefined, messageType);
|
|
307
|
+
/**
|
|
308
|
+
* Send a message now
|
|
309
|
+
* @param messageType message type
|
|
310
|
+
* @param languageOverride optional language override
|
|
311
|
+
* @returns
|
|
312
|
+
*/
|
|
313
|
+
const SEND_MESSAGE_NOW = (messageType, languageOverride) => expressionUtils_expressionGen.generateExpression('SEND_MESSAGE_NOW', undefined, messageType, languageOverride);
|
|
307
314
|
/**
|
|
308
315
|
* Remove a study code from a list
|
|
309
316
|
* @param listKey
|
|
@@ -606,6 +613,7 @@ const StudyEngineActions = {
|
|
|
606
613
|
add: ADD_MESSAGE,
|
|
607
614
|
removeAll: REMOVE_ALL_MESSAGES,
|
|
608
615
|
remove: REMOVE_MESSAGES_BY_TYPE,
|
|
616
|
+
sendNow: SEND_MESSAGE_NOW,
|
|
609
617
|
},
|
|
610
618
|
confidentialResponses: {
|
|
611
619
|
removeByKey: REMOVE_CONFIDENTIAL_RESPONSE_BY_KEY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"studyEngineExpressions.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"studyEngineExpressions.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "case-editor-tools",
|
|
3
3
|
"description": "Javascript tools to simplify survey and study coding for CASE.",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.1",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": "github:case-framework/case-editor-tools",
|