@steedos/objectql 2.3.0-beta.20 → 2.3.0-beta.21
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.
|
@@ -11,7 +11,7 @@ function runWorkflowNotifyActions(ids, recordId, userSession) {
|
|
|
11
11
|
return tslib_1.__generator(this, function (_b) {
|
|
12
12
|
switch (_b.label) {
|
|
13
13
|
case 0:
|
|
14
|
-
if (_.isEmpty(ids) || _.isEmpty(recordId)
|
|
14
|
+
if (_.isEmpty(ids) || _.isEmpty(recordId)) {
|
|
15
15
|
return [2];
|
|
16
16
|
}
|
|
17
17
|
filters = [['name', 'in', ids], 'or', ['_id', 'in', ids]];
|
|
@@ -57,7 +57,7 @@ function runWorkflowNotifyAction(workflowNotification, recordId, userSession) {
|
|
|
57
57
|
return tslib_1.__generator(this, function (_b) {
|
|
58
58
|
switch (_b.label) {
|
|
59
59
|
case 0:
|
|
60
|
-
if (_.isEmpty(workflowNotification) || _.isEmpty(recordId)
|
|
60
|
+
if (_.isEmpty(workflowNotification) || _.isEmpty(recordId)) {
|
|
61
61
|
return [2];
|
|
62
62
|
}
|
|
63
63
|
return [4, (0, index_1.getObject)(workflowNotification.object_name).findOne(recordId, null)];
|
|
@@ -66,8 +66,8 @@ function runWorkflowNotifyAction(workflowNotification, recordId, userSession) {
|
|
|
66
66
|
objectName = workflowNotification.object_name;
|
|
67
67
|
assignedUsers = workflowNotification.assigned_users;
|
|
68
68
|
assignedUserField = workflowNotification.assigned_user_field;
|
|
69
|
-
userId =
|
|
70
|
-
spaceId =
|
|
69
|
+
userId = record.owner;
|
|
70
|
+
spaceId = record.space;
|
|
71
71
|
return [4, (0, index_1.computeFormula)(workflowNotification.title, objectName, recordId, userSession)];
|
|
72
72
|
case 2:
|
|
73
73
|
msgName = _b.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow_notifications.js","sourceRoot":"","sources":["../../src/actions/workflow_notifications.ts"],"names":[],"mapp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AAE,CAAC,CAAC;;;;;CACjD;AAhDD,0DAgDC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/objectql",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.3.0-beta.
|
|
4
|
+
"version": "2.3.0-beta.21",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@salesforce/kit": "^1.0.4",
|
|
18
18
|
"@salesforce/ts-types": "^1.1.1",
|
|
19
|
-
"@steedos/cachers": "2.3.0-beta.
|
|
20
|
-
"@steedos/filters": "2.3.0-beta.
|
|
21
|
-
"@steedos/formula": "2.3.0-beta.
|
|
22
|
-
"@steedos/i18n": "2.3.0-beta.
|
|
23
|
-
"@steedos/metadata-core": "2.3.0-beta.
|
|
24
|
-
"@steedos/odata-v4-mongodb": "2.3.0-beta.
|
|
25
|
-
"@steedos/odata-v4-sql": "2.3.0-beta.
|
|
26
|
-
"@steedos/odata-v4-typeorm": "2.3.0-beta.
|
|
27
|
-
"@steedos/schemas": "2.3.0-beta.
|
|
28
|
-
"@steedos/standard-objects": "2.3.0-beta.
|
|
19
|
+
"@steedos/cachers": "2.3.0-beta.21",
|
|
20
|
+
"@steedos/filters": "2.3.0-beta.21",
|
|
21
|
+
"@steedos/formula": "2.3.0-beta.21",
|
|
22
|
+
"@steedos/i18n": "2.3.0-beta.21",
|
|
23
|
+
"@steedos/metadata-core": "2.3.0-beta.21",
|
|
24
|
+
"@steedos/odata-v4-mongodb": "2.3.0-beta.21",
|
|
25
|
+
"@steedos/odata-v4-sql": "2.3.0-beta.21",
|
|
26
|
+
"@steedos/odata-v4-typeorm": "2.3.0-beta.21",
|
|
27
|
+
"@steedos/schemas": "2.3.0-beta.21",
|
|
28
|
+
"@steedos/standard-objects": "2.3.0-beta.21",
|
|
29
29
|
"app-root-path": "^2.2.1",
|
|
30
30
|
"body-parser": "^1.18.1",
|
|
31
31
|
"bunyan-sfdx-no-dtrace": "^1.8.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"underscore": "1.5.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@steedos/meteor-bundle-runner": "2.3.0-beta.
|
|
53
|
+
"@steedos/meteor-bundle-runner": "2.3.0-beta.21",
|
|
54
54
|
"@types/express": "^4.16.1",
|
|
55
55
|
"@types/node": "^11.10.4",
|
|
56
56
|
"@types/underscore": "^1.8.13",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "1553c21a976041bd8724adf99afcfa7302c2ef77"
|
|
64
64
|
}
|