"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapSetPinDataAction = exports.makeSetPinDataAction = exports.makeRemovePinDataAction = exports.wrapRemovePinDataAction = exports.REMOVE_PIN_DATA = exports.SET_PIN_DATA = void 0;
exports.SET_PIN_DATA = 'setPinData';
exports.REMOVE_PIN_DATA = 'removePinData';
const wrapRemovePinDataAction = (data) => {
    return {
        type: exports.REMOVE_PIN_DATA,
        data,
    };
};
exports.wrapRemovePinDataAction = wrapRemovePinDataAction;
const makeRemovePinDataAction = (type, pinId, data) => {
    return (0, exports.wrapRemovePinDataAction)({ type, pinId, data });
};
exports.makeRemovePinDataAction = makeRemovePinDataAction;
const makeSetPinDataAction = (type, pinId, data, lastData) => {
    return (0, exports.wrapSetPinDataAction)({
        type,
        pinId,
        data,
        lastData,
    });
};
exports.makeSetPinDataAction = makeSetPinDataAction;
const wrapSetPinDataAction = (data) => {
    return {
        type: exports.SET_PIN_DATA,
        data,
    };
};
exports.wrapSetPinDataAction = wrapSetPinDataAction;
//# sourceMappingURL=U.js.map