<commit_before>'TYPO3.Neos.NodeTypes:Page':
  # Make it abstract, M12.FoundationSite defines its own Page based on that one.
  abstract: TRUE
  # Unset all child nodes, as we need to re-define them in M12.Foundation:Page
  # in the right order, i.e. [top, main, footer]. Without that we would have
  # order [main, top, footer], because 'main' has been already defined
  # in the TYPO3.Neos.NodeTypes:Page and the order cannot be changed (as for now).
  childNodes: ~
  properties:
    # Layout property is already defined in TYPO3.Neos.NodeTypes:Page,
    # but it's not displayed by default because it doesn't belong to any inpsector group.
    # Make it visible here and define available layouts.
    layout:
      ui:
        inspector: &pagePropertyLayoutInspector
          group: layout
          position: 10
          editorOptions:
            values:
              '':
                label: ''
              'container':
                label: 'Page in a container'
              'no-container':
                label: 'Page full width'
    subpageLayout:
      ui:
        inspector: *pagePropertyLayoutInspector
    # Custom content in the HEAD section
    customHeadCode:
      type: string
      ui:
        reloadIfChanged: TRUE
        inspector:
          group: 'devCode'
          position: 29 # before 'customCssCode'
          editor: 'TYPO3.Neos/Inspector/Editors/CodeEditor'
          editorOptions:
            label: 'Custom page HEAD code'


'M12.FoundationSite:Page':
  superTypes: ['TYPO3.Neos.NodeTypes:Page']
  childNodes:
    top:
      type: 'TYPO3.Neos:ContentCollection'
    main:
      type: 'TYPO3.Neos:ContentCollection'
    footer:
      type: 'TYPO3.Neos:ContentCollection'

'M12.FoundationSite:PageSimple':
  superTypes: ['TYPO3.Neos.NodeTypes:Page']
  childNodes:
    main:
      type: 'TYPO3.Neos:ContentCollection'<commit_msg>[TASK] NodeTypes: adjust to new superTypes syntax<commit_after>'TYPO3.Neos.NodeTypes:Page':
  # Make it abstract, M12.FoundationSite defines its own Page based on that one.
  abstract: TRUE
  # Unset all child nodes, as we need to re-define them in M12.Foundation:Page
  # in the right order, i.e. [top, main, footer]. Without that we would have
  # order [main, top, footer], because 'main' has been already defined
  # in the TYPO3.Neos.NodeTypes:Page and the order cannot be changed (as for now).
  childNodes: []
  properties:
    # Layout property is already defined in TYPO3.Neos.NodeTypes:Page,
    # but it's not displayed by default because it doesn't belong to any inpsector group.
    # Make it visible here and define available layouts.
    layout:
      ui:
        inspector: &pagePropertyLayoutInspector
          group: layout
          position: 10
          editorOptions:
            values:
              '':
                label: ''
              'container':
                label: 'Page in a container'
              'no-container':
                label: 'Page full width'
    subpageLayout:
      ui:
        inspector: *pagePropertyLayoutInspector
    # Custom content in the HEAD section
    customHeadCode:
      type: string
      ui:
        reloadIfChanged: TRUE
        inspector:
          group: 'devCode'
          position: 29 # before 'customCssCode'
          editor: 'TYPO3.Neos/Inspector/Editors/CodeEditor'
          editorOptions:
            label: 'Custom page HEAD code'


'M12.FoundationSite:Page':
  superTypes:
    'TYPO3.Neos.NodeTypes:Page': TRUE
  childNodes:
    top:
      type: 'TYPO3.Neos:ContentCollection'
    main:
      type: 'TYPO3.Neos:ContentCollection'
    footer:
      type: 'TYPO3.Neos:ContentCollection'

'M12.FoundationSite:PageSimple':
  superTypes:
    'TYPO3.Neos.NodeTypes:Page': TRUE
  childNodes:
    main:
      type: 'TYPO3.Neos:ContentCollection'
{'fraction_non_alphanumeric': 0.08695652173913043, 'fraction_numerical': 0.011594202898550725, 'mean_word_length': 2.4352941176470586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1179815', 'n_tokens_mistral': 1149, 'n_tokens_neox': 1105, 'n_words': 341}