move default actions to lib folder

This commit is contained in:
Mads Rasmussen
2023-02-27 16:01:04 +01:00
committed by Jacob Overgaard
parent f2dd81a2f9
commit 5d2d757708
16 changed files with 21 additions and 16 deletions

View File

@@ -0,0 +1,5 @@
export * from './copy/copy.action';
export * from './delete/delete.action';
export * from './move/move.action';
export * from './sort-children-of/sort-children-of.action';
export * from './trash/trash.action';

View File

@@ -1,3 +1,4 @@
export * from './action';
export * from './entity-action';
export * from './entity-bulk-action';
export * from './actions';

View File

@@ -1,7 +1,9 @@
import { UmbCopyEntityAction } from '../../../shared/entity-actions/copy/copy.action';
import { UmbMoveEntityAction } from '../../../shared/entity-actions/move/move.action';
import { UmbTrashEntityAction } from '../../../shared/entity-actions/trash/trash.action';
import { UmbSortChildrenOfEntityAction } from '../../../shared/entity-actions/sort-children-of/sort-children-of.action';
import {
UmbCopyEntityAction,
UmbMoveEntityAction,
UmbTrashEntityAction,
UmbSortChildrenOfEntityAction,
} from '@umbraco-cms/entity-action';
import { UmbCreateDocumentEntityAction } from './create.action';
import { UmbPublishDocumentEntityAction } from './publish.action';
import { UmbDocumentCultureAndHostnamesEntityAction } from './culture-and-hostnames.action';

View File

@@ -1,7 +1,5 @@
import { UmbDeleteEntityAction } from '../../../../backoffice/shared/entity-actions/delete/delete.action';
import { UmbMoveEntityAction } from '../../../../backoffice/shared/entity-actions/move/move.action';
import { UmbDeleteEntityAction, UmbMoveEntityAction, UmbCopyEntityAction } from '@umbraco-cms/entity-action';
import { MEDIA_TYPE_REPOSITORY_ALIAS } from '../repository/manifests';
import { UmbCopyEntityAction } from '../../../../backoffice/shared/entity-actions/copy/copy.action';
import { UmbCreateMediaTypeEntityAction } from './create.action';
import UmbReloadMediaTypeEntityAction from './reload.action';
import type { ManifestEntityAction } from '@umbraco-cms/models';
@@ -62,7 +60,7 @@ const entityActions: Array<ManifestEntityAction> = [
api: UmbDeleteEntityAction,
},
},
{
{
type: 'entityAction',
alias: 'Umb.EntityAction.MediaType.Reload',
name: 'Reload Media Type Entity Action',

View File

@@ -1,4 +1,4 @@
import { UmbTrashEntityAction } from '../../../shared/entity-actions/trash/trash.action';
import { UmbTrashEntityAction } from '@umbraco-cms/entity-action';
import { ManifestEntityAction } from 'libs/extensions-registry/entity-action.models';
const entityActions: Array<ManifestEntityAction> = [

View File

@@ -1,4 +1,4 @@
import { UmbDeleteEntityAction } from '../../../shared/entity-actions/delete/delete.action';
import { UmbDeleteEntityAction } from '@umbraco-cms/entity-action';
import { ManifestEntityAction } from 'libs/extensions-registry/entity-action.models';
const entityActions: Array<ManifestEntityAction> = [

View File

@@ -1,4 +1,4 @@
import { UmbDeleteEntityAction } from '../../../../backoffice/shared/entity-actions/delete/delete.action';
import { UmbDeleteEntityAction } from '@umbraco-cms/entity-action';
import { MEMBER_TYPES_REPOSITORY_ALIAS } from '../repository/manifests';
import type { ManifestEntityAction } from '@umbraco-cms/models';

View File

@@ -1,4 +1,4 @@
import { UmbDeleteEntityAction } from '../../../shared/entity-actions/delete/delete.action';
import { UmbDeleteEntityAction } from '@umbraco-cms/entity-action';
import { ManifestEntityAction } from 'libs/extensions-registry/entity-action.models';
const entityActions: Array<ManifestEntityAction> = [

View File

@@ -1,4 +1,4 @@
import { UmbDeleteEntityAction } from '../../../shared/entity-actions/delete/delete.action';
import { UmbDeleteEntityAction } from '@umbraco-cms/entity-action';
import { ManifestEntityAction } from '@umbraco-cms/extensions-registry';
const entityType = 'language';

View File

@@ -1,4 +1,4 @@
import { UmbDeleteEntityAction } from '../../../shared/entity-actions/delete/delete.action';
import { UmbDeleteEntityAction } from '@umbraco-cms/entity-action';
import { UmbCreateEntityAction } from './create/create.action';
import { ManifestEntityAction } from 'libs/extensions-registry/entity-action.models';

View File

@@ -1,5 +1,4 @@
import { UmbDeleteEntityAction } from '../../../../backoffice/shared/entity-actions/delete/delete.action';
import { UmbMoveEntityAction } from '../../../../backoffice/shared/entity-actions/move/move.action';
import { UmbDeleteEntityAction, UmbMoveEntityAction } from '@umbraco-cms/entity-action';
import { DICTIONARY_REPOSITORY_ALIAS } from '../repository/manifests';
import UmbReloadDictionaryEntityAction from './reload.action';
import UmbImportDictionaryEntityAction from './import/import.action';