bdy 1.16.37-dev → 1.16.38-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.16.37-dev",
4
+ "version": "1.16.38-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -83,12 +83,17 @@ const outputJsonArrayProp = (data, padding, name, required) => {
83
83
  output_1.default.normal('');
84
84
  }
85
85
  outputTextWithPadding('[', padding);
86
- if (data.items.type === SCHEMA_TYPE.OBJECT)
87
- outputJsonObject(data.items, padding + 2);
88
- else if (data.items.type === SCHEMA_TYPE.ARRAY)
89
- outputJsonArrayProp(data.items, padding + 2);
90
- else
91
- outputSimpleProp('item', data.items.type, data.items.description, data.items.enum, false, padding + 2);
86
+ if (name === 'trigger_operands') {
87
+ outputTextWithPadding(' {...}', padding);
88
+ }
89
+ else {
90
+ if (data.items.type === SCHEMA_TYPE.OBJECT)
91
+ outputJsonObject(data.items, padding + 2);
92
+ else if (data.items.type === SCHEMA_TYPE.ARRAY)
93
+ outputJsonArrayProp(data.items, padding + 2);
94
+ else
95
+ outputSimpleProp('item', data.items.type, data.items.description, data.items.enum, false, padding + 2);
96
+ }
92
97
  outputTextWithPadding(']', padding);
93
98
  };
94
99
  const outputJsonObject = (data, padding = 1, name, required) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.16.37-dev",
4
+ "version": "1.16.38-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {