"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteComponentAction = exports.addComponentAction = exports.fetchComponentsAction = exports.resetComponentDrawerState = exports.updateComponentDrawerState = exports.updateListState = exports.updateLoading = exports.clearAll = void 0;
const typesafe_actions_1 = require("typesafe-actions");
exports.clearAll = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__CLEAR_ALL', () => ({}))();
exports.updateLoading = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__UPDATE_LOADING', (loading) => ({ loading }))();
// state
exports.updateListState = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__UPDATE_STATE', (params) => ({
    params,
}))();
exports.updateComponentDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__UPDATE_COMPONENT_DRAWER_STATE', (params) => ({ params }))();
exports.resetComponentDrawerState = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__RESET_COMPONENT_DRAWER_STATE', () => ({}))();
// actions
exports.fetchComponentsAction = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__FETCH_COMPONENTS_API', (params) => ({ params }))();
exports.addComponentAction = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__ADD_COMPONENT_API', (params, options) => ({ params, options }))();
exports.deleteComponentAction = (0, typesafe_actions_1.createAction)('APPLICATION_PACKAGES_LIST__DELETE_COMPONENT_API', (params, options) => ({ params, options }))();
