@nexrender/worker 1.33.0 → 1.34.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/package.json +3 -3
- package/readme.md +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexrender/worker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.1",
|
|
4
4
|
"author": "inlife",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@nexrender/api": "^1.27.0",
|
|
20
|
-
"@nexrender/core": "^1.
|
|
20
|
+
"@nexrender/core": "^1.34.1",
|
|
21
21
|
"@nexrender/types": "^1.27.0",
|
|
22
22
|
"arg": "^4.1.0",
|
|
23
23
|
"chalk": "^2.4.2"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "39b2419f93f410289ed682559f06eb3af9e2f650"
|
|
29
29
|
}
|
package/readme.md
CHANGED
|
@@ -52,6 +52,11 @@ const main = async () => {
|
|
|
52
52
|
skipCleanup: true,
|
|
53
53
|
addLicense: false,
|
|
54
54
|
debug: true,
|
|
55
|
+
actions: {
|
|
56
|
+
"custom-action": (job, settings, {input, params}, type) => {
|
|
57
|
+
// Custom action code
|
|
58
|
+
}
|
|
59
|
+
},
|
|
55
60
|
})
|
|
56
61
|
}
|
|
57
62
|
|
|
@@ -77,5 +82,6 @@ Available settings (almost same as for `nexrender-core`):
|
|
|
77
82
|
* `stopOnError` - boolean, stop the pick-up-and-render process if an error occurs (false by default)
|
|
78
83
|
* `polling` - number, amount of miliseconds to wait before checking queued projects from the api, if specified will be used instead of NEXRENDER_API_POLLING env variable
|
|
79
84
|
* `wslMap` - string, drive letter of your WSL mapping in Windows
|
|
80
|
-
* `aeParams` - array of strings, any additional params that will be passed to the aerender binary, a name-value parameter pair separated by a space
|
|
85
|
+
* `aeParams` - array of strings, any additional params that will be passed to the aerender binary, a name-value parameter pair separated by a space,
|
|
86
|
+
* `actions` - an object with keys corresponding to the `module` field when defining an action, value should be a function matching expected signature of an action. Used for defining actions programmatically without needing to package the action as a separate package
|
|
81
87
|
|