"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pushResourcesRemoteUrl = exports.fetchResourcesRemoteUrl = exports.deleteResourcesGroup = exports.saveResourcesGroup = exports.pushResourcesGroups = exports.fetchResourcesGroups = exports.resetResourcesEditDrawerState = exports.updateResourcesGroupsState = exports.pushResourcesGroupTypes = exports.fetchResourcesGroupTypes = exports.openEditDrawer = exports.updateLoading = exports.clearAll = void 0;
const typesafe_actions_1 = require("typesafe-actions");
exports.clearAll = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__CLEAR_ALL', () => ({}))();
exports.updateLoading = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__UPDATE_LOADING', (loading) => ({ loading }))();
exports.openEditDrawer = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__STATE_EDIT_DRAWER_UPDATE', (open, editGroup) => ({
    open,
    editGroup,
}))();
exports.fetchResourcesGroupTypes = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___FETCH_GROUP_TYPES', (params, cb) => ({ params, cb }))();
exports.pushResourcesGroupTypes = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___PUSH_GROUP_TYPES', (groupTypeList) => ({ groupTypeList }))();
exports.updateResourcesGroupsState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__STATE_UPDATE', (params) => ({
    params,
}))();
exports.resetResourcesEditDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__STATE_EDIT_DRAWER_RESET', () => ({}))();
exports.fetchResourcesGroups = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___FETCH_GROUPS', (params, options) => ({ params, options }))();
exports.pushResourcesGroups = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___PUSH_GROUPS', (groupList) => ({ groupList }))();
exports.saveResourcesGroup = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___SAVE_GROUP', (params, options) => ({ params, options }))();
exports.deleteResourcesGroup = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___DELETE_GROUP', (params, options) => ({ params, options }))();
exports.fetchResourcesRemoteUrl = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS__FETCH_RESOURCE_URL', (params) => (Object.assign({}, params)))();
exports.pushResourcesRemoteUrl = (0, typesafe_actions_1.createAction)('APPLICATION_RESOURCES_GROUPS___PUSH_RESOURCE_URL', (url) => ({ url }))();
