@platforma-sdk/workflow-tengo 1.2.11 → 1.4.0
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/dist/tengo/lib/exec.lib.tengo +21 -3
- package/dist/tengo/lib/pframes.xsv.lib.tengo +1 -0
- package/dist/tengo/lib/smart.lib.tengo +3 -3
- package/dist/tengo/tpl/exec.create-python-venv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.aggregate.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-multiple-pcolumns.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-single-pcolumn.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.import-dir.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.import-xsv-map.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.map-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/workdir.save.plj.gz +0 -0
- package/dist/tengo/tpl/workflow.build-ctx.plj.gz +0 -0
- package/package.json +2 -2
|
@@ -15,7 +15,9 @@ oop := import("@platforma-sdk/workflow-tengo:oop")
|
|
|
15
15
|
validation := import("@platforma-sdk/workflow-tengo:validation")
|
|
16
16
|
constants := import("@platforma-sdk/workflow-tengo:constants")
|
|
17
17
|
|
|
18
|
-
_HEAVY_QUEUE
|
|
18
|
+
_HEAVY_QUEUE := "heavy"
|
|
19
|
+
_MEDIUM_QUEUE := "medium"
|
|
20
|
+
_LIGHT_QUEUE := "light"
|
|
19
21
|
_UI_TASKS_QUEUE := "ui-tasks"
|
|
20
22
|
|
|
21
23
|
/**
|
|
@@ -144,7 +146,7 @@ builder := func() {
|
|
|
144
146
|
},
|
|
145
147
|
|
|
146
148
|
/**
|
|
147
|
-
*
|
|
149
|
+
* Execute command in the 'heavy' queue.
|
|
148
150
|
*/
|
|
149
151
|
inHeavyQueue: func() {
|
|
150
152
|
queue = _HEAVY_QUEUE
|
|
@@ -152,7 +154,23 @@ builder := func() {
|
|
|
152
154
|
},
|
|
153
155
|
|
|
154
156
|
/**
|
|
155
|
-
*
|
|
157
|
+
* Execute command in the 'medium' queue.
|
|
158
|
+
*/
|
|
159
|
+
inMediumQueue: func() {
|
|
160
|
+
queue = _MEDIUM_QUEUE
|
|
161
|
+
return self
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Execute command in the 'light' queue.
|
|
166
|
+
*/
|
|
167
|
+
inLightQueue: func() {
|
|
168
|
+
queue = _LIGHT_QUEUE
|
|
169
|
+
return self
|
|
170
|
+
},
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Execute command in the 'ui-tasks' queue.
|
|
156
174
|
*/
|
|
157
175
|
inUiQueue: func() {
|
|
158
176
|
queue = _UI_TASKS_QUEUE
|
|
@@ -348,7 +348,7 @@ resource = func(r) {
|
|
|
348
348
|
},
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
|
-
* Whether
|
|
351
|
+
* Whether resource has input field with specified name
|
|
352
352
|
*
|
|
353
353
|
* @param name field name
|
|
354
354
|
*/
|
|
@@ -357,7 +357,7 @@ resource = func(r) {
|
|
|
357
357
|
},
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
|
-
* Whether
|
|
360
|
+
* Whether resource has output field with specified name
|
|
361
361
|
*
|
|
362
362
|
* @param name field name
|
|
363
363
|
*/
|
|
@@ -366,7 +366,7 @@ resource = func(r) {
|
|
|
366
366
|
},
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
|
-
* Whether
|
|
369
|
+
* Whether resource has any field with specified name
|
|
370
370
|
*
|
|
371
371
|
* @param name field name
|
|
372
372
|
*/
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/workflow-tengo",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Tengo SDK library",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"./dist/**/*"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@milaboratories/software-pframes-conv": "^1.5.
|
|
19
|
+
"@milaboratories/software-pframes-conv": "^1.5.10"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@platforma-sdk/tengo-builder": "^1.14.13"
|