[ADF-2163] added target all for content actions (#2900)

* [ADF-2163] first step to target all

* [ADF-2163] start refactoring folder dulpication action

* [ADF-2163] start refactorin all approach

* [ADF-2163] added test for target action 'all'

* [ADF-2163] fixed test and added enum for target actions

* [ADF-2163] updated documentation for content action target all

* [ADF-2163] updated documentation adding ENUM

* [ADF-2163] added change to documentation after quick review

* [ADF-2163] moved to upper case enum

* Revert "[ADF-2163] moved to upper case enum"

This reverts commit 41da0a34dd.

* [ADF-2163] fixed case for documentation
This commit is contained in:
Vito
2018-02-02 19:27:54 +00:00
committed by Eugenio Romano
parent f72d388076
commit 105bc80d2c
5 changed files with 86 additions and 106 deletions

View File

@@ -39,6 +39,12 @@ export class ContentActionModel {
}
}
export enum ContentActionTarget {
Document = 'document',
Folder = 'folder',
All = 'all'
}
export type ContentActionHandler = (obj: any, target?: any, permission?: string) => any;
export class DocumentActionModel extends ContentActionModel {