move action base class to entity action lib folder
This commit is contained in:
committed by
Jacob Overgaard
parent
96e1282aad
commit
cc921631ee
@@ -3,6 +3,7 @@ import { umbExtensionsRegistry, createExtensionClass } from '@umbraco-cms/extens
|
||||
import { UmbObserverController } from '@umbraco-cms/observable-api';
|
||||
|
||||
export interface UmbAction<RepositoryType> {
|
||||
host: UmbControllerHostInterface;
|
||||
repository: RepositoryType;
|
||||
execute(): Promise<void>;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UmbAction, UmbActionBase } from '../../src/backoffice/shared/action';
|
||||
import { UmbAction, UmbActionBase } from './action';
|
||||
import { UmbControllerHostInterface } from '@umbraco-cms/controller';
|
||||
|
||||
export interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { UmbAction, UmbActionBase } from './action';
|
||||
import { UmbControllerHostInterface } from '@umbraco-cms/controller';
|
||||
import { UmbActionBase } from 'src/backoffice/shared/action';
|
||||
|
||||
export interface UmbEntityBulkAction<RepositoryType> extends UmbAction<RepositoryType> {
|
||||
selection: Array<string>;
|
||||
}
|
||||
|
||||
export class UmbEntityBulkActionBase<T> extends UmbActionBase<T> {
|
||||
selection: Array<string>;
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from './action';
|
||||
export * from './entity-action';
|
||||
export * from './entity-bulk-action';
|
||||
|
||||
Reference in New Issue
Block a user