Effects targeting calculations by tag now work in the engine and actions

This commit is contained in:
Stefan Zermatten
2022-02-15 15:59:41 +02:00
parent e0f621cc44
commit 378da71f5d
19 changed files with 454 additions and 98 deletions

View File

@@ -24,6 +24,15 @@ function computedOnlyField(field){
optional: true,
removeBeforeCompute: true,
},
// A list of effects targeting this calculation
[`${field}.effects`]: {
type: Array,
optional: true,
},
[`${field}.effects.$`]: {
type: Object,
blackbox: true,
},
// A cache of the parse result of the calculation
[`${field}.parseNode`]: {
type: Object,