"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeResources = exports.updateFolder = exports.addFolder = exports.updateFile = exports.addFile = exports.fetchGroupInfo = exports.fetchResourcesList = exports.resetResourcesDetailFileDrawerState = exports.updateResourcesDetailFileDrawerState = exports.resetResourcesDetailFolderDrawerState = exports.updateResourcesDetailFolderDrawerState = exports.updateResourcesDetailState = exports.updateSelectedRowKeys = exports.updateFolderPath = exports.clearAll = void 0;
const typesafe_actions_1 = require("typesafe-actions");
exports.clearAll = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__CLEAR_ALL', () => ({}))();
exports.updateFolderPath = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__UPDATE_FOLDER_PATH', (folderPath) => ({
    folderPath,
}))();
exports.updateSelectedRowKeys = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__UPDATE_SELECTED_ROW_KEYS', (keys) => ({
    keys,
}))();
exports.updateResourcesDetailState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__UPDATE_STATE', (params) => ({
    params,
}))();
exports.updateResourcesDetailFolderDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FOLDER_DRAWER_UPDATE_STATE', (params) => ({
    params,
}))();
exports.resetResourcesDetailFolderDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FOLDER_DRAWER_RESET_STATE', () => ({}))();
exports.updateResourcesDetailFileDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FILE_DRAWER_UPDATE_STATE', (params) => ({
    params,
}))();
exports.resetResourcesDetailFileDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FILE_DRAWER_RESET_STATE', () => ({}))();
// actions
exports.fetchResourcesList = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FETCH_RESOURCES_LIST', (params, options) => ({ params, options }))();
exports.fetchGroupInfo = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__FETCH_GROUP_INFO', (params, options) => ({ params, options }))();
exports.addFile = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__ADD_FILE', (params, options) => ({ params, options }))();
exports.updateFile = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__UPDATE_FILE', (params, options) => ({ params, options }))();
exports.addFolder = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__ADD_FOLDER', (params, options) => ({ params, options }))();
exports.updateFolder = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__UPDATE_FOLDER', (params, options) => ({ params, options }))();
exports.removeResources = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_DETAIL__REMOVE_RESOURCES', (params, options) => ({ params, options }))();
