@steedos/objectql 2.7.27 → 2.7.28-beta.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.
- package/lib/functions/function.js +26 -14
- package/lib/functions/function.js.map +1 -1
- package/lib/triggers/trigger.js +35 -21
- package/lib/triggers/trigger.js.map +1 -1
- package/package.json +14 -14
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runFunction = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var NodeVM = require(
|
|
5
|
+
var NodeVM = require("vm2").NodeVM;
|
|
6
|
+
var objectql = require("@steedos/objectql");
|
|
6
7
|
function str2function(contents) {
|
|
7
8
|
var args = [];
|
|
8
9
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -23,26 +24,30 @@ var runFunction = function (func, thisArg) {
|
|
|
23
24
|
args[_i - 2] = arguments[_i];
|
|
24
25
|
}
|
|
25
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
26
|
-
var vm, funcFileName, funcInSandbox, run, res, error_1, source, errorStack, newError;
|
|
27
|
+
var db, npm, vm, funcFileName, funcInSandbox, run, res, error_1, source, errorStack, newError;
|
|
27
28
|
return tslib_1.__generator(this, function (_a) {
|
|
28
29
|
switch (_a.label) {
|
|
29
30
|
case 0:
|
|
31
|
+
db = objectql.getDataSource("default").adapter;
|
|
32
|
+
npm = {
|
|
33
|
+
_: require("lodash"),
|
|
34
|
+
moment: require("moment"),
|
|
35
|
+
filters: require("@steedos/filters"),
|
|
36
|
+
axios: require("axios"),
|
|
37
|
+
};
|
|
30
38
|
vm = new NodeVM({
|
|
31
39
|
sandbox: {
|
|
32
40
|
str2function: str2function,
|
|
33
|
-
global:
|
|
34
|
-
|
|
35
|
-
moment: require('moment'),
|
|
36
|
-
validator: require('validator'),
|
|
37
|
-
filters: require('@steedos/filters')
|
|
38
|
-
},
|
|
41
|
+
global: npm,
|
|
42
|
+
npm: npm,
|
|
39
43
|
objects: global.objects,
|
|
44
|
+
db: db,
|
|
40
45
|
},
|
|
41
46
|
require: {
|
|
42
47
|
external: true,
|
|
43
|
-
root:
|
|
48
|
+
root: "./",
|
|
44
49
|
},
|
|
45
|
-
env: process.env
|
|
50
|
+
env: process.env,
|
|
46
51
|
});
|
|
47
52
|
funcFileName = "".concat(func.objectApiName, ".").concat(func.name, ".function.js");
|
|
48
53
|
funcInSandbox = vm.run("module.exports = async function(ctx){".concat(func.script, "};"), funcFileName);
|
|
@@ -53,9 +58,12 @@ var runFunction = function (func, thisArg) {
|
|
|
53
58
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
54
59
|
return tslib_1.__generator(this, function (_a) {
|
|
55
60
|
return [2, new Promise(function (resolve, reject) {
|
|
56
|
-
funcInSandbox
|
|
61
|
+
funcInSandbox
|
|
62
|
+
.apply(thisArg, args)
|
|
63
|
+
.then(function (res) {
|
|
57
64
|
resolve(res);
|
|
58
|
-
})
|
|
65
|
+
})
|
|
66
|
+
.catch(function (error) {
|
|
59
67
|
reject(error);
|
|
60
68
|
});
|
|
61
69
|
})];
|
|
@@ -69,10 +77,14 @@ var runFunction = function (func, thisArg) {
|
|
|
69
77
|
case 3:
|
|
70
78
|
error_1 = _a.sent();
|
|
71
79
|
source = error_1.stack;
|
|
72
|
-
errorStack = source
|
|
80
|
+
errorStack = source
|
|
81
|
+
.substring(source.indexOf("(") + 1, source.indexOf(")"))
|
|
82
|
+
.replace(funcFileName, "对象「" + func.objectApiName + "」的「" + func.name + "」函数")
|
|
83
|
+
.replace(":", " 行 ")
|
|
84
|
+
.replace(":", " 列 ");
|
|
73
85
|
newError = new Error(error_1.message);
|
|
74
86
|
newError.stack = "Object Function Error: ".concat(error_1.message, "\n at ").concat(errorStack);
|
|
75
|
-
if (process.env.NODE_ENV ===
|
|
87
|
+
if (process.env.NODE_ENV === "development") {
|
|
76
88
|
newError.message = newError.stack;
|
|
77
89
|
}
|
|
78
90
|
throw newError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/functions/function.ts"],"names":[],"mappings":";;;;AAQQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/functions/function.ts"],"names":[],"mappings":";;;;AAQQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAClC,IAAM,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAE9C,SAAS,YAAY,CAAC,QAAQ;IAAE,cAAO;SAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;QAAP,6BAAO;;IACrC,IAAI;QACF,IAAI,EAAE,QAAO,QAAQ,YAAR,QAAQ,uEAAI,IAAI,YAAE,QAAQ,aAAC,CAAC;QACzC,OAAO,EAAE,CAAC;KACX;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,OAAO,IAAI,CAAC;KACb;AACH,CAAC;AAEM,IAAM,WAAW,GAAG,UAAO,IAAI,EAAE,OAAO;IAAE,cAAO;SAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;QAAP,6BAAO;;;;;;;oBAChD,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;oBAC/C,GAAG,GAAG;wBACV,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;wBACpB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;wBACzB,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC;wBACpC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC;qBACxB,CAAC;oBAEI,EAAE,GAAG,IAAI,MAAM,CAAC;wBACpB,OAAO,EAAE;4BACP,YAAY,cAAA;4BACZ,MAAM,EAAE,GAAG;4BACX,GAAG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AAK,CAAC,OAAK,CAAC,OAAO,CAAC,CAAC;oBAC1C,QAAQ,CAAC,KAAK,GAAG,iCAA0B,OAAK,CAAC,OAAO,sBAAY,UAAU,CAAE,CAAC;oBACjF,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE;wBAC1C,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC;qBACnC;oBACD,MAAM,QAAQ,CAAC;;;;;CAElB,CAAC;AA5DW,QAAA,WAAW,eA4DtB"}
|
package/lib/triggers/trigger.js
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runTriggerFunction = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var NodeVM = require(
|
|
6
|
-
var _ = require(
|
|
5
|
+
var NodeVM = require("vm2").NodeVM;
|
|
6
|
+
var _ = require("lodash");
|
|
7
7
|
var mongodb_1 = require("mongodb");
|
|
8
8
|
var axios_1 = require("axios");
|
|
9
|
+
var objectql = require("@steedos/objectql");
|
|
9
10
|
function str2function(contents) {
|
|
10
11
|
var args = [];
|
|
11
12
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -44,10 +45,11 @@ var runUrlTrigger = function (trigger, thisArg, args) { return tslib_1.__awaiter
|
|
|
44
45
|
throw new Error("\u89E6\u53D1\u5668\u300C".concat(trigger.name, "\u300D\u7F3A\u5C11URL"));
|
|
45
46
|
}
|
|
46
47
|
headers = {
|
|
47
|
-
|
|
48
|
+
"Content-Type": "application/json",
|
|
48
49
|
};
|
|
49
|
-
if (trigger.authentication_type ==
|
|
50
|
-
headers[trigger.authentication_header_key] =
|
|
50
|
+
if (trigger.authentication_type == "header") {
|
|
51
|
+
headers[trigger.authentication_header_key] =
|
|
52
|
+
trigger.authentication_header_value;
|
|
51
53
|
}
|
|
52
54
|
return [4, sendPost(trigger.url, args && args.length > 0 ? args[0].params : {}, { headers: headers })];
|
|
53
55
|
case 1:
|
|
@@ -69,35 +71,38 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
69
71
|
args[_i - 2] = arguments[_i];
|
|
70
72
|
}
|
|
71
73
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
72
|
-
var vm, triggerFileName, triggerInSandbox, runTrigger, res, error_2, source, errorStack, newError;
|
|
74
|
+
var db, npm, vm, triggerFileName, triggerInSandbox, runTrigger, res, error_2, source, errorStack, newError;
|
|
73
75
|
return tslib_1.__generator(this, function (_a) {
|
|
74
76
|
switch (_a.label) {
|
|
75
77
|
case 0:
|
|
76
|
-
if (!(trigger.type ===
|
|
78
|
+
if (!(trigger.type === "url")) return [3, 2];
|
|
77
79
|
return [4, runUrlTrigger(trigger, thisArg, args)];
|
|
78
80
|
case 1: return [2, _a.sent()];
|
|
79
81
|
case 2:
|
|
82
|
+
db = objectql.getDataSource("default").adapter;
|
|
83
|
+
npm = {
|
|
84
|
+
_: require("lodash"),
|
|
85
|
+
moment: require("moment"),
|
|
86
|
+
validator: require("validator"),
|
|
87
|
+
filters: require("@steedos/filters"),
|
|
88
|
+
};
|
|
80
89
|
vm = new NodeVM({
|
|
81
90
|
sandbox: {
|
|
82
91
|
str2function: str2function,
|
|
83
|
-
global:
|
|
84
|
-
|
|
85
|
-
moment: require('moment'),
|
|
86
|
-
validator: require('validator'),
|
|
87
|
-
Filters: require('@steedos/filters'),
|
|
88
|
-
filters: require('@steedos/filters')
|
|
89
|
-
},
|
|
92
|
+
global: npm,
|
|
93
|
+
npm: npm,
|
|
90
94
|
services: global.services,
|
|
91
95
|
objects: global.objects,
|
|
92
96
|
makeNewID: function () {
|
|
93
97
|
return new mongodb_1.ObjectId().toHexString();
|
|
94
|
-
}
|
|
98
|
+
},
|
|
99
|
+
db: db,
|
|
95
100
|
},
|
|
96
101
|
require: {
|
|
97
102
|
external: true,
|
|
98
|
-
root:
|
|
103
|
+
root: "./",
|
|
99
104
|
},
|
|
100
|
-
env: process.env
|
|
105
|
+
env: process.env,
|
|
101
106
|
});
|
|
102
107
|
triggerFileName = "".concat(trigger.listenTo, ".").concat(trigger.name, ".trigger.js");
|
|
103
108
|
triggerInSandbox = vm.run("module.exports = async function(ctx){".concat(trigger.handler, "};"), triggerFileName);
|
|
@@ -108,9 +113,12 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
108
113
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
109
114
|
return tslib_1.__generator(this, function (_a) {
|
|
110
115
|
return [2, new Promise(function (resolve, reject) {
|
|
111
|
-
triggerInSandbox
|
|
116
|
+
triggerInSandbox
|
|
117
|
+
.apply(thisArg, args)
|
|
118
|
+
.then(function (res) {
|
|
112
119
|
resolve(res);
|
|
113
|
-
})
|
|
120
|
+
})
|
|
121
|
+
.catch(function (error) {
|
|
114
122
|
reject(error);
|
|
115
123
|
});
|
|
116
124
|
})];
|
|
@@ -124,12 +132,18 @@ var runTriggerFunction = function (trigger, thisArg) {
|
|
|
124
132
|
case 5:
|
|
125
133
|
error_2 = _a.sent();
|
|
126
134
|
source = error_2.stack;
|
|
127
|
-
errorStack = source
|
|
135
|
+
errorStack = source
|
|
136
|
+
.substring(source.indexOf("(") + 1, source.indexOf(")"))
|
|
137
|
+
.replace(triggerFileName, "对象「" + trigger.listenTo + "」的「" + trigger.name + "」触发器")
|
|
138
|
+
.replace(":", " 行 ")
|
|
139
|
+
.replace(":", " 列 ");
|
|
128
140
|
newError = new Error(error_2.message);
|
|
129
141
|
newError.stack = "Object Trigger Error: ".concat(error_2.message, "\n at ").concat(errorStack);
|
|
130
|
-
if (process.env.NODE_ENV ===
|
|
142
|
+
if (process.env.NODE_ENV === "development") {
|
|
131
143
|
newError.message = newError.stack;
|
|
132
144
|
}
|
|
145
|
+
console.log(error_2);
|
|
146
|
+
console.log(newError);
|
|
133
147
|
throw newError;
|
|
134
148
|
case 6: return [2];
|
|
135
149
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../src/triggers/trigger.ts"],"names":[],"mappings":";;;;AAOQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAClC,IAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../src/triggers/trigger.ts"],"names":[],"mappings":";;;;AAOQ,IAAA,MAAM,GAAK,OAAO,CAAC,KAAK,CAAC,OAAnB,CAAoB;AAClC,IAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,mCAAmC;AACnC,+BAA0B;AAC1B,IAAM,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAE9C,SAAS,YAAY,CAAC,QAAQ;IAAE,cAAO;SAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;QAAP,6BAAO;;IACrC,IAAI;QACF,IAAI,EAAE,QAAO,QAAQ,YAAR,QAAQ,uEAAI,IAAI,YAAE,QAAQ,aAAC,CAAC;QACzC,OAAO,EAAE,CAAC;KACX;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,OAAO,IAAI,CAAC;KACb;AACH,CAAC;AAED,IAAM,QAAQ,GAAG,UAAO,GAAG,EAAE,IAAI,EAAE,OAAO;;;;;;gBAE/B,WAAM,eAAK,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,EAAA;oBAA3C,WAAO,SAAoC,EAAC;;;gBAE5C,MAAM,IAAI,KAAK,CAAC,mCAAQ,OAAK,CAAC,OAAO,gBAAM,GAAG,CAAE,CAAC,CAAC;;;;KAErD,CAAC;AAqBF,IAAM,aAAa,GAAG,UAAO,OAAO,EAAE,OAAO,EAAE,IAAI;;;;;gBACjD,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE;oBAChB,MAAM,IAAI,KAAK,CAAC,kCAAO,OAAO,CAAC,IAAI,0BAAQ,CAAC,C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oBAEL,MAAM,GAAG,OAAK,CAAC,KAAK,CAAC;oBACrB,UAAU,GAAG,MAAM;yBACtB,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;yBACvD,OAAO,CACN,eAAe,EACf,KAAK,GAAG,OAAO,CAAC,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC,IAAI,GAAG,MAAM,CACzD;yBACA,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC;yBACnB,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;oBACjB,QAAQ,GAAG,IAAI,KAAK,CAAC,OAAK,CAAC,OAAO,CAAC,CAAC;oBAC1C,QAAQ,CAAC,KAAK,GAAG,gCAAyB,OAAK,CAAC,OAAO,sBAAY,UAAU,CAAE,CAAC;oBAChF,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE;wBAC1C,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC;qBACnC;oBACD,OAAO,CAAC,GAAG,CAAC,OAAK,CAAC,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;oBACtB,MAAM,QAAQ,CAAC;;;;;CAElB,CAAC;AAtEW,QAAA,kBAAkB,sBAsE7B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/objectql",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.28-beta.1",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@salesforce/kit": "1.0.4",
|
|
18
18
|
"@salesforce/ts-types": "1.1.1",
|
|
19
|
-
"@steedos/cachers": "2.7.
|
|
20
|
-
"@steedos/filters": "2.7.
|
|
21
|
-
"@steedos/formula": "2.7.
|
|
22
|
-
"@steedos/i18n": "2.7.
|
|
23
|
-
"@steedos/metadata-core": "2.7.
|
|
24
|
-
"@steedos/metadata-registrar": "2.7.
|
|
25
|
-
"@steedos/odata-v4-mongodb": "2.7.
|
|
26
|
-
"@steedos/odata-v4-sql": "2.7.
|
|
27
|
-
"@steedos/odata-v4-typeorm": "2.7.
|
|
28
|
-
"@steedos/schemas": "2.7.
|
|
29
|
-
"@steedos/standard-objects": "2.7.
|
|
19
|
+
"@steedos/cachers": "2.7.28-beta.1",
|
|
20
|
+
"@steedos/filters": "2.7.28-beta.1",
|
|
21
|
+
"@steedos/formula": "2.7.28-beta.1",
|
|
22
|
+
"@steedos/i18n": "2.7.28-beta.1",
|
|
23
|
+
"@steedos/metadata-core": "2.7.28-beta.1",
|
|
24
|
+
"@steedos/metadata-registrar": "2.7.28-beta.1",
|
|
25
|
+
"@steedos/odata-v4-mongodb": "2.7.28-beta.1",
|
|
26
|
+
"@steedos/odata-v4-sql": "2.7.28-beta.1",
|
|
27
|
+
"@steedos/odata-v4-typeorm": "2.7.28-beta.1",
|
|
28
|
+
"@steedos/schemas": "2.7.28-beta.1",
|
|
29
|
+
"@steedos/standard-objects": "2.7.28-beta.1",
|
|
30
30
|
"amis-formula": "~6.3.0",
|
|
31
31
|
"app-root-path": "^2.2.1",
|
|
32
32
|
"axios": "^0.21.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"vm2": "^3.9.17"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@steedos/meteor-bundle-runner": "2.7.
|
|
60
|
+
"@steedos/meteor-bundle-runner": "2.7.28-beta.1",
|
|
61
61
|
"@types/express": "^4.16.1",
|
|
62
62
|
"@types/node": "^11.10.4",
|
|
63
63
|
"@types/underscore": "^1.8.13",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "ec675154618d09d9a7585ad4d93de475bf4ff8d1"
|
|
71
71
|
}
|