clean data type move
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { UMB_DATA_TYPE_ENTITY_TYPE } from '../../entity.js';
|
||||
import { UMB_DATA_TYPE_PICKER_MODAL } from '../../modals/index.js';
|
||||
import { UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS } from '../../repository/index.js';
|
||||
import { UMB_DATA_TYPE_TREE_REPOSITORY_ALIAS } from '../../tree/index.js';
|
||||
import { UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS } from './repository/index.js';
|
||||
import { manifests as repositoryManifests } from './repository/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -9,7 +9,7 @@ const entityActions: Array<ManifestTypes> = [
|
||||
{
|
||||
type: 'entityAction',
|
||||
kind: 'moveTo',
|
||||
alias: 'Umb.EntityAction.DataType.MoveTo',
|
||||
alias: 'Umb.EntityAction.DataType.Move',
|
||||
name: 'Move Data Type Entity Action',
|
||||
forEntityTypes: [UMB_DATA_TYPE_ENTITY_TYPE],
|
||||
meta: {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS = 'Umb.Repository.DataType.Move';
|
||||
@@ -4,7 +4,7 @@ import { tryExecuteAndNotify } from '@umbraco-cms/backoffice/resources';
|
||||
import type { UmbMoveToDataSource, UmbMoveToRequestArgs } from '@umbraco-cms/backoffice/repository';
|
||||
|
||||
/**
|
||||
* A data source for Data Type items that fetches data from the server
|
||||
* Move Data Type Server Data Source
|
||||
* @export
|
||||
* @class UmbDataTypeMoveServerDataSource
|
||||
*/
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbMoveDataTypeRepository } from './data-type-move.repository.js';
|
||||
export { UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS } from './constants.js';
|
||||
import { UmbMoveDataTypeRepository } from './data-type-move.repository.js';
|
||||
import type { ManifestRepository } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS = 'Umb.Repository.DataType.Move';
|
||||
|
||||
const moveRepository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_MOVE_DATA_TYPE_REPOSITORY_ALIAS,
|
||||
|
||||
Reference in New Issue
Block a user