shel-neos-schema 1.4.0 → 1.4.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.
@@ -46,6 +46,9 @@
46
46
  "defaultValue": {
47
47
  "$ref": "https://raw.githubusercontent.com/Sebobo/Shel.Neos.Schema/main/NodeTypes.Schema.json#/definitions/defaultValueType"
48
48
  },
49
+ "scope": {
50
+ "$ref": "https://raw.githubusercontent.com/Sebobo/Shel.Neos.Schema/main/NodeTypes.Schema.json#/definitions/scopeType"
51
+ },
49
52
  "search": {
50
53
  "type": "object"
51
54
  }
@@ -1266,6 +1266,15 @@
1266
1266
  "array"
1267
1267
  ]
1268
1268
  },
1269
+ "scopeType": {
1270
+ "type": "string",
1271
+ "enum": [
1272
+ "node",
1273
+ "specializations",
1274
+ "nodeAggregate"
1275
+ ],
1276
+ "description": "Property scopes. Since Neos 9.0."
1277
+ },
1269
1278
  "propertyTypes": {
1270
1279
  "anyOf": [
1271
1280
  {
@@ -1529,13 +1538,7 @@
1529
1538
  "$ref": "#/definitions/defaultValueType"
1530
1539
  },
1531
1540
  "scope": {
1532
- "type": "string",
1533
- "enum": [
1534
- "node",
1535
- "specializations",
1536
- "nodeAggregate"
1537
- ],
1538
- "description": "Property scopes. Since Neos 9.0."
1541
+ "$ref": "#/definitions/scopeType"
1539
1542
  },
1540
1543
  "search": {
1541
1544
  "type": "object",
@@ -7,6 +7,7 @@ Neos:
7
7
  'rangeEditor':
8
8
  type: integer
9
9
  defaultValue: 12
10
+ scope: nodeAggregate
10
11
  ui:
11
12
  inspector:
12
13
  editor: Neos.Neos/Inspector/Editors/RangeEditor
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shel-neos-schema",
3
3
  "description": "A tool to validate Neos YAML schema files like nodetypes and other configuration",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "main": "bin/validate.js",
6
6
  "author": "Sebastian Helzle <sebastian@helzle.it>",
7
7
  "license": "MIT",