@fugood/bricks-project 2.23.0 → 2.24.0-beta.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/compile/index.ts +2 -0
- package/package.json +2 -2
- package/tools/preview.ts +1 -1
package/compile/index.ts
CHANGED
|
@@ -781,6 +781,7 @@ export const compile = async (app: Application) => {
|
|
|
781
781
|
title: dataCalc.title,
|
|
782
782
|
description: dataCalc.description,
|
|
783
783
|
}
|
|
784
|
+
if (dataCalc.triggerMode) calc.trigger_type = dataCalc.triggerMode
|
|
784
785
|
if (dataCalc.__typename === 'DataCalculationMap') {
|
|
785
786
|
calc.type = 'general'
|
|
786
787
|
const mapCalc = dataCalc as DataCalculationMap
|
|
@@ -915,6 +916,7 @@ export const compile = async (app: Application) => {
|
|
|
915
916
|
note: scriptCalc.note,
|
|
916
917
|
code,
|
|
917
918
|
enable_async: scriptCalc.enableAsync,
|
|
919
|
+
trigger_mode: scriptCalc.triggerMode,
|
|
918
920
|
inputs: scriptCalc.inputs.reduce((acc, input) => {
|
|
919
921
|
acc[input.data().id] = input.key
|
|
920
922
|
return acc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.0-beta.0",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun scripts/build.js"
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"lodash": "^4.17.4",
|
|
19
19
|
"uuid": "^8.3.1"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "27bd4a30a4dd412ab73eab13c49265f73fd76e6c"
|
|
22
22
|
}
|
package/tools/preview.ts
CHANGED