import { UMB_PARTIAL_VIEW_DETAIL_REPOSITORY_ALIAS, UMB_PARTIAL_VIEW_ITEM_REPOSITORY_ALIAS } from '../constants.js';
import { UMB_PARTIAL_VIEW_ENTITY_TYPE } from '../entity.js';
import { manifests as createManifests } from './create/manifests.js';
import { manifests as renameManifests } from './rename/manifests.js';
import { UMB_IS_SERVER_PRODUCTION_MODE_CONDITION_ALIAS } from '../../../core/server/index.js';
export const manifests = [
    {
        type: 'entityAction',
        kind: 'delete',
        alias: 'Umb.EntityAction.PartialView.Delete',
        name: 'Delete Partial View Entity Action',
        forEntityTypes: [UMB_PARTIAL_VIEW_ENTITY_TYPE],
        meta: {
            detailRepositoryAlias: UMB_PARTIAL_VIEW_DETAIL_REPOSITORY_ALIAS,
            itemRepositoryAlias: UMB_PARTIAL_VIEW_ITEM_REPOSITORY_ALIAS,
        },
        conditions: [
            {
                alias: UMB_IS_SERVER_PRODUCTION_MODE_CONDITION_ALIAS,
                match: false,
            },
        ],
    },
    ...createManifests,
    ...renameManifests,
];
