import { createAction } from 'redux-actions';
export var createObject = createAction('THREED_CREATE_OBJECT');
export var updateObject = createAction('THREED_UPDATE_OBJECT');
export var updateObjectParameter = createAction('THREED_UPDATE_OBJECT_PARAMETER', function (object, parameter, value) { return ({ object: object, parameter: parameter, value: value }); });
export var updateObjectViewOption = createAction('THREED_UPDATE_OBJECT_VIEW_OPTION', function (object, option, value) { return ({ object: object, option: option, value: value }); });
export var updateOperation = createAction('THREED_UPDATE_OPERATION_PARAMETER', function (object, operation) { return ({ object: object, operation: operation }); });
export var duplicateObject = createAction('THREED_DUPLICATE_OBJECT');
export var composeObjects = createAction('THREED_COMPOSE_OBJECTS', function (objects, operationName) { return ({ objects: objects, operationName: operationName }); });
export var addOperation = createAction('THREED_ADD_OPERATION', function (object, operation) { return ({ object: object, operation: operation }); });
export var removeOperation = createAction('THREED_REMOVE_OPERATION', function (object, operation) { return ({ object: object, operation: operation }); });
export var reorderOperation = createAction('THREED_REORDER_OPERATION', function (object, operation, from, to) { return ({ object: object, operation: operation, from: from, to: to }); });
export var deleteObject = createAction('THREED_DELETE_OBJECT');
export var undoComposition = createAction('THREED_UNDO_COMPOSITION');
export var ungroup = createAction('THREED_UNGROUP');
export var convertToGroup = createAction('THREED_CONVERT_TO_GROUP');
export var selectObject = createAction('THREED_SELECT_OBJECT', function (object, addToSelection) { return ({ object: object, addToSelection: addToSelection }); });
export var deselectObject = createAction('THREED_DESELECT_OBJECT');
export var deselectAllObjects = createAction('THREED_DESELECT_ALL_OBJECTS');
export var setActiveOperation = createAction('THREED_SET_ACTIVE_OPERATION', function (object, type, axis, relative) { return ({
    object: object,
    type: type,
    axis: axis,
    relative: relative,
}); });
export var unsetActiveOperation = createAction('THREED_UNSET_ACTIVE_OPERATION');
export var undo = createAction('THREED_UNDO');
export var redo = createAction('THREED_REDO');
export var setAdvancedMode = createAction('THREED_SET_ADVANCED_MODE');
//# sourceMappingURL=threed.js.map