import { UMB_MEDIA_ROOT_ENTITY_TYPE, UMB_MEDIA_MENU_ALIAS } from '../media/index.js';
import { UMB_SECTION_ALIAS_CONDITION_ALIAS, UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, } from '../../core/section/index.js';
const sectionAlias = 'Umb.Section.Media';
export const manifests = [
    {
        type: 'section',
        alias: sectionAlias,
        name: 'Media Section',
        weight: 900,
        meta: {
            label: '#sections_media',
            pathname: 'media',
        },
        conditions: [
            {
                alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS,
                match: sectionAlias,
            },
        ],
    },
    {
        type: 'sectionSidebarApp',
        kind: 'menuWithEntityActions',
        alias: 'Umb.SectionSidebarMenu.Media',
        name: 'Media Section Sidebar Menu',
        weight: 100,
        meta: {
            label: '#sections_media',
            menu: UMB_MEDIA_MENU_ALIAS,
            entityType: UMB_MEDIA_ROOT_ENTITY_TYPE,
        },
        conditions: [
            {
                alias: UMB_SECTION_ALIAS_CONDITION_ALIAS,
                match: sectionAlias,
            },
        ],
    },
];
