Skip to content

Commit 36bd5dd

Browse files
committed
FEATURE: Add missing definition for child node presets
1 parent 031f516 commit 36bd5dd

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

NodeTypes.Schema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,14 @@
14791479
]
14801480
},
14811481
"options": {
1482-
"type": "object"
1482+
"type": "object",
1483+
"additionalProperties": true,
1484+
"properties": {
1485+
"preset": {
1486+
"type": "string",
1487+
"description": "A child node preset as configured in `Neos.Neos.nodeTypes.presets.childNodes`."
1488+
}
1489+
}
14831490
},
14841491
"constraints": {
14851492
"type": "object",

examples/NodeTypes.WithChildren.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ My.Vendor:Document.Simple:
99
constraints:
1010
nodeTypes:
1111
Neos.Neos:Content: true
12+
footer:
13+
options:
14+
preset: 'footer'

0 commit comments

Comments
 (0)