/*!
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* from Hyland Software. If not, see .
*/
import { Action } from '@ngrx/store';
import { NodeEntry } from '@alfresco/js-api';
import { ModalConfiguration } from '../models/modal-configuration';
export declare enum NodeActionTypes {
SetSelection = "SET_SELECTED_NODES",
Delete = "DELETE_NODES",
UndoDelete = "UNDO_DELETE_NODES",
RestoreDeleted = "RESTORE_DELETED_NODES",
PurgeDeleted = "PURGE_DELETED_NODES",
Download = "DOWNLOAD_NODES",
CreateFolder = "CREATE_FOLDER",
EditFolder = "EDIT_FOLDER",
Share = "SHARE_NODE",
Unshare = "UNSHARE_NODES",
Copy = "COPY_NODES",
Move = "MOVE_NODES",
NodeInformation = "NODE_INFORMATION",
ManagePermissions = "MANAGE_PERMISSIONS",
PrintFile = "PRINT_FILE",
ManageVersions = "MANAGE_VERSIONS",
EditOffline = "EDIT_OFFLINE",
UnlockForWriting = "UNLOCK_WRITE_LOCK",
AddFavorite = "ADD_FAVORITE",
RemoveFavorite = "REMOVE_FAVORITE",
ChangeAspects = "ASPECT_LIST",
ExpandInfoDrawer = "EXPAND_INFO_DRAWER",
ManageRules = "MANAGE_RULES"
}
export declare class SetSelectedNodesAction implements Action {
payload: NodeEntry[];
readonly type = NodeActionTypes.SetSelection;
constructor(payload?: NodeEntry[]);
}
export declare class DeleteNodesAction implements Action {
payload: NodeEntry[];
allowUndo: boolean;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.Delete;
constructor(payload?: NodeEntry[], allowUndo?: boolean, configuration?: ModalConfiguration);
}
export declare class UndoDeleteNodesAction implements Action {
payload: any[];
readonly type = NodeActionTypes.UndoDelete;
constructor(payload?: any[]);
}
export declare class RestoreDeletedNodesAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.RestoreDeleted;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class PurgeDeletedNodesAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.PurgeDeleted;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class DownloadNodesAction implements Action {
payload: NodeEntry[];
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.Download;
constructor(payload?: NodeEntry[], configuration?: ModalConfiguration);
}
export declare class CreateFolderAction implements Action {
payload: string;
readonly type = NodeActionTypes.CreateFolder;
constructor(payload: string);
}
export declare class EditFolderAction implements Action {
payload: NodeEntry;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.EditFolder;
constructor(payload: NodeEntry, configuration?: ModalConfiguration);
}
export declare class ShareNodeAction implements Action {
payload: NodeEntry;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.Share;
constructor(payload: NodeEntry, configuration?: ModalConfiguration);
}
export declare class UnshareNodesAction implements Action {
payload: Array;
readonly type = NodeActionTypes.Unshare;
constructor(payload: Array);
}
export declare class CopyNodesAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.Copy;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class MoveNodesAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.Move;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class ManagePermissionsAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.ManagePermissions;
constructor(payload: NodeEntry);
}
export declare class ExpandInfoDrawerAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.ExpandInfoDrawer;
constructor(payload: NodeEntry);
}
export declare class PrintFileAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.PrintFile;
constructor(payload: NodeEntry);
}
export declare class ManageVersionsAction implements Action {
payload: NodeEntry;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.ManageVersions;
constructor(payload: NodeEntry, configuration?: ModalConfiguration);
}
export declare class EditOfflineAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.EditOffline;
constructor(payload: NodeEntry);
}
export declare class UnlockWriteAction implements Action {
payload: any;
readonly type = NodeActionTypes.UnlockForWriting;
constructor(payload: any);
}
export declare class AddFavoriteAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.AddFavorite;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class RemoveFavoriteAction implements Action {
payload: Array;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.RemoveFavorite;
constructor(payload: Array, configuration?: ModalConfiguration);
}
export declare class ManageAspectsAction implements Action {
payload: NodeEntry;
configuration?: ModalConfiguration;
readonly type = NodeActionTypes.ChangeAspects;
constructor(payload: NodeEntry, configuration?: ModalConfiguration);
}
export declare class ManageRulesAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.ManageRules;
constructor(payload: NodeEntry);
}
export declare class NodeInformationAction implements Action {
payload: NodeEntry;
readonly type = NodeActionTypes.NodeInformation;
constructor(payload: NodeEntry);
}