@contember/schema-definition 2.1.0-alpha.23 → 2.1.0-alpha.25

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/schema-definition",
3
- "version": "2.1.0-alpha.23",
3
+ "version": "2.1.0-alpha.25",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/production/index.js",
6
6
  "typings": "./dist/types/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@contember/schema": "2.1.0-alpha.23",
27
- "@contember/schema-utils": "2.1.0-alpha.23",
26
+ "@contember/schema": "2.1.0-alpha.25",
27
+ "@contember/schema-utils": "2.1.0-alpha.25",
28
28
  "reflect-metadata": "^0.2.2",
29
29
  "fast-deep-equal": "^3.1.3"
30
30
  },
@@ -101,6 +101,7 @@ export class ActionsFactory {
101
101
  watch: this.parseSelection(trigger.watch),
102
102
  selection: trigger.selection ? this.parseSelection(trigger.selection) : undefined,
103
103
  priority: trigger.priority,
104
+ ...('withNodes' in trigger ? { withNodes: trigger.withNodes } : {}),
104
105
  }
105
106
  }
106
107
 
@@ -35,6 +35,7 @@ export type BasicTriggerDefinition =
35
35
  export type WatchTriggerDefinition =
36
36
  & {
37
37
  readonly watch: Actions.SelectionNode | string
38
+ readonly withNodes?: boolean
38
39
  }
39
40
  & CommonTriggerDefinition
40
41
  & TargetDefinition