import { UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE, } from '../entity.js';
import { UMB_DOCUMENT_BLUEPRINT_TREE_ALIAS, UMB_DOCUMENT_BLUEPRINT_TREE_REPOSITORY_ALIAS, UMB_DOCUMENT_BLUEPRINT_TREE_STORE_ALIAS, } from './constants.js';
import { UmbDocumentBlueprintTreeStore } from './document-blueprint-tree.store.js';
import { manifests as folderManifests } from './folder/manifests.js';
import { manifests as reloadManifests } from './reload-tree-item-children/manifests.js';
export const manifests = [
    {
        type: 'repository',
        alias: UMB_DOCUMENT_BLUEPRINT_TREE_REPOSITORY_ALIAS,
        name: 'Document Blueprint Tree Repository',
        api: () => import('./document-blueprint-tree.repository.js'),
    },
    {
        type: 'treeStore',
        alias: UMB_DOCUMENT_BLUEPRINT_TREE_STORE_ALIAS,
        name: 'Document Blueprint Tree Store',
        api: UmbDocumentBlueprintTreeStore,
    },
    {
        type: 'tree',
        kind: 'default',
        alias: UMB_DOCUMENT_BLUEPRINT_TREE_ALIAS,
        name: 'Document Blueprints Tree',
        meta: {
            repositoryAlias: UMB_DOCUMENT_BLUEPRINT_TREE_REPOSITORY_ALIAS,
        },
    },
    {
        type: 'treeItem',
        kind: 'default',
        alias: 'Umb.TreeItem.DocumentBlueprint',
        name: 'Document Blueprint Tree Item',
        forEntityTypes: [
            UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
            UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE,
            UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE,
        ],
    },
    {
        type: 'workspace',
        kind: 'default',
        alias: 'Umb.Workspace.DocumentBlueprint.Root',
        name: 'Document Blueprint Root Workspace',
        meta: {
            entityType: UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
            headline: '#treeHeaders_contentBlueprints',
        },
    },
    ...reloadManifests,
    ...folderManifests,
];
