mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[MNT-25522] Add support for 'Link document' functionality (#5195)
* [MNT-25522] Add 'Link document' functionality * [MNT-25522] address copilot comments * [MNT-25522] cr fixes * [MNT-25522] address code smell
This commit is contained in:
@@ -39,6 +39,8 @@ export enum NodeActionTypes {
|
||||
Unshare = 'UNSHARE_NODES',
|
||||
Copy = 'COPY_NODES',
|
||||
Move = 'MOVE_NODES',
|
||||
Link = 'CREATE_LINK',
|
||||
Locate = 'LOCATE_LINKED_ITEM',
|
||||
NodeInformation = 'NODE_INFORMATION',
|
||||
ManagePermissions = 'MANAGE_PERMISSIONS',
|
||||
PrintFile = 'PRINT_FILE',
|
||||
@@ -149,6 +151,21 @@ export class MoveNodesAction implements Action {
|
||||
) {}
|
||||
}
|
||||
|
||||
export class LinkNodesAction implements Action {
|
||||
readonly type = NodeActionTypes.Link;
|
||||
|
||||
constructor(
|
||||
public payload: Array<NodeEntry>,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
|
||||
export class LocateLinkedItemAction implements Action {
|
||||
readonly type = NodeActionTypes.Locate;
|
||||
|
||||
constructor(public payload: Array<NodeEntry>) {}
|
||||
}
|
||||
|
||||
export class ManagePermissionsAction implements Action {
|
||||
readonly type = NodeActionTypes.ManagePermissions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user