Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / content_moderation / config / schema / content_moderation.schema.yml
index b791b67b8018ad3d6b57a4eaf87179cd76004e9c..d48ffe439f8d9e6ff871ef98efc77dcfed0096ba 100644 (file)
@@ -1,27 +1,29 @@
-views.filter.latest_revision:
-  type: views_filter
-  label: 'Latest revision'
+content_moderation.state:
+  type: workflows.state
   mapping:
-    value:
-      type: string
-      label: 'Value'
+    published:
+      type: boolean
+      label: 'Is published'
+    default_revision:
+      type: boolean
+      label: 'Is default revision'
 
 workflow.type_settings.content_moderation:
   type: mapping
   mapping:
     states:
       type: sequence
-      label: 'Additional state configuration for content moderation'
+      label: 'Content moderation states'
+      orderby: key
       sequence:
-        type: mapping
+        type: content_moderation.state
         label: 'States'
-        mapping:
-          published:
-            type: boolean
-            label: 'Is published'
-          default_revision:
-            type: boolean
-            label: 'Is default revision'
+    transitions:
+      type: sequence
+      orderby: key
+      sequence:
+        type: workflows.transition
+        label: 'Transitions'
     entity_types:
       type: sequence
       label: 'Entity types'