@craftercms/studio-ui
Version:
Services, components, models & utils to build CrafterCMS authoring extensions.
57 lines (55 loc) • 3.36 kB
JavaScript
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as published by
* the Free Software Foundation.
*
* This program 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as published by
* the Free Software Foundation.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { createAction } from '@reduxjs/toolkit';
export const pathNavigatorTreeInit = /*#__PURE__*/ createAction('PATH_NAV_TREE_INIT');
export const pathNavigatorTreeRefresh = /*#__PURE__*/ createAction('PATH_NAV_TREE_REFRESH');
export const pathNavigatorTreeBackgroundRefresh = /*#__PURE__*/ createAction('PATH_NAV_TREE_BACKGROUND_REFRESH');
export const pathNavigatorTreeRestore = /*#__PURE__*/ createAction('PATH_NAV_TREE_RESTORE');
export const pathNavigatorTreeRestoreComplete = /*#__PURE__*/ createAction('PATH_NAV_TREE_RESTORE_COMPLETE');
export const pathNavigatorTreeRestoreFailed = /*#__PURE__*/ createAction('PATH_NAV_TREE_RESTORE_FAILED');
export const pathNavigatorTreeExpandPath = /*#__PURE__*/ createAction('PATH_NAV_TREE_EXPAND_PATH');
export const pathNavigatorTreeCollapsePath = /*#__PURE__*/ createAction('PATH_NAV_TREE_COLLAPSE_PATH');
export const pathNavigatorTreeSetKeyword = /*#__PURE__*/ createAction('PATH_NAV_TREE_SET_KEYWORD');
export const pathNavigatorTreeToggleCollapsed = /*#__PURE__*/ createAction('PATH_NAV_TREE_TOGGLE_EXPANDED');
export const pathNavigatorTreeFetchPathPage = /*#__PURE__*/ createAction('PATH_NAV_TREE_FETCH_PATH_PAGE');
export const pathNavigatorTreeFetchPathPageComplete = /*#__PURE__*/ createAction(
'PATH_NAV_TREE_FETCH_PATH_PAGE_COMPLETE'
);
export const pathNavigatorTreeFetchPathPageFailed = /*#__PURE__*/ createAction('PATH_NAV_TREE_FETCH_PATH_PAGE_FAILED');
export const pathNavigatorTreeFetchPathChildren = /*#__PURE__*/ createAction('PATH_NAV_TREE_FETCH_PATH_CHILDREN');
export const pathNavigatorTreeFetchPathChildrenComplete = /*#__PURE__*/ createAction(
'PATH_NAV_TREE_FETCH_PATH_CHILDREN_COMPLETE'
);
export const pathNavigatorTreeFetchPathChildrenFailed = /*#__PURE__*/ createAction(
'PATH_NAV_TREE_FETCH_PATH_CHILDREN_FAILED'
);
export const pathNavigatorTreeUpdate = /*#__PURE__*/ createAction('PATH_NAV_TREE_UPDATE');
export const pathNavigatorTreeRootMissing = /*#__PURE__*/ createAction('PATH_NAV_TREE_ROOT_MISSING');